Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.54 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.54 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
{
"name": "copperhead",
"version": "0.12.0",
"description": "Cursor for circuit boards: an AI agent that designs, documents, and validates real PCBs on KiCad repositories",
"license": "Apache-2.0",
"author": "Animesh Chouhan <animeshchouhan@outlook.com>",
"homepage": "https://copperhead.sh",
"repository": {
"type": "git",
"url": "git+https://github.com/copperheadhq/copperhead.git"
},
"bugs": {
"url": "https://github.com/copperheadhq/copperhead/issues"
},
"keywords": [
"kicad",
"pcb",
"eda",
"hardware",
"electronics",
"schematic",
"erc",
"drc",
"ai-agent",
"llm",
"cli"
],
"type": "module",
"engines": {
"node": ">=20"
},
"bin": {
"copperhead": "dist/cli.js"
},
"files": [
"dist",
"src",
"LICENSE",
"NOTICE",
"README.md"
],
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"build": "tsc -p tsconfig.json && npm run postbuild",
"postbuild": "node -e \"require('fs').chmodSync('dist/cli.js', 0o755)\"",
"prepublishOnly": "npm run typecheck && npm run build",
"dev": "tsx src/cli.ts",
"demo:simple": "bash scripts/demo-simple.sh",
"demo:ui": "tsx scripts/ui-demo.ts",
"lint:md": "markdownlint-cli2 \"**/*.md\" \"#node_modules/**\" \"#**/node_modules/**\" \"#dist/**\" \"#**/dist/**\" \"#docs/.astro/**\" \"#demo-runs/**\" \"#.copperhead/runs/**\" \"#_site/**\"",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc -p tsconfig.json --noEmit",
"docs:dev": "npm --prefix docs run dev",
"docs:build": "npm --prefix docs run build",
"docs:preview": "npm --prefix docs run preview",
"refboards": "bash scripts/draft-reference-boards.sh",
"scoresheets": "tsx scripts/score-sheets.ts",
"realdesigns": "tsx scripts/draft-real-designs.ts"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.113.0",
"@modelcontextprotocol/sdk": "^1.30.0",
"commander": "^12.1.0",
"execa": "^9.5.2",
"openai": "^6.49.0",
"zod": "^4.4.3"
},
"optionalDependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.3.217"
},
"devDependencies": {
"@openai/codex-sdk": "^0.144.6",
"@types/node": "^22.13.10",
"markdownlint-cli2": "0.23.2",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"vitest": "^3.0.8"
},
"peerDependencies": {
"@openai/codex-sdk": "^0.144.6"
},
"peerDependenciesMeta": {
"@openai/codex-sdk": {
"optional": true
}
},
"allowScripts": {
"esbuild@0.28.1": true,
"esbuild@0.21.5": true
}
}