@saltpub/oar 0.0.0-stage → 0.121.0
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/LICENSE +202 -0
- package/README.md +683 -3
- package/assets/brands/NOTICE.md +63 -0
- package/assets/brands/QWEN-LICENSE.txt +203 -0
- package/assets/brands/antigravity.svg +1 -0
- package/assets/brands/claude.svg +1 -0
- package/assets/brands/codebuddy-on-dark.svg +1 -0
- package/assets/brands/codebuddy-on-light.svg +1 -0
- package/assets/brands/codebuddy.svg +1 -0
- package/assets/brands/codex-on-dark.svg +1 -0
- package/assets/brands/codex-on-light.svg +1 -0
- package/assets/brands/codex.svg +1 -0
- package/assets/brands/cursor-on-dark.svg +1 -0
- package/assets/brands/cursor-on-light.svg +1 -0
- package/assets/brands/cursor.svg +1 -0
- package/assets/brands/devin.svg +1 -0
- package/assets/brands/dsh-on-dark.svg +1 -0
- package/assets/brands/dsh-on-light.svg +1 -0
- package/assets/brands/dsh.svg +1 -0
- package/assets/brands/factory.svg +8 -0
- package/assets/brands/grok-on-dark.svg +1 -0
- package/assets/brands/grok-on-light.svg +1 -0
- package/assets/brands/grok.svg +1 -0
- package/assets/brands/kimi-on-dark.svg +1 -0
- package/assets/brands/kimi-on-light.svg +1 -0
- package/assets/brands/kimi.svg +1 -0
- package/assets/brands/morph-on-dark.svg +9 -0
- package/assets/brands/morph-on-light.svg +9 -0
- package/assets/brands/morph.svg +9 -0
- package/assets/brands/opencode-on-dark.svg +1 -0
- package/assets/brands/opencode-on-light.svg +1 -0
- package/assets/brands/opencode.svg +1 -0
- package/assets/brands/pi-durable-on-dark.svg +6 -0
- package/assets/brands/pi-durable-on-light.svg +6 -0
- package/assets/brands/pi-durable.svg +6 -0
- package/assets/brands/pi-on-dark.svg +6 -0
- package/assets/brands/pi-on-light.svg +6 -0
- package/assets/brands/pi.svg +6 -0
- package/assets/brands/qoder-on-dark.svg +1 -0
- package/assets/brands/qoder-on-light.svg +1 -0
- package/assets/brands/qoder.svg +1 -0
- package/assets/brands/qwen-on-dark.svg +6 -0
- package/assets/brands/qwen-on-light.svg +6 -0
- package/assets/brands/qwen.svg +6 -0
- package/dist/agents/crew.d.ts +9 -0
- package/dist/agents/crew.d.ts.map +1 -0
- package/dist/agents/crew.js +250 -0
- package/dist/agents/crew.js.map +1 -0
- package/dist/agents/helpers.d.ts +15 -0
- package/dist/agents/helpers.d.ts.map +1 -0
- package/dist/agents/helpers.js +60 -0
- package/dist/agents/helpers.js.map +1 -0
- package/dist/agents/index.d.ts +10 -0
- package/dist/agents/index.d.ts.map +1 -0
- package/dist/agents/index.js +8 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/report.d.ts +37 -0
- package/dist/agents/report.d.ts.map +1 -0
- package/dist/agents/report.js +58 -0
- package/dist/agents/report.js.map +1 -0
- package/dist/agents/subagent.d.ts +25 -0
- package/dist/agents/subagent.d.ts.map +1 -0
- package/dist/agents/subagent.js +206 -0
- package/dist/agents/subagent.js.map +1 -0
- package/dist/agents/types.d.ts +151 -0
- package/dist/agents/types.d.ts.map +1 -0
- package/dist/agents/types.js +2 -0
- package/dist/agents/types.js.map +1 -0
- package/dist/brands.d.ts +112 -0
- package/dist/brands.d.ts.map +1 -0
- package/dist/brands.js +97 -0
- package/dist/brands.js.map +1 -0
- package/dist/browser.d.ts +12 -0
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +10 -0
- package/dist/browser.js.map +1 -0
- package/dist/community/cybion/client.d.ts +24 -0
- package/dist/community/cybion/client.d.ts.map +1 -0
- package/dist/community/cybion/client.js +42 -0
- package/dist/community/cybion/client.js.map +1 -0
- package/dist/community/cybion/index.d.ts +14 -0
- package/dist/community/cybion/index.d.ts.map +1 -0
- package/dist/community/cybion/index.js +30 -0
- package/dist/community/cybion/index.js.map +1 -0
- package/dist/community/cybion/projection.d.ts +7 -0
- package/dist/community/cybion/projection.d.ts.map +1 -0
- package/dist/community/cybion/projection.js +100 -0
- package/dist/community/cybion/projection.js.map +1 -0
- package/dist/community/cybion/refusal.d.ts +19 -0
- package/dist/community/cybion/refusal.d.ts.map +1 -0
- package/dist/community/cybion/refusal.js +23 -0
- package/dist/community/cybion/refusal.js.map +1 -0
- package/dist/community/cybion/refused-options.d.ts +4 -0
- package/dist/community/cybion/refused-options.d.ts.map +1 -0
- package/dist/community/cybion/refused-options.js +17 -0
- package/dist/community/cybion/refused-options.js.map +1 -0
- package/dist/community/cybion/session.d.ts +8 -0
- package/dist/community/cybion/session.d.ts.map +1 -0
- package/dist/community/cybion/session.js +283 -0
- package/dist/community/cybion/session.js.map +1 -0
- package/dist/community/cybion/thread.d.ts +75 -0
- package/dist/community/cybion/thread.d.ts.map +1 -0
- package/dist/community/cybion/thread.js +192 -0
- package/dist/community/cybion/thread.js.map +1 -0
- package/dist/community/cybion/tracker-facts.d.ts +38 -0
- package/dist/community/cybion/tracker-facts.d.ts.map +1 -0
- package/dist/community/cybion/tracker-facts.js +44 -0
- package/dist/community/cybion/tracker-facts.js.map +1 -0
- package/dist/community/cybion/tracker.d.ts +76 -0
- package/dist/community/cybion/tracker.d.ts.map +1 -0
- package/dist/community/cybion/tracker.js +244 -0
- package/dist/community/cybion/tracker.js.map +1 -0
- package/dist/community/index.d.ts +3 -0
- package/dist/community/index.d.ts.map +1 -0
- package/dist/community/index.js +9 -0
- package/dist/community/index.js.map +1 -0
- package/dist/community/morph/console.d.ts +54 -0
- package/dist/community/morph/console.d.ts.map +1 -0
- package/dist/community/morph/console.js +237 -0
- package/dist/community/morph/console.js.map +1 -0
- package/dist/community/morph/index.d.ts +11 -0
- package/dist/community/morph/index.d.ts.map +1 -0
- package/dist/community/morph/index.js +31 -0
- package/dist/community/morph/index.js.map +1 -0
- package/dist/community/morph/installation.d.ts +4 -0
- package/dist/community/morph/installation.d.ts.map +1 -0
- package/dist/community/morph/installation.js +16 -0
- package/dist/community/morph/installation.js.map +1 -0
- package/dist/community/morph/list-models.d.ts +9 -0
- package/dist/community/morph/list-models.d.ts.map +1 -0
- package/dist/community/morph/list-models.js +36 -0
- package/dist/community/morph/list-models.js.map +1 -0
- package/dist/community/morph/projection.d.ts +36 -0
- package/dist/community/morph/projection.d.ts.map +1 -0
- package/dist/community/morph/projection.js +210 -0
- package/dist/community/morph/projection.js.map +1 -0
- package/dist/community/morph/session.d.ts +9 -0
- package/dist/community/morph/session.d.ts.map +1 -0
- package/dist/community/morph/session.js +220 -0
- package/dist/community/morph/session.js.map +1 -0
- package/dist/community/morph/topic.d.ts +24 -0
- package/dist/community/morph/topic.d.ts.map +1 -0
- package/dist/community/morph/topic.js +74 -0
- package/dist/community/morph/topic.js.map +1 -0
- package/dist/community/morph/tracker.d.ts +33 -0
- package/dist/community/morph/tracker.d.ts.map +1 -0
- package/dist/community/morph/tracker.js +157 -0
- package/dist/community/morph/tracker.js.map +1 -0
- package/dist/contracts/account-usage.d.ts +303 -0
- package/dist/contracts/account-usage.d.ts.map +1 -0
- package/dist/contracts/account-usage.js +2 -0
- package/dist/contracts/account-usage.js.map +1 -0
- package/dist/contracts/brand.d.ts +12 -0
- package/dist/contracts/brand.d.ts.map +1 -0
- package/dist/contracts/brand.js +2 -0
- package/dist/contracts/brand.js.map +1 -0
- package/dist/contracts/cleanup.d.ts +82 -0
- package/dist/contracts/cleanup.d.ts.map +1 -0
- package/dist/contracts/cleanup.js +75 -0
- package/dist/contracts/cleanup.js.map +1 -0
- package/dist/contracts/compaction.d.ts +43 -0
- package/dist/contracts/compaction.d.ts.map +1 -0
- package/dist/contracts/compaction.js +2 -0
- package/dist/contracts/compaction.js.map +1 -0
- package/dist/contracts/context-breakdown.d.ts +33 -0
- package/dist/contracts/context-breakdown.d.ts.map +1 -0
- package/dist/contracts/context-breakdown.js +2 -0
- package/dist/contracts/context-breakdown.js.map +1 -0
- package/dist/contracts/context-usage.d.ts +7 -0
- package/dist/contracts/context-usage.d.ts.map +1 -0
- package/dist/contracts/context-usage.js +2 -0
- package/dist/contracts/context-usage.js.map +1 -0
- package/dist/contracts/control.d.ts +29 -0
- package/dist/contracts/control.d.ts.map +1 -0
- package/dist/contracts/control.js +2 -0
- package/dist/contracts/control.js.map +1 -0
- package/dist/contracts/deliver.d.ts +57 -0
- package/dist/contracts/deliver.d.ts.map +1 -0
- package/dist/contracts/deliver.js +2 -0
- package/dist/contracts/deliver.js.map +1 -0
- package/dist/contracts/errors.d.ts +18 -0
- package/dist/contracts/errors.d.ts.map +1 -0
- package/dist/contracts/errors.js +20 -0
- package/dist/contracts/errors.js.map +1 -0
- package/dist/contracts/execution-policy.d.ts +53 -0
- package/dist/contracts/execution-policy.d.ts.map +1 -0
- package/dist/contracts/execution-policy.js +2 -0
- package/dist/contracts/execution-policy.js.map +1 -0
- package/dist/contracts/failure.d.ts +62 -0
- package/dist/contracts/failure.d.ts.map +1 -0
- package/dist/contracts/failure.js +2 -0
- package/dist/contracts/failure.js.map +1 -0
- package/dist/contracts/goal.d.ts +36 -0
- package/dist/contracts/goal.d.ts.map +1 -0
- package/dist/contracts/goal.js +2 -0
- package/dist/contracts/goal.js.map +1 -0
- package/dist/contracts/graph.d.ts +19 -0
- package/dist/contracts/graph.d.ts.map +1 -0
- package/dist/contracts/graph.js +4 -0
- package/dist/contracts/graph.js.map +1 -0
- package/dist/contracts/index.d.ts +30 -0
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js +10 -0
- package/dist/contracts/index.js.map +1 -0
- package/dist/contracts/input.d.ts +41 -0
- package/dist/contracts/input.d.ts.map +1 -0
- package/dist/contracts/input.js +2 -0
- package/dist/contracts/input.js.map +1 -0
- package/dist/contracts/install.d.ts +112 -0
- package/dist/contracts/install.d.ts.map +1 -0
- package/dist/contracts/install.js +2 -0
- package/dist/contracts/install.js.map +1 -0
- package/dist/contracts/installation.d.ts +67 -0
- package/dist/contracts/installation.d.ts.map +1 -0
- package/dist/contracts/installation.js +2 -0
- package/dist/contracts/installation.js.map +1 -0
- package/dist/contracts/inventory.d.ts +93 -0
- package/dist/contracts/inventory.d.ts.map +1 -0
- package/dist/contracts/inventory.js +2 -0
- package/dist/contracts/inventory.js.map +1 -0
- package/dist/contracts/list-models.d.ts +96 -0
- package/dist/contracts/list-models.d.ts.map +1 -0
- package/dist/contracts/list-models.js +2 -0
- package/dist/contracts/list-models.js.map +1 -0
- package/dist/contracts/login.d.ts +194 -0
- package/dist/contracts/login.d.ts.map +1 -0
- package/dist/contracts/login.js +2 -0
- package/dist/contracts/login.js.map +1 -0
- package/dist/contracts/model-catalog.d.ts +51 -0
- package/dist/contracts/model-catalog.d.ts.map +1 -0
- package/dist/contracts/model-catalog.js +9 -0
- package/dist/contracts/model-catalog.js.map +1 -0
- package/dist/contracts/model-confirmation-error.d.ts +27 -0
- package/dist/contracts/model-confirmation-error.d.ts.map +1 -0
- package/dist/contracts/model-confirmation-error.js +24 -0
- package/dist/contracts/model-confirmation-error.js.map +1 -0
- package/dist/contracts/orientation.d.ts +66 -0
- package/dist/contracts/orientation.d.ts.map +1 -0
- package/dist/contracts/orientation.js +2 -0
- package/dist/contracts/orientation.js.map +1 -0
- package/dist/contracts/ownership.d.ts +50 -0
- package/dist/contracts/ownership.d.ts.map +1 -0
- package/dist/contracts/ownership.js +2 -0
- package/dist/contracts/ownership.js.map +1 -0
- package/dist/contracts/placement.d.ts +53 -0
- package/dist/contracts/placement.d.ts.map +1 -0
- package/dist/contracts/placement.js +42 -0
- package/dist/contracts/placement.js.map +1 -0
- package/dist/contracts/provider-auth.d.ts +158 -0
- package/dist/contracts/provider-auth.d.ts.map +1 -0
- package/dist/contracts/provider-auth.js +9 -0
- package/dist/contracts/provider-auth.js.map +1 -0
- package/dist/contracts/records.d.ts +450 -0
- package/dist/contracts/records.d.ts.map +1 -0
- package/dist/contracts/records.js +2 -0
- package/dist/contracts/records.js.map +1 -0
- package/dist/contracts/resume-cwd-error.d.ts +29 -0
- package/dist/contracts/resume-cwd-error.d.ts.map +1 -0
- package/dist/contracts/resume-cwd-error.js +27 -0
- package/dist/contracts/resume-cwd-error.js.map +1 -0
- package/dist/contracts/runtime-failure-error.d.ts +33 -0
- package/dist/contracts/runtime-failure-error.d.ts.map +1 -0
- package/dist/contracts/runtime-failure-error.js +22 -0
- package/dist/contracts/runtime-failure-error.js.map +1 -0
- package/dist/contracts/runtime.d.ts +247 -0
- package/dist/contracts/runtime.d.ts.map +1 -0
- package/dist/contracts/runtime.js +74 -0
- package/dist/contracts/runtime.js.map +1 -0
- package/dist/contracts/session-not-found-error.d.ts +21 -0
- package/dist/contracts/session-not-found-error.d.ts.map +1 -0
- package/dist/contracts/session-not-found-error.js +18 -0
- package/dist/contracts/session-not-found-error.js.map +1 -0
- package/dist/contracts/session-options.d.ts +332 -0
- package/dist/contracts/session-options.d.ts.map +1 -0
- package/dist/contracts/session-options.js +2 -0
- package/dist/contracts/session-options.js.map +1 -0
- package/dist/contracts/session-unavailable-error.d.ts +32 -0
- package/dist/contracts/session-unavailable-error.d.ts.map +1 -0
- package/dist/contracts/session-unavailable-error.js +19 -0
- package/dist/contracts/session-unavailable-error.js.map +1 -0
- package/dist/contracts/session.d.ts +284 -0
- package/dist/contracts/session.d.ts.map +1 -0
- package/dist/contracts/session.js +2 -0
- package/dist/contracts/session.js.map +1 -0
- package/dist/contracts/shell-environment.d.ts +24 -0
- package/dist/contracts/shell-environment.d.ts.map +1 -0
- package/dist/contracts/shell-environment.js +21 -0
- package/dist/contracts/shell-environment.js.map +1 -0
- package/dist/contracts/side-question.d.ts +158 -0
- package/dist/contracts/side-question.d.ts.map +1 -0
- package/dist/contracts/side-question.js +2 -0
- package/dist/contracts/side-question.js.map +1 -0
- package/dist/contracts/status.d.ts +65 -0
- package/dist/contracts/status.d.ts.map +1 -0
- package/dist/contracts/status.js +2 -0
- package/dist/contracts/status.js.map +1 -0
- package/dist/contracts/tasks.d.ts +58 -0
- package/dist/contracts/tasks.d.ts.map +1 -0
- package/dist/contracts/tasks.js +2 -0
- package/dist/contracts/tasks.js.map +1 -0
- package/dist/contracts/tool-output.d.ts +22 -0
- package/dist/contracts/tool-output.d.ts.map +1 -0
- package/dist/contracts/tool-output.js +2 -0
- package/dist/contracts/tool-output.js.map +1 -0
- package/dist/contracts/turn-outcome.d.ts +17 -0
- package/dist/contracts/turn-outcome.d.ts.map +1 -0
- package/dist/contracts/turn-outcome.js +2 -0
- package/dist/contracts/turn-outcome.js.map +1 -0
- package/dist/contracts/update.d.ts +77 -0
- package/dist/contracts/update.d.ts.map +1 -0
- package/dist/contracts/update.js +2 -0
- package/dist/contracts/update.js.map +1 -0
- package/dist/forms/fields.d.ts +9 -0
- package/dist/forms/fields.d.ts.map +1 -0
- package/dist/forms/fields.js +46 -0
- package/dist/forms/fields.js.map +1 -0
- package/dist/forms/index.d.ts +5 -0
- package/dist/forms/index.d.ts.map +1 -0
- package/dist/forms/index.js +11 -0
- package/dist/forms/index.js.map +1 -0
- package/dist/forms/listing.d.ts +15 -0
- package/dist/forms/listing.d.ts.map +1 -0
- package/dist/forms/listing.js +28 -0
- package/dist/forms/listing.js.map +1 -0
- package/dist/forms/map.d.ts +32 -0
- package/dist/forms/map.d.ts.map +1 -0
- package/dist/forms/map.js +76 -0
- package/dist/forms/map.js.map +1 -0
- package/dist/forms/runtimes/grok.d.ts +15 -0
- package/dist/forms/runtimes/grok.d.ts.map +1 -0
- package/dist/forms/runtimes/grok.js +56 -0
- package/dist/forms/runtimes/grok.js.map +1 -0
- package/dist/forms/types.d.ts +131 -0
- package/dist/forms/types.d.ts.map +1 -0
- package/dist/forms/types.js +2 -0
- package/dist/forms/types.js.map +1 -0
- package/dist/forms/validate.d.ts +10 -0
- package/dist/forms/validate.d.ts.map +1 -0
- package/dist/forms/validate.js +147 -0
- package/dist/forms/validate.js.map +1 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +73 -0
- package/dist/index.js.map +1 -0
- package/dist/kernel.d.ts +21 -0
- package/dist/kernel.d.ts.map +1 -0
- package/dist/kernel.js +18 -0
- package/dist/kernel.js.map +1 -0
- package/dist/mcp/http.d.ts +23 -0
- package/dist/mcp/http.d.ts.map +1 -0
- package/dist/mcp/http.js +111 -0
- package/dist/mcp/http.js.map +1 -0
- package/dist/mcp/serve-tools.d.ts +81 -0
- package/dist/mcp/serve-tools.d.ts.map +1 -0
- package/dist/mcp/serve-tools.js +215 -0
- package/dist/mcp/serve-tools.js.map +1 -0
- package/dist/observe/adapter-queue.d.ts +33 -0
- package/dist/observe/adapter-queue.d.ts.map +1 -0
- package/dist/observe/adapter-queue.js +76 -0
- package/dist/observe/adapter-queue.js.map +1 -0
- package/dist/observe/agent-status.d.ts +14 -0
- package/dist/observe/agent-status.d.ts.map +1 -0
- package/dist/observe/agent-status.js +333 -0
- package/dist/observe/agent-status.js.map +1 -0
- package/dist/observe/app-requests.d.ts +28 -0
- package/dist/observe/app-requests.d.ts.map +1 -0
- package/dist/observe/app-requests.js +76 -0
- package/dist/observe/app-requests.js.map +1 -0
- package/dist/observe/conversation.d.ts +71 -0
- package/dist/observe/conversation.d.ts.map +1 -0
- package/dist/observe/conversation.js +222 -0
- package/dist/observe/conversation.js.map +1 -0
- package/dist/observe/display-text.d.ts +28 -0
- package/dist/observe/display-text.d.ts.map +1 -0
- package/dist/observe/display-text.js +155 -0
- package/dist/observe/display-text.js.map +1 -0
- package/dist/observe/events.d.ts +42 -0
- package/dist/observe/events.d.ts.map +1 -0
- package/dist/observe/events.js +169 -0
- package/dist/observe/events.js.map +1 -0
- package/dist/observe/failure-advice.d.ts +24 -0
- package/dist/observe/failure-advice.d.ts.map +1 -0
- package/dist/observe/failure-advice.js +21 -0
- package/dist/observe/failure-advice.js.map +1 -0
- package/dist/observe/graph.d.ts +14 -0
- package/dist/observe/graph.d.ts.map +1 -0
- package/dist/observe/graph.js +40 -0
- package/dist/observe/graph.js.map +1 -0
- package/dist/observe/index.d.ts +43 -0
- package/dist/observe/index.d.ts.map +1 -0
- package/dist/observe/index.js +29 -0
- package/dist/observe/index.js.map +1 -0
- package/dist/observe/input-admission.d.ts +20 -0
- package/dist/observe/input-admission.d.ts.map +1 -0
- package/dist/observe/input-admission.js +64 -0
- package/dist/observe/input-admission.js.map +1 -0
- package/dist/observe/input-carries.d.ts +10 -0
- package/dist/observe/input-carries.d.ts.map +1 -0
- package/dist/observe/input-carries.js +25 -0
- package/dist/observe/input-carries.js.map +1 -0
- package/dist/observe/input-delivery.d.ts +13 -0
- package/dist/observe/input-delivery.d.ts.map +1 -0
- package/dist/observe/input-delivery.js +47 -0
- package/dist/observe/input-delivery.js.map +1 -0
- package/dist/observe/input-identity.d.ts +13 -0
- package/dist/observe/input-identity.d.ts.map +1 -0
- package/dist/observe/input-identity.js +12 -0
- package/dist/observe/input-identity.js.map +1 -0
- package/dist/observe/input-wait.d.ts +15 -0
- package/dist/observe/input-wait.d.ts.map +1 -0
- package/dist/observe/input-wait.js +134 -0
- package/dist/observe/input-wait.js.map +1 -0
- package/dist/observe/legacy.d.ts +15 -0
- package/dist/observe/legacy.d.ts.map +1 -0
- package/dist/observe/legacy.js +63 -0
- package/dist/observe/legacy.js.map +1 -0
- package/dist/observe/observe-agent.d.ts +38 -0
- package/dist/observe/observe-agent.d.ts.map +1 -0
- package/dist/observe/observe-agent.js +61 -0
- package/dist/observe/observe-agent.js.map +1 -0
- package/dist/observe/redact-record.d.ts +14 -0
- package/dist/observe/redact-record.d.ts.map +1 -0
- package/dist/observe/redact-record.js +28 -0
- package/dist/observe/redact-record.js.map +1 -0
- package/dist/observe/session-view-events.d.ts +5 -0
- package/dist/observe/session-view-events.d.ts.map +1 -0
- package/dist/observe/session-view-events.js +399 -0
- package/dist/observe/session-view-events.js.map +1 -0
- package/dist/observe/session-view-fold.d.ts +79 -0
- package/dist/observe/session-view-fold.d.ts.map +1 -0
- package/dist/observe/session-view-fold.js +212 -0
- package/dist/observe/session-view-fold.js.map +1 -0
- package/dist/observe/session-view-inputs.d.ts +30 -0
- package/dist/observe/session-view-inputs.d.ts.map +1 -0
- package/dist/observe/session-view-inputs.js +179 -0
- package/dist/observe/session-view-inputs.js.map +1 -0
- package/dist/observe/session-view-tools.d.ts +42 -0
- package/dist/observe/session-view-tools.d.ts.map +1 -0
- package/dist/observe/session-view-tools.js +116 -0
- package/dist/observe/session-view-tools.js.map +1 -0
- package/dist/observe/session-view.d.ts +229 -0
- package/dist/observe/session-view.d.ts.map +1 -0
- package/dist/observe/session-view.js +115 -0
- package/dist/observe/session-view.js.map +1 -0
- package/dist/observe/side-question.d.ts +24 -0
- package/dist/observe/side-question.d.ts.map +1 -0
- package/dist/observe/side-question.js +35 -0
- package/dist/observe/side-question.js.map +1 -0
- package/dist/observe/stall-observer.d.ts +20 -0
- package/dist/observe/stall-observer.d.ts.map +1 -0
- package/dist/observe/stall-observer.js +47 -0
- package/dist/observe/stall-observer.js.map +1 -0
- package/dist/observe/status-state.d.ts +27 -0
- package/dist/observe/status-state.d.ts.map +1 -0
- package/dist/observe/status-state.js +8 -0
- package/dist/observe/status-state.js.map +1 -0
- package/dist/observe/streams.d.ts +39 -0
- package/dist/observe/streams.d.ts.map +1 -0
- package/dist/observe/streams.js +50 -0
- package/dist/observe/streams.js.map +1 -0
- package/dist/observe/tasks.d.ts +71 -0
- package/dist/observe/tasks.d.ts.map +1 -0
- package/dist/observe/tasks.js +136 -0
- package/dist/observe/tasks.js.map +1 -0
- package/dist/observe/tool-activity.d.ts +55 -0
- package/dist/observe/tool-activity.d.ts.map +1 -0
- package/dist/observe/tool-activity.js +218 -0
- package/dist/observe/tool-activity.js.map +1 -0
- package/dist/observe/tool-groups.d.ts +45 -0
- package/dist/observe/tool-groups.d.ts.map +1 -0
- package/dist/observe/tool-groups.js +93 -0
- package/dist/observe/tool-groups.js.map +1 -0
- package/dist/observe/tool-output.d.ts +8 -0
- package/dist/observe/tool-output.d.ts.map +1 -0
- package/dist/observe/tool-output.js +10 -0
- package/dist/observe/tool-output.js.map +1 -0
- package/dist/observe/tool-paths.d.ts +3 -0
- package/dist/observe/tool-paths.d.ts.map +1 -0
- package/dist/observe/tool-paths.js +57 -0
- package/dist/observe/tool-paths.js.map +1 -0
- package/dist/observe/turn-stop.d.ts +12 -0
- package/dist/observe/turn-stop.d.ts.map +1 -0
- package/dist/observe/turn-stop.js +31 -0
- package/dist/observe/turn-stop.js.map +1 -0
- package/dist/observe/turns.d.ts +115 -0
- package/dist/observe/turns.d.ts.map +1 -0
- package/dist/observe/turns.js +208 -0
- package/dist/observe/turns.js.map +1 -0
- package/dist/observe/usage-totals.d.ts +27 -0
- package/dist/observe/usage-totals.d.ts.map +1 -0
- package/dist/observe/usage-totals.js +64 -0
- package/dist/observe/usage-totals.js.map +1 -0
- package/dist/observe/usage.d.ts +24 -0
- package/dist/observe/usage.d.ts.map +1 -0
- package/dist/observe/usage.js +136 -0
- package/dist/observe/usage.js.map +1 -0
- package/dist/pi-durable.d.ts +3 -0
- package/dist/pi-durable.d.ts.map +1 -0
- package/dist/pi-durable.js +3 -0
- package/dist/pi-durable.js.map +1 -0
- package/dist/platforms.d.ts +30 -0
- package/dist/platforms.d.ts.map +1 -0
- package/dist/platforms.js +19 -0
- package/dist/platforms.js.map +1 -0
- package/dist/registry.d.ts +10 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +30 -0
- package/dist/registry.js.map +1 -0
- package/dist/runtimes/antigravity/account-usage.d.ts +14 -0
- package/dist/runtimes/antigravity/account-usage.d.ts.map +1 -0
- package/dist/runtimes/antigravity/account-usage.js +147 -0
- package/dist/runtimes/antigravity/account-usage.js.map +1 -0
- package/dist/runtimes/antigravity/auth.d.ts +11 -0
- package/dist/runtimes/antigravity/auth.d.ts.map +1 -0
- package/dist/runtimes/antigravity/auth.js +223 -0
- package/dist/runtimes/antigravity/auth.js.map +1 -0
- package/dist/runtimes/antigravity/index.d.ts +34 -0
- package/dist/runtimes/antigravity/index.d.ts.map +1 -0
- package/dist/runtimes/antigravity/index.js +38 -0
- package/dist/runtimes/antigravity/index.js.map +1 -0
- package/dist/runtimes/antigravity/install.d.ts +8 -0
- package/dist/runtimes/antigravity/install.d.ts.map +1 -0
- package/dist/runtimes/antigravity/install.js +37 -0
- package/dist/runtimes/antigravity/install.js.map +1 -0
- package/dist/runtimes/antigravity/installation.d.ts +7 -0
- package/dist/runtimes/antigravity/installation.d.ts.map +1 -0
- package/dist/runtimes/antigravity/installation.js +44 -0
- package/dist/runtimes/antigravity/installation.js.map +1 -0
- package/dist/runtimes/antigravity/list-models.d.ts +4 -0
- package/dist/runtimes/antigravity/list-models.d.ts.map +1 -0
- package/dist/runtimes/antigravity/list-models.js +69 -0
- package/dist/runtimes/antigravity/list-models.js.map +1 -0
- package/dist/runtimes/antigravity/login-browser.d.ts +14 -0
- package/dist/runtimes/antigravity/login-browser.d.ts.map +1 -0
- package/dist/runtimes/antigravity/login-browser.js +30 -0
- package/dist/runtimes/antigravity/login-browser.js.map +1 -0
- package/dist/runtimes/antigravity/logout.d.ts +12 -0
- package/dist/runtimes/antigravity/logout.d.ts.map +1 -0
- package/dist/runtimes/antigravity/logout.js +33 -0
- package/dist/runtimes/antigravity/logout.js.map +1 -0
- package/dist/runtimes/antigravity/model-menus.d.ts +15 -0
- package/dist/runtimes/antigravity/model-menus.d.ts.map +1 -0
- package/dist/runtimes/antigravity/model-menus.js +191 -0
- package/dist/runtimes/antigravity/model-menus.js.map +1 -0
- package/dist/runtimes/antigravity/model-selection.d.ts +5 -0
- package/dist/runtimes/antigravity/model-selection.d.ts.map +1 -0
- package/dist/runtimes/antigravity/model-selection.js +58 -0
- package/dist/runtimes/antigravity/model-selection.js.map +1 -0
- package/dist/runtimes/antigravity/options.d.ts +3 -0
- package/dist/runtimes/antigravity/options.d.ts.map +1 -0
- package/dist/runtimes/antigravity/options.js +22 -0
- package/dist/runtimes/antigravity/options.js.map +1 -0
- package/dist/runtimes/antigravity/quota.d.ts +6 -0
- package/dist/runtimes/antigravity/quota.d.ts.map +1 -0
- package/dist/runtimes/antigravity/quota.js +50 -0
- package/dist/runtimes/antigravity/quota.js.map +1 -0
- package/dist/runtimes/antigravity/session.d.ts +6 -0
- package/dist/runtimes/antigravity/session.d.ts.map +1 -0
- package/dist/runtimes/antigravity/session.js +61 -0
- package/dist/runtimes/antigravity/session.js.map +1 -0
- package/dist/runtimes/antigravity/skill-files.d.ts +8 -0
- package/dist/runtimes/antigravity/skill-files.d.ts.map +1 -0
- package/dist/runtimes/antigravity/skill-files.js +152 -0
- package/dist/runtimes/antigravity/skill-files.js.map +1 -0
- package/dist/runtimes/antigravity/skill-manifests.d.ts +13 -0
- package/dist/runtimes/antigravity/skill-manifests.d.ts.map +1 -0
- package/dist/runtimes/antigravity/skill-manifests.js +92 -0
- package/dist/runtimes/antigravity/skill-manifests.js.map +1 -0
- package/dist/runtimes/antigravity/skill-metadata.d.ts +9 -0
- package/dist/runtimes/antigravity/skill-metadata.d.ts.map +1 -0
- package/dist/runtimes/antigravity/skill-metadata.js +57 -0
- package/dist/runtimes/antigravity/skill-metadata.js.map +1 -0
- package/dist/runtimes/antigravity/skills.d.ts +4 -0
- package/dist/runtimes/antigravity/skills.d.ts.map +1 -0
- package/dist/runtimes/antigravity/skills.js +82 -0
- package/dist/runtimes/antigravity/skills.js.map +1 -0
- package/dist/runtimes/antigravity/state-directory.d.ts +6 -0
- package/dist/runtimes/antigravity/state-directory.d.ts.map +1 -0
- package/dist/runtimes/antigravity/state-directory.js +24 -0
- package/dist/runtimes/antigravity/state-directory.js.map +1 -0
- package/dist/runtimes/antigravity/update.d.ts +9 -0
- package/dist/runtimes/antigravity/update.d.ts.map +1 -0
- package/dist/runtimes/antigravity/update.js +42 -0
- package/dist/runtimes/antigravity/update.js.map +1 -0
- package/dist/runtimes/antigravity/version.d.ts +17 -0
- package/dist/runtimes/antigravity/version.d.ts.map +1 -0
- package/dist/runtimes/antigravity/version.js +32 -0
- package/dist/runtimes/antigravity/version.js.map +1 -0
- package/dist/runtimes/claude/account-usage.d.ts +10 -0
- package/dist/runtimes/claude/account-usage.d.ts.map +1 -0
- package/dist/runtimes/claude/account-usage.js +208 -0
- package/dist/runtimes/claude/account-usage.js.map +1 -0
- package/dist/runtimes/claude/auth-status.d.ts +15 -0
- package/dist/runtimes/claude/auth-status.d.ts.map +1 -0
- package/dist/runtimes/claude/auth-status.js +63 -0
- package/dist/runtimes/claude/auth-status.js.map +1 -0
- package/dist/runtimes/claude/compaction.d.ts +12 -0
- package/dist/runtimes/claude/compaction.d.ts.map +1 -0
- package/dist/runtimes/claude/compaction.js +104 -0
- package/dist/runtimes/claude/compaction.js.map +1 -0
- package/dist/runtimes/claude/context-breakdown.d.ts +22 -0
- package/dist/runtimes/claude/context-breakdown.d.ts.map +1 -0
- package/dist/runtimes/claude/context-breakdown.js +128 -0
- package/dist/runtimes/claude/context-breakdown.js.map +1 -0
- package/dist/runtimes/claude/context-usage.d.ts +45 -0
- package/dist/runtimes/claude/context-usage.d.ts.map +1 -0
- package/dist/runtimes/claude/context-usage.js +39 -0
- package/dist/runtimes/claude/context-usage.js.map +1 -0
- package/dist/runtimes/claude/effort.d.ts +14 -0
- package/dist/runtimes/claude/effort.d.ts.map +1 -0
- package/dist/runtimes/claude/effort.js +62 -0
- package/dist/runtimes/claude/effort.js.map +1 -0
- package/dist/runtimes/claude/environment.d.ts +22 -0
- package/dist/runtimes/claude/environment.d.ts.map +1 -0
- package/dist/runtimes/claude/environment.js +41 -0
- package/dist/runtimes/claude/environment.js.map +1 -0
- package/dist/runtimes/claude/failure.d.ts +40 -0
- package/dist/runtimes/claude/failure.d.ts.map +1 -0
- package/dist/runtimes/claude/failure.js +96 -0
- package/dist/runtimes/claude/failure.js.map +1 -0
- package/dist/runtimes/claude/fork-identity.d.ts +8 -0
- package/dist/runtimes/claude/fork-identity.d.ts.map +1 -0
- package/dist/runtimes/claude/fork-identity.js +56 -0
- package/dist/runtimes/claude/fork-identity.js.map +1 -0
- package/dist/runtimes/claude/global-config.d.ts +3 -0
- package/dist/runtimes/claude/global-config.d.ts.map +1 -0
- package/dist/runtimes/claude/global-config.js +36 -0
- package/dist/runtimes/claude/global-config.js.map +1 -0
- package/dist/runtimes/claude/history.d.ts +5 -0
- package/dist/runtimes/claude/history.d.ts.map +1 -0
- package/dist/runtimes/claude/history.js +160 -0
- package/dist/runtimes/claude/history.js.map +1 -0
- package/dist/runtimes/claude/index.d.ts +60 -0
- package/dist/runtimes/claude/index.d.ts.map +1 -0
- package/dist/runtimes/claude/index.js +51 -0
- package/dist/runtimes/claude/index.js.map +1 -0
- package/dist/runtimes/claude/install.d.ts +17 -0
- package/dist/runtimes/claude/install.d.ts.map +1 -0
- package/dist/runtimes/claude/install.js +29 -0
- package/dist/runtimes/claude/install.js.map +1 -0
- package/dist/runtimes/claude/installation.d.ts +11 -0
- package/dist/runtimes/claude/installation.d.ts.map +1 -0
- package/dist/runtimes/claude/installation.js +18 -0
- package/dist/runtimes/claude/installation.js.map +1 -0
- package/dist/runtimes/claude/inventory.d.ts +30 -0
- package/dist/runtimes/claude/inventory.d.ts.map +1 -0
- package/dist/runtimes/claude/inventory.js +277 -0
- package/dist/runtimes/claude/inventory.js.map +1 -0
- package/dist/runtimes/claude/last-account.d.ts +4 -0
- package/dist/runtimes/claude/last-account.d.ts.map +1 -0
- package/dist/runtimes/claude/last-account.js +15 -0
- package/dist/runtimes/claude/last-account.js.map +1 -0
- package/dist/runtimes/claude/launch-args.d.ts +12 -0
- package/dist/runtimes/claude/launch-args.d.ts.map +1 -0
- package/dist/runtimes/claude/launch-args.js +82 -0
- package/dist/runtimes/claude/launch-args.js.map +1 -0
- package/dist/runtimes/claude/launch.d.ts +29 -0
- package/dist/runtimes/claude/launch.d.ts.map +1 -0
- package/dist/runtimes/claude/launch.js +143 -0
- package/dist/runtimes/claude/launch.js.map +1 -0
- package/dist/runtimes/claude/limit-reset/driver.d.ts +148 -0
- package/dist/runtimes/claude/limit-reset/driver.d.ts.map +1 -0
- package/dist/runtimes/claude/limit-reset/driver.js +1029 -0
- package/dist/runtimes/claude/limit-reset/driver.js.map +1 -0
- package/dist/runtimes/claude/limit-reset/index.d.ts +6 -0
- package/dist/runtimes/claude/limit-reset/index.d.ts.map +1 -0
- package/dist/runtimes/claude/limit-reset/index.js +58 -0
- package/dist/runtimes/claude/limit-reset/index.js.map +1 -0
- package/dist/runtimes/claude/limit-reset/onboarding.d.ts +4 -0
- package/dist/runtimes/claude/limit-reset/onboarding.d.ts.map +1 -0
- package/dist/runtimes/claude/limit-reset/onboarding.js +24 -0
- package/dist/runtimes/claude/limit-reset/onboarding.js.map +1 -0
- package/dist/runtimes/claude/limit-reset/screens.d.ts +125 -0
- package/dist/runtimes/claude/limit-reset/screens.d.ts.map +1 -0
- package/dist/runtimes/claude/limit-reset/screens.js +305 -0
- package/dist/runtimes/claude/limit-reset/screens.js.map +1 -0
- package/dist/runtimes/claude/limit-reset/terminal-screen.d.ts +38 -0
- package/dist/runtimes/claude/limit-reset/terminal-screen.d.ts.map +1 -0
- package/dist/runtimes/claude/limit-reset/terminal-screen.js +391 -0
- package/dist/runtimes/claude/limit-reset/terminal-screen.js.map +1 -0
- package/dist/runtimes/claude/list-models.d.ts +13 -0
- package/dist/runtimes/claude/list-models.d.ts.map +1 -0
- package/dist/runtimes/claude/list-models.js +140 -0
- package/dist/runtimes/claude/list-models.js.map +1 -0
- package/dist/runtimes/claude/login.d.ts +7 -0
- package/dist/runtimes/claude/login.d.ts.map +1 -0
- package/dist/runtimes/claude/login.js +223 -0
- package/dist/runtimes/claude/login.js.map +1 -0
- package/dist/runtimes/claude/logout.d.ts +5 -0
- package/dist/runtimes/claude/logout.d.ts.map +1 -0
- package/dist/runtimes/claude/logout.js +39 -0
- package/dist/runtimes/claude/logout.js.map +1 -0
- package/dist/runtimes/claude/mcp-config.d.ts +19 -0
- package/dist/runtimes/claude/mcp-config.d.ts.map +1 -0
- package/dist/runtimes/claude/mcp-config.js +137 -0
- package/dist/runtimes/claude/mcp-config.js.map +1 -0
- package/dist/runtimes/claude/open-deadline.d.ts +28 -0
- package/dist/runtimes/claude/open-deadline.d.ts.map +1 -0
- package/dist/runtimes/claude/open-deadline.js +82 -0
- package/dist/runtimes/claude/open-deadline.js.map +1 -0
- package/dist/runtimes/claude/open-settings.d.ts +29 -0
- package/dist/runtimes/claude/open-settings.d.ts.map +1 -0
- package/dist/runtimes/claude/open-settings.js +219 -0
- package/dist/runtimes/claude/open-settings.js.map +1 -0
- package/dist/runtimes/claude/options.d.ts +3 -0
- package/dist/runtimes/claude/options.d.ts.map +1 -0
- package/dist/runtimes/claude/options.js +5 -0
- package/dist/runtimes/claude/options.js.map +1 -0
- package/dist/runtimes/claude/projection.d.ts +47 -0
- package/dist/runtimes/claude/projection.d.ts.map +1 -0
- package/dist/runtimes/claude/projection.js +121 -0
- package/dist/runtimes/claude/projection.js.map +1 -0
- package/dist/runtimes/claude/prompt-files.d.ts +9 -0
- package/dist/runtimes/claude/prompt-files.d.ts.map +1 -0
- package/dist/runtimes/claude/prompt-files.js +64 -0
- package/dist/runtimes/claude/prompt-files.js.map +1 -0
- package/dist/runtimes/claude/service-tier.d.ts +9 -0
- package/dist/runtimes/claude/service-tier.d.ts.map +1 -0
- package/dist/runtimes/claude/service-tier.js +35 -0
- package/dist/runtimes/claude/service-tier.js.map +1 -0
- package/dist/runtimes/claude/session.d.ts +4 -0
- package/dist/runtimes/claude/session.d.ts.map +1 -0
- package/dist/runtimes/claude/session.js +69 -0
- package/dist/runtimes/claude/session.js.map +1 -0
- package/dist/runtimes/claude/side-question.d.ts +7 -0
- package/dist/runtimes/claude/side-question.d.ts.map +1 -0
- package/dist/runtimes/claude/side-question.js +308 -0
- package/dist/runtimes/claude/side-question.js.map +1 -0
- package/dist/runtimes/claude/skill-file.d.ts +13 -0
- package/dist/runtimes/claude/skill-file.d.ts.map +1 -0
- package/dist/runtimes/claude/skill-file.js +25 -0
- package/dist/runtimes/claude/skill-file.js.map +1 -0
- package/dist/runtimes/claude/tasks.d.ts +8 -0
- package/dist/runtimes/claude/tasks.d.ts.map +1 -0
- package/dist/runtimes/claude/tasks.js +114 -0
- package/dist/runtimes/claude/tasks.js.map +1 -0
- package/dist/runtimes/claude/token-usage.d.ts +59 -0
- package/dist/runtimes/claude/token-usage.d.ts.map +1 -0
- package/dist/runtimes/claude/token-usage.js +135 -0
- package/dist/runtimes/claude/token-usage.js.map +1 -0
- package/dist/runtimes/claude/update.d.ts +32 -0
- package/dist/runtimes/claude/update.d.ts.map +1 -0
- package/dist/runtimes/claude/update.js +90 -0
- package/dist/runtimes/claude/update.js.map +1 -0
- package/dist/runtimes/claude/user-configuration.d.ts +9 -0
- package/dist/runtimes/claude/user-configuration.d.ts.map +1 -0
- package/dist/runtimes/claude/user-configuration.js +83 -0
- package/dist/runtimes/claude/user-configuration.js.map +1 -0
- package/dist/runtimes/codebuddy/account-control.d.ts +13 -0
- package/dist/runtimes/codebuddy/account-control.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/account-control.js +88 -0
- package/dist/runtimes/codebuddy/account-control.js.map +1 -0
- package/dist/runtimes/codebuddy/auth-status.d.ts +8 -0
- package/dist/runtimes/codebuddy/auth-status.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/auth-status.js +52 -0
- package/dist/runtimes/codebuddy/auth-status.js.map +1 -0
- package/dist/runtimes/codebuddy/extensions.d.ts +5 -0
- package/dist/runtimes/codebuddy/extensions.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/extensions.js +28 -0
- package/dist/runtimes/codebuddy/extensions.js.map +1 -0
- package/dist/runtimes/codebuddy/failure.d.ts +5 -0
- package/dist/runtimes/codebuddy/failure.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/failure.js +35 -0
- package/dist/runtimes/codebuddy/failure.js.map +1 -0
- package/dist/runtimes/codebuddy/index.d.ts +31 -0
- package/dist/runtimes/codebuddy/index.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/index.js +20 -0
- package/dist/runtimes/codebuddy/index.js.map +1 -0
- package/dist/runtimes/codebuddy/install.d.ts +6 -0
- package/dist/runtimes/codebuddy/install.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/install.js +11 -0
- package/dist/runtimes/codebuddy/install.js.map +1 -0
- package/dist/runtimes/codebuddy/installation.d.ts +4 -0
- package/dist/runtimes/codebuddy/installation.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/installation.js +29 -0
- package/dist/runtimes/codebuddy/installation.js.map +1 -0
- package/dist/runtimes/codebuddy/list-models.d.ts +6 -0
- package/dist/runtimes/codebuddy/list-models.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/list-models.js +88 -0
- package/dist/runtimes/codebuddy/list-models.js.map +1 -0
- package/dist/runtimes/codebuddy/login.d.ts +6 -0
- package/dist/runtimes/codebuddy/login.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/login.js +111 -0
- package/dist/runtimes/codebuddy/login.js.map +1 -0
- package/dist/runtimes/codebuddy/logout.d.ts +5 -0
- package/dist/runtimes/codebuddy/logout.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/logout.js +57 -0
- package/dist/runtimes/codebuddy/logout.js.map +1 -0
- package/dist/runtimes/codebuddy/options.d.ts +5 -0
- package/dist/runtimes/codebuddy/options.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/options.js +23 -0
- package/dist/runtimes/codebuddy/options.js.map +1 -0
- package/dist/runtimes/codebuddy/prompt-file.d.ts +6 -0
- package/dist/runtimes/codebuddy/prompt-file.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/prompt-file.js +20 -0
- package/dist/runtimes/codebuddy/prompt-file.js.map +1 -0
- package/dist/runtimes/codebuddy/session.d.ts +5 -0
- package/dist/runtimes/codebuddy/session.d.ts.map +1 -0
- package/dist/runtimes/codebuddy/session.js +52 -0
- package/dist/runtimes/codebuddy/session.js.map +1 -0
- package/dist/runtimes/codex/account-request.d.ts +48 -0
- package/dist/runtimes/codex/account-request.d.ts.map +1 -0
- package/dist/runtimes/codex/account-request.js +93 -0
- package/dist/runtimes/codex/account-request.js.map +1 -0
- package/dist/runtimes/codex/account-usage.d.ts +43 -0
- package/dist/runtimes/codex/account-usage.d.ts.map +1 -0
- package/dist/runtimes/codex/account-usage.js +196 -0
- package/dist/runtimes/codex/account-usage.js.map +1 -0
- package/dist/runtimes/codex/app-server-client.d.ts +83 -0
- package/dist/runtimes/codex/app-server-client.d.ts.map +1 -0
- package/dist/runtimes/codex/app-server-client.js +157 -0
- package/dist/runtimes/codex/app-server-client.js.map +1 -0
- package/dist/runtimes/codex/compaction.d.ts +10 -0
- package/dist/runtimes/codex/compaction.d.ts.map +1 -0
- package/dist/runtimes/codex/compaction.js +83 -0
- package/dist/runtimes/codex/compaction.js.map +1 -0
- package/dist/runtimes/codex/execution-policy.d.ts +10 -0
- package/dist/runtimes/codex/execution-policy.d.ts.map +1 -0
- package/dist/runtimes/codex/execution-policy.js +88 -0
- package/dist/runtimes/codex/execution-policy.js.map +1 -0
- package/dist/runtimes/codex/failure.d.ts +4 -0
- package/dist/runtimes/codex/failure.d.ts.map +1 -0
- package/dist/runtimes/codex/failure.js +63 -0
- package/dist/runtimes/codex/failure.js.map +1 -0
- package/dist/runtimes/codex/goal.d.ts +13 -0
- package/dist/runtimes/codex/goal.d.ts.map +1 -0
- package/dist/runtimes/codex/goal.js +81 -0
- package/dist/runtimes/codex/goal.js.map +1 -0
- package/dist/runtimes/codex/history.d.ts +5 -0
- package/dist/runtimes/codex/history.d.ts.map +1 -0
- package/dist/runtimes/codex/history.js +176 -0
- package/dist/runtimes/codex/history.js.map +1 -0
- package/dist/runtimes/codex/home-initialization.d.ts +4 -0
- package/dist/runtimes/codex/home-initialization.d.ts.map +1 -0
- package/dist/runtimes/codex/home-initialization.js +221 -0
- package/dist/runtimes/codex/home-initialization.js.map +1 -0
- package/dist/runtimes/codex/index.d.ts +78 -0
- package/dist/runtimes/codex/index.d.ts.map +1 -0
- package/dist/runtimes/codex/index.js +61 -0
- package/dist/runtimes/codex/index.js.map +1 -0
- package/dist/runtimes/codex/input-delivery.d.ts +29 -0
- package/dist/runtimes/codex/input-delivery.d.ts.map +1 -0
- package/dist/runtimes/codex/input-delivery.js +52 -0
- package/dist/runtimes/codex/input-delivery.js.map +1 -0
- package/dist/runtimes/codex/install.d.ts +18 -0
- package/dist/runtimes/codex/install.d.ts.map +1 -0
- package/dist/runtimes/codex/install.js +30 -0
- package/dist/runtimes/codex/install.js.map +1 -0
- package/dist/runtimes/codex/installation-candidates.d.ts +32 -0
- package/dist/runtimes/codex/installation-candidates.d.ts.map +1 -0
- package/dist/runtimes/codex/installation-candidates.js +107 -0
- package/dist/runtimes/codex/installation-candidates.js.map +1 -0
- package/dist/runtimes/codex/installation.d.ts +29 -0
- package/dist/runtimes/codex/installation.d.ts.map +1 -0
- package/dist/runtimes/codex/installation.js +47 -0
- package/dist/runtimes/codex/installation.js.map +1 -0
- package/dist/runtimes/codex/instructions.d.ts +8 -0
- package/dist/runtimes/codex/instructions.d.ts.map +1 -0
- package/dist/runtimes/codex/instructions.js +43 -0
- package/dist/runtimes/codex/instructions.js.map +1 -0
- package/dist/runtimes/codex/inventory.d.ts +11 -0
- package/dist/runtimes/codex/inventory.d.ts.map +1 -0
- package/dist/runtimes/codex/inventory.js +85 -0
- package/dist/runtimes/codex/inventory.js.map +1 -0
- package/dist/runtimes/codex/item-detail.d.ts +8 -0
- package/dist/runtimes/codex/item-detail.d.ts.map +1 -0
- package/dist/runtimes/codex/item-detail.js +69 -0
- package/dist/runtimes/codex/item-detail.js.map +1 -0
- package/dist/runtimes/codex/limit-reset.d.ts +8 -0
- package/dist/runtimes/codex/limit-reset.d.ts.map +1 -0
- package/dist/runtimes/codex/limit-reset.js +34 -0
- package/dist/runtimes/codex/limit-reset.js.map +1 -0
- package/dist/runtimes/codex/list-models.d.ts +12 -0
- package/dist/runtimes/codex/list-models.d.ts.map +1 -0
- package/dist/runtimes/codex/list-models.js +115 -0
- package/dist/runtimes/codex/list-models.js.map +1 -0
- package/dist/runtimes/codex/login.d.ts +20 -0
- package/dist/runtimes/codex/login.d.ts.map +1 -0
- package/dist/runtimes/codex/login.js +259 -0
- package/dist/runtimes/codex/login.js.map +1 -0
- package/dist/runtimes/codex/logout.d.ts +5 -0
- package/dist/runtimes/codex/logout.d.ts.map +1 -0
- package/dist/runtimes/codex/logout.js +39 -0
- package/dist/runtimes/codex/logout.js.map +1 -0
- package/dist/runtimes/codex/messages.d.ts +17 -0
- package/dist/runtimes/codex/messages.d.ts.map +1 -0
- package/dist/runtimes/codex/messages.js +37 -0
- package/dist/runtimes/codex/messages.js.map +1 -0
- package/dist/runtimes/codex/open.d.ts +76 -0
- package/dist/runtimes/codex/open.d.ts.map +1 -0
- package/dist/runtimes/codex/open.js +280 -0
- package/dist/runtimes/codex/open.js.map +1 -0
- package/dist/runtimes/codex/options.d.ts +3 -0
- package/dist/runtimes/codex/options.d.ts.map +1 -0
- package/dist/runtimes/codex/options.js +4 -0
- package/dist/runtimes/codex/options.js.map +1 -0
- package/dist/runtimes/codex/ownership.d.ts +17 -0
- package/dist/runtimes/codex/ownership.d.ts.map +1 -0
- package/dist/runtimes/codex/ownership.js +36 -0
- package/dist/runtimes/codex/ownership.js.map +1 -0
- package/dist/runtimes/codex/projection.d.ts +56 -0
- package/dist/runtimes/codex/projection.d.ts.map +1 -0
- package/dist/runtimes/codex/projection.js +245 -0
- package/dist/runtimes/codex/projection.js.map +1 -0
- package/dist/runtimes/codex/quota-reset.d.ts +15 -0
- package/dist/runtimes/codex/quota-reset.d.ts.map +1 -0
- package/dist/runtimes/codex/quota-reset.js +55 -0
- package/dist/runtimes/codex/quota-reset.js.map +1 -0
- package/dist/runtimes/codex/reasoning.d.ts +4 -0
- package/dist/runtimes/codex/reasoning.d.ts.map +1 -0
- package/dist/runtimes/codex/reasoning.js +23 -0
- package/dist/runtimes/codex/reasoning.js.map +1 -0
- package/dist/runtimes/codex/refusal.d.ts +44 -0
- package/dist/runtimes/codex/refusal.d.ts.map +1 -0
- package/dist/runtimes/codex/refusal.js +107 -0
- package/dist/runtimes/codex/refusal.js.map +1 -0
- package/dist/runtimes/codex/reset-credits.d.ts +15 -0
- package/dist/runtimes/codex/reset-credits.d.ts.map +1 -0
- package/dist/runtimes/codex/reset-credits.js +64 -0
- package/dist/runtimes/codex/reset-credits.js.map +1 -0
- package/dist/runtimes/codex/rpc-control.d.ts +60 -0
- package/dist/runtimes/codex/rpc-control.d.ts.map +1 -0
- package/dist/runtimes/codex/rpc-control.js +172 -0
- package/dist/runtimes/codex/rpc-control.js.map +1 -0
- package/dist/runtimes/codex/runtime-requests.d.ts +15 -0
- package/dist/runtimes/codex/runtime-requests.d.ts.map +1 -0
- package/dist/runtimes/codex/runtime-requests.js +30 -0
- package/dist/runtimes/codex/runtime-requests.js.map +1 -0
- package/dist/runtimes/codex/session.d.ts +3 -0
- package/dist/runtimes/codex/session.d.ts.map +1 -0
- package/dist/runtimes/codex/session.js +325 -0
- package/dist/runtimes/codex/session.js.map +1 -0
- package/dist/runtimes/codex/side-question.d.ts +12 -0
- package/dist/runtimes/codex/side-question.d.ts.map +1 -0
- package/dist/runtimes/codex/side-question.js +476 -0
- package/dist/runtimes/codex/side-question.js.map +1 -0
- package/dist/runtimes/codex/task-control.d.ts +11 -0
- package/dist/runtimes/codex/task-control.d.ts.map +1 -0
- package/dist/runtimes/codex/task-control.js +59 -0
- package/dist/runtimes/codex/task-control.js.map +1 -0
- package/dist/runtimes/codex/tasks.d.ts +34 -0
- package/dist/runtimes/codex/tasks.d.ts.map +1 -0
- package/dist/runtimes/codex/tasks.js +86 -0
- package/dist/runtimes/codex/tasks.js.map +1 -0
- package/dist/runtimes/codex/token-usage.d.ts +57 -0
- package/dist/runtimes/codex/token-usage.d.ts.map +1 -0
- package/dist/runtimes/codex/token-usage.js +82 -0
- package/dist/runtimes/codex/token-usage.js.map +1 -0
- package/dist/runtimes/codex/tool-denials.d.ts +14 -0
- package/dist/runtimes/codex/tool-denials.d.ts.map +1 -0
- package/dist/runtimes/codex/tool-denials.js +72 -0
- package/dist/runtimes/codex/tool-denials.js.map +1 -0
- package/dist/runtimes/codex/turn-processes.d.ts +22 -0
- package/dist/runtimes/codex/turn-processes.d.ts.map +1 -0
- package/dist/runtimes/codex/turn-processes.js +274 -0
- package/dist/runtimes/codex/turn-processes.js.map +1 -0
- package/dist/runtimes/codex/update.d.ts +14 -0
- package/dist/runtimes/codex/update.d.ts.map +1 -0
- package/dist/runtimes/codex/update.js +47 -0
- package/dist/runtimes/codex/update.js.map +1 -0
- package/dist/runtimes/cursor/access.d.ts +69 -0
- package/dist/runtimes/cursor/access.d.ts.map +1 -0
- package/dist/runtimes/cursor/access.js +77 -0
- package/dist/runtimes/cursor/access.js.map +1 -0
- package/dist/runtimes/cursor/auth-status.d.ts +16 -0
- package/dist/runtimes/cursor/auth-status.d.ts.map +1 -0
- package/dist/runtimes/cursor/auth-status.js +90 -0
- package/dist/runtimes/cursor/auth-status.js.map +1 -0
- package/dist/runtimes/cursor/compaction.d.ts +6 -0
- package/dist/runtimes/cursor/compaction.d.ts.map +1 -0
- package/dist/runtimes/cursor/compaction.js +59 -0
- package/dist/runtimes/cursor/compaction.js.map +1 -0
- package/dist/runtimes/cursor/failure.d.ts +4 -0
- package/dist/runtimes/cursor/failure.d.ts.map +1 -0
- package/dist/runtimes/cursor/failure.js +34 -0
- package/dist/runtimes/cursor/failure.js.map +1 -0
- package/dist/runtimes/cursor/held-input.d.ts +10 -0
- package/dist/runtimes/cursor/held-input.d.ts.map +1 -0
- package/dist/runtimes/cursor/held-input.js +11 -0
- package/dist/runtimes/cursor/held-input.js.map +1 -0
- package/dist/runtimes/cursor/index.d.ts +69 -0
- package/dist/runtimes/cursor/index.d.ts.map +1 -0
- package/dist/runtimes/cursor/index.js +61 -0
- package/dist/runtimes/cursor/index.js.map +1 -0
- package/dist/runtimes/cursor/installation.d.ts +14 -0
- package/dist/runtimes/cursor/installation.d.ts.map +1 -0
- package/dist/runtimes/cursor/installation.js +28 -0
- package/dist/runtimes/cursor/installation.js.map +1 -0
- package/dist/runtimes/cursor/list-models.d.ts +13 -0
- package/dist/runtimes/cursor/list-models.d.ts.map +1 -0
- package/dist/runtimes/cursor/list-models.js +67 -0
- package/dist/runtimes/cursor/list-models.js.map +1 -0
- package/dist/runtimes/cursor/login.d.ts +10 -0
- package/dist/runtimes/cursor/login.d.ts.map +1 -0
- package/dist/runtimes/cursor/login.js +175 -0
- package/dist/runtimes/cursor/login.js.map +1 -0
- package/dist/runtimes/cursor/logout.d.ts +5 -0
- package/dist/runtimes/cursor/logout.d.ts.map +1 -0
- package/dist/runtimes/cursor/logout.js +65 -0
- package/dist/runtimes/cursor/logout.js.map +1 -0
- package/dist/runtimes/cursor/model.d.ts +55 -0
- package/dist/runtimes/cursor/model.d.ts.map +1 -0
- package/dist/runtimes/cursor/model.js +173 -0
- package/dist/runtimes/cursor/model.js.map +1 -0
- package/dist/runtimes/cursor/native-environment.d.ts +12 -0
- package/dist/runtimes/cursor/native-environment.d.ts.map +1 -0
- package/dist/runtimes/cursor/native-environment.js +24 -0
- package/dist/runtimes/cursor/native-environment.js.map +1 -0
- package/dist/runtimes/cursor/projection.d.ts +45 -0
- package/dist/runtimes/cursor/projection.d.ts.map +1 -0
- package/dist/runtimes/cursor/projection.js +236 -0
- package/dist/runtimes/cursor/projection.js.map +1 -0
- package/dist/runtimes/cursor/run.d.ts +35 -0
- package/dist/runtimes/cursor/run.d.ts.map +1 -0
- package/dist/runtimes/cursor/run.js +139 -0
- package/dist/runtimes/cursor/run.js.map +1 -0
- package/dist/runtimes/cursor/sdk-version.d.ts +3 -0
- package/dist/runtimes/cursor/sdk-version.d.ts.map +1 -0
- package/dist/runtimes/cursor/sdk-version.js +3 -0
- package/dist/runtimes/cursor/sdk-version.js.map +1 -0
- package/dist/runtimes/cursor/sdk.d.ts +171 -0
- package/dist/runtimes/cursor/sdk.d.ts.map +1 -0
- package/dist/runtimes/cursor/sdk.js +46 -0
- package/dist/runtimes/cursor/sdk.js.map +1 -0
- package/dist/runtimes/cursor/session-process.d.ts +29 -0
- package/dist/runtimes/cursor/session-process.d.ts.map +1 -0
- package/dist/runtimes/cursor/session-process.js +60 -0
- package/dist/runtimes/cursor/session-process.js.map +1 -0
- package/dist/runtimes/cursor/session.d.ts +4 -0
- package/dist/runtimes/cursor/session.d.ts.map +1 -0
- package/dist/runtimes/cursor/session.js +291 -0
- package/dist/runtimes/cursor/session.js.map +1 -0
- package/dist/runtimes/cursor/skill-files.d.ts +12 -0
- package/dist/runtimes/cursor/skill-files.d.ts.map +1 -0
- package/dist/runtimes/cursor/skill-files.js +101 -0
- package/dist/runtimes/cursor/skill-files.js.map +1 -0
- package/dist/runtimes/cursor/skill-metadata.d.ts +7 -0
- package/dist/runtimes/cursor/skill-metadata.d.ts.map +1 -0
- package/dist/runtimes/cursor/skill-metadata.js +55 -0
- package/dist/runtimes/cursor/skill-metadata.js.map +1 -0
- package/dist/runtimes/cursor/skills.d.ts +5 -0
- package/dist/runtimes/cursor/skills.d.ts.map +1 -0
- package/dist/runtimes/cursor/skills.js +75 -0
- package/dist/runtimes/cursor/skills.js.map +1 -0
- package/dist/runtimes/cursor/subprocess/channel.d.ts +38 -0
- package/dist/runtimes/cursor/subprocess/channel.d.ts.map +1 -0
- package/dist/runtimes/cursor/subprocess/channel.js +171 -0
- package/dist/runtimes/cursor/subprocess/channel.js.map +1 -0
- package/dist/runtimes/cursor/subprocess/child-script.d.ts +12 -0
- package/dist/runtimes/cursor/subprocess/child-script.d.ts.map +1 -0
- package/dist/runtimes/cursor/subprocess/child-script.js +261 -0
- package/dist/runtimes/cursor/subprocess/child-script.js.map +1 -0
- package/dist/runtimes/cursor/subprocess/proxy.d.ts +11 -0
- package/dist/runtimes/cursor/subprocess/proxy.d.ts.map +1 -0
- package/dist/runtimes/cursor/subprocess/proxy.js +243 -0
- package/dist/runtimes/cursor/subprocess/proxy.js.map +1 -0
- package/dist/runtimes/devin/auth.d.ts +11 -0
- package/dist/runtimes/devin/auth.d.ts.map +1 -0
- package/dist/runtimes/devin/auth.js +126 -0
- package/dist/runtimes/devin/auth.js.map +1 -0
- package/dist/runtimes/devin/index.d.ts +27 -0
- package/dist/runtimes/devin/index.d.ts.map +1 -0
- package/dist/runtimes/devin/index.js +30 -0
- package/dist/runtimes/devin/index.js.map +1 -0
- package/dist/runtimes/devin/install.d.ts +10 -0
- package/dist/runtimes/devin/install.d.ts.map +1 -0
- package/dist/runtimes/devin/install.js +69 -0
- package/dist/runtimes/devin/install.js.map +1 -0
- package/dist/runtimes/devin/installation.d.ts +6 -0
- package/dist/runtimes/devin/installation.d.ts.map +1 -0
- package/dist/runtimes/devin/installation.js +19 -0
- package/dist/runtimes/devin/installation.js.map +1 -0
- package/dist/runtimes/devin/list-models.d.ts +5 -0
- package/dist/runtimes/devin/list-models.d.ts.map +1 -0
- package/dist/runtimes/devin/list-models.js +118 -0
- package/dist/runtimes/devin/list-models.js.map +1 -0
- package/dist/runtimes/devin/options.d.ts +3 -0
- package/dist/runtimes/devin/options.d.ts.map +1 -0
- package/dist/runtimes/devin/options.js +15 -0
- package/dist/runtimes/devin/options.js.map +1 -0
- package/dist/runtimes/devin/session.d.ts +14 -0
- package/dist/runtimes/devin/session.d.ts.map +1 -0
- package/dist/runtimes/devin/session.js +52 -0
- package/dist/runtimes/devin/session.js.map +1 -0
- package/dist/runtimes/devin/skills.d.ts +4 -0
- package/dist/runtimes/devin/skills.d.ts.map +1 -0
- package/dist/runtimes/devin/skills.js +49 -0
- package/dist/runtimes/devin/skills.js.map +1 -0
- package/dist/runtimes/devin/update.d.ts +12 -0
- package/dist/runtimes/devin/update.d.ts.map +1 -0
- package/dist/runtimes/devin/update.js +59 -0
- package/dist/runtimes/devin/update.js.map +1 -0
- package/dist/runtimes/dsh/bridge-controls.d.ts +3 -0
- package/dist/runtimes/dsh/bridge-controls.d.ts.map +1 -0
- package/dist/runtimes/dsh/bridge-controls.js +67 -0
- package/dist/runtimes/dsh/bridge-controls.js.map +1 -0
- package/dist/runtimes/dsh/bridge-goal.d.ts +3 -0
- package/dist/runtimes/dsh/bridge-goal.d.ts.map +1 -0
- package/dist/runtimes/dsh/bridge-goal.js +42 -0
- package/dist/runtimes/dsh/bridge-goal.js.map +1 -0
- package/dist/runtimes/dsh/bridge-input.d.ts +3 -0
- package/dist/runtimes/dsh/bridge-input.d.ts.map +1 -0
- package/dist/runtimes/dsh/bridge-input.js +51 -0
- package/dist/runtimes/dsh/bridge-input.js.map +1 -0
- package/dist/runtimes/dsh/bridge-prompt.d.ts +3 -0
- package/dist/runtimes/dsh/bridge-prompt.d.ts.map +1 -0
- package/dist/runtimes/dsh/bridge-prompt.js +39 -0
- package/dist/runtimes/dsh/bridge-prompt.js.map +1 -0
- package/dist/runtimes/dsh/bridge.d.ts +16 -0
- package/dist/runtimes/dsh/bridge.d.ts.map +1 -0
- package/dist/runtimes/dsh/bridge.js +264 -0
- package/dist/runtimes/dsh/bridge.js.map +1 -0
- package/dist/runtimes/dsh/compaction.d.ts +5 -0
- package/dist/runtimes/dsh/compaction.d.ts.map +1 -0
- package/dist/runtimes/dsh/compaction.js +73 -0
- package/dist/runtimes/dsh/compaction.js.map +1 -0
- package/dist/runtimes/dsh/control.d.ts +26 -0
- package/dist/runtimes/dsh/control.d.ts.map +1 -0
- package/dist/runtimes/dsh/control.js +98 -0
- package/dist/runtimes/dsh/control.js.map +1 -0
- package/dist/runtimes/dsh/goal.d.ts +11 -0
- package/dist/runtimes/dsh/goal.d.ts.map +1 -0
- package/dist/runtimes/dsh/goal.js +67 -0
- package/dist/runtimes/dsh/goal.js.map +1 -0
- package/dist/runtimes/dsh/index.d.ts +69 -0
- package/dist/runtimes/dsh/index.d.ts.map +1 -0
- package/dist/runtimes/dsh/index.js +33 -0
- package/dist/runtimes/dsh/index.js.map +1 -0
- package/dist/runtimes/dsh/install.d.ts +6 -0
- package/dist/runtimes/dsh/install.d.ts.map +1 -0
- package/dist/runtimes/dsh/install.js +11 -0
- package/dist/runtimes/dsh/install.js.map +1 -0
- package/dist/runtimes/dsh/installation.d.ts +4 -0
- package/dist/runtimes/dsh/installation.d.ts.map +1 -0
- package/dist/runtimes/dsh/installation.js +13 -0
- package/dist/runtimes/dsh/installation.js.map +1 -0
- package/dist/runtimes/dsh/jobs.d.ts +7 -0
- package/dist/runtimes/dsh/jobs.d.ts.map +1 -0
- package/dist/runtimes/dsh/jobs.js +45 -0
- package/dist/runtimes/dsh/jobs.js.map +1 -0
- package/dist/runtimes/dsh/launch.d.ts +21 -0
- package/dist/runtimes/dsh/launch.d.ts.map +1 -0
- package/dist/runtimes/dsh/launch.js +39 -0
- package/dist/runtimes/dsh/launch.js.map +1 -0
- package/dist/runtimes/dsh/list-models.d.ts +7 -0
- package/dist/runtimes/dsh/list-models.d.ts.map +1 -0
- package/dist/runtimes/dsh/list-models.js +72 -0
- package/dist/runtimes/dsh/list-models.js.map +1 -0
- package/dist/runtimes/dsh/mcp.d.ts +5 -0
- package/dist/runtimes/dsh/mcp.d.ts.map +1 -0
- package/dist/runtimes/dsh/mcp.js +20 -0
- package/dist/runtimes/dsh/mcp.js.map +1 -0
- package/dist/runtimes/dsh/options.d.ts +14 -0
- package/dist/runtimes/dsh/options.d.ts.map +1 -0
- package/dist/runtimes/dsh/options.js +36 -0
- package/dist/runtimes/dsh/options.js.map +1 -0
- package/dist/runtimes/dsh/projection.d.ts +34 -0
- package/dist/runtimes/dsh/projection.d.ts.map +1 -0
- package/dist/runtimes/dsh/projection.js +267 -0
- package/dist/runtimes/dsh/projection.js.map +1 -0
- package/dist/runtimes/dsh/session.d.ts +4 -0
- package/dist/runtimes/dsh/session.d.ts.map +1 -0
- package/dist/runtimes/dsh/session.js +265 -0
- package/dist/runtimes/dsh/session.js.map +1 -0
- package/dist/runtimes/dsh/skills.d.ts +4 -0
- package/dist/runtimes/dsh/skills.d.ts.map +1 -0
- package/dist/runtimes/dsh/skills.js +58 -0
- package/dist/runtimes/dsh/skills.js.map +1 -0
- package/dist/runtimes/dsh/version.d.ts +9 -0
- package/dist/runtimes/dsh/version.d.ts.map +1 -0
- package/dist/runtimes/dsh/version.js +22 -0
- package/dist/runtimes/dsh/version.js.map +1 -0
- package/dist/runtimes/factory/account-credential.d.ts +20 -0
- package/dist/runtimes/factory/account-credential.d.ts.map +1 -0
- package/dist/runtimes/factory/account-credential.js +90 -0
- package/dist/runtimes/factory/account-credential.js.map +1 -0
- package/dist/runtimes/factory/account-usage.d.ts +5 -0
- package/dist/runtimes/factory/account-usage.d.ts.map +1 -0
- package/dist/runtimes/factory/account-usage.js +168 -0
- package/dist/runtimes/factory/account-usage.js.map +1 -0
- package/dist/runtimes/factory/account.d.ts +15 -0
- package/dist/runtimes/factory/account.d.ts.map +1 -0
- package/dist/runtimes/factory/account.js +240 -0
- package/dist/runtimes/factory/account.js.map +1 -0
- package/dist/runtimes/factory/client.d.ts +61 -0
- package/dist/runtimes/factory/client.d.ts.map +1 -0
- package/dist/runtimes/factory/client.js +116 -0
- package/dist/runtimes/factory/client.js.map +1 -0
- package/dist/runtimes/factory/compaction.d.ts +5 -0
- package/dist/runtimes/factory/compaction.d.ts.map +1 -0
- package/dist/runtimes/factory/compaction.js +70 -0
- package/dist/runtimes/factory/compaction.js.map +1 -0
- package/dist/runtimes/factory/index.d.ts +35 -0
- package/dist/runtimes/factory/index.d.ts.map +1 -0
- package/dist/runtimes/factory/index.js +25 -0
- package/dist/runtimes/factory/index.js.map +1 -0
- package/dist/runtimes/factory/install.d.ts +12 -0
- package/dist/runtimes/factory/install.d.ts.map +1 -0
- package/dist/runtimes/factory/install.js +21 -0
- package/dist/runtimes/factory/install.js.map +1 -0
- package/dist/runtimes/factory/installation.d.ts +5 -0
- package/dist/runtimes/factory/installation.d.ts.map +1 -0
- package/dist/runtimes/factory/installation.js +12 -0
- package/dist/runtimes/factory/installation.js.map +1 -0
- package/dist/runtimes/factory/list-models.d.ts +9 -0
- package/dist/runtimes/factory/list-models.d.ts.map +1 -0
- package/dist/runtimes/factory/list-models.js +41 -0
- package/dist/runtimes/factory/list-models.js.map +1 -0
- package/dist/runtimes/factory/open.d.ts +29 -0
- package/dist/runtimes/factory/open.d.ts.map +1 -0
- package/dist/runtimes/factory/open.js +96 -0
- package/dist/runtimes/factory/open.js.map +1 -0
- package/dist/runtimes/factory/options.d.ts +9 -0
- package/dist/runtimes/factory/options.d.ts.map +1 -0
- package/dist/runtimes/factory/options.js +30 -0
- package/dist/runtimes/factory/options.js.map +1 -0
- package/dist/runtimes/factory/projection.d.ts +33 -0
- package/dist/runtimes/factory/projection.d.ts.map +1 -0
- package/dist/runtimes/factory/projection.js +173 -0
- package/dist/runtimes/factory/projection.js.map +1 -0
- package/dist/runtimes/factory/session-state.d.ts +19 -0
- package/dist/runtimes/factory/session-state.d.ts.map +1 -0
- package/dist/runtimes/factory/session-state.js +5 -0
- package/dist/runtimes/factory/session-state.js.map +1 -0
- package/dist/runtimes/factory/session.d.ts +5 -0
- package/dist/runtimes/factory/session.d.ts.map +1 -0
- package/dist/runtimes/factory/session.js +333 -0
- package/dist/runtimes/factory/session.js.map +1 -0
- package/dist/runtimes/factory/settings.d.ts +20 -0
- package/dist/runtimes/factory/settings.d.ts.map +1 -0
- package/dist/runtimes/factory/settings.js +62 -0
- package/dist/runtimes/factory/settings.js.map +1 -0
- package/dist/runtimes/factory/skills.d.ts +4 -0
- package/dist/runtimes/factory/skills.d.ts.map +1 -0
- package/dist/runtimes/factory/skills.js +43 -0
- package/dist/runtimes/factory/skills.js.map +1 -0
- package/dist/runtimes/factory/update.d.ts +10 -0
- package/dist/runtimes/factory/update.d.ts.map +1 -0
- package/dist/runtimes/factory/update.js +34 -0
- package/dist/runtimes/factory/update.js.map +1 -0
- package/dist/runtimes/grok/account-info.d.ts +11 -0
- package/dist/runtimes/grok/account-info.d.ts.map +1 -0
- package/dist/runtimes/grok/account-info.js +60 -0
- package/dist/runtimes/grok/account-info.js.map +1 -0
- package/dist/runtimes/grok/account-usage.d.ts +4 -0
- package/dist/runtimes/grok/account-usage.d.ts.map +1 -0
- package/dist/runtimes/grok/account-usage.js +167 -0
- package/dist/runtimes/grok/account-usage.js.map +1 -0
- package/dist/runtimes/grok/auth.d.ts +17 -0
- package/dist/runtimes/grok/auth.d.ts.map +1 -0
- package/dist/runtimes/grok/auth.js +170 -0
- package/dist/runtimes/grok/auth.js.map +1 -0
- package/dist/runtimes/grok/compaction.d.ts +4 -0
- package/dist/runtimes/grok/compaction.d.ts.map +1 -0
- package/dist/runtimes/grok/compaction.js +62 -0
- package/dist/runtimes/grok/compaction.js.map +1 -0
- package/dist/runtimes/grok/failure.d.ts +7 -0
- package/dist/runtimes/grok/failure.d.ts.map +1 -0
- package/dist/runtimes/grok/failure.js +77 -0
- package/dist/runtimes/grok/failure.js.map +1 -0
- package/dist/runtimes/grok/index.d.ts +39 -0
- package/dist/runtimes/grok/index.d.ts.map +1 -0
- package/dist/runtimes/grok/index.js +44 -0
- package/dist/runtimes/grok/index.js.map +1 -0
- package/dist/runtimes/grok/install.d.ts +13 -0
- package/dist/runtimes/grok/install.d.ts.map +1 -0
- package/dist/runtimes/grok/install.js +25 -0
- package/dist/runtimes/grok/install.js.map +1 -0
- package/dist/runtimes/grok/installation.d.ts +4 -0
- package/dist/runtimes/grok/installation.d.ts.map +1 -0
- package/dist/runtimes/grok/installation.js +23 -0
- package/dist/runtimes/grok/installation.js.map +1 -0
- package/dist/runtimes/grok/inventory.d.ts +7 -0
- package/dist/runtimes/grok/inventory.d.ts.map +1 -0
- package/dist/runtimes/grok/inventory.js +47 -0
- package/dist/runtimes/grok/inventory.js.map +1 -0
- package/dist/runtimes/grok/list-models.d.ts +23 -0
- package/dist/runtimes/grok/list-models.d.ts.map +1 -0
- package/dist/runtimes/grok/list-models.js +121 -0
- package/dist/runtimes/grok/list-models.js.map +1 -0
- package/dist/runtimes/grok/native-turns.d.ts +13 -0
- package/dist/runtimes/grok/native-turns.d.ts.map +1 -0
- package/dist/runtimes/grok/native-turns.js +49 -0
- package/dist/runtimes/grok/native-turns.js.map +1 -0
- package/dist/runtimes/grok/options.d.ts +3 -0
- package/dist/runtimes/grok/options.d.ts.map +1 -0
- package/dist/runtimes/grok/options.js +11 -0
- package/dist/runtimes/grok/options.js.map +1 -0
- package/dist/runtimes/grok/session.d.ts +53 -0
- package/dist/runtimes/grok/session.d.ts.map +1 -0
- package/dist/runtimes/grok/session.js +187 -0
- package/dist/runtimes/grok/session.js.map +1 -0
- package/dist/runtimes/grok/shared-session.d.ts +6 -0
- package/dist/runtimes/grok/shared-session.d.ts.map +1 -0
- package/dist/runtimes/grok/shared-session.js +84 -0
- package/dist/runtimes/grok/shared-session.js.map +1 -0
- package/dist/runtimes/grok/sharing-admission.d.ts +5 -0
- package/dist/runtimes/grok/sharing-admission.d.ts.map +1 -0
- package/dist/runtimes/grok/sharing-admission.js +7 -0
- package/dist/runtimes/grok/sharing-admission.js.map +1 -0
- package/dist/runtimes/grok/sharing-attribution.d.ts +7 -0
- package/dist/runtimes/grok/sharing-attribution.d.ts.map +1 -0
- package/dist/runtimes/grok/sharing-attribution.js +23 -0
- package/dist/runtimes/grok/sharing-attribution.js.map +1 -0
- package/dist/runtimes/grok/spontaneous-usage.d.ts +15 -0
- package/dist/runtimes/grok/spontaneous-usage.d.ts.map +1 -0
- package/dist/runtimes/grok/spontaneous-usage.js +32 -0
- package/dist/runtimes/grok/spontaneous-usage.js.map +1 -0
- package/dist/runtimes/grok/tasks.d.ts +5 -0
- package/dist/runtimes/grok/tasks.d.ts.map +1 -0
- package/dist/runtimes/grok/tasks.js +24 -0
- package/dist/runtimes/grok/tasks.js.map +1 -0
- package/dist/runtimes/grok/update.d.ts +12 -0
- package/dist/runtimes/grok/update.d.ts.map +1 -0
- package/dist/runtimes/grok/update.js +37 -0
- package/dist/runtimes/grok/update.js.map +1 -0
- package/dist/runtimes/kimi/account-usage.d.ts +5 -0
- package/dist/runtimes/kimi/account-usage.d.ts.map +1 -0
- package/dist/runtimes/kimi/account-usage.js +266 -0
- package/dist/runtimes/kimi/account-usage.js.map +1 -0
- package/dist/runtimes/kimi/auth-config.d.ts +15 -0
- package/dist/runtimes/kimi/auth-config.d.ts.map +1 -0
- package/dist/runtimes/kimi/auth-config.js +93 -0
- package/dist/runtimes/kimi/auth-config.js.map +1 -0
- package/dist/runtimes/kimi/auth-status.d.ts +10 -0
- package/dist/runtimes/kimi/auth-status.d.ts.map +1 -0
- package/dist/runtimes/kimi/auth-status.js +25 -0
- package/dist/runtimes/kimi/auth-status.js.map +1 -0
- package/dist/runtimes/kimi/index.d.ts +37 -0
- package/dist/runtimes/kimi/index.d.ts.map +1 -0
- package/dist/runtimes/kimi/index.js +36 -0
- package/dist/runtimes/kimi/index.js.map +1 -0
- package/dist/runtimes/kimi/install.d.ts +16 -0
- package/dist/runtimes/kimi/install.d.ts.map +1 -0
- package/dist/runtimes/kimi/install.js +28 -0
- package/dist/runtimes/kimi/install.js.map +1 -0
- package/dist/runtimes/kimi/installation.d.ts +4 -0
- package/dist/runtimes/kimi/installation.d.ts.map +1 -0
- package/dist/runtimes/kimi/installation.js +21 -0
- package/dist/runtimes/kimi/installation.js.map +1 -0
- package/dist/runtimes/kimi/list-models.d.ts +15 -0
- package/dist/runtimes/kimi/list-models.d.ts.map +1 -0
- package/dist/runtimes/kimi/list-models.js +120 -0
- package/dist/runtimes/kimi/list-models.js.map +1 -0
- package/dist/runtimes/kimi/login-browser.d.ts +9 -0
- package/dist/runtimes/kimi/login-browser.d.ts.map +1 -0
- package/dist/runtimes/kimi/login-browser.js +42 -0
- package/dist/runtimes/kimi/login-browser.js.map +1 -0
- package/dist/runtimes/kimi/login.d.ts +10 -0
- package/dist/runtimes/kimi/login.d.ts.map +1 -0
- package/dist/runtimes/kimi/login.js +104 -0
- package/dist/runtimes/kimi/login.js.map +1 -0
- package/dist/runtimes/kimi/logout.d.ts +5 -0
- package/dist/runtimes/kimi/logout.d.ts.map +1 -0
- package/dist/runtimes/kimi/logout.js +21 -0
- package/dist/runtimes/kimi/logout.js.map +1 -0
- package/dist/runtimes/kimi/native-usage.d.ts +7 -0
- package/dist/runtimes/kimi/native-usage.d.ts.map +1 -0
- package/dist/runtimes/kimi/native-usage.js +90 -0
- package/dist/runtimes/kimi/native-usage.js.map +1 -0
- package/dist/runtimes/kimi/oauth-token.d.ts +19 -0
- package/dist/runtimes/kimi/oauth-token.d.ts.map +1 -0
- package/dist/runtimes/kimi/oauth-token.js +63 -0
- package/dist/runtimes/kimi/oauth-token.js.map +1 -0
- package/dist/runtimes/kimi/options.d.ts +3 -0
- package/dist/runtimes/kimi/options.d.ts.map +1 -0
- package/dist/runtimes/kimi/options.js +14 -0
- package/dist/runtimes/kimi/options.js.map +1 -0
- package/dist/runtimes/kimi/profile.d.ts +17 -0
- package/dist/runtimes/kimi/profile.d.ts.map +1 -0
- package/dist/runtimes/kimi/profile.js +58 -0
- package/dist/runtimes/kimi/profile.js.map +1 -0
- package/dist/runtimes/kimi/session.d.ts +7 -0
- package/dist/runtimes/kimi/session.d.ts.map +1 -0
- package/dist/runtimes/kimi/session.js +58 -0
- package/dist/runtimes/kimi/session.js.map +1 -0
- package/dist/runtimes/kimi/skills.d.ts +4 -0
- package/dist/runtimes/kimi/skills.d.ts.map +1 -0
- package/dist/runtimes/kimi/skills.js +63 -0
- package/dist/runtimes/kimi/skills.js.map +1 -0
- package/dist/runtimes/kimi/update.d.ts +18 -0
- package/dist/runtimes/kimi/update.d.ts.map +1 -0
- package/dist/runtimes/kimi/update.js +56 -0
- package/dist/runtimes/kimi/update.js.map +1 -0
- package/dist/runtimes/kimi/usage-environment.d.ts +6 -0
- package/dist/runtimes/kimi/usage-environment.d.ts.map +1 -0
- package/dist/runtimes/kimi/usage-environment.js +11 -0
- package/dist/runtimes/kimi/usage-environment.js.map +1 -0
- package/dist/runtimes/kimi/web-query.d.ts +10 -0
- package/dist/runtimes/kimi/web-query.d.ts.map +1 -0
- package/dist/runtimes/kimi/web-query.js +37 -0
- package/dist/runtimes/kimi/web-query.js.map +1 -0
- package/dist/runtimes/kimi/web-shutdown.d.ts +6 -0
- package/dist/runtimes/kimi/web-shutdown.d.ts.map +1 -0
- package/dist/runtimes/kimi/web-shutdown.js +40 -0
- package/dist/runtimes/kimi/web-shutdown.js.map +1 -0
- package/dist/runtimes/kimi/web-startup.d.ts +10 -0
- package/dist/runtimes/kimi/web-startup.d.ts.map +1 -0
- package/dist/runtimes/kimi/web-startup.js +148 -0
- package/dist/runtimes/kimi/web-startup.js.map +1 -0
- package/dist/runtimes/omp/account.d.ts +11 -0
- package/dist/runtimes/omp/account.d.ts.map +1 -0
- package/dist/runtimes/omp/account.js +200 -0
- package/dist/runtimes/omp/account.js.map +1 -0
- package/dist/runtimes/omp/capabilities.d.ts +22 -0
- package/dist/runtimes/omp/capabilities.d.ts.map +1 -0
- package/dist/runtimes/omp/capabilities.js +15 -0
- package/dist/runtimes/omp/capabilities.js.map +1 -0
- package/dist/runtimes/omp/discovery.d.ts +18 -0
- package/dist/runtimes/omp/discovery.d.ts.map +1 -0
- package/dist/runtimes/omp/discovery.js +154 -0
- package/dist/runtimes/omp/discovery.js.map +1 -0
- package/dist/runtimes/omp/index.d.ts +52 -0
- package/dist/runtimes/omp/index.d.ts.map +1 -0
- package/dist/runtimes/omp/index.js +39 -0
- package/dist/runtimes/omp/index.js.map +1 -0
- package/dist/runtimes/omp/installation.d.ts +9 -0
- package/dist/runtimes/omp/installation.d.ts.map +1 -0
- package/dist/runtimes/omp/installation.js +115 -0
- package/dist/runtimes/omp/installation.js.map +1 -0
- package/dist/runtimes/omp/models.d.ts +5 -0
- package/dist/runtimes/omp/models.d.ts.map +1 -0
- package/dist/runtimes/omp/models.js +61 -0
- package/dist/runtimes/omp/models.js.map +1 -0
- package/dist/runtimes/omp/options.d.ts +18 -0
- package/dist/runtimes/omp/options.d.ts.map +1 -0
- package/dist/runtimes/omp/options.js +26 -0
- package/dist/runtimes/omp/options.js.map +1 -0
- package/dist/runtimes/omp/projection.d.ts +34 -0
- package/dist/runtimes/omp/projection.d.ts.map +1 -0
- package/dist/runtimes/omp/projection.js +293 -0
- package/dist/runtimes/omp/projection.js.map +1 -0
- package/dist/runtimes/omp/queue.d.ts +34 -0
- package/dist/runtimes/omp/queue.d.ts.map +1 -0
- package/dist/runtimes/omp/queue.js +47 -0
- package/dist/runtimes/omp/queue.js.map +1 -0
- package/dist/runtimes/omp/resume.d.ts +25 -0
- package/dist/runtimes/omp/resume.d.ts.map +1 -0
- package/dist/runtimes/omp/resume.js +80 -0
- package/dist/runtimes/omp/resume.js.map +1 -0
- package/dist/runtimes/omp/session.d.ts +3 -0
- package/dist/runtimes/omp/session.d.ts.map +1 -0
- package/dist/runtimes/omp/session.js +419 -0
- package/dist/runtimes/omp/session.js.map +1 -0
- package/dist/runtimes/omp/side-question.d.ts +7 -0
- package/dist/runtimes/omp/side-question.d.ts.map +1 -0
- package/dist/runtimes/omp/side-question.js +572 -0
- package/dist/runtimes/omp/side-question.js.map +1 -0
- package/dist/runtimes/omp/wire.d.ts +27 -0
- package/dist/runtimes/omp/wire.d.ts.map +1 -0
- package/dist/runtimes/omp/wire.js +123 -0
- package/dist/runtimes/omp/wire.js.map +1 -0
- package/dist/runtimes/opencode/attribution.d.ts +23 -0
- package/dist/runtimes/opencode/attribution.d.ts.map +1 -0
- package/dist/runtimes/opencode/attribution.js +67 -0
- package/dist/runtimes/opencode/attribution.js.map +1 -0
- package/dist/runtimes/opencode/compaction.d.ts +7 -0
- package/dist/runtimes/opencode/compaction.d.ts.map +1 -0
- package/dist/runtimes/opencode/compaction.js +94 -0
- package/dist/runtimes/opencode/compaction.js.map +1 -0
- package/dist/runtimes/opencode/execution-policy.d.ts +8 -0
- package/dist/runtimes/opencode/execution-policy.d.ts.map +1 -0
- package/dist/runtimes/opencode/execution-policy.js +89 -0
- package/dist/runtimes/opencode/execution-policy.js.map +1 -0
- package/dist/runtimes/opencode/failure.d.ts +3 -0
- package/dist/runtimes/opencode/failure.d.ts.map +1 -0
- package/dist/runtimes/opencode/failure.js +29 -0
- package/dist/runtimes/opencode/failure.js.map +1 -0
- package/dist/runtimes/opencode/index.d.ts +34 -0
- package/dist/runtimes/opencode/index.d.ts.map +1 -0
- package/dist/runtimes/opencode/index.js +43 -0
- package/dist/runtimes/opencode/index.js.map +1 -0
- package/dist/runtimes/opencode/install.d.ts +30 -0
- package/dist/runtimes/opencode/install.d.ts.map +1 -0
- package/dist/runtimes/opencode/install.js +55 -0
- package/dist/runtimes/opencode/install.js.map +1 -0
- package/dist/runtimes/opencode/installation.d.ts +8 -0
- package/dist/runtimes/opencode/installation.d.ts.map +1 -0
- package/dist/runtimes/opencode/installation.js +15 -0
- package/dist/runtimes/opencode/installation.js.map +1 -0
- package/dist/runtimes/opencode/launch-identity.d.ts +18 -0
- package/dist/runtimes/opencode/launch-identity.d.ts.map +1 -0
- package/dist/runtimes/opencode/launch-identity.js +39 -0
- package/dist/runtimes/opencode/launch-identity.js.map +1 -0
- package/dist/runtimes/opencode/list-models.d.ts +18 -0
- package/dist/runtimes/opencode/list-models.d.ts.map +1 -0
- package/dist/runtimes/opencode/list-models.js +94 -0
- package/dist/runtimes/opencode/list-models.js.map +1 -0
- package/dist/runtimes/opencode/options.d.ts +9 -0
- package/dist/runtimes/opencode/options.d.ts.map +1 -0
- package/dist/runtimes/opencode/options.js +21 -0
- package/dist/runtimes/opencode/options.js.map +1 -0
- package/dist/runtimes/opencode/prompt-config-v2.d.ts +15 -0
- package/dist/runtimes/opencode/prompt-config-v2.d.ts.map +1 -0
- package/dist/runtimes/opencode/prompt-config-v2.js +91 -0
- package/dist/runtimes/opencode/prompt-config-v2.js.map +1 -0
- package/dist/runtimes/opencode/prompt-config.d.ts +30 -0
- package/dist/runtimes/opencode/prompt-config.d.ts.map +1 -0
- package/dist/runtimes/opencode/prompt-config.js +171 -0
- package/dist/runtimes/opencode/prompt-config.js.map +1 -0
- package/dist/runtimes/opencode/provider-auth-error.d.ts +25 -0
- package/dist/runtimes/opencode/provider-auth-error.d.ts.map +1 -0
- package/dist/runtimes/opencode/provider-auth-error.js +13 -0
- package/dist/runtimes/opencode/provider-auth-error.js.map +1 -0
- package/dist/runtimes/opencode/provider-auth-facade.d.ts +28 -0
- package/dist/runtimes/opencode/provider-auth-facade.d.ts.map +1 -0
- package/dist/runtimes/opencode/provider-auth-facade.js +178 -0
- package/dist/runtimes/opencode/provider-auth-facade.js.map +1 -0
- package/dist/runtimes/opencode/provider-auth-oauth.d.ts +24 -0
- package/dist/runtimes/opencode/provider-auth-oauth.d.ts.map +1 -0
- package/dist/runtimes/opencode/provider-auth-oauth.js +189 -0
- package/dist/runtimes/opencode/provider-auth-oauth.js.map +1 -0
- package/dist/runtimes/opencode/provider-auth-prompts.d.ts +16 -0
- package/dist/runtimes/opencode/provider-auth-prompts.d.ts.map +1 -0
- package/dist/runtimes/opencode/provider-auth-prompts.js +91 -0
- package/dist/runtimes/opencode/provider-auth-prompts.js.map +1 -0
- package/dist/runtimes/opencode/provider-auth-registry.d.ts +79 -0
- package/dist/runtimes/opencode/provider-auth-registry.d.ts.map +1 -0
- package/dist/runtimes/opencode/provider-auth-registry.js +146 -0
- package/dist/runtimes/opencode/provider-auth-registry.js.map +1 -0
- package/dist/runtimes/opencode/provider-auth-server.d.ts +40 -0
- package/dist/runtimes/opencode/provider-auth-server.d.ts.map +1 -0
- package/dist/runtimes/opencode/provider-auth-server.js +198 -0
- package/dist/runtimes/opencode/provider-auth-server.js.map +1 -0
- package/dist/runtimes/opencode/provider-auth.d.ts +49 -0
- package/dist/runtimes/opencode/provider-auth.d.ts.map +1 -0
- package/dist/runtimes/opencode/provider-auth.js +39 -0
- package/dist/runtimes/opencode/provider-auth.js.map +1 -0
- package/dist/runtimes/opencode/retry.d.ts +5 -0
- package/dist/runtimes/opencode/retry.d.ts.map +1 -0
- package/dist/runtimes/opencode/retry.js +20 -0
- package/dist/runtimes/opencode/retry.js.map +1 -0
- package/dist/runtimes/opencode/session.d.ts +17 -0
- package/dist/runtimes/opencode/session.d.ts.map +1 -0
- package/dist/runtimes/opencode/session.js +228 -0
- package/dist/runtimes/opencode/session.js.map +1 -0
- package/dist/runtimes/opencode/shared-session.d.ts +7 -0
- package/dist/runtimes/opencode/shared-session.d.ts.map +1 -0
- package/dist/runtimes/opencode/shared-session.js +115 -0
- package/dist/runtimes/opencode/shared-session.js.map +1 -0
- package/dist/runtimes/opencode/sharing-admission.d.ts +5 -0
- package/dist/runtimes/opencode/sharing-admission.d.ts.map +1 -0
- package/dist/runtimes/opencode/sharing-admission.js +9 -0
- package/dist/runtimes/opencode/sharing-admission.js.map +1 -0
- package/dist/runtimes/opencode/sharing-diagnostics.d.ts +3 -0
- package/dist/runtimes/opencode/sharing-diagnostics.d.ts.map +1 -0
- package/dist/runtimes/opencode/sharing-diagnostics.js +3 -0
- package/dist/runtimes/opencode/sharing-diagnostics.js.map +1 -0
- package/dist/runtimes/opencode/side-question.d.ts +9 -0
- package/dist/runtimes/opencode/side-question.d.ts.map +1 -0
- package/dist/runtimes/opencode/side-question.js +444 -0
- package/dist/runtimes/opencode/side-question.js.map +1 -0
- package/dist/runtimes/opencode/skill-diagnostic.d.ts +3 -0
- package/dist/runtimes/opencode/skill-diagnostic.d.ts.map +1 -0
- package/dist/runtimes/opencode/skill-diagnostic.js +25 -0
- package/dist/runtimes/opencode/skill-diagnostic.js.map +1 -0
- package/dist/runtimes/opencode/skill-scope.d.ts +5 -0
- package/dist/runtimes/opencode/skill-scope.d.ts.map +1 -0
- package/dist/runtimes/opencode/skill-scope.js +82 -0
- package/dist/runtimes/opencode/skill-scope.js.map +1 -0
- package/dist/runtimes/opencode/skills-v1.d.ts +4 -0
- package/dist/runtimes/opencode/skills-v1.d.ts.map +1 -0
- package/dist/runtimes/opencode/skills-v1.js +38 -0
- package/dist/runtimes/opencode/skills-v1.js.map +1 -0
- package/dist/runtimes/opencode/skills.d.ts +4 -0
- package/dist/runtimes/opencode/skills.d.ts.map +1 -0
- package/dist/runtimes/opencode/skills.js +99 -0
- package/dist/runtimes/opencode/skills.js.map +1 -0
- package/dist/runtimes/opencode/startup-gate.d.ts +9 -0
- package/dist/runtimes/opencode/startup-gate.d.ts.map +1 -0
- package/dist/runtimes/opencode/startup-gate.js +87 -0
- package/dist/runtimes/opencode/startup-gate.js.map +1 -0
- package/dist/runtimes/opencode/steering.d.ts +11 -0
- package/dist/runtimes/opencode/steering.d.ts.map +1 -0
- package/dist/runtimes/opencode/steering.js +23 -0
- package/dist/runtimes/opencode/steering.js.map +1 -0
- package/dist/runtimes/opencode/token-usage.d.ts +5 -0
- package/dist/runtimes/opencode/token-usage.d.ts.map +1 -0
- package/dist/runtimes/opencode/token-usage.js +31 -0
- package/dist/runtimes/opencode/token-usage.js.map +1 -0
- package/dist/runtimes/opencode/version.d.ts +20 -0
- package/dist/runtimes/opencode/version.d.ts.map +1 -0
- package/dist/runtimes/opencode/version.js +51 -0
- package/dist/runtimes/opencode/version.js.map +1 -0
- package/dist/runtimes/pi/auth.d.ts +37 -0
- package/dist/runtimes/pi/auth.d.ts.map +1 -0
- package/dist/runtimes/pi/auth.js +198 -0
- package/dist/runtimes/pi/auth.js.map +1 -0
- package/dist/runtimes/pi/catalog.d.ts +7 -0
- package/dist/runtimes/pi/catalog.d.ts.map +1 -0
- package/dist/runtimes/pi/catalog.js +76 -0
- package/dist/runtimes/pi/catalog.js.map +1 -0
- package/dist/runtimes/pi/compaction.d.ts +6 -0
- package/dist/runtimes/pi/compaction.d.ts.map +1 -0
- package/dist/runtimes/pi/compaction.js +51 -0
- package/dist/runtimes/pi/compaction.js.map +1 -0
- package/dist/runtimes/pi/config-value.d.ts +3 -0
- package/dist/runtimes/pi/config-value.d.ts.map +1 -0
- package/dist/runtimes/pi/config-value.js +5 -0
- package/dist/runtimes/pi/config-value.js.map +1 -0
- package/dist/runtimes/pi/credentials.d.ts +6 -0
- package/dist/runtimes/pi/credentials.d.ts.map +1 -0
- package/dist/runtimes/pi/credentials.js +17 -0
- package/dist/runtimes/pi/credentials.js.map +1 -0
- package/dist/runtimes/pi/facade-runtime.d.ts +21 -0
- package/dist/runtimes/pi/facade-runtime.d.ts.map +1 -0
- package/dist/runtimes/pi/facade-runtime.js +24 -0
- package/dist/runtimes/pi/facade-runtime.js.map +1 -0
- package/dist/runtimes/pi/failure.d.ts +10 -0
- package/dist/runtimes/pi/failure.d.ts.map +1 -0
- package/dist/runtimes/pi/failure.js +18 -0
- package/dist/runtimes/pi/failure.js.map +1 -0
- package/dist/runtimes/pi/history.d.ts +5 -0
- package/dist/runtimes/pi/history.d.ts.map +1 -0
- package/dist/runtimes/pi/history.js +154 -0
- package/dist/runtimes/pi/history.js.map +1 -0
- package/dist/runtimes/pi/http.d.ts +44 -0
- package/dist/runtimes/pi/http.d.ts.map +1 -0
- package/dist/runtimes/pi/http.js +113 -0
- package/dist/runtimes/pi/http.js.map +1 -0
- package/dist/runtimes/pi/index.d.ts +23 -0
- package/dist/runtimes/pi/index.d.ts.map +1 -0
- package/dist/runtimes/pi/index.js +85 -0
- package/dist/runtimes/pi/index.js.map +1 -0
- package/dist/runtimes/pi/input-disposition.d.ts +24 -0
- package/dist/runtimes/pi/input-disposition.d.ts.map +1 -0
- package/dist/runtimes/pi/input-disposition.js +15 -0
- package/dist/runtimes/pi/input-disposition.js.map +1 -0
- package/dist/runtimes/pi/installation.d.ts +7 -0
- package/dist/runtimes/pi/installation.d.ts.map +1 -0
- package/dist/runtimes/pi/installation.js +78 -0
- package/dist/runtimes/pi/installation.js.map +1 -0
- package/dist/runtimes/pi/inventory.d.ts +7 -0
- package/dist/runtimes/pi/inventory.d.ts.map +1 -0
- package/dist/runtimes/pi/inventory.js +86 -0
- package/dist/runtimes/pi/inventory.js.map +1 -0
- package/dist/runtimes/pi/lifecycle.d.ts +8 -0
- package/dist/runtimes/pi/lifecycle.d.ts.map +1 -0
- package/dist/runtimes/pi/lifecycle.js +67 -0
- package/dist/runtimes/pi/lifecycle.js.map +1 -0
- package/dist/runtimes/pi/list-models.d.ts +33 -0
- package/dist/runtimes/pi/list-models.d.ts.map +1 -0
- package/dist/runtimes/pi/list-models.js +90 -0
- package/dist/runtimes/pi/list-models.js.map +1 -0
- package/dist/runtimes/pi/mcp.d.ts +35 -0
- package/dist/runtimes/pi/mcp.d.ts.map +1 -0
- package/dist/runtimes/pi/mcp.js +132 -0
- package/dist/runtimes/pi/mcp.js.map +1 -0
- package/dist/runtimes/pi/model-projection.d.ts +60 -0
- package/dist/runtimes/pi/model-projection.d.ts.map +1 -0
- package/dist/runtimes/pi/model-projection.js +35 -0
- package/dist/runtimes/pi/model-projection.js.map +1 -0
- package/dist/runtimes/pi/open.d.ts +60 -0
- package/dist/runtimes/pi/open.d.ts.map +1 -0
- package/dist/runtimes/pi/open.js +238 -0
- package/dist/runtimes/pi/open.js.map +1 -0
- package/dist/runtimes/pi/options.d.ts +38 -0
- package/dist/runtimes/pi/options.d.ts.map +1 -0
- package/dist/runtimes/pi/options.js +108 -0
- package/dist/runtimes/pi/options.js.map +1 -0
- package/dist/runtimes/pi/project.d.ts +7 -0
- package/dist/runtimes/pi/project.d.ts.map +1 -0
- package/dist/runtimes/pi/project.js +40 -0
- package/dist/runtimes/pi/project.js.map +1 -0
- package/dist/runtimes/pi/projection.d.ts +47 -0
- package/dist/runtimes/pi/projection.d.ts.map +1 -0
- package/dist/runtimes/pi/projection.js +202 -0
- package/dist/runtimes/pi/projection.js.map +1 -0
- package/dist/runtimes/pi/queue-barrier.d.ts +12 -0
- package/dist/runtimes/pi/queue-barrier.d.ts.map +1 -0
- package/dist/runtimes/pi/queue-barrier.js +35 -0
- package/dist/runtimes/pi/queue-barrier.js.map +1 -0
- package/dist/runtimes/pi/reader-environment.d.ts +10 -0
- package/dist/runtimes/pi/reader-environment.d.ts.map +1 -0
- package/dist/runtimes/pi/reader-environment.js +22 -0
- package/dist/runtimes/pi/reader-environment.js.map +1 -0
- package/dist/runtimes/pi/resolve.d.ts +53 -0
- package/dist/runtimes/pi/resolve.d.ts.map +1 -0
- package/dist/runtimes/pi/resolve.js +85 -0
- package/dist/runtimes/pi/resolve.js.map +1 -0
- package/dist/runtimes/pi/rpc/control.d.ts +7 -0
- package/dist/runtimes/pi/rpc/control.d.ts.map +1 -0
- package/dist/runtimes/pi/rpc/control.js +57 -0
- package/dist/runtimes/pi/rpc/control.js.map +1 -0
- package/dist/runtimes/pi/rpc/credentials.d.ts +4 -0
- package/dist/runtimes/pi/rpc/credentials.d.ts.map +1 -0
- package/dist/runtimes/pi/rpc/credentials.js +24 -0
- package/dist/runtimes/pi/rpc/credentials.js.map +1 -0
- package/dist/runtimes/pi/rpc/extension.d.ts +6 -0
- package/dist/runtimes/pi/rpc/extension.d.ts.map +1 -0
- package/dist/runtimes/pi/rpc/extension.js +101 -0
- package/dist/runtimes/pi/rpc/extension.js.map +1 -0
- package/dist/runtimes/pi/rpc/launch.d.ts +7 -0
- package/dist/runtimes/pi/rpc/launch.d.ts.map +1 -0
- package/dist/runtimes/pi/rpc/launch.js +25 -0
- package/dist/runtimes/pi/rpc/launch.js.map +1 -0
- package/dist/runtimes/pi/rpc/open.d.ts +33 -0
- package/dist/runtimes/pi/rpc/open.d.ts.map +1 -0
- package/dist/runtimes/pi/rpc/open.js +193 -0
- package/dist/runtimes/pi/rpc/open.js.map +1 -0
- package/dist/runtimes/pi/rpc/prompt-files.d.ts +4 -0
- package/dist/runtimes/pi/rpc/prompt-files.d.ts.map +1 -0
- package/dist/runtimes/pi/rpc/prompt-files.js +28 -0
- package/dist/runtimes/pi/rpc/prompt-files.js.map +1 -0
- package/dist/runtimes/pi/rpc/read.d.ts +9 -0
- package/dist/runtimes/pi/rpc/read.d.ts.map +1 -0
- package/dist/runtimes/pi/rpc/read.js +29 -0
- package/dist/runtimes/pi/rpc/read.js.map +1 -0
- package/dist/runtimes/pi/rpc/readers.d.ts +16 -0
- package/dist/runtimes/pi/rpc/readers.d.ts.map +1 -0
- package/dist/runtimes/pi/rpc/readers.js +66 -0
- package/dist/runtimes/pi/rpc/readers.js.map +1 -0
- package/dist/runtimes/pi/rpc/session.d.ts +6 -0
- package/dist/runtimes/pi/rpc/session.d.ts.map +1 -0
- package/dist/runtimes/pi/rpc/session.js +292 -0
- package/dist/runtimes/pi/rpc/session.js.map +1 -0
- package/dist/runtimes/pi/rpc/version.d.ts +19 -0
- package/dist/runtimes/pi/rpc/version.d.ts.map +1 -0
- package/dist/runtimes/pi/rpc/version.js +51 -0
- package/dist/runtimes/pi/rpc/version.js.map +1 -0
- package/dist/runtimes/pi/session.d.ts +6 -0
- package/dist/runtimes/pi/session.d.ts.map +1 -0
- package/dist/runtimes/pi/session.js +323 -0
- package/dist/runtimes/pi/session.js.map +1 -0
- package/dist/runtimes/pi/side-question.d.ts +8 -0
- package/dist/runtimes/pi/side-question.d.ts.map +1 -0
- package/dist/runtimes/pi/side-question.js +433 -0
- package/dist/runtimes/pi/side-question.js.map +1 -0
- package/dist/runtimes/pi/skill-provenance.d.ts +8 -0
- package/dist/runtimes/pi/skill-provenance.d.ts.map +1 -0
- package/dist/runtimes/pi/skill-provenance.js +10 -0
- package/dist/runtimes/pi/skill-provenance.js.map +1 -0
- package/dist/runtimes/pi/static-modules.d.ts +11 -0
- package/dist/runtimes/pi/static-modules.d.ts.map +1 -0
- package/dist/runtimes/pi/static-modules.js +54 -0
- package/dist/runtimes/pi/static-modules.js.map +1 -0
- package/dist/runtimes/pi/theme.d.ts +16 -0
- package/dist/runtimes/pi/theme.d.ts.map +1 -0
- package/dist/runtimes/pi/theme.js +19 -0
- package/dist/runtimes/pi/theme.js.map +1 -0
- package/dist/runtimes/pi-durable/index.d.ts +11 -0
- package/dist/runtimes/pi-durable/index.d.ts.map +1 -0
- package/dist/runtimes/pi-durable/index.js +33 -0
- package/dist/runtimes/pi-durable/index.js.map +1 -0
- package/dist/runtimes/pi-durable/messages.d.ts +15 -0
- package/dist/runtimes/pi-durable/messages.d.ts.map +1 -0
- package/dist/runtimes/pi-durable/messages.js +30 -0
- package/dist/runtimes/pi-durable/messages.js.map +1 -0
- package/dist/runtimes/pi-durable/options.d.ts +8 -0
- package/dist/runtimes/pi-durable/options.d.ts.map +1 -0
- package/dist/runtimes/pi-durable/options.js +103 -0
- package/dist/runtimes/pi-durable/options.js.map +1 -0
- package/dist/runtimes/pi-durable/projection.d.ts +28 -0
- package/dist/runtimes/pi-durable/projection.d.ts.map +1 -0
- package/dist/runtimes/pi-durable/projection.js +201 -0
- package/dist/runtimes/pi-durable/projection.js.map +1 -0
- package/dist/runtimes/pi-durable/session.d.ts +6 -0
- package/dist/runtimes/pi-durable/session.d.ts.map +1 -0
- package/dist/runtimes/pi-durable/session.js +213 -0
- package/dist/runtimes/pi-durable/session.js.map +1 -0
- package/dist/runtimes/qoder/auth-status.d.ts +9 -0
- package/dist/runtimes/qoder/auth-status.d.ts.map +1 -0
- package/dist/runtimes/qoder/auth-status.js +31 -0
- package/dist/runtimes/qoder/auth-status.js.map +1 -0
- package/dist/runtimes/qoder/compaction.d.ts +5 -0
- package/dist/runtimes/qoder/compaction.d.ts.map +1 -0
- package/dist/runtimes/qoder/compaction.js +41 -0
- package/dist/runtimes/qoder/compaction.js.map +1 -0
- package/dist/runtimes/qoder/control.d.ts +14 -0
- package/dist/runtimes/qoder/control.d.ts.map +1 -0
- package/dist/runtimes/qoder/control.js +80 -0
- package/dist/runtimes/qoder/control.js.map +1 -0
- package/dist/runtimes/qoder/daemon.d.ts +4 -0
- package/dist/runtimes/qoder/daemon.d.ts.map +1 -0
- package/dist/runtimes/qoder/daemon.js +121 -0
- package/dist/runtimes/qoder/daemon.js.map +1 -0
- package/dist/runtimes/qoder/index.d.ts +32 -0
- package/dist/runtimes/qoder/index.d.ts.map +1 -0
- package/dist/runtimes/qoder/index.js +20 -0
- package/dist/runtimes/qoder/index.js.map +1 -0
- package/dist/runtimes/qoder/install.d.ts +6 -0
- package/dist/runtimes/qoder/install.d.ts.map +1 -0
- package/dist/runtimes/qoder/install.js +15 -0
- package/dist/runtimes/qoder/install.js.map +1 -0
- package/dist/runtimes/qoder/installation.d.ts +5 -0
- package/dist/runtimes/qoder/installation.d.ts.map +1 -0
- package/dist/runtimes/qoder/installation.js +23 -0
- package/dist/runtimes/qoder/installation.js.map +1 -0
- package/dist/runtimes/qoder/launch.d.ts +13 -0
- package/dist/runtimes/qoder/launch.d.ts.map +1 -0
- package/dist/runtimes/qoder/launch.js +88 -0
- package/dist/runtimes/qoder/launch.js.map +1 -0
- package/dist/runtimes/qoder/list-models.d.ts +10 -0
- package/dist/runtimes/qoder/list-models.d.ts.map +1 -0
- package/dist/runtimes/qoder/list-models.js +84 -0
- package/dist/runtimes/qoder/list-models.js.map +1 -0
- package/dist/runtimes/qoder/login.d.ts +6 -0
- package/dist/runtimes/qoder/login.d.ts.map +1 -0
- package/dist/runtimes/qoder/login.js +84 -0
- package/dist/runtimes/qoder/login.js.map +1 -0
- package/dist/runtimes/qoder/options.d.ts +4 -0
- package/dist/runtimes/qoder/options.d.ts.map +1 -0
- package/dist/runtimes/qoder/options.js +22 -0
- package/dist/runtimes/qoder/options.js.map +1 -0
- package/dist/runtimes/qoder/permission.d.ts +4 -0
- package/dist/runtimes/qoder/permission.d.ts.map +1 -0
- package/dist/runtimes/qoder/permission.js +6 -0
- package/dist/runtimes/qoder/permission.js.map +1 -0
- package/dist/runtimes/qoder/projection.d.ts +14 -0
- package/dist/runtimes/qoder/projection.d.ts.map +1 -0
- package/dist/runtimes/qoder/projection.js +52 -0
- package/dist/runtimes/qoder/projection.js.map +1 -0
- package/dist/runtimes/qoder/protocol.d.ts +16 -0
- package/dist/runtimes/qoder/protocol.d.ts.map +1 -0
- package/dist/runtimes/qoder/protocol.js +43 -0
- package/dist/runtimes/qoder/protocol.js.map +1 -0
- package/dist/runtimes/qoder/session.d.ts +3 -0
- package/dist/runtimes/qoder/session.d.ts.map +1 -0
- package/dist/runtimes/qoder/session.js +113 -0
- package/dist/runtimes/qoder/session.js.map +1 -0
- package/dist/runtimes/qoder/tasks.d.ts +5 -0
- package/dist/runtimes/qoder/tasks.d.ts.map +1 -0
- package/dist/runtimes/qoder/tasks.js +50 -0
- package/dist/runtimes/qoder/tasks.js.map +1 -0
- package/dist/runtimes/qwen/auth-files.d.ts +15 -0
- package/dist/runtimes/qwen/auth-files.d.ts.map +1 -0
- package/dist/runtimes/qwen/auth-files.js +91 -0
- package/dist/runtimes/qwen/auth-files.js.map +1 -0
- package/dist/runtimes/qwen/auth-status.d.ts +4 -0
- package/dist/runtimes/qwen/auth-status.d.ts.map +1 -0
- package/dist/runtimes/qwen/auth-status.js +108 -0
- package/dist/runtimes/qwen/auth-status.js.map +1 -0
- package/dist/runtimes/qwen/close.d.ts +4 -0
- package/dist/runtimes/qwen/close.d.ts.map +1 -0
- package/dist/runtimes/qwen/close.js +13 -0
- package/dist/runtimes/qwen/close.js.map +1 -0
- package/dist/runtimes/qwen/context-usage.d.ts +15 -0
- package/dist/runtimes/qwen/context-usage.d.ts.map +1 -0
- package/dist/runtimes/qwen/context-usage.js +77 -0
- package/dist/runtimes/qwen/context-usage.js.map +1 -0
- package/dist/runtimes/qwen/control.d.ts +15 -0
- package/dist/runtimes/qwen/control.d.ts.map +1 -0
- package/dist/runtimes/qwen/control.js +66 -0
- package/dist/runtimes/qwen/control.js.map +1 -0
- package/dist/runtimes/qwen/index.d.ts +45 -0
- package/dist/runtimes/qwen/index.d.ts.map +1 -0
- package/dist/runtimes/qwen/index.js +35 -0
- package/dist/runtimes/qwen/index.js.map +1 -0
- package/dist/runtimes/qwen/install-paths.d.ts +6 -0
- package/dist/runtimes/qwen/install-paths.d.ts.map +1 -0
- package/dist/runtimes/qwen/install-paths.js +14 -0
- package/dist/runtimes/qwen/install-paths.js.map +1 -0
- package/dist/runtimes/qwen/install.d.ts +6 -0
- package/dist/runtimes/qwen/install.d.ts.map +1 -0
- package/dist/runtimes/qwen/install.js +18 -0
- package/dist/runtimes/qwen/install.js.map +1 -0
- package/dist/runtimes/qwen/installation.d.ts +2 -0
- package/dist/runtimes/qwen/installation.d.ts.map +1 -0
- package/dist/runtimes/qwen/installation.js +5 -0
- package/dist/runtimes/qwen/installation.js.map +1 -0
- package/dist/runtimes/qwen/launch.d.ts +5 -0
- package/dist/runtimes/qwen/launch.d.ts.map +1 -0
- package/dist/runtimes/qwen/launch.js +25 -0
- package/dist/runtimes/qwen/launch.js.map +1 -0
- package/dist/runtimes/qwen/list-models.d.ts +6 -0
- package/dist/runtimes/qwen/list-models.d.ts.map +1 -0
- package/dist/runtimes/qwen/list-models.js +84 -0
- package/dist/runtimes/qwen/list-models.js.map +1 -0
- package/dist/runtimes/qwen/options.d.ts +5 -0
- package/dist/runtimes/qwen/options.d.ts.map +1 -0
- package/dist/runtimes/qwen/options.js +30 -0
- package/dist/runtimes/qwen/options.js.map +1 -0
- package/dist/runtimes/qwen/projection.d.ts +14 -0
- package/dist/runtimes/qwen/projection.d.ts.map +1 -0
- package/dist/runtimes/qwen/projection.js +47 -0
- package/dist/runtimes/qwen/projection.js.map +1 -0
- package/dist/runtimes/qwen/provider-auth-rpc.d.ts +4 -0
- package/dist/runtimes/qwen/provider-auth-rpc.d.ts.map +1 -0
- package/dist/runtimes/qwen/provider-auth-rpc.js +134 -0
- package/dist/runtimes/qwen/provider-auth-rpc.js.map +1 -0
- package/dist/runtimes/qwen/provider-auth.d.ts +66 -0
- package/dist/runtimes/qwen/provider-auth.d.ts.map +1 -0
- package/dist/runtimes/qwen/provider-auth.js +19 -0
- package/dist/runtimes/qwen/provider-auth.js.map +1 -0
- package/dist/runtimes/qwen/session.d.ts +8 -0
- package/dist/runtimes/qwen/session.d.ts.map +1 -0
- package/dist/runtimes/qwen/session.js +80 -0
- package/dist/runtimes/qwen/session.js.map +1 -0
- package/dist/runtimes/qwen/skills.d.ts +4 -0
- package/dist/runtimes/qwen/skills.d.ts.map +1 -0
- package/dist/runtimes/qwen/skills.js +69 -0
- package/dist/runtimes/qwen/skills.js.map +1 -0
- package/dist/runtimes/qwen/tasks.d.ts +5 -0
- package/dist/runtimes/qwen/tasks.d.ts.map +1 -0
- package/dist/runtimes/qwen/tasks.js +21 -0
- package/dist/runtimes/qwen/tasks.js.map +1 -0
- package/dist/shared/abort-fallback.d.ts +11 -0
- package/dist/shared/abort-fallback.d.ts.map +1 -0
- package/dist/shared/abort-fallback.js +48 -0
- package/dist/shared/abort-fallback.js.map +1 -0
- package/dist/shared/acp/additional-directories.d.ts +5 -0
- package/dist/shared/acp/additional-directories.d.ts.map +1 -0
- package/dist/shared/acp/additional-directories.js +16 -0
- package/dist/shared/acp/additional-directories.js.map +1 -0
- package/dist/shared/acp/auth-query.d.ts +25 -0
- package/dist/shared/acp/auth-query.d.ts.map +1 -0
- package/dist/shared/acp/auth-query.js +66 -0
- package/dist/shared/acp/auth-query.js.map +1 -0
- package/dist/shared/acp/client-app.d.ts +36 -0
- package/dist/shared/acp/client-app.d.ts.map +1 -0
- package/dist/shared/acp/client-app.js +82 -0
- package/dist/shared/acp/client-app.js.map +1 -0
- package/dist/shared/acp/config-updates.d.ts +9 -0
- package/dist/shared/acp/config-updates.d.ts.map +1 -0
- package/dist/shared/acp/config-updates.js +77 -0
- package/dist/shared/acp/config-updates.js.map +1 -0
- package/dist/shared/acp/derived-sessions.d.ts +40 -0
- package/dist/shared/acp/derived-sessions.d.ts.map +1 -0
- package/dist/shared/acp/derived-sessions.js +28 -0
- package/dist/shared/acp/derived-sessions.js.map +1 -0
- package/dist/shared/acp/diagnostic-summary.d.ts +10 -0
- package/dist/shared/acp/diagnostic-summary.d.ts.map +1 -0
- package/dist/shared/acp/diagnostic-summary.js +33 -0
- package/dist/shared/acp/diagnostic-summary.js.map +1 -0
- package/dist/shared/acp/effort.d.ts +42 -0
- package/dist/shared/acp/effort.d.ts.map +1 -0
- package/dist/shared/acp/effort.js +76 -0
- package/dist/shared/acp/effort.js.map +1 -0
- package/dist/shared/acp/errors.d.ts +18 -0
- package/dist/shared/acp/errors.d.ts.map +1 -0
- package/dist/shared/acp/errors.js +35 -0
- package/dist/shared/acp/errors.js.map +1 -0
- package/dist/shared/acp/failure.d.ts +20 -0
- package/dist/shared/acp/failure.d.ts.map +1 -0
- package/dist/shared/acp/failure.js +83 -0
- package/dist/shared/acp/failure.js.map +1 -0
- package/dist/shared/acp/initialize.d.ts +6 -0
- package/dist/shared/acp/initialize.d.ts.map +1 -0
- package/dist/shared/acp/initialize.js +32 -0
- package/dist/shared/acp/initialize.js.map +1 -0
- package/dist/shared/acp/input.d.ts +8 -0
- package/dist/shared/acp/input.d.ts.map +1 -0
- package/dist/shared/acp/input.js +76 -0
- package/dist/shared/acp/input.js.map +1 -0
- package/dist/shared/acp/launch-args.d.ts +5 -0
- package/dist/shared/acp/launch-args.d.ts.map +1 -0
- package/dist/shared/acp/launch-args.js +7 -0
- package/dist/shared/acp/launch-args.js.map +1 -0
- package/dist/shared/acp/mcp-servers.d.ts +18 -0
- package/dist/shared/acp/mcp-servers.d.ts.map +1 -0
- package/dist/shared/acp/mcp-servers.js +49 -0
- package/dist/shared/acp/mcp-servers.js.map +1 -0
- package/dist/shared/acp/model-configuration.d.ts +15 -0
- package/dist/shared/acp/model-configuration.d.ts.map +1 -0
- package/dist/shared/acp/model-configuration.js +27 -0
- package/dist/shared/acp/model-configuration.js.map +1 -0
- package/dist/shared/acp/model.d.ts +42 -0
- package/dist/shared/acp/model.d.ts.map +1 -0
- package/dist/shared/acp/model.js +65 -0
- package/dist/shared/acp/model.js.map +1 -0
- package/dist/shared/acp/native-turns.d.ts +37 -0
- package/dist/shared/acp/native-turns.d.ts.map +1 -0
- package/dist/shared/acp/native-turns.js +107 -0
- package/dist/shared/acp/native-turns.js.map +1 -0
- package/dist/shared/acp/opening.d.ts +11 -0
- package/dist/shared/acp/opening.d.ts.map +1 -0
- package/dist/shared/acp/opening.js +46 -0
- package/dist/shared/acp/opening.js.map +1 -0
- package/dist/shared/acp/process.d.ts +51 -0
- package/dist/shared/acp/process.d.ts.map +1 -0
- package/dist/shared/acp/process.js +156 -0
- package/dist/shared/acp/process.js.map +1 -0
- package/dist/shared/acp/profile.d.ts +167 -0
- package/dist/shared/acp/profile.d.ts.map +1 -0
- package/dist/shared/acp/profile.js +100 -0
- package/dist/shared/acp/profile.js.map +1 -0
- package/dist/shared/acp/projection.d.ts +39 -0
- package/dist/shared/acp/projection.d.ts.map +1 -0
- package/dist/shared/acp/projection.js +248 -0
- package/dist/shared/acp/projection.js.map +1 -0
- package/dist/shared/acp/prompt.d.ts +13 -0
- package/dist/shared/acp/prompt.d.ts.map +1 -0
- package/dist/shared/acp/prompt.js +41 -0
- package/dist/shared/acp/prompt.js.map +1 -0
- package/dist/shared/acp/protocol-error.d.ts +5 -0
- package/dist/shared/acp/protocol-error.d.ts.map +1 -0
- package/dist/shared/acp/protocol-error.js +6 -0
- package/dist/shared/acp/protocol-error.js.map +1 -0
- package/dist/shared/acp/records.d.ts +53 -0
- package/dist/shared/acp/records.d.ts.map +1 -0
- package/dist/shared/acp/records.js +182 -0
- package/dist/shared/acp/records.js.map +1 -0
- package/dist/shared/acp/resume-cwd.d.ts +12 -0
- package/dist/shared/acp/resume-cwd.d.ts.map +1 -0
- package/dist/shared/acp/resume-cwd.js +56 -0
- package/dist/shared/acp/resume-cwd.js.map +1 -0
- package/dist/shared/acp/routing-types.d.ts +51 -0
- package/dist/shared/acp/routing-types.d.ts.map +1 -0
- package/dist/shared/acp/routing-types.js +2 -0
- package/dist/shared/acp/routing-types.js.map +1 -0
- package/dist/shared/acp/routing.d.ts +17 -0
- package/dist/shared/acp/routing.d.ts.map +1 -0
- package/dist/shared/acp/routing.js +399 -0
- package/dist/shared/acp/routing.js.map +1 -0
- package/dist/shared/acp/session-state.d.ts +22 -0
- package/dist/shared/acp/session-state.d.ts.map +1 -0
- package/dist/shared/acp/session-state.js +39 -0
- package/dist/shared/acp/session-state.js.map +1 -0
- package/dist/shared/acp/session.d.ts +24 -0
- package/dist/shared/acp/session.d.ts.map +1 -0
- package/dist/shared/acp/session.js +291 -0
- package/dist/shared/acp/session.js.map +1 -0
- package/dist/shared/acp/shared-session.d.ts +34 -0
- package/dist/shared/acp/shared-session.d.ts.map +1 -0
- package/dist/shared/acp/shared-session.js +232 -0
- package/dist/shared/acp/shared-session.js.map +1 -0
- package/dist/shared/acp/shared-wire.d.ts +9 -0
- package/dist/shared/acp/shared-wire.d.ts.map +1 -0
- package/dist/shared/acp/shared-wire.js +113 -0
- package/dist/shared/acp/shared-wire.js.map +1 -0
- package/dist/shared/acp/steer-request.d.ts +36 -0
- package/dist/shared/acp/steer-request.d.ts.map +1 -0
- package/dist/shared/acp/steer-request.js +65 -0
- package/dist/shared/acp/steer-request.js.map +1 -0
- package/dist/shared/acp/terminal-launch.d.ts +7 -0
- package/dist/shared/acp/terminal-launch.d.ts.map +1 -0
- package/dist/shared/acp/terminal-launch.js +41 -0
- package/dist/shared/acp/terminal-launch.js.map +1 -0
- package/dist/shared/acp/terminal.d.ts +28 -0
- package/dist/shared/acp/terminal.d.ts.map +1 -0
- package/dist/shared/acp/terminal.js +201 -0
- package/dist/shared/acp/terminal.js.map +1 -0
- package/dist/shared/acp/token-usage.d.ts +15 -0
- package/dist/shared/acp/token-usage.d.ts.map +1 -0
- package/dist/shared/acp/token-usage.js +54 -0
- package/dist/shared/acp/token-usage.js.map +1 -0
- package/dist/shared/acp/turn-terminals.d.ts +13 -0
- package/dist/shared/acp/turn-terminals.d.ts.map +1 -0
- package/dist/shared/acp/turn-terminals.js +114 -0
- package/dist/shared/acp/turn-terminals.js.map +1 -0
- package/dist/shared/acp/turns.d.ts +61 -0
- package/dist/shared/acp/turns.d.ts.map +1 -0
- package/dist/shared/acp/turns.js +274 -0
- package/dist/shared/acp/turns.js.map +1 -0
- package/dist/shared/acp/usage-wait.d.ts +30 -0
- package/dist/shared/acp/usage-wait.d.ts.map +1 -0
- package/dist/shared/acp/usage-wait.js +34 -0
- package/dist/shared/acp/usage-wait.js.map +1 -0
- package/dist/shared/additional-directories.d.ts +4 -0
- package/dist/shared/additional-directories.d.ts.map +1 -0
- package/dist/shared/additional-directories.js +11 -0
- package/dist/shared/additional-directories.js.map +1 -0
- package/dist/shared/control-input.d.ts +11 -0
- package/dist/shared/control-input.d.ts.map +1 -0
- package/dist/shared/control-input.js +34 -0
- package/dist/shared/control-input.js.map +1 -0
- package/dist/shared/credential-http.d.ts +14 -0
- package/dist/shared/credential-http.d.ts.map +1 -0
- package/dist/shared/credential-http.js +25 -0
- package/dist/shared/credential-http.js.map +1 -0
- package/dist/shared/credential-redaction.d.ts +27 -0
- package/dist/shared/credential-redaction.d.ts.map +1 -0
- package/dist/shared/credential-redaction.js +66 -0
- package/dist/shared/credential-redaction.js.map +1 -0
- package/dist/shared/credential-redactor.d.ts +11 -0
- package/dist/shared/credential-redactor.d.ts.map +1 -0
- package/dist/shared/credential-redactor.js +76 -0
- package/dist/shared/credential-redactor.js.map +1 -0
- package/dist/shared/deadline.d.ts +6 -0
- package/dist/shared/deadline.d.ts.map +1 -0
- package/dist/shared/deadline.js +12 -0
- package/dist/shared/deadline.js.map +1 -0
- package/dist/shared/deliver-interrupt.d.ts +50 -0
- package/dist/shared/deliver-interrupt.d.ts.map +1 -0
- package/dist/shared/deliver-interrupt.js +201 -0
- package/dist/shared/deliver-interrupt.js.map +1 -0
- package/dist/shared/deliver.d.ts +10 -0
- package/dist/shared/deliver.d.ts.map +1 -0
- package/dist/shared/deliver.js +92 -0
- package/dist/shared/deliver.js.map +1 -0
- package/dist/shared/dispose-receipt.d.ts +10 -0
- package/dist/shared/dispose-receipt.d.ts.map +1 -0
- package/dist/shared/dispose-receipt.js +47 -0
- package/dist/shared/dispose-receipt.js.map +1 -0
- package/dist/shared/effort-levels.d.ts +10 -0
- package/dist/shared/effort-levels.d.ts.map +1 -0
- package/dist/shared/effort-levels.js +33 -0
- package/dist/shared/effort-levels.js.map +1 -0
- package/dist/shared/environment-home.d.ts +3 -0
- package/dist/shared/environment-home.d.ts.map +1 -0
- package/dist/shared/environment-home.js +7 -0
- package/dist/shared/environment-home.js.map +1 -0
- package/dist/shared/environment.d.ts +8 -0
- package/dist/shared/environment.d.ts.map +1 -0
- package/dist/shared/environment.js +48 -0
- package/dist/shared/environment.js.map +1 -0
- package/dist/shared/executable/diagnostics.d.ts +63 -0
- package/dist/shared/executable/diagnostics.d.ts.map +1 -0
- package/dist/shared/executable/diagnostics.js +107 -0
- package/dist/shared/executable/diagnostics.js.map +1 -0
- package/dist/shared/executable/environment-marker.d.ts +21 -0
- package/dist/shared/executable/environment-marker.d.ts.map +1 -0
- package/dist/shared/executable/environment-marker.js +137 -0
- package/dist/shared/executable/environment-marker.js.map +1 -0
- package/dist/shared/executable/host-watchdog.d.ts +22 -0
- package/dist/shared/executable/host-watchdog.d.ts.map +1 -0
- package/dist/shared/executable/host-watchdog.js +89 -0
- package/dist/shared/executable/host-watchdog.js.map +1 -0
- package/dist/shared/executable/index.d.ts +10 -0
- package/dist/shared/executable/index.d.ts.map +1 -0
- package/dist/shared/executable/index.js +8 -0
- package/dist/shared/executable/index.js.map +1 -0
- package/dist/shared/executable/isolated.d.ts +24 -0
- package/dist/shared/executable/isolated.d.ts.map +1 -0
- package/dist/shared/executable/isolated.js +83 -0
- package/dist/shared/executable/isolated.js.map +1 -0
- package/dist/shared/executable/node-eval.d.ts +10 -0
- package/dist/shared/executable/node-eval.d.ts.map +1 -0
- package/dist/shared/executable/node-eval.js +17 -0
- package/dist/shared/executable/node-eval.js.map +1 -0
- package/dist/shared/executable/node-script.d.ts +53 -0
- package/dist/shared/executable/node-script.d.ts.map +1 -0
- package/dist/shared/executable/node-script.js +131 -0
- package/dist/shared/executable/node-script.js.map +1 -0
- package/dist/shared/executable/ownership.d.ts +26 -0
- package/dist/shared/executable/ownership.d.ts.map +1 -0
- package/dist/shared/executable/ownership.js +147 -0
- package/dist/shared/executable/ownership.js.map +1 -0
- package/dist/shared/executable/pipe-close.d.ts +40 -0
- package/dist/shared/executable/pipe-close.d.ts.map +1 -0
- package/dist/shared/executable/pipe-close.js +171 -0
- package/dist/shared/executable/pipe-close.js.map +1 -0
- package/dist/shared/executable/probe-cleanup.d.ts +8 -0
- package/dist/shared/executable/probe-cleanup.d.ts.map +1 -0
- package/dist/shared/executable/probe-cleanup.js +96 -0
- package/dist/shared/executable/probe-cleanup.js.map +1 -0
- package/dist/shared/executable/process-cancellation.d.ts +14 -0
- package/dist/shared/executable/process-cancellation.d.ts.map +1 -0
- package/dist/shared/executable/process-cancellation.js +25 -0
- package/dist/shared/executable/process-cancellation.js.map +1 -0
- package/dist/shared/executable/process-cleanup-diagnostics.d.ts +57 -0
- package/dist/shared/executable/process-cleanup-diagnostics.d.ts.map +1 -0
- package/dist/shared/executable/process-cleanup-diagnostics.js +36 -0
- package/dist/shared/executable/process-cleanup-diagnostics.js.map +1 -0
- package/dist/shared/executable/process-cleanup.d.ts +14 -0
- package/dist/shared/executable/process-cleanup.d.ts.map +1 -0
- package/dist/shared/executable/process-cleanup.js +175 -0
- package/dist/shared/executable/process-cleanup.js.map +1 -0
- package/dist/shared/executable/process-resources.d.ts +11 -0
- package/dist/shared/executable/process-resources.d.ts.map +1 -0
- package/dist/shared/executable/process-resources.js +139 -0
- package/dist/shared/executable/process-resources.js.map +1 -0
- package/dist/shared/executable/process-shutdown.d.ts +22 -0
- package/dist/shared/executable/process-shutdown.d.ts.map +1 -0
- package/dist/shared/executable/process-shutdown.js +224 -0
- package/dist/shared/executable/process-shutdown.js.map +1 -0
- package/dist/shared/executable/process-signals.d.ts +43 -0
- package/dist/shared/executable/process-signals.d.ts.map +1 -0
- package/dist/shared/executable/process-signals.js +74 -0
- package/dist/shared/executable/process-signals.js.map +1 -0
- package/dist/shared/executable/process-table-async.d.ts +20 -0
- package/dist/shared/executable/process-table-async.d.ts.map +1 -0
- package/dist/shared/executable/process-table-async.js +137 -0
- package/dist/shared/executable/process-table-async.js.map +1 -0
- package/dist/shared/executable/process-table-budget.d.ts +6 -0
- package/dist/shared/executable/process-table-budget.d.ts.map +1 -0
- package/dist/shared/executable/process-table-budget.js +41 -0
- package/dist/shared/executable/process-table-budget.js.map +1 -0
- package/dist/shared/executable/process-table-command.d.ts +9 -0
- package/dist/shared/executable/process-table-command.d.ts.map +1 -0
- package/dist/shared/executable/process-table-command.js +83 -0
- package/dist/shared/executable/process-table-command.js.map +1 -0
- package/dist/shared/executable/process-table-preparation.d.ts +14 -0
- package/dist/shared/executable/process-table-preparation.d.ts.map +1 -0
- package/dist/shared/executable/process-table-preparation.js +19 -0
- package/dist/shared/executable/process-table-preparation.js.map +1 -0
- package/dist/shared/executable/process-timing.d.ts +50 -0
- package/dist/shared/executable/process-timing.d.ts.map +1 -0
- package/dist/shared/executable/process-timing.js +21 -0
- package/dist/shared/executable/process-timing.js.map +1 -0
- package/dist/shared/executable/process-tree.d.ts +76 -0
- package/dist/shared/executable/process-tree.d.ts.map +1 -0
- package/dist/shared/executable/process-tree.js +284 -0
- package/dist/shared/executable/process-tree.js.map +1 -0
- package/dist/shared/executable/process-turn-scope.d.ts +26 -0
- package/dist/shared/executable/process-turn-scope.d.ts.map +1 -0
- package/dist/shared/executable/process-turn-scope.js +70 -0
- package/dist/shared/executable/process-turn-scope.js.map +1 -0
- package/dist/shared/executable/process.d.ts +90 -0
- package/dist/shared/executable/process.d.ts.map +1 -0
- package/dist/shared/executable/process.js +168 -0
- package/dist/shared/executable/process.js.map +1 -0
- package/dist/shared/executable/query.d.ts +17 -0
- package/dist/shared/executable/query.d.ts.map +1 -0
- package/dist/shared/executable/query.js +79 -0
- package/dist/shared/executable/query.js.map +1 -0
- package/dist/shared/executable/resolve.d.ts +10 -0
- package/dist/shared/executable/resolve.d.ts.map +1 -0
- package/dist/shared/executable/resolve.js +28 -0
- package/dist/shared/executable/resolve.js.map +1 -0
- package/dist/shared/executable/run.d.ts +25 -0
- package/dist/shared/executable/run.d.ts.map +1 -0
- package/dist/shared/executable/run.js +178 -0
- package/dist/shared/executable/run.js.map +1 -0
- package/dist/shared/executable/script-terminal.d.ts +92 -0
- package/dist/shared/executable/script-terminal.d.ts.map +1 -0
- package/dist/shared/executable/script-terminal.js +331 -0
- package/dist/shared/executable/script-terminal.js.map +1 -0
- package/dist/shared/executable/version.d.ts +9 -0
- package/dist/shared/executable/version.d.ts.map +1 -0
- package/dist/shared/executable/version.js +20 -0
- package/dist/shared/executable/version.js.map +1 -0
- package/dist/shared/executable/windows-shim.d.ts +46 -0
- package/dist/shared/executable/windows-shim.d.ts.map +1 -0
- package/dist/shared/executable/windows-shim.js +188 -0
- package/dist/shared/executable/windows-shim.js.map +1 -0
- package/dist/shared/failure-class.d.ts +39 -0
- package/dist/shared/failure-class.d.ts.map +1 -0
- package/dist/shared/failure-class.js +122 -0
- package/dist/shared/failure-class.js.map +1 -0
- package/dist/shared/held-input.d.ts +24 -0
- package/dist/shared/held-input.d.ts.map +1 -0
- package/dist/shared/held-input.js +33 -0
- package/dist/shared/held-input.js.map +1 -0
- package/dist/shared/input-images.d.ts +23 -0
- package/dist/shared/input-images.d.ts.map +1 -0
- package/dist/shared/input-images.js +60 -0
- package/dist/shared/input-images.js.map +1 -0
- package/dist/shared/install-npm.d.ts +14 -0
- package/dist/shared/install-npm.d.ts.map +1 -0
- package/dist/shared/install-npm.js +81 -0
- package/dist/shared/install-npm.js.map +1 -0
- package/dist/shared/install.d.ts +73 -0
- package/dist/shared/install.d.ts.map +1 -0
- package/dist/shared/install.js +181 -0
- package/dist/shared/install.js.map +1 -0
- package/dist/shared/installation.d.ts +42 -0
- package/dist/shared/installation.d.ts.map +1 -0
- package/dist/shared/installation.js +232 -0
- package/dist/shared/installation.js.map +1 -0
- package/dist/shared/instant.d.ts +4 -0
- package/dist/shared/instant.d.ts.map +1 -0
- package/dist/shared/instant.js +4 -0
- package/dist/shared/instant.js.map +1 -0
- package/dist/shared/inventory.d.ts +25 -0
- package/dist/shared/inventory.d.ts.map +1 -0
- package/dist/shared/inventory.js +56 -0
- package/dist/shared/inventory.js.map +1 -0
- package/dist/shared/json.d.ts +12 -0
- package/dist/shared/json.d.ts.map +1 -0
- package/dist/shared/json.js +44 -0
- package/dist/shared/json.js.map +1 -0
- package/dist/shared/lazy.d.ts +8 -0
- package/dist/shared/lazy.d.ts.map +1 -0
- package/dist/shared/lazy.js +27 -0
- package/dist/shared/lazy.js.map +1 -0
- package/dist/shared/listing-cwd.d.ts +4 -0
- package/dist/shared/listing-cwd.d.ts.map +1 -0
- package/dist/shared/listing-cwd.js +6 -0
- package/dist/shared/listing-cwd.js.map +1 -0
- package/dist/shared/login.d.ts +97 -0
- package/dist/shared/login.d.ts.map +1 -0
- package/dist/shared/login.js +207 -0
- package/dist/shared/login.js.map +1 -0
- package/dist/shared/logout.d.ts +64 -0
- package/dist/shared/logout.d.ts.map +1 -0
- package/dist/shared/logout.js +127 -0
- package/dist/shared/logout.js.map +1 -0
- package/dist/shared/manual-compaction.d.ts +40 -0
- package/dist/shared/manual-compaction.d.ts.map +1 -0
- package/dist/shared/manual-compaction.js +139 -0
- package/dist/shared/manual-compaction.js.map +1 -0
- package/dist/shared/mcp-servers.d.ts +37 -0
- package/dist/shared/mcp-servers.d.ts.map +1 -0
- package/dist/shared/mcp-servers.js +74 -0
- package/dist/shared/mcp-servers.js.map +1 -0
- package/dist/shared/native-error.d.ts +7 -0
- package/dist/shared/native-error.d.ts.map +1 -0
- package/dist/shared/native-error.js +20 -0
- package/dist/shared/native-error.js.map +1 -0
- package/dist/shared/orientation/budget.d.ts +12 -0
- package/dist/shared/orientation/budget.d.ts.map +1 -0
- package/dist/shared/orientation/budget.js +65 -0
- package/dist/shared/orientation/budget.js.map +1 -0
- package/dist/shared/orientation/customization.d.ts +9 -0
- package/dist/shared/orientation/customization.d.ts.map +1 -0
- package/dist/shared/orientation/customization.js +63 -0
- package/dist/shared/orientation/customization.js.map +1 -0
- package/dist/shared/orientation/index.d.ts +5 -0
- package/dist/shared/orientation/index.d.ts.map +1 -0
- package/dist/shared/orientation/index.js +97 -0
- package/dist/shared/orientation/index.js.map +1 -0
- package/dist/shared/orientation/slots.d.ts +6 -0
- package/dist/shared/orientation/slots.d.ts.map +1 -0
- package/dist/shared/orientation/slots.js +26 -0
- package/dist/shared/orientation/slots.js.map +1 -0
- package/dist/shared/owned-resource-store.d.ts +108 -0
- package/dist/shared/owned-resource-store.d.ts.map +1 -0
- package/dist/shared/owned-resource-store.js +794 -0
- package/dist/shared/owned-resource-store.js.map +1 -0
- package/dist/shared/owned-resource.d.ts +44 -0
- package/dist/shared/owned-resource.d.ts.map +1 -0
- package/dist/shared/owned-resource.js +74 -0
- package/dist/shared/owned-resource.js.map +1 -0
- package/dist/shared/private-temp.d.ts +10 -0
- package/dist/shared/private-temp.d.ts.map +1 -0
- package/dist/shared/private-temp.js +78 -0
- package/dist/shared/private-temp.js.map +1 -0
- package/dist/shared/process-pool.d.ts +37 -0
- package/dist/shared/process-pool.d.ts.map +1 -0
- package/dist/shared/process-pool.js +118 -0
- package/dist/shared/process-pool.js.map +1 -0
- package/dist/shared/process-session.d.ts +12 -0
- package/dist/shared/process-session.d.ts.map +1 -0
- package/dist/shared/process-session.js +102 -0
- package/dist/shared/process-session.js.map +1 -0
- package/dist/shared/record-retention.d.ts +10 -0
- package/dist/shared/record-retention.d.ts.map +1 -0
- package/dist/shared/record-retention.js +66 -0
- package/dist/shared/record-retention.js.map +1 -0
- package/dist/shared/redact-text.d.ts +3 -0
- package/dist/shared/redact-text.d.ts.map +1 -0
- package/dist/shared/redact-text.js +71 -0
- package/dist/shared/redact-text.js.map +1 -0
- package/dist/shared/refuse-environment.d.ts +4 -0
- package/dist/shared/refuse-environment.d.ts.map +1 -0
- package/dist/shared/refuse-environment.js +8 -0
- package/dist/shared/refuse-environment.js.map +1 -0
- package/dist/shared/same-directory.d.ts +3 -0
- package/dist/shared/same-directory.d.ts.map +1 -0
- package/dist/shared/same-directory.js +23 -0
- package/dist/shared/same-directory.js.map +1 -0
- package/dist/shared/seal-session.d.ts +19 -0
- package/dist/shared/seal-session.d.ts.map +1 -0
- package/dist/shared/seal-session.js +122 -0
- package/dist/shared/seal-session.js.map +1 -0
- package/dist/shared/semver.d.ts +10 -0
- package/dist/shared/semver.d.ts.map +1 -0
- package/dist/shared/semver.js +46 -0
- package/dist/shared/semver.js.map +1 -0
- package/dist/shared/session-credentials.d.ts +13 -0
- package/dist/shared/session-credentials.d.ts.map +1 -0
- package/dist/shared/session-credentials.js +67 -0
- package/dist/shared/session-credentials.js.map +1 -0
- package/dist/shared/session-kernel.d.ts +89 -0
- package/dist/shared/session-kernel.d.ts.map +1 -0
- package/dist/shared/session-kernel.js +184 -0
- package/dist/shared/session-kernel.js.map +1 -0
- package/dist/shared/session-links.d.ts +7 -0
- package/dist/shared/session-links.d.ts.map +1 -0
- package/dist/shared/session-links.js +13 -0
- package/dist/shared/session-links.js.map +1 -0
- package/dist/shared/session-open.d.ts +24 -0
- package/dist/shared/session-open.d.ts.map +1 -0
- package/dist/shared/session-open.js +272 -0
- package/dist/shared/session-open.js.map +1 -0
- package/dist/shared/session-options.d.ts +27 -0
- package/dist/shared/session-options.d.ts.map +1 -0
- package/dist/shared/session-options.js +96 -0
- package/dist/shared/session-options.js.map +1 -0
- package/dist/shared/shell-environment-capture.d.ts +8 -0
- package/dist/shared/shell-environment-capture.d.ts.map +1 -0
- package/dist/shared/shell-environment-capture.js +10 -0
- package/dist/shared/shell-environment-capture.js.map +1 -0
- package/dist/shared/shell-environment.d.ts +8 -0
- package/dist/shared/shell-environment.d.ts.map +1 -0
- package/dist/shared/shell-environment.js +183 -0
- package/dist/shared/shell-environment.js.map +1 -0
- package/dist/shared/stream-json/compaction.d.ts +14 -0
- package/dist/shared/stream-json/compaction.d.ts.map +1 -0
- package/dist/shared/stream-json/compaction.js +27 -0
- package/dist/shared/stream-json/compaction.js.map +1 -0
- package/dist/shared/stream-json/content.d.ts +28 -0
- package/dist/shared/stream-json/content.d.ts.map +1 -0
- package/dist/shared/stream-json/content.js +166 -0
- package/dist/shared/stream-json/content.js.map +1 -0
- package/dist/shared/stream-json/held-input.d.ts +22 -0
- package/dist/shared/stream-json/held-input.d.ts.map +1 -0
- package/dist/shared/stream-json/held-input.js +37 -0
- package/dist/shared/stream-json/held-input.js.map +1 -0
- package/dist/shared/stream-json/input-lifecycle.d.ts +24 -0
- package/dist/shared/stream-json/input-lifecycle.d.ts.map +1 -0
- package/dist/shared/stream-json/input-lifecycle.js +85 -0
- package/dist/shared/stream-json/input-lifecycle.js.map +1 -0
- package/dist/shared/stream-json/permission.d.ts +6 -0
- package/dist/shared/stream-json/permission.d.ts.map +1 -0
- package/dist/shared/stream-json/permission.js +12 -0
- package/dist/shared/stream-json/permission.js.map +1 -0
- package/dist/shared/stream-json/profile.d.ts +77 -0
- package/dist/shared/stream-json/profile.d.ts.map +1 -0
- package/dist/shared/stream-json/profile.js +2 -0
- package/dist/shared/stream-json/profile.js.map +1 -0
- package/dist/shared/stream-json/projection.d.ts +28 -0
- package/dist/shared/stream-json/projection.d.ts.map +1 -0
- package/dist/shared/stream-json/projection.js +151 -0
- package/dist/shared/stream-json/projection.js.map +1 -0
- package/dist/shared/stream-json/result-readback.d.ts +15 -0
- package/dist/shared/stream-json/result-readback.d.ts.map +1 -0
- package/dist/shared/stream-json/result-readback.js +74 -0
- package/dist/shared/stream-json/result-readback.js.map +1 -0
- package/dist/shared/stream-json/session.d.ts +9 -0
- package/dist/shared/stream-json/session.d.ts.map +1 -0
- package/dist/shared/stream-json/session.js +367 -0
- package/dist/shared/stream-json/session.js.map +1 -0
- package/dist/shared/stream-json/state.d.ts +37 -0
- package/dist/shared/stream-json/state.d.ts.map +1 -0
- package/dist/shared/stream-json/state.js +18 -0
- package/dist/shared/stream-json/state.js.map +1 -0
- package/dist/shared/stream-json/task-control.d.ts +11 -0
- package/dist/shared/stream-json/task-control.d.ts.map +1 -0
- package/dist/shared/stream-json/task-control.js +55 -0
- package/dist/shared/stream-json/task-control.js.map +1 -0
- package/dist/shared/token-redaction.d.ts +3 -0
- package/dist/shared/token-redaction.d.ts.map +1 -0
- package/dist/shared/token-redaction.js +10 -0
- package/dist/shared/token-redaction.js.map +1 -0
- package/dist/shared/token-totals.d.ts +33 -0
- package/dist/shared/token-totals.d.ts.map +1 -0
- package/dist/shared/token-totals.js +61 -0
- package/dist/shared/token-totals.js.map +1 -0
- package/dist/shared/tool-output.d.ts +17 -0
- package/dist/shared/tool-output.d.ts.map +1 -0
- package/dist/shared/tool-output.js +43 -0
- package/dist/shared/tool-output.js.map +1 -0
- package/dist/shared/update.d.ts +62 -0
- package/dist/shared/update.d.ts.map +1 -0
- package/dist/shared/update.js +144 -0
- package/dist/shared/update.js.map +1 -0
- package/dist/shared/usage-environment.d.ts +9 -0
- package/dist/shared/usage-environment.d.ts.map +1 -0
- package/dist/shared/usage-environment.js +26 -0
- package/dist/shared/usage-environment.js.map +1 -0
- package/dist/testing/index.d.ts +9 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +7 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/scripted-runtime.d.ts +72 -0
- package/dist/testing/scripted-runtime.d.ts.map +1 -0
- package/dist/testing/scripted-runtime.js +233 -0
- package/dist/testing/scripted-runtime.js.map +1 -0
- package/dist/testing/scripted-tasks.d.ts +29 -0
- package/dist/testing/scripted-tasks.d.ts.map +1 -0
- package/dist/testing/scripted-tasks.js +39 -0
- package/dist/testing/scripted-tasks.js.map +1 -0
- package/dist/voyage.d.ts +23 -0
- package/dist/voyage.d.ts.map +1 -0
- package/dist/voyage.js +51 -0
- package/dist/voyage.js.map +1 -0
- package/package.json +122 -3
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { asNumber, asRecord, asRecordList } from "../../shared/json.js";
|
|
2
|
+
import { failureFromStatus } from "../../shared/failure-class.js";
|
|
3
|
+
import { addTokens, noTokens } from "../../shared/token-totals.js";
|
|
4
|
+
import { toolContent } from "../../shared/tool-output.js";
|
|
5
|
+
import { dshGoal, dshGoalEvents } from "./goal.js";
|
|
6
|
+
import { dshJobEvents } from "./jobs.js";
|
|
7
|
+
const emptySession = { nextTurn: [], nextStep: [], turnOpen: false, tokens: noTokens, contextWindow: null };
|
|
8
|
+
export function initialDshProjection(rootId) {
|
|
9
|
+
return { rootId, sessions: {}, links: [] };
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The runtime's own machine-routing codes. Observed from a scripted provider:
|
|
13
|
+
* AUTH (401), RATE_LIMIT (429), SERVER (500), INVALID_REQUEST (400), UNKNOWN_MODEL,
|
|
14
|
+
* NO_ADAPTER and UNSUPPORTED_REASONING_EFFORT. The others are named constants in
|
|
15
|
+
* dsh-llm 0.2.1-rc.5 not yet seen on a wire. PI_AI_ERROR (a 402, for one) and
|
|
16
|
+
* UNKNOWN carry no class; the text is prose, never parsed.
|
|
17
|
+
*/
|
|
18
|
+
const FAILURE_CODES = new Map([
|
|
19
|
+
["AUTH", "auth"],
|
|
20
|
+
["INVALID_CREDENTIAL", "auth"],
|
|
21
|
+
["ACCOUNT_QUOTA", "quota"],
|
|
22
|
+
["QUOTA", "quota"],
|
|
23
|
+
["RATE_LIMIT", "rate_limited"],
|
|
24
|
+
["CONTEXT_WINDOW_EXCEEDED", "input_too_large"],
|
|
25
|
+
["UNKNOWN_MODEL", "model_unavailable"],
|
|
26
|
+
["NO_ADAPTER", "model_unavailable"],
|
|
27
|
+
["UNSUPPORTED_REASONING_EFFORT", "invalid_request"],
|
|
28
|
+
["INVALID_REQUEST", "invalid_request"],
|
|
29
|
+
["SERVER", "provider"],
|
|
30
|
+
]);
|
|
31
|
+
/** The class of a native `LlmFailure`: its code first, then the HTTP status where it carries one. */
|
|
32
|
+
export function dshFailureClass(failure) {
|
|
33
|
+
const code = typeof failure?.code === "string" ? FAILURE_CODES.get(failure.code) : undefined;
|
|
34
|
+
if (code !== undefined) {
|
|
35
|
+
return code;
|
|
36
|
+
}
|
|
37
|
+
const status = asNumber(failure?.status);
|
|
38
|
+
return status === null ? "unknown" : failureFromStatus(status);
|
|
39
|
+
}
|
|
40
|
+
/** A native turn end. Only `completed` and a cancellation are not failures; an unknown reason is reported, never assumed fine. */
|
|
41
|
+
export function dshTurnOutcome(reason) {
|
|
42
|
+
switch (reason?.kind) {
|
|
43
|
+
case "completed": return { kind: "completed" };
|
|
44
|
+
case "aborted": return { kind: "aborted" };
|
|
45
|
+
case "error": {
|
|
46
|
+
const failure = asRecord(reason.error);
|
|
47
|
+
const status = asNumber(failure?.status);
|
|
48
|
+
const message = typeof failure?.message === "string" ? failure.message : "DSH reported a failed turn";
|
|
49
|
+
return { kind: "failed", failure: dshFailureClass(failure), reason: message, ...(status === null ? {} : { status }) };
|
|
50
|
+
}
|
|
51
|
+
case "max-tokens": return { kind: "failed", failure: "limit_reached", reason: "DSH ended the turn at its output-token limit" };
|
|
52
|
+
case "blocked": return { kind: "failed", failure: "unknown", reason: "DSH reported the turn blocked" };
|
|
53
|
+
// Closes a log whose process died mid-turn; the loop never says it live.
|
|
54
|
+
case "interrupted": return { kind: "failed", failure: "runtime_exited", reason: "DSH closed a turn its earlier process never finished" };
|
|
55
|
+
default: return { kind: "failed", failure: "unknown", reason: `DSH ended the turn with ${JSON.stringify(reason?.kind ?? null)}` };
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
const inputIdOf = (message) => typeof message.id === "string" ? message.id : null;
|
|
59
|
+
function textOf(content) {
|
|
60
|
+
return asRecordList(content).flatMap((block) => block.type === "text" && typeof block.text === "string" ? [block.text] : []).join("");
|
|
61
|
+
}
|
|
62
|
+
/** One native report. `inputTokens` excludes the cache counts DSH reports beside it; `TokenTotals.input` includes them. */
|
|
63
|
+
function tokensOf(usage) {
|
|
64
|
+
const input = asNumber(usage?.inputTokens);
|
|
65
|
+
const output = asNumber(usage?.outputTokens);
|
|
66
|
+
if (input === null || output === null) {
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
const cacheRead = asNumber(usage?.cacheReadTokens);
|
|
70
|
+
const cacheWrite = asNumber(usage?.cacheWriteTokens);
|
|
71
|
+
const reasoning = asNumber(usage?.reasoningTokens);
|
|
72
|
+
return {
|
|
73
|
+
input: input + (cacheRead ?? 0) + (cacheWrite ?? 0), output,
|
|
74
|
+
...(reasoning === null ? {} : { reasoning }),
|
|
75
|
+
...(cacheRead === null ? {} : { cacheRead }),
|
|
76
|
+
...(cacheWrite === null ? {} : { cacheWrite }),
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
/** What an attempt that committed no message spent: the last usage chunk of its embedded stream. */
|
|
80
|
+
function attemptUsage(stream) {
|
|
81
|
+
const reports = asRecordList(stream).flatMap((entry) => {
|
|
82
|
+
const chunk = asRecord(entry.chunk);
|
|
83
|
+
return chunk?.type === "usage" ? [asRecord(chunk.usage)] : [];
|
|
84
|
+
});
|
|
85
|
+
return reports.at(-1) ?? null;
|
|
86
|
+
}
|
|
87
|
+
function spent(session, usage, committed) {
|
|
88
|
+
const report = tokensOf(usage);
|
|
89
|
+
if (report === null || (!committed && report.input === 0 && report.output === 0)) {
|
|
90
|
+
return { session, events: [] };
|
|
91
|
+
}
|
|
92
|
+
const tokens = addTokens(session.tokens, report);
|
|
93
|
+
// A call's own total is its context on the next request; a failed attempt adds nothing to the context.
|
|
94
|
+
const total = committed ? asNumber(usage?.totalTokens) : null;
|
|
95
|
+
const percent = total === null || session.contextWindow === null || session.contextWindow <= 0 ? null : Math.round((total / session.contextWindow) * 100);
|
|
96
|
+
return { session: { ...session, tokens }, events: [{ kind: "usage", usage: {
|
|
97
|
+
tokens,
|
|
98
|
+
...(total === null ? {} : { context: { tokens: total, contextWindow: session.contextWindow, percent } }),
|
|
99
|
+
} }] };
|
|
100
|
+
}
|
|
101
|
+
/** A native inbox splice. No outcome means the loop claimed the input; `canceled` means it was discarded. */
|
|
102
|
+
function spliced(session, data, cause) {
|
|
103
|
+
const target = data.target === "next-step" ? "nextStep" : "nextTurn";
|
|
104
|
+
const list = session[target];
|
|
105
|
+
const start = asNumber(data.start) ?? 0;
|
|
106
|
+
const removedCount = asNumber(data.removedCount) ?? 0;
|
|
107
|
+
const removed = list.slice(start, start + removedCount).flatMap((id) => id === null ? [] : [id]);
|
|
108
|
+
const inserted = asRecordList(data.inserted).map((message) => inputIdOf(message));
|
|
109
|
+
const next = { ...session, [target]: list.toSpliced(start, removedCount, ...inserted) };
|
|
110
|
+
if (data.outcome === "canceled") {
|
|
111
|
+
return { session: next, events: cause === "withdraw" ? [] : removed.map((inputId) => ({ kind: "input_dropped", inputId, reason: "turn_interrupted" })) };
|
|
112
|
+
}
|
|
113
|
+
// A prompt behind input a crashed process left waiting runs after it, so it is not yet started.
|
|
114
|
+
const behind = cause === "prompt" && target === "nextTurn" && list.length > 0
|
|
115
|
+
? inserted.flatMap((inputId) => inputId === null ? [] : [{ kind: "input_queued", inputId }]) : [];
|
|
116
|
+
return { session: next, events: target === "nextTurn" ? [...removed.map((inputId) => ({ kind: "turn_active", inputId })), ...behind] : [] };
|
|
117
|
+
}
|
|
118
|
+
function toolEnd(message) {
|
|
119
|
+
if (typeof message.toolCallId !== "string") {
|
|
120
|
+
return [];
|
|
121
|
+
}
|
|
122
|
+
const content = toolContent(message.content);
|
|
123
|
+
return [{ kind: "tool_call_ended", callId: message.toolCallId,
|
|
124
|
+
...(content === undefined ? {} : { content }),
|
|
125
|
+
...(typeof message.isError === "boolean" ? { result: message.isError ? "failed" : "ok" } : {}) }];
|
|
126
|
+
}
|
|
127
|
+
function sessionEvent(state, sessionId, session, event, cause) {
|
|
128
|
+
const data = asRecord(event.data) ?? {};
|
|
129
|
+
const unchanged = { session, links: state.links };
|
|
130
|
+
switch (event.type) {
|
|
131
|
+
case "goal/change":
|
|
132
|
+
return { ...unchanged, events: dshGoalEvents(data) };
|
|
133
|
+
case "job/registered":
|
|
134
|
+
case "job/settled":
|
|
135
|
+
return { ...unchanged, events: dshJobEvents(event.type, data, sessionId) };
|
|
136
|
+
case "agent/inbox/spliced":
|
|
137
|
+
return { ...spliced(session, data, cause), links: state.links };
|
|
138
|
+
case "turn/start":
|
|
139
|
+
// The claim that follows names the input when one is waiting.
|
|
140
|
+
return { session: { ...session, turnOpen: true }, links: state.links, events: session.nextTurn.length === 0 ? [{ kind: "turn_active" }] : [] };
|
|
141
|
+
case "turn/end":
|
|
142
|
+
return { session: { ...session, turnOpen: false }, links: state.links, events: [{ kind: "turn_ended", outcome: dshTurnOutcome(asRecord(data.reason)) }] };
|
|
143
|
+
case "user/message": {
|
|
144
|
+
const inputId = inputIdOf(data);
|
|
145
|
+
if (asRecord(data.source)?.kind !== "user") {
|
|
146
|
+
return { ...unchanged, events: [] };
|
|
147
|
+
}
|
|
148
|
+
return { ...unchanged, events: [{ kind: "user_message", input: textOf(data.content), ...(inputId === null ? {} : { inputId, nativeMessageId: inputId }), evidence: "turn_item" }] };
|
|
149
|
+
}
|
|
150
|
+
case "tool/call":
|
|
151
|
+
return { ...unchanged, events: typeof data.callId === "string" && typeof data.name === "string"
|
|
152
|
+
? [{ kind: "tool_call_started", callId: data.callId, tool: data.name, ...(typeof data.arguments === "string" ? { input: data.arguments } : {}) }] : [] };
|
|
153
|
+
case "tool/result":
|
|
154
|
+
return { ...unchanged, events: toolEnd(asRecord(data.message) ?? {}) };
|
|
155
|
+
case "assistant/message":
|
|
156
|
+
return { ...spent(session, asRecord(data.usage), true), links: state.links };
|
|
157
|
+
case "assistant/attempt":
|
|
158
|
+
return { ...spent(session, attemptUsage(data.stream), false), links: state.links };
|
|
159
|
+
case "request/context":
|
|
160
|
+
return { session: { ...session, contextWindow: asNumber(data.contextWindow) }, links: state.links, events: [] };
|
|
161
|
+
case "request/header": {
|
|
162
|
+
const config = asRecord(asRecord(data.header)?.config);
|
|
163
|
+
return { ...unchanged, events: [
|
|
164
|
+
...(typeof config?.provider === "string" && typeof config.model === "string" ? [{ kind: "model", model: `${config.provider}/${config.model}` }] : []),
|
|
165
|
+
...(typeof config?.reasoningEffort === "string" ? [{ kind: "effort", effort: config.reasoningEffort }] : []),
|
|
166
|
+
] };
|
|
167
|
+
}
|
|
168
|
+
case "subagent/catalog": {
|
|
169
|
+
if (typeof data.childId !== "string") {
|
|
170
|
+
return { ...unchanged, events: [] };
|
|
171
|
+
}
|
|
172
|
+
const link = `${sessionId} ${data.childId}`;
|
|
173
|
+
return state.links.includes(link) ? { ...unchanged, events: [] }
|
|
174
|
+
: { session, links: [...state.links, link], events: [{ kind: "session_linked", parent: sessionId, child: data.childId, via: "tool_call" }] };
|
|
175
|
+
}
|
|
176
|
+
case "compaction/start":
|
|
177
|
+
return { ...unchanged, events: [{ kind: "compaction_started", ...(typeof data.compactionId === "string" ? { compactionId: data.compactionId } : {}) }] };
|
|
178
|
+
case "compaction/end":
|
|
179
|
+
return { ...unchanged, events: [{ kind: "compaction_ended", ...(typeof data.compactionId === "string" ? { compactionId: data.compactionId } : {}),
|
|
180
|
+
...(typeof data.error === "string" ? { outcome: "failed", reason: data.error } : { outcome: "completed" }) }] };
|
|
181
|
+
default:
|
|
182
|
+
return { ...unchanged, events: [] };
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
/** Transient chunks only: the durable `assistant/message` repeats this text and adds no second copy. */
|
|
186
|
+
function streamEvents(frame) {
|
|
187
|
+
const chunk = asRecord(frame.chunk);
|
|
188
|
+
const messageId = typeof frame.attemptId === "string" ? { messageId: frame.attemptId } : {};
|
|
189
|
+
switch (chunk?.type) {
|
|
190
|
+
case "text-delta":
|
|
191
|
+
return typeof chunk.text === "string" ? [{ kind: "text_delta", text: chunk.text, ...messageId }] : [];
|
|
192
|
+
case "reasoning-delta":
|
|
193
|
+
return typeof chunk.text === "string" ? [{ kind: "reasoning", content: { kind: "text", text: chunk.text }, ...messageId }] : [];
|
|
194
|
+
case "tool-call-delta":
|
|
195
|
+
return typeof chunk.id === "string" && typeof chunk.argumentsDelta === "string" ? [{ kind: "tool_call_input_delta", callId: chunk.id, delta: chunk.argumentsDelta }] : [];
|
|
196
|
+
default:
|
|
197
|
+
return [];
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
function subagentEvents(channel, info) {
|
|
201
|
+
if (typeof info.runId !== "string") {
|
|
202
|
+
return [];
|
|
203
|
+
}
|
|
204
|
+
if (channel === "subagent/start") {
|
|
205
|
+
return [{ kind: "task_started", taskId: info.runId, taskType: "agent",
|
|
206
|
+
...(typeof info.provider === "string" ? { nativeType: info.provider } : {}),
|
|
207
|
+
...(typeof info.id === "string" ? { childSessionId: info.id } : {}) }];
|
|
208
|
+
}
|
|
209
|
+
// `error`, `max-tokens`, `refusal` and any later reason all mean the child did not finish its task.
|
|
210
|
+
const status = info.stopReason === "completed" ? "completed" : (info.stopReason === "aborted" ? "stopped" : "failed");
|
|
211
|
+
return [{ kind: "task_ended", taskId: info.runId, status }];
|
|
212
|
+
}
|
|
213
|
+
/** The native payload of a bridge line, unchanged, without its routing fields. */
|
|
214
|
+
function payloadOf(message) {
|
|
215
|
+
const { channel } = message;
|
|
216
|
+
if (channel === "session/event") {
|
|
217
|
+
return message.event;
|
|
218
|
+
}
|
|
219
|
+
if (channel === "agent/assistant-stream") {
|
|
220
|
+
return message.frame;
|
|
221
|
+
}
|
|
222
|
+
if (channel === "subagent/start" || channel === "subagent/end") {
|
|
223
|
+
return message.info;
|
|
224
|
+
}
|
|
225
|
+
const { type: _type, channel: _channel, sessionId: _sessionId, cause: _cause, ...rest } = message;
|
|
226
|
+
return rest;
|
|
227
|
+
}
|
|
228
|
+
/** Fold one line of the bridge into its frame. Pure: replay of the same lines gives the same records. */
|
|
229
|
+
export function foldDsh(state, message) {
|
|
230
|
+
if (message.type !== "native") {
|
|
231
|
+
return { state, frame: { body: { type: `dsh/${String(message.type)}`, native: message, events: [] } } };
|
|
232
|
+
}
|
|
233
|
+
const sessionId = typeof message.sessionId === "string" ? message.sessionId : state.rootId;
|
|
234
|
+
const at = sessionId === state.rootId ? {} : { sessionId };
|
|
235
|
+
// Native ids are data: only a session this fold recorded counts, never an inherited property.
|
|
236
|
+
const session = (Object.hasOwn(state.sessions, sessionId) ? state.sessions[sessionId] : undefined) ?? emptySession;
|
|
237
|
+
const native = payloadOf(message);
|
|
238
|
+
if (message.channel === "session/event") {
|
|
239
|
+
const event = asRecord(native) ?? {};
|
|
240
|
+
const next = sessionEvent(state, sessionId, session, event, message.cause);
|
|
241
|
+
return {
|
|
242
|
+
state: { ...state, links: next.links, sessions: { ...state.sessions, [sessionId]: next.session } },
|
|
243
|
+
frame: { ...at, body: { type: `session/event:${String(event.type)}`, native, events: next.events } },
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
if (message.channel === "session/requestContext") {
|
|
247
|
+
const restored = { ...session, contextWindow: asNumber(message.contextWindow) };
|
|
248
|
+
return { state: { ...state, sessions: { ...state.sessions, [sessionId]: restored } },
|
|
249
|
+
frame: { ...at, body: { type: message.channel, native, events: [] } } };
|
|
250
|
+
}
|
|
251
|
+
if (message.channel === "goal/read") {
|
|
252
|
+
const goal = dshGoal(asRecord(native)?.goal);
|
|
253
|
+
return { state, frame: { ...at, body: { type: "goal/read", native, events: goal === undefined ? [] : [{ kind: "goal_changed", goal }] } } };
|
|
254
|
+
}
|
|
255
|
+
const events = message.channel === "agent/assistant-stream" ? streamEvents(asRecord(native) ?? {})
|
|
256
|
+
: (message.channel === "subagent/start" || message.channel === "subagent/end" ? subagentEvents(message.channel, asRecord(native) ?? {}) : []);
|
|
257
|
+
return { state, frame: { ...at, body: { type: String(message.channel), native, events } } };
|
|
258
|
+
}
|
|
259
|
+
/** The frame that says what a native open returned; alpha releases report a model selection already. */
|
|
260
|
+
export function dshOpenedFrame(result) {
|
|
261
|
+
const model = asRecord(result.model);
|
|
262
|
+
return { type: "dsh/opened", native: result, events: [
|
|
263
|
+
...(typeof model?.provider === "string" && typeof model.model === "string" ? [{ kind: "model", model: `${model.provider}/${model.model}` }] : []),
|
|
264
|
+
...(typeof model?.reasoningEffort === "string" ? [{ kind: "effort", effort: model.reasoningEffort }] : []),
|
|
265
|
+
] };
|
|
266
|
+
}
|
|
267
|
+
//# sourceMappingURL=projection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projection.js","sources":["../../../src/runtimes/dsh/projection.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAmB,MAAM,sBAAsB,CAAC;AACzF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAA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sh/session.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAyC,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAkMtG,kFAAkF;AAClF,eAAO,MAAM,UAAU,EAAE,YAevB,CAAC"}
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
/* oxlint-disable import/max-dependencies -- Native launch, controls, projection and the credential boundary meet here. */
|
|
2
|
+
/* oxlint-disable eslint/require-await -- Session controls return kernel promises directly. */
|
|
3
|
+
import { resolvedAdditionalDirectories } from "../../shared/additional-directories.js";
|
|
4
|
+
import { readExecutableVersion } from "../../shared/executable/index.js";
|
|
5
|
+
import { dshVersionRefusal } from "./version.js";
|
|
6
|
+
import { randomUUID } from "node:crypto";
|
|
7
|
+
import { UnsupportedOptionError } from "../../contracts/errors.js";
|
|
8
|
+
import { ResumeCwdError } from "../../contracts/resume-cwd-error.js";
|
|
9
|
+
import { RuntimeFailureError } from "../../contracts/runtime-failure-error.js";
|
|
10
|
+
import { ModelConfirmationError } from "../../contracts/model-confirmation-error.js";
|
|
11
|
+
import { SessionNotFoundError } from "../../contracts/session-not-found-error.js";
|
|
12
|
+
import { createAbortFallback } from "../../shared/abort-fallback.js";
|
|
13
|
+
import { appendCleanupFailure, cleanupFailureReason } from "../../shared/executable/process-cleanup.js";
|
|
14
|
+
import { withInputImages } from "../../shared/input-images.js";
|
|
15
|
+
import { asRecord } from "../../shared/json.js";
|
|
16
|
+
import { sameDirectory } from "../../shared/same-directory.js";
|
|
17
|
+
import { checkSessionName, refuseSessionOptions } from "../../shared/session-options.js";
|
|
18
|
+
import { withSessionCredentials } from "../../shared/session-credentials.js";
|
|
19
|
+
import { dshCompaction } from "./compaction.js";
|
|
20
|
+
import { DshCommandError, dshControl } from "./control.js";
|
|
21
|
+
import { dshEnvironment, launchDsh } from "./launch.js";
|
|
22
|
+
import { isBackgroundShellJob } from "./jobs.js";
|
|
23
|
+
import { dshGoalControl } from "./goal.js";
|
|
24
|
+
import { dshMcpRows } from "./mcp.js";
|
|
25
|
+
import { dshAgentOptions, dshDirectoryRefusal, dshRefusedSessionOptions } from "./options.js";
|
|
26
|
+
import { dshOpenedFrame, foldDsh, initialDshProjection } from "./projection.js";
|
|
27
|
+
const OPEN_TIMEOUT_MS = 60_000;
|
|
28
|
+
const DISPOSE_TIMEOUT_MS = 8000;
|
|
29
|
+
/** Typed opening refusals from native evidence; anything else keeps its own message and native error as cause. */
|
|
30
|
+
function openFailure(error, sessionId, resuming) {
|
|
31
|
+
if (!(error instanceof DshCommandError)) {
|
|
32
|
+
return error;
|
|
33
|
+
}
|
|
34
|
+
if (error.native.name === "SessionPersistenceNotFoundError") {
|
|
35
|
+
return new SessionNotFoundError(sessionId, `DSH has no saved session ${sessionId}`, { method: "sessionPersistence.open", native: error.native });
|
|
36
|
+
}
|
|
37
|
+
if ((error.code === "native_method_unavailable" || error.code === "option_not_applied") && (error.capability === "name" || error.capability === "disallowedTools" || error.capability === "additionalDirectories")) {
|
|
38
|
+
return new UnsupportedOptionError(error.capability, error.message);
|
|
39
|
+
}
|
|
40
|
+
if (error.code === "prompt_not_applied" && (error.capability === "systemPrompt" || error.capability === "appendSystemPrompt")) {
|
|
41
|
+
return new UnsupportedOptionError(error.capability, error.message);
|
|
42
|
+
}
|
|
43
|
+
if (error.code === "native_method_unavailable") {
|
|
44
|
+
if (error.capability === "confirming a reasoning effort") {
|
|
45
|
+
return new UnsupportedOptionError("effort", error.message);
|
|
46
|
+
}
|
|
47
|
+
if (error.capability === "systemPrompt" || error.capability === "appendSystemPrompt") {
|
|
48
|
+
return new UnsupportedOptionError(error.capability, error.message);
|
|
49
|
+
}
|
|
50
|
+
if (error.capability === "session MCP") {
|
|
51
|
+
return new UnsupportedOptionError("mcpServers", error.message);
|
|
52
|
+
}
|
|
53
|
+
if (error.capability === "goals") {
|
|
54
|
+
return new UnsupportedOptionError(error.capability, error.message);
|
|
55
|
+
}
|
|
56
|
+
if (error.capability === "confirming a model") {
|
|
57
|
+
return new UnsupportedOptionError("model", error.message);
|
|
58
|
+
}
|
|
59
|
+
return resuming ? new UnsupportedOptionError("resume", error.message) : new RuntimeFailureError("invalid_request", error.message, { cause: error });
|
|
60
|
+
}
|
|
61
|
+
if (error.code === "UNSUPPORTED_REASONING_EFFORT") {
|
|
62
|
+
return new UnsupportedOptionError("effort", error.message);
|
|
63
|
+
}
|
|
64
|
+
if (error.code === "UNKNOWN_MODEL" || error.code === "NO_ADAPTER") {
|
|
65
|
+
return new RuntimeFailureError("model_unavailable", error.message, { cause: error });
|
|
66
|
+
}
|
|
67
|
+
return error;
|
|
68
|
+
}
|
|
69
|
+
/** Where the runtime already reports its selection, a request it did not take is refused rather than run on another route. */
|
|
70
|
+
function refuseUnappliedRoute(opened, requested, requestedModel) {
|
|
71
|
+
const reported = asRecord(opened.model);
|
|
72
|
+
if (reported === null) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
if (requestedModel !== undefined && requested.provider !== undefined && (reported.provider !== requested.provider || reported.model !== requested.model)) {
|
|
76
|
+
throw new ModelConfirmationError(`DSH did not apply model ${requested.provider}/${String(requested.model)}: it reports ${String(reported.provider)}/${String(reported.model)}`, {
|
|
77
|
+
requested: requestedModel,
|
|
78
|
+
reported: typeof reported.provider === "string" && typeof reported.model === "string" ? `${reported.provider}/${reported.model}` : null,
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
if (requested.reasoningEffort !== undefined && reported.reasoningEffort !== requested.reasoningEffort) {
|
|
82
|
+
throw new UnsupportedOptionError("effort", `DSH did not apply effort ${requested.reasoningEffort}: it reports ${String(reported.reasoningEffort)}`);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
/** Native resume has no cwd override: the session runs where it was saved, whatever process cwd it resumes from. */
|
|
86
|
+
async function savedRoute(control, sessionId, cwd) {
|
|
87
|
+
const saved = await control.request("peek", { sessionId }, OPEN_TIMEOUT_MS);
|
|
88
|
+
const savedCwd = asRecord(saved.header)?.cwd;
|
|
89
|
+
if (typeof savedCwd !== "string") {
|
|
90
|
+
throw new UnsupportedOptionError("resume", `DSH's saved session ${sessionId} names no working directory to compare`);
|
|
91
|
+
}
|
|
92
|
+
if (!sameDirectory(savedCwd, cwd)) {
|
|
93
|
+
throw new ResumeCwdError(`session ${sessionId} lives in ${savedCwd} and DSH resumes it only there; the resume names ${cwd}`, {
|
|
94
|
+
sessionId, requestedCwd: cwd, reason: "other_cwd", savedCwd,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
return asRecord(saved.route) ?? undefined;
|
|
98
|
+
}
|
|
99
|
+
function refusalOf(error) {
|
|
100
|
+
if (!(error instanceof DshCommandError)) {
|
|
101
|
+
return { kind: "rejected", code: "error", reason: error instanceof Error ? error.message : String(error) };
|
|
102
|
+
}
|
|
103
|
+
if (error.code === "busy") {
|
|
104
|
+
return { kind: "rejected", code: "busy", reason: "busy" };
|
|
105
|
+
}
|
|
106
|
+
if (error.code === "no_active_turn") {
|
|
107
|
+
return { kind: "rejected", code: "no_active_turn", reason: "no active turn" };
|
|
108
|
+
}
|
|
109
|
+
if (error.code === "native_method_unavailable" || error.code === "unsupported_task" || error.code === "image_unsupported") {
|
|
110
|
+
return { kind: "rejected", code: "unsupported", reason: error.message, native: error.native };
|
|
111
|
+
}
|
|
112
|
+
return { kind: "rejected", code: "runtime_refused", reason: error.message, native: error.native };
|
|
113
|
+
}
|
|
114
|
+
const inputFields = (text, inputId, images) => ({
|
|
115
|
+
text, ...(inputId === undefined ? {} : { inputId }),
|
|
116
|
+
...(images.length === 0 ? {} : { images: images.map(({ data, mediaType }) => ({ data, mediaType })) }),
|
|
117
|
+
});
|
|
118
|
+
async function open(command, options, env, credentials, mcpRows) {
|
|
119
|
+
const sessionId = options.resume ?? randomUUID();
|
|
120
|
+
const agentOptions = dshAgentOptions(options);
|
|
121
|
+
const kernel = credentials.kernel(sessionId);
|
|
122
|
+
let projection = initialDshProjection(sessionId);
|
|
123
|
+
const { child, directory } = await launchDsh(command, options.cwd, env, mcpRows);
|
|
124
|
+
const fallback = createAbortFallback(() => { child.kill(); });
|
|
125
|
+
const control = dshControl(child, (message) => {
|
|
126
|
+
const { state, frame } = foldDsh(projection, message);
|
|
127
|
+
projection = state;
|
|
128
|
+
kernel.frame(frame.body, frame.sessionId === undefined ? undefined : { sessionId: frame.sessionId });
|
|
129
|
+
if (frame.sessionId === undefined && frame.body.events.some((event) => event.kind === "turn_ended")) {
|
|
130
|
+
fallback.clear();
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
child.onExit((code, reason) => {
|
|
134
|
+
fallback.clear();
|
|
135
|
+
kernel.processExited(code, reason);
|
|
136
|
+
});
|
|
137
|
+
const fields = { sessionId, agentOptions: { ...agentOptions },
|
|
138
|
+
...(options.additionalDirectories === undefined ? {} : { additionalDirectories: options.additionalDirectories }),
|
|
139
|
+
...(options.disallowedTools === undefined ? {} : { disallowedTools: options.disallowedTools }),
|
|
140
|
+
...(options.systemPrompt === undefined ? {} : { systemPrompt: options.systemPrompt }),
|
|
141
|
+
...(options.appendSystemPrompt === undefined ? {} : { appendSystemPrompt: options.appendSystemPrompt }),
|
|
142
|
+
};
|
|
143
|
+
let opened = {};
|
|
144
|
+
try {
|
|
145
|
+
await control.ready;
|
|
146
|
+
if (options.goals === true) {
|
|
147
|
+
await control.request("goalConfirm");
|
|
148
|
+
}
|
|
149
|
+
if (options.resume === undefined) {
|
|
150
|
+
opened = await control.request("open", { ...fields, cwd: options.cwd }, OPEN_TIMEOUT_MS);
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
const route = await savedRoute(control, sessionId, options.cwd);
|
|
154
|
+
opened = await control.request("resume", { ...fields, ...(route === undefined ? {} : { route }) }, OPEN_TIMEOUT_MS);
|
|
155
|
+
}
|
|
156
|
+
refuseUnappliedRoute(opened, agentOptions, options.model);
|
|
157
|
+
if (opened.sessionId !== sessionId) {
|
|
158
|
+
throw new Error(`DSH opened ${String(opened.sessionId)}, not ${sessionId}`);
|
|
159
|
+
}
|
|
160
|
+
if (options.name !== undefined) {
|
|
161
|
+
await control.request("name", { sessionId, name: options.name, resuming: options.resume !== undefined }, OPEN_TIMEOUT_MS);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
catch (error) {
|
|
165
|
+
child.kill();
|
|
166
|
+
await child.exited;
|
|
167
|
+
throw appendCleanupFailure(openFailure(error, sessionId, options.resume !== undefined), cleanupFailureReason(child.diagnostics().cleanup));
|
|
168
|
+
}
|
|
169
|
+
kernel.frame(dshOpenedFrame(opened));
|
|
170
|
+
const capabilities = { queue: { durable: false }, attribution: "nested", images: Array.isArray(opened.imageTypes) && opened.imageTypes.length > 0 };
|
|
171
|
+
const methods = asRecord(opened.methods) ?? {};
|
|
172
|
+
const inboxMethods = asRecord(opened.inboxMethods) ?? {};
|
|
173
|
+
const jobMethods = asRecord(opened.jobMethods);
|
|
174
|
+
const send = async (method, payload) => {
|
|
175
|
+
try {
|
|
176
|
+
return { kind: "accepted", native: await control.request(method, { sessionId, ...payload }) };
|
|
177
|
+
}
|
|
178
|
+
catch (error) {
|
|
179
|
+
return refusalOf(error);
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
const active = () => projection.sessions[sessionId]?.turnOpen === true;
|
|
183
|
+
const compaction = opened.compact === true ? dshCompaction(kernel, control, () => active() || (projection.sessions[sessionId]?.nextTurn.length ?? 0) > 0) : undefined;
|
|
184
|
+
const compactBusy = { kind: "rejected", code: "busy", reason: "DSH is compacting this session" };
|
|
185
|
+
return credentials.seal({
|
|
186
|
+
id: sessionId, capabilities, resources: child.resources,
|
|
187
|
+
...(compaction === undefined ? {} : { compact: compaction.compact }),
|
|
188
|
+
...(options.goals === true ? { goal: dshGoalControl(kernel, control, sessionId, refusalOf) } : {}),
|
|
189
|
+
prompt: async (text, inputOptions) => kernel.control({ kind: "prompt", input: text, ...inputOptions }, async () => {
|
|
190
|
+
if (compaction?.busy() === true) {
|
|
191
|
+
return compactBusy;
|
|
192
|
+
}
|
|
193
|
+
if (active()) {
|
|
194
|
+
return { kind: "rejected", code: "busy", reason: "busy" };
|
|
195
|
+
}
|
|
196
|
+
return withInputImages(capabilities, inputOptions?.images, async (images) => send("prompt", inputFields(text, inputOptions?.inputId, images)));
|
|
197
|
+
}),
|
|
198
|
+
// A control the runtime cannot do is an absent member; `dsh/opened` keeps the inventory that says why.
|
|
199
|
+
...(methods.steer === true ? {
|
|
200
|
+
steer: async (text, inputOptions) => kernel.control({ kind: "steer", input: text, ...inputOptions }, async () => compaction?.busy() === true ? compactBusy : withInputImages(capabilities, inputOptions?.images, async (images) => send("steer", inputFields(text, inputOptions?.inputId, images)))),
|
|
201
|
+
} : {}),
|
|
202
|
+
queue: async (text, inputOptions) => kernel.control({ kind: "queue", input: text, ...inputOptions }, async () => compaction?.busy() === true ? compactBusy : withInputImages(capabilities, inputOptions?.images, async (images) => send("queue", inputFields(text, inputOptions?.inputId, images)))),
|
|
203
|
+
...(inboxMethods.remove === true ? {
|
|
204
|
+
withdraw: async (inputId) => kernel.control({ kind: "withdraw", inputId }, async () => {
|
|
205
|
+
const answer = await send("withdraw", { messageId: inputId });
|
|
206
|
+
return answer.kind === "accepted" && asRecord(answer.native)?.removed === false
|
|
207
|
+
? { kind: "rejected", code: "not_queued", reason: "no held input with this inputId is waiting" } : answer;
|
|
208
|
+
}),
|
|
209
|
+
} : {}),
|
|
210
|
+
...(jobMethods?.get === true && jobMethods.kill === true && jobMethods.wait === true ? {
|
|
211
|
+
stopTask: async (taskId) => kernel.control({ kind: "stop_task", taskId }, async () => isBackgroundShellJob(kernel.records(), sessionId, taskId) ? send("stopTask", { taskId })
|
|
212
|
+
: { kind: "rejected", code: "unsupported", reason: "DSH stops only this session's explicitly backgrounded shell jobs" }),
|
|
213
|
+
} : {}),
|
|
214
|
+
abort: async () => kernel.control({ kind: "abort" }, async () => {
|
|
215
|
+
if (compaction?.busy() === true) {
|
|
216
|
+
return compaction.admitted() ? send("cancelCompaction", {}) : compactBusy;
|
|
217
|
+
}
|
|
218
|
+
const disarm = fallback.arm();
|
|
219
|
+
const answer = await send("cancel", {});
|
|
220
|
+
if (answer.kind !== "accepted") {
|
|
221
|
+
disarm();
|
|
222
|
+
}
|
|
223
|
+
return answer;
|
|
224
|
+
}),
|
|
225
|
+
rawEvents: (observer, cursor) => kernel.rawEvents(observer, cursor),
|
|
226
|
+
records: () => kernel.records(), graph: () => kernel.graph(),
|
|
227
|
+
dispose: async () => {
|
|
228
|
+
await kernel.dispose(async () => {
|
|
229
|
+
// Native disposal records its own turn end and flushes the log; the
|
|
230
|
+
// process owner then bounds shutdown and removes anything left.
|
|
231
|
+
try {
|
|
232
|
+
await control.request("dispose", {}, DISPOSE_TIMEOUT_MS);
|
|
233
|
+
}
|
|
234
|
+
catch (error) {
|
|
235
|
+
kernel.frame({ type: "dsh/dispose-failed", native: error instanceof DshCommandError ? error.native : { message: String(error) }, events: [] });
|
|
236
|
+
}
|
|
237
|
+
child.kill();
|
|
238
|
+
await child.exited;
|
|
239
|
+
directory.remove();
|
|
240
|
+
}, () => { directory.remove(); });
|
|
241
|
+
},
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
/** One owned DSH process per session, reached through a private bridge plugin. */
|
|
245
|
+
export const dshSession = withSessionCredentials(async (installation, options, credentials) => {
|
|
246
|
+
refuseSessionOptions(dshRefusedSessionOptions, options);
|
|
247
|
+
checkSessionName(options);
|
|
248
|
+
// Checked before spawning anything: both refusals name what they refuse.
|
|
249
|
+
dshAgentOptions(options);
|
|
250
|
+
const mcpRows = dshMcpRows(options.mcpServers, options.cwd);
|
|
251
|
+
if (installation.via !== "executable") {
|
|
252
|
+
throw new Error("DSH requires its executable installation");
|
|
253
|
+
}
|
|
254
|
+
const env = dshEnvironment(options.env);
|
|
255
|
+
// A floor refusal names the real version, before anything starts.
|
|
256
|
+
const version = installation.version ?? await readExecutableVersion(installation.command, 15_000, undefined, env);
|
|
257
|
+
const refusal = dshVersionRefusal(version);
|
|
258
|
+
if (refusal !== null) {
|
|
259
|
+
throw new RuntimeFailureError("invalid_request", refusal);
|
|
260
|
+
}
|
|
261
|
+
refuseSessionOptions(dshDirectoryRefusal(version), options);
|
|
262
|
+
const directories = resolvedAdditionalDirectories(options);
|
|
263
|
+
return open(installation.command, directories.length === 0 ? options : { ...options, additionalDirectories: directories }, env, credentials, mcpRows);
|
|
264
|
+
});
|
|
265
|
+
//# sourceMappingURL=session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.js","sources":["../../../src/runtimes/dsh/session.ts"],"names":[],"mappings":"AAAA,0HAA0H;AAC1H,8FAA8F;AAC9F,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAElF,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AACxG,OAAO,EAAE,eAAe,EAAoB,MAAM,8BAA8B,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAmB,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACzF,OAAO,EAAE,sBAAsB,EAA2B,MAAM,qCAAqC,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E,WAAW,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,EAAE,qBAAqB,EAAE,WAAW,EAAE,EAAE,GAAG,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;AACxJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { InventoryReader, SkillEntry } from "../../contracts/inventory.js";
|
|
2
|
+
/** The native global catalog for this cwd/profile, without creating an agent or invoking a skill. */
|
|
3
|
+
export declare const dshSkills: InventoryReader<SkillEntry>;
|
|
4
|
+
//# sourceMappingURL=skills.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skills.d.ts","sources":["../../../src/runtimes/dsh/skills.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAoBhF,qGAAqG;AACrG,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,UAAU,CA4BjD,CAAC"}
|