-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
256 lines (256 loc) · 7.74 KB
/
Copy pathpackage.json
File metadata and controls
256 lines (256 loc) · 7.74 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
{
"name": "@phuetz/code-buddy",
"version": "1.1.0",
"description": "Open-source multi-provider AI coding agent for the terminal. Supports Grok, Claude, ChatGPT, Gemini, Ollama and LM Studio with 52+ tools, multi-channel messaging, skills system, and Enterprise-grade architecture.",
"author": "Patrice Huetz <patrice.huetz@gmail.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/phuetz/code-buddy.git"
},
"bugs": {
"url": "https://github.com/phuetz/code-buddy/issues"
},
"homepage": "https://github.com/phuetz/code-buddy#readme",
"type": "module",
"main": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./plugin-sdk": {
"import": "./dist/plugin-sdk/index.js",
"types": "./dist/plugin-sdk/index.d.ts"
},
"./plugin-sdk/core": {
"import": "./dist/plugin-sdk/core.js",
"types": "./dist/plugin-sdk/core.d.ts"
},
"./plugin-sdk/llm": {
"import": "./dist/plugin-sdk/llm.js",
"types": "./dist/plugin-sdk/llm.d.ts"
},
"./plugin-sdk/channel": {
"import": "./dist/plugin-sdk/channel.js",
"types": "./dist/plugin-sdk/channel.d.ts"
},
"./plugin-sdk/tool": {
"import": "./dist/plugin-sdk/tool.js",
"types": "./dist/plugin-sdk/tool.d.ts"
},
"./plugin-sdk/testing": {
"import": "./dist/plugin-sdk/testing.js",
"types": "./dist/plugin-sdk/testing.d.ts"
},
"./desktop": {
"import": "./dist/desktop/index.js",
"types": "./dist/desktop/index.d.ts"
},
"./engine-types": {
"import": "./dist/shared/engine-types.js",
"types": "./dist/shared/engine-types.d.ts"
}
},
"bin": {
"buddy": "dist/index.js",
"code-buddy": "dist/index.js"
},
"scripts": {
"build": "tsc",
"build:bun": "bun run tsc",
"build:watch": "tsc --watch",
"clean": "rm -rf dist coverage .nyc_output *.tsbuildinfo",
"dev": "bun run src/index.ts",
"dev:node": "tsx src/index.ts",
"start": "node dist/index.js",
"start:bun": "bun run dist/index.js",
"smoke:docx": "tsx scripts/smoke-docx-workshop.ts",
"pilot:validate": "pwsh -NoProfile -ExecutionPolicy Bypass -File scratch/run-all-probes.ps1",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:real": "RUN_REAL_TESTS=1 vitest run",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"typecheck": "tsc --noEmit",
"typecheck:watch": "tsc --noEmit --watch",
"check:circular": "npx tsx scripts/check-circular-deps.ts",
"build:captured": "cd src-captured && cargo build --release",
"autonomy:lab": "tsx scripts/autonomy-lab/run.ts",
"validate": "npm run lint && npm run typecheck && npm test",
"prepublishOnly": "npm run clean && npm run build",
"prepack": "node scripts/strip-sourcemaps.mjs",
"release": "semantic-release",
"release:dry": "semantic-release --dry-run --no-ci",
"install:bun": "bun install",
"docs": "typedoc",
"docs:watch": "typedoc --watch",
"bench": "npm run bench:startup && npm run bench:tools",
"bench:startup": "npx tsx benchmarks/startup.bench.ts",
"bench:tools": "npx tsx benchmarks/tools.bench.ts",
"perf": "PERF_TIMING=true npm start -- --help",
"perf:verbose": "PERF_TIMING=true VERBOSE=true npm start -- --help",
"build:gui": "cd cowork && npm run build",
"dev:gui": "cd cowork && npm run dev",
"build:all": "node scripts/build-all.js",
"build:all:pack": "node scripts/build-all.js --pack",
"install:gui": "node dist/index.js install-gui"
},
"keywords": [
"cli",
"agent",
"text-editor",
"code-buddy",
"ai",
"coding-assistant",
"terminal",
"developer-tools",
"mcp",
"hooks",
"grok",
"openai",
"claude",
"xai",
"automation",
"code-generation",
"agentic",
"llm",
"rag",
"semantic-search",
"ai-agent",
"terminal-ui",
"multi-provider",
"gemini",
"ollama",
"local-llm"
],
"files": [
"dist",
"README.md",
"LICENSE",
".codebuddy/skills/bundled"
],
"license": "MIT",
"dependencies": {
"@browserbasehq/stagehand": "^3.4.0",
"@huggingface/transformers": "^4.2.0",
"@iarna/toml": "^2.2.5",
"@modelcontextprotocol/sdk": "^1.24.3",
"@ngrok/ngrok": "^1.7.0",
"@noble/curves": "^1.9.7",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/exporter-trace-otlp-http": "^0.212.0",
"@opentelemetry/instrumentation-http": "^0.212.0",
"@opentelemetry/sdk-node": "^0.212.0",
"@resvg/resvg-js": "^2.6.2",
"@sentry/node": "^10.40.0",
"@vscode/ripgrep": "^1.17.0",
"axios": "^1.16.1",
"better-sqlite3": "^11.10.0",
"chalk": "^5.6.2",
"cli-highlight": "^2.1.11",
"commander": "^12.1.0",
"cors": "^2.8.5",
"diff-match-patch": "^1.0.5",
"docx": "^9.6.1",
"dotenv": "^16.6.1",
"express": "^5.1.0",
"fast-glob": "^3.3.3",
"form-data": "^4.0.5",
"fs-extra": "^11.3.2",
"google-auth-library": "^10.6.2",
"ignore": "^5.3.2",
"ink": "^4.4.1",
"marked": "^15.0.12",
"marked-terminal": "^7.3.0",
"ml-matrix": "^6.12.2",
"open": "^11.0.0",
"openai": "^5.23.2",
"pdfkit": "^0.18.0",
"playwright-core": "^1.58.2",
"pptxgenjs": "^4.0.1",
"react": "^18.3.1",
"semver": "^7.7.3",
"terminal-image": "^4.1.0",
"tesseract.js": "^7.0.0",
"tiktoken": "^1.0.22",
"yaml": "^2.9.0",
"zod": "^3.25.0"
},
"optionalDependencies": {
"@anthropic-ai/sdk": "^0.39.0",
"@google/generative-ai": "^0.21.0",
"@mlc-ai/web-llm": "^0.2.80",
"@nut-tree-fork/nut-js": "^4.2.6",
"@picovoice/porcupine-node": "^4.0.1",
"@whiskeysockets/baileys": "^6.7.16",
"@xenova/transformers": "^2.17.2",
"adm-zip": "^0.5.16",
"alasql": "^4.17.0",
"d3": "^7.9.0",
"d3-node": "^4.0.1",
"js-yaml": "^4.1.0",
"jszip": "^3.10.1",
"matrix-js-sdk": "^36.3.0",
"node-llama-cpp": "^3.14.5",
"node-pty": "^1.0.0",
"pdf-parse": "^2.4.5",
"playwright": "^1.58.2",
"sharp": "^0.33.5",
"string-width": "^7.2.0",
"tar": "^7.5.15",
"tree-sitter": "^0.21.1",
"tree-sitter-bash": "^0.23.3",
"tree-sitter-typescript": "^0.23.2",
"usearch": "^2.21.4",
"ws": "^8.20.1",
"xlsx": "^0.18.5"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/better-sqlite3": "^7.6.13",
"@types/cors": "^2.8.19",
"@types/diff-match-patch": "^1.0.36",
"@types/express": "^5.0.6",
"@types/fs-extra": "^11.0.4",
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.19.26",
"@types/pdfkit": "^0.17.5",
"@types/react": "^18.3.27",
"@types/semver": "^7.7.1",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.49.0",
"@vitest/coverage-v8": "^4.0.18",
"conventional-changelog-conventionalcommits": "^9.3.1",
"eslint": "^9.39.1",
"happy-dom": "^20.7.0",
"madge": "^8.0.0",
"prettier": "^3.7.4",
"semantic-release": "^25.0.3",
"tsx": "^4.21.0",
"typedoc": "^0.28.15",
"typescript": "^5.9.3",
"vitest": "^4.0.18",
"vscode-languageserver": "^9.0.1",
"vscode-languageserver-textdocument": "^1.0.12"
},
"engines": {
"node": ">=18.0.0"
},
"overrides": {
"hono": "^4.12.22",
"jimp": "1.6.0",
"qs": "^6.13.0",
"protobufjs": "^7.6.1",
"@opentelemetry/otlp-transformer": {
"protobufjs": "^8.4.2"
},
"simple-git": "^3.36.0",
"vite": "^7.3.3",
"ws": "^8.20.1"
}
}