-
Notifications
You must be signed in to change notification settings - Fork 329
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 5.92 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 5.92 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
{
"name": "acpx",
"version": "0.10.0",
"description": "Headless CLI client for the Agent Client Protocol (ACP) — talk to coding agents from the command line",
"keywords": [
"acp",
"agent-client-protocol",
"ai",
"claude-code",
"cli",
"codex",
"coding-agent"
],
"license": "MIT",
"author": "OpenClaw Team <dev@openclaw.ai>",
"repository": {
"type": "git",
"url": "git+https://github.com/openclaw/acpx.git"
},
"bin": {
"acpx": "dist/cli.js"
},
"files": [
"dist",
"skills",
"README.md",
"LICENSE"
],
"type": "module",
"exports": {
".": "./dist/cli.js",
"./runtime": "./dist/runtime.js",
"./flows": "./dist/flows.js",
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"scripts": {
"build": "tsdown src/cli.ts src/flows.ts src/runtime.ts --format esm --dts --clean --platform node --target node22 --no-fixedExtension",
"build:quiet": "tsdown --logLevel silent src/cli.ts src/flows.ts src/runtime.ts --format esm --dts --clean --platform node --target node22 --no-fixedExtension",
"build:test": "node -e \"require('node:fs').rmSync('dist-test',{recursive:true,force:true})\" && tsgo -p tsconfig.test.json",
"check": "pnpm run format:check && pnpm run typecheck && pnpm run lint && pnpm run build && pnpm run viewer:typecheck && pnpm run viewer:build && pnpm run test:coverage && pnpm run mutate",
"check:changed": "pnpm run check",
"check:docs": "pnpm run format:docs:check && pnpm run lint:docs && pnpm run docs:site",
"conformance:run": "tsx conformance/runner/run.ts",
"crabbox:hydrate": "crabbox actions hydrate",
"crabbox:run": "crabbox run",
"crabbox:stop": "crabbox stop",
"crabbox:warmup": "crabbox warmup",
"dev": "tsx src/cli.ts",
"docs:site": "node scripts/build-docs-site.mjs",
"format": "oxfmt --write",
"format:check": "oxfmt --check",
"format:diff": "oxfmt --write && git --no-pager diff",
"format:docs": "git ls-files 'docs/**/*.md' 'examples/flows/**/*.md' 'README.md' | xargs oxfmt --write",
"format:docs:check": "git ls-files 'docs/**/*.md' 'examples/flows/**/*.md' 'README.md' | xargs oxfmt --check",
"lint": "oxlint --type-aware --deny-warnings src scripts examples test conformance && pnpm run lint:persisted-key-casing && pnpm run lint:flow-schema-terms",
"lint:docs": "markdownlint-cli2 README.md docs/**/*.md examples/flows/**/*.md",
"lint:fix": "oxlint --type-aware --fix src && pnpm run format",
"lint:flow-schema-terms": "tsx scripts/lint-flow-schema-terms.ts",
"lint:persisted-key-casing": "tsx scripts/lint-persisted-key-casing.ts",
"mutate": "stryker run",
"perf:report": "tsx scripts/perf-report.ts",
"precommit": "pnpm exec lint-staged && pnpm run -s build",
"prepack": "tsdown --logLevel silent src/cli.ts src/flows.ts src/runtime.ts --format esm --dts --clean --platform node --target node22 --no-fixedExtension",
"prepare": "husky",
"test": "pnpm run build && pnpm run build:test && node --test dist-test/test/*.test.js",
"test:changed": "pnpm run test:coverage",
"test:coverage": "pnpm run build && pnpm run build:test && node --test dist-test/test/*.test.js && c8 --all --check-coverage --lines 85 --branches 85 --functions 85 --statements 85 --include 'dist-test/src/flows/authoring.js' --include 'dist-test/src/flows/decision.js' --include 'dist-test/src/flows/definition.js' --include 'dist-test/src/flows/json.js' --include 'dist-test/src/flows/schema.js' --include 'dist-test/src/flows/store.js' --include 'dist-test/src/runtime/public/**/*.js' --include 'dist-test/src/runtime/engine/manager.js' --exclude 'dist-test/test/**/*.js' --exclude 'dist/**/*.js' node --test dist-test/test/flows.test.js dist-test/test/flows-store.test.js dist-test/test/runtime.test.js dist-test/test/runtime-events.test.js dist-test/test/runtime-manager.test.js dist-test/test/runtime-probe.test.js",
"test:live": "pnpm run build:test && node --test dist-test/test/cursor-live.integration.js",
"typecheck": "tsgo --noEmit",
"typecheck:tsc": "tsgo --noEmit",
"viewer": "tsx examples/flows/replay-viewer/server.ts",
"viewer:build": "vite build --config examples/flows/replay-viewer/vite.config.ts",
"viewer:dev": "tsx examples/flows/replay-viewer/server.ts start",
"viewer:open": "tsx examples/flows/replay-viewer/server.ts start --open",
"viewer:preview": "tsx examples/flows/replay-viewer/server.ts start",
"viewer:status": "tsx examples/flows/replay-viewer/server.ts status",
"viewer:stop": "tsx examples/flows/replay-viewer/server.ts stop",
"viewer:typecheck": "tsgo -p examples/flows/replay-viewer/tsconfig.json --noEmit && tsgo -p examples/flows/replay-viewer/tsconfig.server.json --noEmit"
},
"dependencies": {
"@agentclientprotocol/sdk": "^0.22.1",
"commander": "^14.0.3",
"skillflag": "^0.1.4",
"tsx": "^4.22.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@stryker-mutator/core": "^9.6.1",
"@types/node": "^25.9.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/react-test-renderer": "^19.1.0",
"@types/ws": "^8.18.1",
"@typescript/native-preview": "7.0.0-dev.20260527.1",
"@vitejs/plugin-react": "^6.0.2",
"@xyflow/react": "^12.10.2",
"c8": "^11.0.0",
"elkjs": "^0.11.1",
"fast-json-patch": "^3.1.1",
"husky": "^9.1.7",
"lint-staged": "^17.0.5",
"markdownlint-cli2": "^0.22.1",
"oxfmt": "^0.52.0",
"oxlint": "^1.65.0",
"oxlint-tsgolint": "^0.23.0",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"react-test-renderer": "^19.2.6",
"tsdown": "^0.22.0",
"typescript": "^6.0.3",
"vite": "^8.0.14",
"ws": "^8.21.0"
},
"lint-staged": {
"*.{js,ts}": [
"oxfmt --write",
"oxlint --fix"
],
"*.{json,md}": [
"oxfmt --write"
]
},
"engines": {
"node": ">=22.13.0"
},
"packageManager": "pnpm@10.33.2",
"pnpm": {
"overrides": {
"qs": "6.15.2"
}
}
}