-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.17 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.17 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
{
"name": "agent-contracts",
"version": "0.1.0-alpha.1",
"description": "Lightweight contracts for agent task delegation, validation, approvals, and handoffs.",
"repository": {
"type": "git",
"url": "https://github.com/agent-contracts/agent-contracts.git"
},
"homepage": "https://github.com/agent-contracts/agent-contracts",
"bugs": {
"url": "https://github.com/agent-contracts/agent-contracts/issues"
},
"type": "commonjs",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"agent-contracts": "./dist/cli.js"
},
"files": [
"dist",
"docs",
"examples",
"schemas",
"README.md",
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTING.md",
"CODE_OF_CONDUCT.md",
"SECURITY.md"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "tsx src/cli.ts",
"start": "node dist/cli.js",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test:unit": "tsx --test test/*.test.ts",
"smoke": "node dist/cli.js validate examples/research-contract && node dist/cli.js lint examples/research-contract && node dist/cli.js format examples/research-contract --check && node dist/cli.js inspect examples/change-plan-contract && node dist/cli.js explain examples/extraction-contract && node dist/cli.js validate examples/research-contract --json && node dist/cli.js lint examples/research-contract --json && node dist/cli.js inspect examples/change-plan-contract --json && node dist/cli.js explain examples/extraction-contract --json",
"pack:dry-run": "npm pack --dry-run",
"release:check": "npm test && npm run pack:dry-run",
"check": "npm run build && npm run test:unit && npm run smoke",
"test": "npm run check"
},
"keywords": [
"ai-agents",
"agent-contracts",
"task-delegation",
"agent-delegation",
"contract-spec",
"governance",
"json-schema",
"schema-validation",
"validation",
"cli",
"yaml",
"typescript",
"nodejs"
],
"license": "MIT",
"engines": {
"node": ">=18.18"
},
"dependencies": {
"ajv": "^8.18.0",
"yaml": "^2.8.0"
},
"devDependencies": {
"@types/node": "^24.0.0",
"tsx": "^4.19.0",
"typescript": "^5.8.0"
}
}