forked from agentclientprotocol/agent-client-protocol
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 3.4 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 3.4 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
{
"name": "@zed-industries/agent-client-protocol",
"version": "0.4.1",
"publishConfig": {
"access": "public"
},
"description": "The Agent Client Protocol (ACP) is a protocol that standardizes communication between *code editors* (interactive programs for viewing and editing source code) and *coding agents* (programs that use generative AI to autonomously modify code).",
"homepage": "https://github.com/zed-industries/agent-client-protocol#readme",
"bugs": {
"url": "https://github.com/zed-industries/agent-client-protocol/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zed-industries/agent-client-protocol.git"
},
"license": "Apache-2.0",
"author": "Zed Industries",
"files": [
"typescript",
"dist",
"schema/schema.json",
"LICENSE-APACHE"
],
"type": "module",
"main": "dist/acp.js",
"types": "dist/acp.d.ts",
"directories": {
"example": "examples"
},
"scripts": {
"prepublishOnly": "cp typescript/README.md README.md",
"postpublish": "git checkout README.md",
"clean": "rm -rf dist typescript/*.js typescript/*.d.ts typescript/*.js.map tsconfig.tsbuildinfo && cargo clean && (cd go && go clean -cache -testcache)",
"test": "cargo check --all-targets && cargo test && vitest run && npm run test:go",
"test:go": "cd go && go test ./...",
"test:go:race": "cd go && go test -race ./...",
"test:ts": "vitest run",
"test:ts:watch": "vitest",
"generate:json-schema": "cd rust && cargo run --bin generate --features unstable",
"generate:ts-schema": "node typescript/generate.js",
"generate:go": "cd go/cmd/generate && env -u GOPATH -u GOMODCACHE go run . && cd ../.. && env -u GOPATH -u GOMODCACHE go run mvdan.cc/gofumpt@latest -w .",
"generate": "npm run generate:json-schema && npm run generate:ts-schema && npm run generate:go && npm run format",
"build": "npm run generate && tsc",
"format": "prettier --write . && cargo fmt && (cd go && env -u GOPATH -u GOMODCACHE go run mvdan.cc/gofumpt@latest -w .)",
"format:check": "prettier --check . && cargo fmt -- --check && (cd go && test -z \"$(env -u GOPATH -u GOMODCACHE go run mvdan.cc/gofumpt@latest -l .)\" || (echo 'gofumpt: found unformatted Go files' >&2; exit 1))",
"lint": "cargo clippy && (cd go && go vet ./...)",
"lint:fix": "cargo clippy --fix",
"check:go": "cd go && go build ./...",
"spellcheck": "./scripts/spellcheck.sh",
"spellcheck:fix": "./scripts/spellcheck.sh --write-changes",
"check": "npm run lint && npm run format:check && npm run spellcheck && npm run build && npm run test && npm run docs:ts:verify && npm run check:go",
"docs": "cd docs && npx mint@4.2.93 dev",
"docs:ts:build": "cd typescript && typedoc && echo 'TypeScript documentation generated in ./typescript/docs'",
"docs:ts:dev": "concurrently \"cd typescript && typedoc --watch --preserveWatchOutput\" \"npx http-server typescript/docs -p 8081\"",
"docs:ts:verify": "cd typescript && typedoc --emit none && echo 'TypeDoc verification passed'"
},
"dependencies": {
"zod": "^3.0.0"
},
"devDependencies": {
"@types/node": "^24.1.0",
"concurrently": "^9.1.0",
"http-server": "^14.1.1",
"json-schema-to-typescript": "^15.0.4",
"prettier": "^3.3.3",
"ts-to-zod": "^3.15.0",
"tsx": "^4.20.5",
"typedoc": "^0.28.11",
"typedoc-github-theme": "^0.3.1",
"typescript": "^5.8.3",
"vitest": "^3.2.4"
}
}