@orion-agents/orion-code 0.3.1 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +126 -0
- package/README.md +71 -32
- package/README.zh-CN.md +56 -29
- package/dist/commands/model-command-handlers.js +59 -14
- package/dist/commands/types.d.ts +6 -0
- package/dist/commands/workflow-command-handlers.d.ts +1 -1
- package/dist/commands/workflow-command-handlers.js +42 -3
- package/dist/commands/workflow-commands.js +2 -2
- package/dist/runtime/agent-runtime-controller.d.ts +17 -2
- package/dist/runtime/agent-runtime-controller.js +207 -47
- package/dist/runtime/agent-runtime-protocol.d.ts +3 -0
- package/dist/runtime/agent-runtime-runner.d.ts +8 -0
- package/dist/runtime/capability-receipt-journal.js +1 -1
- package/dist/runtime/durable-tool-receipt-reader.js +1 -1
- package/dist/runtime/legacy-thread-materializer.js +2 -2
- package/dist/runtime/orion-runtime-v1.d.ts +2 -1
- package/dist/runtime/orion-runtime-v1.js +18 -16
- package/dist/runtime/orion-session-runner.d.ts +6 -0
- package/dist/runtime/orion-session-runner.js +27 -4
- package/dist/runtime/plan-review.d.ts +38 -0
- package/dist/runtime/plan-review.js +173 -0
- package/dist/runtime/product-bootstrap.d.ts +6 -0
- package/dist/runtime/product-bootstrap.js +388 -314
- package/dist/runtime/product-orion-runtime.d.ts +5 -0
- package/dist/runtime/product-orion-runtime.js +16 -35
- package/dist/runtime/protocol/runtime-protocol-v1.d.ts +73 -0
- package/dist/runtime/protocol/runtime-protocol-v1.js +37 -0
- package/dist/runtime/release-receipts.d.ts +9 -3
- package/dist/runtime/release-receipts.js +120 -1
- package/dist/runtime/session-composer-control.d.ts +136 -0
- package/dist/runtime/session-composer-control.js +532 -0
- package/dist/runtime/step-snapshot.d.ts +12 -0
- package/dist/runtime/step-snapshot.js +14 -1
- package/dist/runtime/subagent-thread-runtime.js +1 -1
- package/dist/runtime/thread-event-store.d.ts +10 -1
- package/dist/runtime/thread-event-store.js +48 -12
- package/dist/runtime/thread-projection.d.ts +36 -0
- package/dist/runtime/thread-projection.js +99 -0
- package/dist/runtime/thread-runtime.d.ts +2 -2
- package/dist/runtime/thread-runtime.js +2 -2
- package/dist/runtime/thread-session-index.d.ts +17 -1
- package/dist/runtime/thread-session-index.js +89 -6
- package/dist/runtime/thread-session-view.d.ts +4 -1
- package/dist/runtime/thread-session-view.js +5 -2
- package/dist/runtime/thread-ui-adapter.js +10 -3
- package/dist/runtime/tool-gateway.js +1 -0
- package/dist/runtime/turn-commit.js +1 -1
- package/dist/runtime/ui-events.d.ts +9 -1
- package/dist/runtime/workspace-runtime-kernel.d.ts +67 -0
- package/dist/runtime/workspace-runtime-kernel.js +148 -0
- package/dist/services/global-config.d.ts +2 -0
- package/dist/services/global-config.js +7 -1
- package/dist/services/provider-resilience/coordinator.d.ts +3 -1
- package/dist/services/provider-resilience/coordinator.js +23 -1
- package/dist/services/provider-resilience/request-gate.js +7 -2
- package/dist/services/redaction.js +19 -2
- package/dist/services/session-storage.d.ts +36 -0
- package/dist/services/session-storage.js +77 -1
- package/dist/services/settings-coordinator.d.ts +3 -1
- package/dist/services/settings-coordinator.js +40 -8
- package/dist/services/settings-document-repository.d.ts +8 -1
- package/dist/services/settings-document-repository.js +22 -1
- package/dist/tui-ui/transcript-inspector-layout.js +13 -6
- package/dist/web/event-hub.d.ts +2 -0
- package/dist/web/event-hub.js +53 -6
- package/dist/web/file-read-service.d.ts +11 -0
- package/dist/web/file-read-service.js +56 -19
- package/dist/web/git-read-model-service.d.ts +8 -0
- package/dist/web/git-read-model-service.js +35 -2
- package/dist/web/protocol.d.ts +193 -3
- package/dist/web/protocol.js +245 -2
- package/dist/web/review-service.d.ts +1 -0
- package/dist/web/review-service.js +1 -0
- package/dist/web/server.js +75 -14
- package/dist/web/session-runtime-registry.d.ts +124 -0
- package/dist/web/session-runtime-registry.js +448 -0
- package/dist/web/terminal-manager.d.ts +1 -0
- package/dist/web/terminal-manager.js +60 -9
- package/dist/web/terminal-server.js +35 -6
- package/dist/web/workbench-controller.d.ts +52 -11
- package/dist/web/workbench-controller.js +1049 -110
- package/dist/web/workspace-mutation-arbiter.d.ts +54 -0
- package/dist/web/workspace-mutation-arbiter.js +267 -0
- package/dist/web-client/assets/{DiffViewer-DpKoD07C.js → DiffViewer-D6mG729y.js} +1 -1
- package/dist/web-client/assets/FilesPanel-CCDoAZ1J.js +2 -0
- package/dist/web-client/assets/{GitPanel-D20StcdG.js → GitPanel-DtNgiH7A.js} +1 -1
- package/dist/web-client/assets/ReviewPanel-CKEBSt6P.js +1 -0
- package/dist/web-client/assets/{TerminalPanel-BLQ592Fb.js → TerminalPanel-CNxMaBLp.js} +15 -13
- package/dist/web-client/assets/index-BBvNg3By.css +1 -0
- package/dist/web-client/assets/index-C6TDJwMC.js +17 -0
- package/dist/web-client/index.html +4 -4
- package/docs/architecture/agent-mode-permission-contract.md +87 -0
- package/docs/architecture/v0.3.1-web-api.yaml +53 -5
- package/docs/architecture/v0.3.2-web-api.yaml +3029 -0
- package/docs/architecture/v0.3.3-web-api.yaml +3205 -0
- package/docs/architecture/v0.3.4-stabilization-contract.md +32 -0
- package/docs/migration/v0.3.1-to-v0.3.2.md +94 -0
- package/docs/migration/v0.3.2-to-v0.3.3.md +62 -0
- package/docs/migration/v0.3.3-to-v0.3.4.md +36 -0
- package/docs/plan/v0.3.1-web-workbench-professional-shell-plan.md +1 -1
- package/docs/plan/v0.3.2-web-workbench-layout-and-composer-plan.md +869 -0
- package/docs/plan/v0.3.3-plan.md +1113 -0
- package/docs/plan/v0.3.4-stabilization-plan.md +89 -0
- package/docs/readme.md +12 -2
- package/docs/test/v0.3.1-web-workbench-e2e-plan.md +1 -1
- package/docs/test/v0.3.2-web-workbench-e2e-plan.md +100 -0
- package/docs/test/v0.3.3-web-workbench-e2e-plan.md +79 -0
- package/docs/test/v0.3.4-stabilization-e2e-plan.md +54 -0
- package/npm-shrinkwrap.json +25 -25
- package/package.json +15 -1
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/commands/context-commands.d.ts.map +0 -1
- package/dist/commands/context-commands.js.map +0 -1
- package/dist/commands/context-tool-command-handlers.d.ts.map +0 -1
- package/dist/commands/context-tool-command-handlers.js.map +0 -1
- package/dist/commands/core-command-handlers.d.ts.map +0 -1
- package/dist/commands/core-command-handlers.js.map +0 -1
- package/dist/commands/diagnostic-command-handlers.d.ts.map +0 -1
- package/dist/commands/diagnostic-command-handlers.js.map +0 -1
- package/dist/commands/diagnostic-commands.d.ts.map +0 -1
- package/dist/commands/diagnostic-commands.js.map +0 -1
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/index.js.map +0 -1
- package/dist/commands/model-command-handlers.d.ts.map +0 -1
- package/dist/commands/model-command-handlers.js.map +0 -1
- package/dist/commands/model-commands.d.ts.map +0 -1
- package/dist/commands/model-commands.js.map +0 -1
- package/dist/commands/parser.d.ts.map +0 -1
- package/dist/commands/parser.js.map +0 -1
- package/dist/commands/registry.d.ts.map +0 -1
- package/dist/commands/registry.js.map +0 -1
- package/dist/commands/session-command-handlers.d.ts.map +0 -1
- package/dist/commands/session-command-handlers.js.map +0 -1
- package/dist/commands/session-commands.d.ts.map +0 -1
- package/dist/commands/session-commands.js.map +0 -1
- package/dist/commands/system-commands.d.ts.map +0 -1
- package/dist/commands/system-commands.js.map +0 -1
- package/dist/commands/target-command.d.ts.map +0 -1
- package/dist/commands/target-command.js.map +0 -1
- package/dist/commands/tool-commands.d.ts.map +0 -1
- package/dist/commands/tool-commands.js.map +0 -1
- package/dist/commands/types.d.ts.map +0 -1
- package/dist/commands/types.js.map +0 -1
- package/dist/commands/workflow-command-handlers.d.ts.map +0 -1
- package/dist/commands/workflow-command-handlers.js.map +0 -1
- package/dist/commands/workflow-commands.d.ts.map +0 -1
- package/dist/commands/workflow-commands.js.map +0 -1
- package/dist/core/checkpoint.d.ts.map +0 -1
- package/dist/core/checkpoint.js.map +0 -1
- package/dist/core/cost-tracker.d.ts.map +0 -1
- package/dist/core/cost-tracker.js.map +0 -1
- package/dist/core/security-warning.d.ts.map +0 -1
- package/dist/core/security-warning.js.map +0 -1
- package/dist/core/strategy-tracker.d.ts.map +0 -1
- package/dist/core/strategy-tracker.js.map +0 -1
- package/dist/core/tool-artifacts.d.ts.map +0 -1
- package/dist/core/tool-artifacts.js.map +0 -1
- package/dist/core/warn-dedup.d.ts.map +0 -1
- package/dist/core/warn-dedup.js.map +0 -1
- package/dist/framework/agent-mode.d.ts.map +0 -1
- package/dist/framework/agent-mode.js.map +0 -1
- package/dist/framework/external-assertion.d.ts.map +0 -1
- package/dist/framework/external-assertion.js.map +0 -1
- package/dist/framework/index.d.ts.map +0 -1
- package/dist/framework/index.js.map +0 -1
- package/dist/framework/loop-budget-contract.d.ts.map +0 -1
- package/dist/framework/loop-budget-contract.js.map +0 -1
- package/dist/framework/prompt.d.ts.map +0 -1
- package/dist/framework/prompt.js.map +0 -1
- package/dist/framework/query.d.ts.map +0 -1
- package/dist/framework/query.js.map +0 -1
- package/dist/framework/stop-decision.d.ts.map +0 -1
- package/dist/framework/stop-decision.js.map +0 -1
- package/dist/framework/store.d.ts.map +0 -1
- package/dist/framework/store.js.map +0 -1
- package/dist/framework/tool-call-orchestrator.d.ts.map +0 -1
- package/dist/framework/tool-call-orchestrator.js.map +0 -1
- package/dist/framework/tool-serializer.d.ts.map +0 -1
- package/dist/framework/tool-serializer.js.map +0 -1
- package/dist/framework/tool-state.d.ts.map +0 -1
- package/dist/framework/tool-state.js.map +0 -1
- package/dist/framework/tool.d.ts.map +0 -1
- package/dist/framework/tool.js.map +0 -1
- package/dist/harness/assembler.d.ts.map +0 -1
- package/dist/harness/assembler.js.map +0 -1
- package/dist/harness/capability-profile.d.ts.map +0 -1
- package/dist/harness/capability-profile.js.map +0 -1
- package/dist/harness/capsule.d.ts.map +0 -1
- package/dist/harness/capsule.js.map +0 -1
- package/dist/harness/compact-benchmark-corpus.d.ts.map +0 -1
- package/dist/harness/compact-benchmark-corpus.js.map +0 -1
- package/dist/harness/context-harness.d.ts.map +0 -1
- package/dist/harness/context-harness.js.map +0 -1
- package/dist/harness/contract.d.ts.map +0 -1
- package/dist/harness/contract.js.map +0 -1
- package/dist/harness/drift-guard.d.ts.map +0 -1
- package/dist/harness/drift-guard.js.map +0 -1
- package/dist/harness/evidence.d.ts.map +0 -1
- package/dist/harness/evidence.js.map +0 -1
- package/dist/harness/index.d.ts.map +0 -1
- package/dist/harness/index.js.map +0 -1
- package/dist/harness/intent.d.ts.map +0 -1
- package/dist/harness/intent.js.map +0 -1
- package/dist/harness/ledger.d.ts.map +0 -1
- package/dist/harness/ledger.js.map +0 -1
- package/dist/harness/progress-controller.d.ts.map +0 -1
- package/dist/harness/progress-controller.js.map +0 -1
- package/dist/harness/state.d.ts.map +0 -1
- package/dist/harness/state.js.map +0 -1
- package/dist/harness/stop-controller.d.ts.map +0 -1
- package/dist/harness/stop-controller.js.map +0 -1
- package/dist/harness/turn-summary.d.ts.map +0 -1
- package/dist/harness/turn-summary.js.map +0 -1
- package/dist/harness/types.d.ts.map +0 -1
- package/dist/harness/types.js.map +0 -1
- package/dist/harness/verification.d.ts.map +0 -1
- package/dist/harness/verification.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/memory/embeddings.d.ts.map +0 -1
- package/dist/memory/embeddings.js.map +0 -1
- package/dist/memory/entrypoint.d.ts.map +0 -1
- package/dist/memory/entrypoint.js.map +0 -1
- package/dist/memory/index.d.ts.map +0 -1
- package/dist/memory/index.js.map +0 -1
- package/dist/memory/prompt-context.d.ts.map +0 -1
- package/dist/memory/prompt-context.js.map +0 -1
- package/dist/memory/prompts.d.ts.map +0 -1
- package/dist/memory/prompts.js.map +0 -1
- package/dist/memory/relevant-finder.d.ts.map +0 -1
- package/dist/memory/relevant-finder.js.map +0 -1
- package/dist/memory/semantic-config.d.ts.map +0 -1
- package/dist/memory/semantic-config.js.map +0 -1
- package/dist/memory/semantic-search.d.ts.map +0 -1
- package/dist/memory/semantic-search.js.map +0 -1
- package/dist/memory/storage.d.ts.map +0 -1
- package/dist/memory/storage.js.map +0 -1
- package/dist/memory/store.d.ts.map +0 -1
- package/dist/memory/store.js.map +0 -1
- package/dist/memory/team-paths.d.ts.map +0 -1
- package/dist/memory/team-paths.js.map +0 -1
- package/dist/memory/types.d.ts.map +0 -1
- package/dist/memory/types.js.map +0 -1
- package/dist/memory/validation.d.ts.map +0 -1
- package/dist/memory/validation.js.map +0 -1
- package/dist/memory/vector-store.d.ts.map +0 -1
- package/dist/memory/vector-store.js.map +0 -1
- package/dist/migration/command.d.ts.map +0 -1
- package/dist/migration/command.js.map +0 -1
- package/dist/migration/index.d.ts.map +0 -1
- package/dist/migration/index.js.map +0 -1
- package/dist/migration/migrate.d.ts.map +0 -1
- package/dist/migration/migrate.js.map +0 -1
- package/dist/migration/types.d.ts.map +0 -1
- package/dist/migration/types.js.map +0 -1
- package/dist/print-ui/launch.d.ts.map +0 -1
- package/dist/print-ui/launch.js.map +0 -1
- package/dist/product/environment.d.ts.map +0 -1
- package/dist/product/environment.js.map +0 -1
- package/dist/product/identity.d.ts.map +0 -1
- package/dist/product/identity.js.map +0 -1
- package/dist/product/index.d.ts.map +0 -1
- package/dist/product/index.js.map +0 -1
- package/dist/product/paths.d.ts.map +0 -1
- package/dist/product/paths.js.map +0 -1
- package/dist/product/version.d.ts.map +0 -1
- package/dist/product/version.js.map +0 -1
- package/dist/runtime/agent-loop.d.ts.map +0 -1
- package/dist/runtime/agent-loop.js.map +0 -1
- package/dist/runtime/agent-runtime-controller.d.ts.map +0 -1
- package/dist/runtime/agent-runtime-controller.js.map +0 -1
- package/dist/runtime/agent-runtime-protocol.d.ts.map +0 -1
- package/dist/runtime/agent-runtime-protocol.js.map +0 -1
- package/dist/runtime/agent-runtime-runner.d.ts.map +0 -1
- package/dist/runtime/agent-runtime-runner.js.map +0 -1
- package/dist/runtime/agent-status.d.ts.map +0 -1
- package/dist/runtime/agent-status.js.map +0 -1
- package/dist/runtime/aggregate-tool-presenter.d.ts.map +0 -1
- package/dist/runtime/aggregate-tool-presenter.js.map +0 -1
- package/dist/runtime/batch-read-service.d.ts.map +0 -1
- package/dist/runtime/batch-read-service.js.map +0 -1
- package/dist/runtime/builtin-tool-provider.d.ts.map +0 -1
- package/dist/runtime/builtin-tool-provider.js.map +0 -1
- package/dist/runtime/capabilities/compiler.d.ts.map +0 -1
- package/dist/runtime/capabilities/compiler.js.map +0 -1
- package/dist/runtime/capabilities/index.d.ts.map +0 -1
- package/dist/runtime/capabilities/index.js.map +0 -1
- package/dist/runtime/capabilities/types.d.ts.map +0 -1
- package/dist/runtime/capabilities/types.js.map +0 -1
- package/dist/runtime/capability-receipt-journal.d.ts.map +0 -1
- package/dist/runtime/capability-receipt-journal.js.map +0 -1
- package/dist/runtime/capability-step-factory.d.ts.map +0 -1
- package/dist/runtime/capability-step-factory.js.map +0 -1
- package/dist/runtime/compact-transaction.d.ts.map +0 -1
- package/dist/runtime/compact-transaction.js.map +0 -1
- package/dist/runtime/composer/buffer.d.ts.map +0 -1
- package/dist/runtime/composer/buffer.js.map +0 -1
- package/dist/runtime/composer/grapheme.d.ts.map +0 -1
- package/dist/runtime/composer/grapheme.js.map +0 -1
- package/dist/runtime/composer/history.d.ts.map +0 -1
- package/dist/runtime/composer/history.js.map +0 -1
- package/dist/runtime/composer/layout.d.ts.map +0 -1
- package/dist/runtime/composer/layout.js.map +0 -1
- package/dist/runtime/core-tools/descriptors.d.ts.map +0 -1
- package/dist/runtime/core-tools/descriptors.js.map +0 -1
- package/dist/runtime/durable-tool-receipt-reader.d.ts.map +0 -1
- package/dist/runtime/durable-tool-receipt-reader.js.map +0 -1
- package/dist/runtime/first-party-core-provider.d.ts.map +0 -1
- package/dist/runtime/first-party-core-provider.js.map +0 -1
- package/dist/runtime/first-party-long-tail-provider.d.ts.map +0 -1
- package/dist/runtime/first-party-long-tail-provider.js.map +0 -1
- package/dist/runtime/first-party-tool-services.d.ts.map +0 -1
- package/dist/runtime/first-party-tool-services.js.map +0 -1
- package/dist/runtime/first-party-tool-universe.d.ts.map +0 -1
- package/dist/runtime/first-party-tool-universe.js.map +0 -1
- package/dist/runtime/goal-lifecycle-v2.d.ts.map +0 -1
- package/dist/runtime/goal-lifecycle-v2.js.map +0 -1
- package/dist/runtime/goal-runtime-coordinator.d.ts.map +0 -1
- package/dist/runtime/goal-runtime-coordinator.js.map +0 -1
- package/dist/runtime/goals/completion-audit.d.ts.map +0 -1
- package/dist/runtime/goals/completion-audit.js.map +0 -1
- package/dist/runtime/goals/evidence.d.ts.map +0 -1
- package/dist/runtime/goals/evidence.js.map +0 -1
- package/dist/runtime/goals/objective.d.ts.map +0 -1
- package/dist/runtime/goals/objective.js.map +0 -1
- package/dist/runtime/goals/presentation.d.ts.map +0 -1
- package/dist/runtime/goals/presentation.js.map +0 -1
- package/dist/runtime/goals/types.d.ts.map +0 -1
- package/dist/runtime/goals/types.js.map +0 -1
- package/dist/runtime/harness-confluence.d.ts.map +0 -1
- package/dist/runtime/harness-confluence.js.map +0 -1
- package/dist/runtime/harness-eval.d.ts.map +0 -1
- package/dist/runtime/harness-eval.js.map +0 -1
- package/dist/runtime/harness-metrics.d.ts.map +0 -1
- package/dist/runtime/harness-metrics.js.map +0 -1
- package/dist/runtime/legacy-session-importer.d.ts.map +0 -1
- package/dist/runtime/legacy-session-importer.js.map +0 -1
- package/dist/runtime/legacy-thread-materializer.d.ts.map +0 -1
- package/dist/runtime/legacy-thread-materializer.js.map +0 -1
- package/dist/runtime/long-tail-tools/descriptors.d.ts.map +0 -1
- package/dist/runtime/long-tail-tools/descriptors.js.map +0 -1
- package/dist/runtime/loop-budget.d.ts.map +0 -1
- package/dist/runtime/loop-budget.js.map +0 -1
- package/dist/runtime/mcp/first-party-mcp-adapter.d.ts.map +0 -1
- package/dist/runtime/mcp/first-party-mcp-adapter.js.map +0 -1
- package/dist/runtime/mcp/first-party-mcp-config.d.ts.map +0 -1
- package/dist/runtime/mcp/first-party-mcp-config.js.map +0 -1
- package/dist/runtime/mcp/index.d.ts.map +0 -1
- package/dist/runtime/mcp/index.js.map +0 -1
- package/dist/runtime/mcp/lazy-mcp-runtime.d.ts.map +0 -1
- package/dist/runtime/mcp/lazy-mcp-runtime.js.map +0 -1
- package/dist/runtime/mcp/types.d.ts.map +0 -1
- package/dist/runtime/mcp/types.js.map +0 -1
- package/dist/runtime/model-coordinator.d.ts.map +0 -1
- package/dist/runtime/model-coordinator.js.map +0 -1
- package/dist/runtime/orion-runtime-v1.d.ts.map +0 -1
- package/dist/runtime/orion-runtime-v1.js.map +0 -1
- package/dist/runtime/orion-session-runner.d.ts.map +0 -1
- package/dist/runtime/orion-session-runner.js.map +0 -1
- package/dist/runtime/product-bootstrap.d.ts.map +0 -1
- package/dist/runtime/product-bootstrap.js.map +0 -1
- package/dist/runtime/product-orion-runtime.d.ts.map +0 -1
- package/dist/runtime/product-orion-runtime.js.map +0 -1
- package/dist/runtime/prompts/index.d.ts.map +0 -1
- package/dist/runtime/prompts/index.js.map +0 -1
- package/dist/runtime/prompts/prompt-registry.d.ts.map +0 -1
- package/dist/runtime/prompts/prompt-registry.js.map +0 -1
- package/dist/runtime/prompts/types.d.ts.map +0 -1
- package/dist/runtime/prompts/types.js.map +0 -1
- package/dist/runtime/protocol/canonical.d.ts.map +0 -1
- package/dist/runtime/protocol/canonical.js.map +0 -1
- package/dist/runtime/protocol/index.d.ts.map +0 -1
- package/dist/runtime/protocol/index.js.map +0 -1
- package/dist/runtime/protocol/runtime-protocol-v1.d.ts.map +0 -1
- package/dist/runtime/protocol/runtime-protocol-v1.js.map +0 -1
- package/dist/runtime/release-receipts.d.ts.map +0 -1
- package/dist/runtime/release-receipts.js.map +0 -1
- package/dist/runtime/resource-scope.d.ts.map +0 -1
- package/dist/runtime/resource-scope.js.map +0 -1
- package/dist/runtime/rich-text/ansi-parser.d.ts.map +0 -1
- package/dist/runtime/rich-text/ansi-parser.js.map +0 -1
- package/dist/runtime/rich-text/layout.d.ts.map +0 -1
- package/dist/runtime/rich-text/layout.js.map +0 -1
- package/dist/runtime/rich-text/markdown-parser.d.ts.map +0 -1
- package/dist/runtime/rich-text/markdown-parser.js.map +0 -1
- package/dist/runtime/rich-text/sanitizer.d.ts.map +0 -1
- package/dist/runtime/rich-text/sanitizer.js.map +0 -1
- package/dist/runtime/rich-text/types.d.ts.map +0 -1
- package/dist/runtime/rich-text/types.js.map +0 -1
- package/dist/runtime/runtime-event-buffer.d.ts.map +0 -1
- package/dist/runtime/runtime-event-buffer.js.map +0 -1
- package/dist/runtime/runtime-services.d.ts.map +0 -1
- package/dist/runtime/runtime-services.js.map +0 -1
- package/dist/runtime/session-history-recovery.d.ts.map +0 -1
- package/dist/runtime/session-history-recovery.js.map +0 -1
- package/dist/runtime/skills/bounded-lru-cache.d.ts.map +0 -1
- package/dist/runtime/skills/bounded-lru-cache.js.map +0 -1
- package/dist/runtime/skills/filesystem-skill-provider.d.ts.map +0 -1
- package/dist/runtime/skills/filesystem-skill-provider.js.map +0 -1
- package/dist/runtime/skills/index.d.ts.map +0 -1
- package/dist/runtime/skills/index.js.map +0 -1
- package/dist/runtime/skills/lazy-skill-runtime.d.ts.map +0 -1
- package/dist/runtime/skills/lazy-skill-runtime.js.map +0 -1
- package/dist/runtime/skills/types.d.ts.map +0 -1
- package/dist/runtime/skills/types.js.map +0 -1
- package/dist/runtime/step-snapshot.d.ts.map +0 -1
- package/dist/runtime/step-snapshot.js.map +0 -1
- package/dist/runtime/subagent-thread-runtime.d.ts.map +0 -1
- package/dist/runtime/subagent-thread-runtime.js.map +0 -1
- package/dist/runtime/subagents/budget.d.ts.map +0 -1
- package/dist/runtime/subagents/budget.js.map +0 -1
- package/dist/runtime/subagents/child-executor-guard.d.ts.map +0 -1
- package/dist/runtime/subagents/child-executor-guard.js.map +0 -1
- package/dist/runtime/subagents/context-builder.d.ts.map +0 -1
- package/dist/runtime/subagents/context-builder.js.map +0 -1
- package/dist/runtime/subagents/index.d.ts.map +0 -1
- package/dist/runtime/subagents/index.js.map +0 -1
- package/dist/runtime/subagents/parent-step-fork.d.ts.map +0 -1
- package/dist/runtime/subagents/parent-step-fork.js.map +0 -1
- package/dist/runtime/subagents/policy.d.ts.map +0 -1
- package/dist/runtime/subagents/policy.js.map +0 -1
- package/dist/runtime/subagents/presets.d.ts.map +0 -1
- package/dist/runtime/subagents/presets.js.map +0 -1
- package/dist/runtime/subagents/production.d.ts.map +0 -1
- package/dist/runtime/subagents/production.js.map +0 -1
- package/dist/runtime/subagents/provider-gate.d.ts.map +0 -1
- package/dist/runtime/subagents/provider-gate.js.map +0 -1
- package/dist/runtime/subagents/receipt-journal.d.ts.map +0 -1
- package/dist/runtime/subagents/receipt-journal.js.map +0 -1
- package/dist/runtime/subagents/research-artifact.d.ts.map +0 -1
- package/dist/runtime/subagents/research-artifact.js.map +0 -1
- package/dist/runtime/subagents/research-citation.d.ts.map +0 -1
- package/dist/runtime/subagents/research-citation.js.map +0 -1
- package/dist/runtime/subagents/research-contract.d.ts.map +0 -1
- package/dist/runtime/subagents/research-contract.js.map +0 -1
- package/dist/runtime/subagents/research-quality.d.ts.map +0 -1
- package/dist/runtime/subagents/research-quality.js.map +0 -1
- package/dist/runtime/subagents/research-renderer.d.ts.map +0 -1
- package/dist/runtime/subagents/research-renderer.js.map +0 -1
- package/dist/runtime/subagents/research-types.d.ts.map +0 -1
- package/dist/runtime/subagents/research-types.js.map +0 -1
- package/dist/runtime/subagents/result-parser.d.ts.map +0 -1
- package/dist/runtime/subagents/result-parser.js.map +0 -1
- package/dist/runtime/subagents/runner.d.ts.map +0 -1
- package/dist/runtime/subagents/runner.js.map +0 -1
- package/dist/runtime/subagents/runtime-contract.d.ts.map +0 -1
- package/dist/runtime/subagents/runtime-contract.js.map +0 -1
- package/dist/runtime/subagents/runtime-integration.d.ts.map +0 -1
- package/dist/runtime/subagents/runtime-integration.js.map +0 -1
- package/dist/runtime/subagents/supervisor.d.ts.map +0 -1
- package/dist/runtime/subagents/supervisor.js.map +0 -1
- package/dist/runtime/subagents/tool.d.ts.map +0 -1
- package/dist/runtime/subagents/tool.js.map +0 -1
- package/dist/runtime/subagents/types.d.ts.map +0 -1
- package/dist/runtime/subagents/types.js.map +0 -1
- package/dist/runtime/subagents/web-research-adapter.d.ts.map +0 -1
- package/dist/runtime/subagents/web-research-adapter.js.map +0 -1
- package/dist/runtime/task-context-service.d.ts.map +0 -1
- package/dist/runtime/task-context-service.js.map +0 -1
- package/dist/runtime/thread-admission.d.ts.map +0 -1
- package/dist/runtime/thread-admission.js.map +0 -1
- package/dist/runtime/thread-compact-persistence.d.ts.map +0 -1
- package/dist/runtime/thread-compact-persistence.js.map +0 -1
- package/dist/runtime/thread-event-store.d.ts.map +0 -1
- package/dist/runtime/thread-event-store.js.map +0 -1
- package/dist/runtime/thread-projection.d.ts.map +0 -1
- package/dist/runtime/thread-projection.js.map +0 -1
- package/dist/runtime/thread-runtime.d.ts.map +0 -1
- package/dist/runtime/thread-runtime.js.map +0 -1
- package/dist/runtime/thread-session-index.d.ts.map +0 -1
- package/dist/runtime/thread-session-index.js.map +0 -1
- package/dist/runtime/thread-session-view.d.ts.map +0 -1
- package/dist/runtime/thread-session-view.js.map +0 -1
- package/dist/runtime/thread-tool-journal.d.ts.map +0 -1
- package/dist/runtime/thread-tool-journal.js.map +0 -1
- package/dist/runtime/thread-ui-adapter.d.ts.map +0 -1
- package/dist/runtime/thread-ui-adapter.js.map +0 -1
- package/dist/runtime/tool-detail-repository.d.ts.map +0 -1
- package/dist/runtime/tool-detail-repository.js.map +0 -1
- package/dist/runtime/tool-gateway.d.ts.map +0 -1
- package/dist/runtime/tool-gateway.js.map +0 -1
- package/dist/runtime/tool-output-presentation.d.ts.map +0 -1
- package/dist/runtime/tool-output-presentation.js.map +0 -1
- package/dist/runtime/tool-receipt-validator.d.ts.map +0 -1
- package/dist/runtime/tool-receipt-validator.js.map +0 -1
- package/dist/runtime/turn-commit.d.ts.map +0 -1
- package/dist/runtime/turn-commit.js.map +0 -1
- package/dist/runtime/turn-controller.d.ts.map +0 -1
- package/dist/runtime/turn-controller.js.map +0 -1
- package/dist/runtime/ui-events.d.ts.map +0 -1
- package/dist/runtime/ui-events.js.map +0 -1
- package/dist/runtime/ui-view-model.d.ts.map +0 -1
- package/dist/runtime/ui-view-model.js.map +0 -1
- package/dist/services/atomic-write.d.ts.map +0 -1
- package/dist/services/atomic-write.js.map +0 -1
- package/dist/services/auth/auth.d.ts.map +0 -1
- package/dist/services/auth/auth.js.map +0 -1
- package/dist/services/auth/aws.d.ts.map +0 -1
- package/dist/services/auth/aws.js.map +0 -1
- package/dist/services/auth/index.d.ts.map +0 -1
- package/dist/services/auth/index.js.map +0 -1
- package/dist/services/auto-fix/autoFixConfig.d.ts.map +0 -1
- package/dist/services/auto-fix/autoFixConfig.js.map +0 -1
- package/dist/services/auto-fix/autoFixHook.d.ts.map +0 -1
- package/dist/services/auto-fix/autoFixHook.js.map +0 -1
- package/dist/services/auto-fix/autoFixRunner.d.ts.map +0 -1
- package/dist/services/auto-fix/autoFixRunner.js.map +0 -1
- package/dist/services/auto-fix/index.d.ts.map +0 -1
- package/dist/services/auto-fix/index.js.map +0 -1
- package/dist/services/bounded-response.d.ts.map +0 -1
- package/dist/services/bounded-response.js.map +0 -1
- package/dist/services/commit-plan.d.ts.map +0 -1
- package/dist/services/commit-plan.js.map +0 -1
- package/dist/services/compact/auto-compact.d.ts.map +0 -1
- package/dist/services/compact/auto-compact.js.map +0 -1
- package/dist/services/compact/compact.d.ts.map +0 -1
- package/dist/services/compact/compact.js.map +0 -1
- package/dist/services/compact/coordinator.d.ts.map +0 -1
- package/dist/services/compact/coordinator.js.map +0 -1
- package/dist/services/compact/fingerprint.d.ts.map +0 -1
- package/dist/services/compact/fingerprint.js.map +0 -1
- package/dist/services/compact/index.d.ts.map +0 -1
- package/dist/services/compact/index.js.map +0 -1
- package/dist/services/compact/planner.d.ts.map +0 -1
- package/dist/services/compact/planner.js.map +0 -1
- package/dist/services/compact/semantic-summary.d.ts.map +0 -1
- package/dist/services/compact/semantic-summary.js.map +0 -1
- package/dist/services/compact/summary-generator.d.ts.map +0 -1
- package/dist/services/compact/summary-generator.js.map +0 -1
- package/dist/services/compact/tool-call-groups.d.ts.map +0 -1
- package/dist/services/compact/tool-call-groups.js.map +0 -1
- package/dist/services/concurrent-sessions.d.ts.map +0 -1
- package/dist/services/concurrent-sessions.js.map +0 -1
- package/dist/services/config-dir.d.ts.map +0 -1
- package/dist/services/config-dir.js.map +0 -1
- package/dist/services/config.d.ts.map +0 -1
- package/dist/services/config.js.map +0 -1
- package/dist/services/diagnostic-tracking/diagnosticTracking.d.ts.map +0 -1
- package/dist/services/diagnostic-tracking/diagnosticTracking.js.map +0 -1
- package/dist/services/diagnostic-tracking/formatter.d.ts.map +0 -1
- package/dist/services/diagnostic-tracking/formatter.js.map +0 -1
- package/dist/services/diagnostic-tracking/index.d.ts.map +0 -1
- package/dist/services/diagnostic-tracking/index.js.map +0 -1
- package/dist/services/diagnostic-tracking/types.d.ts.map +0 -1
- package/dist/services/diagnostic-tracking/types.js.map +0 -1
- package/dist/services/doctor.d.ts.map +0 -1
- package/dist/services/doctor.js.map +0 -1
- package/dist/services/effort.d.ts.map +0 -1
- package/dist/services/effort.js.map +0 -1
- package/dist/services/file-context.d.ts.map +0 -1
- package/dist/services/file-context.js.map +0 -1
- package/dist/services/file-glob.d.ts.map +0 -1
- package/dist/services/file-glob.js.map +0 -1
- package/dist/services/file-lock.d.ts.map +0 -1
- package/dist/services/file-lock.js.map +0 -1
- package/dist/services/format.d.ts.map +0 -1
- package/dist/services/format.js.map +0 -1
- package/dist/services/global-config.d.ts.map +0 -1
- package/dist/services/global-config.js.map +0 -1
- package/dist/services/goal-storage.d.ts.map +0 -1
- package/dist/services/goal-storage.js.map +0 -1
- package/dist/services/llm.d.ts.map +0 -1
- package/dist/services/llm.js.map +0 -1
- package/dist/services/mcp/index.d.ts.map +0 -1
- package/dist/services/mcp/index.js.map +0 -1
- package/dist/services/mcp/transports.d.ts.map +0 -1
- package/dist/services/mcp/transports.js.map +0 -1
- package/dist/services/memory.d.ts.map +0 -1
- package/dist/services/memory.js.map +0 -1
- package/dist/services/model-catalog.d.ts.map +0 -1
- package/dist/services/model-catalog.js.map +0 -1
- package/dist/services/model-client-pool.d.ts.map +0 -1
- package/dist/services/model-client-pool.js.map +0 -1
- package/dist/services/model-context.d.ts.map +0 -1
- package/dist/services/model-context.js.map +0 -1
- package/dist/services/model-registry.d.ts.map +0 -1
- package/dist/services/model-registry.js.map +0 -1
- package/dist/services/project-instructions.d.ts.map +0 -1
- package/dist/services/project-instructions.js.map +0 -1
- package/dist/services/prompt-context.d.ts.map +0 -1
- package/dist/services/prompt-context.js.map +0 -1
- package/dist/services/provider-diagnostics.d.ts.map +0 -1
- package/dist/services/provider-diagnostics.js.map +0 -1
- package/dist/services/provider-resilience/circuit-breaker.d.ts.map +0 -1
- package/dist/services/provider-resilience/circuit-breaker.js.map +0 -1
- package/dist/services/provider-resilience/coordinator.d.ts.map +0 -1
- package/dist/services/provider-resilience/coordinator.js.map +0 -1
- package/dist/services/provider-resilience/error-classifier.d.ts.map +0 -1
- package/dist/services/provider-resilience/error-classifier.js.map +0 -1
- package/dist/services/provider-resilience/index.d.ts.map +0 -1
- package/dist/services/provider-resilience/index.js.map +0 -1
- package/dist/services/provider-resilience/request-gate.d.ts.map +0 -1
- package/dist/services/provider-resilience/request-gate.js.map +0 -1
- package/dist/services/provider-resilience/stream-recovery.d.ts.map +0 -1
- package/dist/services/provider-resilience/stream-recovery.js.map +0 -1
- package/dist/services/provider-resilience/types.d.ts.map +0 -1
- package/dist/services/provider-resilience/types.js.map +0 -1
- package/dist/services/redaction.d.ts.map +0 -1
- package/dist/services/redaction.js.map +0 -1
- package/dist/services/safe-project-reader.d.ts.map +0 -1
- package/dist/services/safe-project-reader.js.map +0 -1
- package/dist/services/session-index.d.ts.map +0 -1
- package/dist/services/session-index.js.map +0 -1
- package/dist/services/session-memory/index.d.ts.map +0 -1
- package/dist/services/session-memory/index.js.map +0 -1
- package/dist/services/session-memory/prompts.d.ts.map +0 -1
- package/dist/services/session-memory/prompts.js.map +0 -1
- package/dist/services/session-memory/sessionMemory.d.ts.map +0 -1
- package/dist/services/session-memory/sessionMemory.js.map +0 -1
- package/dist/services/session-storage.d.ts.map +0 -1
- package/dist/services/session-storage.js.map +0 -1
- package/dist/services/settings-coordinator.d.ts.map +0 -1
- package/dist/services/settings-coordinator.js.map +0 -1
- package/dist/services/settings-document-repository.d.ts.map +0 -1
- package/dist/services/settings-document-repository.js.map +0 -1
- package/dist/services/smart-routing.d.ts.map +0 -1
- package/dist/services/smart-routing.js.map +0 -1
- package/dist/services/storage-maintenance.d.ts.map +0 -1
- package/dist/services/storage-maintenance.js.map +0 -1
- package/dist/services/tool-allowlist.d.ts.map +0 -1
- package/dist/services/tool-allowlist.js.map +0 -1
- package/dist/services/usage-state.d.ts.map +0 -1
- package/dist/services/usage-state.js.map +0 -1
- package/dist/services/verification-profile.d.ts.map +0 -1
- package/dist/services/verification-profile.js.map +0 -1
- package/dist/services/web-search-adapters.d.ts.map +0 -1
- package/dist/services/web-search-adapters.js.map +0 -1
- package/dist/services/web-search-mcp.d.ts.map +0 -1
- package/dist/services/web-search-mcp.js.map +0 -1
- package/dist/services/web-search-provider.d.ts.map +0 -1
- package/dist/services/web-search-provider.js.map +0 -1
- package/dist/services/workspace-containment.d.ts.map +0 -1
- package/dist/services/workspace-containment.js.map +0 -1
- package/dist/services/workspace-diff.d.ts.map +0 -1
- package/dist/services/workspace-diff.js.map +0 -1
- package/dist/services/workspace-registry.d.ts.map +0 -1
- package/dist/services/workspace-registry.js.map +0 -1
- package/dist/services/workspace-state.d.ts.map +0 -1
- package/dist/services/workspace-state.js.map +0 -1
- package/dist/services/yaml-config.d.ts.map +0 -1
- package/dist/services/yaml-config.js.map +0 -1
- package/dist/terminal-ui/completion.d.ts.map +0 -1
- package/dist/terminal-ui/completion.js.map +0 -1
- package/dist/terminal-ui/editor.d.ts.map +0 -1
- package/dist/terminal-ui/editor.js.map +0 -1
- package/dist/terminal-ui/launch.d.ts.map +0 -1
- package/dist/terminal-ui/launch.js.map +0 -1
- package/dist/terminal-ui/output-queue.d.ts.map +0 -1
- package/dist/terminal-ui/output-queue.js.map +0 -1
- package/dist/terminal-ui/raw-editor.d.ts.map +0 -1
- package/dist/terminal-ui/raw-editor.js.map +0 -1
- package/dist/tools/_validate.d.ts.map +0 -1
- package/dist/tools/_validate.js.map +0 -1
- package/dist/tools/bash_security.d.ts.map +0 -1
- package/dist/tools/bash_security.js.map +0 -1
- package/dist/tools/core/common.d.ts.map +0 -1
- package/dist/tools/core/common.js.map +0 -1
- package/dist/tools/core/edit-file.d.ts.map +0 -1
- package/dist/tools/core/edit-file.js.map +0 -1
- package/dist/tools/core/exec-command.d.ts.map +0 -1
- package/dist/tools/core/exec-command.js.map +0 -1
- package/dist/tools/core/glob.d.ts.map +0 -1
- package/dist/tools/core/glob.js.map +0 -1
- package/dist/tools/core/grep.d.ts.map +0 -1
- package/dist/tools/core/grep.js.map +0 -1
- package/dist/tools/core/index.d.ts.map +0 -1
- package/dist/tools/core/index.js.map +0 -1
- package/dist/tools/core/list-files.d.ts.map +0 -1
- package/dist/tools/core/list-files.js.map +0 -1
- package/dist/tools/core/read-file.d.ts.map +0 -1
- package/dist/tools/core/read-file.js.map +0 -1
- package/dist/tools/core/write-file.d.ts.map +0 -1
- package/dist/tools/core/write-file.js.map +0 -1
- package/dist/tools/git.d.ts.map +0 -1
- package/dist/tools/git.js.map +0 -1
- package/dist/tools/lsp.d.ts.map +0 -1
- package/dist/tools/lsp.js.map +0 -1
- package/dist/tools/sandbox.d.ts.map +0 -1
- package/dist/tools/sandbox.js.map +0 -1
- package/dist/tools/todo.d.ts.map +0 -1
- package/dist/tools/todo.js.map +0 -1
- package/dist/tools/web.d.ts.map +0 -1
- package/dist/tools/web.js.map +0 -1
- package/dist/tui-core/frame.d.ts.map +0 -1
- package/dist/tui-core/frame.js.map +0 -1
- package/dist/tui-core/input-parser.d.ts.map +0 -1
- package/dist/tui-core/input-parser.js.map +0 -1
- package/dist/tui-core/style.d.ts.map +0 -1
- package/dist/tui-core/style.js.map +0 -1
- package/dist/tui-core/terminal-writer.d.ts.map +0 -1
- package/dist/tui-core/terminal-writer.js.map +0 -1
- package/dist/tui-ui/chrome-view-model.d.ts.map +0 -1
- package/dist/tui-ui/chrome-view-model.js.map +0 -1
- package/dist/tui-ui/inline-surface.d.ts.map +0 -1
- package/dist/tui-ui/inline-surface.js.map +0 -1
- package/dist/tui-ui/input-ownership.d.ts.map +0 -1
- package/dist/tui-ui/input-ownership.js.map +0 -1
- package/dist/tui-ui/launch.d.ts.map +0 -1
- package/dist/tui-ui/launch.js.map +0 -1
- package/dist/tui-ui/layout.d.ts.map +0 -1
- package/dist/tui-ui/layout.js.map +0 -1
- package/dist/tui-ui/pickers.d.ts.map +0 -1
- package/dist/tui-ui/pickers.js.map +0 -1
- package/dist/tui-ui/pixel-mascot.d.ts.map +0 -1
- package/dist/tui-ui/pixel-mascot.js.map +0 -1
- package/dist/tui-ui/render-scheduler.d.ts.map +0 -1
- package/dist/tui-ui/render-scheduler.js.map +0 -1
- package/dist/tui-ui/runner.d.ts.map +0 -1
- package/dist/tui-ui/runner.js.map +0 -1
- package/dist/tui-ui/state.d.ts.map +0 -1
- package/dist/tui-ui/state.js.map +0 -1
- package/dist/tui-ui/terminal-image.d.ts.map +0 -1
- package/dist/tui-ui/terminal-image.js.map +0 -1
- package/dist/tui-ui/theme-profile.d.ts.map +0 -1
- package/dist/tui-ui/theme-profile.js.map +0 -1
- package/dist/tui-ui/theme.d.ts.map +0 -1
- package/dist/tui-ui/theme.js.map +0 -1
- package/dist/tui-ui/transcript-cache.d.ts.map +0 -1
- package/dist/tui-ui/transcript-cache.js.map +0 -1
- package/dist/tui-ui/transcript-inspector-layout.d.ts.map +0 -1
- package/dist/tui-ui/transcript-inspector-layout.js.map +0 -1
- package/dist/tui-ui/transcript-inspector-surface.d.ts.map +0 -1
- package/dist/tui-ui/transcript-inspector-surface.js.map +0 -1
- package/dist/tui-ui/transcript-inspector.d.ts.map +0 -1
- package/dist/tui-ui/transcript-inspector.js.map +0 -1
- package/dist/tui-ui/transcript-layout.d.ts.map +0 -1
- package/dist/tui-ui/transcript-layout.js.map +0 -1
- package/dist/ui/box.d.ts.map +0 -1
- package/dist/ui/box.js.map +0 -1
- package/dist/ui/command-panel.d.ts.map +0 -1
- package/dist/ui/command-panel.js.map +0 -1
- package/dist/ui/file-completion.d.ts.map +0 -1
- package/dist/ui/file-completion.js.map +0 -1
- package/dist/ui/markdown.d.ts.map +0 -1
- package/dist/ui/markdown.js.map +0 -1
- package/dist/ui/multiline-input.d.ts.map +0 -1
- package/dist/ui/multiline-input.js.map +0 -1
- package/dist/ui/progress.d.ts.map +0 -1
- package/dist/ui/progress.js.map +0 -1
- package/dist/ui/shared/command-palette.d.ts.map +0 -1
- package/dist/ui/shared/command-palette.js.map +0 -1
- package/dist/ui/shared/command-suggestions.d.ts.map +0 -1
- package/dist/ui/shared/command-suggestions.js.map +0 -1
- package/dist/ui/shared/input-frame.d.ts.map +0 -1
- package/dist/ui/shared/input-frame.js.map +0 -1
- package/dist/ui/shared/text.d.ts.map +0 -1
- package/dist/ui/shared/text.js.map +0 -1
- package/dist/ui/shared/types.d.ts.map +0 -1
- package/dist/ui/shared/types.js.map +0 -1
- package/dist/ui/status-bar.d.ts.map +0 -1
- package/dist/ui/status-bar.js.map +0 -1
- package/dist/ui/stream-markdown.d.ts.map +0 -1
- package/dist/ui/stream-markdown.js.map +0 -1
- package/dist/ui/suggestions.d.ts.map +0 -1
- package/dist/ui/suggestions.js.map +0 -1
- package/dist/ui/tool-preview.d.ts.map +0 -1
- package/dist/ui/tool-preview.js.map +0 -1
- package/dist/ui/user-input.d.ts.map +0 -1
- package/dist/ui/user-input.js.map +0 -1
- package/dist/utils/debug-log.d.ts.map +0 -1
- package/dist/utils/debug-log.js.map +0 -1
- package/dist/utils/errors.d.ts.map +0 -1
- package/dist/utils/errors.js.map +0 -1
- package/dist/utils/json.d.ts.map +0 -1
- package/dist/utils/json.js.map +0 -1
- package/dist/utils/mask.d.ts.map +0 -1
- package/dist/utils/mask.js.map +0 -1
- package/dist/utils/observability.d.ts.map +0 -1
- package/dist/utils/observability.js.map +0 -1
- package/dist/utils/token-estimate.d.ts.map +0 -1
- package/dist/utils/token-estimate.js.map +0 -1
- package/dist/web/errors.d.ts.map +0 -1
- package/dist/web/errors.js.map +0 -1
- package/dist/web/event-hub.d.ts.map +0 -1
- package/dist/web/event-hub.js.map +0 -1
- package/dist/web/file-read-service.d.ts.map +0 -1
- package/dist/web/file-read-service.js.map +0 -1
- package/dist/web/git-read-model-service.d.ts.map +0 -1
- package/dist/web/git-read-model-service.js.map +0 -1
- package/dist/web/index.d.ts.map +0 -1
- package/dist/web/index.js.map +0 -1
- package/dist/web/launch.d.ts.map +0 -1
- package/dist/web/launch.js.map +0 -1
- package/dist/web/protocol.d.ts.map +0 -1
- package/dist/web/protocol.js.map +0 -1
- package/dist/web/review-service.d.ts.map +0 -1
- package/dist/web/review-service.js.map +0 -1
- package/dist/web/server.d.ts.map +0 -1
- package/dist/web/server.js.map +0 -1
- package/dist/web/terminal-manager.d.ts.map +0 -1
- package/dist/web/terminal-manager.js.map +0 -1
- package/dist/web/terminal-server.d.ts.map +0 -1
- package/dist/web/terminal-server.js.map +0 -1
- package/dist/web/workbench-controller.d.ts.map +0 -1
- package/dist/web/workbench-controller.js.map +0 -1
- package/dist/web-client/assets/FilesPanel-BkoLmgjR.js +0 -2
- package/dist/web-client/assets/ReviewPanel-3MVWbMQV.js +0 -1
- package/dist/web-client/assets/index-BkIDl_xk.js +0 -16
- package/dist/web-client/assets/index-DXMpnWE8.css +0 -1
|
@@ -2,12 +2,14 @@ import type { Store } from '../framework/store';
|
|
|
2
2
|
import type { OrionCodeCLIConfig } from '../services/config';
|
|
3
3
|
import type { CompactCoordinator } from '../services/compact/coordinator';
|
|
4
4
|
import { LLMService } from '../services/llm';
|
|
5
|
+
import type { ProviderRequestGate } from '../services/provider-resilience/request-gate';
|
|
5
6
|
import { type BuiltinToolCatalogV1 } from './builtin-tool-provider';
|
|
6
7
|
import type { McpConnectorV1, McpServerDescriptorInputV1 } from './mcp';
|
|
7
8
|
import { type OrionRuntimeV1 } from './orion-runtime-v1';
|
|
8
9
|
import type { SkillProviderV1 } from './skills';
|
|
9
10
|
import type { FirstPartyApprovalHandlerV1 } from './first-party-tool-services';
|
|
10
11
|
import type { ThreadSessionRuntimeActivationV1 } from './thread-session-view';
|
|
12
|
+
import { type WorkspaceMutationCoordinatorV1 } from './step-snapshot';
|
|
11
13
|
import type { SubagentThreadReceiptV1 } from './subagent-thread-runtime';
|
|
12
14
|
import { type SubagentRole } from './subagents/types';
|
|
13
15
|
export interface ProductOrionRuntimeOptionsV1 {
|
|
@@ -22,6 +24,9 @@ export interface ProductOrionRuntimeOptionsV1 {
|
|
|
22
24
|
readonly mcpDescriptors?: readonly McpServerDescriptorInputV1[];
|
|
23
25
|
readonly mcpConnector?: McpConnectorV1;
|
|
24
26
|
readonly approvalHandler?: FirstPartyApprovalHandlerV1;
|
|
27
|
+
readonly workspaceMutationCoordinator?: WorkspaceMutationCoordinatorV1;
|
|
28
|
+
/** Workspace-scoped provider concurrency/cooldown authority shared by root and child calls. */
|
|
29
|
+
readonly providerRequestGate?: ProviderRequestGate;
|
|
25
30
|
/** Must create a distinct mutable provider client for every child request. */
|
|
26
31
|
readonly createSubagentModelExecutor?: (input: {
|
|
27
32
|
readonly role: SubagentRole;
|
|
@@ -19,6 +19,7 @@ const legacy_thread_materializer_1 = require("./legacy-thread-materializer");
|
|
|
19
19
|
const orion_runtime_v1_1 = require("./orion-runtime-v1");
|
|
20
20
|
const prompts_1 = require("./prompts");
|
|
21
21
|
const canonical_1 = require("./protocol/canonical");
|
|
22
|
+
const plan_review_1 = require("./plan-review");
|
|
22
23
|
const session_history_recovery_1 = require("./session-history-recovery");
|
|
23
24
|
const step_snapshot_1 = require("./step-snapshot");
|
|
24
25
|
const production_1 = require("./subagents/production");
|
|
@@ -31,7 +32,6 @@ const turn_commit_1 = require("./turn-commit");
|
|
|
31
32
|
/** Build one explicit OrionRuntime owner for a legacy Session/v2 Thread identity. */
|
|
32
33
|
function createProductOrionRuntimeV1(options, sessionId, activation) {
|
|
33
34
|
let promptState;
|
|
34
|
-
const scheduledPlanReceipts = new Set();
|
|
35
35
|
let openedStorage = activation
|
|
36
36
|
? openedStorageFromActivation(options.cwd, sessionId, activation)
|
|
37
37
|
: (0, legacy_thread_materializer_1.openSessionStorageV1)(options.cwd, sessionId);
|
|
@@ -103,6 +103,7 @@ function createProductOrionRuntimeV1(options, sessionId, activation) {
|
|
|
103
103
|
connector: options.mcpConnector ?? INERT_MCP_CONNECTOR,
|
|
104
104
|
},
|
|
105
105
|
approvalHandler: options.approvalHandler,
|
|
106
|
+
workspaceMutationCoordinator: options.workspaceMutationCoordinator,
|
|
106
107
|
...(subagents ? { subagents } : {}),
|
|
107
108
|
resolveCapabilityConfiguration: async (input, context) => {
|
|
108
109
|
if (!promptState || promptState.turnId !== input.turnId) {
|
|
@@ -166,21 +167,20 @@ function createProductOrionRuntimeV1(options, sessionId, activation) {
|
|
|
166
167
|
synchronizeSessionThreadReadModel(sessionId, storage.generation, runtime.graph.eventStore);
|
|
167
168
|
const planReceipt = planReceiptFromCommit(durableCommit);
|
|
168
169
|
if (planReceipt) {
|
|
169
|
-
|
|
170
|
-
|
|
170
|
+
const review = (0, plan_review_1.ensurePlanReviewRequestedV1)(runtime.graph.eventStore, planReceipt, options.store.getSnapshot().currentModel);
|
|
171
|
+
projectPlanReceipt(options.store, planReceipt, review.status);
|
|
171
172
|
}
|
|
172
173
|
},
|
|
173
|
-
onRuntimeStarted: ({ restoredCommit,
|
|
174
|
+
onRuntimeStarted: ({ restoredCommit, eventStore }) => {
|
|
174
175
|
synchronizeSessionThreadReadModel(sessionId, storage.generation, eventStore);
|
|
175
176
|
if (restoredCommit)
|
|
176
177
|
projectRestoredTurnCommit(options.store, restoredCommit);
|
|
177
|
-
const planReceipt =
|
|
178
|
+
const planReceipt = latestDurablePlanReceipt(eventStore);
|
|
178
179
|
if (!planReceipt)
|
|
179
180
|
return;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
181
|
+
const review = (0, plan_review_1.ensurePlanReviewRequestedV1)(eventStore, planReceipt, options.store.getSnapshot().currentModel);
|
|
182
|
+
projectPlanReceipt(options.store, planReceipt, review.status);
|
|
183
|
+
(0, plan_review_1.recoverResolvedPlanReviewV1)(runtime);
|
|
184
184
|
},
|
|
185
185
|
},
|
|
186
186
|
});
|
|
@@ -366,6 +366,7 @@ function createProductSubagentCompositionV1(options, model) {
|
|
|
366
366
|
modelLabel: model.modelId,
|
|
367
367
|
rootObjectiveSummary: input.input,
|
|
368
368
|
abortSignal: input.abortSignal,
|
|
369
|
+
sharedGate: options.providerRequestGate,
|
|
369
370
|
});
|
|
370
371
|
if (!bundle) {
|
|
371
372
|
productionRuntime.close('subagent_turn_unavailable');
|
|
@@ -873,36 +874,15 @@ function productPlanReturnMode(store) {
|
|
|
873
874
|
const snapshot = store.getSnapshot();
|
|
874
875
|
return snapshot.agentMode === 'auto' || snapshot.planReturnMode === 'auto' ? 'auto' : 'build';
|
|
875
876
|
}
|
|
876
|
-
function projectPlanReceipt(store, receipt) {
|
|
877
|
-
const agentMode =
|
|
877
|
+
function projectPlanReceipt(store, receipt, reviewStatus) {
|
|
878
|
+
const agentMode = reviewStatus === 'awaiting_review' || reviewStatus === 'continued' ? 'plan' : 'interactive';
|
|
878
879
|
store.setState({
|
|
879
880
|
agentMode,
|
|
880
|
-
planMode:
|
|
881
|
-
planReturnMode:
|
|
881
|
+
planMode: agentMode === 'plan',
|
|
882
|
+
planReturnMode: receipt.returnMode === 'auto' ? 'auto' : 'interactive',
|
|
882
883
|
currentPlan: receipt.plan,
|
|
883
884
|
});
|
|
884
885
|
}
|
|
885
|
-
function schedulePlanExecution(runtime, receipt, scheduled) {
|
|
886
|
-
if (scheduled.has(receipt.digest))
|
|
887
|
-
return;
|
|
888
|
-
const admission = runtime.thread.dispatch({
|
|
889
|
-
type: 'turn.start',
|
|
890
|
-
data: {
|
|
891
|
-
input: [
|
|
892
|
-
`Execute durable PlanReceipt ${receipt.digest}.`,
|
|
893
|
-
'Continue autonomously from the saved plan and verify the implementation before finishing.',
|
|
894
|
-
].join(' '),
|
|
895
|
-
mode: receipt.returnMode,
|
|
896
|
-
},
|
|
897
|
-
});
|
|
898
|
-
if (admission.status === 'rejected') {
|
|
899
|
-
throw new Error(`Saved plan execution was not admitted: ${admission.reason}.`);
|
|
900
|
-
}
|
|
901
|
-
if (admission.status !== 'started' && admission.status !== 'queued') {
|
|
902
|
-
throw new Error(`Saved plan execution returned unexpected admission: ${admission.status}.`);
|
|
903
|
-
}
|
|
904
|
-
scheduled.add(receipt.digest);
|
|
905
|
-
}
|
|
906
886
|
function legacyHistory(sessionId) {
|
|
907
887
|
return (0, session_history_recovery_1.normalizeSessionModelHistoryV1)((0, session_storage_1.readSessionMessages)(sessionId).map(message => ({
|
|
908
888
|
role: message.role,
|
|
@@ -922,7 +902,8 @@ function createProductAuthority(options, mode) {
|
|
|
922
902
|
// AUTO is an explicit full-action consent mode. It bypasses interactive
|
|
923
903
|
// approval only; capability, containment, hard policy and sandbox checks
|
|
924
904
|
// remain unchanged and still precede execution.
|
|
925
|
-
const
|
|
905
|
+
const configuredConfirmation = options.config.toolConfirmation;
|
|
906
|
+
const confirmation = mode === 'auto' && configuredConfirmation !== 'deny' ? 'allow' : configuredConfirmation;
|
|
926
907
|
return (0, step_snapshot_1.createAuthoritySnapshotV1)({
|
|
927
908
|
authorityId: `project:${(0, canonical_1.digestRuntimeValue)(options.cwd).slice(0, 16)}:${mode ?? 'base'}`,
|
|
928
909
|
projectRoot: options.cwd,
|
|
@@ -331,6 +331,79 @@ export declare const RUNTIME_EVENT_DEFINITIONS_V1: {
|
|
|
331
331
|
readonly required: readonly ["commitId", "terminal", "digest", "receipt"];
|
|
332
332
|
readonly additionalProperties: false;
|
|
333
333
|
};
|
|
334
|
+
readonly 'plan.review_requested': {
|
|
335
|
+
readonly type: "object";
|
|
336
|
+
readonly properties: {
|
|
337
|
+
readonly reviewId: {
|
|
338
|
+
readonly type: "string";
|
|
339
|
+
readonly minLength: 1;
|
|
340
|
+
};
|
|
341
|
+
readonly revision: {
|
|
342
|
+
readonly type: "string";
|
|
343
|
+
readonly minLength: 1;
|
|
344
|
+
};
|
|
345
|
+
readonly planDigest: {
|
|
346
|
+
readonly type: "string";
|
|
347
|
+
readonly minLength: 1;
|
|
348
|
+
};
|
|
349
|
+
readonly planReceiptDigest: {
|
|
350
|
+
readonly type: "string";
|
|
351
|
+
readonly minLength: 1;
|
|
352
|
+
};
|
|
353
|
+
readonly createdAt: {
|
|
354
|
+
readonly type: "integer";
|
|
355
|
+
readonly minimum: 0;
|
|
356
|
+
};
|
|
357
|
+
readonly createdModel: {
|
|
358
|
+
readonly type: "string";
|
|
359
|
+
readonly minLength: 1;
|
|
360
|
+
};
|
|
361
|
+
readonly returnMode: {
|
|
362
|
+
readonly type: "string";
|
|
363
|
+
readonly enum: readonly ["build", "auto"];
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
readonly required: readonly ["reviewId", "revision", "planDigest", "planReceiptDigest", "createdAt", "createdModel", "returnMode"];
|
|
367
|
+
readonly additionalProperties: false;
|
|
368
|
+
};
|
|
369
|
+
readonly 'plan.review_resolved': {
|
|
370
|
+
readonly type: "object";
|
|
371
|
+
readonly properties: {
|
|
372
|
+
readonly reviewId: {
|
|
373
|
+
readonly type: "string";
|
|
374
|
+
readonly minLength: 1;
|
|
375
|
+
};
|
|
376
|
+
readonly previousRevision: {
|
|
377
|
+
readonly type: "string";
|
|
378
|
+
readonly minLength: 1;
|
|
379
|
+
};
|
|
380
|
+
readonly revision: {
|
|
381
|
+
readonly type: "string";
|
|
382
|
+
readonly minLength: 1;
|
|
383
|
+
};
|
|
384
|
+
readonly planDigest: {
|
|
385
|
+
readonly type: "string";
|
|
386
|
+
readonly minLength: 1;
|
|
387
|
+
};
|
|
388
|
+
readonly action: {
|
|
389
|
+
readonly type: "string";
|
|
390
|
+
readonly enum: readonly ["approve", "continue", "cancel"];
|
|
391
|
+
};
|
|
392
|
+
readonly resolvedAt: {
|
|
393
|
+
readonly type: "integer";
|
|
394
|
+
readonly minimum: 0;
|
|
395
|
+
};
|
|
396
|
+
readonly feedback: {
|
|
397
|
+
readonly type: "string";
|
|
398
|
+
};
|
|
399
|
+
readonly feedbackDigest: {
|
|
400
|
+
readonly type: "string";
|
|
401
|
+
readonly minLength: 1;
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
readonly required: readonly ["reviewId", "previousRevision", "revision", "planDigest", "action", "resolvedAt"];
|
|
405
|
+
readonly additionalProperties: false;
|
|
406
|
+
};
|
|
334
407
|
readonly 'turn.completed': {
|
|
335
408
|
readonly type: "object";
|
|
336
409
|
readonly properties: {
|
|
@@ -167,6 +167,43 @@ exports.RUNTIME_EVENT_DEFINITIONS_V1 = {
|
|
|
167
167
|
required: ['commitId', 'terminal', 'digest', 'receipt'],
|
|
168
168
|
additionalProperties: false,
|
|
169
169
|
},
|
|
170
|
+
'plan.review_requested': {
|
|
171
|
+
type: 'object',
|
|
172
|
+
properties: {
|
|
173
|
+
reviewId: nonEmptyString,
|
|
174
|
+
revision: nonEmptyString,
|
|
175
|
+
planDigest: nonEmptyString,
|
|
176
|
+
planReceiptDigest: nonEmptyString,
|
|
177
|
+
createdAt: nonNegativeInteger,
|
|
178
|
+
createdModel: nonEmptyString,
|
|
179
|
+
returnMode: { type: 'string', enum: ['build', 'auto'] },
|
|
180
|
+
},
|
|
181
|
+
required: [
|
|
182
|
+
'reviewId',
|
|
183
|
+
'revision',
|
|
184
|
+
'planDigest',
|
|
185
|
+
'planReceiptDigest',
|
|
186
|
+
'createdAt',
|
|
187
|
+
'createdModel',
|
|
188
|
+
'returnMode',
|
|
189
|
+
],
|
|
190
|
+
additionalProperties: false,
|
|
191
|
+
},
|
|
192
|
+
'plan.review_resolved': {
|
|
193
|
+
type: 'object',
|
|
194
|
+
properties: {
|
|
195
|
+
reviewId: nonEmptyString,
|
|
196
|
+
previousRevision: nonEmptyString,
|
|
197
|
+
revision: nonEmptyString,
|
|
198
|
+
planDigest: nonEmptyString,
|
|
199
|
+
action: { type: 'string', enum: ['approve', 'continue', 'cancel'] },
|
|
200
|
+
resolvedAt: nonNegativeInteger,
|
|
201
|
+
feedback: string,
|
|
202
|
+
feedbackDigest: nonEmptyString,
|
|
203
|
+
},
|
|
204
|
+
required: ['reviewId', 'previousRevision', 'revision', 'planDigest', 'action', 'resolvedAt'],
|
|
205
|
+
additionalProperties: false,
|
|
206
|
+
},
|
|
170
207
|
'turn.completed': {
|
|
171
208
|
type: 'object',
|
|
172
209
|
properties: { outcome: string },
|
|
@@ -5,10 +5,16 @@ export declare const SUPPORTED_RELEASE_NODE_FLOORS_V1: Readonly<Record<Supported
|
|
|
5
5
|
export declare const SUPPORTED_RELEASE_VERSION_LINE_V1: "0.3.x";
|
|
6
6
|
export declare const WEB_E2E_LEGACY_SCENARIOS_V1: readonly ["E2E-P0-01", "E2E-P0-02", "E2E-P0-03", "E2E-P0-04", "E2E-P0-05", "E2E-P0-06", "E2E-P0-07", "E2E-P0-08", "SET-P0-01", "SET-P0-02", "SET-P0-03", "SET-P0-04", "SET-P0-05", "SET-P0-06", "SET-P0-07", "SET-P0-08", "SET-P0-09", "SET-P0-10", "SET-P0-11", "SET-P0-12", "SET-P0-13", "SET-P0-14"];
|
|
7
7
|
export declare const WEB_E2E_WEB31_SCENARIOS_V1: readonly ["WEB31-P0-01", "WEB31-P0-02", "WEB31-P0-03", "WEB31-P0-04", "WEB31-P0-05", "WEB31-P0-06", "WEB31-P0-07", "WEB31-P0-08", "WEB31-P0-09", "WEB31-P0-10", "WEB31-P0-11", "WEB31-P0-12"];
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
8
|
+
export declare const WEB_E2E_WEB32_SCENARIOS_V1: readonly ["WEB32-P0-01", "WEB32-P0-02", "WEB32-P0-03", "WEB32-P0-04", "WEB32-P0-05", "WEB32-P0-06", "WEB32-P0-07", "WEB32-P0-08", "WEB32-P0-09", "WEB32-P0-10", "WEB32-P0-11", "WEB32-P0-12"];
|
|
9
|
+
export declare const WEB_E2E_WEB33_THEME_SCENARIOS_V1: readonly ["WEB33-P0-01", "WEB33-P0-02", "WEB33-P0-03", "WEB33-P0-04", "WEB33-P0-05", "WEB33-P0-06", "WEB33-P0-07", "WEB33-P0-08", "WEB33-P0-09", "WEB33-P0-10", "WEB33-P0-11", "WEB33-P0-12"];
|
|
10
|
+
export declare const WEB_E2E_WEB33_SESSION_SCENARIOS_V1: readonly ["WEB33-P0-16", "WEB33-P0-17", "WEB33-P0-18", "WEB33-P0-19", "WEB33-P0-20", "WEB33-P0-21", "WEB33-P0-22", "WEB33-P0-23", "WEB33-P0-24"];
|
|
11
|
+
export declare const WEB_E2E_WEB33_SCENARIOS_V1: readonly ("WEB33-P0-01" | "WEB33-P0-02" | "WEB33-P0-03" | "WEB33-P0-04" | "WEB33-P0-05" | "WEB33-P0-06" | "WEB33-P0-07" | "WEB33-P0-08" | "WEB33-P0-09" | "WEB33-P0-10" | "WEB33-P0-11" | "WEB33-P0-12" | "WEB33-P0-16" | "WEB33-P0-17" | "WEB33-P0-18" | "WEB33-P0-19" | "WEB33-P0-20" | "WEB33-P0-21" | "WEB33-P0-22" | "WEB33-P0-23" | "WEB33-P0-24")[];
|
|
12
|
+
export declare const WEB_E2E_FULL_SCENARIOS_V1: readonly ("E2E-P0-01" | "E2E-P0-02" | "E2E-P0-03" | "E2E-P0-04" | "E2E-P0-05" | "E2E-P0-06" | "E2E-P0-07" | "E2E-P0-08" | "SET-P0-01" | "SET-P0-02" | "SET-P0-03" | "SET-P0-04" | "SET-P0-05" | "SET-P0-06" | "SET-P0-07" | "SET-P0-08" | "SET-P0-09" | "SET-P0-10" | "SET-P0-11" | "SET-P0-12" | "SET-P0-13" | "SET-P0-14" | "WEB31-P0-01" | "WEB31-P0-02" | "WEB31-P0-03" | "WEB31-P0-04" | "WEB31-P0-05" | "WEB31-P0-06" | "WEB31-P0-07" | "WEB31-P0-08" | "WEB31-P0-09" | "WEB31-P0-10" | "WEB31-P0-11" | "WEB31-P0-12" | "WEB32-P0-01" | "WEB32-P0-02" | "WEB32-P0-03" | "WEB32-P0-04" | "WEB32-P0-05" | "WEB32-P0-06" | "WEB32-P0-07" | "WEB32-P0-08" | "WEB32-P0-09" | "WEB32-P0-10" | "WEB32-P0-11" | "WEB32-P0-12" | "WEB33-P0-01" | "WEB33-P0-02" | "WEB33-P0-03" | "WEB33-P0-04" | "WEB33-P0-05" | "WEB33-P0-06" | "WEB33-P0-07" | "WEB33-P0-08" | "WEB33-P0-09" | "WEB33-P0-10" | "WEB33-P0-11" | "WEB33-P0-12" | "WEB33-P0-16" | "WEB33-P0-17" | "WEB33-P0-18" | "WEB33-P0-19" | "WEB33-P0-20" | "WEB33-P0-21" | "WEB33-P0-22" | "WEB33-P0-23" | "WEB33-P0-24")[];
|
|
13
|
+
export declare const WEB_E2E_SETTINGS_SCENARIOS_V1: readonly ("E2E-P0-01" | "E2E-P0-02" | "E2E-P0-03" | "E2E-P0-04" | "E2E-P0-05" | "E2E-P0-06" | "E2E-P0-07" | "E2E-P0-08" | "SET-P0-01" | "SET-P0-02" | "SET-P0-03" | "SET-P0-04" | "SET-P0-05" | "SET-P0-06" | "SET-P0-07" | "SET-P0-08" | "SET-P0-09" | "SET-P0-10" | "SET-P0-11" | "SET-P0-12" | "SET-P0-13" | "SET-P0-14" | "WEB31-P0-01" | "WEB31-P0-02" | "WEB31-P0-03" | "WEB31-P0-04" | "WEB31-P0-05" | "WEB31-P0-06" | "WEB31-P0-07" | "WEB31-P0-08" | "WEB31-P0-09" | "WEB31-P0-10" | "WEB31-P0-11" | "WEB31-P0-12" | "WEB32-P0-01" | "WEB32-P0-02" | "WEB32-P0-03" | "WEB32-P0-04" | "WEB32-P0-05" | "WEB32-P0-06" | "WEB32-P0-07" | "WEB32-P0-08" | "WEB32-P0-09" | "WEB32-P0-10" | "WEB32-P0-11" | "WEB32-P0-12" | "WEB33-P0-01" | "WEB33-P0-02" | "WEB33-P0-03" | "WEB33-P0-04" | "WEB33-P0-05" | "WEB33-P0-06" | "WEB33-P0-07" | "WEB33-P0-08" | "WEB33-P0-09" | "WEB33-P0-10" | "WEB33-P0-11" | "WEB33-P0-12" | "WEB33-P0-16" | "WEB33-P0-17" | "WEB33-P0-18" | "WEB33-P0-19" | "WEB33-P0-20" | "WEB33-P0-21" | "WEB33-P0-22" | "WEB33-P0-23" | "WEB33-P0-24")[];
|
|
10
14
|
export declare const WEB_E2E_WEB31_CRITICAL_SCENARIOS_V1: readonly ["WEB31-P0-01", "WEB31-P0-02", "WEB31-P0-08", "WEB31-P0-09", "WEB31-P0-10", "WEB31-P0-12"];
|
|
11
|
-
export declare const
|
|
15
|
+
export declare const WEB_E2E_WEB32_CRITICAL_SCENARIOS_V1: readonly ["WEB32-P0-01", "WEB32-P0-04", "WEB32-P0-05", "WEB32-P0-06", "WEB32-P0-09", "WEB32-P0-11", "WEB32-P0-12"];
|
|
16
|
+
export declare const WEB_E2E_WEB33_CRITICAL_SCENARIOS_V1: readonly ["WEB33-P0-01", "WEB33-P0-03", "WEB33-P0-08", "WEB33-P0-10", "WEB33-P0-12", "WEB33-P0-16", "WEB33-P0-17", "WEB33-P0-18", "WEB33-P0-20", "WEB33-P0-21", "WEB33-P0-23", "WEB33-P0-24"];
|
|
17
|
+
export declare const WEB_E2E_CRITICAL_SCENARIOS_V1: readonly ("E2E-P0-01" | "E2E-P0-02" | "E2E-P0-03" | "E2E-P0-04" | "E2E-P0-05" | "E2E-P0-06" | "E2E-P0-07" | "E2E-P0-08" | "SET-P0-01" | "SET-P0-02" | "SET-P0-03" | "SET-P0-04" | "SET-P0-05" | "SET-P0-06" | "SET-P0-07" | "SET-P0-08" | "SET-P0-09" | "SET-P0-10" | "SET-P0-11" | "SET-P0-12" | "SET-P0-13" | "SET-P0-14" | "WEB31-P0-01" | "WEB31-P0-02" | "WEB31-P0-03" | "WEB31-P0-04" | "WEB31-P0-05" | "WEB31-P0-06" | "WEB31-P0-07" | "WEB31-P0-08" | "WEB31-P0-09" | "WEB31-P0-10" | "WEB31-P0-11" | "WEB31-P0-12" | "WEB32-P0-01" | "WEB32-P0-02" | "WEB32-P0-03" | "WEB32-P0-04" | "WEB32-P0-05" | "WEB32-P0-06" | "WEB32-P0-07" | "WEB32-P0-08" | "WEB32-P0-09" | "WEB32-P0-10" | "WEB32-P0-11" | "WEB32-P0-12" | "WEB33-P0-01" | "WEB33-P0-02" | "WEB33-P0-03" | "WEB33-P0-04" | "WEB33-P0-05" | "WEB33-P0-06" | "WEB33-P0-07" | "WEB33-P0-08" | "WEB33-P0-09" | "WEB33-P0-10" | "WEB33-P0-11" | "WEB33-P0-12" | "WEB33-P0-16" | "WEB33-P0-17" | "WEB33-P0-18" | "WEB33-P0-19" | "WEB33-P0-20" | "WEB33-P0-21" | "WEB33-P0-22" | "WEB33-P0-23" | "WEB33-P0-24")[];
|
|
12
18
|
export type ReleaseGateDecisionV1 = 'GO' | 'NO_GO';
|
|
13
19
|
export interface TarballArtifactReceiptV1 {
|
|
14
20
|
readonly version: typeof RELEASE_RECEIPT_VERSION_V1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WEB_E2E_CRITICAL_SCENARIOS_V1 = exports.WEB_E2E_WEB31_CRITICAL_SCENARIOS_V1 = exports.WEB_E2E_SETTINGS_SCENARIOS_V1 = exports.WEB_E2E_FULL_SCENARIOS_V1 = exports.WEB_E2E_WEB31_SCENARIOS_V1 = exports.WEB_E2E_LEGACY_SCENARIOS_V1 = exports.SUPPORTED_RELEASE_VERSION_LINE_V1 = exports.SUPPORTED_RELEASE_NODE_FLOORS_V1 = exports.SUPPORTED_RELEASE_NODE_MAJORS_V1 = exports.RELEASE_RECEIPT_VERSION_V1 = void 0;
|
|
3
|
+
exports.WEB_E2E_CRITICAL_SCENARIOS_V1 = exports.WEB_E2E_WEB33_CRITICAL_SCENARIOS_V1 = exports.WEB_E2E_WEB32_CRITICAL_SCENARIOS_V1 = exports.WEB_E2E_WEB31_CRITICAL_SCENARIOS_V1 = exports.WEB_E2E_SETTINGS_SCENARIOS_V1 = exports.WEB_E2E_FULL_SCENARIOS_V1 = exports.WEB_E2E_WEB33_SCENARIOS_V1 = exports.WEB_E2E_WEB33_SESSION_SCENARIOS_V1 = exports.WEB_E2E_WEB33_THEME_SCENARIOS_V1 = exports.WEB_E2E_WEB32_SCENARIOS_V1 = exports.WEB_E2E_WEB31_SCENARIOS_V1 = exports.WEB_E2E_LEGACY_SCENARIOS_V1 = exports.SUPPORTED_RELEASE_VERSION_LINE_V1 = exports.SUPPORTED_RELEASE_NODE_FLOORS_V1 = exports.SUPPORTED_RELEASE_NODE_MAJORS_V1 = exports.RELEASE_RECEIPT_VERSION_V1 = void 0;
|
|
4
4
|
exports.createTarballArtifactReceiptV1 = createTarballArtifactReceiptV1;
|
|
5
5
|
exports.verifyTarballArtifactReceiptV1 = verifyTarballArtifactReceiptV1;
|
|
6
6
|
exports.createRuntimeMatrixReceiptV1 = createRuntimeMatrixReceiptV1;
|
|
@@ -58,9 +58,54 @@ exports.WEB_E2E_WEB31_SCENARIOS_V1 = Object.freeze([
|
|
|
58
58
|
'WEB31-P0-11',
|
|
59
59
|
'WEB31-P0-12',
|
|
60
60
|
]);
|
|
61
|
+
exports.WEB_E2E_WEB32_SCENARIOS_V1 = Object.freeze([
|
|
62
|
+
'WEB32-P0-01',
|
|
63
|
+
'WEB32-P0-02',
|
|
64
|
+
'WEB32-P0-03',
|
|
65
|
+
'WEB32-P0-04',
|
|
66
|
+
'WEB32-P0-05',
|
|
67
|
+
'WEB32-P0-06',
|
|
68
|
+
'WEB32-P0-07',
|
|
69
|
+
'WEB32-P0-08',
|
|
70
|
+
'WEB32-P0-09',
|
|
71
|
+
'WEB32-P0-10',
|
|
72
|
+
'WEB32-P0-11',
|
|
73
|
+
'WEB32-P0-12',
|
|
74
|
+
]);
|
|
75
|
+
exports.WEB_E2E_WEB33_THEME_SCENARIOS_V1 = Object.freeze([
|
|
76
|
+
'WEB33-P0-01',
|
|
77
|
+
'WEB33-P0-02',
|
|
78
|
+
'WEB33-P0-03',
|
|
79
|
+
'WEB33-P0-04',
|
|
80
|
+
'WEB33-P0-05',
|
|
81
|
+
'WEB33-P0-06',
|
|
82
|
+
'WEB33-P0-07',
|
|
83
|
+
'WEB33-P0-08',
|
|
84
|
+
'WEB33-P0-09',
|
|
85
|
+
'WEB33-P0-10',
|
|
86
|
+
'WEB33-P0-11',
|
|
87
|
+
'WEB33-P0-12',
|
|
88
|
+
]);
|
|
89
|
+
exports.WEB_E2E_WEB33_SESSION_SCENARIOS_V1 = Object.freeze([
|
|
90
|
+
'WEB33-P0-16',
|
|
91
|
+
'WEB33-P0-17',
|
|
92
|
+
'WEB33-P0-18',
|
|
93
|
+
'WEB33-P0-19',
|
|
94
|
+
'WEB33-P0-20',
|
|
95
|
+
'WEB33-P0-21',
|
|
96
|
+
'WEB33-P0-22',
|
|
97
|
+
'WEB33-P0-23',
|
|
98
|
+
'WEB33-P0-24',
|
|
99
|
+
]);
|
|
100
|
+
exports.WEB_E2E_WEB33_SCENARIOS_V1 = Object.freeze([
|
|
101
|
+
...exports.WEB_E2E_WEB33_THEME_SCENARIOS_V1,
|
|
102
|
+
...exports.WEB_E2E_WEB33_SESSION_SCENARIOS_V1,
|
|
103
|
+
]);
|
|
61
104
|
exports.WEB_E2E_FULL_SCENARIOS_V1 = Object.freeze([
|
|
62
105
|
...exports.WEB_E2E_LEGACY_SCENARIOS_V1,
|
|
63
106
|
...exports.WEB_E2E_WEB31_SCENARIOS_V1,
|
|
107
|
+
...exports.WEB_E2E_WEB32_SCENARIOS_V1,
|
|
108
|
+
...exports.WEB_E2E_WEB33_SCENARIOS_V1,
|
|
64
109
|
]);
|
|
65
110
|
exports.WEB_E2E_SETTINGS_SCENARIOS_V1 = Object.freeze(exports.WEB_E2E_FULL_SCENARIOS_V1.filter(id => id.startsWith('SET-P0-')));
|
|
66
111
|
exports.WEB_E2E_WEB31_CRITICAL_SCENARIOS_V1 = Object.freeze([
|
|
@@ -71,10 +116,35 @@ exports.WEB_E2E_WEB31_CRITICAL_SCENARIOS_V1 = Object.freeze([
|
|
|
71
116
|
'WEB31-P0-10',
|
|
72
117
|
'WEB31-P0-12',
|
|
73
118
|
]);
|
|
119
|
+
exports.WEB_E2E_WEB32_CRITICAL_SCENARIOS_V1 = Object.freeze([
|
|
120
|
+
'WEB32-P0-01',
|
|
121
|
+
'WEB32-P0-04',
|
|
122
|
+
'WEB32-P0-05',
|
|
123
|
+
'WEB32-P0-06',
|
|
124
|
+
'WEB32-P0-09',
|
|
125
|
+
'WEB32-P0-11',
|
|
126
|
+
'WEB32-P0-12',
|
|
127
|
+
]);
|
|
128
|
+
exports.WEB_E2E_WEB33_CRITICAL_SCENARIOS_V1 = Object.freeze([
|
|
129
|
+
'WEB33-P0-01',
|
|
130
|
+
'WEB33-P0-03',
|
|
131
|
+
'WEB33-P0-08',
|
|
132
|
+
'WEB33-P0-10',
|
|
133
|
+
'WEB33-P0-12',
|
|
134
|
+
'WEB33-P0-16',
|
|
135
|
+
'WEB33-P0-17',
|
|
136
|
+
'WEB33-P0-18',
|
|
137
|
+
'WEB33-P0-20',
|
|
138
|
+
'WEB33-P0-21',
|
|
139
|
+
'WEB33-P0-23',
|
|
140
|
+
'WEB33-P0-24',
|
|
141
|
+
]);
|
|
74
142
|
exports.WEB_E2E_CRITICAL_SCENARIOS_V1 = Object.freeze([
|
|
75
143
|
...exports.WEB_E2E_LEGACY_SCENARIOS_V1.slice(0, 4),
|
|
76
144
|
...exports.WEB_E2E_SETTINGS_SCENARIOS_V1,
|
|
77
145
|
...exports.WEB_E2E_WEB31_CRITICAL_SCENARIOS_V1,
|
|
146
|
+
...exports.WEB_E2E_WEB32_CRITICAL_SCENARIOS_V1,
|
|
147
|
+
...exports.WEB_E2E_WEB33_CRITICAL_SCENARIOS_V1,
|
|
78
148
|
]);
|
|
79
149
|
function createTarballArtifactReceiptV1(input) {
|
|
80
150
|
assertIsoTimestamp(input.createdAt, 'artifact createdAt');
|
|
@@ -221,6 +291,8 @@ function createWebE2EReleaseReceiptV1(input) {
|
|
|
221
291
|
`consecutive=${primaryTimelineIsConsecutive}`,
|
|
222
292
|
});
|
|
223
293
|
const runtimeMajors = runtimeRuns.map(run => run.environment.nodeMajor);
|
|
294
|
+
const runtimeRunIds = new Set(runtimeRuns.map(run => run.runId));
|
|
295
|
+
const runtimeManifestDigests = new Set(runtimeRuns.map(run => run.manifestDigest));
|
|
224
296
|
checks.push({
|
|
225
297
|
id: 'node_matrix_complete',
|
|
226
298
|
status: runtimeRuns.length === exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.length &&
|
|
@@ -229,6 +301,21 @@ function createWebE2EReleaseReceiptV1(input) {
|
|
|
229
301
|
: 'fail',
|
|
230
302
|
detail: `expected=${exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.join(',')} observed=${runtimeMajors.join(',') || 'none'}`,
|
|
231
303
|
});
|
|
304
|
+
checks.push({
|
|
305
|
+
id: 'node_matrix_runs_unique',
|
|
306
|
+
status: runtimeRuns.length === exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.length &&
|
|
307
|
+
runtimeRunIds.size === exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.length &&
|
|
308
|
+
runtimeManifestDigests.size === exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.length
|
|
309
|
+
? 'pass'
|
|
310
|
+
: 'fail',
|
|
311
|
+
detail: `runs=${runtimeRuns.length} uniqueRunIds=${runtimeRunIds.size} ` +
|
|
312
|
+
`uniqueManifests=${runtimeManifestDigests.size}`,
|
|
313
|
+
});
|
|
314
|
+
checks.push({
|
|
315
|
+
id: 'live_canary',
|
|
316
|
+
status: input.liveCanary === 'FAIL' ? 'fail' : 'pass',
|
|
317
|
+
detail: `observed=${input.liveCanary}`,
|
|
318
|
+
});
|
|
232
319
|
const primaryCoverage = primaryRuns.length === 3 &&
|
|
233
320
|
primaryRuns.every(run => run.role === 'primary' && sameOrderedValues(run.scenarioIds, exports.WEB_E2E_FULL_SCENARIOS_V1));
|
|
234
321
|
const runtimeCoverage = runtimeRuns.length === exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.length &&
|
|
@@ -310,6 +397,38 @@ function createWebE2EReleaseReceiptV1(input) {
|
|
|
310
397
|
? `all WEB31 journeys passed in three primary runs; critical Web/PTY journeys passed on Node ${runtimeMajors.join(',')} using one tgz`
|
|
311
398
|
: 'WEB31 full or critical exact-tarball coverage is missing, skipped, failed, or dirty',
|
|
312
399
|
});
|
|
400
|
+
const web32PrimaryComplete = primaryRuns.length === 3 &&
|
|
401
|
+
primaryRuns.every(run => run.decision === 'GO' &&
|
|
402
|
+
run.cleanEvidence &&
|
|
403
|
+
exports.WEB_E2E_WEB32_SCENARIOS_V1.every(id => run.scenarioIds.includes(id)));
|
|
404
|
+
const web32MatrixComplete = runtimeRuns.length === exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.length &&
|
|
405
|
+
runtimeRuns.every(run => run.decision === 'GO' &&
|
|
406
|
+
run.cleanEvidence &&
|
|
407
|
+
run.tarballSha256 === input.tarballSha256 &&
|
|
408
|
+
exports.WEB_E2E_WEB32_CRITICAL_SCENARIOS_V1.every(id => run.scenarioIds.includes(id)));
|
|
409
|
+
checks.push({
|
|
410
|
+
id: 'WEB32-P0-12',
|
|
411
|
+
status: web32PrimaryComplete && web32MatrixComplete ? 'pass' : 'fail',
|
|
412
|
+
detail: web32PrimaryComplete && web32MatrixComplete
|
|
413
|
+
? `all WEB32 journeys passed in three primary runs; critical Composer/Layout journeys passed on Node ${runtimeMajors.join(',')} using one tgz`
|
|
414
|
+
: 'WEB32 full or critical exact-tarball coverage is missing, skipped, failed, or dirty',
|
|
415
|
+
});
|
|
416
|
+
const web33PrimaryComplete = primaryRuns.length === 3 &&
|
|
417
|
+
primaryRuns.every(run => run.decision === 'GO' &&
|
|
418
|
+
run.cleanEvidence &&
|
|
419
|
+
exports.WEB_E2E_WEB33_SCENARIOS_V1.every(id => run.scenarioIds.includes(id)));
|
|
420
|
+
const web33MatrixComplete = runtimeRuns.length === exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.length &&
|
|
421
|
+
runtimeRuns.every(run => run.decision === 'GO' &&
|
|
422
|
+
run.cleanEvidence &&
|
|
423
|
+
run.tarballSha256 === input.tarballSha256 &&
|
|
424
|
+
exports.WEB_E2E_WEB33_CRITICAL_SCENARIOS_V1.every(id => run.scenarioIds.includes(id)));
|
|
425
|
+
checks.push({
|
|
426
|
+
id: 'WEB33-P0-24',
|
|
427
|
+
status: web33PrimaryComplete && web33MatrixComplete ? 'pass' : 'fail',
|
|
428
|
+
detail: web33PrimaryComplete && web33MatrixComplete
|
|
429
|
+
? `all WEB33 journeys passed in three primary runs; critical theme/session journeys passed on Node ${runtimeMajors.join(',')} using one tgz`
|
|
430
|
+
: 'WEB33 full or critical exact-tarball coverage is missing, skipped, failed, or dirty',
|
|
431
|
+
});
|
|
313
432
|
const decision = checks.every(check => check.status === 'pass')
|
|
314
433
|
? 'GO'
|
|
315
434
|
: 'NO_GO';
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import type { OrionCodeCLIConfig } from '../services/config';
|
|
2
|
+
import { type CompactCoordinator } from '../services/compact';
|
|
3
|
+
import type { Store } from '../framework/store';
|
|
4
|
+
import type { LLMService } from '../services/llm';
|
|
5
|
+
import { type ContextUsageSnapshot } from '../services/model-context';
|
|
6
|
+
import { type EffortLevel, type EffortPreference, type ResolvedEffort } from '../services/effort';
|
|
7
|
+
import { type ToolConfirmationPolicy } from '../services/global-config';
|
|
8
|
+
import { type SessionMeta } from '../services/session-storage';
|
|
9
|
+
import type { ModelSwitchResult } from './model-coordinator';
|
|
10
|
+
import type { ModelCoordinator } from './model-coordinator';
|
|
11
|
+
export type SessionControlValueSourceV1 = 'session' | 'project' | 'global' | 'model-default';
|
|
12
|
+
export interface SessionModelCatalogEntryV1 {
|
|
13
|
+
readonly id: string;
|
|
14
|
+
readonly label: string;
|
|
15
|
+
readonly providerId: string;
|
|
16
|
+
readonly providerLabel: string;
|
|
17
|
+
readonly contextWindow: number;
|
|
18
|
+
readonly maxOutputTokens: number;
|
|
19
|
+
readonly reasoning: boolean;
|
|
20
|
+
readonly effortLevels: readonly EffortLevel[];
|
|
21
|
+
readonly defaultEffort?: EffortLevel;
|
|
22
|
+
readonly aliases: readonly string[];
|
|
23
|
+
readonly fingerprint: string;
|
|
24
|
+
}
|
|
25
|
+
export interface SessionModelCatalogV1 {
|
|
26
|
+
readonly revision: string;
|
|
27
|
+
readonly models: readonly SessionModelCatalogEntryV1[];
|
|
28
|
+
readonly unavailableProviders: readonly {
|
|
29
|
+
readonly id: string;
|
|
30
|
+
readonly reason: string;
|
|
31
|
+
}[];
|
|
32
|
+
}
|
|
33
|
+
export interface SessionPermissionSelectionV1 {
|
|
34
|
+
readonly effective: ToolConfirmationPolicy;
|
|
35
|
+
readonly override: ToolConfirmationPolicy | null;
|
|
36
|
+
readonly projectDefault: ToolConfirmationPolicy;
|
|
37
|
+
readonly source: 'session' | 'project';
|
|
38
|
+
}
|
|
39
|
+
export interface SessionModelSelectionV1 {
|
|
40
|
+
readonly modelId: string;
|
|
41
|
+
readonly providerId: string | null;
|
|
42
|
+
readonly providerLabel: string | null;
|
|
43
|
+
readonly contextWindow: number;
|
|
44
|
+
readonly maxOutputTokens: number;
|
|
45
|
+
readonly effort: {
|
|
46
|
+
readonly requested: EffortPreference;
|
|
47
|
+
readonly effective: EffortLevel | null;
|
|
48
|
+
readonly source: ResolvedEffort['source'];
|
|
49
|
+
readonly supported: boolean;
|
|
50
|
+
readonly supportedLevels: readonly EffortLevel[];
|
|
51
|
+
readonly warning?: string;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export interface SessionComposerRuntimeStateV1 {
|
|
55
|
+
readonly sessionId: string;
|
|
56
|
+
readonly model: SessionModelSelectionV1;
|
|
57
|
+
readonly permission: SessionPermissionSelectionV1;
|
|
58
|
+
readonly contextUsage: ContextUsageSnapshot | null;
|
|
59
|
+
readonly pending: {
|
|
60
|
+
readonly model: {
|
|
61
|
+
readonly modelId: string;
|
|
62
|
+
readonly effort: EffortPreference;
|
|
63
|
+
} | null;
|
|
64
|
+
readonly permission: {
|
|
65
|
+
readonly override: ToolConfirmationPolicy | null;
|
|
66
|
+
} | null;
|
|
67
|
+
};
|
|
68
|
+
readonly lastError: {
|
|
69
|
+
readonly code: SessionComposerControlError['code'];
|
|
70
|
+
readonly message: string;
|
|
71
|
+
} | null;
|
|
72
|
+
}
|
|
73
|
+
export interface SessionModelSwitchReceiptV1 {
|
|
74
|
+
readonly receiptId: string;
|
|
75
|
+
readonly fromModelId: string;
|
|
76
|
+
readonly toModelId: string;
|
|
77
|
+
readonly requestedEffort: EffortPreference;
|
|
78
|
+
readonly compacted: boolean;
|
|
79
|
+
readonly compactRequired: boolean;
|
|
80
|
+
readonly compactPreflight: NonNullable<ModelSwitchResult['compactPreflight']> | 'deferred';
|
|
81
|
+
readonly appliesFrom: 'immediate' | 'next-logical-request';
|
|
82
|
+
readonly sessionPreferencesDigest: string;
|
|
83
|
+
}
|
|
84
|
+
export interface SessionPermissionReceiptV1 {
|
|
85
|
+
readonly receiptId: string;
|
|
86
|
+
readonly previous: SessionPermissionSelectionV1;
|
|
87
|
+
readonly current: SessionPermissionSelectionV1;
|
|
88
|
+
readonly appliesFrom: 'immediate' | 'next-tool-admission';
|
|
89
|
+
readonly sessionPreferencesDigest: string;
|
|
90
|
+
}
|
|
91
|
+
export interface SessionComposerControlServiceOptionsV1 {
|
|
92
|
+
readonly cwd: string;
|
|
93
|
+
readonly config: OrionCodeCLIConfig;
|
|
94
|
+
readonly store: Store;
|
|
95
|
+
readonly llm: LLMService | null;
|
|
96
|
+
readonly compactCoordinator: CompactCoordinator;
|
|
97
|
+
readonly modelCoordinator?: ModelCoordinator;
|
|
98
|
+
readonly getSession: () => SessionMeta | null;
|
|
99
|
+
readonly ensureSession: () => SessionMeta;
|
|
100
|
+
readonly projectToolConfirmation: () => ToolConfirmationPolicy;
|
|
101
|
+
readonly applySessionState: (session: SessionMeta | null) => void;
|
|
102
|
+
readonly rebindSessionRuntime: () => Promise<void>;
|
|
103
|
+
readonly runtimeIdle: () => boolean;
|
|
104
|
+
}
|
|
105
|
+
export declare class SessionComposerControlError extends Error {
|
|
106
|
+
readonly code: 'runtime_busy' | 'model_unavailable' | 'model_effort_unsupported' | 'model_switch_rolled_back' | 'permission_override_rejected' | 'composer_control_conflict' | 'composer_recovery_required' | 'session_unavailable';
|
|
107
|
+
constructor(code: 'runtime_busy' | 'model_unavailable' | 'model_effort_unsupported' | 'model_switch_rolled_back' | 'permission_override_rejected' | 'composer_control_conflict' | 'composer_recovery_required' | 'session_unavailable', message: string);
|
|
108
|
+
}
|
|
109
|
+
/** Product-owned Session control service shared by slash commands and Web. */
|
|
110
|
+
export declare class SessionComposerControlServiceV1 {
|
|
111
|
+
private readonly options;
|
|
112
|
+
private pendingModel;
|
|
113
|
+
private lastError;
|
|
114
|
+
private readonly listeners;
|
|
115
|
+
constructor(options: SessionComposerControlServiceOptionsV1);
|
|
116
|
+
subscribe(listener: () => void): () => void;
|
|
117
|
+
describe(): SessionComposerRuntimeStateV1;
|
|
118
|
+
describeSession(session: SessionMeta): SessionComposerRuntimeStateV1;
|
|
119
|
+
catalog(): SessionModelCatalogV1;
|
|
120
|
+
selectModel(input: {
|
|
121
|
+
readonly modelId: string;
|
|
122
|
+
readonly effort?: EffortPreference;
|
|
123
|
+
}): Promise<SessionModelSwitchReceiptV1>;
|
|
124
|
+
setEffort(effort: EffortPreference): Promise<SessionModelSwitchReceiptV1>;
|
|
125
|
+
setPermissionOverride(override: ToolConfirmationPolicy | null): Promise<SessionPermissionReceiptV1>;
|
|
126
|
+
/** Apply controls queued during an active turn before the next logical request starts. */
|
|
127
|
+
applyPendingAtLogicalBoundary(): Promise<void>;
|
|
128
|
+
private project;
|
|
129
|
+
private resolveProfile;
|
|
130
|
+
private legacyProfile;
|
|
131
|
+
private resolveEffort;
|
|
132
|
+
private emitChanged;
|
|
133
|
+
private failControl;
|
|
134
|
+
private commitCompact;
|
|
135
|
+
}
|
|
136
|
+
//# sourceMappingURL=session-composer-control.d.ts.map
|