gsd-pi 2.54.0 → 2.56.0-dev.603f970

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 (1486) hide show
  1. package/dist/cli.js +19 -19
  2. package/dist/headless-events.d.ts +2 -0
  3. package/dist/headless-events.js +3 -0
  4. package/dist/headless-ui.d.ts +27 -1
  5. package/dist/headless-ui.js +203 -13
  6. package/dist/headless.js +62 -7
  7. package/dist/resources/extensions/bg-shell/bg-shell-lifecycle.js +2 -2
  8. package/dist/resources/extensions/bg-shell/utilities.js +34 -5
  9. package/dist/resources/extensions/gsd/auto/phases.js +22 -3
  10. package/dist/resources/extensions/gsd/auto/run-unit.js +6 -0
  11. package/dist/resources/extensions/gsd/auto/session.js +2 -0
  12. package/dist/resources/extensions/gsd/auto-artifact-paths.js +6 -0
  13. package/dist/resources/extensions/gsd/auto-dashboard.js +5 -2
  14. package/dist/resources/extensions/gsd/auto-dispatch.js +1 -1
  15. package/dist/resources/extensions/gsd/auto-model-selection.js +28 -4
  16. package/dist/resources/extensions/gsd/auto-post-unit.js +1 -1
  17. package/dist/resources/extensions/gsd/auto-prompts.js +9 -0
  18. package/dist/resources/extensions/gsd/auto-start.js +31 -11
  19. package/dist/resources/extensions/gsd/auto-worktree.js +39 -14
  20. package/dist/resources/extensions/gsd/bootstrap/agent-end-recovery.js +5 -1
  21. package/dist/resources/extensions/gsd/bootstrap/provider-error-resume.js +18 -0
  22. package/dist/resources/extensions/gsd/bootstrap/register-extension.js +18 -5
  23. package/dist/resources/extensions/gsd/bootstrap/register-shortcuts.js +20 -0
  24. package/dist/resources/extensions/gsd/commands/catalog.js +2 -1
  25. package/dist/resources/extensions/gsd/commands/handlers/parallel.js +15 -1
  26. package/dist/resources/extensions/gsd/complexity-classifier.js +1 -0
  27. package/dist/resources/extensions/gsd/crash-recovery.js +2 -2
  28. package/dist/resources/extensions/gsd/dashboard-overlay.js +2 -0
  29. package/dist/resources/extensions/gsd/docs/preferences-reference.md +4 -2
  30. package/dist/resources/extensions/gsd/guided-flow.js +17 -16
  31. package/dist/resources/extensions/gsd/metrics.js +4 -1
  32. package/dist/resources/extensions/gsd/parallel-monitor-overlay.js +413 -0
  33. package/dist/resources/extensions/gsd/parallel-orchestrator.js +5 -1
  34. package/dist/resources/extensions/gsd/preferences-models.js +12 -0
  35. package/dist/resources/extensions/gsd/roadmap-slices.js +1 -0
  36. package/dist/resources/extensions/gsd/session-lock.js +46 -12
  37. package/dist/resources/extensions/gsd/skill-health.js +2 -2
  38. package/dist/resources/extensions/gsd/visualizer-overlay.js +3 -3
  39. package/dist/resources/extensions/shared/format-utils.js +1 -1
  40. package/dist/resources/extensions/subagent/agents.js +8 -3
  41. package/dist/resources/extensions/subagent/worker-registry.js +2 -1
  42. package/dist/web/standalone/.next/BUILD_ID +1 -1
  43. package/dist/web/standalone/.next/app-path-routes-manifest.json +20 -20
  44. package/dist/web/standalone/.next/build-manifest.json +4 -4
  45. package/dist/web/standalone/.next/prerender-manifest.json +3 -3
  46. package/dist/web/standalone/.next/react-loadable-manifest.json +2 -2
  47. package/dist/web/standalone/.next/required-server-files.json +3 -3
  48. package/dist/web/standalone/.next/server/app/_global-error/page.js +3 -3
  49. package/dist/web/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  50. package/dist/web/standalone/.next/server/app/_global-error.html +2 -2
  51. package/dist/web/standalone/.next/server/app/_global-error.rsc +1 -1
  52. package/dist/web/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  53. package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  54. package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  55. package/dist/web/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  56. package/dist/web/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  57. package/dist/web/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  58. package/dist/web/standalone/.next/server/app/_not-found/page.js +2 -2
  59. package/dist/web/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  60. package/dist/web/standalone/.next/server/app/_not-found.html +1 -1
  61. package/dist/web/standalone/.next/server/app/_not-found.rsc +3 -3
  62. package/dist/web/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
  63. package/dist/web/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  64. package/dist/web/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
  65. package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  66. package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  67. package/dist/web/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  68. package/dist/web/standalone/.next/server/app/api/boot/route.js +1 -1
  69. package/dist/web/standalone/.next/server/app/api/boot/route_client-reference-manifest.js +1 -1
  70. package/dist/web/standalone/.next/server/app/api/bridge-terminal/input/route.js +1 -1
  71. package/dist/web/standalone/.next/server/app/api/bridge-terminal/input/route_client-reference-manifest.js +1 -1
  72. package/dist/web/standalone/.next/server/app/api/bridge-terminal/resize/route.js +1 -1
  73. package/dist/web/standalone/.next/server/app/api/bridge-terminal/resize/route_client-reference-manifest.js +1 -1
  74. package/dist/web/standalone/.next/server/app/api/bridge-terminal/stream/route.js +2 -2
  75. package/dist/web/standalone/.next/server/app/api/bridge-terminal/stream/route_client-reference-manifest.js +1 -1
  76. package/dist/web/standalone/.next/server/app/api/browse-directories/route.js +1 -1
  77. package/dist/web/standalone/.next/server/app/api/browse-directories/route_client-reference-manifest.js +1 -1
  78. package/dist/web/standalone/.next/server/app/api/captures/route.js +1 -1
  79. package/dist/web/standalone/.next/server/app/api/captures/route_client-reference-manifest.js +1 -1
  80. package/dist/web/standalone/.next/server/app/api/cleanup/route.js +1 -1
  81. package/dist/web/standalone/.next/server/app/api/cleanup/route_client-reference-manifest.js +1 -1
  82. package/dist/web/standalone/.next/server/app/api/dev-mode/route.js +1 -1
  83. package/dist/web/standalone/.next/server/app/api/dev-mode/route_client-reference-manifest.js +1 -1
  84. package/dist/web/standalone/.next/server/app/api/doctor/route.js +1 -1
  85. package/dist/web/standalone/.next/server/app/api/doctor/route_client-reference-manifest.js +1 -1
  86. package/dist/web/standalone/.next/server/app/api/experimental/route.js +2 -2
  87. package/dist/web/standalone/.next/server/app/api/experimental/route_client-reference-manifest.js +1 -1
  88. package/dist/web/standalone/.next/server/app/api/export-data/route.js +1 -1
  89. package/dist/web/standalone/.next/server/app/api/export-data/route_client-reference-manifest.js +1 -1
  90. package/dist/web/standalone/.next/server/app/api/files/route.js +1 -1
  91. package/dist/web/standalone/.next/server/app/api/files/route_client-reference-manifest.js +1 -1
  92. package/dist/web/standalone/.next/server/app/api/forensics/route.js +1 -1
  93. package/dist/web/standalone/.next/server/app/api/forensics/route_client-reference-manifest.js +1 -1
  94. package/dist/web/standalone/.next/server/app/api/git/route.js +1 -1
  95. package/dist/web/standalone/.next/server/app/api/git/route_client-reference-manifest.js +1 -1
  96. package/dist/web/standalone/.next/server/app/api/history/route.js +1 -1
  97. package/dist/web/standalone/.next/server/app/api/history/route_client-reference-manifest.js +1 -1
  98. package/dist/web/standalone/.next/server/app/api/hooks/route.js +1 -1
  99. package/dist/web/standalone/.next/server/app/api/hooks/route_client-reference-manifest.js +1 -1
  100. package/dist/web/standalone/.next/server/app/api/inspect/route.js +1 -1
  101. package/dist/web/standalone/.next/server/app/api/inspect/route_client-reference-manifest.js +1 -1
  102. package/dist/web/standalone/.next/server/app/api/knowledge/route.js +1 -1
  103. package/dist/web/standalone/.next/server/app/api/knowledge/route_client-reference-manifest.js +1 -1
  104. package/dist/web/standalone/.next/server/app/api/live-state/route.js +1 -1
  105. package/dist/web/standalone/.next/server/app/api/live-state/route_client-reference-manifest.js +1 -1
  106. package/dist/web/standalone/.next/server/app/api/onboarding/route.js +1 -1
  107. package/dist/web/standalone/.next/server/app/api/onboarding/route_client-reference-manifest.js +1 -1
  108. package/dist/web/standalone/.next/server/app/api/preferences/route.js +1 -1
  109. package/dist/web/standalone/.next/server/app/api/preferences/route_client-reference-manifest.js +1 -1
  110. package/dist/web/standalone/.next/server/app/api/projects/route.js +1 -1
  111. package/dist/web/standalone/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
  112. package/dist/web/standalone/.next/server/app/api/recovery/route.js +1 -1
  113. package/dist/web/standalone/.next/server/app/api/recovery/route_client-reference-manifest.js +1 -1
  114. package/dist/web/standalone/.next/server/app/api/remote-questions/route.js +2 -2
  115. package/dist/web/standalone/.next/server/app/api/remote-questions/route_client-reference-manifest.js +1 -1
  116. package/dist/web/standalone/.next/server/app/api/session/browser/route.js +1 -1
  117. package/dist/web/standalone/.next/server/app/api/session/browser/route_client-reference-manifest.js +1 -1
  118. package/dist/web/standalone/.next/server/app/api/session/command/route.js +1 -1
  119. package/dist/web/standalone/.next/server/app/api/session/command/route_client-reference-manifest.js +1 -1
  120. package/dist/web/standalone/.next/server/app/api/session/events/route.js +2 -2
  121. package/dist/web/standalone/.next/server/app/api/session/events/route_client-reference-manifest.js +1 -1
  122. package/dist/web/standalone/.next/server/app/api/session/manage/route.js +1 -1
  123. package/dist/web/standalone/.next/server/app/api/session/manage/route_client-reference-manifest.js +1 -1
  124. package/dist/web/standalone/.next/server/app/api/settings-data/route.js +1 -1
  125. package/dist/web/standalone/.next/server/app/api/settings-data/route_client-reference-manifest.js +1 -1
  126. package/dist/web/standalone/.next/server/app/api/shutdown/route.js +1 -1
  127. package/dist/web/standalone/.next/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
  128. package/dist/web/standalone/.next/server/app/api/skill-health/route.js +1 -1
  129. package/dist/web/standalone/.next/server/app/api/skill-health/route_client-reference-manifest.js +1 -1
  130. package/dist/web/standalone/.next/server/app/api/steer/route.js +1 -1
  131. package/dist/web/standalone/.next/server/app/api/steer/route_client-reference-manifest.js +1 -1
  132. package/dist/web/standalone/.next/server/app/api/switch-root/route.js +1 -1
  133. package/dist/web/standalone/.next/server/app/api/switch-root/route_client-reference-manifest.js +1 -1
  134. package/dist/web/standalone/.next/server/app/api/terminal/input/route.js +2 -2
  135. package/dist/web/standalone/.next/server/app/api/terminal/input/route_client-reference-manifest.js +1 -1
  136. package/dist/web/standalone/.next/server/app/api/terminal/resize/route.js +2 -2
  137. package/dist/web/standalone/.next/server/app/api/terminal/resize/route_client-reference-manifest.js +1 -1
  138. package/dist/web/standalone/.next/server/app/api/terminal/sessions/route.js +2 -2
  139. package/dist/web/standalone/.next/server/app/api/terminal/sessions/route_client-reference-manifest.js +1 -1
  140. package/dist/web/standalone/.next/server/app/api/terminal/stream/route.js +4 -4
  141. package/dist/web/standalone/.next/server/app/api/terminal/stream/route_client-reference-manifest.js +1 -1
  142. package/dist/web/standalone/.next/server/app/api/terminal/upload/route.js +1 -1
  143. package/dist/web/standalone/.next/server/app/api/terminal/upload/route_client-reference-manifest.js +1 -1
  144. package/dist/web/standalone/.next/server/app/api/undo/route.js +1 -1
  145. package/dist/web/standalone/.next/server/app/api/undo/route_client-reference-manifest.js +1 -1
  146. package/dist/web/standalone/.next/server/app/api/update/route.js +1 -1
  147. package/dist/web/standalone/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
  148. package/dist/web/standalone/.next/server/app/api/visualizer/route.js +1 -1
  149. package/dist/web/standalone/.next/server/app/api/visualizer/route_client-reference-manifest.js +1 -1
  150. package/dist/web/standalone/.next/server/app/index.html +1 -1
  151. package/dist/web/standalone/.next/server/app/index.rsc +4 -4
  152. package/dist/web/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  153. package/dist/web/standalone/.next/server/app/index.segments/_full.segment.rsc +4 -4
  154. package/dist/web/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
  155. package/dist/web/standalone/.next/server/app/index.segments/_index.segment.rsc +3 -3
  156. package/dist/web/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  157. package/dist/web/standalone/.next/server/app/page.js +2 -2
  158. package/dist/web/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  159. package/dist/web/standalone/.next/server/app-paths-manifest.json +20 -20
  160. package/dist/web/standalone/.next/server/chunks/2229.js +3 -3
  161. package/dist/web/standalone/.next/server/chunks/7471.js +3 -3
  162. package/dist/web/standalone/.next/server/middleware-build-manifest.js +1 -1
  163. package/dist/web/standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
  164. package/dist/web/standalone/.next/server/middleware.js +2 -2
  165. package/dist/web/standalone/.next/server/next-font-manifest.js +1 -1
  166. package/dist/web/standalone/.next/server/next-font-manifest.json +1 -1
  167. package/dist/web/standalone/.next/server/pages/404.html +1 -1
  168. package/dist/web/standalone/.next/server/pages/500.html +2 -2
  169. package/dist/web/standalone/.next/server/server-reference-manifest.json +1 -1
  170. package/dist/web/standalone/.next/static/chunks/6502.2305d0afd2385711.js +9 -0
  171. package/dist/web/standalone/.next/static/chunks/app/_not-found/{page-2f24283c162b6ab3.js → page-f2a7482d42a5614b.js} +1 -1
  172. package/dist/web/standalone/.next/static/chunks/app/{layout-9ecfd95f343793f0.js → layout-a16c7a7ecdf0c2cf.js} +1 -1
  173. package/dist/web/standalone/.next/static/chunks/app/page-0c485498795110d6.js +1 -0
  174. package/dist/web/standalone/.next/static/chunks/main-app-fdab67f7802d7832.js +1 -0
  175. package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/global-error-459824ffb8c323dd.js +1 -0
  176. package/dist/web/standalone/.next/static/chunks/{webpack-bca0e732db0dcec3.js → webpack-4332cbd5dd1be584.js} +1 -1
  177. package/dist/web/standalone/node_modules/node-pty/build/Makefile +2 -2
  178. package/dist/web/standalone/node_modules/node-pty/build/Release/pty.node +0 -0
  179. package/dist/web/standalone/node_modules/node-pty/build/pty.target.mk +14 -14
  180. package/dist/web/standalone/node_modules/node-pty/node-addon-api/node_addon_api.target.mk +14 -14
  181. package/dist/web/standalone/node_modules/node-pty/node-addon-api/node_addon_api_except.target.mk +14 -14
  182. package/dist/web/standalone/node_modules/node-pty/node-addon-api/node_addon_api_maybe.target.mk +14 -14
  183. package/dist/web/standalone/server.js +1 -1
  184. package/package.json +6 -4
  185. package/packages/daemon/node_modules/@anthropic-ai/sdk/CHANGELOG.md +1677 -0
  186. package/packages/daemon/node_modules/@anthropic-ai/sdk/LICENSE +8 -0
  187. package/packages/daemon/node_modules/@anthropic-ai/sdk/README.md +674 -0
  188. package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts +3 -0
  189. package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map +1 -0
  190. package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts +3 -0
  191. package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map +1 -0
  192. package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +226 -0
  193. package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map +1 -0
  194. package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +223 -0
  195. package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map +1 -0
  196. package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.d.mts +2 -0
  197. package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map +1 -0
  198. package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.d.ts +2 -0
  199. package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map +1 -0
  200. package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.js +6 -0
  201. package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.js.map +1 -0
  202. package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.mjs +2 -0
  203. package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.mjs.map +1 -0
  204. package/packages/daemon/node_modules/@anthropic-ai/sdk/bin/cli +53 -0
  205. package/packages/daemon/node_modules/@anthropic-ai/sdk/bin/migration-config.json +7 -0
  206. package/packages/daemon/node_modules/@anthropic-ai/sdk/client.d.mts +225 -0
  207. package/packages/daemon/node_modules/@anthropic-ai/sdk/client.d.mts.map +1 -0
  208. package/packages/daemon/node_modules/@anthropic-ai/sdk/client.d.ts +225 -0
  209. package/packages/daemon/node_modules/@anthropic-ai/sdk/client.d.ts.map +1 -0
  210. package/packages/daemon/node_modules/@anthropic-ai/sdk/client.js +536 -0
  211. package/packages/daemon/node_modules/@anthropic-ai/sdk/client.js.map +1 -0
  212. package/packages/daemon/node_modules/@anthropic-ai/sdk/client.mjs +531 -0
  213. package/packages/daemon/node_modules/@anthropic-ai/sdk/client.mjs.map +1 -0
  214. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +49 -0
  215. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map +1 -0
  216. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts +49 -0
  217. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map +1 -0
  218. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.js +76 -0
  219. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.js.map +1 -0
  220. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +72 -0
  221. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map +1 -0
  222. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.d.mts +47 -0
  223. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.d.mts.map +1 -0
  224. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.d.ts +47 -0
  225. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.d.ts.map +1 -0
  226. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.js +114 -0
  227. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.js.map +1 -0
  228. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.mjs +98 -0
  229. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.mjs.map +1 -0
  230. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +63 -0
  231. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map +1 -0
  232. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.d.ts +63 -0
  233. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map +1 -0
  234. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.js +123 -0
  235. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.js.map +1 -0
  236. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.mjs +117 -0
  237. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map +1 -0
  238. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.d.mts +6 -0
  239. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map +1 -0
  240. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.d.ts +6 -0
  241. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map +1 -0
  242. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.js +11 -0
  243. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.js.map +1 -0
  244. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.mjs +7 -0
  245. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.mjs.map +1 -0
  246. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +31 -0
  247. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map +1 -0
  248. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.d.ts +31 -0
  249. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map +1 -0
  250. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.js +282 -0
  251. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.js.map +1 -0
  252. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.mjs +277 -0
  253. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map +1 -0
  254. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.d.mts +3 -0
  255. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map +1 -0
  256. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.d.ts +3 -0
  257. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map +1 -0
  258. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.js +6 -0
  259. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.js.map +1 -0
  260. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.mjs +2 -0
  261. package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map +1 -0
  262. package/packages/daemon/node_modules/@anthropic-ai/sdk/error.d.mts +2 -0
  263. package/packages/daemon/node_modules/@anthropic-ai/sdk/error.d.mts.map +1 -0
  264. package/packages/daemon/node_modules/@anthropic-ai/sdk/error.d.ts +2 -0
  265. package/packages/daemon/node_modules/@anthropic-ai/sdk/error.d.ts.map +1 -0
  266. package/packages/daemon/node_modules/@anthropic-ai/sdk/error.js +6 -0
  267. package/packages/daemon/node_modules/@anthropic-ai/sdk/error.js.map +1 -0
  268. package/packages/daemon/node_modules/@anthropic-ai/sdk/error.mjs +2 -0
  269. package/packages/daemon/node_modules/@anthropic-ai/sdk/error.mjs.map +1 -0
  270. package/packages/daemon/node_modules/@anthropic-ai/sdk/index.d.mts +7 -0
  271. package/packages/daemon/node_modules/@anthropic-ai/sdk/index.d.mts.map +1 -0
  272. package/packages/daemon/node_modules/@anthropic-ai/sdk/index.d.ts +7 -0
  273. package/packages/daemon/node_modules/@anthropic-ai/sdk/index.d.ts.map +1 -0
  274. package/packages/daemon/node_modules/@anthropic-ai/sdk/index.js +35 -0
  275. package/packages/daemon/node_modules/@anthropic-ai/sdk/index.js.map +1 -0
  276. package/packages/daemon/node_modules/@anthropic-ai/sdk/index.mjs +8 -0
  277. package/packages/daemon/node_modules/@anthropic-ai/sdk/index.mjs.map +1 -0
  278. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts +73 -0
  279. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map +1 -0
  280. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts +73 -0
  281. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map +1 -0
  282. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +4 -0
  283. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map +1 -0
  284. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +3 -0
  285. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map +1 -0
  286. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.d.mts +5 -0
  287. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map +1 -0
  288. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.d.ts +5 -0
  289. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map +1 -0
  290. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.js +15 -0
  291. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.js.map +1 -0
  292. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.mjs +12 -0
  293. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map +1 -0
  294. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts +10 -0
  295. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map +1 -0
  296. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts +10 -0
  297. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map +1 -0
  298. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +39 -0
  299. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map +1 -0
  300. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +35 -0
  301. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map +1 -0
  302. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts +17 -0
  303. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map +1 -0
  304. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts +17 -0
  305. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map +1 -0
  306. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +113 -0
  307. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map +1 -0
  308. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +108 -0
  309. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map +1 -0
  310. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts +15 -0
  311. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map +1 -0
  312. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts +15 -0
  313. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map +1 -0
  314. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +162 -0
  315. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map +1 -0
  316. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +157 -0
  317. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map +1 -0
  318. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.d.mts +3 -0
  319. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map +1 -0
  320. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.d.ts +3 -0
  321. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map +1 -0
  322. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.js +41 -0
  323. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.js.map +1 -0
  324. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.mjs +36 -0
  325. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map +1 -0
  326. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.d.mts +22 -0
  327. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map +1 -0
  328. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.d.ts +22 -0
  329. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map +1 -0
  330. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.js +79 -0
  331. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.js.map +1 -0
  332. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.mjs +74 -0
  333. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map +1 -0
  334. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +17 -0
  335. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map +1 -0
  336. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.d.ts +17 -0
  337. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map +1 -0
  338. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.js +55 -0
  339. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.js.map +1 -0
  340. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.mjs +51 -0
  341. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map +1 -0
  342. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +34 -0
  343. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map +1 -0
  344. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts +34 -0
  345. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map +1 -0
  346. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.js +14 -0
  347. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.js.map +1 -0
  348. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +10 -0
  349. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map +1 -0
  350. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts +28 -0
  351. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts +28 -0
  352. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.d.mts +20 -0
  353. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.d.mts.map +1 -0
  354. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.d.ts +20 -0
  355. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.d.ts.map +1 -0
  356. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.js +92 -0
  357. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.js.map +1 -0
  358. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.mjs +85 -0
  359. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.mjs.map +1 -0
  360. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts +8 -0
  361. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts.map +1 -0
  362. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts +8 -0
  363. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts.map +1 -0
  364. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.js +38 -0
  365. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.js.map +1 -0
  366. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs +35 -0
  367. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs.map +1 -0
  368. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts +45 -0
  369. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts.map +1 -0
  370. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts +45 -0
  371. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts.map +1 -0
  372. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.js +96 -0
  373. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.js.map +1 -0
  374. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +93 -0
  375. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.mjs.map +1 -0
  376. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/tslib.js +81 -0
  377. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/tslib.mjs +17 -0
  378. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.d.mts +67 -0
  379. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.d.mts.map +1 -0
  380. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.d.ts +67 -0
  381. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.d.ts.map +1 -0
  382. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.js +4 -0
  383. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.js.map +1 -0
  384. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.mjs +3 -0
  385. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.mjs.map +1 -0
  386. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts +42 -0
  387. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts.map +1 -0
  388. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts +42 -0
  389. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts.map +1 -0
  390. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.js +146 -0
  391. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.js.map +1 -0
  392. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +136 -0
  393. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.mjs.map +1 -0
  394. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts +3 -0
  395. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts.map +1 -0
  396. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts +3 -0
  397. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts.map +1 -0
  398. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +38 -0
  399. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.js.map +1 -0
  400. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +33 -0
  401. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs.map +1 -0
  402. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts +4 -0
  403. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts.map +1 -0
  404. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts +4 -0
  405. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts.map +1 -0
  406. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js +31 -0
  407. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js.map +1 -0
  408. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs +26 -0
  409. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs.map +1 -0
  410. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts +9 -0
  411. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts.map +1 -0
  412. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts +9 -0
  413. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts.map +1 -0
  414. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.js +22 -0
  415. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.js.map +1 -0
  416. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +18 -0
  417. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs.map +1 -0
  418. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +37 -0
  419. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts.map +1 -0
  420. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts +37 -0
  421. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts.map +1 -0
  422. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.js +86 -0
  423. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.js.map +1 -0
  424. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +80 -0
  425. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs.map +1 -0
  426. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts +15 -0
  427. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts.map +1 -0
  428. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts +15 -0
  429. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts.map +1 -0
  430. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.js +58 -0
  431. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.js.map +1 -0
  432. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs +53 -0
  433. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs.map +1 -0
  434. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts +2 -0
  435. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts.map +1 -0
  436. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts +2 -0
  437. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts.map +1 -0
  438. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js +7 -0
  439. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js.map +1 -0
  440. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs +3 -0
  441. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs.map +1 -0
  442. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts +5 -0
  443. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts.map +1 -0
  444. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts +5 -0
  445. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts.map +1 -0
  446. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +19 -0
  447. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js.map +1 -0
  448. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +15 -0
  449. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs.map +1 -0
  450. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts +16 -0
  451. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts.map +1 -0
  452. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts +16 -0
  453. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts.map +1 -0
  454. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.js +109 -0
  455. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.js.map +1 -0
  456. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +92 -0
  457. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs.map +1 -0
  458. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.d.mts +7 -0
  459. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.d.mts.map +1 -0
  460. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.d.ts +7 -0
  461. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.d.ts.map +1 -0
  462. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.js +11 -0
  463. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.js.map +1 -0
  464. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.mjs +8 -0
  465. package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.mjs.map +1 -0
  466. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +114 -0
  467. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts.map +1 -0
  468. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts +114 -0
  469. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts.map +1 -0
  470. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +553 -0
  471. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js.map +1 -0
  472. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +549 -0
  473. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs.map +1 -0
  474. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +114 -0
  475. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts.map +1 -0
  476. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +114 -0
  477. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +1 -0
  478. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +553 -0
  479. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +1 -0
  480. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +549 -0
  481. package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +1 -0
  482. package/packages/daemon/node_modules/@anthropic-ai/sdk/package.json +185 -0
  483. package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.d.mts +2 -0
  484. package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.d.mts.map +1 -0
  485. package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.d.ts +2 -0
  486. package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.d.ts.map +1 -0
  487. package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.js +6 -0
  488. package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.js.map +1 -0
  489. package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.mjs +2 -0
  490. package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.mjs.map +1 -0
  491. package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.d.mts +2 -0
  492. package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.d.mts.map +1 -0
  493. package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.d.ts +2 -0
  494. package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.d.ts.map +1 -0
  495. package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.js +6 -0
  496. package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.js.map +1 -0
  497. package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.mjs +2 -0
  498. package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.mjs.map +1 -0
  499. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +61 -0
  500. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts.map +1 -0
  501. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +61 -0
  502. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +1 -0
  503. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +25 -0
  504. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +1 -0
  505. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +20 -0
  506. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +1 -0
  507. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +151 -0
  508. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts.map +1 -0
  509. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts +151 -0
  510. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts.map +1 -0
  511. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.js +122 -0
  512. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.js.map +1 -0
  513. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +118 -0
  514. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs.map +1 -0
  515. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +5 -0
  516. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts.map +1 -0
  517. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +5 -0
  518. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +1 -0
  519. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.js +13 -0
  520. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +1 -0
  521. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +6 -0
  522. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +1 -0
  523. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +343 -0
  524. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts.map +1 -0
  525. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts +343 -0
  526. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts.map +1 -0
  527. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +204 -0
  528. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js.map +1 -0
  529. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +200 -0
  530. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs.map +1 -0
  531. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +3 -0
  532. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts.map +1 -0
  533. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts +3 -0
  534. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts.map +1 -0
  535. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +9 -0
  536. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js.map +1 -0
  537. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +4 -0
  538. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs.map +1 -0
  539. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +1561 -0
  540. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts.map +1 -0
  541. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts +1561 -0
  542. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts.map +1 -0
  543. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +86 -0
  544. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js.map +1 -0
  545. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +81 -0
  546. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs.map +1 -0
  547. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts +2 -0
  548. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts.map +1 -0
  549. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts +2 -0
  550. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts.map +1 -0
  551. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +6 -0
  552. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.js.map +1 -0
  553. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +3 -0
  554. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs.map +1 -0
  555. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +74 -0
  556. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts.map +1 -0
  557. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts +74 -0
  558. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts.map +1 -0
  559. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.js +60 -0
  560. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.js.map +1 -0
  561. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +56 -0
  562. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs.map +1 -0
  563. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.d.mts +2 -0
  564. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.d.mts.map +1 -0
  565. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.d.ts +2 -0
  566. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.d.ts.map +1 -0
  567. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.js +6 -0
  568. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.js.map +1 -0
  569. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.mjs +3 -0
  570. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.mjs.map +1 -0
  571. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +183 -0
  572. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.d.mts.map +1 -0
  573. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +183 -0
  574. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +1 -0
  575. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.js +23 -0
  576. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.js.map +1 -0
  577. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.mjs +19 -0
  578. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +1 -0
  579. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.d.mts +6 -0
  580. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.d.mts.map +1 -0
  581. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.d.ts +6 -0
  582. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +1 -0
  583. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.js +15 -0
  584. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.js.map +1 -0
  585. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.mjs +7 -0
  586. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +1 -0
  587. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +304 -0
  588. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts.map +1 -0
  589. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts +304 -0
  590. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts.map +1 -0
  591. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +153 -0
  592. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.js.map +1 -0
  593. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +149 -0
  594. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs.map +1 -0
  595. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +3 -0
  596. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts.map +1 -0
  597. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts +3 -0
  598. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts.map +1 -0
  599. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.js +9 -0
  600. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.js.map +1 -0
  601. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +4 -0
  602. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs.map +1 -0
  603. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +1264 -0
  604. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts.map +1 -0
  605. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts +1264 -0
  606. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts.map +1 -0
  607. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +72 -0
  608. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.js.map +1 -0
  609. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +67 -0
  610. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs.map +1 -0
  611. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.d.mts +2 -0
  612. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.d.mts.map +1 -0
  613. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +2 -0
  614. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +1 -0
  615. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.js +6 -0
  616. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.js.map +1 -0
  617. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.mjs +3 -0
  618. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +1 -0
  619. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.d.mts +59 -0
  620. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.d.mts.map +1 -0
  621. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.d.ts +59 -0
  622. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.d.ts.map +1 -0
  623. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.js +45 -0
  624. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.js.map +1 -0
  625. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.mjs +41 -0
  626. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.mjs.map +1 -0
  627. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.d.mts +42 -0
  628. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.d.mts.map +1 -0
  629. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.d.ts +42 -0
  630. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.d.ts.map +1 -0
  631. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.js +4 -0
  632. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.js.map +1 -0
  633. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.mjs +3 -0
  634. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.mjs.map +1 -0
  635. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts +2 -0
  636. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts.map +1 -0
  637. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +2 -0
  638. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +1 -0
  639. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.js +4 -0
  640. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +1 -0
  641. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +3 -0
  642. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +1 -0
  643. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.d.mts +2 -0
  644. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.d.mts.map +1 -0
  645. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.d.ts +2 -0
  646. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.d.ts.map +1 -0
  647. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.js +5 -0
  648. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.js.map +1 -0
  649. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.mjs +2 -0
  650. package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.mjs.map +1 -0
  651. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/README.md +3 -0
  652. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +264 -0
  653. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/api-promise.ts +2 -0
  654. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/client.ts +1070 -0
  655. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/README.md +3 -0
  656. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +101 -0
  657. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/error.ts +133 -0
  658. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +201 -0
  659. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/resource.ts +11 -0
  660. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +331 -0
  661. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/uploads.ts +2 -0
  662. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/error.ts +2 -0
  663. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/index.ts +23 -0
  664. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/README.md +3 -0
  665. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +93 -0
  666. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/constants.ts +12 -0
  667. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/decoders/jsonl.ts +48 -0
  668. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/decoders/line.ts +135 -0
  669. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +196 -0
  670. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +33 -0
  671. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +99 -0
  672. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +84 -0
  673. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +39 -0
  674. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/shim-types.d.ts +28 -0
  675. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +107 -0
  676. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/stream-utils.ts +32 -0
  677. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +159 -0
  678. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/types.ts +92 -0
  679. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +193 -0
  680. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +40 -0
  681. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +32 -0
  682. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +18 -0
  683. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +127 -0
  684. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/path.ts +65 -0
  685. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/sleep.ts +3 -0
  686. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +17 -0
  687. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +102 -0
  688. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +8 -0
  689. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/lib/.keep +4 -0
  690. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +683 -0
  691. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +684 -0
  692. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/pagination.ts +2 -0
  693. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resource.ts +2 -0
  694. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +380 -0
  695. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +258 -0
  696. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +148 -0
  697. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +502 -0
  698. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +135 -0
  699. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +2249 -0
  700. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +3 -0
  701. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +118 -0
  702. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +3 -0
  703. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +231 -0
  704. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/index.ts +121 -0
  705. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +396 -0
  706. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +110 -0
  707. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +1783 -0
  708. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +3 -0
  709. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/models.ts +103 -0
  710. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +72 -0
  711. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +3 -0
  712. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources.ts +1 -0
  713. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/streaming.ts +2 -0
  714. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/tsconfig.json +11 -0
  715. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/uploads.ts +2 -0
  716. package/packages/daemon/node_modules/@anthropic-ai/sdk/src/version.ts +1 -0
  717. package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.d.mts +2 -0
  718. package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.d.mts.map +1 -0
  719. package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.d.ts +2 -0
  720. package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +1 -0
  721. package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.js +6 -0
  722. package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.js.map +1 -0
  723. package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.mjs +2 -0
  724. package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.mjs.map +1 -0
  725. package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.d.mts +2 -0
  726. package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.d.mts.map +1 -0
  727. package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.d.ts +2 -0
  728. package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +1 -0
  729. package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.js +6 -0
  730. package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.js.map +1 -0
  731. package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.mjs +2 -0
  732. package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.mjs.map +1 -0
  733. package/packages/daemon/node_modules/@anthropic-ai/sdk/version.d.mts +2 -0
  734. package/packages/daemon/node_modules/@anthropic-ai/sdk/version.d.mts.map +1 -0
  735. package/packages/daemon/node_modules/@anthropic-ai/sdk/version.d.ts +2 -0
  736. package/packages/daemon/node_modules/@anthropic-ai/sdk/version.d.ts.map +1 -0
  737. package/packages/daemon/node_modules/@anthropic-ai/sdk/version.js +5 -0
  738. package/packages/daemon/node_modules/@anthropic-ai/sdk/version.js.map +1 -0
  739. package/packages/daemon/node_modules/@anthropic-ai/sdk/version.mjs +2 -0
  740. package/packages/daemon/node_modules/@anthropic-ai/sdk/version.mjs.map +1 -0
  741. package/packages/daemon/node_modules/zod/LICENSE +21 -0
  742. package/packages/daemon/node_modules/zod/README.md +208 -0
  743. package/packages/daemon/node_modules/zod/index.cjs +33 -0
  744. package/packages/daemon/node_modules/zod/index.d.cts +4 -0
  745. package/packages/daemon/node_modules/zod/index.d.ts +4 -0
  746. package/packages/daemon/node_modules/zod/index.js +4 -0
  747. package/packages/daemon/node_modules/zod/package.json +118 -0
  748. package/packages/daemon/node_modules/zod/src/index.ts +4 -0
  749. package/packages/daemon/node_modules/zod/src/v3/ZodError.ts +330 -0
  750. package/packages/daemon/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  751. package/packages/daemon/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  752. package/packages/daemon/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  753. package/packages/daemon/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  754. package/packages/daemon/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  755. package/packages/daemon/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  756. package/packages/daemon/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  757. package/packages/daemon/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  758. package/packages/daemon/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  759. package/packages/daemon/node_modules/zod/src/v3/errors.ts +13 -0
  760. package/packages/daemon/node_modules/zod/src/v3/external.ts +6 -0
  761. package/packages/daemon/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  762. package/packages/daemon/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  763. package/packages/daemon/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  764. package/packages/daemon/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  765. package/packages/daemon/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  766. package/packages/daemon/node_modules/zod/src/v3/helpers/util.ts +224 -0
  767. package/packages/daemon/node_modules/zod/src/v3/index.ts +4 -0
  768. package/packages/daemon/node_modules/zod/src/v3/locales/en.ts +124 -0
  769. package/packages/daemon/node_modules/zod/src/v3/standard-schema.ts +113 -0
  770. package/packages/daemon/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  771. package/packages/daemon/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  772. package/packages/daemon/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  773. package/packages/daemon/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  774. package/packages/daemon/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  775. package/packages/daemon/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  776. package/packages/daemon/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  777. package/packages/daemon/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  778. package/packages/daemon/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  779. package/packages/daemon/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  780. package/packages/daemon/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  781. package/packages/daemon/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
  782. package/packages/daemon/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  783. package/packages/daemon/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  784. package/packages/daemon/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  785. package/packages/daemon/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  786. package/packages/daemon/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  787. package/packages/daemon/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  788. package/packages/daemon/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  789. package/packages/daemon/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  790. package/packages/daemon/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  791. package/packages/daemon/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  792. package/packages/daemon/node_modules/zod/src/v3/tests/function.test.ts +257 -0
  793. package/packages/daemon/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  794. package/packages/daemon/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  795. package/packages/daemon/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  796. package/packages/daemon/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  797. package/packages/daemon/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  798. package/packages/daemon/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  799. package/packages/daemon/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  800. package/packages/daemon/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  801. package/packages/daemon/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  802. package/packages/daemon/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
  803. package/packages/daemon/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  804. package/packages/daemon/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  805. package/packages/daemon/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  806. package/packages/daemon/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  807. package/packages/daemon/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  808. package/packages/daemon/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  809. package/packages/daemon/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  810. package/packages/daemon/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  811. package/packages/daemon/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  812. package/packages/daemon/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  813. package/packages/daemon/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  814. package/packages/daemon/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  815. package/packages/daemon/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  816. package/packages/daemon/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  817. package/packages/daemon/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  818. package/packages/daemon/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  819. package/packages/daemon/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  820. package/packages/daemon/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  821. package/packages/daemon/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  822. package/packages/daemon/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  823. package/packages/daemon/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  824. package/packages/daemon/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  825. package/packages/daemon/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  826. package/packages/daemon/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  827. package/packages/daemon/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  828. package/packages/daemon/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  829. package/packages/daemon/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  830. package/packages/daemon/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  831. package/packages/daemon/node_modules/zod/src/v3/types.ts +5136 -0
  832. package/packages/daemon/node_modules/zod/src/v4/classic/checks.ts +30 -0
  833. package/packages/daemon/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  834. package/packages/daemon/node_modules/zod/src/v4/classic/compat.ts +66 -0
  835. package/packages/daemon/node_modules/zod/src/v4/classic/errors.ts +75 -0
  836. package/packages/daemon/node_modules/zod/src/v4/classic/external.ts +50 -0
  837. package/packages/daemon/node_modules/zod/src/v4/classic/index.ts +5 -0
  838. package/packages/daemon/node_modules/zod/src/v4/classic/iso.ts +90 -0
  839. package/packages/daemon/node_modules/zod/src/v4/classic/parse.ts +33 -0
  840. package/packages/daemon/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
  841. package/packages/daemon/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  842. package/packages/daemon/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  843. package/packages/daemon/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
  844. package/packages/daemon/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  845. package/packages/daemon/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  846. package/packages/daemon/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  847. package/packages/daemon/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  848. package/packages/daemon/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
  849. package/packages/daemon/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
  850. package/packages/daemon/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  851. package/packages/daemon/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  852. package/packages/daemon/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
  853. package/packages/daemon/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  854. package/packages/daemon/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
  855. package/packages/daemon/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
  856. package/packages/daemon/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
  857. package/packages/daemon/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  858. package/packages/daemon/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
  859. package/packages/daemon/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  860. package/packages/daemon/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
  861. package/packages/daemon/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  862. package/packages/daemon/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
  863. package/packages/daemon/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
  864. package/packages/daemon/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
  865. package/packages/daemon/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  866. package/packages/daemon/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
  867. package/packages/daemon/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
  868. package/packages/daemon/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
  869. package/packages/daemon/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
  870. package/packages/daemon/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  871. package/packages/daemon/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
  872. package/packages/daemon/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
  873. package/packages/daemon/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  874. package/packages/daemon/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  875. package/packages/daemon/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
  876. package/packages/daemon/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  877. package/packages/daemon/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
  878. package/packages/daemon/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
  879. package/packages/daemon/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
  880. package/packages/daemon/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
  881. package/packages/daemon/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
  882. package/packages/daemon/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
  883. package/packages/daemon/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
  884. package/packages/daemon/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
  885. package/packages/daemon/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  886. package/packages/daemon/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  887. package/packages/daemon/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  888. package/packages/daemon/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  889. package/packages/daemon/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
  890. package/packages/daemon/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
  891. package/packages/daemon/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
  892. package/packages/daemon/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
  893. package/packages/daemon/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
  894. package/packages/daemon/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
  895. package/packages/daemon/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
  896. package/packages/daemon/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
  897. package/packages/daemon/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
  898. package/packages/daemon/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
  899. package/packages/daemon/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
  900. package/packages/daemon/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
  901. package/packages/daemon/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
  902. package/packages/daemon/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
  903. package/packages/daemon/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  904. package/packages/daemon/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  905. package/packages/daemon/node_modules/zod/src/v4/core/api.ts +1594 -0
  906. package/packages/daemon/node_modules/zod/src/v4/core/checks.ts +1283 -0
  907. package/packages/daemon/node_modules/zod/src/v4/core/config.ts +15 -0
  908. package/packages/daemon/node_modules/zod/src/v4/core/core.ts +134 -0
  909. package/packages/daemon/node_modules/zod/src/v4/core/doc.ts +44 -0
  910. package/packages/daemon/node_modules/zod/src/v4/core/errors.ts +424 -0
  911. package/packages/daemon/node_modules/zod/src/v4/core/function.ts +176 -0
  912. package/packages/daemon/node_modules/zod/src/v4/core/index.ts +15 -0
  913. package/packages/daemon/node_modules/zod/src/v4/core/json-schema.ts +143 -0
  914. package/packages/daemon/node_modules/zod/src/v4/core/parse.ts +94 -0
  915. package/packages/daemon/node_modules/zod/src/v4/core/regexes.ts +135 -0
  916. package/packages/daemon/node_modules/zod/src/v4/core/registries.ts +96 -0
  917. package/packages/daemon/node_modules/zod/src/v4/core/schemas.ts +3842 -0
  918. package/packages/daemon/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
  919. package/packages/daemon/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  920. package/packages/daemon/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  921. package/packages/daemon/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  922. package/packages/daemon/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  923. package/packages/daemon/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  924. package/packages/daemon/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
  925. package/packages/daemon/node_modules/zod/src/v4/core/util.ts +775 -0
  926. package/packages/daemon/node_modules/zod/src/v4/core/versions.ts +5 -0
  927. package/packages/daemon/node_modules/zod/src/v4/core/zsf.ts +323 -0
  928. package/packages/daemon/node_modules/zod/src/v4/index.ts +4 -0
  929. package/packages/daemon/node_modules/zod/src/v4/locales/ar.ts +125 -0
  930. package/packages/daemon/node_modules/zod/src/v4/locales/az.ts +121 -0
  931. package/packages/daemon/node_modules/zod/src/v4/locales/be.ts +184 -0
  932. package/packages/daemon/node_modules/zod/src/v4/locales/ca.ts +127 -0
  933. package/packages/daemon/node_modules/zod/src/v4/locales/cs.ts +142 -0
  934. package/packages/daemon/node_modules/zod/src/v4/locales/de.ts +124 -0
  935. package/packages/daemon/node_modules/zod/src/v4/locales/en.ts +127 -0
  936. package/packages/daemon/node_modules/zod/src/v4/locales/eo.ts +125 -0
  937. package/packages/daemon/node_modules/zod/src/v4/locales/es.ts +125 -0
  938. package/packages/daemon/node_modules/zod/src/v4/locales/fa.ts +134 -0
  939. package/packages/daemon/node_modules/zod/src/v4/locales/fi.ts +131 -0
  940. package/packages/daemon/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
  941. package/packages/daemon/node_modules/zod/src/v4/locales/fr.ts +124 -0
  942. package/packages/daemon/node_modules/zod/src/v4/locales/he.ts +125 -0
  943. package/packages/daemon/node_modules/zod/src/v4/locales/hu.ts +126 -0
  944. package/packages/daemon/node_modules/zod/src/v4/locales/id.ts +125 -0
  945. package/packages/daemon/node_modules/zod/src/v4/locales/index.ts +39 -0
  946. package/packages/daemon/node_modules/zod/src/v4/locales/it.ts +125 -0
  947. package/packages/daemon/node_modules/zod/src/v4/locales/ja.ts +122 -0
  948. package/packages/daemon/node_modules/zod/src/v4/locales/kh.ts +126 -0
  949. package/packages/daemon/node_modules/zod/src/v4/locales/ko.ts +131 -0
  950. package/packages/daemon/node_modules/zod/src/v4/locales/mk.ts +127 -0
  951. package/packages/daemon/node_modules/zod/src/v4/locales/ms.ts +124 -0
  952. package/packages/daemon/node_modules/zod/src/v4/locales/nl.ts +126 -0
  953. package/packages/daemon/node_modules/zod/src/v4/locales/no.ts +124 -0
  954. package/packages/daemon/node_modules/zod/src/v4/locales/ota.ts +125 -0
  955. package/packages/daemon/node_modules/zod/src/v4/locales/pl.ts +126 -0
  956. package/packages/daemon/node_modules/zod/src/v4/locales/ps.ts +133 -0
  957. package/packages/daemon/node_modules/zod/src/v4/locales/pt.ts +123 -0
  958. package/packages/daemon/node_modules/zod/src/v4/locales/ru.ts +184 -0
  959. package/packages/daemon/node_modules/zod/src/v4/locales/sl.ts +126 -0
  960. package/packages/daemon/node_modules/zod/src/v4/locales/sv.ts +127 -0
  961. package/packages/daemon/node_modules/zod/src/v4/locales/ta.ts +125 -0
  962. package/packages/daemon/node_modules/zod/src/v4/locales/th.ts +126 -0
  963. package/packages/daemon/node_modules/zod/src/v4/locales/tr.ts +121 -0
  964. package/packages/daemon/node_modules/zod/src/v4/locales/ua.ts +126 -0
  965. package/packages/daemon/node_modules/zod/src/v4/locales/ur.ts +126 -0
  966. package/packages/daemon/node_modules/zod/src/v4/locales/vi.ts +125 -0
  967. package/packages/daemon/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
  968. package/packages/daemon/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
  969. package/packages/daemon/node_modules/zod/src/v4/mini/checks.ts +32 -0
  970. package/packages/daemon/node_modules/zod/src/v4/mini/coerce.ts +22 -0
  971. package/packages/daemon/node_modules/zod/src/v4/mini/external.ts +40 -0
  972. package/packages/daemon/node_modules/zod/src/v4/mini/index.ts +3 -0
  973. package/packages/daemon/node_modules/zod/src/v4/mini/iso.ts +62 -0
  974. package/packages/daemon/node_modules/zod/src/v4/mini/parse.ts +1 -0
  975. package/packages/daemon/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
  976. package/packages/daemon/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  977. package/packages/daemon/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
  978. package/packages/daemon/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  979. package/packages/daemon/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  980. package/packages/daemon/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  981. package/packages/daemon/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
  982. package/packages/daemon/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
  983. package/packages/daemon/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  984. package/packages/daemon/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
  985. package/packages/daemon/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  986. package/packages/daemon/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
  987. package/packages/daemon/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
  988. package/packages/daemon/node_modules/zod/src/v4-mini/index.ts +1 -0
  989. package/packages/daemon/node_modules/zod/v3/ZodError.cjs +138 -0
  990. package/packages/daemon/node_modules/zod/v3/ZodError.d.cts +164 -0
  991. package/packages/daemon/node_modules/zod/v3/ZodError.d.ts +164 -0
  992. package/packages/daemon/node_modules/zod/v3/ZodError.js +133 -0
  993. package/packages/daemon/node_modules/zod/v3/errors.cjs +17 -0
  994. package/packages/daemon/node_modules/zod/v3/errors.d.cts +5 -0
  995. package/packages/daemon/node_modules/zod/v3/errors.d.ts +5 -0
  996. package/packages/daemon/node_modules/zod/v3/errors.js +9 -0
  997. package/packages/daemon/node_modules/zod/v3/external.cjs +22 -0
  998. package/packages/daemon/node_modules/zod/v3/external.d.cts +6 -0
  999. package/packages/daemon/node_modules/zod/v3/external.d.ts +6 -0
  1000. package/packages/daemon/node_modules/zod/v3/external.js +6 -0
  1001. package/packages/daemon/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  1002. package/packages/daemon/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  1003. package/packages/daemon/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  1004. package/packages/daemon/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  1005. package/packages/daemon/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  1006. package/packages/daemon/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  1007. package/packages/daemon/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  1008. package/packages/daemon/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  1009. package/packages/daemon/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  1010. package/packages/daemon/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  1011. package/packages/daemon/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  1012. package/packages/daemon/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  1013. package/packages/daemon/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  1014. package/packages/daemon/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  1015. package/packages/daemon/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  1016. package/packages/daemon/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  1017. package/packages/daemon/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  1018. package/packages/daemon/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  1019. package/packages/daemon/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  1020. package/packages/daemon/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  1021. package/packages/daemon/node_modules/zod/v3/helpers/util.cjs +137 -0
  1022. package/packages/daemon/node_modules/zod/v3/helpers/util.d.cts +85 -0
  1023. package/packages/daemon/node_modules/zod/v3/helpers/util.d.ts +85 -0
  1024. package/packages/daemon/node_modules/zod/v3/helpers/util.js +133 -0
  1025. package/packages/daemon/node_modules/zod/v3/index.cjs +33 -0
  1026. package/packages/daemon/node_modules/zod/v3/index.d.cts +4 -0
  1027. package/packages/daemon/node_modules/zod/v3/index.d.ts +4 -0
  1028. package/packages/daemon/node_modules/zod/v3/index.js +4 -0
  1029. package/packages/daemon/node_modules/zod/v3/locales/en.cjs +111 -0
  1030. package/packages/daemon/node_modules/zod/v3/locales/en.d.cts +3 -0
  1031. package/packages/daemon/node_modules/zod/v3/locales/en.d.ts +3 -0
  1032. package/packages/daemon/node_modules/zod/v3/locales/en.js +109 -0
  1033. package/packages/daemon/node_modules/zod/v3/standard-schema.cjs +2 -0
  1034. package/packages/daemon/node_modules/zod/v3/standard-schema.d.cts +102 -0
  1035. package/packages/daemon/node_modules/zod/v3/standard-schema.d.ts +102 -0
  1036. package/packages/daemon/node_modules/zod/v3/standard-schema.js +1 -0
  1037. package/packages/daemon/node_modules/zod/v3/types.cjs +3775 -0
  1038. package/packages/daemon/node_modules/zod/v3/types.d.cts +1031 -0
  1039. package/packages/daemon/node_modules/zod/v3/types.d.ts +1031 -0
  1040. package/packages/daemon/node_modules/zod/v3/types.js +3693 -0
  1041. package/packages/daemon/node_modules/zod/v4/classic/checks.cjs +32 -0
  1042. package/packages/daemon/node_modules/zod/v4/classic/checks.d.cts +1 -0
  1043. package/packages/daemon/node_modules/zod/v4/classic/checks.d.ts +1 -0
  1044. package/packages/daemon/node_modules/zod/v4/classic/checks.js +1 -0
  1045. package/packages/daemon/node_modules/zod/v4/classic/coerce.cjs +47 -0
  1046. package/packages/daemon/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  1047. package/packages/daemon/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  1048. package/packages/daemon/node_modules/zod/v4/classic/coerce.js +17 -0
  1049. package/packages/daemon/node_modules/zod/v4/classic/compat.cjs +57 -0
  1050. package/packages/daemon/node_modules/zod/v4/classic/compat.d.cts +46 -0
  1051. package/packages/daemon/node_modules/zod/v4/classic/compat.d.ts +46 -0
  1052. package/packages/daemon/node_modules/zod/v4/classic/compat.js +27 -0
  1053. package/packages/daemon/node_modules/zod/v4/classic/errors.cjs +67 -0
  1054. package/packages/daemon/node_modules/zod/v4/classic/errors.d.cts +30 -0
  1055. package/packages/daemon/node_modules/zod/v4/classic/errors.d.ts +30 -0
  1056. package/packages/daemon/node_modules/zod/v4/classic/errors.js +41 -0
  1057. package/packages/daemon/node_modules/zod/v4/classic/external.cjs +70 -0
  1058. package/packages/daemon/node_modules/zod/v4/classic/external.d.cts +13 -0
  1059. package/packages/daemon/node_modules/zod/v4/classic/external.d.ts +13 -0
  1060. package/packages/daemon/node_modules/zod/v4/classic/external.js +18 -0
  1061. package/packages/daemon/node_modules/zod/v4/classic/index.cjs +33 -0
  1062. package/packages/daemon/node_modules/zod/v4/classic/index.d.cts +4 -0
  1063. package/packages/daemon/node_modules/zod/v4/classic/index.d.ts +4 -0
  1064. package/packages/daemon/node_modules/zod/v4/classic/index.js +4 -0
  1065. package/packages/daemon/node_modules/zod/v4/classic/iso.cjs +60 -0
  1066. package/packages/daemon/node_modules/zod/v4/classic/iso.d.cts +22 -0
  1067. package/packages/daemon/node_modules/zod/v4/classic/iso.d.ts +22 -0
  1068. package/packages/daemon/node_modules/zod/v4/classic/iso.js +30 -0
  1069. package/packages/daemon/node_modules/zod/v4/classic/parse.cjs +32 -0
  1070. package/packages/daemon/node_modules/zod/v4/classic/parse.d.cts +23 -0
  1071. package/packages/daemon/node_modules/zod/v4/classic/parse.d.ts +23 -0
  1072. package/packages/daemon/node_modules/zod/v4/classic/parse.js +6 -0
  1073. package/packages/daemon/node_modules/zod/v4/classic/schemas.cjs +1109 -0
  1074. package/packages/daemon/node_modules/zod/v4/classic/schemas.d.cts +630 -0
  1075. package/packages/daemon/node_modules/zod/v4/classic/schemas.d.ts +630 -0
  1076. package/packages/daemon/node_modules/zod/v4/classic/schemas.js +1006 -0
  1077. package/packages/daemon/node_modules/zod/v4/core/api.cjs +1039 -0
  1078. package/packages/daemon/node_modules/zod/v4/core/api.d.cts +284 -0
  1079. package/packages/daemon/node_modules/zod/v4/core/api.d.ts +284 -0
  1080. package/packages/daemon/node_modules/zod/v4/core/api.js +906 -0
  1081. package/packages/daemon/node_modules/zod/v4/core/checks.cjs +591 -0
  1082. package/packages/daemon/node_modules/zod/v4/core/checks.d.cts +278 -0
  1083. package/packages/daemon/node_modules/zod/v4/core/checks.d.ts +278 -0
  1084. package/packages/daemon/node_modules/zod/v4/core/checks.js +565 -0
  1085. package/packages/daemon/node_modules/zod/v4/core/core.cjs +67 -0
  1086. package/packages/daemon/node_modules/zod/v4/core/core.d.cts +49 -0
  1087. package/packages/daemon/node_modules/zod/v4/core/core.d.ts +49 -0
  1088. package/packages/daemon/node_modules/zod/v4/core/core.js +61 -0
  1089. package/packages/daemon/node_modules/zod/v4/core/doc.cjs +39 -0
  1090. package/packages/daemon/node_modules/zod/v4/core/doc.d.cts +14 -0
  1091. package/packages/daemon/node_modules/zod/v4/core/doc.d.ts +14 -0
  1092. package/packages/daemon/node_modules/zod/v4/core/doc.js +35 -0
  1093. package/packages/daemon/node_modules/zod/v4/core/errors.cjs +226 -0
  1094. package/packages/daemon/node_modules/zod/v4/core/errors.d.cts +208 -0
  1095. package/packages/daemon/node_modules/zod/v4/core/errors.d.ts +208 -0
  1096. package/packages/daemon/node_modules/zod/v4/core/errors.js +195 -0
  1097. package/packages/daemon/node_modules/zod/v4/core/function.cjs +102 -0
  1098. package/packages/daemon/node_modules/zod/v4/core/function.d.cts +52 -0
  1099. package/packages/daemon/node_modules/zod/v4/core/function.d.ts +52 -0
  1100. package/packages/daemon/node_modules/zod/v4/core/function.js +75 -0
  1101. package/packages/daemon/node_modules/zod/v4/core/index.cjs +44 -0
  1102. package/packages/daemon/node_modules/zod/v4/core/index.d.cts +15 -0
  1103. package/packages/daemon/node_modules/zod/v4/core/index.d.ts +15 -0
  1104. package/packages/daemon/node_modules/zod/v4/core/index.js +15 -0
  1105. package/packages/daemon/node_modules/zod/v4/core/json-schema.cjs +2 -0
  1106. package/packages/daemon/node_modules/zod/v4/core/json-schema.d.cts +87 -0
  1107. package/packages/daemon/node_modules/zod/v4/core/json-schema.d.ts +87 -0
  1108. package/packages/daemon/node_modules/zod/v4/core/json-schema.js +1 -0
  1109. package/packages/daemon/node_modules/zod/v4/core/parse.cjs +87 -0
  1110. package/packages/daemon/node_modules/zod/v4/core/parse.d.cts +25 -0
  1111. package/packages/daemon/node_modules/zod/v4/core/parse.d.ts +25 -0
  1112. package/packages/daemon/node_modules/zod/v4/core/parse.js +57 -0
  1113. package/packages/daemon/node_modules/zod/v4/core/regexes.cjs +103 -0
  1114. package/packages/daemon/node_modules/zod/v4/core/regexes.d.cts +62 -0
  1115. package/packages/daemon/node_modules/zod/v4/core/regexes.d.ts +62 -0
  1116. package/packages/daemon/node_modules/zod/v4/core/regexes.js +95 -0
  1117. package/packages/daemon/node_modules/zod/v4/core/registries.cjs +56 -0
  1118. package/packages/daemon/node_modules/zod/v4/core/registries.d.cts +35 -0
  1119. package/packages/daemon/node_modules/zod/v4/core/registries.d.ts +35 -0
  1120. package/packages/daemon/node_modules/zod/v4/core/registries.js +51 -0
  1121. package/packages/daemon/node_modules/zod/v4/core/schemas.cjs +1748 -0
  1122. package/packages/daemon/node_modules/zod/v4/core/schemas.d.cts +1041 -0
  1123. package/packages/daemon/node_modules/zod/v4/core/schemas.d.ts +1041 -0
  1124. package/packages/daemon/node_modules/zod/v4/core/schemas.js +1717 -0
  1125. package/packages/daemon/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  1126. package/packages/daemon/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
  1127. package/packages/daemon/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
  1128. package/packages/daemon/node_modules/zod/v4/core/standard-schema.js +1 -0
  1129. package/packages/daemon/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
  1130. package/packages/daemon/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
  1131. package/packages/daemon/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
  1132. package/packages/daemon/node_modules/zod/v4/core/to-json-schema.js +849 -0
  1133. package/packages/daemon/node_modules/zod/v4/core/util.cjs +539 -0
  1134. package/packages/daemon/node_modules/zod/v4/core/util.d.cts +183 -0
  1135. package/packages/daemon/node_modules/zod/v4/core/util.d.ts +183 -0
  1136. package/packages/daemon/node_modules/zod/v4/core/util.js +493 -0
  1137. package/packages/daemon/node_modules/zod/v4/core/versions.cjs +8 -0
  1138. package/packages/daemon/node_modules/zod/v4/core/versions.d.cts +5 -0
  1139. package/packages/daemon/node_modules/zod/v4/core/versions.d.ts +5 -0
  1140. package/packages/daemon/node_modules/zod/v4/core/versions.js +5 -0
  1141. package/packages/daemon/node_modules/zod/v4/index.cjs +22 -0
  1142. package/packages/daemon/node_modules/zod/v4/index.d.cts +3 -0
  1143. package/packages/daemon/node_modules/zod/v4/index.d.ts +3 -0
  1144. package/packages/daemon/node_modules/zod/v4/index.js +3 -0
  1145. package/packages/daemon/node_modules/zod/v4/locales/ar.cjs +142 -0
  1146. package/packages/daemon/node_modules/zod/v4/locales/ar.d.cts +4 -0
  1147. package/packages/daemon/node_modules/zod/v4/locales/ar.d.ts +4 -0
  1148. package/packages/daemon/node_modules/zod/v4/locales/ar.js +116 -0
  1149. package/packages/daemon/node_modules/zod/v4/locales/az.cjs +141 -0
  1150. package/packages/daemon/node_modules/zod/v4/locales/az.d.cts +4 -0
  1151. package/packages/daemon/node_modules/zod/v4/locales/az.d.ts +4 -0
  1152. package/packages/daemon/node_modules/zod/v4/locales/az.js +115 -0
  1153. package/packages/daemon/node_modules/zod/v4/locales/be.cjs +190 -0
  1154. package/packages/daemon/node_modules/zod/v4/locales/be.d.cts +4 -0
  1155. package/packages/daemon/node_modules/zod/v4/locales/be.d.ts +4 -0
  1156. package/packages/daemon/node_modules/zod/v4/locales/be.js +164 -0
  1157. package/packages/daemon/node_modules/zod/v4/locales/ca.cjs +144 -0
  1158. package/packages/daemon/node_modules/zod/v4/locales/ca.d.cts +4 -0
  1159. package/packages/daemon/node_modules/zod/v4/locales/ca.d.ts +4 -0
  1160. package/packages/daemon/node_modules/zod/v4/locales/ca.js +118 -0
  1161. package/packages/daemon/node_modules/zod/v4/locales/cs.cjs +161 -0
  1162. package/packages/daemon/node_modules/zod/v4/locales/cs.d.cts +4 -0
  1163. package/packages/daemon/node_modules/zod/v4/locales/cs.d.ts +4 -0
  1164. package/packages/daemon/node_modules/zod/v4/locales/cs.js +135 -0
  1165. package/packages/daemon/node_modules/zod/v4/locales/de.cjs +142 -0
  1166. package/packages/daemon/node_modules/zod/v4/locales/de.d.cts +4 -0
  1167. package/packages/daemon/node_modules/zod/v4/locales/de.d.ts +4 -0
  1168. package/packages/daemon/node_modules/zod/v4/locales/de.js +116 -0
  1169. package/packages/daemon/node_modules/zod/v4/locales/en.cjs +145 -0
  1170. package/packages/daemon/node_modules/zod/v4/locales/en.d.cts +5 -0
  1171. package/packages/daemon/node_modules/zod/v4/locales/en.d.ts +5 -0
  1172. package/packages/daemon/node_modules/zod/v4/locales/en.js +117 -0
  1173. package/packages/daemon/node_modules/zod/v4/locales/eo.cjs +144 -0
  1174. package/packages/daemon/node_modules/zod/v4/locales/eo.d.cts +5 -0
  1175. package/packages/daemon/node_modules/zod/v4/locales/eo.d.ts +5 -0
  1176. package/packages/daemon/node_modules/zod/v4/locales/eo.js +116 -0
  1177. package/packages/daemon/node_modules/zod/v4/locales/es.cjs +143 -0
  1178. package/packages/daemon/node_modules/zod/v4/locales/es.d.cts +4 -0
  1179. package/packages/daemon/node_modules/zod/v4/locales/es.d.ts +4 -0
  1180. package/packages/daemon/node_modules/zod/v4/locales/es.js +117 -0
  1181. package/packages/daemon/node_modules/zod/v4/locales/fa.cjs +148 -0
  1182. package/packages/daemon/node_modules/zod/v4/locales/fa.d.cts +4 -0
  1183. package/packages/daemon/node_modules/zod/v4/locales/fa.d.ts +4 -0
  1184. package/packages/daemon/node_modules/zod/v4/locales/fa.js +122 -0
  1185. package/packages/daemon/node_modules/zod/v4/locales/fi.cjs +148 -0
  1186. package/packages/daemon/node_modules/zod/v4/locales/fi.d.cts +4 -0
  1187. package/packages/daemon/node_modules/zod/v4/locales/fi.d.ts +4 -0
  1188. package/packages/daemon/node_modules/zod/v4/locales/fi.js +122 -0
  1189. package/packages/daemon/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
  1190. package/packages/daemon/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
  1191. package/packages/daemon/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  1192. package/packages/daemon/node_modules/zod/v4/locales/fr-CA.js +117 -0
  1193. package/packages/daemon/node_modules/zod/v4/locales/fr.cjs +142 -0
  1194. package/packages/daemon/node_modules/zod/v4/locales/fr.d.cts +4 -0
  1195. package/packages/daemon/node_modules/zod/v4/locales/fr.d.ts +4 -0
  1196. package/packages/daemon/node_modules/zod/v4/locales/fr.js +116 -0
  1197. package/packages/daemon/node_modules/zod/v4/locales/he.cjs +143 -0
  1198. package/packages/daemon/node_modules/zod/v4/locales/he.d.cts +4 -0
  1199. package/packages/daemon/node_modules/zod/v4/locales/he.d.ts +4 -0
  1200. package/packages/daemon/node_modules/zod/v4/locales/he.js +117 -0
  1201. package/packages/daemon/node_modules/zod/v4/locales/hu.cjs +143 -0
  1202. package/packages/daemon/node_modules/zod/v4/locales/hu.d.cts +4 -0
  1203. package/packages/daemon/node_modules/zod/v4/locales/hu.d.ts +4 -0
  1204. package/packages/daemon/node_modules/zod/v4/locales/hu.js +117 -0
  1205. package/packages/daemon/node_modules/zod/v4/locales/id.cjs +142 -0
  1206. package/packages/daemon/node_modules/zod/v4/locales/id.d.cts +4 -0
  1207. package/packages/daemon/node_modules/zod/v4/locales/id.d.ts +4 -0
  1208. package/packages/daemon/node_modules/zod/v4/locales/id.js +116 -0
  1209. package/packages/daemon/node_modules/zod/v4/locales/index.cjs +84 -0
  1210. package/packages/daemon/node_modules/zod/v4/locales/index.d.cts +39 -0
  1211. package/packages/daemon/node_modules/zod/v4/locales/index.d.ts +39 -0
  1212. package/packages/daemon/node_modules/zod/v4/locales/index.js +39 -0
  1213. package/packages/daemon/node_modules/zod/v4/locales/it.cjs +143 -0
  1214. package/packages/daemon/node_modules/zod/v4/locales/it.d.cts +4 -0
  1215. package/packages/daemon/node_modules/zod/v4/locales/it.d.ts +4 -0
  1216. package/packages/daemon/node_modules/zod/v4/locales/it.js +117 -0
  1217. package/packages/daemon/node_modules/zod/v4/locales/ja.cjs +141 -0
  1218. package/packages/daemon/node_modules/zod/v4/locales/ja.d.cts +4 -0
  1219. package/packages/daemon/node_modules/zod/v4/locales/ja.d.ts +4 -0
  1220. package/packages/daemon/node_modules/zod/v4/locales/ja.js +115 -0
  1221. package/packages/daemon/node_modules/zod/v4/locales/kh.cjs +143 -0
  1222. package/packages/daemon/node_modules/zod/v4/locales/kh.d.cts +4 -0
  1223. package/packages/daemon/node_modules/zod/v4/locales/kh.d.ts +4 -0
  1224. package/packages/daemon/node_modules/zod/v4/locales/kh.js +117 -0
  1225. package/packages/daemon/node_modules/zod/v4/locales/ko.cjs +147 -0
  1226. package/packages/daemon/node_modules/zod/v4/locales/ko.d.cts +4 -0
  1227. package/packages/daemon/node_modules/zod/v4/locales/ko.d.ts +4 -0
  1228. package/packages/daemon/node_modules/zod/v4/locales/ko.js +121 -0
  1229. package/packages/daemon/node_modules/zod/v4/locales/mk.cjs +144 -0
  1230. package/packages/daemon/node_modules/zod/v4/locales/mk.d.cts +4 -0
  1231. package/packages/daemon/node_modules/zod/v4/locales/mk.d.ts +4 -0
  1232. package/packages/daemon/node_modules/zod/v4/locales/mk.js +118 -0
  1233. package/packages/daemon/node_modules/zod/v4/locales/ms.cjs +142 -0
  1234. package/packages/daemon/node_modules/zod/v4/locales/ms.d.cts +4 -0
  1235. package/packages/daemon/node_modules/zod/v4/locales/ms.d.ts +4 -0
  1236. package/packages/daemon/node_modules/zod/v4/locales/ms.js +116 -0
  1237. package/packages/daemon/node_modules/zod/v4/locales/nl.cjs +143 -0
  1238. package/packages/daemon/node_modules/zod/v4/locales/nl.d.cts +4 -0
  1239. package/packages/daemon/node_modules/zod/v4/locales/nl.d.ts +4 -0
  1240. package/packages/daemon/node_modules/zod/v4/locales/nl.js +117 -0
  1241. package/packages/daemon/node_modules/zod/v4/locales/no.cjs +142 -0
  1242. package/packages/daemon/node_modules/zod/v4/locales/no.d.cts +4 -0
  1243. package/packages/daemon/node_modules/zod/v4/locales/no.d.ts +4 -0
  1244. package/packages/daemon/node_modules/zod/v4/locales/no.js +116 -0
  1245. package/packages/daemon/node_modules/zod/v4/locales/ota.cjs +143 -0
  1246. package/packages/daemon/node_modules/zod/v4/locales/ota.d.cts +4 -0
  1247. package/packages/daemon/node_modules/zod/v4/locales/ota.d.ts +4 -0
  1248. package/packages/daemon/node_modules/zod/v4/locales/ota.js +117 -0
  1249. package/packages/daemon/node_modules/zod/v4/locales/pl.cjs +143 -0
  1250. package/packages/daemon/node_modules/zod/v4/locales/pl.d.cts +4 -0
  1251. package/packages/daemon/node_modules/zod/v4/locales/pl.d.ts +4 -0
  1252. package/packages/daemon/node_modules/zod/v4/locales/pl.js +117 -0
  1253. package/packages/daemon/node_modules/zod/v4/locales/ps.cjs +148 -0
  1254. package/packages/daemon/node_modules/zod/v4/locales/ps.d.cts +4 -0
  1255. package/packages/daemon/node_modules/zod/v4/locales/ps.d.ts +4 -0
  1256. package/packages/daemon/node_modules/zod/v4/locales/ps.js +122 -0
  1257. package/packages/daemon/node_modules/zod/v4/locales/pt.cjs +142 -0
  1258. package/packages/daemon/node_modules/zod/v4/locales/pt.d.cts +4 -0
  1259. package/packages/daemon/node_modules/zod/v4/locales/pt.d.ts +4 -0
  1260. package/packages/daemon/node_modules/zod/v4/locales/pt.js +116 -0
  1261. package/packages/daemon/node_modules/zod/v4/locales/ru.cjs +190 -0
  1262. package/packages/daemon/node_modules/zod/v4/locales/ru.d.cts +4 -0
  1263. package/packages/daemon/node_modules/zod/v4/locales/ru.d.ts +4 -0
  1264. package/packages/daemon/node_modules/zod/v4/locales/ru.js +164 -0
  1265. package/packages/daemon/node_modules/zod/v4/locales/sl.cjs +143 -0
  1266. package/packages/daemon/node_modules/zod/v4/locales/sl.d.cts +4 -0
  1267. package/packages/daemon/node_modules/zod/v4/locales/sl.d.ts +4 -0
  1268. package/packages/daemon/node_modules/zod/v4/locales/sl.js +117 -0
  1269. package/packages/daemon/node_modules/zod/v4/locales/sv.cjs +144 -0
  1270. package/packages/daemon/node_modules/zod/v4/locales/sv.d.cts +4 -0
  1271. package/packages/daemon/node_modules/zod/v4/locales/sv.d.ts +4 -0
  1272. package/packages/daemon/node_modules/zod/v4/locales/sv.js +118 -0
  1273. package/packages/daemon/node_modules/zod/v4/locales/ta.cjs +143 -0
  1274. package/packages/daemon/node_modules/zod/v4/locales/ta.d.cts +4 -0
  1275. package/packages/daemon/node_modules/zod/v4/locales/ta.d.ts +4 -0
  1276. package/packages/daemon/node_modules/zod/v4/locales/ta.js +117 -0
  1277. package/packages/daemon/node_modules/zod/v4/locales/th.cjs +143 -0
  1278. package/packages/daemon/node_modules/zod/v4/locales/th.d.cts +4 -0
  1279. package/packages/daemon/node_modules/zod/v4/locales/th.d.ts +4 -0
  1280. package/packages/daemon/node_modules/zod/v4/locales/th.js +117 -0
  1281. package/packages/daemon/node_modules/zod/v4/locales/tr.cjs +143 -0
  1282. package/packages/daemon/node_modules/zod/v4/locales/tr.d.cts +5 -0
  1283. package/packages/daemon/node_modules/zod/v4/locales/tr.d.ts +5 -0
  1284. package/packages/daemon/node_modules/zod/v4/locales/tr.js +115 -0
  1285. package/packages/daemon/node_modules/zod/v4/locales/ua.cjs +143 -0
  1286. package/packages/daemon/node_modules/zod/v4/locales/ua.d.cts +4 -0
  1287. package/packages/daemon/node_modules/zod/v4/locales/ua.d.ts +4 -0
  1288. package/packages/daemon/node_modules/zod/v4/locales/ua.js +117 -0
  1289. package/packages/daemon/node_modules/zod/v4/locales/ur.cjs +143 -0
  1290. package/packages/daemon/node_modules/zod/v4/locales/ur.d.cts +4 -0
  1291. package/packages/daemon/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1292. package/packages/daemon/node_modules/zod/v4/locales/ur.js +117 -0
  1293. package/packages/daemon/node_modules/zod/v4/locales/vi.cjs +142 -0
  1294. package/packages/daemon/node_modules/zod/v4/locales/vi.d.cts +4 -0
  1295. package/packages/daemon/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1296. package/packages/daemon/node_modules/zod/v4/locales/vi.js +116 -0
  1297. package/packages/daemon/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
  1298. package/packages/daemon/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
  1299. package/packages/daemon/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1300. package/packages/daemon/node_modules/zod/v4/locales/zh-CN.js +116 -0
  1301. package/packages/daemon/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
  1302. package/packages/daemon/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
  1303. package/packages/daemon/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1304. package/packages/daemon/node_modules/zod/v4/locales/zh-TW.js +117 -0
  1305. package/packages/daemon/node_modules/zod/v4/mini/checks.cjs +34 -0
  1306. package/packages/daemon/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1307. package/packages/daemon/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1308. package/packages/daemon/node_modules/zod/v4/mini/checks.js +1 -0
  1309. package/packages/daemon/node_modules/zod/v4/mini/coerce.cjs +47 -0
  1310. package/packages/daemon/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1311. package/packages/daemon/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1312. package/packages/daemon/node_modules/zod/v4/mini/coerce.js +17 -0
  1313. package/packages/daemon/node_modules/zod/v4/mini/external.cjs +62 -0
  1314. package/packages/daemon/node_modules/zod/v4/mini/external.d.cts +11 -0
  1315. package/packages/daemon/node_modules/zod/v4/mini/external.d.ts +11 -0
  1316. package/packages/daemon/node_modules/zod/v4/mini/external.js +13 -0
  1317. package/packages/daemon/node_modules/zod/v4/mini/index.cjs +32 -0
  1318. package/packages/daemon/node_modules/zod/v4/mini/index.d.cts +3 -0
  1319. package/packages/daemon/node_modules/zod/v4/mini/index.d.ts +3 -0
  1320. package/packages/daemon/node_modules/zod/v4/mini/index.js +3 -0
  1321. package/packages/daemon/node_modules/zod/v4/mini/iso.cjs +60 -0
  1322. package/packages/daemon/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1323. package/packages/daemon/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1324. package/packages/daemon/node_modules/zod/v4/mini/iso.js +30 -0
  1325. package/packages/daemon/node_modules/zod/v4/mini/parse.cjs +8 -0
  1326. package/packages/daemon/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1327. package/packages/daemon/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1328. package/packages/daemon/node_modules/zod/v4/mini/parse.js +1 -0
  1329. package/packages/daemon/node_modules/zod/v4/mini/schemas.cjs +839 -0
  1330. package/packages/daemon/node_modules/zod/v4/mini/schemas.d.cts +356 -0
  1331. package/packages/daemon/node_modules/zod/v4/mini/schemas.d.ts +356 -0
  1332. package/packages/daemon/node_modules/zod/v4/mini/schemas.js +732 -0
  1333. package/packages/daemon/node_modules/zod/v4-mini/index.cjs +17 -0
  1334. package/packages/daemon/node_modules/zod/v4-mini/index.d.cts +1 -0
  1335. package/packages/daemon/node_modules/zod/v4-mini/index.d.ts +1 -0
  1336. package/packages/daemon/node_modules/zod/v4-mini/index.js +1 -0
  1337. package/packages/daemon/package.json +48 -0
  1338. package/packages/daemon/src/channel-manager.ts +223 -0
  1339. package/packages/daemon/src/cli.ts +47 -0
  1340. package/packages/daemon/src/commands.ts +110 -0
  1341. package/packages/daemon/src/config.ts +137 -0
  1342. package/packages/daemon/src/daemon.test.ts +660 -0
  1343. package/packages/daemon/src/daemon.ts +176 -0
  1344. package/packages/daemon/src/discord-bot.test.ts +792 -0
  1345. package/packages/daemon/src/discord-bot.ts +421 -0
  1346. package/packages/daemon/src/event-bridge.test.ts +619 -0
  1347. package/packages/daemon/src/event-bridge.ts +488 -0
  1348. package/packages/daemon/src/event-formatter.test.ts +402 -0
  1349. package/packages/daemon/src/event-formatter.ts +386 -0
  1350. package/packages/daemon/src/index.ts +46 -0
  1351. package/packages/daemon/src/logger.ts +88 -0
  1352. package/packages/daemon/src/message-batcher.test.ts +308 -0
  1353. package/packages/daemon/src/message-batcher.ts +210 -0
  1354. package/packages/daemon/src/orchestrator.test.ts +583 -0
  1355. package/packages/daemon/src/orchestrator.ts +440 -0
  1356. package/packages/daemon/src/project-scanner.test.ts +235 -0
  1357. package/packages/daemon/src/project-scanner.ts +99 -0
  1358. package/packages/daemon/src/session-manager.test.ts +822 -0
  1359. package/packages/daemon/src/session-manager.ts +394 -0
  1360. package/packages/daemon/src/types.ts +199 -0
  1361. package/packages/daemon/src/verbosity.test.ts +171 -0
  1362. package/packages/daemon/src/verbosity.ts +101 -0
  1363. package/packages/daemon/tsconfig.json +24 -0
  1364. package/packages/pi-ai/dist/models.custom.d.ts +23 -0
  1365. package/packages/pi-ai/dist/models.custom.d.ts.map +1 -1
  1366. package/packages/pi-ai/dist/models.custom.js +24 -0
  1367. package/packages/pi-ai/dist/models.custom.js.map +1 -1
  1368. package/packages/pi-ai/dist/models.test.js +29 -0
  1369. package/packages/pi-ai/dist/models.test.js.map +1 -1
  1370. package/packages/pi-ai/src/models.custom.ts +25 -0
  1371. package/packages/pi-ai/src/models.test.ts +33 -0
  1372. package/packages/pi-coding-agent/dist/core/model-registry.d.ts +1 -1
  1373. package/packages/pi-coding-agent/dist/core/model-registry.d.ts.map +1 -1
  1374. package/packages/pi-coding-agent/dist/core/model-registry.js.map +1 -1
  1375. package/packages/pi-coding-agent/dist/modes/interactive/components/provider-manager.d.ts +2 -0
  1376. package/packages/pi-coding-agent/dist/modes/interactive/components/provider-manager.d.ts.map +1 -1
  1377. package/packages/pi-coding-agent/dist/modes/interactive/components/provider-manager.js +14 -2
  1378. package/packages/pi-coding-agent/dist/modes/interactive/components/provider-manager.js.map +1 -1
  1379. package/packages/pi-coding-agent/package.json +1 -1
  1380. package/packages/pi-coding-agent/src/core/model-registry.ts +1 -1
  1381. package/packages/pi-coding-agent/src/modes/interactive/components/provider-manager.ts +16 -2
  1382. package/pkg/package.json +1 -1
  1383. package/scripts/ensure-workspace-builds.cjs +45 -41
  1384. package/src/resources/extensions/bg-shell/bg-shell-lifecycle.ts +2 -2
  1385. package/src/resources/extensions/bg-shell/utilities.ts +39 -4
  1386. package/src/resources/extensions/gsd/auto/loop-deps.ts +4 -1
  1387. package/src/resources/extensions/gsd/auto/phases.ts +28 -4
  1388. package/src/resources/extensions/gsd/auto/run-unit.ts +10 -0
  1389. package/src/resources/extensions/gsd/auto/session.ts +3 -0
  1390. package/src/resources/extensions/gsd/auto-artifact-paths.ts +6 -0
  1391. package/src/resources/extensions/gsd/auto-dashboard.ts +5 -2
  1392. package/src/resources/extensions/gsd/auto-dispatch.ts +1 -1
  1393. package/src/resources/extensions/gsd/auto-model-selection.ts +33 -3
  1394. package/src/resources/extensions/gsd/auto-post-unit.ts +1 -1
  1395. package/src/resources/extensions/gsd/auto-prompts.ts +15 -0
  1396. package/src/resources/extensions/gsd/auto-start.ts +36 -11
  1397. package/src/resources/extensions/gsd/auto-worktree.ts +46 -13
  1398. package/src/resources/extensions/gsd/bootstrap/agent-end-recovery.ts +5 -4
  1399. package/src/resources/extensions/gsd/bootstrap/provider-error-resume.ts +53 -0
  1400. package/src/resources/extensions/gsd/bootstrap/register-extension.ts +19 -6
  1401. package/src/resources/extensions/gsd/bootstrap/register-shortcuts.ts +24 -0
  1402. package/src/resources/extensions/gsd/commands/catalog.ts +2 -1
  1403. package/src/resources/extensions/gsd/commands/handlers/parallel.ts +19 -1
  1404. package/src/resources/extensions/gsd/complexity-classifier.ts +1 -0
  1405. package/src/resources/extensions/gsd/crash-recovery.ts +2 -3
  1406. package/src/resources/extensions/gsd/dashboard-overlay.ts +2 -0
  1407. package/src/resources/extensions/gsd/docs/preferences-reference.md +4 -2
  1408. package/src/resources/extensions/gsd/guided-flow.ts +17 -16
  1409. package/src/resources/extensions/gsd/metrics.ts +5 -2
  1410. package/src/resources/extensions/gsd/parallel-monitor-overlay.ts +497 -0
  1411. package/src/resources/extensions/gsd/parallel-orchestrator.ts +6 -1
  1412. package/src/resources/extensions/gsd/preferences-models.ts +12 -0
  1413. package/src/resources/extensions/gsd/preferences-types.ts +4 -0
  1414. package/src/resources/extensions/gsd/roadmap-slices.ts +1 -0
  1415. package/src/resources/extensions/gsd/session-lock.ts +46 -12
  1416. package/src/resources/extensions/gsd/skill-health.ts +2 -2
  1417. package/src/resources/extensions/gsd/tests/auto-loop.test.ts +39 -1
  1418. package/src/resources/extensions/gsd/tests/auto-model-selection.test.ts +139 -0
  1419. package/src/resources/extensions/gsd/tests/auto-start-cold-db-bootstrap.test.ts +37 -0
  1420. package/src/resources/extensions/gsd/tests/auto-start-model-capture.test.ts +28 -0
  1421. package/src/resources/extensions/gsd/tests/custom-engine-loop-integration.test.ts +1 -1
  1422. package/src/resources/extensions/gsd/tests/{all-milestones-complete-merge.test.ts → integration/all-milestones-complete-merge.test.ts} +3 -3
  1423. package/src/resources/extensions/gsd/tests/{atomic-task-closeout.test.ts → integration/atomic-task-closeout.test.ts} +1 -1
  1424. package/src/resources/extensions/gsd/tests/{auto-preflight.test.ts → integration/auto-preflight.test.ts} +1 -1
  1425. package/src/resources/extensions/gsd/tests/{auto-recovery.test.ts → integration/auto-recovery.test.ts} +7 -7
  1426. package/src/resources/extensions/gsd/tests/{auto-secrets-gate.test.ts → integration/auto-secrets-gate.test.ts} +2 -2
  1427. package/src/resources/extensions/gsd/tests/{auto-stash-merge.test.ts → integration/auto-stash-merge.test.ts} +3 -3
  1428. package/src/resources/extensions/gsd/tests/{auto-worktree-milestone-merge.test.ts → integration/auto-worktree-milestone-merge.test.ts} +4 -4
  1429. package/src/resources/extensions/gsd/tests/{auto-worktree.test.ts → integration/auto-worktree.test.ts} +5 -5
  1430. package/src/resources/extensions/gsd/tests/{continue-here.test.ts → integration/continue-here.test.ts} +3 -3
  1431. package/src/resources/extensions/gsd/tests/{doctor-completion-deferral.test.ts → integration/doctor-completion-deferral.test.ts} +1 -1
  1432. package/src/resources/extensions/gsd/tests/{doctor-delimiter-fix.test.ts → integration/doctor-delimiter-fix.test.ts} +1 -1
  1433. package/src/resources/extensions/gsd/tests/{doctor-enhancements.test.ts → integration/doctor-enhancements.test.ts} +3 -3
  1434. package/src/resources/extensions/gsd/tests/{doctor-environment-worktree.test.ts → integration/doctor-environment-worktree.test.ts} +1 -1
  1435. package/src/resources/extensions/gsd/tests/{doctor-environment.test.ts → integration/doctor-environment.test.ts} +1 -1
  1436. package/src/resources/extensions/gsd/tests/{doctor-fixlevel.test.ts → integration/doctor-fixlevel.test.ts} +2 -2
  1437. package/src/resources/extensions/gsd/tests/{doctor-git.test.ts → integration/doctor-git.test.ts} +1 -1
  1438. package/src/resources/extensions/gsd/tests/{doctor-proactive.test.ts → integration/doctor-proactive.test.ts} +1 -1
  1439. package/src/resources/extensions/gsd/tests/{doctor-roadmap-summary-atomicity.test.ts → integration/doctor-roadmap-summary-atomicity.test.ts} +1 -1
  1440. package/src/resources/extensions/gsd/tests/{doctor-runtime.test.ts → integration/doctor-runtime.test.ts} +1 -1
  1441. package/src/resources/extensions/gsd/tests/{doctor.test.ts → integration/doctor.test.ts} +1 -1
  1442. package/src/resources/extensions/gsd/tests/{e2e-workflow-pipeline-integration.test.ts → integration/e2e-workflow-pipeline-integration.test.ts} +5 -5
  1443. package/src/resources/extensions/gsd/tests/{feature-branch-lifecycle-integration.test.ts → integration/feature-branch-lifecycle-integration.test.ts} +4 -4
  1444. package/src/resources/extensions/gsd/tests/{git-locale.test.ts → integration/git-locale.test.ts} +4 -4
  1445. package/src/resources/extensions/gsd/tests/{git-self-heal.test.ts → integration/git-self-heal.test.ts} +1 -1
  1446. package/src/resources/extensions/gsd/tests/{git-service.test.ts → integration/git-service.test.ts} +4 -4
  1447. package/src/resources/extensions/gsd/tests/{gitignore-tracked-gsd.test.ts → integration/gitignore-tracked-gsd.test.ts} +2 -2
  1448. package/src/resources/extensions/gsd/tests/{idle-recovery.test.ts → integration/idle-recovery.test.ts} +3 -3
  1449. package/src/resources/extensions/gsd/tests/{inherited-repo-home-dir.test.ts → integration/inherited-repo-home-dir.test.ts} +1 -1
  1450. package/src/resources/extensions/gsd/tests/{integration-lifecycle.test.ts → integration/integration-lifecycle.test.ts} +4 -4
  1451. package/src/resources/extensions/gsd/tests/{integration-mixed-milestones.test.ts → integration/integration-mixed-milestones.test.ts} +6 -6
  1452. package/src/resources/extensions/gsd/tests/{integration-proof.test.ts → integration/integration-proof.test.ts} +12 -12
  1453. package/src/resources/extensions/gsd/tests/{migrate-command.test.ts → integration/migrate-command.test.ts} +2 -2
  1454. package/src/resources/extensions/gsd/tests/{milestone-transition-worktree.test.ts → integration/milestone-transition-worktree.test.ts} +3 -3
  1455. package/src/resources/extensions/gsd/tests/{parallel-merge.test.ts → integration/parallel-merge.test.ts} +3 -3
  1456. package/src/resources/extensions/gsd/tests/{parallel-workers-multi-milestone-e2e.test.ts → integration/parallel-workers-multi-milestone-e2e.test.ts} +3 -3
  1457. package/src/resources/extensions/gsd/tests/{paths.test.ts → integration/paths.test.ts} +1 -1
  1458. package/src/resources/extensions/gsd/tests/{plugin-importer-live.test.ts → integration/plugin-importer-live.test.ts} +2 -2
  1459. package/src/resources/extensions/gsd/tests/{queue-completed-milestone-perf.test.ts → integration/queue-completed-milestone-perf.test.ts} +3 -3
  1460. package/src/resources/extensions/gsd/tests/{queue-reorder-e2e.test.ts → integration/queue-reorder-e2e.test.ts} +5 -5
  1461. package/src/resources/extensions/gsd/tests/{quick-branch-lifecycle.test.ts → integration/quick-branch-lifecycle.test.ts} +5 -5
  1462. package/src/resources/extensions/gsd/tests/{run-uat.test.ts → integration/run-uat.test.ts} +4 -4
  1463. package/src/resources/extensions/gsd/tests/{token-savings.test.ts → integration/token-savings.test.ts} +3 -3
  1464. package/src/resources/extensions/gsd/tests/{worktree-e2e.test.ts → integration/worktree-e2e.test.ts} +4 -4
  1465. package/src/resources/extensions/gsd/tests/journal-integration.test.ts +56 -1
  1466. package/src/resources/extensions/gsd/tests/model-unittype-mapping.test.ts +192 -0
  1467. package/src/resources/extensions/gsd/tests/parallel-monitor-overlay.test.ts +60 -0
  1468. package/src/resources/extensions/gsd/tests/parallel-worker-lock-contention.test.ts +226 -0
  1469. package/src/resources/extensions/gsd/tests/plan-milestone-queue-context.test.ts +48 -0
  1470. package/src/resources/extensions/gsd/tests/preferences-worktree-sync.test.ts +61 -19
  1471. package/src/resources/extensions/gsd/tests/provider-errors.test.ts +98 -0
  1472. package/src/resources/extensions/gsd/tests/register-extension-guard.test.ts +59 -0
  1473. package/src/resources/extensions/gsd/tests/roadmap-slices.test.ts +17 -0
  1474. package/src/resources/extensions/gsd/tests/sqlite-unavailable-gate.test.ts +14 -12
  1475. package/src/resources/extensions/gsd/tests/subagent-agent-discovery.test.ts +44 -0
  1476. package/src/resources/extensions/gsd/tests/worktree-preferences-sync.test.ts +49 -24
  1477. package/src/resources/extensions/gsd/visualizer-overlay.ts +3 -3
  1478. package/src/resources/extensions/shared/format-utils.ts +1 -1
  1479. package/src/resources/extensions/subagent/agents.ts +8 -2
  1480. package/src/resources/extensions/subagent/worker-registry.ts +2 -1
  1481. package/dist/web/standalone/.next/static/chunks/4024.87fd909ae0110f50.js +0 -9
  1482. package/dist/web/standalone/.next/static/chunks/app/page-fbecd1237e2d6d1f.js +0 -1
  1483. package/dist/web/standalone/.next/static/chunks/main-app-d3d4c336195465f9.js +0 -1
  1484. package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/global-error-ab5a8926e07ec673.js +0 -1
  1485. /package/dist/web/standalone/.next/static/{KixbEdSRlU9zzYdZdrJ7A → 3XCsmJU9i9WebfYynW_BO}/_buildManifest.js +0 -0
  1486. /package/dist/web/standalone/.next/static/{KixbEdSRlU9zzYdZdrJ7A → 3XCsmJU9i9WebfYynW_BO}/_ssgManifest.js +0 -0
