-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
135 lines (135 loc) · 9.54 KB
/
package.json
File metadata and controls
135 lines (135 loc) · 9.54 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "agentplane-repo",
"private": true,
"workspaces": [
"packages/*",
"website"
],
"engines": {
"node": ">=20"
},
"packageManager": "bun@1.3.6",
"scripts": {
"postinstall": "lefthook install",
"build": "tsc -b && bun run --filter=@agentplaneorg/core build:bundle && bun run --filter=@agentplaneorg/recipes build:bundle && bun run --filter=agentplane build:bundle",
"typecheck": "tsc -b",
"test": "bun run test:fast",
"test:fast": "vitest --config vitest.workspace.ts run --project agentplane --project core --project recipes --project testkit",
"test:project": "vitest --config vitest.workspace.ts run --project",
"test:precommit": "node scripts/run-vitest-suite.mjs precommit",
"test:critical": "vitest --config vitest.workspace.ts run --project critical",
"test:platform-critical": "node scripts/run-vitest-suite.mjs platform-critical",
"test:backend-critical": "node scripts/run-vitest-suite.mjs backend-critical",
"test:release:critical": "node scripts/run-vitest-suite.mjs release-critical",
"backend:live": "node scripts/run-backend-live-suite.mjs",
"backend:matrix": "bun run test:backend-critical && bun run backend:live",
"coverage:workflow-suite": "node scripts/run-workflow-coverage-suite.mjs",
"coverage:significant-suite": "node scripts/run-significant-coverage-suite.mjs",
"coverage:thresholds:check": "node scripts/check-coverage-thresholds.mjs",
"coverage": "vitest run --coverage",
"arch:baseline": "node scripts/check-depcruise-known-violations.mjs",
"arch:deps": "depcruise --config depcruise.config.cjs --ignore-known .dependency-cruiser-known-violations.json --include-only '^packages/(agentplane|core|recipes|testkit)/src' --exclude '(^|/)(dist|node_modules)/' packages/agentplane/src packages/core/src packages/recipes/src packages/testkit/src",
"arch:check": "bun run arch:baseline && bun run arch:deps",
"knip:check": "node scripts/check-knip-baseline.mjs",
"knip:report": "knip --config knip.json --no-exit-code",
"ci": "bun run ci:contract && bun run ci:test",
"ci:contract": "bun run format:check && bun run schemas:check && bun run spec:examples:check && bun run agents:check && bun run policy:routing:check && bun run release:parity && bun run docs:bootstrap:check && bun run docs:onboarding:check && bun run docs:ia:check && bun run docs:scripts:check && bun run hotspots:check && bun run check:types-files && bun run vitest:projects:check && bun run lint:core && bun run logging:check && bun run arch:check && bun run knip:check && bun run coverage:thresholds:check",
"ci:test": "bun run typecheck && bun run coverage && bun run coverage:significant",
"ci:local": "node scripts/run-local-ci.mjs --mode fast",
"ci:local:fast": "node scripts/run-local-ci.mjs --mode fast",
"ci:local:full": "node scripts/run-local-ci.mjs --mode full",
"ci:agentplane": "node scripts/ci-scope.mjs --scope agentplane",
"ci:core": "node scripts/ci-scope.mjs --scope core",
"ci:recipes": "node scripts/ci-scope.mjs --scope recipes",
"ci:spec": "node scripts/ci-scope.mjs --scope spec",
"ci:testkit": "node scripts/ci-scope.mjs --scope testkit",
"checks:run": "node scripts/run-checks.mjs",
"release:check": "bun run --filter=@agentplaneorg/core build && bun run --filter=agentplane build && bun run --filter=@agentplane/testkit build && node scripts/release-check.mjs",
"release:check:registry": "node scripts/check-npm-version-availability.mjs",
"release:recover": "node scripts/check-release-recovery-state.mjs",
"release:e2e:local": "node scripts/run-local-release-e2e.mjs",
"release:smoke:published": "node scripts/check-published-packages.mjs",
"release:distribution:generate": "node scripts/generate-release-distribution.mjs",
"release:distribution:check": "node scripts/generate-release-distribution.mjs --check",
"release:homebrew:check": "node scripts/render-homebrew-formula.mjs --check",
"release:scoop:check": "node scripts/render-scoop-manifest.mjs --check",
"release:ghcr:check": "node scripts/render-ghcr-image-metadata.mjs --check",
"release:setup-action:check": "node scripts/render-setup-agentplane-action.mjs --check",
"ci:release-extras": "bun run artifacts:check && bun run task-state:check && bun run build && bun run package:tarball:check && bun run package:install-smoke && bun run docs:cli:check && bun run docs:recipes:check && GIT_AUTHOR_NAME=agentplane-ci GIT_AUTHOR_EMAIL=agentplane-ci@example.com GIT_COMMITTER_NAME=agentplane-ci@example.com GIT_COMMITTER_EMAIL=agentplane-ci@example.com node scripts/run-vitest-suite.mjs release-ci-base && bun run coverage:workflow-suite && bun run coverage:significant-suite && GIT_AUTHOR_NAME=agentplane-ci GIT_AUTHOR_EMAIL=agentplane-ci@example.com GIT_COMMITTER_NAME=agentplane-ci@example.com GIT_COMMITTER_EMAIL=agentplane-ci@example.com bun run test:release:critical",
"release:ci-check": "bun run ci:contract && bun run ci:release-extras",
"release:prepublish:fast": "bun run release:check",
"release:prepublish:heavy": "bun run release:ci-check",
"release:prepublish": "bun run release:prepublish:fast && bun run release:prepublish:heavy",
"release:parity": "node scripts/check-release-parity.mjs",
"artifacts:check": "node scripts/check-agentplane-artifacts.mjs",
"task-state:check": "node scripts/check-task-state.mjs",
"package:tarball:check": "node scripts/check-package-tarball.mjs",
"package:install-smoke": "node scripts/check-local-tarball-install-smoke.mjs",
"lint": "bun run lint:core && bun run lint:website",
"lint:core": "eslint packages scripts eslint.config.cjs vitest.config.ts",
"lint:website": "eslint website",
"workflows:lint": "node scripts/run-workflows-lint.mjs && node scripts/check-workflow-command-contract.mjs && node scripts/check-critical-test-route.mjs",
"workflows:command-check": "node scripts/check-workflow-command-contract.mjs && node scripts/check-critical-test-route.mjs",
"lint:fix": "eslint . --fix",
"format": "prettier . --write",
"format:check": "prettier . --check",
"hooks:install": "lefthook install",
"agents:check": "node scripts/sync-agent-templates.mjs check",
"policy:routing:check": "node scripts/check-policy-routing.mjs",
"agents:sync": "node scripts/sync-agent-templates.mjs sync",
"schemas:check": "bun scripts/sync-schemas.mjs check",
"schemas:sync": "bun scripts/sync-schemas.mjs sync",
"spec:examples:check": "node scripts/check-spec-examples.mjs",
"hotspots:check": "node scripts/hotspot-report.mjs --check --warning-lines 400 --oversized-lines 600 --test-warning-lines 1000 --oversized-test-lines 1300 --allow-oversized packages/agentplane/src/runtime/prompt-modules/compiler.ts && node scripts/check-oversized-test-baseline.mjs --threshold-lines 1000",
"check:types-files": "node scripts/check-types-files.mjs",
"vitest:projects:check": "node scripts/check-vitest-projects.mjs",
"coverage:significant": "node scripts/check-significant-coverage.mjs",
"coverage:workflow-harness": "node scripts/check-workflow-harness-coverage.mjs",
"workflow:wait-remote-checks": "node scripts/wait-remote-pr-checks.mjs",
"workflow:github-protection:check": "node scripts/check-github-protection-contract.mjs",
"framework:dev:bootstrap": "node scripts/bootstrap-framework-dev.mjs",
"bench:cli:cold": "node scripts/measure-cli-cold-path.mjs",
"bench:cli:cold:check": "node scripts/check-cli-cold-baseline.mjs --warmups 2 --attempts 5",
"runner:codex:approval-probe": "bun scripts/run-runner-codex-approval-probe.mjs",
"runner:codex:smoke": "bun scripts/run-runner-codex-smoke.mjs",
"docs:cli:generate": "node packages/agentplane/dist/cli.js docs cli --out docs/user/cli-reference.generated.mdx",
"docs:cli:check": "node scripts/check-cli-reference-fresh.mjs",
"docs:scripts:generate": "node scripts/generate-scripts-readme.mjs",
"docs:scripts:check": "node scripts/generate-scripts-readme.mjs --check",
"docs:recipes:generate": "node scripts/generate-recipes-inventory.mjs",
"docs:recipes:check": "node scripts/check-recipes-inventory-fresh.mjs",
"docs:bootstrap:generate": "node scripts/generate-agent-bootstrap-doc.mjs",
"docs:bootstrap:check": "node scripts/check-agent-bootstrap-fresh.mjs",
"docs:onboarding:check": "node scripts/check-agent-onboarding-scenario.mjs",
"docs:ia:check": "node scripts/check-docs-ia.mjs",
"docs:site:generate": "node scripts/generate-website-docs.mjs",
"docs:site:typecheck": "bun run --cwd website typecheck",
"docs:site:build": "bun run --cwd website build",
"docs:site:start": "bun run --cwd website start",
"docs:site:check:design": "node scripts/check-design-language.mjs",
"docs:site:check": "bun run docs:site:generate && bun run docs:site:typecheck && bun run docs:site:build && bun run docs:site:check:design",
"logging:check": "node scripts/check-no-console.mjs"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^25.0.10",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vitest/coverage-v8": "4.0.18",
"dependency-cruiser": "^17.3.10",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-n": "^17.23.2",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-unicorn": "^62.0.0",
"globals": "^17.1.0",
"knip": "^6.5.0",
"lefthook": "^2.0.16",
"prettier": "^3.8.1",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vitest": "4.0.18"
}
}