-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 6.26 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 6.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "agent-bundle-workspace",
"private": true,
"version": "0.0.0",
"license": "Apache-2.0",
"type": "module",
"engines": {
"node": ">=22.19.0"
},
"packageManager": "pnpm@11.23.0",
"scripts": {
"build": "pnpm --filter rsc-markdown-stream build && pnpm --filter @agent-bundle/runtime build && pnpm --filter agent-bundle build && pnpm --filter create-agent-bundle build",
"test": "pnpm build && pnpm test:unit && pnpm test:route-unit && pnpm test:projection && pnpm test:integration:run",
"test:unit": "rstest --config rstest.unit.config.ts",
"test:route-unit": "rstest --config rstest.route-unit.config.ts",
"test:projection": "rstest --config rstest.projection.config.ts",
"test:integration": "pnpm build && pnpm test:integration:run",
"test:integration:run": "AGENT_BUNDLE_WORKBENCH_PREBUILT=1 AGENT_BUNDLE_PACKAGE_PREBUILT=1 rstest --config rstest.integration.config.ts",
"test:mcp-conformance": "pnpm build && AGENT_BUNDLE_MCP_CONFORMANCE=1 rstest --config rstest.mcp-conformance.config.ts",
"test:native-host": "pnpm build && AGENT_BUNDLE_NATIVE_HOST_CONTRACTS=1 rstest --config rstest.native-host.config.ts",
"test:watch": "rstest --config rstest.config.ts --watch",
"lint": "rslint .",
"bench:hook-cold-start": "node scripts/measure-hook-cold-start.mjs",
"record:claude-hooks-fixtures": "node scripts/record-claude-hooks-schema-fixtures.mjs",
"typecheck": "node scripts/check-dist-fresh.mjs && tsc --noEmit && tsc --project packages/workbench/tsconfig.json && tsc --project packages/create-agent-bundle/tsconfig.json && tsc --project packages/rsc-markdown-stream/tsconfig.json && tsc --project packages/agent-bundle/tsconfig.web-host.json && pnpm --filter @agent-bundle/docs typecheck",
"check": "pnpm build && pnpm test:unit && pnpm test:route-unit && pnpm test:projection && pnpm test:integration:run && pnpm lint && pnpm typecheck",
"check:local-ci": "node scripts/local-ci.mjs",
"check:host-cli": "node scripts/host-cli-pins.mjs verify",
"docs:site:build": "pnpm --filter @agent-bundle/docs check",
"docs:site:dev": "pnpm --filter @agent-bundle/docs dev",
"docs:site:preview": "pnpm --filter @agent-bundle/docs preview",
"docs:runtime-topology": "node scripts/rsc-runtime-topology.mjs --root . --output docs/architecture/rsc-runtime-workbench.md",
"eval:spot": "pnpm build && pnpm --filter @agent-bundle/rsc-agent-runtime-demo build && pnpm --filter @agent-bundle/rsc-agent-runtime-demo exec rstest run tests/micro-eval.spot.test.ts --config rstest.config.ts",
"check:runtime-topology": "node scripts/rsc-runtime-topology.mjs --root . --output docs/architecture/rsc-runtime-workbench.md --check",
"test:examples:browser": "rstest --config rstest.config.ts packages/workbench/tests/examples-real.e2e.test.ts",
"test:packed": "node scripts/run-packed-tests.mjs",
"test:packed:release": "node scripts/run-packed-tests.mjs --release",
"test:packed:native": "rstest --config rstest.config.ts packages/agent-bundle/tests/packed-native-smoke.test.ts",
"test:packed:native:claude": "node scripts/run-packed-native-smoke.mjs claude",
"test:packed:native:codex": "node scripts/run-packed-native-smoke.mjs codex",
"test:host-install": "rstest --config rstest.config.ts packages/agent-bundle/tests/host-install-proof.test.ts packages/agent-bundle/tests/dev-host-install.test.ts packages/agent-bundle/tests/dev-live-host.test.ts packages/agent-bundle/tests/claude-plugin-validate-acceptance.test.ts",
"test:host-install:build": "pnpm build && pnpm test:host-install",
"test:host-install:packed": "rstest --config rstest.config.ts packages/agent-bundle/tests/packed-host-install-proof.test.ts",
"test:host-install:session": "rstest --config rstest.config.ts packages/agent-bundle/tests/host-install-session.test.ts",
"test:host-install:session:claude": "pnpm build && AGENT_BUNDLE_HOST_INSTALL_CLAUDE_SESSION=1 pnpm test:host-install:session",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "pnpm check:release && changeset publish",
"preview:publish": "pkg-pr-new publish --previewVersion --peerDeps --no-compact --no-template './packages/agent-bundle' './packages/rsc-runtime' './packages/rsc-markdown-stream' './packages/create-agent-bundle'",
"pack:dry-run": "pnpm build && npm pack ./packages/agent-bundle --dry-run --json",
"lint:release": "attw --pack --profile esm-only packages/agent-bundle && attw --pack --profile esm-only packages/rsc-runtime && attw --pack --profile esm-only packages/rsc-markdown-stream && attw --pack --profile esm-only packages/create-agent-bundle && node scripts/check-declaration-imports.mjs --strict packages/agent-bundle packages/rsc-runtime packages/rsc-markdown-stream packages/create-agent-bundle",
"check:release": "pnpm pack:dry-run && pnpm lint:release && pnpm test:packed:release && node scripts/check-dist-fresh.mjs",
"check:release:ci": "pnpm pack:dry-run && pnpm lint:release && pnpm test:packed && node scripts/check-dist-fresh.mjs",
"example:hooks": "pnpm build && pnpm --filter @agent-bundle-example/hooks-and-scripts dev",
"example:audiobook": "pnpm build && pnpm --filter @agent-bundle-example/audiobook-curator dev",
"example:mcp-app": "pnpm build && pnpm --filter @agent-bundle-example/mcp-app dev",
"example:skills": "pnpm build && pnpm --filter @agent-bundle-example/skills-starter dev",
"example:host-test": "pnpm build && pnpm --filter @agent-bundle-example/host-test dev",
"examples:check": "pnpm build && node scripts/run-examples-check.mjs"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.5",
"@changesets/cli": "3.0.1",
"@effect/language-service": "0.87.2",
"@effect/tsgo": "0.39.0",
"@lydell/node-pty": "1.2.0-beta.15",
"@modelcontextprotocol/conformance": "0.1.16",
"@modelcontextprotocol/server": "2.0.0",
"@rsbuild/core": "2.2.3",
"@rsbuild/plugin-react": "2.1.0",
"@rslib/core": "1.0.0",
"@rslint/core": "0.9.0",
"@rstest/adapter-rslib": "0.11.12",
"@rstest/core": "0.11.12",
"@rstest/playwright": "0.11.12",
"@types/node": "26.4.1",
"agent-bundle": "workspace:*",
"pkg-pr-new": "0.0.88",
"playwright": "1.62.1",
"playwright-core": "1.62.1",
"rsbuild-plugin-publint": "1.0.0",
"typescript": "7.0.2"
}
}