@datagrok/grokky 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/.eslintignore +2 -0
  2. package/.eslintrc.json +48 -0
  3. package/CHANGELOG.md +26 -0
  4. package/README.md +3 -0
  5. package/css/ai.css +200 -0
  6. package/detectors.js +9 -0
  7. package/dist/package-test.js +1738 -0
  8. package/dist/package-test.js.map +1 -0
  9. package/dist/package.js +92488 -0
  10. package/dist/package.js.map +1 -0
  11. package/dockerfiles/claude-runtime/.dockerignore +4 -0
  12. package/dockerfiles/claude-runtime/Dockerfile +27 -0
  13. package/dockerfiles/claude-runtime/container.json +5 -0
  14. package/dockerfiles/claude-runtime/package-lock.json +448 -0
  15. package/dockerfiles/claude-runtime/package.json +20 -0
  16. package/dockerfiles/claude-runtime/src/server.ts +273 -0
  17. package/dockerfiles/claude-runtime/src/types.ts +37 -0
  18. package/dockerfiles/claude-runtime/tsconfig.json +15 -0
  19. package/dockerfiles/mcp-server/Dockerfile +12 -0
  20. package/dockerfiles/mcp-server/container.json +1 -0
  21. package/dockerfiles/mcp-server/package-lock.json +1178 -0
  22. package/dockerfiles/mcp-server/package.json +15 -0
  23. package/dockerfiles/mcp-server/src/api-client.ts +100 -0
  24. package/dockerfiles/mcp-server/src/index.ts +155 -0
  25. package/dockerfiles/mcp-server/tsconfig.json +13 -0
  26. package/package.json +126 -0
  27. package/package.png +0 -0
  28. package/src/ai-panel.ts +174 -0
  29. package/src/claude-code/claude-panel.ts +34 -0
  30. package/src/claude-code/claude-runtime-client.ts +148 -0
  31. package/src/llm-utils/LLM-client.ts +251 -0
  32. package/src/llm-utils/combined-search.ts +162 -0
  33. package/src/llm-utils/creds.ts +30 -0
  34. package/src/llm-utils/db-index-tools.ts +642 -0
  35. package/src/llm-utils/deepwikiclient.ts +118 -0
  36. package/src/llm-utils/depr/AI-API-providers/openai-chat-completions-provider.ts +115 -0
  37. package/src/llm-utils/depr/AI-API-providers/openai-responses-provider.ts +108 -0
  38. package/src/llm-utils/depr/AI-API-providers/types.ts +106 -0
  39. package/src/llm-utils/depr/depr.ts +235 -0
  40. package/src/llm-utils/depr/embeddings.ts +58 -0
  41. package/src/llm-utils/depr/sql-utils.ts +377 -0
  42. package/src/llm-utils/indexes/biologics-index.ts +1098 -0
  43. package/src/llm-utils/indexes/chembl-index.ts +10074 -0
  44. package/src/llm-utils/indexes/dg-repository-index.ts +266 -0
  45. package/src/llm-utils/panel.ts +866 -0
  46. package/src/llm-utils/query-matching.ts +370 -0
  47. package/src/llm-utils/query-meta-utils.ts +106 -0
  48. package/src/llm-utils/script-tools.ts +784 -0
  49. package/src/llm-utils/sql-tools.ts +840 -0
  50. package/src/llm-utils/storage.ts +201 -0
  51. package/src/llm-utils/tableview-tools.ts +704 -0
  52. package/src/llm-utils/ui.ts +315 -0
  53. package/src/package-api.ts +83 -0
  54. package/src/package-test.ts +16 -0
  55. package/src/package.g.ts +122 -0
  56. package/src/package.ts +275 -0
  57. package/src/prompt-engine/chatgpt-assistant.ts +257 -0
  58. package/src/prompt-engine/interfaces.ts +170 -0
  59. package/src/prompt-engine/prompt-engine.ts +52 -0
  60. package/src/prompt-engine/rendering-tools.ts +103 -0
  61. package/src/prompts/is-help-request.ts +26 -0
  62. package/src/utils.ts +174 -0
  63. package/src/viewers-ai.ts +67 -0
  64. package/tsconfig.json +72 -0
  65. package/webpack.config.js +49 -0
