@saltpub/oar 0.0.0-stage → 0.121.1
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 +288 -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 +134 -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-error.d.ts +6 -0
- package/dist/shared/executable/process-table-error.d.ts.map +1 -0
- package/dist/shared/executable/process-table-error.js +10 -0
- package/dist/shared/executable/process-table-error.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-table-windows.d.ts +19 -0
- package/dist/shared/executable/process-table-windows.d.ts.map +1 -0
- package/dist/shared/executable/process-table-windows.js +57 -0
- package/dist/shared/executable/process-table-windows.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 +72 -0
- package/dist/shared/executable/process-tree.d.ts.map +1 -0
- package/dist/shared/executable/process-tree.js +249 -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,794 @@
|
|
|
1
|
+
/* oxlint-disable eslint/max-lines, eslint/max-classes-per-file, import/max-dependencies -- The lease class and the store class are two faces of one durable manifest lifecycle; splitting them would duplicate the manifest schema and its parse validation. */
|
|
2
|
+
import { createHash, randomUUID } from "node:crypto";
|
|
3
|
+
import { closeSync, existsSync, fsyncSync, mkdirSync, openSync, readdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
4
|
+
import { homedir } from "node:os";
|
|
5
|
+
import { dirname, join } from "node:path";
|
|
6
|
+
import { DEFAULT_STOP_GRACE_MS } from "../contracts/cleanup.js";
|
|
7
|
+
import { asRecord } from "./json.js";
|
|
8
|
+
import { descendantsOf, observeProcessTable, signalEntries } from "./executable/process-tree.js";
|
|
9
|
+
import { ownedResourceId } from "./owned-resource.js";
|
|
10
|
+
const SCHEMA = 1;
|
|
11
|
+
const STOP_GRACE_MS = DEFAULT_STOP_GRACE_MS;
|
|
12
|
+
const POLL_MS = 25;
|
|
13
|
+
/** Registration-time identity capture may reuse a process table this store read moments ago. */
|
|
14
|
+
const REGISTRATION_OBSERVATION_REUSE_MS = 2000;
|
|
15
|
+
const ROOT_EXIT_UNKNOWN = "The registered root exited while unattributed new processes appeared; late descendants cannot be excluded, so owned-tree exit is unknown";
|
|
16
|
+
// Legacy: no longer produced since POSIX attribution narrowed to durable-registered identities; retained so receipts persisted by older versions stay retryable.
|
|
17
|
+
const ROOTLESS_EXIT_UNKNOWN = "The registered root was already absent; late descendants cannot be excluded, so owned-tree exit is unknown";
|
|
18
|
+
function digest(value) {
|
|
19
|
+
return createHash("sha256").update(value).digest("hex");
|
|
20
|
+
}
|
|
21
|
+
function canonical(value) {
|
|
22
|
+
if (Array.isArray(value)) {
|
|
23
|
+
return `[${value.map((entry) => canonical(entry)).join(",")}]`;
|
|
24
|
+
}
|
|
25
|
+
const record = asRecord(value);
|
|
26
|
+
if (record !== null) {
|
|
27
|
+
return `{${Object.keys(record).toSorted().map(key => `${JSON.stringify(key)}:${canonical(record[key])}`).join(",")}}`;
|
|
28
|
+
}
|
|
29
|
+
// oxlint-disable-next-line typescript/no-unnecessary-condition -- JSON.stringify returns undefined for undefined/functions at runtime although typed as string.
|
|
30
|
+
return JSON.stringify(value) ?? "null";
|
|
31
|
+
}
|
|
32
|
+
/** A non-secret fingerprint: environment values affect the hash but are never persisted. */
|
|
33
|
+
export function ownedResourceLaunchIdentity(installation) {
|
|
34
|
+
return digest(canonical(installation));
|
|
35
|
+
}
|
|
36
|
+
function validIdentity(value, name) {
|
|
37
|
+
if (value.length === 0 || value.length > 512 || value.trim() !== value || value.includes("\0")) {
|
|
38
|
+
throw new TypeError(`${name} must be a non-blank, bounded identity without NUL`);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
function defaultRoot() {
|
|
42
|
+
const configured = process.env.OAR_OWNED_RESOURCE_DIR?.trim();
|
|
43
|
+
return configured === undefined || configured.length === 0
|
|
44
|
+
? join(homedir(), ".oar", "owned-resources")
|
|
45
|
+
: configured;
|
|
46
|
+
}
|
|
47
|
+
function syncDirectory(path) {
|
|
48
|
+
let descriptor = undefined;
|
|
49
|
+
try {
|
|
50
|
+
descriptor = openSync(path, "r");
|
|
51
|
+
fsyncSync(descriptor);
|
|
52
|
+
}
|
|
53
|
+
catch {
|
|
54
|
+
// Windows and some filesystems cannot fsync directories. The file itself
|
|
55
|
+
// was fsynced and atomically renamed; never turn that into a false write.
|
|
56
|
+
}
|
|
57
|
+
finally {
|
|
58
|
+
if (descriptor !== undefined) {
|
|
59
|
+
closeSync(descriptor);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function writeAtomic(path, value, beforeWrite) {
|
|
64
|
+
const directory = dirname(path);
|
|
65
|
+
mkdirSync(directory, { recursive: true, mode: 0o700 });
|
|
66
|
+
beforeWrite?.(path);
|
|
67
|
+
const temporary = `${path}.${String(process.pid)}.${randomUUID()}.tmp`;
|
|
68
|
+
let descriptor = undefined;
|
|
69
|
+
try {
|
|
70
|
+
descriptor = openSync(temporary, "wx", 0o600);
|
|
71
|
+
writeFileSync(descriptor, `${JSON.stringify(value)}\n`, "utf8");
|
|
72
|
+
fsyncSync(descriptor);
|
|
73
|
+
closeSync(descriptor);
|
|
74
|
+
descriptor = undefined;
|
|
75
|
+
renameSync(temporary, path);
|
|
76
|
+
syncDirectory(directory);
|
|
77
|
+
}
|
|
78
|
+
finally {
|
|
79
|
+
if (descriptor !== undefined) {
|
|
80
|
+
closeSync(descriptor);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function createManifest(path, value, beforeWrite) {
|
|
85
|
+
const directory = dirname(path);
|
|
86
|
+
mkdirSync(directory, { recursive: true, mode: 0o700 });
|
|
87
|
+
beforeWrite?.(path);
|
|
88
|
+
const descriptor = openSync(path, "wx", 0o600);
|
|
89
|
+
try {
|
|
90
|
+
writeFileSync(descriptor, `${JSON.stringify(value)}\n`, "utf8");
|
|
91
|
+
fsyncSync(descriptor);
|
|
92
|
+
}
|
|
93
|
+
finally {
|
|
94
|
+
closeSync(descriptor);
|
|
95
|
+
}
|
|
96
|
+
syncDirectory(directory);
|
|
97
|
+
}
|
|
98
|
+
function isPlacement(value) {
|
|
99
|
+
return value === "isolated" || value === "shared" || value === "in_process";
|
|
100
|
+
}
|
|
101
|
+
function isState(value) {
|
|
102
|
+
return value === "allocating" || value === "registered" || value === "exited" || value === "no_resource_created" || value === "cleanup_failed";
|
|
103
|
+
}
|
|
104
|
+
function isProcessEntry(value) {
|
|
105
|
+
const entry = asRecord(value);
|
|
106
|
+
return entry !== null && typeof entry.pid === "number" && Number.isSafeInteger(entry.pid) && entry.pid > 0
|
|
107
|
+
&& Number.isSafeInteger(entry.ppid) && Number.isSafeInteger(entry.pgid)
|
|
108
|
+
&& typeof entry.start === "string" && entry.start.length > 0;
|
|
109
|
+
}
|
|
110
|
+
function parseManifest(value) {
|
|
111
|
+
const record = asRecord(value);
|
|
112
|
+
if (record === null || record.version !== SCHEMA || !isState(record.state)
|
|
113
|
+
|| typeof record.runtimeId !== "string" || typeof record.ownerId !== "string" || typeof record.leaseId !== "string"
|
|
114
|
+
|| typeof record.launchIdentity !== "string" || typeof record.createdAt !== "string" || typeof record.updatedAt !== "string") {
|
|
115
|
+
return null;
|
|
116
|
+
}
|
|
117
|
+
if (record.resourceId !== undefined && typeof record.resourceId !== "string") {
|
|
118
|
+
return null;
|
|
119
|
+
}
|
|
120
|
+
if (record.nativeId !== undefined && typeof record.nativeId !== "string") {
|
|
121
|
+
return null;
|
|
122
|
+
}
|
|
123
|
+
if (record.intent !== undefined) {
|
|
124
|
+
const intent = asRecord(record.intent);
|
|
125
|
+
if (intent === null || intent.kind !== "side_question" || typeof intent.operationId !== "string"
|
|
126
|
+
|| (intent.nativeId !== undefined && typeof intent.nativeId !== "string") || typeof intent.sourceNativeId !== "string") {
|
|
127
|
+
return null;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
if (record.placement !== undefined && !isPlacement(record.placement)) {
|
|
131
|
+
return null;
|
|
132
|
+
}
|
|
133
|
+
if (record.pid !== undefined && (typeof record.pid !== "number" || !Number.isSafeInteger(record.pid) || record.pid <= 0)) {
|
|
134
|
+
return null;
|
|
135
|
+
}
|
|
136
|
+
if (record.processStart !== undefined && typeof record.processStart !== "string") {
|
|
137
|
+
return null;
|
|
138
|
+
}
|
|
139
|
+
if (record.processSource !== undefined && record.processSource !== "procfs" && record.processSource !== "ps" && record.processSource !== "windows") {
|
|
140
|
+
return null;
|
|
141
|
+
}
|
|
142
|
+
if (record.processes !== undefined && (!Array.isArray(record.processes) || !record.processes.every(isProcessEntry))) {
|
|
143
|
+
return null;
|
|
144
|
+
}
|
|
145
|
+
if (record.resourceIds !== undefined && (!Array.isArray(record.resourceIds) || record.resourceIds.some(id => typeof id !== "string"))) {
|
|
146
|
+
return null;
|
|
147
|
+
}
|
|
148
|
+
const receipt = asRecord(record.receipt);
|
|
149
|
+
if (record.receipt !== undefined && receipt === null) {
|
|
150
|
+
return null;
|
|
151
|
+
}
|
|
152
|
+
if (record.state === "no_resource_created" && (record.resourceId !== undefined || record.resourceIds !== undefined
|
|
153
|
+
|| record.placement !== undefined || record.pid !== undefined || record.processStart !== undefined || record.processes !== undefined || receipt !== null)) {
|
|
154
|
+
return null;
|
|
155
|
+
}
|
|
156
|
+
// An exited receipt is written only by the owner that observed the exit, so
|
|
157
|
+
// it is truthful evidence even when the deferred identity capture never
|
|
158
|
+
// landed (early exit, unreadable table): processStart is not required here.
|
|
159
|
+
if (record.state === "exited" && (record.resourceId === undefined || record.nativeId === undefined || record.placement !== "isolated"
|
|
160
|
+
|| typeof record.pid !== "number" || receipt?.kind !== "completed" || receipt.exitObserved !== true
|
|
161
|
+
|| receipt.resourceId !== record.resourceId || receipt.placement !== record.placement
|
|
162
|
+
|| record.resourceId !== ownedResourceId(record.runtimeId, record.nativeId, record.pid))) {
|
|
163
|
+
return null;
|
|
164
|
+
}
|
|
165
|
+
if (record.state === "cleanup_failed" && (record.resourceId === undefined || receipt?.kind !== "failed"
|
|
166
|
+
|| receipt.exitObserved !== false || receipt.resourceId !== record.resourceId || receipt.placement !== record.placement)) {
|
|
167
|
+
return null;
|
|
168
|
+
}
|
|
169
|
+
// oxlint-disable-next-line typescript/consistent-type-assertions, typescript/no-unsafe-type-assertion -- Every field is validated above; this assertion is the parse.
|
|
170
|
+
return record;
|
|
171
|
+
}
|
|
172
|
+
function parseIndex(value) {
|
|
173
|
+
const record = asRecord(value);
|
|
174
|
+
if (record === null || record.version !== SCHEMA || typeof record.runtimeId !== "string" || typeof record.ownerId !== "string"
|
|
175
|
+
|| typeof record.leaseId !== "string" || typeof record.launchIdentity !== "string" || typeof record.resourceId !== "string") {
|
|
176
|
+
return null;
|
|
177
|
+
}
|
|
178
|
+
// oxlint-disable-next-line typescript/consistent-type-assertions, typescript/no-unsafe-type-assertion -- Every field is validated above; this assertion is the parse.
|
|
179
|
+
return record;
|
|
180
|
+
}
|
|
181
|
+
function processIdentityOf(entry) {
|
|
182
|
+
return `${String(entry.pid)}:${entry.start}`;
|
|
183
|
+
}
|
|
184
|
+
function abortReason(signal, operation) {
|
|
185
|
+
return signal?.aborted === true ? `${operation} was aborted; resource state is unknown` : null;
|
|
186
|
+
}
|
|
187
|
+
function completedReceipt(resourceId, placement, elapsedMs, extra = {}) {
|
|
188
|
+
return { kind: "completed", resourceId, placement, exitObserved: true, stopGraceMs: STOP_GRACE_MS, elapsedMs, ...extra };
|
|
189
|
+
}
|
|
190
|
+
function failedReceipt(resourceId, placement, elapsedMs, reason, extra = {}) {
|
|
191
|
+
return { kind: "failed", reason, resourceId, placement, exitObserved: false, stopGraceMs: STOP_GRACE_MS, elapsedMs, ...extra };
|
|
192
|
+
}
|
|
193
|
+
export class OwnedResourceLease {
|
|
194
|
+
store;
|
|
195
|
+
ownership;
|
|
196
|
+
constructor(store, ownership) {
|
|
197
|
+
this.store = store;
|
|
198
|
+
this.ownership = ownership;
|
|
199
|
+
}
|
|
200
|
+
register(input) {
|
|
201
|
+
this.store.register(this.ownership, input);
|
|
202
|
+
}
|
|
203
|
+
captureIdentity(input) { this.store.captureIdentity(this.ownership, input); }
|
|
204
|
+
noResourceCreated() { this.store.noResourceCreated(this.ownership); }
|
|
205
|
+
exited(receipt) { this.store.recordReceipt(this.ownership, receipt, true); }
|
|
206
|
+
cleanupFailed(receipt) { this.store.recordReceipt(this.ownership, receipt, false); }
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Per-runtime/installation/owner files. Recovery reads only requested lease
|
|
210
|
+
* paths and cleanup follows only an exact registered resource index; there is
|
|
211
|
+
* deliberately no machine-wide process scan or foreign-process registry.
|
|
212
|
+
*/
|
|
213
|
+
export class OwnedResourceStore {
|
|
214
|
+
runtimeId;
|
|
215
|
+
hooks;
|
|
216
|
+
root;
|
|
217
|
+
launchIdentity;
|
|
218
|
+
observe;
|
|
219
|
+
signalEntries;
|
|
220
|
+
now;
|
|
221
|
+
wait;
|
|
222
|
+
registrationObservation;
|
|
223
|
+
/**
|
|
224
|
+
* Identity capture at registration time may reuse an observation this same
|
|
225
|
+
* store took moments ago: one host registering many resources in a burst
|
|
226
|
+
* (crash-recovery replay, bulk open) must not pay one full process-table
|
|
227
|
+
* read per lease. Cleanup polling never uses this path; it always reads a
|
|
228
|
+
* fresh table, so exit evidence is never stale.
|
|
229
|
+
*/
|
|
230
|
+
observeForRegistration() {
|
|
231
|
+
const cached = this.registrationObservation;
|
|
232
|
+
if (cached !== undefined && this.now() - cached.at < REGISTRATION_OBSERVATION_REUSE_MS) {
|
|
233
|
+
return cached.observation;
|
|
234
|
+
}
|
|
235
|
+
const observation = this.observe();
|
|
236
|
+
this.registrationObservation = { at: this.now(), observation };
|
|
237
|
+
return observation;
|
|
238
|
+
}
|
|
239
|
+
constructor(runtimeId, installation, hooks = {}) {
|
|
240
|
+
this.runtimeId = runtimeId;
|
|
241
|
+
this.hooks = hooks;
|
|
242
|
+
this.root = hooks.root ?? defaultRoot();
|
|
243
|
+
this.launchIdentity = ownedResourceLaunchIdentity(installation);
|
|
244
|
+
this.observe = hooks.observe ?? observeProcessTable;
|
|
245
|
+
this.signalEntries = hooks.signal ?? ((entries, table) => signalEntries(entries, table));
|
|
246
|
+
this.now = hooks.now ?? Date.now;
|
|
247
|
+
this.wait = hooks.wait ?? (async (milliseconds) => {
|
|
248
|
+
const { promise, resolve } = Promise.withResolvers();
|
|
249
|
+
setTimeout(resolve, milliseconds);
|
|
250
|
+
await promise;
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
ownerRoot(ownerId) {
|
|
254
|
+
return join(this.root, digest(this.runtimeId), this.launchIdentity, digest(ownerId));
|
|
255
|
+
}
|
|
256
|
+
leasePath(ownership) {
|
|
257
|
+
return join(this.ownerRoot(ownership.ownerId), "leases", `${digest(ownership.leaseId)}.json`);
|
|
258
|
+
}
|
|
259
|
+
resourcePath(ownerId, resourceId) {
|
|
260
|
+
return join(this.ownerRoot(ownerId), "resources", `${digest(resourceId)}.json`);
|
|
261
|
+
}
|
|
262
|
+
readManifest(ownership) {
|
|
263
|
+
const path = this.leasePath(ownership);
|
|
264
|
+
if (!existsSync(path)) {
|
|
265
|
+
return { status: "missing", diagnostic: "No durable allocation record exists for this lease" };
|
|
266
|
+
}
|
|
267
|
+
try {
|
|
268
|
+
const parsed = JSON.parse(readFileSync(path, "utf8"));
|
|
269
|
+
const record = parseManifest(parsed);
|
|
270
|
+
if (record === null) {
|
|
271
|
+
return { status: "unreadable", diagnostic: "The durable allocation record has an invalid schema" };
|
|
272
|
+
}
|
|
273
|
+
if (record.runtimeId !== this.runtimeId || record.ownerId !== ownership.ownerId || record.leaseId !== ownership.leaseId || record.launchIdentity !== this.launchIdentity) {
|
|
274
|
+
return { status: "unreadable", diagnostic: "The durable allocation record belongs to another owner or launch identity" };
|
|
275
|
+
}
|
|
276
|
+
return { status: "ok", record };
|
|
277
|
+
}
|
|
278
|
+
catch {
|
|
279
|
+
return { status: "unreadable", diagnostic: "The durable allocation record could not be read" };
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
writeManifest(record) {
|
|
283
|
+
writeAtomic(this.leasePath(record), { ...record, updatedAt: new Date(this.now()).toISOString() }, this.hooks.beforeWrite);
|
|
284
|
+
}
|
|
285
|
+
writeIndex(record, resourceId) {
|
|
286
|
+
if (record.resourceId === undefined) {
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
const index = { version: SCHEMA, runtimeId: this.runtimeId, ownerId: record.ownerId, leaseId: record.leaseId, launchIdentity: record.launchIdentity, resourceId };
|
|
290
|
+
writeAtomic(this.resourcePath(record.ownerId, resourceId), index, this.hooks.beforeWrite);
|
|
291
|
+
}
|
|
292
|
+
allocate(ownership) {
|
|
293
|
+
validIdentity(ownership.ownerId, "ownerId");
|
|
294
|
+
validIdentity(ownership.leaseId, "leaseId");
|
|
295
|
+
const existing = this.readManifest(ownership);
|
|
296
|
+
if (existing.status !== "missing") {
|
|
297
|
+
throw new Error(existing.status === "unreadable" ? existing.diagnostic : "The ownership lease is already allocated; open requires a unique leaseId");
|
|
298
|
+
}
|
|
299
|
+
const timestamp = new Date(this.now()).toISOString();
|
|
300
|
+
if (ownership.intent !== undefined) {
|
|
301
|
+
validIdentity(ownership.intent.operationId, "operationId");
|
|
302
|
+
if (ownership.intent.nativeId !== undefined) {
|
|
303
|
+
validIdentity(ownership.intent.nativeId, "nativeId");
|
|
304
|
+
}
|
|
305
|
+
validIdentity(ownership.intent.sourceNativeId, "sourceNativeId");
|
|
306
|
+
if (ownership.intent.operationId !== ownership.leaseId) {
|
|
307
|
+
throw new TypeError("A side-question leaseId must equal its operationId");
|
|
308
|
+
}
|
|
309
|
+
if (ownership.intent.nativeId === ownership.intent.sourceNativeId) {
|
|
310
|
+
throw new TypeError("A side question must use a new native fork identity");
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
createManifest(this.leasePath(ownership), { version: SCHEMA, runtimeId: this.runtimeId, ownerId: ownership.ownerId, leaseId: ownership.leaseId,
|
|
314
|
+
launchIdentity: this.launchIdentity, createdAt: timestamp, updatedAt: timestamp, state: "allocating",
|
|
315
|
+
...(ownership.intent === undefined ? {} : { intent: ownership.intent, nativeId: ownership.intent.nativeId }) }, this.hooks.beforeWrite);
|
|
316
|
+
return new OwnedResourceLease(this, ownership);
|
|
317
|
+
}
|
|
318
|
+
register(ownership, input) {
|
|
319
|
+
const current = this.readManifest(ownership);
|
|
320
|
+
if (current.status !== "ok") {
|
|
321
|
+
throw new Error(current.status === "missing" ? "The durable allocation intent is missing" : current.diagnostic);
|
|
322
|
+
}
|
|
323
|
+
if (current.record.state === "exited" || current.record.state === "no_resource_created") {
|
|
324
|
+
throw new Error("A settled ownership lease cannot allocate another resource");
|
|
325
|
+
}
|
|
326
|
+
if (current.record.intent?.nativeId !== undefined && current.record.intent.nativeId !== input.nativeId) {
|
|
327
|
+
throw new Error("The registered native identity differs from the pre-allocated side-question fork");
|
|
328
|
+
}
|
|
329
|
+
const expected = input.pid === undefined ? input.resourceId : ownedResourceId(this.runtimeId, input.nativeId, input.pid);
|
|
330
|
+
if (input.placement === "isolated" && expected !== input.resourceId) {
|
|
331
|
+
throw new Error("The native resource identity does not match its registered process identity");
|
|
332
|
+
}
|
|
333
|
+
let processStart = input.processStart;
|
|
334
|
+
let processSource = input.processSource;
|
|
335
|
+
let processes = input.processes;
|
|
336
|
+
if (input.placement === "isolated" && input.pid !== undefined && processes === undefined && input.identityCapture !== "deferred") {
|
|
337
|
+
const observed = this.observeForRegistration();
|
|
338
|
+
if (observed.ok) {
|
|
339
|
+
const root = observed.table.get(input.pid);
|
|
340
|
+
if (root !== undefined && (processStart === undefined || root.start === processStart)) {
|
|
341
|
+
processStart = root.start;
|
|
342
|
+
processSource = observed.source;
|
|
343
|
+
processes = [root, ...descendantsOf(observed.table, root.pid)];
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
const aliases = [...new Set([...current.record.resourceIds ?? [], input.resourceId])];
|
|
348
|
+
const { diagnostic: _diagnostic, receipt: _receipt, ...allocation } = current.record;
|
|
349
|
+
const record = { ...allocation, state: "registered", resourceId: input.resourceId, resourceIds: aliases,
|
|
350
|
+
nativeId: input.nativeId, placement: input.placement,
|
|
351
|
+
...(input.pid === undefined ? {} : { pid: input.pid }),
|
|
352
|
+
...(processStart === undefined ? {} : { processStart }),
|
|
353
|
+
...(processSource === undefined ? {} : { processSource }),
|
|
354
|
+
...(processes === undefined ? {} : { processes }) };
|
|
355
|
+
this.writeManifest(record);
|
|
356
|
+
for (const resourceId of aliases) {
|
|
357
|
+
this.writeIndex(record, resourceId);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
noResourceCreated(ownership) {
|
|
361
|
+
const current = this.readManifest(ownership);
|
|
362
|
+
if (current.status === "ok" && current.record.state === "allocating") {
|
|
363
|
+
this.writeManifest({ ...current.record, state: "no_resource_created", diagnostic: "Open completed or failed before a native resource was registered" });
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* Land the asynchronously captured durable identity on a still-registered
|
|
368
|
+
* record. A record that has moved on (exit or cleanup-failure receipt) is
|
|
369
|
+
* left untouched: the capture must never rewrite a receipt that already
|
|
370
|
+
* settled, and an identity that arrived too late simply stays absent —
|
|
371
|
+
* recovery and cleanup then keep their honest unknown/retry answers.
|
|
372
|
+
*/
|
|
373
|
+
captureIdentity(ownership, input) {
|
|
374
|
+
const current = this.readManifest(ownership);
|
|
375
|
+
if (current.status !== "ok" || current.record.state !== "registered") {
|
|
376
|
+
return;
|
|
377
|
+
}
|
|
378
|
+
const record = current.record;
|
|
379
|
+
if (record.placement !== "isolated" || record.pid !== input.pid || record.processStart !== undefined) {
|
|
380
|
+
return;
|
|
381
|
+
}
|
|
382
|
+
const aliases = record.resourceIds ?? (record.resourceId === undefined ? [] : [record.resourceId]);
|
|
383
|
+
if (!aliases.includes(input.resourceId)) {
|
|
384
|
+
return;
|
|
385
|
+
}
|
|
386
|
+
this.writeManifest({ ...record, processStart: input.processStart, processSource: input.processSource, processes: input.processes });
|
|
387
|
+
}
|
|
388
|
+
recordReceipt(ownership, receipt, exited) {
|
|
389
|
+
const current = this.readManifest(ownership);
|
|
390
|
+
if (current.status !== "ok" || current.record.resourceId === undefined || (current.record.state === "exited" && exited)) {
|
|
391
|
+
return;
|
|
392
|
+
}
|
|
393
|
+
if (!(current.record.resourceIds ?? [current.record.resourceId]).includes(receipt.resourceId)) {
|
|
394
|
+
return;
|
|
395
|
+
}
|
|
396
|
+
if (exited && receipt.kind === "completed" && receipt.exitObserved) {
|
|
397
|
+
const { diagnostic: _diagnostic, ...registered } = current.record;
|
|
398
|
+
this.writeManifest({ ...registered, state: "exited", receipt });
|
|
399
|
+
}
|
|
400
|
+
else if (!exited && receipt.kind === "failed") {
|
|
401
|
+
this.writeManifest({ ...current.record, state: "cleanup_failed", receipt: { ...receipt, resourceId: current.record.resourceId }, diagnostic: receipt.reason });
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
ensureIndexes(record) {
|
|
405
|
+
for (const resourceId of record.resourceIds ?? (record.resourceId === undefined ? [] : [record.resourceId])) {
|
|
406
|
+
try {
|
|
407
|
+
const path = this.resourcePath(record.ownerId, resourceId);
|
|
408
|
+
if (existsSync(path)) {
|
|
409
|
+
const parsed = JSON.parse(readFileSync(path, "utf8"));
|
|
410
|
+
const existing = parseIndex(parsed);
|
|
411
|
+
if (existing !== null && existing.runtimeId === record.runtimeId && existing.ownerId === record.ownerId
|
|
412
|
+
&& existing.leaseId === record.leaseId && existing.launchIdentity === record.launchIdentity
|
|
413
|
+
&& existing.resourceId === resourceId) {
|
|
414
|
+
continue; // An unchanged durable index needs no fsync'd rewrite on every recovery.
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
this.writeIndex(record, resourceId);
|
|
418
|
+
}
|
|
419
|
+
catch { /* Recovery evidence remains useful; cleanup will stay retryable. */ }
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
// oxlint-disable-next-line eslint/require-await, typescript/require-await -- The SPI is async; the store's recovery is fully synchronous file and table reads.
|
|
423
|
+
async recover(options) {
|
|
424
|
+
const results = [];
|
|
425
|
+
for (const leaseId of options.leaseIds) {
|
|
426
|
+
const ownership = { ownerId: options.ownerId, leaseId };
|
|
427
|
+
const aborted = abortReason(options.signal, "Owned-resource recovery");
|
|
428
|
+
if (aborted !== null) {
|
|
429
|
+
results.push({ leaseId, state: "unknown", diagnostic: aborted });
|
|
430
|
+
continue;
|
|
431
|
+
}
|
|
432
|
+
const current = this.readManifest(ownership);
|
|
433
|
+
if (current.status !== "ok") {
|
|
434
|
+
results.push({ leaseId, state: "unknown", diagnostic: current.diagnostic });
|
|
435
|
+
continue;
|
|
436
|
+
}
|
|
437
|
+
const record = current.record;
|
|
438
|
+
this.ensureIndexes(record);
|
|
439
|
+
if (record.state === "no_resource_created") {
|
|
440
|
+
results.push({ leaseId, state: "no_resource_created" });
|
|
441
|
+
continue;
|
|
442
|
+
}
|
|
443
|
+
if (record.state === "exited" && record.resourceId !== undefined) {
|
|
444
|
+
results.push({ leaseId, state: "exited", resourceId: record.resourceId });
|
|
445
|
+
continue;
|
|
446
|
+
}
|
|
447
|
+
if (record.state === "allocating" || record.resourceId === undefined || record.pid === undefined || record.processStart === undefined || record.placement !== "isolated") {
|
|
448
|
+
results.push({ leaseId, state: "unknown", ...(record.resourceId === undefined ? {} : { resourceId: record.resourceId }),
|
|
449
|
+
diagnostic: record.diagnostic ?? "The durable record does not prove an isolated process identity or exit" });
|
|
450
|
+
continue;
|
|
451
|
+
}
|
|
452
|
+
const observation = this.observe();
|
|
453
|
+
if (!observation.ok) {
|
|
454
|
+
results.push({ leaseId, state: "unknown", resourceId: record.resourceId, diagnostic: `The process table could not be observed (${observation.reason})` });
|
|
455
|
+
continue;
|
|
456
|
+
}
|
|
457
|
+
if (observation.skipped > 0) {
|
|
458
|
+
results.push({ leaseId, state: "unknown", resourceId: record.resourceId, diagnostic: `The process table was incomplete (${String(observation.skipped)} processes skipped)` });
|
|
459
|
+
continue;
|
|
460
|
+
}
|
|
461
|
+
const root = observation.table.get(record.pid);
|
|
462
|
+
if (root !== undefined && root.start !== record.processStart) {
|
|
463
|
+
results.push({ leaseId, state: "unknown", resourceId: record.resourceId, diagnostic: "The registered pid now belongs to a different OS process start identity" });
|
|
464
|
+
continue;
|
|
465
|
+
}
|
|
466
|
+
const durable = record.processes ?? [];
|
|
467
|
+
const liveRoots = root === undefined
|
|
468
|
+
? durable.filter(entry => observation.table.get(entry.pid)?.start === entry.start)
|
|
469
|
+
: [root];
|
|
470
|
+
if (liveRoots.length === 0) {
|
|
471
|
+
results.push({ leaseId, state: "unknown", resourceId: record.resourceId,
|
|
472
|
+
diagnostic: "The registered root and durable descendants are absent; public cleanup must verify the owned-tree exit before recording a receipt" });
|
|
473
|
+
continue;
|
|
474
|
+
}
|
|
475
|
+
const refreshed = [];
|
|
476
|
+
for (const entry of liveRoots) {
|
|
477
|
+
const live = observation.table.get(entry.pid);
|
|
478
|
+
if (live !== undefined) {
|
|
479
|
+
refreshed.push(live, ...descendantsOf(observation.table, live.pid));
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
const identities = new Map();
|
|
483
|
+
for (const entry of [...durable, ...refreshed]) {
|
|
484
|
+
identities.set(`${String(entry.pid)}:${entry.start}`, entry);
|
|
485
|
+
}
|
|
486
|
+
if (identities.size !== durable.length) {
|
|
487
|
+
try {
|
|
488
|
+
this.writeManifest({ ...record, processes: [...identities.values()] });
|
|
489
|
+
}
|
|
490
|
+
catch {
|
|
491
|
+
results.push({ leaseId, state: "unknown", resourceId: record.resourceId, diagnostic: "The live owned tree could not be durably refreshed; retry recovery or cleanup" });
|
|
492
|
+
continue;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
results.push({ leaseId, state: "live", resourceId: record.resourceId });
|
|
496
|
+
}
|
|
497
|
+
return results;
|
|
498
|
+
}
|
|
499
|
+
readIndexedManifest(options) {
|
|
500
|
+
const path = this.resourcePath(options.ownerId, options.resourceId);
|
|
501
|
+
if (!existsSync(path)) {
|
|
502
|
+
return { reason: "Refusing cleanup: the resource has no durable registration for this owner and launch" };
|
|
503
|
+
}
|
|
504
|
+
try {
|
|
505
|
+
const parsed = JSON.parse(readFileSync(path, "utf8"));
|
|
506
|
+
const index = parseIndex(parsed);
|
|
507
|
+
if (index === null || index.runtimeId !== this.runtimeId || index.ownerId !== options.ownerId
|
|
508
|
+
|| index.resourceId !== options.resourceId || index.launchIdentity !== this.launchIdentity) {
|
|
509
|
+
return { reason: "Refusing cleanup: the resource index failed owner, native identity, or launch identity verification" };
|
|
510
|
+
}
|
|
511
|
+
const current = this.readManifest({ ownerId: options.ownerId, leaseId: index.leaseId });
|
|
512
|
+
if (current.status !== "ok") {
|
|
513
|
+
return { reason: `Refusing cleanup: ${current.diagnostic}` };
|
|
514
|
+
}
|
|
515
|
+
const aliases = current.record.resourceIds ?? (current.record.resourceId === undefined ? [] : [current.record.resourceId]);
|
|
516
|
+
// processStart is deliberately NOT required here: an exited record's
|
|
517
|
+
// recorded receipt is returned without signalling anything, and the
|
|
518
|
+
// live-kill path re-checks the OS start identity itself before any
|
|
519
|
+
// signal ("no OS start identity; refusing a guessed kill").
|
|
520
|
+
if (!aliases.includes(options.resourceId) || current.record.nativeId === undefined || current.record.resourceId === undefined
|
|
521
|
+
|| current.record.placement !== "isolated" || current.record.pid === undefined) {
|
|
522
|
+
return { reason: "Refusing cleanup: the durable resource identity is incomplete, foreign, shared, or unregistered" };
|
|
523
|
+
}
|
|
524
|
+
if (current.record.nativeId.length === 0
|
|
525
|
+
|| current.record.resourceId !== ownedResourceId(this.runtimeId, current.record.nativeId, current.record.pid)) {
|
|
526
|
+
return { reason: "Refusing cleanup: the native identity does not match the registered resource identity" };
|
|
527
|
+
}
|
|
528
|
+
return { record: current.record };
|
|
529
|
+
}
|
|
530
|
+
catch {
|
|
531
|
+
return { reason: "Refusing cleanup: the durable resource registration could not be read" };
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
/** Native ids allocated for temporary forks under this exact runtime/installation identity. */
|
|
535
|
+
temporaryNativeIds() {
|
|
536
|
+
const identities = new Set();
|
|
537
|
+
const launchRoot = join(this.root, digest(this.runtimeId), this.launchIdentity);
|
|
538
|
+
let owners = [];
|
|
539
|
+
try {
|
|
540
|
+
owners = readdirSync(launchRoot);
|
|
541
|
+
}
|
|
542
|
+
catch (error) {
|
|
543
|
+
if (typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT") {
|
|
544
|
+
return identities;
|
|
545
|
+
}
|
|
546
|
+
throw error;
|
|
547
|
+
}
|
|
548
|
+
for (const owner of owners) {
|
|
549
|
+
for (const file of readdirSync(join(launchRoot, owner, "leases"))) {
|
|
550
|
+
if (!file.endsWith(".json")) {
|
|
551
|
+
continue;
|
|
552
|
+
}
|
|
553
|
+
const leaseFile = join(launchRoot, owner, "leases", file);
|
|
554
|
+
const parsed = JSON.parse(readFileSync(leaseFile, "utf8"));
|
|
555
|
+
const record = parseManifest(parsed);
|
|
556
|
+
if (record === null) {
|
|
557
|
+
throw new Error("A durable ownership record has an invalid schema");
|
|
558
|
+
}
|
|
559
|
+
if (record.intent?.kind === "side_question") {
|
|
560
|
+
const nativeId = record.nativeId ?? record.intent.nativeId;
|
|
561
|
+
if (nativeId !== undefined) {
|
|
562
|
+
identities.add(nativeId);
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
return identities;
|
|
568
|
+
}
|
|
569
|
+
/** The caller additionally guards live in-process operations before invoking this restart-safe cleanup. */
|
|
570
|
+
// oxlint-disable-next-line eslint/require-await -- The SPI is async; eligibility checks are synchronous and delegate to cleanup.
|
|
571
|
+
async cleanupTemporary(options) {
|
|
572
|
+
const located = this.readIndexedManifest(options);
|
|
573
|
+
if (!("record" in located)) {
|
|
574
|
+
return failedReceipt(options.resourceId, "isolated", 0, located.reason);
|
|
575
|
+
}
|
|
576
|
+
const intent = located.record.intent;
|
|
577
|
+
if (intent?.kind !== "side_question" || intent.operationId !== options.operationId
|
|
578
|
+
|| located.record.leaseId !== options.operationId || intent.nativeId === intent.sourceNativeId) {
|
|
579
|
+
return failedReceipt(options.resourceId, "isolated", 0, "Refusing cleanup: the resource is not the matching temporary side-question fork");
|
|
580
|
+
}
|
|
581
|
+
const receipt = located.record.receipt;
|
|
582
|
+
if (located.record.state === "cleanup_failed" && receipt?.kind === "failed"
|
|
583
|
+
&& located.record.diagnostic?.startsWith("The Pi process exited but its side-question files remain:") === true) {
|
|
584
|
+
return { ...receipt, exitObserved: true };
|
|
585
|
+
}
|
|
586
|
+
return this.cleanup(options);
|
|
587
|
+
}
|
|
588
|
+
persistCleanupFailure(ownership, receipt) {
|
|
589
|
+
try {
|
|
590
|
+
this.recordReceipt(ownership, receipt, false);
|
|
591
|
+
return receipt;
|
|
592
|
+
}
|
|
593
|
+
catch {
|
|
594
|
+
if (receipt.kind !== "failed") {
|
|
595
|
+
return receipt;
|
|
596
|
+
}
|
|
597
|
+
return { ...receipt, reason: `${receipt.reason}; the failure could not be persisted` };
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
async cleanup(options) {
|
|
601
|
+
const startedAt = this.now();
|
|
602
|
+
const elapsed = () => Math.max(0, this.now() - startedAt);
|
|
603
|
+
const aborted = abortReason(options.signal, "Owned-resource cleanup");
|
|
604
|
+
if (aborted !== null) {
|
|
605
|
+
return failedReceipt(options.resourceId, "isolated", elapsed(), aborted);
|
|
606
|
+
}
|
|
607
|
+
const located = this.readIndexedManifest(options);
|
|
608
|
+
if (!("record" in located)) {
|
|
609
|
+
return failedReceipt(options.resourceId, "isolated", elapsed(), located.reason);
|
|
610
|
+
}
|
|
611
|
+
const record = located.record;
|
|
612
|
+
const placement = record.placement ?? "isolated";
|
|
613
|
+
if (record.state === "exited" && record.receipt?.kind === "completed" && record.receipt.exitObserved) {
|
|
614
|
+
return { ...record.receipt, resourceId: record.resourceId ?? options.resourceId, elapsedMs: 0 };
|
|
615
|
+
}
|
|
616
|
+
if (record.state === "cleanup_failed" && (record.diagnostic === ROOT_EXIT_UNKNOWN || record.diagnostic === ROOTLESS_EXIT_UNKNOWN) && record.receipt?.kind === "failed") {
|
|
617
|
+
return { ...record.receipt, resourceId: record.resourceId ?? options.resourceId, placement, elapsedMs: 0 };
|
|
618
|
+
}
|
|
619
|
+
const ownership = { ownerId: record.ownerId, leaseId: record.leaseId };
|
|
620
|
+
const fail = (reason, extra = {}) => this.persistCleanupFailure(ownership, failedReceipt(record.resourceId ?? options.resourceId, placement, elapsed(), reason, extra));
|
|
621
|
+
const pid = record.pid;
|
|
622
|
+
const processStart = record.processStart;
|
|
623
|
+
if (pid === undefined || processStart === undefined) {
|
|
624
|
+
return fail("The registered process has no OS start identity; refusing a guessed kill");
|
|
625
|
+
}
|
|
626
|
+
const owned = new Map((record.processes ?? []).map(entry => [processIdentityOf(entry), entry]));
|
|
627
|
+
const capture = (observation) => {
|
|
628
|
+
const added = [];
|
|
629
|
+
const candidates = new Map();
|
|
630
|
+
const include = (entry) => {
|
|
631
|
+
candidates.set(entry.pid, entry);
|
|
632
|
+
for (const descendant of descendantsOf(observation.table, entry.pid, observation.source)) {
|
|
633
|
+
candidates.set(descendant.pid, descendant);
|
|
634
|
+
}
|
|
635
|
+
};
|
|
636
|
+
const root = observation.table.get(pid);
|
|
637
|
+
if (root === undefined) {
|
|
638
|
+
for (const descendant of descendantsOf(observation.table, pid, observation.source)) {
|
|
639
|
+
candidates.set(descendant.pid, descendant);
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
else if (root.start === processStart) {
|
|
643
|
+
include(root);
|
|
644
|
+
}
|
|
645
|
+
for (const durable of owned.values()) {
|
|
646
|
+
const current = observation.table.get(durable.pid);
|
|
647
|
+
if (current?.start === durable.start) {
|
|
648
|
+
include(current);
|
|
649
|
+
}
|
|
650
|
+
else if (current === undefined) {
|
|
651
|
+
for (const descendant of descendantsOf(observation.table, durable.pid, observation.source)) {
|
|
652
|
+
candidates.set(descendant.pid, descendant);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
for (const entry of candidates.values()) {
|
|
657
|
+
const key = processIdentityOf(entry);
|
|
658
|
+
if (!owned.has(key)) {
|
|
659
|
+
owned.set(key, entry);
|
|
660
|
+
added.push(entry);
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
return added;
|
|
664
|
+
};
|
|
665
|
+
const persistProcesses = () => {
|
|
666
|
+
this.writeManifest({ ...record, processes: [...owned.values()] });
|
|
667
|
+
};
|
|
668
|
+
const initial = this.observe();
|
|
669
|
+
if (!initial.ok) {
|
|
670
|
+
return fail(`The process table could not be observed (${initial.reason}); no process was signalled`);
|
|
671
|
+
}
|
|
672
|
+
if (initial.skipped > 0) {
|
|
673
|
+
return fail(`The process table was incomplete (${String(initial.skipped)} processes skipped); no process was signalled`);
|
|
674
|
+
}
|
|
675
|
+
const initialRoot = initial.table.get(pid);
|
|
676
|
+
if (initialRoot !== undefined && initialRoot.start !== processStart) {
|
|
677
|
+
return fail("The registered pid was reused; owned-tree exit is not proven and no process was signalled");
|
|
678
|
+
}
|
|
679
|
+
if (initialRoot === undefined && owned.size === 0) {
|
|
680
|
+
return fail("The registered root is absent without durable descendant identities; owned-tree exit is not proven and no process was signalled");
|
|
681
|
+
}
|
|
682
|
+
const initialIdentities = new Set([...initial.table.values()].map((entry) => processIdentityOf(entry)));
|
|
683
|
+
const initiallyAdded = capture(initial);
|
|
684
|
+
if (initiallyAdded.length > 0 || record.processes === undefined) {
|
|
685
|
+
try {
|
|
686
|
+
persistProcesses();
|
|
687
|
+
}
|
|
688
|
+
catch {
|
|
689
|
+
return fail("Owned-process identities could not be persisted before signalling; no process was signalled");
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
const initialReport = this.signalEntries([...owned.values()], initial.table);
|
|
693
|
+
let signalled = initialReport.signalled;
|
|
694
|
+
let foreign = initialReport.foreign;
|
|
695
|
+
if (!initialReport.hostIdentified) {
|
|
696
|
+
return fail("The host process identity could not be verified; no owned tree was signalled");
|
|
697
|
+
}
|
|
698
|
+
if (initialReport.failed > 0) {
|
|
699
|
+
return fail(`The owned-tree stop signal failed (${initialReport.codes.join(",")})`, { signalled, foreign });
|
|
700
|
+
}
|
|
701
|
+
if (initialReport.foreign > 0) {
|
|
702
|
+
return fail("At least one registered process is foreign or inaccessible; cleanup remains responsible for it", { signalled, foreign });
|
|
703
|
+
}
|
|
704
|
+
while (elapsed() < STOP_GRACE_MS) {
|
|
705
|
+
const current = this.observe();
|
|
706
|
+
if (!current.ok) {
|
|
707
|
+
return fail(`Exit could not be verified (${current.reason})`, { signalled, foreign });
|
|
708
|
+
}
|
|
709
|
+
if (current.skipped > 0) {
|
|
710
|
+
return fail(`Exit could not be verified because the process table was incomplete (${String(current.skipped)} processes skipped)`, { signalled, foreign });
|
|
711
|
+
}
|
|
712
|
+
const added = capture(current);
|
|
713
|
+
if (added.length > 0) {
|
|
714
|
+
try {
|
|
715
|
+
persistProcesses();
|
|
716
|
+
}
|
|
717
|
+
catch {
|
|
718
|
+
return fail("New owned-process identities could not be persisted after signalling; retry remains responsible", { signalled, foreign });
|
|
719
|
+
}
|
|
720
|
+
const lateReport = this.signalEntries(added, current.table);
|
|
721
|
+
signalled += lateReport.signalled;
|
|
722
|
+
foreign += lateReport.foreign;
|
|
723
|
+
if (!lateReport.hostIdentified) {
|
|
724
|
+
return fail("The host process identity could not be verified while signalling a late descendant", { signalled, foreign });
|
|
725
|
+
}
|
|
726
|
+
if (lateReport.failed > 0) {
|
|
727
|
+
return fail(`A late owned-process stop signal failed (${lateReport.codes.join(",")})`, { signalled, foreign });
|
|
728
|
+
}
|
|
729
|
+
if (lateReport.foreign > 0) {
|
|
730
|
+
return fail("A newly captured process became foreign or inaccessible; cleanup remains responsible for it", { signalled, foreign });
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
const alive = [...owned.values()].filter(entry => current.table.get(entry.pid)?.start === entry.start);
|
|
734
|
+
if (alive.length === 0) {
|
|
735
|
+
// The complete process table holds neither the root nor any
|
|
736
|
+
// durable-registered descendant identity. POSIX orphans keep their
|
|
737
|
+
// own pid+start after re-parenting to init or a subreaper, and
|
|
738
|
+
// Windows preserves a dead parent's pid on its children, so on both
|
|
739
|
+
// platforms a still-live registered identity is matched above and
|
|
740
|
+
// keeps this tree alive; only a never-registered late descendant
|
|
741
|
+
// could escape attribution, and the unattributed check below is the
|
|
742
|
+
// platform-specific bound on that doubt.
|
|
743
|
+
const rootExited = current.table.get(pid)?.start !== processStart;
|
|
744
|
+
const hasUnattributedNewProcesses = [...current.table.values()].some(entry => {
|
|
745
|
+
const key = processIdentityOf(entry);
|
|
746
|
+
if (initialIdentities.has(key) || owned.has(key)) {
|
|
747
|
+
return false;
|
|
748
|
+
}
|
|
749
|
+
if (current.source !== "windows") {
|
|
750
|
+
// POSIX owned-tree evidence is exactly a durable-registered
|
|
751
|
+
// pid+start identity, and those matches were excluded above (a
|
|
752
|
+
// live one would keep the tree alive). A late descendant that
|
|
753
|
+
// was never registered is undetectable once re-parented — a
|
|
754
|
+
// documented POSIX limit, symmetric to the Windows rule below,
|
|
755
|
+
// not a regression: the previous strict rule could not see it
|
|
756
|
+
// either and refused `completed` forever. Unregistered machine
|
|
757
|
+
// noise therefore never blocks exit evidence, and new
|
|
758
|
+
// identities are never persisted or signalled.
|
|
759
|
+
return false;
|
|
760
|
+
}
|
|
761
|
+
// Windows preserves a dead parent's pid on its children: a new
|
|
762
|
+
// process is owned-tree evidence only when it hangs under an owned
|
|
763
|
+
// pid that no longer holds its registered start identity. Live
|
|
764
|
+
// parents' children were captured above; unrelated machine noise
|
|
765
|
+
// (services, reader helpers) never shares an owned parent pid.
|
|
766
|
+
const ownedParent = [...owned.values()].find(candidate => candidate.pid === entry.ppid);
|
|
767
|
+
return ownedParent !== undefined && entry.start >= ownedParent.start
|
|
768
|
+
&& current.table.get(entry.ppid)?.start !== ownedParent.start;
|
|
769
|
+
});
|
|
770
|
+
// New identities are exit evidence only: without ownership links, never persist or signal them.
|
|
771
|
+
if (rootExited && hasUnattributedNewProcesses) {
|
|
772
|
+
return fail(ROOT_EXIT_UNKNOWN, { signalled, foreign });
|
|
773
|
+
}
|
|
774
|
+
const receipt = completedReceipt(record.resourceId ?? options.resourceId, placement, elapsed(), { signalled, foreign });
|
|
775
|
+
try {
|
|
776
|
+
this.recordReceipt(ownership, receipt, true);
|
|
777
|
+
return receipt;
|
|
778
|
+
}
|
|
779
|
+
catch {
|
|
780
|
+
return failedReceipt(record.resourceId ?? options.resourceId, placement, elapsed(), "Owned-tree exit was observed but the durable receipt could not be persisted; retry remains responsible", { signalled, foreign });
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
if (options.signal?.aborted === true) {
|
|
784
|
+
return fail("Owned-resource cleanup was aborted before owned-tree exit was observed", { signalled, foreign });
|
|
785
|
+
}
|
|
786
|
+
await this.wait(POLL_MS);
|
|
787
|
+
}
|
|
788
|
+
return fail(`The owned resource tree did not reach an observed exit within ${String(STOP_GRACE_MS)} ms`, { signalled, foreign });
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
export function createOwnedResourceStore(runtimeId, installation, hooks = {}) {
|
|
792
|
+
return new OwnedResourceStore(runtimeId, installation, hooks);
|
|
793
|
+
}
|
|
794
|
+
//# sourceMappingURL=owned-resource-store.js.map
|