86 lines
2.8 KiB
JSON
86 lines
2.8 KiB
JSON
{
|
|
"name": "acpx",
|
|
"version": "0.2.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",
|
|
"scripts": {
|
|
"build": "tsdown src/cli.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 test:coverage",
|
|
"check:docs": "pnpm run format:docs:check && pnpm run lint:docs",
|
|
"dev": "tsx src/cli.ts",
|
|
"format": "oxfmt --write",
|
|
"format:check": "oxfmt --check",
|
|
"format:diff": "oxfmt --write && git --no-pager diff",
|
|
"format:docs": "git ls-files 'docs/**/*.md' 'README.md' | xargs oxfmt --write",
|
|
"format:docs:check": "git ls-files 'docs/**/*.md' 'README.md' | xargs oxfmt --check",
|
|
"lint": "oxlint --type-aware src && pnpm run lint:persisted-key-casing",
|
|
"lint:docs": "markdownlint-cli2 README.md docs/**/*.md",
|
|
"lint:fix": "oxlint --type-aware --fix src && pnpm run format",
|
|
"lint:persisted-key-casing": "tsx scripts/lint-persisted-key-casing.ts",
|
|
"perf:report": "tsx scripts/perf-report.ts",
|
|
"precommit": "pnpm exec lint-staged && pnpm run -s build",
|
|
"prepack": "pnpm run build",
|
|
"prepare": "husky",
|
|
"test": "pnpm run build:test && node --test dist-test/test/*.test.js",
|
|
"test:coverage": "pnpm run build:test && node --experimental-test-coverage --test-coverage-lines=83 --test-coverage-branches=76 --test-coverage-functions=86 --test dist-test/test/*.test.js",
|
|
"typecheck": "tsgo --noEmit",
|
|
"typecheck:tsc": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@agentclientprotocol/sdk": "^0.15.0",
|
|
"commander": "^14.0.3",
|
|
"skillflag": "^0.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.3.5",
|
|
"@typescript/native-preview": "7.0.0-dev.20260307.1",
|
|
"husky": "^9.1.7",
|
|
"lint-staged": "^16.3.2",
|
|
"markdownlint-cli2": "^0.21.0",
|
|
"oxfmt": "^0.36.0",
|
|
"oxlint": "^1.51.0",
|
|
"oxlint-tsgolint": "^0.16.0",
|
|
"tsdown": "^0.21.0-beta.2",
|
|
"tsx": "^4.0.0",
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts}": [
|
|
"oxfmt --write",
|
|
"oxlint --fix"
|
|
],
|
|
"*.{json,md}": [
|
|
"oxfmt --write"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=22.12.0"
|
|
},
|
|
"packageManager": "pnpm@10.23.0"
|
|
}
|