@@ -0,0 +1,4 @@
1
+ node_modules
2
+ dist
3
+ *.md
4
+ .git
@@ -0,0 +1,27 @@
1
+ FROM node:20-slim
2
+
3
+ RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates && \
4
+ rm -rf /var/lib/apt/lists/*
5
+
6
+ WORKDIR /app
7
+
8
+ ARG HOME_DIR=/home/grok
9
+ RUN groupadd -g 2001 grok && \
10
+ useradd -m -d ${HOME_DIR} -g grok -u 1001 grok && \
11
+ git clone --depth 1 https://github.com/datagrok-ai/public.git /workspace && \
12
+ chown -R grok:grok ${HOME_DIR} /workspace
13
+
14
+ COPY --chown=grok:grok package.json package-lock.json* tsconfig.json ./
15
+ COPY --chown=grok:grok src ./src
16
+ RUN npm ci && npx tsc && rm -rf src tsconfig.json && npm prune --production
17
+
18
+ ENV CLAUDE_WORKSPACE=/workspace
19
+
20
+ USER grok
21
+
22
+ EXPOSE 5355
23
+
24
+ HEALTHCHECK --interval=5s --timeout=3s --start-period=10s --retries=3 \
25
+ CMD node -e "fetch('http://127.0.0.1:5355/health').then(r=>r.ok?process.exit(0):process.exit(1)).catch(()=>process.exit(1))"
26
+
27
+ CMD ["node", "dist/server.js"]
@@ -0,0 +1,5 @@
1
+ {
2
+ "cpu": 1,
3
+ "memory": 2048,
4
+ "on_demand": true
5
+ }
@@ -0,0 +1,448 @@
1
+ {
2
+ "name": "claude-runtime",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "claude-runtime",
9
+ "version": "1.0.0",
10
+ "dependencies": {
11
+ "@anthropic-ai/claude-agent-sdk": ">=0.2.0",
12
+ "@hono/node-server": "^1.13.0",
13
+ "@hono/node-ws": "^1.3.0",
14
+ "hono": "^4.6.0"
15
+ },
16
+ "devDependencies": {
17
+ "@types/node": "^20.3.1",
18
+ "typescript": "^5.1.3"
19
+ }
20
+ },
21
+ "node_modules/@anthropic-ai/claude-agent-sdk": {
22
+ "version": "0.2.52",
23
+ "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk/-/claude-agent-sdk-0.2.52.tgz",
24
+ "integrity": "sha512-rdTQUu/HjKlDNNxJuhtXY6LJDOLvzVBU7sXFuFIG6CEC/nFfcvYq035EyjVw4nzu7lLZim/m+g2yZ8uNIcbaFw==",
25
+ "license": "SEE LICENSE IN README.md",
26
+ "engines": {
27
+ "node": ">=18.0.0"
28
+ },
29
+ "optionalDependencies": {
30
+ "@img/sharp-darwin-arm64": "^0.34.2",
31
+ "@img/sharp-darwin-x64": "^0.34.2",
32
+ "@img/sharp-linux-arm": "^0.34.2",
33
+ "@img/sharp-linux-arm64": "^0.34.2",
34
+ "@img/sharp-linux-x64": "^0.34.2",
35
+ "@img/sharp-linuxmusl-arm64": "^0.34.2",
36
+ "@img/sharp-linuxmusl-x64": "^0.34.2",
37
+ "@img/sharp-win32-arm64": "^0.34.2",
38
+ "@img/sharp-win32-x64": "^0.34.2"
39
+ },
40
+ "peerDependencies": {
41
+ "zod": "^4.0.0"
42
+ }
43
+ },
44
+ "node_modules/@hono/node-server": {
45
+ "version": "1.19.9",
46
+ "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-1.19.9.tgz",
47
+ "integrity": "sha512-vHL6w3ecZsky+8P5MD+eFfaGTyCeOHUIFYMGpQGbrBTSmNNoxv0if69rEZ5giu36weC5saFuznL411gRX7bJDw==",
48
+ "license": "MIT",
49
+ "engines": {
50
+ "node": ">=18.14.1"
51
+ },
52
+ "peerDependencies": {
53
+ "hono": "^4"
54
+ }
55
+ },
56
+ "node_modules/@hono/node-ws": {
57
+ "version": "1.3.0",
58
+ "resolved": "https://registry.npmjs.org/@hono/node-ws/-/node-ws-1.3.0.tgz",
59
+ "integrity": "sha512-ju25YbbvLuXdqBCmLZLqnNYu1nbHIQjoyUqA8ApZOeL1k4skuiTcw5SW77/5SUYo2Xi2NVBJoVlfQurnKEp03Q==",
60
+ "license": "MIT",
61
+ "dependencies": {
62
+ "ws": "^8.17.0"
63
+ },
64
+ "engines": {
65
+ "node": ">=18.14.1"
66
+ },
67
+ "peerDependencies": {
68
+ "@hono/node-server": "^1.19.2",
69
+ "hono": "^4.6.0"
70
+ }
71
+ },
72
+ "node_modules/@img/sharp-darwin-arm64": {
73
+ "version": "0.34.5",
74
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.5.tgz",
75
+ "integrity": "sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==",
76
+ "cpu": [
77
+ "arm64"
78
+ ],
79
+ "license": "Apache-2.0",
80
+ "optional": true,
81
+ "os": [
82
+ "darwin"
83
+ ],
84
+ "engines": {
85
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
86
+ },
87
+ "funding": {
88
+ "url": "https://opencollective.com/libvips"
89
+ },
90
+ "optionalDependencies": {
91
+ "@img/sharp-libvips-darwin-arm64": "1.2.4"
92
+ }
93
+ },
94
+ "node_modules/@img/sharp-darwin-x64": {
95
+ "version": "0.34.5",
96
+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.5.tgz",
97
+ "integrity": "sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==",
98
+ "cpu": [
99
+ "x64"
100
+ ],
101
+ "license": "Apache-2.0",
102
+ "optional": true,
103
+ "os": [
104
+ "darwin"
105
+ ],
106
+ "engines": {
107
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
108
+ },
109
+ "funding": {
110
+ "url": "https://opencollective.com/libvips"
111
+ },
112
+ "optionalDependencies": {
113
+ "@img/sharp-libvips-darwin-x64": "1.2.4"
114
+ }
115
+ },
116
+ "node_modules/@img/sharp-libvips-darwin-arm64": {
117
+ "version": "1.2.4",
118
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.2.4.tgz",
119
+ "integrity": "sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==",
120
+ "cpu": [
121
+ "arm64"
122
+ ],
123
+ "license": "LGPL-3.0-or-later",
124
+ "optional": true,
125
+ "os": [
126
+ "darwin"
127
+ ],
128
+ "funding": {
129
+ "url": "https://opencollective.com/libvips"
130
+ }
131
+ },
132
+ "node_modules/@img/sharp-libvips-darwin-x64": {
133
+ "version": "1.2.4",
134
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.2.4.tgz",
135
+ "integrity": "sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==",
136
+ "cpu": [
137
+ "x64"
138
+ ],
139
+ "license": "LGPL-3.0-or-later",
140
+ "optional": true,
141
+ "os": [
142
+ "darwin"
143
+ ],
144
+ "funding": {
145
+ "url": "https://opencollective.com/libvips"
146
+ }
147
+ },
148
+ "node_modules/@img/sharp-libvips-linux-arm": {
149
+ "version": "1.2.4",
150
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.2.4.tgz",
151
+ "integrity": "sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==",
152
+ "cpu": [
153
+ "arm"
154
+ ],
155
+ "license": "LGPL-3.0-or-later",
156
+ "optional": true,
157
+ "os": [
158
+ "linux"
159
+ ],
160
+ "funding": {
161
+ "url": "https://opencollective.com/libvips"
162
+ }
163
+ },
164
+ "node_modules/@img/sharp-libvips-linux-arm64": {
165
+ "version": "1.2.4",
166
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.2.4.tgz",
167
+ "integrity": "sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==",
168
+ "cpu": [
169
+ "arm64"
170
+ ],
171
+ "license": "LGPL-3.0-or-later",
172
+ "optional": true,
173
+ "os": [
174
+ "linux"
175
+ ],
176
+ "funding": {
177
+ "url": "https://opencollective.com/libvips"
178
+ }
179
+ },
180
+ "node_modules/@img/sharp-libvips-linux-x64": {
181
+ "version": "1.2.4",
182
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.2.4.tgz",
183
+ "integrity": "sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==",
184
+ "cpu": [
185
+ "x64"
186
+ ],
187
+ "license": "LGPL-3.0-or-later",
188
+ "optional": true,
189
+ "os": [
190
+ "linux"
191
+ ],
192
+ "funding": {
193
+ "url": "https://opencollective.com/libvips"
194
+ }
195
+ },
196
+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {
197
+ "version": "1.2.4",
198
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.2.4.tgz",
199
+ "integrity": "sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==",
200
+ "cpu": [
201
+ "arm64"
202
+ ],
203
+ "license": "LGPL-3.0-or-later",
204
+ "optional": true,
205
+ "os": [
206
+ "linux"
207
+ ],
208
+ "funding": {
209
+ "url": "https://opencollective.com/libvips"
210
+ }
211
+ },
212
+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {
213
+ "version": "1.2.4",
214
+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.2.4.tgz",
215
+ "integrity": "sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==",
216
+ "cpu": [
217
+ "x64"
218
+ ],
219
+ "license": "LGPL-3.0-or-later",
220
+ "optional": true,
221
+ "os": [
222
+ "linux"
223
+ ],
224
+ "funding": {
225
+ "url": "https://opencollective.com/libvips"
226
+ }
227
+ },
228
+ "node_modules/@img/sharp-linux-arm": {
229
+ "version": "0.34.5",
230
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.5.tgz",
231
+ "integrity": "sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==",
232
+ "cpu": [
233
+ "arm"
234
+ ],
235
+ "license": "Apache-2.0",
236
+ "optional": true,
237
+ "os": [
238
+ "linux"
239
+ ],
240
+ "engines": {
241
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
242
+ },
243
+ "funding": {
244
+ "url": "https://opencollective.com/libvips"
245
+ },
246
+ "optionalDependencies": {
247
+ "@img/sharp-libvips-linux-arm": "1.2.4"
248
+ }
249
+ },
250
+ "node_modules/@img/sharp-linux-arm64": {
251
+ "version": "0.34.5",
252
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.5.tgz",
253
+ "integrity": "sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==",
254
+ "cpu": [
255
+ "arm64"
256
+ ],
257
+ "license": "Apache-2.0",
258
+ "optional": true,
259
+ "os": [
260
+ "linux"
261
+ ],
262
+ "engines": {
263
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
264
+ },
265
+ "funding": {
266
+ "url": "https://opencollective.com/libvips"
267
+ },
268
+ "optionalDependencies": {
269
+ "@img/sharp-libvips-linux-arm64": "1.2.4"
270
+ }
271
+ },
272
+ "node_modules/@img/sharp-linux-x64": {
273
+ "version": "0.34.5",
274
+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.5.tgz",
275
+ "integrity": "sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==",
276
+ "cpu": [
277
+ "x64"
278
+ ],
279
+ "license": "Apache-2.0",
280
+ "optional": true,
281
+ "os": [
282
+ "linux"
283
+ ],
284
+ "engines": {
285
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
286
+ },
287
+ "funding": {
288
+ "url": "https://opencollective.com/libvips"
289
+ },
290
+ "optionalDependencies": {
291
+ "@img/sharp-libvips-linux-x64": "1.2.4"
292
+ }
293
+ },
294
+ "node_modules/@img/sharp-linuxmusl-arm64": {
295
+ "version": "0.34.5",
296
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.5.tgz",
297
+ "integrity": "sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==",
298
+ "cpu": [
299
+ "arm64"
300
+ ],
301
+ "license": "Apache-2.0",
302
+ "optional": true,
303
+ "os": [
304
+ "linux"
305
+ ],
306
+ "engines": {
307
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
308
+ },
309
+ "funding": {
310
+ "url": "https://opencollective.com/libvips"
311
+ },
312
+ "optionalDependencies": {
313
+ "@img/sharp-libvips-linuxmusl-arm64": "1.2.4"
314
+ }
315
+ },
316
+ "node_modules/@img/sharp-linuxmusl-x64": {
317
+ "version": "0.34.5",
318
+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.5.tgz",
319
+ "integrity": "sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==",
320
+ "cpu": [
321
+ "x64"
322
+ ],
323
+ "license": "Apache-2.0",
324
+ "optional": true,
325
+ "os": [
326
+ "linux"
327
+ ],
328
+ "engines": {
329
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
330
+ },
331
+ "funding": {
332
+ "url": "https://opencollective.com/libvips"
333
+ },
334
+ "optionalDependencies": {
335
+ "@img/sharp-libvips-linuxmusl-x64": "1.2.4"
336
+ }
337
+ },
338
+ "node_modules/@img/sharp-win32-arm64": {
339
+ "version": "0.34.5",
340
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.34.5.tgz",
341
+ "integrity": "sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==",
342
+ "cpu": [
343
+ "arm64"
344
+ ],
345
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
346
+ "optional": true,
347
+ "os": [
348
+ "win32"
349
+ ],
350
+ "engines": {
351
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
352
+ },
353
+ "funding": {
354
+ "url": "https://opencollective.com/libvips"
355
+ }
356
+ },
357
+ "node_modules/@img/sharp-win32-x64": {
358
+ "version": "0.34.5",
359
+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.5.tgz",
360
+ "integrity": "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==",
361
+ "cpu": [
362
+ "x64"
363
+ ],
364
+ "license": "Apache-2.0 AND LGPL-3.0-or-later",
365
+ "optional": true,
366
+ "os": [
367
+ "win32"
368
+ ],
369
+ "engines": {
370
+ "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
371
+ },
372
+ "funding": {
373
+ "url": "https://opencollective.com/libvips"
374
+ }
375
+ },
376
+ "node_modules/@types/node": {
377
+ "version": "20.19.33",
378
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.33.tgz",
379
+ "integrity": "sha512-Rs1bVAIdBs5gbTIKza/tgpMuG1k3U/UMJLWecIMxNdJFDMzcM5LOiLVRYh3PilWEYDIeUDv7bpiHPLPsbydGcw==",
380
+ "dev": true,
381
+ "license": "MIT",
382
+ "dependencies": {
383
+ "undici-types": "~6.21.0"
384
+ }
385
+ },
386
+ "node_modules/hono": {
387
+ "version": "4.12.2",
388
+ "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.2.tgz",
389
+ "integrity": "sha512-gJnaDHXKDayjt8ue0n8Gs0A007yKXj4Xzb8+cNjZeYsSzzwKc0Lr+OZgYwVfB0pHfUs17EPoLvrOsEaJ9mj+Tg==",
390
+ "license": "MIT",
391
+ "engines": {
392
+ "node": ">=16.9.0"
393
+ }
394
+ },
395
+ "node_modules/typescript": {
396
+ "version": "5.9.3",
397
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
398
+ "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
399
+ "dev": true,
400
+ "license": "Apache-2.0",
401
+ "bin": {
402
+ "tsc": "bin/tsc",
403
+ "tsserver": "bin/tsserver"
404
+ },
405
+ "engines": {
406
+ "node": ">=14.17"
407
+ }
408
+ },
409
+ "node_modules/undici-types": {
410
+ "version": "6.21.0",
411
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
412
+ "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
413
+ "dev": true,
414
+ "license": "MIT"
415
+ },
416
+ "node_modules/ws": {
417
+ "version": "8.19.0",
418
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz",
419
+ "integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==",
420
+ "license": "MIT",
421
+ "engines": {
422
+ "node": ">=10.0.0"
423
+ },
424
+ "peerDependencies": {
425
+ "bufferutil": "^4.0.1",
426
+ "utf-8-validate": ">=5.0.2"
427
+ },
428
+ "peerDependenciesMeta": {
429
+ "bufferutil": {
430
+ "optional": true
431
+ },
432
+ "utf-8-validate": {
433
+ "optional": true
434
+ }
435
+ }
436
+ },
437
+ "node_modules/zod": {
438
+ "version": "4.3.6",
439
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz",
440
+ "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==",
441
+ "license": "MIT",
442
+ "peer": true,
443
+ "funding": {
444
+ "url": "https://github.com/sponsors/colinhacks"
445
+ }
446
+ }
447
+ }
448
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "claude-runtime",
3
+ "version": "1.0.0",
4
+ "private": true,
5
+ "main": "dist/server.js",
6
+ "scripts": {
7
+ "start": "node dist/server.js",
8
+ "build": "tsc"
9
+ },
10
+ "dependencies": {
11
+ "@anthropic-ai/claude-agent-sdk": ">=0.2.0",
12
+ "@hono/node-server": "^1.13.0",
13
+ "@hono/node-ws": "^1.3.0",
14
+ "hono": "^4.6.0"
15
+ },
16
+ "devDependencies": {
17
+ "@types/node": "^20.3.1",
18
+ "typescript": "^5.1.3"
19
+ }
20
+ }