@@ -0,0 +1,7 @@
1
+ export { Anthropic as default } from "./client.mjs";
2
+ export { type Uploadable, toFile } from "./core/uploads.mjs";
3
+ export { APIPromise } from "./core/api-promise.mjs";
4
+ export { BaseAnthropic, Anthropic, type ClientOptions, HUMAN_PROMPT, AI_PROMPT } from "./client.mjs";
5
+ export { PagePromise } from "./core/pagination.mjs";
6
+ export { AnthropicError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./core/error.mjs";
7
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,OAAO,EAAE;OAExB,EAAE,KAAK,UAAU,EAAE,MAAM,EAAE;OAC3B,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE;OACzE,EAAE,WAAW,EAAE;OACf,EACL,cAAc,EACd,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB"}
@@ -0,0 +1,7 @@
1
+ export { Anthropic as default } from "./client.js";
2
+ export { type Uploadable, toFile } from "./core/uploads.js";
3
+ export { APIPromise } from "./core/api-promise.js";
4
+ export { BaseAnthropic, Anthropic, type ClientOptions, HUMAN_PROMPT, AI_PROMPT } from "./client.js";
5
+ export { PagePromise } from "./core/pagination.js";
6
+ export { AnthropicError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./core/error.js";
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"OAEO,EAAE,SAAS,IAAI,OAAO,EAAE;OAExB,EAAE,KAAK,UAAU,EAAE,MAAM,EAAE;OAC3B,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,SAAS,EAAE,KAAK,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE;OACzE,EAAE,WAAW,EAAE;OACf,EACL,cAAc,EACd,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ exports = module.exports = function (...args) {
4
+ return new exports.default(...args)
5
+ }
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.UnprocessableEntityError = exports.PermissionDeniedError = exports.InternalServerError = exports.AuthenticationError = exports.BadRequestError = exports.RateLimitError = exports.ConflictError = exports.NotFoundError = exports.APIUserAbortError = exports.APIConnectionTimeoutError = exports.APIConnectionError = exports.APIError = exports.AnthropicError = exports.PagePromise = exports.AI_PROMPT = exports.HUMAN_PROMPT = exports.Anthropic = exports.BaseAnthropic = exports.APIPromise = exports.toFile = exports.default = void 0;
8
+ var client_1 = require("./client.js");
9
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return client_1.Anthropic; } });
10
+ var uploads_1 = require("./core/uploads.js");
11
+ Object.defineProperty(exports, "toFile", { enumerable: true, get: function () { return uploads_1.toFile; } });
12
+ var api_promise_1 = require("./core/api-promise.js");
13
+ Object.defineProperty(exports, "APIPromise", { enumerable: true, get: function () { return api_promise_1.APIPromise; } });
14
+ var client_2 = require("./client.js");
15
+ Object.defineProperty(exports, "BaseAnthropic", { enumerable: true, get: function () { return client_2.BaseAnthropic; } });
16
+ Object.defineProperty(exports, "Anthropic", { enumerable: true, get: function () { return client_2.Anthropic; } });
17
+ Object.defineProperty(exports, "HUMAN_PROMPT", { enumerable: true, get: function () { return client_2.HUMAN_PROMPT; } });
18
+ Object.defineProperty(exports, "AI_PROMPT", { enumerable: true, get: function () { return client_2.AI_PROMPT; } });
19
+ var pagination_1 = require("./core/pagination.js");
20
+ Object.defineProperty(exports, "PagePromise", { enumerable: true, get: function () { return pagination_1.PagePromise; } });
21
+ var error_1 = require("./core/error.js");
22
+ Object.defineProperty(exports, "AnthropicError", { enumerable: true, get: function () { return error_1.AnthropicError; } });
23
+ Object.defineProperty(exports, "APIError", { enumerable: true, get: function () { return error_1.APIError; } });
24
+ Object.defineProperty(exports, "APIConnectionError", { enumerable: true, get: function () { return error_1.APIConnectionError; } });
25
+ Object.defineProperty(exports, "APIConnectionTimeoutError", { enumerable: true, get: function () { return error_1.APIConnectionTimeoutError; } });
26
+ Object.defineProperty(exports, "APIUserAbortError", { enumerable: true, get: function () { return error_1.APIUserAbortError; } });
27
+ Object.defineProperty(exports, "NotFoundError", { enumerable: true, get: function () { return error_1.NotFoundError; } });
28
+ Object.defineProperty(exports, "ConflictError", { enumerable: true, get: function () { return error_1.ConflictError; } });
29
+ Object.defineProperty(exports, "RateLimitError", { enumerable: true, get: function () { return error_1.RateLimitError; } });
30
+ Object.defineProperty(exports, "BadRequestError", { enumerable: true, get: function () { return error_1.BadRequestError; } });
31
+ Object.defineProperty(exports, "AuthenticationError", { enumerable: true, get: function () { return error_1.AuthenticationError; } });
32
+ Object.defineProperty(exports, "InternalServerError", { enumerable: true, get: function () { return error_1.InternalServerError; } });
33
+ Object.defineProperty(exports, "PermissionDeniedError", { enumerable: true, get: function () { return error_1.PermissionDeniedError; } });
34
+ Object.defineProperty(exports, "UnprocessableEntityError", { enumerable: true, get: function () { return error_1.UnprocessableEntityError; } });
35
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAgD;AAAvC,iGAAA,SAAS,OAAW;AAE7B,6CAAyD;AAA/B,iGAAA,MAAM,OAAA;AAChC,qDAAgD;AAAvC,yGAAA,UAAU,OAAA;AACnB,sCAAiG;AAAxF,uGAAA,aAAa,OAAA;AAAE,mGAAA,SAAS,OAAA;AAAsB,sGAAA,YAAY,OAAA;AAAE,mGAAA,SAAS,OAAA;AAC9E,mDAAgD;AAAvC,yGAAA,WAAW,OAAA;AACpB,yCAcsB;AAbpB,uGAAA,cAAc,OAAA;AACd,iGAAA,QAAQ,OAAA;AACR,2GAAA,kBAAkB,OAAA;AAClB,kHAAA,yBAAyB,OAAA;AACzB,0GAAA,iBAAiB,OAAA;AACjB,sGAAA,aAAa,OAAA;AACb,sGAAA,aAAa,OAAA;AACb,uGAAA,cAAc,OAAA;AACd,wGAAA,eAAe,OAAA;AACf,4GAAA,mBAAmB,OAAA;AACnB,4GAAA,mBAAmB,OAAA;AACnB,8GAAA,qBAAqB,OAAA;AACrB,iHAAA,wBAAwB,OAAA"}
@@ -0,0 +1,8 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Anthropic as default } from "./client.mjs";
3
+ export { toFile } from "./core/uploads.mjs";
4
+ export { APIPromise } from "./core/api-promise.mjs";
5
+ export { BaseAnthropic, Anthropic, HUMAN_PROMPT, AI_PROMPT } from "./client.mjs";
6
+ export { PagePromise } from "./core/pagination.mjs";
7
+ export { AnthropicError, APIError, APIConnectionError, APIConnectionTimeoutError, APIUserAbortError, NotFoundError, ConflictError, RateLimitError, BadRequestError, AuthenticationError, InternalServerError, PermissionDeniedError, UnprocessableEntityError, } from "./core/error.mjs";
8
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["src/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,IAAI,OAAO,EAAE;OAExB,EAAmB,MAAM,EAAE;OAC3B,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,SAAS,EAAsB,YAAY,EAAE,SAAS,EAAE;OACzE,EAAE,WAAW,EAAE;OACf,EACL,cAAc,EACd,QAAQ,EACR,kBAAkB,EAClB,yBAAyB,EACzB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,GACzB"}
@@ -0,0 +1,73 @@
1
+ export type Fetch = (input: string | URL | Request, init?: RequestInit) => Promise<Response>;
2
+ /**
3
+ * An alias to the builtin `RequestInit` type so we can
4
+ * easily alias it in import statements if there are name clashes.
5
+ *
6
+ * https://developer.mozilla.org/docs/Web/API/RequestInit
7
+ */
8
+ type _RequestInit = RequestInit;
9
+ /**
10
+ * An alias to the builtin `Response` type so we can
11
+ * easily alias it in import statements if there are name clashes.
12
+ *
13
+ * https://developer.mozilla.org/docs/Web/API/Response
14
+ */
15
+ type _Response = Response;
16
+ /**
17
+ * The type for the first argument to `fetch`.
18
+ *
19
+ * https://developer.mozilla.org/docs/Web/API/Window/fetch#resource
20
+ */
21
+ type _RequestInfo = Request | URL | string;
22
+ /**
23
+ * The type for constructing `RequestInit` Headers.
24
+ *
25
+ * https://developer.mozilla.org/docs/Web/API/RequestInit#setting_headers
26
+ */
27
+ type _HeadersInit = RequestInit['headers'];
28
+ /**
29
+ * The type for constructing `RequestInit` body.
30
+ *
31
+ * https://developer.mozilla.org/docs/Web/API/RequestInit#body
32
+ */
33
+ type _BodyInit = RequestInit['body'];
34
+ /**
35
+ * An alias to the builtin `Array<T>` type so we can
36
+ * easily alias it in import statements if there are name clashes.
37
+ */
38
+ type _Array<T> = Array<T>;
39
+ /**
40
+ * An alias to the builtin `Record<K, T>` type so we can
41
+ * easily alias it in import statements if there are name clashes.
42
+ */
43
+ type _Record<K extends keyof any, T> = Record<K, T>;
44
+ export type { _Array as Array, _BodyInit as BodyInit, _HeadersInit as HeadersInit, _Record as Record, _RequestInfo as RequestInfo, _RequestInit as RequestInit, _Response as Response, };
45
+ /**
46
+ * A copy of the builtin `EndingType` type as it isn't fully supported in certain
47
+ * environments and attempting to reference the global version will error.
48
+ *
49
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L27941
50
+ */
51
+ type EndingType = 'native' | 'transparent';
52
+ /**
53
+ * A copy of the builtin `BlobPropertyBag` type as it isn't fully supported in certain
54
+ * environments and attempting to reference the global version will error.
55
+ *
56
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L154
57
+ * https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob#options
58
+ */
59
+ export interface BlobPropertyBag {
60
+ endings?: EndingType;
61
+ type?: string;
62
+ }
63
+ /**
64
+ * A copy of the builtin `FilePropertyBag` type as it isn't fully supported in certain
65
+ * environments and attempting to reference the global version will error.
66
+ *
67
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L503
68
+ * https://developer.mozilla.org/en-US/docs/Web/API/File/File#options
69
+ */
70
+ export interface FilePropertyBag extends BlobPropertyBag {
71
+ lastModified?: number;
72
+ }
73
+ //# sourceMappingURL=builtin-types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builtin-types.d.mts","sourceRoot":"","sources":["../src/internal/builtin-types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,GAAG,OAAO,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE7F;;;;;GAKG;AACH,KAAK,YAAY,GAAG,WAAW,CAAC;AAEhC;;;;;GAKG;AACH,KAAK,SAAS,GAAG,QAAQ,CAAC;AAE1B;;;;GAIG;AACH,KAAK,YAAY,GAAG,OAAO,GAAG,GAAG,GAAG,MAAM,CAAC;AAE3C;;;;GAIG;AACH,KAAK,YAAY,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC;AAE3C;;;;GAIG;AACH,KAAK,SAAS,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;AAErC;;;GAGG;AACH,KAAK,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC;AAE1B;;;GAGG;AACH,KAAK,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEpD,YAAY,EACV,MAAM,IAAI,KAAK,EACf,SAAS,IAAI,QAAQ,EACrB,YAAY,IAAI,WAAW,EAC3B,OAAO,IAAI,MAAM,EACjB,YAAY,IAAI,WAAW,EAC3B,YAAY,IAAI,WAAW,EAC3B,SAAS,IAAI,QAAQ,GACtB,CAAC;AAEF;;;;;GAKG;AACH,KAAK,UAAU,GAAG,QAAQ,GAAG,aAAa,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,73 @@
1
+ export type Fetch = (input: string | URL | Request, init?: RequestInit) => Promise<Response>;
2
+ /**
3
+ * An alias to the builtin `RequestInit` type so we can
4
+ * easily alias it in import statements if there are name clashes.
5
+ *
6
+ * https://developer.mozilla.org/docs/Web/API/RequestInit
7
+ */
8
+ type _RequestInit = RequestInit;
9
+ /**
10
+ * An alias to the builtin `Response` type so we can
11
+ * easily alias it in import statements if there are name clashes.
12
+ *
13
+ * https://developer.mozilla.org/docs/Web/API/Response
14
+ */
15
+ type _Response = Response;
16
+ /**
17
+ * The type for the first argument to `fetch`.
18
+ *
19
+ * https://developer.mozilla.org/docs/Web/API/Window/fetch#resource
20
+ */
21
+ type _RequestInfo = Request | URL | string;
22
+ /**
23
+ * The type for constructing `RequestInit` Headers.
24
+ *
25
+ * https://developer.mozilla.org/docs/Web/API/RequestInit#setting_headers
26
+ */
27
+ type _HeadersInit = RequestInit['headers'];
28
+ /**
29
+ * The type for constructing `RequestInit` body.
30
+ *
31
+ * https://developer.mozilla.org/docs/Web/API/RequestInit#body
32
+ */
33
+ type _BodyInit = RequestInit['body'];
34
+ /**
35
+ * An alias to the builtin `Array<T>` type so we can
36
+ * easily alias it in import statements if there are name clashes.
37
+ */
38
+ type _Array<T> = Array<T>;
39
+ /**
40
+ * An alias to the builtin `Record<K, T>` type so we can
41
+ * easily alias it in import statements if there are name clashes.
42
+ */
43
+ type _Record<K extends keyof any, T> = Record<K, T>;
44
+ export type { _Array as Array, _BodyInit as BodyInit, _HeadersInit as HeadersInit, _Record as Record, _RequestInfo as RequestInfo, _RequestInit as RequestInit, _Response as Response, };
45
+ /**
46
+ * A copy of the builtin `EndingType` type as it isn't fully supported in certain
47
+ * environments and attempting to reference the global version will error.
48
+ *
49
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L27941
50
+ */
51
+ type EndingType = 'native' | 'transparent';
52
+ /**
53
+ * A copy of the builtin `BlobPropertyBag` type as it isn't fully supported in certain
54
+ * environments and attempting to reference the global version will error.
55
+ *
56
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L154
57
+ * https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob#options
58
+ */
59
+ export interface BlobPropertyBag {
60
+ endings?: EndingType;
61
+ type?: string;
62
+ }
63
+ /**
64
+ * A copy of the builtin `FilePropertyBag` type as it isn't fully supported in certain
65
+ * environments and attempting to reference the global version will error.
66
+ *
67
+ * https://github.com/microsoft/TypeScript/blob/49ad1a3917a0ea57f5ff248159256e12bb1cb705/src/lib/dom.generated.d.ts#L503
68
+ * https://developer.mozilla.org/en-US/docs/Web/API/File/File#options
69
+ */
70
+ export interface FilePropertyBag extends BlobPropertyBag {
71
+ lastModified?: number;
72
+ }
73
+ //# sourceMappingURL=builtin-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builtin-types.d.ts","sourceRoot":"","sources":["../src/internal/builtin-types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,GAAG,OAAO,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,QAAQ,CAAC,CAAC;AAE7F;;;;;GAKG;AACH,KAAK,YAAY,GAAG,WAAW,CAAC;AAEhC;;;;;GAKG;AACH,KAAK,SAAS,GAAG,QAAQ,CAAC;AAE1B;;;;GAIG;AACH,KAAK,YAAY,GAAG,OAAO,GAAG,GAAG,GAAG,MAAM,CAAC;AAE3C;;;;GAIG;AACH,KAAK,YAAY,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC;AAE3C;;;;GAIG;AACH,KAAK,SAAS,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;AAErC;;;GAGG;AACH,KAAK,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC;AAE1B;;;GAGG;AACH,KAAK,OAAO,CAAC,CAAC,SAAS,MAAM,GAAG,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEpD,YAAY,EACV,MAAM,IAAI,KAAK,EACf,SAAS,IAAI,QAAQ,EACrB,YAAY,IAAI,WAAW,EAC3B,OAAO,IAAI,MAAM,EACjB,YAAY,IAAI,WAAW,EAC3B,YAAY,IAAI,WAAW,EAC3B,SAAS,IAAI,QAAQ,GACtB,CAAC;AAEF;;;;;GAKG;AACH,KAAK,UAAU,GAAG,QAAQ,GAAG,aAAa,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,eAAgB,SAAQ,eAAe;IACtD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=builtin-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builtin-types.js","sourceRoot":"","sources":["../src/internal/builtin-types.ts"],"names":[],"mappings":";AAAA,sFAAsF"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export {};
3
+ //# sourceMappingURL=builtin-types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builtin-types.mjs","sourceRoot":"","sources":["../src/internal/builtin-types.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Model-specific timeout constraints for non-streaming requests
3
+ */
4
+ export declare const MODEL_NONSTREAMING_TOKENS: Record<string, number>;
5
+ //# sourceMappingURL=constants.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.mts","sourceRoot":"","sources":["../src/internal/constants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAM5D,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Model-specific timeout constraints for non-streaming requests
3
+ */
4
+ export declare const MODEL_NONSTREAMING_TOKENS: Record<string, number>;
5
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/internal/constants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAM5D,CAAC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ // File containing shared constants
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.MODEL_NONSTREAMING_TOKENS = void 0;
5
+ /**
6
+ * Model-specific timeout constraints for non-streaming requests
7
+ */
8
+ exports.MODEL_NONSTREAMING_TOKENS = {
9
+ 'claude-opus-4-20250514': 8192,
10
+ 'claude-opus-4-0': 8192,
11
+ 'claude-4-opus-20250514': 8192,
12
+ 'anthropic.claude-opus-4-20250514-v1:0': 8192,
13
+ 'claude-opus-4@20250514': 8192,
14
+ };
15
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/internal/constants.ts"],"names":[],"mappings":";AAAA,mCAAmC;;;AAEnC;;GAEG;AACU,QAAA,yBAAyB,GAA2B;IAC/D,wBAAwB,EAAE,IAAI;IAC9B,iBAAiB,EAAE,IAAI;IACvB,wBAAwB,EAAE,IAAI;IAC9B,uCAAuC,EAAE,IAAI;IAC7C,wBAAwB,EAAE,IAAI;CAC/B,CAAC"}
@@ -0,0 +1,12 @@
1
+ // File containing shared constants
2
+ /**
3
+ * Model-specific timeout constraints for non-streaming requests
4
+ */
5
+ export const MODEL_NONSTREAMING_TOKENS = {
6
+ 'claude-opus-4-20250514': 8192,
7
+ 'claude-opus-4-0': 8192,
8
+ 'claude-4-opus-20250514': 8192,
9
+ 'anthropic.claude-opus-4-20250514-v1:0': 8192,
10
+ 'claude-opus-4@20250514': 8192,
11
+ };
12
+ //# sourceMappingURL=constants.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.mjs","sourceRoot":"","sources":["../src/internal/constants.ts"],"names":[],"mappings":"AAAA,mCAAmC;AAEnC;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAA2B;IAC/D,wBAAwB,EAAE,IAAI;IAC9B,iBAAiB,EAAE,IAAI;IACvB,wBAAwB,EAAE,IAAI;IAC9B,uCAAuC,EAAE,IAAI;IAC7C,wBAAwB,EAAE,IAAI;CAC/B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type Bytes } from "./line.mjs";
2
+ export declare class JSONLDecoder<T> {
3
+ private iterator;
4
+ controller: AbortController;
5
+ constructor(iterator: AsyncIterableIterator<Bytes>, controller: AbortController);
6
+ private decoder;
7
+ [Symbol.asyncIterator](): AsyncIterator<T>;
8
+ static fromResponse<T>(response: Response, controller: AbortController): JSONLDecoder<T>;
9
+ }
10
+ //# sourceMappingURL=jsonl.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonl.d.mts","sourceRoot":"","sources":["../../src/internal/decoders/jsonl.ts"],"names":[],"mappings":"OAEO,EAAe,KAAK,KAAK,EAAE;AAElC,qBAAa,YAAY,CAAC,CAAC;IAIvB,OAAO,CAAC,QAAQ;IAHlB,UAAU,EAAE,eAAe,CAAC;gBAGlB,QAAQ,EAAE,qBAAqB,CAAC,KAAK,CAAC,EAC9C,UAAU,EAAE,eAAe;YAKd,OAAO;IAatB,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC;IAI1C,MAAM,CAAC,YAAY,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,GAAG,YAAY,CAAC,CAAC,CAAC;CAgBzF"}
@@ -0,0 +1,10 @@
1
+ import { type Bytes } from "./line.js";
2
+ export declare class JSONLDecoder<T> {
3
+ private iterator;
4
+ controller: AbortController;
5
+ constructor(iterator: AsyncIterableIterator<Bytes>, controller: AbortController);
6
+ private decoder;
7
+ [Symbol.asyncIterator](): AsyncIterator<T>;
8
+ static fromResponse<T>(response: Response, controller: AbortController): JSONLDecoder<T>;
9
+ }
10
+ //# sourceMappingURL=jsonl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonl.d.ts","sourceRoot":"","sources":["../../src/internal/decoders/jsonl.ts"],"names":[],"mappings":"OAEO,EAAe,KAAK,KAAK,EAAE;AAElC,qBAAa,YAAY,CAAC,CAAC;IAIvB,OAAO,CAAC,QAAQ;IAHlB,UAAU,EAAE,eAAe,CAAC;gBAGlB,QAAQ,EAAE,qBAAqB,CAAC,KAAK,CAAC,EAC9C,UAAU,EAAE,eAAe;YAKd,OAAO;IAatB,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC;IAI1C,MAAM,CAAC,YAAY,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,eAAe,GAAG,YAAY,CAAC,CAAC,CAAC;CAgBzF"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JSONLDecoder = void 0;
4
+ const error_1 = require("../../core/error.js");
5
+ const shims_1 = require("../shims.js");
6
+ const line_1 = require("./line.js");
7
+ class JSONLDecoder {
8
+ constructor(iterator, controller) {
9
+ this.iterator = iterator;
10
+ this.controller = controller;
11
+ }
12
+ async *decoder() {
13
+ const lineDecoder = new line_1.LineDecoder();
14
+ for await (const chunk of this.iterator) {
15
+ for (const line of lineDecoder.decode(chunk)) {
16
+ yield JSON.parse(line);
17
+ }
18
+ }
19
+ for (const line of lineDecoder.flush()) {
20
+ yield JSON.parse(line);
21
+ }
22
+ }
23
+ [Symbol.asyncIterator]() {
24
+ return this.decoder();
25
+ }
26
+ static fromResponse(response, controller) {
27
+ if (!response.body) {
28
+ controller.abort();
29
+ if (typeof globalThis.navigator !== 'undefined' &&
30
+ globalThis.navigator.product === 'ReactNative') {
31
+ throw new error_1.AnthropicError(`The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api`);
32
+ }
33
+ throw new error_1.AnthropicError(`Attempted to iterate over a response with no body`);
34
+ }
35
+ return new JSONLDecoder((0, shims_1.ReadableStreamToAsyncIterable)(response.body), controller);
36
+ }
37
+ }
38
+ exports.JSONLDecoder = JSONLDecoder;
39
+ //# sourceMappingURL=jsonl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonl.js","sourceRoot":"","sources":["../../src/internal/decoders/jsonl.ts"],"names":[],"mappings":";;;AAAA,+CAAkD;AAClD,uCAAyD;AACzD,oCAAiD;AAEjD,MAAa,YAAY;IAGvB,YACU,QAAsC,EAC9C,UAA2B;QADnB,aAAQ,GAAR,QAAQ,CAA8B;QAG9C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAEO,KAAK,CAAC,CAAC,OAAO;QACpB,MAAM,WAAW,GAAG,IAAI,kBAAW,EAAE,CAAC;QACtC,IAAI,KAAK,EAAE,MAAM,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YACxC,KAAK,MAAM,IAAI,IAAI,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC7C,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACzB,CAAC;QACH,CAAC;QAED,KAAK,MAAM,IAAI,IAAI,WAAW,CAAC,KAAK,EAAE,EAAE,CAAC;YACvC,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACzB,CAAC;IACH,CAAC;IAED,CAAC,MAAM,CAAC,aAAa,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC;IACxB,CAAC;IAED,MAAM,CAAC,YAAY,CAAI,QAAkB,EAAE,UAA2B;QACpE,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;YACnB,UAAU,CAAC,KAAK,EAAE,CAAC;YACnB,IACE,OAAQ,UAAkB,CAAC,SAAS,KAAK,WAAW;gBACnD,UAAkB,CAAC,SAAS,CAAC,OAAO,KAAK,aAAa,EACvD,CAAC;gBACD,MAAM,IAAI,sBAAc,CACtB,gKAAgK,CACjK,CAAC;YACJ,CAAC;YACD,MAAM,IAAI,sBAAc,CAAC,mDAAmD,CAAC,CAAC;QAChF,CAAC;QAED,OAAO,IAAI,YAAY,CAAC,IAAA,qCAA6B,EAAQ,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC;IAC3F,CAAC;CACF;AA3CD,oCA2CC"}
@@ -0,0 +1,35 @@
1
+ import { AnthropicError } from "../../core/error.mjs";
2
+ import { ReadableStreamToAsyncIterable } from "../shims.mjs";
3
+ import { LineDecoder } from "./line.mjs";
4
+ export class JSONLDecoder {
5
+ constructor(iterator, controller) {
6
+ this.iterator = iterator;
7
+ this.controller = controller;
8
+ }
9
+ async *decoder() {
10
+ const lineDecoder = new LineDecoder();
11
+ for await (const chunk of this.iterator) {
12
+ for (const line of lineDecoder.decode(chunk)) {
13
+ yield JSON.parse(line);
14
+ }
15
+ }
16
+ for (const line of lineDecoder.flush()) {
17
+ yield JSON.parse(line);
18
+ }
19
+ }
20
+ [Symbol.asyncIterator]() {
21
+ return this.decoder();
22
+ }
23
+ static fromResponse(response, controller) {
24
+ if (!response.body) {
25
+ controller.abort();
26
+ if (typeof globalThis.navigator !== 'undefined' &&
27
+ globalThis.navigator.product === 'ReactNative') {
28
+ throw new AnthropicError(`The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api`);
29
+ }
30
+ throw new AnthropicError(`Attempted to iterate over a response with no body`);
31
+ }
32
+ return new JSONLDecoder(ReadableStreamToAsyncIterable(response.body), controller);
33
+ }
34
+ }
35
+ //# sourceMappingURL=jsonl.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonl.mjs","sourceRoot":"","sources":["../../src/internal/decoders/jsonl.ts"],"names":[],"mappings":"OAAO,EAAE,cAAc,EAAE;OAClB,EAAE,6BAA6B,EAAE;OACjC,EAAE,WAAW,EAAc;AAElC,MAAM,OAAO,YAAY;IAGvB,YACU,QAAsC,EAC9C,UAA2B;QADnB,aAAQ,GAAR,QAAQ,CAA8B;QAG9C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAEO,KAAK,CAAC,CAAC,OAAO;QACpB,MAAM,WAAW,GAAG,IAAI,WAAW,EAAE,CAAC;QACtC,IAAI,KAAK,EAAE,MAAM,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YACxC,KAAK,MAAM,IAAI,IAAI,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC7C,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACzB,CAAC;QACH,CAAC;QAED,KAAK,MAAM,IAAI,IAAI,WAAW,CAAC,KAAK,EAAE,EAAE,CAAC;YACvC,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACzB,CAAC;IACH,CAAC;IAED,CAAC,MAAM,CAAC,aAAa,CAAC;QACpB,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC;IACxB,CAAC;IAED,MAAM,CAAC,YAAY,CAAI,QAAkB,EAAE,UAA2B;QACpE,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;YACnB,UAAU,CAAC,KAAK,EAAE,CAAC;YACnB,IACE,OAAQ,UAAkB,CAAC,SAAS,KAAK,WAAW;gBACnD,UAAkB,CAAC,SAAS,CAAC,OAAO,KAAK,aAAa,EACvD,CAAC;gBACD,MAAM,IAAI,cAAc,CACtB,gKAAgK,CACjK,CAAC;YACJ,CAAC;YACD,MAAM,IAAI,cAAc,CAAC,mDAAmD,CAAC,CAAC;QAChF,CAAC;QAED,OAAO,IAAI,YAAY,CAAC,6BAA6B,CAAQ,QAAQ,CAAC,IAAI,CAAC,EAAE,UAAU,CAAC,CAAC;IAC3F,CAAC;CACF"}
@@ -0,0 +1,17 @@
1
+ export type Bytes = string | ArrayBuffer | Uint8Array | null | undefined;
2
+ /**
3
+ * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally
4
+ * reading lines from text.
5
+ *
6
+ * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258
7
+ */
8
+ export declare class LineDecoder {
9
+ #private;
10
+ static NEWLINE_CHARS: Set<string>;
11
+ static NEWLINE_REGEXP: RegExp;
12
+ constructor();
13
+ decode(chunk: Bytes): string[];
14
+ flush(): string[];
15
+ }
16
+ export declare function findDoubleNewlineIndex(buffer: Uint8Array): number;
17
+ //# sourceMappingURL=line.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line.d.mts","sourceRoot":"","sources":["../../src/internal/decoders/line.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;AAEzE;;;;;GAKG;AACH,qBAAa,WAAW;;IAEtB,MAAM,CAAC,aAAa,cAAyB;IAC7C,MAAM,CAAC,cAAc,SAAkB;;IAUvC,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,EAAE;IA6C9B,KAAK,IAAI,MAAM,EAAE;CAMlB;AA+BD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CA6BjE"}
@@ -0,0 +1,17 @@
1
+ export type Bytes = string | ArrayBuffer | Uint8Array | null | undefined;
2
+ /**
3
+ * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally
4
+ * reading lines from text.
5
+ *
6
+ * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258
7
+ */
8
+ export declare class LineDecoder {
9
+ #private;
10
+ static NEWLINE_CHARS: Set<string>;
11
+ static NEWLINE_REGEXP: RegExp;
12
+ constructor();
13
+ decode(chunk: Bytes): string[];
14
+ flush(): string[];
15
+ }
16
+ export declare function findDoubleNewlineIndex(buffer: Uint8Array): number;
17
+ //# sourceMappingURL=line.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line.d.ts","sourceRoot":"","sources":["../../src/internal/decoders/line.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,KAAK,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,IAAI,GAAG,SAAS,CAAC;AAEzE;;;;;GAKG;AACH,qBAAa,WAAW;;IAEtB,MAAM,CAAC,aAAa,cAAyB;IAC7C,MAAM,CAAC,cAAc,SAAkB;;IAUvC,MAAM,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,EAAE;IA6C9B,KAAK,IAAI,MAAM,EAAE;CAMlB;AA+BD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CA6BjE"}
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ var _LineDecoder_buffer, _LineDecoder_carriageReturnIndex;
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.LineDecoder = void 0;
5
+ exports.findDoubleNewlineIndex = findDoubleNewlineIndex;
6
+ const tslib_1 = require("../tslib.js");
7
+ const bytes_1 = require("../utils/bytes.js");
8
+ /**
9
+ * A re-implementation of httpx's `LineDecoder` in Python that handles incrementally
10
+ * reading lines from text.
11
+ *
12
+ * https://github.com/encode/httpx/blob/920333ea98118e9cf617f246905d7b202510941c/httpx/_decoders.py#L258
13
+ */
14
+ class LineDecoder {
15
+ constructor() {
16
+ _LineDecoder_buffer.set(this, void 0);
17
+ _LineDecoder_carriageReturnIndex.set(this, void 0);
18
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, new Uint8Array(), "f");
19
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f");
20
+ }
21
+ decode(chunk) {
22
+ if (chunk == null) {
23
+ return [];
24
+ }
25
+ const binaryChunk = chunk instanceof ArrayBuffer ? new Uint8Array(chunk)
26
+ : typeof chunk === 'string' ? (0, bytes_1.encodeUTF8)(chunk)
27
+ : chunk;
28
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, (0, bytes_1.concatBytes)([tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f"), binaryChunk]), "f");
29
+ const lines = [];
30
+ let patternIndex;
31
+ while ((patternIndex = findNewlineIndex(tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f"), tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f"))) != null) {
32
+ if (patternIndex.carriage && tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") == null) {
33
+ // skip until we either get a corresponding `\n`, a new `\r` or nothing
34
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, patternIndex.index, "f");
35
+ continue;
36
+ }
37
+ // we got double \r or \rtext\n
38
+ if (tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") != null &&
39
+ (patternIndex.index !== tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") + 1 || patternIndex.carriage)) {
40
+ lines.push((0, bytes_1.decodeUTF8)(tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(0, tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") - 1)));
41
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f")), "f");
42
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f");
43
+ continue;
44
+ }
45
+ const endIndex = tslib_1.__classPrivateFieldGet(this, _LineDecoder_carriageReturnIndex, "f") !== null ? patternIndex.preceding - 1 : patternIndex.preceding;
46
+ const line = (0, bytes_1.decodeUTF8)(tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(0, endIndex));
47
+ lines.push(line);
48
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_buffer, tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").subarray(patternIndex.index), "f");
49
+ tslib_1.__classPrivateFieldSet(this, _LineDecoder_carriageReturnIndex, null, "f");
50
+ }
51
+ return lines;
52
+ }
53
+ flush() {
54
+ if (!tslib_1.__classPrivateFieldGet(this, _LineDecoder_buffer, "f").length) {
55
+ return [];
56
+ }
57
+ return this.decode('\n');
58
+ }
59
+ }
60
+ exports.LineDecoder = LineDecoder;
61
+ _LineDecoder_buffer = new WeakMap(), _LineDecoder_carriageReturnIndex = new WeakMap();
62
+ // prettier-ignore
63
+ LineDecoder.NEWLINE_CHARS = new Set(['\n', '\r']);
64
+ LineDecoder.NEWLINE_REGEXP = /\r\n|[\n\r]/g;
65
+ /**
66
+ * This function searches the buffer for the end patterns, (\r or \n)
67
+ * and returns an object with the index preceding the matched newline and the
68
+ * index after the newline char. `null` is returned if no new line is found.
69
+ *
70
+ * ```ts
71
+ * findNewLineIndex('abc\ndef') -> { preceding: 2, index: 3 }
72
+ * ```
73
+ */
74
+ function findNewlineIndex(buffer, startIndex) {
75
+ const newline = 0x0a; // \n
76
+ const carriage = 0x0d; // \r
77
+ for (let i = startIndex ?? 0; i < buffer.length; i++) {
78
+ if (buffer[i] === newline) {
79
+ return { preceding: i, index: i + 1, carriage: false };
80
+ }
81
+ if (buffer[i] === carriage) {
82
+ return { preceding: i, index: i + 1, carriage: true };
83
+ }
84
+ }
85
+ return null;
86
+ }
87
+ function findDoubleNewlineIndex(buffer) {
88
+ // This function searches the buffer for the end patterns (\r\r, \n\n, \r\n\r\n)
89
+ // and returns the index right after the first occurrence of any pattern,
90
+ // or -1 if none of the patterns are found.
91
+ const newline = 0x0a; // \n
92
+ const carriage = 0x0d; // \r
93
+ for (let i = 0; i < buffer.length - 1; i++) {
94
+ if (buffer[i] === newline && buffer[i + 1] === newline) {
95
+ // \n\n
96
+ return i + 2;
97
+ }
98
+ if (buffer[i] === carriage && buffer[i + 1] === carriage) {
99
+ // \r\r
100
+ return i + 2;
101
+ }
102
+ if (buffer[i] === carriage &&
103
+ buffer[i + 1] === newline &&
104
+ i + 3 < buffer.length &&
105
+ buffer[i + 2] === carriage &&
106
+ buffer[i + 3] === newline) {
107
+ // \r\n\r\n
108
+ return i + 4;
109
+ }
110
+ }
111
+ return -1;
112
+ }
113
+ //# sourceMappingURL=line.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line.js","sourceRoot":"","sources":["../../src/internal/decoders/line.ts"],"names":[],"mappings":";;;;AAyGA,wDA6BC;;AAtID,6CAAqE;AAIrE;;;;;GAKG;AACH,MAAa,WAAW;IAQtB;QAHA,sCAAoB;QACpB,mDAAoC;QAGlC,+BAAA,IAAI,uBAAW,IAAI,UAAU,EAAE,MAAA,CAAC;QAChC,+BAAA,IAAI,oCAAwB,IAAI,MAAA,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,KAAY;QACjB,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAClB,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,MAAM,WAAW,GACf,KAAK,YAAY,WAAW,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC;YACpD,CAAC,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAA,kBAAU,EAAC,KAAK,CAAC;gBAC/C,CAAC,CAAC,KAAK,CAAC;QAEV,+BAAA,IAAI,uBAAW,IAAA,mBAAW,EAAC,CAAC,+BAAA,IAAI,2BAAQ,EAAE,WAAW,CAAC,CAAC,MAAA,CAAC;QAExD,MAAM,KAAK,GAAa,EAAE,CAAC;QAC3B,IAAI,YAAY,CAAC;QACjB,OAAO,CAAC,YAAY,GAAG,gBAAgB,CAAC,+BAAA,IAAI,2BAAQ,EAAE,+BAAA,IAAI,wCAAqB,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC;YAC1F,IAAI,YAAY,CAAC,QAAQ,IAAI,+BAAA,IAAI,wCAAqB,IAAI,IAAI,EAAE,CAAC;gBAC/D,uEAAuE;gBACvE,+BAAA,IAAI,oCAAwB,YAAY,CAAC,KAAK,MAAA,CAAC;gBAC/C,SAAS;YACX,CAAC;YAED,+BAA+B;YAC/B,IACE,+BAAA,IAAI,wCAAqB,IAAI,IAAI;gBACjC,CAAC,YAAY,CAAC,KAAK,KAAK,+BAAA,IAAI,wCAAqB,GAAG,CAAC,IAAI,YAAY,CAAC,QAAQ,CAAC,EAC/E,CAAC;gBACD,KAAK,CAAC,IAAI,CAAC,IAAA,kBAAU,EAAC,+BAAA,IAAI,2BAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,+BAAA,IAAI,wCAAqB,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;gBAChF,+BAAA,IAAI,uBAAW,+BAAA,IAAI,2BAAQ,CAAC,QAAQ,CAAC,+BAAA,IAAI,wCAAqB,CAAC,MAAA,CAAC;gBAChE,+BAAA,IAAI,oCAAwB,IAAI,MAAA,CAAC;gBACjC,SAAS;YACX,CAAC;YAED,MAAM,QAAQ,GACZ,+BAAA,IAAI,wCAAqB,KAAK,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,SAAS,CAAC;YAE3F,MAAM,IAAI,GAAG,IAAA,kBAAU,EAAC,+BAAA,IAAI,2BAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;YAC5D,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YAEjB,+BAAA,IAAI,uBAAW,+BAAA,IAAI,2BAAQ,CAAC,QAAQ,CAAC,YAAY,CAAC,KAAK,CAAC,MAAA,CAAC;YACzD,+BAAA,IAAI,oCAAwB,IAAI,MAAA,CAAC;QACnC,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC;IAED,KAAK;QACH,IAAI,CAAC,+BAAA,IAAI,2BAAQ,CAAC,MAAM,EAAE,CAAC;YACzB,OAAO,EAAE,CAAC;QACZ,CAAC;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;;AA/DH,kCAgEC;;AA/DC,kBAAkB;AACX,yBAAa,GAAG,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,AAAxB,CAAyB;AACtC,0BAAc,GAAG,cAAc,AAAjB,CAAkB;AA+DzC;;;;;;;;GAQG;AACH,SAAS,gBAAgB,CACvB,MAAkB,EAClB,UAAyB;IAEzB,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,KAAK;IAC3B,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,KAAK;IAE5B,KAAK,IAAI,CAAC,GAAG,UAAU,IAAI,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACrD,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC;YAC1B,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;QACzD,CAAC;QAED,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE,CAAC;YAC3B,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QACxD,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAgB,sBAAsB,CAAC,MAAkB;IACvD,gFAAgF;IAChF,yEAAyE;IACzE,2CAA2C;IAC3C,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,KAAK;IAC3B,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC,KAAK;IAE5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;QAC3C,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,OAAO,IAAI,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC;YACvD,OAAO;YACP,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;QACD,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,QAAQ,EAAE,CAAC;YACzD,OAAO;YACP,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;QACD,IACE,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ;YACtB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO;YACzB,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM;YACrB,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,QAAQ;YAC1B,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,OAAO,EACzB,CAAC;YACD,WAAW;YACX,OAAO,CAAC,GAAG,CAAC,CAAC;QACf,CAAC;IACH,CAAC;IAED,OAAO,CAAC,CAAC,CAAC;AACZ,CAAC"}