-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
280 lines (280 loc) · 11.8 KB
/
Copy pathpackage.json
File metadata and controls
280 lines (280 loc) · 11.8 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
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
{
"name": "@roackb2/heddle",
"version": "4.6.0",
"description": "An open-source AI coding agent runtime and terminal CLI for real repositories, with persistent memory, sessions, approvals, heartbeat, and a browser control plane",
"author": "Jay / Fienna Liang <roackb2@gmail.com>",
"license": "MIT",
"type": "module",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/roackb2/heddle.git"
},
"homepage": "https://heddleagent.com",
"bugs": {
"url": "https://github.com/roackb2/heddle/issues"
},
"engines": {
"node": ">=20"
},
"bin": {
"heddle": "dist/src/cli-v2/main.js"
},
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./hosted": {
"types": "./dist/src/hosted.d.ts",
"import": "./dist/src/hosted.js"
},
"./hosted/http-sse": {
"types": "./dist/src/hosted/http-sse.d.ts",
"import": "./dist/src/hosted/http-sse.js"
},
"./advanced": {
"types": "./dist/src/advanced.d.ts",
"import": "./dist/src/advanced.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"!dist/src/__tests__",
"!dist/src/**/*.test.*",
"README.md",
"LICENSE"
],
"scripts": {
"clean": "node scripts/clean-dist.mjs",
"remote:clean": "node scripts/clean-dist.mjs remote",
"remote:verify": "node scripts/verify-remote-package.mjs",
"remote:compile": "yarn remote:verify && tsc -p tsconfig.remote-package.json",
"remote:build": "yarn remote:clean && yarn remote:compile",
"remote:pack": "yarn remote:build && npm pack ./packages/heddle-remote",
"remote:publish": "yarn remote:build && npm publish ./packages/heddle-remote",
"typecheck": "tsc -p tsconfig.build.json --noEmit",
"eslint": "eslint .",
"lint": "yarn eslint",
"release:context": "node scripts/release-context.mjs",
"build": "yarn clean && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && yarn remote:compile && node scripts/copy-built-in-skill-assets.mjs && node scripts/mark-bin-executable.mjs && yarn client:build && yarn example:sdk:react-ui:build",
"client:build": "tsc -p src/web-v2/tsconfig.json --noEmit && vite build --config src/web-v2/vite.config.ts",
"client:dev": "vite --config src/web-v2/vite.config.ts",
"client:build:v2": "tsc -p src/web-v2/tsconfig.json --noEmit && vite build --config src/web-v2/vite.config.ts",
"client:dev:v2": "vite --config src/web-v2/vite.config.ts",
"server:dev": "tsx watch --clear-screen=false --no-cache src/server/dev.ts",
"server:dev:v2": "yarn server:dev",
"daemon:dev": "tsx --no-cache src/cli-v2/main.ts daemon --assets-dir dist/src/web-v2",
"daemon:dev:v2": "tsx --no-cache src/cli-v2/main.ts daemon --assets-dir dist/src/web-v2",
"verify:tui-behavior": "node --import tsx/esm scripts/verify-tui-behavior.tsx",
"verify:tui-session-boundary": "yarn verify:tui-behavior",
"verify:tui-session-switch": "yarn verify:tui-behavior",
"smoke:ollama": "node scripts/ollama-openai-compat-smoke.mjs",
"smoke:custom-agents": "tsx --no-cache scripts/verify-custom-agents-smoke.ts",
"smoke:lmstudio": "node scripts/openai-compatible-smoke.mjs --profile lmstudio --skip-when-unavailable",
"smoke:litellm": "node scripts/openai-compatible-smoke.mjs --profile litellm --skip-when-unavailable",
"smoke:vllm": "node scripts/openai-compatible-smoke.mjs --profile vllm --skip-when-unavailable",
"smoke:huggingface": "node scripts/openai-compatible-smoke.mjs --profile huggingface --skip-when-unavailable",
"smoke:openrouter": "node scripts/openai-compatible-smoke.mjs --profile openrouter --skip-when-unavailable",
"smoke:together": "node scripts/openai-compatible-smoke.mjs --profile together --skip-when-unavailable",
"smoke:groq": "node scripts/openai-compatible-smoke.mjs --profile groq --skip-when-unavailable",
"eval:agent": "tsx --no-cache src/cli-v2/main.ts eval agent",
"eval:clean": "tsx --no-cache src/cli-v2/main.ts eval clean",
"test:browser-integration": "node scripts/browser-integration-playwright.mjs --project web-v2-chromium",
"test:browser-integration:v2": "node scripts/browser-integration-playwright.mjs --project web-v2-chromium",
"test:browser-integration:static": "node scripts/browser-integration-static-daemon-smoke.mjs",
"test:browser-integration:ui": "node scripts/browser-integration-playwright.mjs --ui",
"test:browser-integration:headed": "node scripts/browser-integration-playwright.mjs --headed",
"test:browser-integration:install": "playwright install chromium",
"cli:dev": "tsx --no-cache src/cli-v2/main.ts",
"chat:dev": "tsx --no-cache src/cli-v2/main.ts chat",
"chat:dev:v2": "tsx --no-cache src/cli-v2/main.ts chat-v2",
"chat:dev:openai": "OPENAI_API_KEY=\"$PERSONAL_OPENAI_API_KEY\" tsx --no-cache src/cli-v2/main.ts chat",
"chat:dev:v2:openai": "OPENAI_API_KEY=\"$PERSONAL_OPENAI_API_KEY\" tsx --no-cache src/cli-v2/main.ts chat-v2",
"chat:dev:anthropic": "ANTHROPIC_API_KEY=\"$PERSONAL_ANTHROPIC_API_KEY\" tsx --no-cache src/cli-v2/main.ts chat",
"chat:dev:v2:anthropic": "ANTHROPIC_API_KEY=\"$PERSONAL_ANTHROPIC_API_KEY\" tsx --no-cache src/cli-v2/main.ts chat-v2",
"example:repo-investigator": "tsx --no-cache examples/repo-investigator.ts",
"example:sdk:interactive": "tsx --no-cache examples/sdk/01-interactive-chat.ts",
"example:sdk:add-tool": "tsx --no-cache examples/sdk/02-add-a-tool.ts",
"example:sdk:add-mcp": "tsx --no-cache examples/sdk/03-add-an-mcp-server.ts",
"example:sdk:custom-output": "tsx --no-cache examples/sdk/04-custom-output.ts",
"example:sdk:hosted-agent": "tsx --no-cache examples/sdk/05-hosted-agent/01-hosted-service/run.ts",
"example:sdk:hosted-api": "tsx --no-cache examples/sdk/05-hosted-agent/02-http-sse-api/server.ts",
"example:sdk:browser-client": "tsx --no-cache examples/sdk/05-hosted-agent/03-browser-client/run.ts",
"example:sdk:react-ui": "vite --config examples/sdk/05-hosted-agent/04-react-ui/vite.config.ts",
"example:sdk:react-ui:build": "tsc -p examples/sdk/05-hosted-agent/04-react-ui/tsconfig.json --noEmit && vite build --config examples/sdk/05-hosted-agent/04-react-ui/vite.config.ts",
"example:conversation-engine": "tsx --no-cache examples/conversation-engine.ts",
"example:programmatic": "tsx --no-cache examples/programmatic-loop.ts",
"example:heartbeat": "tsx --no-cache examples/heartbeat.ts",
"example:heartbeat-scheduler": "tsx --no-cache examples/heartbeat-scheduler.ts",
"example:browser-runtime-spike": "tsx --no-cache examples/browser-runtime-spike.ts",
"example:browser-runtime-spike:headless": "tsx --no-cache examples/browser-runtime-spike.ts --headless",
"example:browser-runtime-spike:headed": "tsx --no-cache examples/browser-runtime-spike.ts --headed",
"example:browser-research-toolkit": "tsx --no-cache examples/browser-research-toolkit.ts",
"example:browser-research-toolkit:headless": "tsx --no-cache examples/browser-research-toolkit.ts --headless",
"example:browser-research-toolkit:headed": "tsx --no-cache examples/browser-research-toolkit.ts --headed",
"example:browser-agent-smoke": "tsx --no-cache examples/browser-agent-smoke.ts",
"example:browser-agent-smoke:headless": "tsx --no-cache examples/browser-agent-smoke.ts --headless",
"example:browser-agent-smoke:headed": "tsx --no-cache examples/browser-agent-smoke.ts --headed",
"spike:native-chrome-profile": "node scripts/open-native-chrome-profile.mjs",
"example:native-chrome-cdp-spike": "tsx --no-cache examples/native-chrome-cdp-spike.ts",
"example:host-events": "tsx --no-cache examples/host-events.ts",
"example:cyberloop-observer": "tsx --no-cache examples/cyberloop-observer.ts",
"test": "yarn test:unit && yarn test:integration",
"test:unit": "vitest run src/__tests__/unit",
"test:integration": "vitest run src/__tests__/integration",
"prepare": "yarn build"
},
"keywords": [
"agent",
"ai-coding-agent",
"coding-agent",
"coding-assistant",
"agentic-coding",
"agent-runtime",
"agent-framework",
"ai-agent",
"ai-developer-tool",
"terminal-agent",
"terminal-ai",
"cli-agent",
"cli-coding-agent",
"llm-agent",
"ai-cli",
"autonomous-agent",
"human-in-the-loop",
"heartbeat",
"long-running-agent",
"agent-observability",
"semantic-drift",
"persistent-memory",
"persistent-agent-memory",
"agent-memory",
"knowledge-persistence",
"learning-agent",
"self-improving-agent",
"local-first",
"developer-tools",
"developer-ai",
"workspace-agent",
"repository-tools",
"llm",
"open-source",
"provider-agnostic",
"openai",
"anthropic",
"trace",
"chat",
"developer-agent",
"repository-inspection",
"code-review",
"terminal-coding",
"agent-cli",
"control-plane"
],
"peerDependencies": {
"cyberloop": "^1.0.0",
"playwright": "^1.59.1"
},
"peerDependenciesMeta": {
"cyberloop": {
"optional": true
},
"playwright": {
"optional": true
}
},
"dependencies": {
"@anthropic-ai/sdk": "^0.54.0",
"@fontsource-variable/inter": "^5.2.8",
"@hookform/resolvers": "^5.4.0",
"@inkjs/ui": "^2.0.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@radix-ui/react-alert-dialog": "^1.1.16",
"@radix-ui/react-context-menu": "^2.3.0",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-slot": "^1.2.4",
"@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-toast": "^1.2.15",
"@radix-ui/react-tooltip": "^1.2.8",
"@standard-schema/spec": "^1.1.0",
"@tailwindcss/vite": "^4.2.2",
"@tanstack/react-query": "^5.100.11",
"@trpc/client": "^11.16.0",
"@trpc/react-query": "11.16.0",
"@trpc/server": "^11.16.0",
"@types/lodash": "^4.17.24",
"chalk": "^5.6.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"commander": "^14.0.1",
"dayjs": "^1.11.20",
"debounce": "^3.0.0",
"eventsource": "4.1.0",
"express": "^5.2.1",
"gitdiff-parser": "^0.3.1",
"ink": "^6.8.0",
"lodash": "^4.18.1",
"lucide-react": "^1.16.0",
"marked": "^9.1.6",
"marked-terminal": "^6.3.0",
"monaco-editor": "^0.55.1",
"multer": "^2.1.1",
"openai": "^4.86.2",
"pino": "^10.3.1",
"pino-pretty": "^13.1.3",
"react": "19.2.5",
"react-hook-form": "^7.76.1",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^4.11.1",
"react-router": "^7.14.2",
"remark-breaks": "^4.0.0",
"remark-gfm": "^4.0.1",
"string-width": "^4.2.3",
"strip-ansi": "^6.0.1",
"tailwind-merge": "^3.5.0",
"tailwindcss": "^4.2.2",
"yaml": "^2.9.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.59.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/express": "^5.0.6",
"@types/jsdom": "^28.0.3",
"@types/marked-terminal": "^3.1.7",
"@types/multer": "^2.1.0",
"@types/node": "^22.13.10",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"@vitest/coverage-v8": "^4.1.2",
"cyberloop": "^1.0.0",
"eslint": "^10.2.0",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"eventsource-parser": "^3.1.0",
"globals": "^17.5.0",
"jsdom": "^29.0.2",
"react-dom": "^19.2.5",
"streamdown": "^2.5.0",
"tsc-alias": "^1.8.17",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"typescript-eslint": "^8.58.2",
"use-stick-to-bottom": "^1.1.6",
"vite": "8.0.3",
"vitest": "4.1.2"
}
}