Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
131 lines (131 loc) · 6.23 KB
/
Copy pathpackage.json
File metadata and controls
131 lines (131 loc) · 6.23 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
{
"name": "acpx",
"version": "0.19.5",
"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": "https://github.com/openclaw/acpx"
},
"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",
"./agent-registry": "./dist/agent-registry.js"
},
"scripts": {
"build": "tsdown src/cli.ts src/flows.ts src/runtime.ts src/agent-registry.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 src/agent-registry.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})\" && tsc -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",
"check:changed": "pnpm run check",
"check:docs": "pnpm run format:docs:check && pnpm run lint:docs && pnpm run docs:site",
"check:mutation": "pnpm run mutate",
"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 -z 'docs/*.md' 'examples/flows/*.md' 'README.md' | xargs -0 oxfmt --write",
"format:docs:check": "git ls-files -z 'docs/*.md' 'examples/flows/*.md' 'README.md' | xargs -0 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 src/agent-registry.ts --format esm --dts --clean --platform node --target node22 --no-fixedExtension",
"prepare": "husky",
"test": "pnpm run build && pnpm run build:test && node --test --test-concurrency=4 dist-test/test/*.test.js",
"test:changed": "pnpm run test:coverage",
"test:coverage": "pnpm run build && pnpm run build:test && node --test --test-concurrency=4 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' --include 'dist-test/src/runtime/engine/status.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": "tsc --noEmit",
"typecheck:tsc": "tsc --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": "tsc -p examples/flows/replay-viewer/tsconfig.json --noEmit && tsc -p examples/flows/replay-viewer/tsconfig.server.json --noEmit"
},
"dependencies": {
"@agentclientprotocol/sdk": "^1.5.0",
"@openclaw/fs-safe": "^0.22.0",
"commander": "^15.0.0",
"skillflag": "^0.2.1",
"tsx": "^4.23.15",
"zod": "^4.6.5"
},
"devDependencies": {
"@stryker-mutator/core": "^10.0.0",
"@types/node": "^26.6.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@types/react-test-renderer": "^19.3.0",
"@types/ws": "^8.18.1",
"@typescript/native": "npm:typescript@^7.0.2",
"@vitejs/plugin-react": "^6.1.1",
"@xyflow/react": "^12.11.6",
"c8": "^12.0.0",
"elkjs": "^0.12.0",
"fast-json-patch": "^3.1.1",
"husky": "^9.1.7",
"lint-staged": "^17.5.1",
"markdownlint-cli2": "^0.23.3",
"oxfmt": "^0.72.0",
"oxlint": "^1.85.0",
"oxlint-tsgolint": "^7.0.2002",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"react-test-renderer": "^19.3.0",
"tsdown": "^0.23.0",
"typescript": "npm:@typescript/typescript6@^6.0.2",
"vite": "^8.3.1",
"ws": "^8.21.3"
},
"lint-staged": {
"*.{js,ts}": [
"oxfmt --write --no-error-on-unmatched-pattern",
"oxlint --fix --no-error-on-unmatched-pattern"
],
"*.{json,md}": [
"oxfmt --write --no-error-on-unmatched-pattern"
]
},
"engines": {
"node": ">=22.13.0"
},
"packageManager": "pnpm@11.27.1"
}