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.
- package/dist/cli.js +19 -19
- package/dist/headless-events.d.ts +2 -0
- package/dist/headless-events.js +3 -0
- package/dist/headless-ui.d.ts +27 -1
- package/dist/headless-ui.js +203 -13
- package/dist/headless.js +62 -7
- package/dist/resources/extensions/bg-shell/bg-shell-lifecycle.js +2 -2
- package/dist/resources/extensions/bg-shell/utilities.js +34 -5
- package/dist/resources/extensions/gsd/auto/phases.js +22 -3
- package/dist/resources/extensions/gsd/auto/run-unit.js +6 -0
- package/dist/resources/extensions/gsd/auto/session.js +2 -0
- package/dist/resources/extensions/gsd/auto-artifact-paths.js +6 -0
- package/dist/resources/extensions/gsd/auto-dashboard.js +5 -2
- package/dist/resources/extensions/gsd/auto-dispatch.js +1 -1
- package/dist/resources/extensions/gsd/auto-model-selection.js +28 -4
- package/dist/resources/extensions/gsd/auto-post-unit.js +1 -1
- package/dist/resources/extensions/gsd/auto-prompts.js +9 -0
- package/dist/resources/extensions/gsd/auto-start.js +31 -11
- package/dist/resources/extensions/gsd/auto-worktree.js +39 -14
- package/dist/resources/extensions/gsd/bootstrap/agent-end-recovery.js +5 -1
- package/dist/resources/extensions/gsd/bootstrap/provider-error-resume.js +18 -0
- package/dist/resources/extensions/gsd/bootstrap/register-extension.js +18 -5
- package/dist/resources/extensions/gsd/bootstrap/register-shortcuts.js +20 -0
- package/dist/resources/extensions/gsd/commands/catalog.js +2 -1
- package/dist/resources/extensions/gsd/commands/handlers/parallel.js +15 -1
- package/dist/resources/extensions/gsd/complexity-classifier.js +1 -0
- package/dist/resources/extensions/gsd/crash-recovery.js +2 -2
- package/dist/resources/extensions/gsd/dashboard-overlay.js +2 -0
- package/dist/resources/extensions/gsd/docs/preferences-reference.md +4 -2
- package/dist/resources/extensions/gsd/guided-flow.js +17 -16
- package/dist/resources/extensions/gsd/metrics.js +4 -1
- package/dist/resources/extensions/gsd/parallel-monitor-overlay.js +413 -0
- package/dist/resources/extensions/gsd/parallel-orchestrator.js +5 -1
- package/dist/resources/extensions/gsd/preferences-models.js +12 -0
- package/dist/resources/extensions/gsd/roadmap-slices.js +1 -0
- package/dist/resources/extensions/gsd/session-lock.js +46 -12
- package/dist/resources/extensions/gsd/skill-health.js +2 -2
- package/dist/resources/extensions/gsd/visualizer-overlay.js +3 -3
- package/dist/resources/extensions/shared/format-utils.js +1 -1
- package/dist/resources/extensions/subagent/agents.js +8 -3
- package/dist/resources/extensions/subagent/worker-registry.js +2 -1
- package/dist/web/standalone/.next/BUILD_ID +1 -1
- package/dist/web/standalone/.next/app-path-routes-manifest.json +20 -20
- package/dist/web/standalone/.next/build-manifest.json +4 -4
- package/dist/web/standalone/.next/prerender-manifest.json +3 -3
- package/dist/web/standalone/.next/react-loadable-manifest.json +2 -2
- package/dist/web/standalone/.next/required-server-files.json +3 -3
- package/dist/web/standalone/.next/server/app/_global-error/page.js +3 -3
- package/dist/web/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.html +2 -2
- package/dist/web/standalone/.next/server/app/_global-error.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found/page.js +2 -2
- package/dist/web/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.html +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.rsc +3 -3
- package/dist/web/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +3 -3
- package/dist/web/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +3 -3
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/api/boot/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/boot/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/input/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/input/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/resize/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/resize/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/stream/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/bridge-terminal/stream/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/browse-directories/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/browse-directories/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/captures/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/captures/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/cleanup/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/cleanup/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/dev-mode/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/dev-mode/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/doctor/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/doctor/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/experimental/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/experimental/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/export-data/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/export-data/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/files/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/files/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/forensics/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/forensics/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/git/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/git/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/history/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/history/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/hooks/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/hooks/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/inspect/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/inspect/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/knowledge/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/knowledge/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/live-state/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/live-state/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/onboarding/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/onboarding/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/preferences/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/preferences/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/projects/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/projects/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/recovery/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/recovery/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/remote-questions/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/remote-questions/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/browser/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/browser/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/command/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/command/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/events/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/session/events/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/manage/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/session/manage/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/settings-data/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/settings-data/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/shutdown/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/skill-health/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/skill-health/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/steer/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/steer/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/switch-root/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/switch-root/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/input/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/terminal/input/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/resize/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/terminal/resize/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/sessions/route.js +2 -2
- package/dist/web/standalone/.next/server/app/api/terminal/sessions/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/stream/route.js +4 -4
- package/dist/web/standalone/.next/server/app/api/terminal/stream/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/upload/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/terminal/upload/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/undo/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/undo/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/update/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/update/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/api/visualizer/route.js +1 -1
- package/dist/web/standalone/.next/server/app/api/visualizer/route_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app/index.html +1 -1
- package/dist/web/standalone/.next/server/app/index.rsc +4 -4
- package/dist/web/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/dist/web/standalone/.next/server/app/index.segments/_full.segment.rsc +4 -4
- package/dist/web/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/index.segments/_index.segment.rsc +3 -3
- package/dist/web/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/dist/web/standalone/.next/server/app/page.js +2 -2
- package/dist/web/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dist/web/standalone/.next/server/app-paths-manifest.json +20 -20
- package/dist/web/standalone/.next/server/chunks/2229.js +3 -3
- package/dist/web/standalone/.next/server/chunks/7471.js +3 -3
- package/dist/web/standalone/.next/server/middleware-build-manifest.js +1 -1
- package/dist/web/standalone/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/dist/web/standalone/.next/server/middleware.js +2 -2
- package/dist/web/standalone/.next/server/next-font-manifest.js +1 -1
- package/dist/web/standalone/.next/server/next-font-manifest.json +1 -1
- package/dist/web/standalone/.next/server/pages/404.html +1 -1
- package/dist/web/standalone/.next/server/pages/500.html +2 -2
- package/dist/web/standalone/.next/server/server-reference-manifest.json +1 -1
- package/dist/web/standalone/.next/static/chunks/6502.2305d0afd2385711.js +9 -0
- package/dist/web/standalone/.next/static/chunks/app/_not-found/{page-2f24283c162b6ab3.js → page-f2a7482d42a5614b.js} +1 -1
- package/dist/web/standalone/.next/static/chunks/app/{layout-9ecfd95f343793f0.js → layout-a16c7a7ecdf0c2cf.js} +1 -1
- package/dist/web/standalone/.next/static/chunks/app/page-0c485498795110d6.js +1 -0
- package/dist/web/standalone/.next/static/chunks/main-app-fdab67f7802d7832.js +1 -0
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/global-error-459824ffb8c323dd.js +1 -0
- package/dist/web/standalone/.next/static/chunks/{webpack-bca0e732db0dcec3.js → webpack-4332cbd5dd1be584.js} +1 -1
- package/dist/web/standalone/node_modules/node-pty/build/Makefile +2 -2
- package/dist/web/standalone/node_modules/node-pty/build/Release/pty.node +0 -0
- package/dist/web/standalone/node_modules/node-pty/build/pty.target.mk +14 -14
- package/dist/web/standalone/node_modules/node-pty/node-addon-api/node_addon_api.target.mk +14 -14
- package/dist/web/standalone/node_modules/node-pty/node-addon-api/node_addon_api_except.target.mk +14 -14
- package/dist/web/standalone/node_modules/node-pty/node-addon-api/node_addon_api_maybe.target.mk +14 -14
- package/dist/web/standalone/server.js +1 -1
- package/package.json +6 -4
- package/packages/daemon/node_modules/@anthropic-ai/sdk/CHANGELOG.md +1677 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/LICENSE +8 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/README.md +674 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js +226 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs +223 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.js +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.mjs +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/api-promise.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/bin/cli +53 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/bin/migration-config.json +7 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/client.d.mts +225 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/client.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/client.d.ts +225 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/client.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/client.js +536 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/client.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/client.mjs +531 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/client.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts +49 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts +49 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.js +76 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.mjs +72 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/api-promise.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.d.mts +47 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.d.ts +47 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.js +114 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.mjs +98 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/error.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.d.mts +63 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.d.ts +63 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.js +123 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.mjs +117 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/pagination.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.d.mts +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.d.ts +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.js +11 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.mjs +7 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/resource.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.d.mts +31 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.d.ts +31 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.js +282 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.mjs +277 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/streaming.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.d.mts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.d.ts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.js +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.mjs +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/core/uploads.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/error.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/error.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/error.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/error.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/error.js +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/error.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/error.mjs +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/error.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/index.d.mts +7 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/index.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/index.d.ts +7 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/index.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/index.js +35 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/index.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/index.mjs +8 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/index.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts +73 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts +73 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.js +4 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/builtin-types.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.d.mts +5 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.d.ts +5 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.js +15 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.mjs +12 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/constants.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts +10 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts +10 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js +39 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs +35 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts +17 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts +17 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.js +113 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs +108 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts +15 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts +15 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.js +162 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs +157 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.d.mts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.d.ts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.js +41 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.mjs +36 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/errors.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.d.mts +22 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.d.ts +22 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.js +79 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.mjs +74 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/headers.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.d.mts +17 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.d.ts +17 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.js +55 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.mjs +51 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/parse.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts +34 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts +34 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.js +14 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.mjs +10 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/request-options.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shim-types.d.mts +28 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shim-types.d.ts +28 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.d.mts +20 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.d.ts +20 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.js +92 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.mjs +85 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/shims.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts +8 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts +8 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.js +38 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs +35 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/stream-utils.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts +45 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts +45 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.js +96 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.mjs +93 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/to-file.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/tslib.js +81 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/tslib.mjs +17 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.d.mts +67 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.d.ts +67 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.js +4 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.mjs +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/types.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts +42 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts +42 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.js +146 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.mjs +136 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/uploads.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.js +38 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs +33 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts +4 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts +4 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js +31 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs +26 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts +9 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts +9 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.js +22 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs +18 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts +37 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts +37 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.js +86 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs +80 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts +15 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts +15 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.js +58 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs +53 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js +7 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts +5 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts +5 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js +19 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs +15 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts +16 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts +16 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.js +109 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs +92 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.d.mts +7 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.d.ts +7 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.js +11 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.mjs +8 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/internal/utils.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts +114 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts +114 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js +553 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs +549 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts +114 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts +114 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.js +553 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs +549 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/package.json +185 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.js +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.mjs +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/pagination.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.js +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.mjs +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resource.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts +61 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts +61 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.js +25 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs +20 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts +151 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts +151 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.js +122 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs +118 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts +5 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts +5 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.js +13 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/index.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts +343 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts +343 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js +204 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs +200 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js +9 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs +4 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/index.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts +1561 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts +1561 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js +86 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs +81 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.js +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/messages.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts +74 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts +74 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.js +60 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs +56 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.js +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.mjs +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/beta.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.d.mts +183 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.d.ts +183 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.js +23 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.mjs +19 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/completions.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.d.mts +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.d.ts +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.js +15 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.mjs +7 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/index.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts +304 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts +304 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.js +153 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs +149 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.js +9 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs +4 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/index.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts +1264 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts +1264 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.js +72 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs +67 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.js +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.mjs +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/messages.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.d.mts +59 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.d.ts +59 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.js +45 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.mjs +41 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/models.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.d.mts +42 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.d.ts +42 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.js +4 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.mjs +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/shared.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.js +4 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.mjs +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources/top-level.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.js +5 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.mjs +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/resources.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/README.md +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/parser.ts +264 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/api-promise.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/client.ts +1070 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/README.md +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/api-promise.ts +101 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/error.ts +133 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/pagination.ts +201 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/resource.ts +11 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/streaming.ts +331 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/core/uploads.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/error.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/index.ts +23 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/README.md +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/builtin-types.ts +93 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/constants.ts +12 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/decoders/jsonl.ts +48 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/decoders/line.ts +135 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/detect-platform.ts +196 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/errors.ts +33 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/headers.ts +99 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/parse.ts +84 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/request-options.ts +39 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/shim-types.d.ts +28 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/shims.ts +107 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/stream-utils.ts +32 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/to-file.ts +159 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/types.ts +92 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/uploads.ts +193 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/base64.ts +40 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/bytes.ts +32 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/env.ts +18 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/log.ts +127 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/path.ts +65 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/sleep.ts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/uuid.ts +17 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils/values.ts +102 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/internal/utils.ts +8 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/lib/.keep +4 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/lib/BetaMessageStream.ts +683 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/lib/MessageStream.ts +684 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/pagination.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resource.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/beta.ts +380 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/files.ts +258 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/index.ts +148 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/batches.ts +502 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/index.ts +135 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/messages/messages.ts +2249 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/messages.ts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta/models.ts +118 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/beta.ts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/completions.ts +231 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/index.ts +121 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/messages/batches.ts +396 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/messages/index.ts +110 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/messages/messages.ts +1783 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/messages.ts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/models.ts +103 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/shared.ts +72 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources/top-level.ts +3 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/resources.ts +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/streaming.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/tsconfig.json +11 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/uploads.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/src/version.ts +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.js +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.mjs +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/streaming.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.js +6 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.mjs +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/uploads.mjs.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/version.d.mts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/version.d.mts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/version.d.ts +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/version.d.ts.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/version.js +5 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/version.js.map +1 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/version.mjs +2 -0
- package/packages/daemon/node_modules/@anthropic-ai/sdk/version.mjs.map +1 -0
- package/packages/daemon/node_modules/zod/LICENSE +21 -0
- package/packages/daemon/node_modules/zod/README.md +208 -0
- package/packages/daemon/node_modules/zod/index.cjs +33 -0
- package/packages/daemon/node_modules/zod/index.d.cts +4 -0
- package/packages/daemon/node_modules/zod/index.d.ts +4 -0
- package/packages/daemon/node_modules/zod/index.js +4 -0
- package/packages/daemon/node_modules/zod/package.json +118 -0
- package/packages/daemon/node_modules/zod/src/index.ts +4 -0
- package/packages/daemon/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/packages/daemon/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/packages/daemon/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/packages/daemon/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/packages/daemon/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/packages/daemon/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/packages/daemon/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/packages/daemon/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/packages/daemon/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/packages/daemon/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/packages/daemon/node_modules/zod/src/v3/errors.ts +13 -0
- package/packages/daemon/node_modules/zod/src/v3/external.ts +6 -0
- package/packages/daemon/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/packages/daemon/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/packages/daemon/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/packages/daemon/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/packages/daemon/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/packages/daemon/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/packages/daemon/node_modules/zod/src/v3/index.ts +4 -0
- package/packages/daemon/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/packages/daemon/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/function.test.ts +257 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/packages/daemon/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/packages/daemon/node_modules/zod/src/v3/types.ts +5136 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/packages/daemon/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/packages/daemon/node_modules/zod/src/v4/core/api.ts +1594 -0
- package/packages/daemon/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/packages/daemon/node_modules/zod/src/v4/core/config.ts +15 -0
- package/packages/daemon/node_modules/zod/src/v4/core/core.ts +134 -0
- package/packages/daemon/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/packages/daemon/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/packages/daemon/node_modules/zod/src/v4/core/function.ts +176 -0
- package/packages/daemon/node_modules/zod/src/v4/core/index.ts +15 -0
- package/packages/daemon/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/packages/daemon/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/packages/daemon/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/packages/daemon/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/packages/daemon/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/packages/daemon/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
- package/packages/daemon/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/packages/daemon/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/packages/daemon/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/packages/daemon/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/packages/daemon/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/packages/daemon/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/packages/daemon/node_modules/zod/src/v4/core/util.ts +775 -0
- package/packages/daemon/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/packages/daemon/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/packages/daemon/node_modules/zod/src/v4/index.ts +4 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/ar.ts +125 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/packages/daemon/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
- package/packages/daemon/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/packages/daemon/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/packages/daemon/node_modules/zod/v3/ZodError.cjs +138 -0
- package/packages/daemon/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/packages/daemon/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/packages/daemon/node_modules/zod/v3/ZodError.js +133 -0
- package/packages/daemon/node_modules/zod/v3/errors.cjs +17 -0
- package/packages/daemon/node_modules/zod/v3/errors.d.cts +5 -0
- package/packages/daemon/node_modules/zod/v3/errors.d.ts +5 -0
- package/packages/daemon/node_modules/zod/v3/errors.js +9 -0
- package/packages/daemon/node_modules/zod/v3/external.cjs +22 -0
- package/packages/daemon/node_modules/zod/v3/external.d.cts +6 -0
- package/packages/daemon/node_modules/zod/v3/external.d.ts +6 -0
- package/packages/daemon/node_modules/zod/v3/external.js +6 -0
- package/packages/daemon/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/packages/daemon/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/packages/daemon/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/packages/daemon/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/packages/daemon/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/packages/daemon/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/packages/daemon/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/packages/daemon/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/packages/daemon/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/packages/daemon/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/packages/daemon/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/packages/daemon/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/packages/daemon/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/packages/daemon/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/packages/daemon/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/packages/daemon/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/packages/daemon/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/packages/daemon/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/packages/daemon/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/packages/daemon/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/packages/daemon/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/packages/daemon/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/packages/daemon/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/packages/daemon/node_modules/zod/v3/helpers/util.js +133 -0
- package/packages/daemon/node_modules/zod/v3/index.cjs +33 -0
- package/packages/daemon/node_modules/zod/v3/index.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v3/index.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v3/index.js +4 -0
- package/packages/daemon/node_modules/zod/v3/locales/en.cjs +111 -0
- package/packages/daemon/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/packages/daemon/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/packages/daemon/node_modules/zod/v3/locales/en.js +109 -0
- package/packages/daemon/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/packages/daemon/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/packages/daemon/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/packages/daemon/node_modules/zod/v3/standard-schema.js +1 -0
- package/packages/daemon/node_modules/zod/v3/types.cjs +3775 -0
- package/packages/daemon/node_modules/zod/v3/types.d.cts +1031 -0
- package/packages/daemon/node_modules/zod/v3/types.d.ts +1031 -0
- package/packages/daemon/node_modules/zod/v3/types.js +3693 -0
- package/packages/daemon/node_modules/zod/v4/classic/checks.cjs +32 -0
- package/packages/daemon/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/packages/daemon/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/packages/daemon/node_modules/zod/v4/classic/checks.js +1 -0
- package/packages/daemon/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/packages/daemon/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/packages/daemon/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/packages/daemon/node_modules/zod/v4/classic/coerce.js +17 -0
- package/packages/daemon/node_modules/zod/v4/classic/compat.cjs +57 -0
- package/packages/daemon/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/packages/daemon/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/packages/daemon/node_modules/zod/v4/classic/compat.js +27 -0
- package/packages/daemon/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/packages/daemon/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/packages/daemon/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/packages/daemon/node_modules/zod/v4/classic/errors.js +41 -0
- package/packages/daemon/node_modules/zod/v4/classic/external.cjs +70 -0
- package/packages/daemon/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/packages/daemon/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/packages/daemon/node_modules/zod/v4/classic/external.js +18 -0
- package/packages/daemon/node_modules/zod/v4/classic/index.cjs +33 -0
- package/packages/daemon/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/classic/index.js +4 -0
- package/packages/daemon/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/packages/daemon/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/packages/daemon/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/packages/daemon/node_modules/zod/v4/classic/iso.js +30 -0
- package/packages/daemon/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/packages/daemon/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/packages/daemon/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/packages/daemon/node_modules/zod/v4/classic/parse.js +6 -0
- package/packages/daemon/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/packages/daemon/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/packages/daemon/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/packages/daemon/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/packages/daemon/node_modules/zod/v4/core/api.cjs +1039 -0
- package/packages/daemon/node_modules/zod/v4/core/api.d.cts +284 -0
- package/packages/daemon/node_modules/zod/v4/core/api.d.ts +284 -0
- package/packages/daemon/node_modules/zod/v4/core/api.js +906 -0
- package/packages/daemon/node_modules/zod/v4/core/checks.cjs +591 -0
- package/packages/daemon/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/packages/daemon/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/packages/daemon/node_modules/zod/v4/core/checks.js +565 -0
- package/packages/daemon/node_modules/zod/v4/core/core.cjs +67 -0
- package/packages/daemon/node_modules/zod/v4/core/core.d.cts +49 -0
- package/packages/daemon/node_modules/zod/v4/core/core.d.ts +49 -0
- package/packages/daemon/node_modules/zod/v4/core/core.js +61 -0
- package/packages/daemon/node_modules/zod/v4/core/doc.cjs +39 -0
- package/packages/daemon/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/packages/daemon/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/packages/daemon/node_modules/zod/v4/core/doc.js +35 -0
- package/packages/daemon/node_modules/zod/v4/core/errors.cjs +226 -0
- package/packages/daemon/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/packages/daemon/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/packages/daemon/node_modules/zod/v4/core/errors.js +195 -0
- package/packages/daemon/node_modules/zod/v4/core/function.cjs +102 -0
- package/packages/daemon/node_modules/zod/v4/core/function.d.cts +52 -0
- package/packages/daemon/node_modules/zod/v4/core/function.d.ts +52 -0
- package/packages/daemon/node_modules/zod/v4/core/function.js +75 -0
- package/packages/daemon/node_modules/zod/v4/core/index.cjs +44 -0
- package/packages/daemon/node_modules/zod/v4/core/index.d.cts +15 -0
- package/packages/daemon/node_modules/zod/v4/core/index.d.ts +15 -0
- package/packages/daemon/node_modules/zod/v4/core/index.js +15 -0
- package/packages/daemon/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/packages/daemon/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/packages/daemon/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/packages/daemon/node_modules/zod/v4/core/json-schema.js +1 -0
- package/packages/daemon/node_modules/zod/v4/core/parse.cjs +87 -0
- package/packages/daemon/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/packages/daemon/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/packages/daemon/node_modules/zod/v4/core/parse.js +57 -0
- package/packages/daemon/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/packages/daemon/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/packages/daemon/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/packages/daemon/node_modules/zod/v4/core/regexes.js +95 -0
- package/packages/daemon/node_modules/zod/v4/core/registries.cjs +56 -0
- package/packages/daemon/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/packages/daemon/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/packages/daemon/node_modules/zod/v4/core/registries.js +51 -0
- package/packages/daemon/node_modules/zod/v4/core/schemas.cjs +1748 -0
- package/packages/daemon/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/packages/daemon/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/packages/daemon/node_modules/zod/v4/core/schemas.js +1717 -0
- package/packages/daemon/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/packages/daemon/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/packages/daemon/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/packages/daemon/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/packages/daemon/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/packages/daemon/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/packages/daemon/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/packages/daemon/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/packages/daemon/node_modules/zod/v4/core/util.cjs +539 -0
- package/packages/daemon/node_modules/zod/v4/core/util.d.cts +183 -0
- package/packages/daemon/node_modules/zod/v4/core/util.d.ts +183 -0
- package/packages/daemon/node_modules/zod/v4/core/util.js +493 -0
- package/packages/daemon/node_modules/zod/v4/core/versions.cjs +8 -0
- package/packages/daemon/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/packages/daemon/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/packages/daemon/node_modules/zod/v4/core/versions.js +5 -0
- package/packages/daemon/node_modules/zod/v4/index.cjs +22 -0
- package/packages/daemon/node_modules/zod/v4/index.d.cts +3 -0
- package/packages/daemon/node_modules/zod/v4/index.d.ts +3 -0
- package/packages/daemon/node_modules/zod/v4/index.js +3 -0
- package/packages/daemon/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/packages/daemon/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ar.js +116 -0
- package/packages/daemon/node_modules/zod/v4/locales/az.cjs +141 -0
- package/packages/daemon/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/az.js +115 -0
- package/packages/daemon/node_modules/zod/v4/locales/be.cjs +190 -0
- package/packages/daemon/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/be.js +164 -0
- package/packages/daemon/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/packages/daemon/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ca.js +118 -0
- package/packages/daemon/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/packages/daemon/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/cs.js +135 -0
- package/packages/daemon/node_modules/zod/v4/locales/de.cjs +142 -0
- package/packages/daemon/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/de.js +116 -0
- package/packages/daemon/node_modules/zod/v4/locales/en.cjs +145 -0
- package/packages/daemon/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/packages/daemon/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/packages/daemon/node_modules/zod/v4/locales/en.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/packages/daemon/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/packages/daemon/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/packages/daemon/node_modules/zod/v4/locales/eo.js +116 -0
- package/packages/daemon/node_modules/zod/v4/locales/es.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/es.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/packages/daemon/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/fa.js +122 -0
- package/packages/daemon/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/packages/daemon/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/fi.js +122 -0
- package/packages/daemon/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/packages/daemon/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/fr.js +116 -0
- package/packages/daemon/node_modules/zod/v4/locales/he.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/he.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/hu.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/id.cjs +142 -0
- package/packages/daemon/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/id.js +116 -0
- package/packages/daemon/node_modules/zod/v4/locales/index.cjs +84 -0
- package/packages/daemon/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/packages/daemon/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/packages/daemon/node_modules/zod/v4/locales/index.js +39 -0
- package/packages/daemon/node_modules/zod/v4/locales/it.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/it.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/packages/daemon/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ja.js +115 -0
- package/packages/daemon/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/kh.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/packages/daemon/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ko.js +121 -0
- package/packages/daemon/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/packages/daemon/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/mk.js +118 -0
- package/packages/daemon/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/packages/daemon/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ms.js +116 -0
- package/packages/daemon/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/nl.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/no.cjs +142 -0
- package/packages/daemon/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/no.js +116 -0
- package/packages/daemon/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ota.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/pl.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/packages/daemon/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ps.js +122 -0
- package/packages/daemon/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/packages/daemon/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/pt.js +116 -0
- package/packages/daemon/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/packages/daemon/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ru.js +164 -0
- package/packages/daemon/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/sl.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/packages/daemon/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/sv.js +118 -0
- package/packages/daemon/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ta.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/th.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/th.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/packages/daemon/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/packages/daemon/node_modules/zod/v4/locales/tr.js +115 -0
- package/packages/daemon/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ua.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/ur.js +117 -0
- package/packages/daemon/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/packages/daemon/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/vi.js +116 -0
- package/packages/daemon/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/packages/daemon/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/packages/daemon/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/packages/daemon/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/packages/daemon/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/packages/daemon/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/packages/daemon/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/packages/daemon/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/packages/daemon/node_modules/zod/v4/mini/checks.js +1 -0
- package/packages/daemon/node_modules/zod/v4/mini/coerce.cjs +47 -0
- package/packages/daemon/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/packages/daemon/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/packages/daemon/node_modules/zod/v4/mini/coerce.js +17 -0
- package/packages/daemon/node_modules/zod/v4/mini/external.cjs +62 -0
- package/packages/daemon/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/packages/daemon/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/packages/daemon/node_modules/zod/v4/mini/external.js +13 -0
- package/packages/daemon/node_modules/zod/v4/mini/index.cjs +32 -0
- package/packages/daemon/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/packages/daemon/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/packages/daemon/node_modules/zod/v4/mini/index.js +3 -0
- package/packages/daemon/node_modules/zod/v4/mini/iso.cjs +60 -0
- package/packages/daemon/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/packages/daemon/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/packages/daemon/node_modules/zod/v4/mini/iso.js +30 -0
- package/packages/daemon/node_modules/zod/v4/mini/parse.cjs +8 -0
- package/packages/daemon/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/packages/daemon/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/packages/daemon/node_modules/zod/v4/mini/parse.js +1 -0
- package/packages/daemon/node_modules/zod/v4/mini/schemas.cjs +839 -0
- package/packages/daemon/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/packages/daemon/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/packages/daemon/node_modules/zod/v4/mini/schemas.js +732 -0
- package/packages/daemon/node_modules/zod/v4-mini/index.cjs +17 -0
- package/packages/daemon/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/packages/daemon/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/packages/daemon/node_modules/zod/v4-mini/index.js +1 -0
- package/packages/daemon/package.json +48 -0
- package/packages/daemon/src/channel-manager.ts +223 -0
- package/packages/daemon/src/cli.ts +47 -0
- package/packages/daemon/src/commands.ts +110 -0
- package/packages/daemon/src/config.ts +137 -0
- package/packages/daemon/src/daemon.test.ts +660 -0
- package/packages/daemon/src/daemon.ts +176 -0
- package/packages/daemon/src/discord-bot.test.ts +792 -0
- package/packages/daemon/src/discord-bot.ts +421 -0
- package/packages/daemon/src/event-bridge.test.ts +619 -0
- package/packages/daemon/src/event-bridge.ts +488 -0
- package/packages/daemon/src/event-formatter.test.ts +402 -0
- package/packages/daemon/src/event-formatter.ts +386 -0
- package/packages/daemon/src/index.ts +46 -0
- package/packages/daemon/src/logger.ts +88 -0
- package/packages/daemon/src/message-batcher.test.ts +308 -0
- package/packages/daemon/src/message-batcher.ts +210 -0
- package/packages/daemon/src/orchestrator.test.ts +583 -0
- package/packages/daemon/src/orchestrator.ts +440 -0
- package/packages/daemon/src/project-scanner.test.ts +235 -0
- package/packages/daemon/src/project-scanner.ts +99 -0
- package/packages/daemon/src/session-manager.test.ts +822 -0
- package/packages/daemon/src/session-manager.ts +394 -0
- package/packages/daemon/src/types.ts +199 -0
- package/packages/daemon/src/verbosity.test.ts +171 -0
- package/packages/daemon/src/verbosity.ts +101 -0
- package/packages/daemon/tsconfig.json +24 -0
- package/packages/pi-ai/dist/models.custom.d.ts +23 -0
- package/packages/pi-ai/dist/models.custom.d.ts.map +1 -1
- package/packages/pi-ai/dist/models.custom.js +24 -0
- package/packages/pi-ai/dist/models.custom.js.map +1 -1
- package/packages/pi-ai/dist/models.test.js +29 -0
- package/packages/pi-ai/dist/models.test.js.map +1 -1
- package/packages/pi-ai/src/models.custom.ts +25 -0
- package/packages/pi-ai/src/models.test.ts +33 -0
- package/packages/pi-coding-agent/dist/core/model-registry.d.ts +1 -1
- package/packages/pi-coding-agent/dist/core/model-registry.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/core/model-registry.js.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/components/provider-manager.d.ts +2 -0
- package/packages/pi-coding-agent/dist/modes/interactive/components/provider-manager.d.ts.map +1 -1
- package/packages/pi-coding-agent/dist/modes/interactive/components/provider-manager.js +14 -2
- package/packages/pi-coding-agent/dist/modes/interactive/components/provider-manager.js.map +1 -1
- package/packages/pi-coding-agent/package.json +1 -1
- package/packages/pi-coding-agent/src/core/model-registry.ts +1 -1
- package/packages/pi-coding-agent/src/modes/interactive/components/provider-manager.ts +16 -2
- package/pkg/package.json +1 -1
- package/scripts/ensure-workspace-builds.cjs +45 -41
- package/src/resources/extensions/bg-shell/bg-shell-lifecycle.ts +2 -2
- package/src/resources/extensions/bg-shell/utilities.ts +39 -4
- package/src/resources/extensions/gsd/auto/loop-deps.ts +4 -1
- package/src/resources/extensions/gsd/auto/phases.ts +28 -4
- package/src/resources/extensions/gsd/auto/run-unit.ts +10 -0
- package/src/resources/extensions/gsd/auto/session.ts +3 -0
- package/src/resources/extensions/gsd/auto-artifact-paths.ts +6 -0
- package/src/resources/extensions/gsd/auto-dashboard.ts +5 -2
- package/src/resources/extensions/gsd/auto-dispatch.ts +1 -1
- package/src/resources/extensions/gsd/auto-model-selection.ts +33 -3
- package/src/resources/extensions/gsd/auto-post-unit.ts +1 -1
- package/src/resources/extensions/gsd/auto-prompts.ts +15 -0
- package/src/resources/extensions/gsd/auto-start.ts +36 -11
- package/src/resources/extensions/gsd/auto-worktree.ts +46 -13
- package/src/resources/extensions/gsd/bootstrap/agent-end-recovery.ts +5 -4
- package/src/resources/extensions/gsd/bootstrap/provider-error-resume.ts +53 -0
- package/src/resources/extensions/gsd/bootstrap/register-extension.ts +19 -6
- package/src/resources/extensions/gsd/bootstrap/register-shortcuts.ts +24 -0
- package/src/resources/extensions/gsd/commands/catalog.ts +2 -1
- package/src/resources/extensions/gsd/commands/handlers/parallel.ts +19 -1
- package/src/resources/extensions/gsd/complexity-classifier.ts +1 -0
- package/src/resources/extensions/gsd/crash-recovery.ts +2 -3
- package/src/resources/extensions/gsd/dashboard-overlay.ts +2 -0
- package/src/resources/extensions/gsd/docs/preferences-reference.md +4 -2
- package/src/resources/extensions/gsd/guided-flow.ts +17 -16
- package/src/resources/extensions/gsd/metrics.ts +5 -2
- package/src/resources/extensions/gsd/parallel-monitor-overlay.ts +497 -0
- package/src/resources/extensions/gsd/parallel-orchestrator.ts +6 -1
- package/src/resources/extensions/gsd/preferences-models.ts +12 -0
- package/src/resources/extensions/gsd/preferences-types.ts +4 -0
- package/src/resources/extensions/gsd/roadmap-slices.ts +1 -0
- package/src/resources/extensions/gsd/session-lock.ts +46 -12
- package/src/resources/extensions/gsd/skill-health.ts +2 -2
- package/src/resources/extensions/gsd/tests/auto-loop.test.ts +39 -1
- package/src/resources/extensions/gsd/tests/auto-model-selection.test.ts +139 -0
- package/src/resources/extensions/gsd/tests/auto-start-cold-db-bootstrap.test.ts +37 -0
- package/src/resources/extensions/gsd/tests/auto-start-model-capture.test.ts +28 -0
- package/src/resources/extensions/gsd/tests/custom-engine-loop-integration.test.ts +1 -1
- package/src/resources/extensions/gsd/tests/{all-milestones-complete-merge.test.ts → integration/all-milestones-complete-merge.test.ts} +3 -3
- package/src/resources/extensions/gsd/tests/{atomic-task-closeout.test.ts → integration/atomic-task-closeout.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{auto-preflight.test.ts → integration/auto-preflight.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{auto-recovery.test.ts → integration/auto-recovery.test.ts} +7 -7
- package/src/resources/extensions/gsd/tests/{auto-secrets-gate.test.ts → integration/auto-secrets-gate.test.ts} +2 -2
- package/src/resources/extensions/gsd/tests/{auto-stash-merge.test.ts → integration/auto-stash-merge.test.ts} +3 -3
- package/src/resources/extensions/gsd/tests/{auto-worktree-milestone-merge.test.ts → integration/auto-worktree-milestone-merge.test.ts} +4 -4
- package/src/resources/extensions/gsd/tests/{auto-worktree.test.ts → integration/auto-worktree.test.ts} +5 -5
- package/src/resources/extensions/gsd/tests/{continue-here.test.ts → integration/continue-here.test.ts} +3 -3
- package/src/resources/extensions/gsd/tests/{doctor-completion-deferral.test.ts → integration/doctor-completion-deferral.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{doctor-delimiter-fix.test.ts → integration/doctor-delimiter-fix.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{doctor-enhancements.test.ts → integration/doctor-enhancements.test.ts} +3 -3
- package/src/resources/extensions/gsd/tests/{doctor-environment-worktree.test.ts → integration/doctor-environment-worktree.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{doctor-environment.test.ts → integration/doctor-environment.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{doctor-fixlevel.test.ts → integration/doctor-fixlevel.test.ts} +2 -2
- package/src/resources/extensions/gsd/tests/{doctor-git.test.ts → integration/doctor-git.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{doctor-proactive.test.ts → integration/doctor-proactive.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{doctor-roadmap-summary-atomicity.test.ts → integration/doctor-roadmap-summary-atomicity.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{doctor-runtime.test.ts → integration/doctor-runtime.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{doctor.test.ts → integration/doctor.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{e2e-workflow-pipeline-integration.test.ts → integration/e2e-workflow-pipeline-integration.test.ts} +5 -5
- package/src/resources/extensions/gsd/tests/{feature-branch-lifecycle-integration.test.ts → integration/feature-branch-lifecycle-integration.test.ts} +4 -4
- package/src/resources/extensions/gsd/tests/{git-locale.test.ts → integration/git-locale.test.ts} +4 -4
- package/src/resources/extensions/gsd/tests/{git-self-heal.test.ts → integration/git-self-heal.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{git-service.test.ts → integration/git-service.test.ts} +4 -4
- package/src/resources/extensions/gsd/tests/{gitignore-tracked-gsd.test.ts → integration/gitignore-tracked-gsd.test.ts} +2 -2
- package/src/resources/extensions/gsd/tests/{idle-recovery.test.ts → integration/idle-recovery.test.ts} +3 -3
- package/src/resources/extensions/gsd/tests/{inherited-repo-home-dir.test.ts → integration/inherited-repo-home-dir.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{integration-lifecycle.test.ts → integration/integration-lifecycle.test.ts} +4 -4
- package/src/resources/extensions/gsd/tests/{integration-mixed-milestones.test.ts → integration/integration-mixed-milestones.test.ts} +6 -6
- package/src/resources/extensions/gsd/tests/{integration-proof.test.ts → integration/integration-proof.test.ts} +12 -12
- package/src/resources/extensions/gsd/tests/{migrate-command.test.ts → integration/migrate-command.test.ts} +2 -2
- package/src/resources/extensions/gsd/tests/{milestone-transition-worktree.test.ts → integration/milestone-transition-worktree.test.ts} +3 -3
- package/src/resources/extensions/gsd/tests/{parallel-merge.test.ts → integration/parallel-merge.test.ts} +3 -3
- package/src/resources/extensions/gsd/tests/{parallel-workers-multi-milestone-e2e.test.ts → integration/parallel-workers-multi-milestone-e2e.test.ts} +3 -3
- package/src/resources/extensions/gsd/tests/{paths.test.ts → integration/paths.test.ts} +1 -1
- package/src/resources/extensions/gsd/tests/{plugin-importer-live.test.ts → integration/plugin-importer-live.test.ts} +2 -2
- package/src/resources/extensions/gsd/tests/{queue-completed-milestone-perf.test.ts → integration/queue-completed-milestone-perf.test.ts} +3 -3
- package/src/resources/extensions/gsd/tests/{queue-reorder-e2e.test.ts → integration/queue-reorder-e2e.test.ts} +5 -5
- package/src/resources/extensions/gsd/tests/{quick-branch-lifecycle.test.ts → integration/quick-branch-lifecycle.test.ts} +5 -5
- package/src/resources/extensions/gsd/tests/{run-uat.test.ts → integration/run-uat.test.ts} +4 -4
- package/src/resources/extensions/gsd/tests/{token-savings.test.ts → integration/token-savings.test.ts} +3 -3
- package/src/resources/extensions/gsd/tests/{worktree-e2e.test.ts → integration/worktree-e2e.test.ts} +4 -4
- package/src/resources/extensions/gsd/tests/journal-integration.test.ts +56 -1
- package/src/resources/extensions/gsd/tests/model-unittype-mapping.test.ts +192 -0
- package/src/resources/extensions/gsd/tests/parallel-monitor-overlay.test.ts +60 -0
- package/src/resources/extensions/gsd/tests/parallel-worker-lock-contention.test.ts +226 -0
- package/src/resources/extensions/gsd/tests/plan-milestone-queue-context.test.ts +48 -0
- package/src/resources/extensions/gsd/tests/preferences-worktree-sync.test.ts +61 -19
- package/src/resources/extensions/gsd/tests/provider-errors.test.ts +98 -0
- package/src/resources/extensions/gsd/tests/register-extension-guard.test.ts +59 -0
- package/src/resources/extensions/gsd/tests/roadmap-slices.test.ts +17 -0
- package/src/resources/extensions/gsd/tests/sqlite-unavailable-gate.test.ts +14 -12
- package/src/resources/extensions/gsd/tests/subagent-agent-discovery.test.ts +44 -0
- package/src/resources/extensions/gsd/tests/worktree-preferences-sync.test.ts +49 -24
- package/src/resources/extensions/gsd/visualizer-overlay.ts +3 -3
- package/src/resources/extensions/shared/format-utils.ts +1 -1
- package/src/resources/extensions/subagent/agents.ts +8 -2
- package/src/resources/extensions/subagent/worker-registry.ts +2 -1
- package/dist/web/standalone/.next/static/chunks/4024.87fd909ae0110f50.js +0 -9
- package/dist/web/standalone/.next/static/chunks/app/page-fbecd1237e2d6d1f.js +0 -1
- package/dist/web/standalone/.next/static/chunks/main-app-d3d4c336195465f9.js +0 -1
- package/dist/web/standalone/.next/static/chunks/next/dist/client/components/builtin/global-error-ab5a8926e07ec673.js +0 -1
- /package/dist/web/standalone/.next/static/{KixbEdSRlU9zzYdZdrJ7A → 3XCsmJU9i9WebfYynW_BO}/_buildManifest.js +0 -0
- /package/dist/web/standalone/.next/static/{KixbEdSRlU9zzYdZdrJ7A → 3XCsmJU9i9WebfYynW_BO}/_ssgManifest.js +0 -0
package/dist/cli.js
CHANGED
|
@@ -103,19 +103,6 @@ const cliFlags = parseCliArgs(process.argv);
|
|
|
103
103
|
const isPrintMode = cliFlags.print || cliFlags.mode !== undefined;
|
|
104
104
|
// Early resource-skew check — must run before TTY gate so version mismatch
|
|
105
105
|
// errors surface even in non-TTY environments.
|
|
106
|
-
exitIfManagedResourcesAreNewer(agentDir);
|
|
107
|
-
// Early TTY check — must come before heavy initialization to avoid dangling
|
|
108
|
-
// handles that prevent process.exit() from completing promptly.
|
|
109
|
-
const hasSubcommand = cliFlags.messages.length > 0;
|
|
110
|
-
if (!process.stdin.isTTY && !isPrintMode && !hasSubcommand && !cliFlags.listModels && !cliFlags.web) {
|
|
111
|
-
process.stderr.write('[gsd] Error: Interactive mode requires a terminal (TTY).\n');
|
|
112
|
-
process.stderr.write('[gsd] Non-interactive alternatives:\n');
|
|
113
|
-
process.stderr.write('[gsd] gsd --print "your message" Single-shot prompt\n');
|
|
114
|
-
process.stderr.write('[gsd] gsd --mode rpc JSON-RPC over stdin/stdout\n');
|
|
115
|
-
process.stderr.write('[gsd] gsd --mode mcp MCP server over stdin/stdout\n');
|
|
116
|
-
process.stderr.write('[gsd] gsd --mode text "message" Text output mode\n');
|
|
117
|
-
process.exit(1);
|
|
118
|
-
}
|
|
119
106
|
async function ensureRtkBootstrap() {
|
|
120
107
|
if (ensureRtkBootstrap._done)
|
|
121
108
|
return;
|
|
@@ -136,6 +123,25 @@ async function ensureRtkBootstrap() {
|
|
|
136
123
|
process.stderr.write(`[gsd] Warning: RTK unavailable — continuing without shell-command compression (${rtkStatus.reason}).\n`);
|
|
137
124
|
}
|
|
138
125
|
}
|
|
126
|
+
// `gsd update` — update to the latest version via npm
|
|
127
|
+
if (cliFlags.messages[0] === 'update') {
|
|
128
|
+
const { runUpdate } = await import('./update-cmd.js');
|
|
129
|
+
await runUpdate();
|
|
130
|
+
process.exit(0);
|
|
131
|
+
}
|
|
132
|
+
exitIfManagedResourcesAreNewer(agentDir);
|
|
133
|
+
// Early TTY check — must come before heavy initialization to avoid dangling
|
|
134
|
+
// handles that prevent process.exit() from completing promptly.
|
|
135
|
+
const hasSubcommand = cliFlags.messages.length > 0;
|
|
136
|
+
if (!process.stdin.isTTY && !isPrintMode && !hasSubcommand && !cliFlags.listModels && !cliFlags.web) {
|
|
137
|
+
process.stderr.write('[gsd] Error: Interactive mode requires a terminal (TTY).\n');
|
|
138
|
+
process.stderr.write('[gsd] Non-interactive alternatives:\n');
|
|
139
|
+
process.stderr.write('[gsd] gsd --print "your message" Single-shot prompt\n');
|
|
140
|
+
process.stderr.write('[gsd] gsd --mode rpc JSON-RPC over stdin/stdout\n');
|
|
141
|
+
process.stderr.write('[gsd] gsd --mode mcp MCP server over stdin/stdout\n');
|
|
142
|
+
process.stderr.write('[gsd] gsd --mode text "message" Text output mode\n');
|
|
143
|
+
process.exit(1);
|
|
144
|
+
}
|
|
139
145
|
// `gsd <subcommand> --help` — show subcommand-specific help
|
|
140
146
|
const subcommand = cliFlags.messages[0];
|
|
141
147
|
if (subcommand && process.argv.includes('--help')) {
|
|
@@ -162,12 +168,6 @@ if (cliFlags.messages[0] === 'config') {
|
|
|
162
168
|
await runOnboarding(authStorage);
|
|
163
169
|
process.exit(0);
|
|
164
170
|
}
|
|
165
|
-
// `gsd update` — update to the latest version via npm
|
|
166
|
-
if (cliFlags.messages[0] === 'update') {
|
|
167
|
-
const { runUpdate } = await import('./update-cmd.js');
|
|
168
|
-
await runUpdate();
|
|
169
|
-
process.exit(0);
|
|
170
|
-
}
|
|
171
171
|
// `gsd web stop [path|all]` — stop web server before anything else
|
|
172
172
|
if (cliFlags.messages[0] === 'web' && cliFlags.messages[1] === 'stop') {
|
|
173
173
|
const webFlags = parseWebCliArgs(process.argv);
|
package/dist/headless-events.js
CHANGED
|
@@ -17,6 +17,8 @@ export const EXIT_CANCELLED = 11;
|
|
|
17
17
|
* Map a headless session status string to its standardized exit code.
|
|
18
18
|
*
|
|
19
19
|
* success → 0
|
|
20
|
+
* complete → 0
|
|
21
|
+
* completed → 0
|
|
20
22
|
* error → 1
|
|
21
23
|
* timeout → 1
|
|
22
24
|
* blocked → 10
|
|
@@ -28,6 +30,7 @@ export function mapStatusToExitCode(status) {
|
|
|
28
30
|
switch (status) {
|
|
29
31
|
case 'success':
|
|
30
32
|
case 'complete':
|
|
33
|
+
case 'completed':
|
|
31
34
|
return EXIT_SUCCESS;
|
|
32
35
|
case 'error':
|
|
33
36
|
case 'timeout':
|
package/dist/headless-ui.d.ts
CHANGED
|
@@ -18,6 +18,32 @@ interface ExtensionUIRequest {
|
|
|
18
18
|
[key: string]: unknown;
|
|
19
19
|
}
|
|
20
20
|
export type { ExtensionUIRequest };
|
|
21
|
+
/** Context passed alongside an event for richer formatting. */
|
|
22
|
+
export interface ProgressContext {
|
|
23
|
+
verbose: boolean;
|
|
24
|
+
toolDuration?: number;
|
|
25
|
+
lastCost?: {
|
|
26
|
+
costUsd: number;
|
|
27
|
+
inputTokens: number;
|
|
28
|
+
outputTokens: number;
|
|
29
|
+
};
|
|
30
|
+
thinkingPreview?: string;
|
|
31
|
+
isError?: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Produce a short human-readable summary of tool arguments.
|
|
35
|
+
* Returns a string like "path/to/file.ts" or "grep pattern *.ts" — never the
|
|
36
|
+
* full JSON blob.
|
|
37
|
+
*/
|
|
38
|
+
export declare function summarizeToolArgs(toolName: unknown, toolInput: unknown): string;
|
|
21
39
|
export declare function handleExtensionUIRequest(event: ExtensionUIRequest, client: RpcClient): void;
|
|
22
|
-
export declare function formatProgress(event: Record<string, unknown>,
|
|
40
|
+
export declare function formatProgress(event: Record<string, unknown>, ctx: ProgressContext): string | null;
|
|
41
|
+
/**
|
|
42
|
+
* Format a thinking preview line from accumulated LLM text deltas.
|
|
43
|
+
*/
|
|
44
|
+
export declare function formatThinkingLine(text: string): string;
|
|
45
|
+
/**
|
|
46
|
+
* Format a cost line (used for periodic cost updates in verbose mode).
|
|
47
|
+
*/
|
|
48
|
+
export declare function formatCostLine(costUsd: number, inputTokens: number, outputTokens: number): string;
|
|
23
49
|
export declare function startSupervisedStdinReader(client: RpcClient, onResponse: (id: string) => void): () => void;
|
package/dist/headless-ui.js
CHANGED
|
@@ -7,6 +7,101 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { attachJsonlLineReader } from '@gsd/pi-coding-agent';
|
|
9
9
|
// ---------------------------------------------------------------------------
|
|
10
|
+
// ANSI Color Helpers
|
|
11
|
+
// ---------------------------------------------------------------------------
|
|
12
|
+
const _c = {
|
|
13
|
+
reset: '\x1b[0m',
|
|
14
|
+
bold: '\x1b[1m',
|
|
15
|
+
dim: '\x1b[2m',
|
|
16
|
+
italic: '\x1b[3m',
|
|
17
|
+
red: '\x1b[31m',
|
|
18
|
+
green: '\x1b[32m',
|
|
19
|
+
yellow: '\x1b[33m',
|
|
20
|
+
cyan: '\x1b[36m',
|
|
21
|
+
gray: '\x1b[90m',
|
|
22
|
+
};
|
|
23
|
+
/** Build a no-op color map (all codes empty). */
|
|
24
|
+
function noColor() {
|
|
25
|
+
const nc = {};
|
|
26
|
+
for (const k of Object.keys(_c))
|
|
27
|
+
nc[k] = '';
|
|
28
|
+
return nc;
|
|
29
|
+
}
|
|
30
|
+
const colorsDisabled = !!process.env['NO_COLOR'] || !process.stderr.isTTY;
|
|
31
|
+
const c = colorsDisabled ? noColor() : _c;
|
|
32
|
+
// ---------------------------------------------------------------------------
|
|
33
|
+
// Tool-Arg Summarizer
|
|
34
|
+
// ---------------------------------------------------------------------------
|
|
35
|
+
/**
|
|
36
|
+
* Produce a short human-readable summary of tool arguments.
|
|
37
|
+
* Returns a string like "path/to/file.ts" or "grep pattern *.ts" — never the
|
|
38
|
+
* full JSON blob.
|
|
39
|
+
*/
|
|
40
|
+
export function summarizeToolArgs(toolName, toolInput) {
|
|
41
|
+
const name = String(toolName ?? '');
|
|
42
|
+
const input = (toolInput && typeof toolInput === 'object') ? toolInput : {};
|
|
43
|
+
switch (name) {
|
|
44
|
+
case 'Read':
|
|
45
|
+
case 'read':
|
|
46
|
+
return shortPath(input.file_path) || '';
|
|
47
|
+
case 'Write':
|
|
48
|
+
case 'write':
|
|
49
|
+
return shortPath(input.file_path) || '';
|
|
50
|
+
case 'Edit':
|
|
51
|
+
case 'edit':
|
|
52
|
+
return shortPath(input.file_path) || '';
|
|
53
|
+
case 'Bash':
|
|
54
|
+
case 'bash': {
|
|
55
|
+
const cmd = String(input.command ?? '');
|
|
56
|
+
return cmd.length > 80 ? cmd.slice(0, 77) + '...' : cmd;
|
|
57
|
+
}
|
|
58
|
+
case 'Glob':
|
|
59
|
+
case 'glob':
|
|
60
|
+
return String(input.pattern ?? '');
|
|
61
|
+
case 'Grep':
|
|
62
|
+
case 'grep':
|
|
63
|
+
case 'Search':
|
|
64
|
+
case 'search': {
|
|
65
|
+
const pat = String(input.pattern ?? '');
|
|
66
|
+
const g = input.glob ? ` ${input.glob}` : '';
|
|
67
|
+
return `${pat}${g}`;
|
|
68
|
+
}
|
|
69
|
+
case 'Task':
|
|
70
|
+
case 'task': {
|
|
71
|
+
const desc = String(input.description ?? input.prompt ?? '');
|
|
72
|
+
return desc.length > 60 ? desc.slice(0, 57) + '...' : desc;
|
|
73
|
+
}
|
|
74
|
+
default: {
|
|
75
|
+
// Fallback: show first string-valued key up to 60 chars
|
|
76
|
+
for (const v of Object.values(input)) {
|
|
77
|
+
if (typeof v === 'string' && v.length > 0) {
|
|
78
|
+
return v.length > 60 ? v.slice(0, 57) + '...' : v;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
return '';
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function shortPath(p) {
|
|
86
|
+
if (typeof p !== 'string')
|
|
87
|
+
return '';
|
|
88
|
+
// Strip common CWD prefix to save space
|
|
89
|
+
const cwd = process.cwd();
|
|
90
|
+
if (p.startsWith(cwd + '/'))
|
|
91
|
+
return p.slice(cwd.length + 1);
|
|
92
|
+
// Strip /Users/*/Developer/ prefix
|
|
93
|
+
return p.replace(/^\/Users\/[^/]+\/Developer\//, '');
|
|
94
|
+
}
|
|
95
|
+
// ---------------------------------------------------------------------------
|
|
96
|
+
// Format Duration
|
|
97
|
+
// ---------------------------------------------------------------------------
|
|
98
|
+
function formatDuration(ms) {
|
|
99
|
+
if (ms < 1000)
|
|
100
|
+
return `${ms}ms`;
|
|
101
|
+
const s = (ms / 1000).toFixed(1);
|
|
102
|
+
return `${s}s`;
|
|
103
|
+
}
|
|
104
|
+
// ---------------------------------------------------------------------------
|
|
10
105
|
// Extension UI Auto-Responder
|
|
11
106
|
// ---------------------------------------------------------------------------
|
|
12
107
|
export function handleExtensionUIRequest(event, client) {
|
|
@@ -50,29 +145,124 @@ export function handleExtensionUIRequest(event, client) {
|
|
|
50
145
|
// ---------------------------------------------------------------------------
|
|
51
146
|
// Progress Formatter
|
|
52
147
|
// ---------------------------------------------------------------------------
|
|
53
|
-
export function formatProgress(event,
|
|
148
|
+
export function formatProgress(event, ctx) {
|
|
54
149
|
const type = String(event.type ?? '');
|
|
150
|
+
// Emit accumulated thinking preview before tool calls
|
|
151
|
+
if (ctx.thinkingPreview) {
|
|
152
|
+
// thinkingPreview is handled by the caller in headless.ts — it prepends
|
|
153
|
+
// the thinking line before the current event's line. We return the thinking
|
|
154
|
+
// line as a prefix joined with newline.
|
|
155
|
+
}
|
|
55
156
|
switch (type) {
|
|
56
|
-
case 'tool_execution_start':
|
|
57
|
-
if (verbose)
|
|
58
|
-
return
|
|
59
|
-
|
|
157
|
+
case 'tool_execution_start': {
|
|
158
|
+
if (!ctx.verbose)
|
|
159
|
+
return null;
|
|
160
|
+
const name = String(event.toolName ?? 'unknown');
|
|
161
|
+
const args = summarizeToolArgs(event.toolName, event.args);
|
|
162
|
+
const argStr = args ? ` ${c.dim}${args}${c.reset}` : '';
|
|
163
|
+
return ` ${c.dim}[tool]${c.reset} ${name}${argStr}`;
|
|
164
|
+
}
|
|
165
|
+
case 'tool_execution_end': {
|
|
166
|
+
if (!ctx.verbose)
|
|
167
|
+
return null;
|
|
168
|
+
const name = String(event.toolName ?? 'unknown');
|
|
169
|
+
const durationStr = ctx.toolDuration != null ? ` ${c.dim}${formatDuration(ctx.toolDuration)}${c.reset}` : '';
|
|
170
|
+
if (ctx.isError) {
|
|
171
|
+
return ` ${c.red}[tool] ${name} error${c.reset}${durationStr}`;
|
|
172
|
+
}
|
|
173
|
+
return ` ${c.dim}[tool] ${name} done${c.reset}${durationStr}`;
|
|
174
|
+
}
|
|
60
175
|
case 'agent_start':
|
|
61
|
-
return
|
|
62
|
-
case 'agent_end':
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
176
|
+
return `${c.dim}[agent] Session started${c.reset}`;
|
|
177
|
+
case 'agent_end': {
|
|
178
|
+
let line = `${c.dim}[agent] Session ended${c.reset}`;
|
|
179
|
+
if (ctx.lastCost) {
|
|
180
|
+
const cost = `$${ctx.lastCost.costUsd.toFixed(4)}`;
|
|
181
|
+
const tokens = `${ctx.lastCost.inputTokens + ctx.lastCost.outputTokens} tokens`;
|
|
182
|
+
line += ` ${c.dim}(${cost}, ${tokens})${c.reset}`;
|
|
67
183
|
}
|
|
68
|
-
|
|
69
|
-
|
|
184
|
+
return line;
|
|
185
|
+
}
|
|
186
|
+
case 'extension_ui_request': {
|
|
187
|
+
const method = String(event.method ?? '');
|
|
188
|
+
if (method === 'notify') {
|
|
189
|
+
const msg = String(event.message ?? '');
|
|
190
|
+
if (!msg)
|
|
191
|
+
return null;
|
|
192
|
+
// Bold important notifications
|
|
193
|
+
const isImportant = /^(committed:|verification gate:|milestone|blocked:)/i.test(msg);
|
|
194
|
+
return isImportant
|
|
195
|
+
? `${c.bold}[gsd] ${msg}${c.reset}`
|
|
196
|
+
: `[gsd] ${msg}`;
|
|
197
|
+
}
|
|
198
|
+
if (method === 'setStatus') {
|
|
199
|
+
// Parse statusKey for phase transitions
|
|
200
|
+
const statusKey = String(event.statusKey ?? '');
|
|
201
|
+
const msg = String(event.message ?? '');
|
|
202
|
+
if (!statusKey && !msg)
|
|
203
|
+
return null; // suppress empty status lines
|
|
204
|
+
// Show meaningful phase transitions
|
|
205
|
+
if (statusKey) {
|
|
206
|
+
const label = parsePhaseLabel(statusKey, msg);
|
|
207
|
+
if (label)
|
|
208
|
+
return `${c.cyan}[phase] ${label}${c.reset}`;
|
|
209
|
+
}
|
|
210
|
+
// Fallback: show message if non-empty
|
|
211
|
+
if (msg)
|
|
212
|
+
return `${c.cyan}[phase] ${msg}${c.reset}`;
|
|
213
|
+
return null;
|
|
70
214
|
}
|
|
71
215
|
return null;
|
|
216
|
+
}
|
|
72
217
|
default:
|
|
73
218
|
return null;
|
|
74
219
|
}
|
|
75
220
|
}
|
|
221
|
+
/**
|
|
222
|
+
* Format a thinking preview line from accumulated LLM text deltas.
|
|
223
|
+
*/
|
|
224
|
+
export function formatThinkingLine(text) {
|
|
225
|
+
const trimmed = text.replace(/\s+/g, ' ').trim();
|
|
226
|
+
const truncated = trimmed.length > 120 ? trimmed.slice(0, 117) + '...' : trimmed;
|
|
227
|
+
return `${c.dim}${c.italic}[thinking] ${truncated}${c.reset}`;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Format a cost line (used for periodic cost updates in verbose mode).
|
|
231
|
+
*/
|
|
232
|
+
export function formatCostLine(costUsd, inputTokens, outputTokens) {
|
|
233
|
+
return `${c.dim}[cost] $${costUsd.toFixed(4)} (${inputTokens + outputTokens} tokens)${c.reset}`;
|
|
234
|
+
}
|
|
235
|
+
// ---------------------------------------------------------------------------
|
|
236
|
+
// Phase Label Parser
|
|
237
|
+
// ---------------------------------------------------------------------------
|
|
238
|
+
/**
|
|
239
|
+
* Parse a statusKey into a human-readable phase label.
|
|
240
|
+
* statusKey format varies but common patterns:
|
|
241
|
+
* "milestone:M1", "slice:S1.1", "task:T1.1.1", "phase:discuss", etc.
|
|
242
|
+
*/
|
|
243
|
+
function parsePhaseLabel(statusKey, message) {
|
|
244
|
+
// Direct phase/milestone/slice/task keys
|
|
245
|
+
const parts = statusKey.split(':');
|
|
246
|
+
if (parts.length >= 2) {
|
|
247
|
+
const [kind, value] = parts;
|
|
248
|
+
switch (kind.toLowerCase()) {
|
|
249
|
+
case 'milestone':
|
|
250
|
+
return `Milestone ${value}${message ? ' -- ' + message : ''}`;
|
|
251
|
+
case 'slice':
|
|
252
|
+
return `Slice ${value}${message ? ' -- ' + message : ''}`;
|
|
253
|
+
case 'task':
|
|
254
|
+
return `Task ${value}${message ? ' -- ' + message : ''}`;
|
|
255
|
+
case 'phase':
|
|
256
|
+
return `Phase: ${value}${message ? ' -- ' + message : ''}`;
|
|
257
|
+
default:
|
|
258
|
+
return `${kind}: ${value}${message ? ' -- ' + message : ''}`;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
// Single-word status keys with a message
|
|
262
|
+
if (message)
|
|
263
|
+
return `${statusKey}: ${message}`;
|
|
264
|
+
return statusKey || null;
|
|
265
|
+
}
|
|
76
266
|
// ---------------------------------------------------------------------------
|
|
77
267
|
// Supervised Stdin Reader
|
|
78
268
|
// ---------------------------------------------------------------------------
|
package/dist/headless.js
CHANGED
|
@@ -19,7 +19,7 @@ import { getProjectSessionsDir } from './project-sessions.js';
|
|
|
19
19
|
import { loadAndValidateAnswerFile, AnswerInjector } from './headless-answers.js';
|
|
20
20
|
import { isTerminalNotification, isBlockedNotification, isMilestoneReadyNotification, isQuickCommand, FIRE_AND_FORGET_METHODS, IDLE_TIMEOUT_MS, NEW_MILESTONE_IDLE_TIMEOUT_MS, EXIT_SUCCESS, EXIT_ERROR, EXIT_BLOCKED, EXIT_CANCELLED, mapStatusToExitCode, } from './headless-events.js';
|
|
21
21
|
import { VALID_OUTPUT_FORMATS } from './headless-types.js';
|
|
22
|
-
import { handleExtensionUIRequest, formatProgress, startSupervisedStdinReader, } from './headless-ui.js';
|
|
22
|
+
import { handleExtensionUIRequest, formatProgress, formatThinkingLine, startSupervisedStdinReader, } from './headless-ui.js';
|
|
23
23
|
import { loadContext, bootstrapGsdProject, } from './headless-context.js';
|
|
24
24
|
/**
|
|
25
25
|
* Resolve a session prefix to a single session.
|
|
@@ -55,12 +55,11 @@ export function parseHeadlessArgs(argv) {
|
|
|
55
55
|
commandArgs: [],
|
|
56
56
|
};
|
|
57
57
|
const args = argv.slice(2);
|
|
58
|
-
let positionalStarted = false;
|
|
59
58
|
for (let i = 0; i < args.length; i++) {
|
|
60
59
|
const arg = args[i];
|
|
61
60
|
if (arg === 'headless')
|
|
62
61
|
continue;
|
|
63
|
-
if (
|
|
62
|
+
if (arg.startsWith('--')) {
|
|
64
63
|
if (arg === '--timeout' && i + 1 < args.length) {
|
|
65
64
|
options.timeout = parseInt(args[++i], 10);
|
|
66
65
|
if (Number.isNaN(options.timeout) || options.timeout < 0) {
|
|
@@ -137,8 +136,7 @@ export function parseHeadlessArgs(argv) {
|
|
|
137
136
|
options.bare = true;
|
|
138
137
|
}
|
|
139
138
|
}
|
|
140
|
-
else if (
|
|
141
|
-
positionalStarted = true;
|
|
139
|
+
else if (options.command === 'auto') {
|
|
142
140
|
options.command = arg;
|
|
143
141
|
}
|
|
144
142
|
else {
|
|
@@ -266,6 +264,8 @@ async function runHeadlessOnce(options, restartCount) {
|
|
|
266
264
|
if (injector) {
|
|
267
265
|
clientOptions.env = injector.getSecretEnvVars();
|
|
268
266
|
}
|
|
267
|
+
// Signal headless mode to the GSD extension (skips UAT human pause, etc.)
|
|
268
|
+
clientOptions.env = { ...(clientOptions.env || {}), GSD_HEADLESS: '1' };
|
|
269
269
|
// Propagate --bare to the child process
|
|
270
270
|
if (options.bare) {
|
|
271
271
|
clientOptions.args = [...(clientOptions.args || []), '--bare'];
|
|
@@ -286,6 +286,10 @@ async function runHeadlessOnce(options, restartCount) {
|
|
|
286
286
|
let cumulativeCacheReadTokens = 0;
|
|
287
287
|
let cumulativeCacheWriteTokens = 0;
|
|
288
288
|
let lastSessionId;
|
|
289
|
+
// Verbose text-mode state
|
|
290
|
+
const toolStartTimes = new Map();
|
|
291
|
+
let lastCostData;
|
|
292
|
+
let thinkingBuffer = '';
|
|
289
293
|
// Emit HeadlessJsonResult to stdout for --output-format json batch mode
|
|
290
294
|
function emitBatchJsonResult() {
|
|
291
295
|
if (options.outputFormat !== 'json')
|
|
@@ -410,8 +414,59 @@ async function runHeadlessOnce(options, restartCount) {
|
|
|
410
414
|
}
|
|
411
415
|
}
|
|
412
416
|
else if (!options.json) {
|
|
413
|
-
// Progress output to stderr
|
|
414
|
-
const
|
|
417
|
+
// Progress output to stderr with verbose state tracking
|
|
418
|
+
const eventType = String(eventObj.type ?? '');
|
|
419
|
+
// Track cost_update events for agent_end summary
|
|
420
|
+
if (eventType === 'cost_update') {
|
|
421
|
+
const data = eventObj;
|
|
422
|
+
const cumCost = data.cumulativeCost;
|
|
423
|
+
if (cumCost) {
|
|
424
|
+
const tokens = data.tokens;
|
|
425
|
+
lastCostData = {
|
|
426
|
+
costUsd: Number(cumCost.costUsd ?? 0),
|
|
427
|
+
inputTokens: tokens?.input ?? 0,
|
|
428
|
+
outputTokens: tokens?.output ?? 0,
|
|
429
|
+
};
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
// Accumulate thinking text from message_update text_delta events
|
|
433
|
+
if (eventType === 'message_update') {
|
|
434
|
+
const ame = eventObj.assistantMessageEvent;
|
|
435
|
+
if (ame?.type === 'text_delta') {
|
|
436
|
+
thinkingBuffer += String(ame.text ?? '');
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
// Track tool execution start timestamps
|
|
440
|
+
if (eventType === 'tool_execution_start') {
|
|
441
|
+
const toolCallId = String(eventObj.toolCallId ?? eventObj.id ?? '');
|
|
442
|
+
if (toolCallId)
|
|
443
|
+
toolStartTimes.set(toolCallId, Date.now());
|
|
444
|
+
}
|
|
445
|
+
// Flush thinking buffer before tool calls or message end
|
|
446
|
+
if (options.verbose && thinkingBuffer.trim() &&
|
|
447
|
+
(eventType === 'tool_execution_start' || eventType === 'message_end')) {
|
|
448
|
+
process.stderr.write(formatThinkingLine(thinkingBuffer) + '\n');
|
|
449
|
+
thinkingBuffer = '';
|
|
450
|
+
}
|
|
451
|
+
// Compute tool duration for tool_execution_end
|
|
452
|
+
let toolDuration;
|
|
453
|
+
let isToolError = false;
|
|
454
|
+
if (eventType === 'tool_execution_end') {
|
|
455
|
+
const toolCallId = String(eventObj.toolCallId ?? eventObj.id ?? '');
|
|
456
|
+
const startTime = toolStartTimes.get(toolCallId);
|
|
457
|
+
if (startTime) {
|
|
458
|
+
toolDuration = Date.now() - startTime;
|
|
459
|
+
toolStartTimes.delete(toolCallId);
|
|
460
|
+
}
|
|
461
|
+
isToolError = eventObj.isError === true || eventObj.error != null;
|
|
462
|
+
}
|
|
463
|
+
const ctx = {
|
|
464
|
+
verbose: !!options.verbose,
|
|
465
|
+
toolDuration,
|
|
466
|
+
isError: isToolError,
|
|
467
|
+
lastCost: eventType === 'agent_end' ? lastCostData : undefined,
|
|
468
|
+
};
|
|
469
|
+
const line = formatProgress(eventObj, ctx);
|
|
415
470
|
if (line)
|
|
416
471
|
process.stderr.write(line + '\n');
|
|
417
472
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { truncateToWidth, visibleWidth, } from "@gsd/pi-tui";
|
|
6
6
|
import { processes, pendingAlerts, cleanupAll, cleanupSessionProcesses, persistManifest, loadManifest, pruneDeadProcesses, } from "./process-manager.js";
|
|
7
|
-
import { formatUptime, resolveBgShellPersistenceCwd } from "./utilities.js";
|
|
7
|
+
import { formatUptime, getBgShellLiveCwd, resolveBgShellPersistenceCwd } from "./utilities.js";
|
|
8
8
|
import { formatTokenCount } from "../shared/format-utils.js";
|
|
9
9
|
export function registerBgShellLifecycle(pi, state) {
|
|
10
10
|
function syncLatestCtxCwd() {
|
|
@@ -161,7 +161,7 @@ export function registerBgShellLifecycle(pi, state) {
|
|
|
161
161
|
return {
|
|
162
162
|
render(width) {
|
|
163
163
|
// ── Line 1: pwd (branch) [session] ... bg status ──
|
|
164
|
-
let pwd =
|
|
164
|
+
let pwd = getBgShellLiveCwd(state.latestCtx?.cwd);
|
|
165
165
|
const home = process.env.HOME || process.env.USERPROFILE;
|
|
166
166
|
if (home && pwd.startsWith(home)) {
|
|
167
167
|
pwd = `~${pwd.slice(home.length)}`;
|
|
@@ -36,15 +36,44 @@ export const formatUptime = formatDuration;
|
|
|
36
36
|
export function formatTimeAgo(timestamp) {
|
|
37
37
|
return formatDuration(Date.now() - timestamp) + " ago";
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
function deriveProjectRootFromAutoWorktree(cachedCwd) {
|
|
40
|
+
if (!cachedCwd)
|
|
41
|
+
return undefined;
|
|
42
|
+
const match = cachedCwd.match(/^(.*?)[\\/]\.gsd[\\/]worktrees[\\/][^\\/]+(?:[\\/].*)?$/);
|
|
43
|
+
return match?.[1];
|
|
44
|
+
}
|
|
45
|
+
export function getBgShellLiveCwd(cachedCwd, pathExists = existsSync, getCwd = () => process.cwd(), chdir = (path) => process.chdir(path)) {
|
|
46
|
+
try {
|
|
47
|
+
return getCwd();
|
|
48
|
+
}
|
|
49
|
+
catch {
|
|
50
|
+
const projectRoot = deriveProjectRootFromAutoWorktree(cachedCwd);
|
|
51
|
+
const home = process.env.HOME || process.env.USERPROFILE;
|
|
52
|
+
const fallbacks = [projectRoot, cachedCwd, home, "/"].filter((candidate) => Boolean(candidate));
|
|
53
|
+
for (const candidate of fallbacks) {
|
|
54
|
+
if (candidate !== "/" && !pathExists(candidate))
|
|
55
|
+
continue;
|
|
56
|
+
try {
|
|
57
|
+
chdir(candidate);
|
|
58
|
+
}
|
|
59
|
+
catch {
|
|
60
|
+
// Best-effort only. Returning a known-good fallback is enough to avoid crashes.
|
|
61
|
+
}
|
|
62
|
+
return candidate;
|
|
63
|
+
}
|
|
64
|
+
return "/";
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
export function resolveBgShellPersistenceCwd(cachedCwd, liveCwd = undefined, pathExists = existsSync) {
|
|
68
|
+
const resolvedLiveCwd = liveCwd ?? getBgShellLiveCwd(cachedCwd, pathExists);
|
|
40
69
|
const cachedIsAutoWorktree = /(?:^|[\\/])\.gsd[\\/]worktrees[\\/]/.test(cachedCwd);
|
|
41
70
|
if (!cachedIsAutoWorktree)
|
|
42
71
|
return cachedCwd;
|
|
43
|
-
if (cachedCwd ===
|
|
72
|
+
if (cachedCwd === resolvedLiveCwd && pathExists(cachedCwd))
|
|
44
73
|
return cachedCwd;
|
|
45
74
|
if (!pathExists(cachedCwd))
|
|
46
|
-
return
|
|
47
|
-
if (
|
|
48
|
-
return
|
|
75
|
+
return resolvedLiveCwd;
|
|
76
|
+
if (resolvedLiveCwd !== cachedCwd)
|
|
77
|
+
return resolvedLiveCwd;
|
|
49
78
|
return cachedCwd;
|
|
50
79
|
}
|
|
@@ -29,6 +29,14 @@ import { writeUnitRuntimeRecord } from "../unit-runtime.js";
|
|
|
29
29
|
export function _resolveReportBasePath(s) {
|
|
30
30
|
return s.originalBasePath || s.basePath;
|
|
31
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Resolve the authoritative project base for dispatch guards.
|
|
34
|
+
* Prior-milestone completion lives at the project root, even when the active
|
|
35
|
+
* unit is running inside an auto worktree.
|
|
36
|
+
*/
|
|
37
|
+
export function _resolveDispatchGuardBasePath(s) {
|
|
38
|
+
return s.originalBasePath || s.basePath;
|
|
39
|
+
}
|
|
32
40
|
/**
|
|
33
41
|
* Generate and write an HTML milestone report snapshot.
|
|
34
42
|
* Extracted from the milestone-transition block in autoLoop.
|
|
@@ -459,7 +467,8 @@ export async function runDispatch(ic, preData, loopState) {
|
|
|
459
467
|
else if (preDispatchResult.prompt) {
|
|
460
468
|
prompt = preDispatchResult.prompt;
|
|
461
469
|
}
|
|
462
|
-
const
|
|
470
|
+
const guardBasePath = _resolveDispatchGuardBasePath(s);
|
|
471
|
+
const priorSliceBlocker = deps.getPriorSliceCompletionBlocker(guardBasePath, deps.getMainBranch(guardBasePath), unitType, unitId);
|
|
463
472
|
if (priorSliceBlocker) {
|
|
464
473
|
await deps.stopAuto(ctx, pi, priorSliceBlocker);
|
|
465
474
|
debugLog("autoLoop", { phase: "exit", reason: "prior-slice-blocker" });
|
|
@@ -487,8 +496,15 @@ export async function runGuards(ic, mid) {
|
|
|
487
496
|
const budgetCeiling = prefs?.budget_ceiling;
|
|
488
497
|
if (budgetCeiling !== undefined && budgetCeiling > 0) {
|
|
489
498
|
const currentLedger = deps.getLedger();
|
|
490
|
-
|
|
491
|
-
|
|
499
|
+
// In parallel worker mode, only count cost from the current auto-mode session
|
|
500
|
+
// to avoid hitting the ceiling due to historical project-wide spend (#2184).
|
|
501
|
+
let costUnits = currentLedger?.units;
|
|
502
|
+
if (process.env.GSD_PARALLEL_WORKER && s.autoStartTime && Array.isArray(costUnits)) {
|
|
503
|
+
const sessionStartISO = new Date(s.autoStartTime).toISOString();
|
|
504
|
+
costUnits = costUnits.filter((u) => u.startedAt != null && u.startedAt >= sessionStartISO);
|
|
505
|
+
}
|
|
506
|
+
const totalCost = costUnits
|
|
507
|
+
? deps.getProjectTotals(costUnits).cost
|
|
492
508
|
: 0;
|
|
493
509
|
const budgetPct = totalCost / budgetCeiling;
|
|
494
510
|
const budgetAlertLevel = deps.getBudgetAlertLevel(budgetPct);
|
|
@@ -697,6 +713,8 @@ export async function runUnitPhase(ic, iterData, loopState, sidecarItem) {
|
|
|
697
713
|
const modelResult = await deps.selectAndApplyModel(ctx, pi, unitType, unitId, s.basePath, prefs, s.verbose, s.autoModeStartModel, sidecarItem ? undefined : { isRetry, previousTier });
|
|
698
714
|
s.currentUnitRouting =
|
|
699
715
|
modelResult.routing;
|
|
716
|
+
s.currentUnitModel =
|
|
717
|
+
modelResult.appliedModel;
|
|
700
718
|
// Apply sidecar/pre-dispatch hook model override (takes priority over standard model selection)
|
|
701
719
|
const hookModelOverride = sidecarItem?.model ?? iterData.hookModelOverride;
|
|
702
720
|
if (hookModelOverride) {
|
|
@@ -705,6 +723,7 @@ export async function runUnitPhase(ic, iterData, loopState, sidecarItem) {
|
|
|
705
723
|
if (match) {
|
|
706
724
|
const ok = await pi.setModel(match, { persist: false });
|
|
707
725
|
if (ok) {
|
|
726
|
+
s.currentUnitModel = match;
|
|
708
727
|
ctx.ui.notify(`Hook model override: ${match.provider}/${match.id}`, "info");
|
|
709
728
|
}
|
|
710
729
|
else {
|
|
@@ -52,6 +52,12 @@ export async function runUnit(ctx, pi, s, unitType, unitId, prompt) {
|
|
|
52
52
|
if (!s.active) {
|
|
53
53
|
return { status: "cancelled" };
|
|
54
54
|
}
|
|
55
|
+
if (s.currentUnitModel && typeof pi.setModel === "function") {
|
|
56
|
+
const restored = await pi.setModel(s.currentUnitModel, { persist: false });
|
|
57
|
+
if (!restored) {
|
|
58
|
+
ctx.ui.notify(`Failed to restore ${s.currentUnitModel.provider}/${s.currentUnitModel.id} after session creation. Using session default.`, "warning");
|
|
59
|
+
}
|
|
60
|
+
}
|
|
55
61
|
// ── Create the agent_end promise (per-unit one-shot) ──
|
|
56
62
|
// This happens after newSession completes so session-switch agent_end events
|
|
57
63
|
// from the previous session cannot resolve the new unit.
|
|
@@ -49,6 +49,7 @@ export class AutoSession {
|
|
|
49
49
|
currentMilestoneId = null;
|
|
50
50
|
// ── Model state ──────────────────────────────────────────────────────────
|
|
51
51
|
autoModeStartModel = null;
|
|
52
|
+
currentUnitModel = null;
|
|
52
53
|
originalModelId = null;
|
|
53
54
|
originalModelProvider = null;
|
|
54
55
|
lastBudgetAlertLevel = 0;
|
|
@@ -130,6 +131,7 @@ export class AutoSession {
|
|
|
130
131
|
this.currentMilestoneId = null;
|
|
131
132
|
// Model
|
|
132
133
|
this.autoModeStartModel = null;
|
|
134
|
+
this.currentUnitModel = null;
|
|
133
135
|
this.originalModelId = null;
|
|
134
136
|
this.originalModelProvider = null;
|
|
135
137
|
this.lastBudgetAlertLevel = 0;
|
|
@@ -16,6 +16,10 @@ export function resolveExpectedArtifactPath(unitType, unitId, base) {
|
|
|
16
16
|
const dir = resolveMilestonePath(base, mid);
|
|
17
17
|
return dir ? join(dir, buildMilestoneFileName(mid, "CONTEXT")) : null;
|
|
18
18
|
}
|
|
19
|
+
case "discuss-slice": {
|
|
20
|
+
const dir = resolveSlicePath(base, mid, sid);
|
|
21
|
+
return dir ? join(dir, buildSliceFileName(sid, "CONTEXT")) : null;
|
|
22
|
+
}
|
|
19
23
|
case "research-milestone": {
|
|
20
24
|
const dir = resolveMilestonePath(base, mid);
|
|
21
25
|
return dir ? join(dir, buildMilestoneFileName(mid, "RESEARCH")) : null;
|
|
@@ -79,6 +83,8 @@ export function diagnoseExpectedArtifact(unitType, unitId, base) {
|
|
|
79
83
|
switch (unitType) {
|
|
80
84
|
case "discuss-milestone":
|
|
81
85
|
return `${relMilestoneFile(base, mid, "CONTEXT")} (milestone context from discussion)`;
|
|
86
|
+
case "discuss-slice":
|
|
87
|
+
return `${relSliceFile(base, mid, sid, "CONTEXT")} (slice context from discussion)`;
|
|
82
88
|
case "research-milestone":
|
|
83
89
|
return `${relMilestoneFile(base, mid, "RESEARCH")} (milestone research)`;
|
|
84
90
|
case "plan-milestone":
|