@orion-agents/orion-code 0.3.2 → 0.3.7
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 +207 -0
- package/README.md +102 -18
- package/README.zh-CN.md +40 -16
- package/dist/commands/context-tool-command-handlers.js +1 -5
- package/dist/commands/registry.js +1 -4
- package/dist/harness/intent.js +69 -16
- package/dist/harness/turn-summary.js +3 -1
- package/dist/memory/embeddings.js +2 -3
- package/dist/memory/prompts.js +1 -1
- package/dist/memory/relevant-finder.js +125 -15
- package/dist/memory/vector-store.js +13 -8
- package/dist/migration/migrate.js +8 -12
- package/dist/runtime/agent-runtime-controller.d.ts +1 -0
- package/dist/runtime/agent-runtime-controller.js +92 -41
- package/dist/runtime/capability-receipt-journal.js +1 -1
- package/dist/runtime/composer/history.js +1 -3
- package/dist/runtime/composer/layout.js +7 -4
- package/dist/runtime/durable-tool-receipt-reader.js +1 -1
- package/dist/runtime/legacy-thread-materializer.d.ts +3 -1
- package/dist/runtime/legacy-thread-materializer.js +17 -5
- 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 +2 -0
- package/dist/runtime/orion-session-runner.js +12 -4
- package/dist/runtime/product-bootstrap.d.ts +18 -0
- package/dist/runtime/product-bootstrap.js +402 -335
- package/dist/runtime/product-orion-runtime.d.ts +5 -0
- package/dist/runtime/product-orion-runtime.js +2 -0
- package/dist/runtime/release-receipts.d.ts +7 -3
- package/dist/runtime/release-receipts.js +79 -1
- package/dist/runtime/rich-text/ansi-parser.js +12 -2
- package/dist/runtime/rich-text/layout.js +15 -19
- 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/subagents/budget.js +4 -1
- package/dist/runtime/subagents/policy.js +11 -4
- package/dist/runtime/subagents/provider-gate.js +6 -4
- package/dist/runtime/subagents/research-quality.js +3 -1
- package/dist/runtime/subagents/research-renderer.js +9 -2
- package/dist/runtime/subagents/result-parser.js +18 -7
- package/dist/runtime/thread-event-store.d.ts +14 -3
- package/dist/runtime/thread-event-store.js +77 -20
- package/dist/runtime/thread-projection.d.ts +36 -0
- package/dist/runtime/thread-projection.js +54 -1
- 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/tool-output-presentation.js +7 -7
- package/dist/runtime/turn-commit.js +1 -1
- package/dist/runtime/turn-controller.js +1 -2
- package/dist/runtime/ui-events.d.ts +3 -0
- package/dist/runtime/workspace-runtime-kernel.d.ts +67 -0
- package/dist/runtime/workspace-runtime-kernel.js +148 -0
- package/dist/services/auth/auth.js +1 -4
- package/dist/services/auth/aws.js +24 -14
- package/dist/services/auto-fix/autoFixRunner.js +1 -1
- package/dist/services/auto-fix/index.d.ts +1 -1
- package/dist/services/diagnostic-tracking/diagnosticTracking.js +4 -2
- package/dist/services/diagnostic-tracking/index.d.ts +1 -1
- package/dist/services/effort.js +1 -9
- package/dist/services/file-glob.js +3 -4
- package/dist/services/global-config.d.ts +2 -0
- package/dist/services/global-config.js +7 -1
- package/dist/services/mcp/transports.js +4 -4
- package/dist/services/model-catalog.js +179 -30
- package/dist/services/model-context.js +1 -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/provider-resilience/stream-recovery.js +1 -3
- package/dist/services/redaction.js +19 -2
- package/dist/services/session-storage.d.ts +28 -3
- package/dist/services/session-storage.js +70 -6
- 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/services/smart-routing.js +19 -11
- package/dist/services/verification-profile.js +17 -22
- package/dist/services/web-search-provider.js +21 -9
- package/dist/services/workspace-diff.js +10 -4
- package/dist/skills/builtin/code-review/SKILL.md +1 -1
- package/dist/skills/builtin/security-check/SKILL.md +1 -1
- package/dist/skills/builtin/test-gen/SKILL.md +1 -1
- package/dist/terminal-ui/editor.js +6 -2
- package/dist/terminal-ui/output-queue.js +9 -3
- package/dist/tools/lsp.js +12 -6
- package/dist/tui-core/frame.js +9 -7
- package/dist/tui-ui/transcript-cache.js +6 -6
- package/dist/tui-ui/transcript-inspector-layout.js +13 -6
- package/dist/tui-ui/transcript-inspector-surface.js +4 -1
- package/dist/tui-ui/transcript-inspector.js +3 -8
- package/dist/ui/box.js +14 -7
- package/dist/ui/markdown.js +4 -2
- package/dist/ui/shared/input-frame.js +12 -8
- package/dist/ui/stream-markdown.js +1 -1
- package/dist/ui/tool-preview.js +11 -3
- package/dist/ui/user-input.js +16 -10
- package/dist/web/event-hub.d.ts +2 -0
- package/dist/web/event-hub.js +43 -6
- package/dist/web/file-read-service.d.ts +2 -0
- package/dist/web/file-read-service.js +39 -12
- package/dist/web/git-read-model-service.js +7 -0
- package/dist/web/protocol.d.ts +53 -3
- package/dist/web/protocol.js +39 -2
- package/dist/web/review-service.d.ts +1 -0
- package/dist/web/review-service.js +1 -0
- package/dist/web/server.js +99 -6
- package/dist/web/session-runtime-registry.d.ts +138 -0
- package/dist/web/session-runtime-registry.js +471 -0
- package/dist/web/terminal-manager.js +23 -4
- package/dist/web/terminal-server.js +35 -6
- package/dist/web/workbench-controller.d.ts +82 -3
- package/dist/web/workbench-controller.js +771 -138
- 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-eaQNsnCh.js → DiffViewer-DqbZ02RN.js} +1 -1
- package/dist/web-client/assets/FilesPanel-Bu1Ab2kJ.js +2 -0
- package/dist/web-client/assets/{GitPanel-CnU4XVr7.js → GitPanel-BixIWb4k.js} +1 -1
- package/dist/web-client/assets/ReviewPanel-DsqJpku_.js +1 -0
- package/dist/web-client/assets/{TerminalPanel-Q5mSSsoK.js → TerminalPanel-DdjQP2mp.js} +14 -14
- package/dist/web-client/assets/index-30GT9Vnx.js +17 -0
- package/dist/web-client/assets/index-DQfpqPTD.css +1 -0
- package/dist/web-client/index.html +4 -4
- 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.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.3-plan.md +1113 -0
- package/docs/plan/v0.3.4-stabilization-plan.md +89 -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 +379 -143
- package/package.json +12 -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/plan-review.d.ts.map +0 -1
- package/dist/runtime/plan-review.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-composer-control.d.ts.map +0 -1
- package/dist/runtime/session-composer-control.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-DYs1MhoM.js +0 -2
- package/dist/web-client/assets/ReviewPanel-BDxG670T.js +0 -1
- package/dist/web-client/assets/index-BWV5sIvw.css +0 -1
- package/dist/web-client/assets/index-VVUKj6FE.js +0 -17
|
@@ -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;
|
|
@@ -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) {
|
|
@@ -365,6 +366,7 @@ function createProductSubagentCompositionV1(options, model) {
|
|
|
365
366
|
modelLabel: model.modelId,
|
|
366
367
|
rootObjectiveSummary: input.input,
|
|
367
368
|
abortSignal: input.abortSignal,
|
|
369
|
+
sharedGate: options.providerRequestGate,
|
|
368
370
|
});
|
|
369
371
|
if (!bundle) {
|
|
370
372
|
productionRuntime.close('subagent_turn_unavailable');
|
|
@@ -6,11 +6,15 @@ 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
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
|
|
10
|
-
export declare const
|
|
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")[];
|
|
11
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"];
|
|
12
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"];
|
|
13
|
-
export declare const
|
|
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")[];
|
|
14
18
|
export type ReleaseGateDecisionV1 = 'GO' | 'NO_GO';
|
|
15
19
|
export interface TarballArtifactReceiptV1 {
|
|
16
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_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_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;
|
|
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;
|
|
@@ -72,10 +72,40 @@ exports.WEB_E2E_WEB32_SCENARIOS_V1 = Object.freeze([
|
|
|
72
72
|
'WEB32-P0-11',
|
|
73
73
|
'WEB32-P0-12',
|
|
74
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
|
+
]);
|
|
75
104
|
exports.WEB_E2E_FULL_SCENARIOS_V1 = Object.freeze([
|
|
76
105
|
...exports.WEB_E2E_LEGACY_SCENARIOS_V1,
|
|
77
106
|
...exports.WEB_E2E_WEB31_SCENARIOS_V1,
|
|
78
107
|
...exports.WEB_E2E_WEB32_SCENARIOS_V1,
|
|
108
|
+
...exports.WEB_E2E_WEB33_SCENARIOS_V1,
|
|
79
109
|
]);
|
|
80
110
|
exports.WEB_E2E_SETTINGS_SCENARIOS_V1 = Object.freeze(exports.WEB_E2E_FULL_SCENARIOS_V1.filter(id => id.startsWith('SET-P0-')));
|
|
81
111
|
exports.WEB_E2E_WEB31_CRITICAL_SCENARIOS_V1 = Object.freeze([
|
|
@@ -95,11 +125,26 @@ exports.WEB_E2E_WEB32_CRITICAL_SCENARIOS_V1 = Object.freeze([
|
|
|
95
125
|
'WEB32-P0-11',
|
|
96
126
|
'WEB32-P0-12',
|
|
97
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
|
+
]);
|
|
98
142
|
exports.WEB_E2E_CRITICAL_SCENARIOS_V1 = Object.freeze([
|
|
99
143
|
...exports.WEB_E2E_LEGACY_SCENARIOS_V1.slice(0, 4),
|
|
100
144
|
...exports.WEB_E2E_SETTINGS_SCENARIOS_V1,
|
|
101
145
|
...exports.WEB_E2E_WEB31_CRITICAL_SCENARIOS_V1,
|
|
102
146
|
...exports.WEB_E2E_WEB32_CRITICAL_SCENARIOS_V1,
|
|
147
|
+
...exports.WEB_E2E_WEB33_CRITICAL_SCENARIOS_V1,
|
|
103
148
|
]);
|
|
104
149
|
function createTarballArtifactReceiptV1(input) {
|
|
105
150
|
assertIsoTimestamp(input.createdAt, 'artifact createdAt');
|
|
@@ -246,6 +291,8 @@ function createWebE2EReleaseReceiptV1(input) {
|
|
|
246
291
|
`consecutive=${primaryTimelineIsConsecutive}`,
|
|
247
292
|
});
|
|
248
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));
|
|
249
296
|
checks.push({
|
|
250
297
|
id: 'node_matrix_complete',
|
|
251
298
|
status: runtimeRuns.length === exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.length &&
|
|
@@ -254,6 +301,21 @@ function createWebE2EReleaseReceiptV1(input) {
|
|
|
254
301
|
: 'fail',
|
|
255
302
|
detail: `expected=${exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.join(',')} observed=${runtimeMajors.join(',') || 'none'}`,
|
|
256
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
|
+
});
|
|
257
319
|
const primaryCoverage = primaryRuns.length === 3 &&
|
|
258
320
|
primaryRuns.every(run => run.role === 'primary' && sameOrderedValues(run.scenarioIds, exports.WEB_E2E_FULL_SCENARIOS_V1));
|
|
259
321
|
const runtimeCoverage = runtimeRuns.length === exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.length &&
|
|
@@ -351,6 +413,22 @@ function createWebE2EReleaseReceiptV1(input) {
|
|
|
351
413
|
? `all WEB32 journeys passed in three primary runs; critical Composer/Layout journeys passed on Node ${runtimeMajors.join(',')} using one tgz`
|
|
352
414
|
: 'WEB32 full or critical exact-tarball coverage is missing, skipped, failed, or dirty',
|
|
353
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
|
+
});
|
|
354
432
|
const decision = checks.every(check => check.status === 'pass')
|
|
355
433
|
? 'GO'
|
|
356
434
|
: 'NO_GO';
|
|
@@ -204,14 +204,24 @@ function parseSgrParams(params) {
|
|
|
204
204
|
setForeground(change, named('white'));
|
|
205
205
|
break;
|
|
206
206
|
// Unrecognised SGR codes are ignored (they are still valid SGR).
|
|
207
|
-
default:
|
|
207
|
+
default:
|
|
208
|
+
break;
|
|
208
209
|
}
|
|
209
210
|
}
|
|
210
211
|
if (!hasAny)
|
|
211
212
|
return null;
|
|
212
213
|
return change;
|
|
213
214
|
}
|
|
214
|
-
const VALID_NAMED_COLORS = [
|
|
215
|
+
const VALID_NAMED_COLORS = [
|
|
216
|
+
'black',
|
|
217
|
+
'red',
|
|
218
|
+
'green',
|
|
219
|
+
'yellow',
|
|
220
|
+
'blue',
|
|
221
|
+
'magenta',
|
|
222
|
+
'cyan',
|
|
223
|
+
'white',
|
|
224
|
+
];
|
|
215
225
|
function named(name) {
|
|
216
226
|
// The SGR code mapping only produces valid named colors, but guard anyway.
|
|
217
227
|
const value = VALID_NAMED_COLORS.includes(name)
|
|
@@ -32,10 +32,12 @@ function layoutBlock(block, width, theme, indent) {
|
|
|
32
32
|
return layoutTable(block, width, theme, indent);
|
|
33
33
|
case 'rule': {
|
|
34
34
|
const available = Math.max(1, width - indent);
|
|
35
|
-
return [
|
|
35
|
+
return [
|
|
36
|
+
[
|
|
36
37
|
{ text: ' '.repeat(indent), style: theme('muted') },
|
|
37
38
|
{ text: '─'.repeat(available), style: theme('muted') },
|
|
38
|
-
]
|
|
39
|
+
],
|
|
40
|
+
];
|
|
39
41
|
}
|
|
40
42
|
}
|
|
41
43
|
}
|
|
@@ -80,10 +82,12 @@ function layoutList(block, width, theme, indent) {
|
|
|
80
82
|
return rows;
|
|
81
83
|
}
|
|
82
84
|
function layoutQuote(block, width, theme, indent) {
|
|
83
|
-
const prefix = [
|
|
85
|
+
const prefix = [
|
|
86
|
+
{
|
|
84
87
|
text: `${' '.repeat(normalizeIndent(indent, width))}> `,
|
|
85
88
|
style: theme('muted'),
|
|
86
|
-
}
|
|
89
|
+
},
|
|
90
|
+
];
|
|
87
91
|
const prefixWidth = rowWidth(prefix);
|
|
88
92
|
const childWidth = Math.max(1, width - prefixWidth);
|
|
89
93
|
const rows = [];
|
|
@@ -105,14 +109,9 @@ function layoutCode(lines, width, theme, indent, language) {
|
|
|
105
109
|
const rows = [];
|
|
106
110
|
if (language) {
|
|
107
111
|
const labelStyle = mergeStyles(style, theme('muted'));
|
|
108
|
-
const labelPrefix = safeIndent > 0
|
|
109
|
-
? [{ text: ' '.repeat(safeIndent), style: labelStyle }]
|
|
110
|
-
: [];
|
|
112
|
+
const labelPrefix = safeIndent > 0 ? [{ text: ' '.repeat(safeIndent), style: labelStyle }] : [];
|
|
111
113
|
const label = truncateToWidth(language, available);
|
|
112
|
-
rows.push(clampRow([
|
|
113
|
-
...labelPrefix,
|
|
114
|
-
...padRow([{ text: label, style: labelStyle }], available, labelStyle),
|
|
115
|
-
], width));
|
|
114
|
+
rows.push(clampRow([...labelPrefix, ...padRow([{ text: label, style: labelStyle }], available, labelStyle)], width));
|
|
116
115
|
}
|
|
117
116
|
for (const line of lines.length > 0 ? lines : ['']) {
|
|
118
117
|
const wrapped = wrapStyledSpans([{ text: line, style }], available, false);
|
|
@@ -157,9 +156,7 @@ function layoutTable(block, width, theme, indent) {
|
|
|
157
156
|
if (columnWidth < 4)
|
|
158
157
|
return layoutTableAsKeyValue(block, width, theme, safeIndent);
|
|
159
158
|
const rows = [];
|
|
160
|
-
const indentSpan = safeIndent > 0
|
|
161
|
-
? [{ text: ' '.repeat(safeIndent), style: theme('assistantText') }]
|
|
162
|
-
: [];
|
|
159
|
+
const indentSpan = safeIndent > 0 ? [{ text: ' '.repeat(safeIndent), style: theme('assistantText') }] : [];
|
|
163
160
|
const header = [...indentSpan];
|
|
164
161
|
for (let column = 0; column < columnCount; column++) {
|
|
165
162
|
const text = block.headers[column]?.map(span => span.text).join('') ?? '';
|
|
@@ -195,7 +192,9 @@ function layoutTableAsKeyValue(block, width, theme, indent) {
|
|
|
195
192
|
const value = sourceRow[column] ?? [];
|
|
196
193
|
const prefix = [{ text: `${prefixIndent}${key}: `, style: theme('heading') }];
|
|
197
194
|
const safePrefix = clampRow(prefix, Math.max(1, width - 1));
|
|
198
|
-
const continuation = [
|
|
195
|
+
const continuation = [
|
|
196
|
+
{ text: ' '.repeat(rowWidth(safePrefix)), style: theme('muted') },
|
|
197
|
+
];
|
|
199
198
|
const styledValue = value.map(span => ({
|
|
200
199
|
text: span.text,
|
|
201
200
|
style: resolveSpanStyle(span, theme('assistantText'), theme),
|
|
@@ -214,10 +213,7 @@ function layoutPrefixedSpans(spans, width, firstPrefix, continuationPrefix, soft
|
|
|
214
213
|
return hasContent ? [prefixRow, ...body.map(row => clampRow(row, width))] : [prefixRow];
|
|
215
214
|
}
|
|
216
215
|
const bodyRows = wrapStyledSpans(spans, width - prefixWidth, softWrap);
|
|
217
|
-
return bodyRows.map((row, index) => clampRow([
|
|
218
|
-
...(index === 0 ? firstPrefix : continuationPrefix),
|
|
219
|
-
...row,
|
|
220
|
-
], width));
|
|
216
|
+
return bodyRows.map((row, index) => clampRow([...(index === 0 ? firstPrefix : continuationPrefix), ...row], width));
|
|
221
217
|
}
|
|
222
218
|
function wrapStyledSpans(spans, width, softWrap) {
|
|
223
219
|
const safeWidth = normalizeWidth(width);
|
|
@@ -133,6 +133,7 @@ export declare class ToolRouterSnapshotV1 {
|
|
|
133
133
|
assertIntegrity(): void;
|
|
134
134
|
}
|
|
135
135
|
export interface BoundToolExecutionRequestV1 {
|
|
136
|
+
readonly invocationId: string;
|
|
136
137
|
readonly snapshot: StepSnapshotV1;
|
|
137
138
|
readonly toolName: string;
|
|
138
139
|
readonly args: Record<string, unknown>;
|
|
@@ -140,6 +141,15 @@ export interface BoundToolExecutionRequestV1 {
|
|
|
140
141
|
readonly enforcement: 'full' | 'partial' | 'none';
|
|
141
142
|
readonly abortSignal?: AbortSignal;
|
|
142
143
|
}
|
|
144
|
+
export interface WorkspaceMutationCoordinatorV1 {
|
|
145
|
+
runWorkspaceMutation<T>(input: {
|
|
146
|
+
readonly workspaceId: string;
|
|
147
|
+
readonly invocationId: string;
|
|
148
|
+
readonly toolName: string;
|
|
149
|
+
readonly args: Readonly<Record<string, unknown>>;
|
|
150
|
+
readonly abortSignal?: AbortSignal;
|
|
151
|
+
}, operation: () => T | Promise<T>): Promise<T>;
|
|
152
|
+
}
|
|
143
153
|
export interface BoundToolExecutionResultV1 {
|
|
144
154
|
readonly terminal: 'completed' | 'failed' | 'interrupted' | 'indeterminate';
|
|
145
155
|
readonly result: ToolResult;
|
|
@@ -147,6 +157,8 @@ export interface BoundToolExecutionResultV1 {
|
|
|
147
157
|
}
|
|
148
158
|
/** The only runtime primitive allowed to call a frozen concrete tool executor. */
|
|
149
159
|
export declare class ExecutionService {
|
|
160
|
+
private readonly workspaceMutations?;
|
|
161
|
+
constructor(workspaceMutations?: WorkspaceMutationCoordinatorV1 | undefined);
|
|
150
162
|
run(request: BoundToolExecutionRequestV1): Promise<BoundToolExecutionResultV1>;
|
|
151
163
|
}
|
|
152
164
|
export interface StepSnapshotV1 {
|
|
@@ -105,6 +105,9 @@ class ToolRouterSnapshotV1 {
|
|
|
105
105
|
exports.ToolRouterSnapshotV1 = ToolRouterSnapshotV1;
|
|
106
106
|
/** The only runtime primitive allowed to call a frozen concrete tool executor. */
|
|
107
107
|
class ExecutionService {
|
|
108
|
+
constructor(workspaceMutations) {
|
|
109
|
+
this.workspaceMutations = workspaceMutations;
|
|
110
|
+
}
|
|
108
111
|
async run(request) {
|
|
109
112
|
const startedAt = Date.now();
|
|
110
113
|
request.snapshot.toolRouter.assertIntegrity();
|
|
@@ -132,7 +135,17 @@ class ExecutionService {
|
|
|
132
135
|
const timeout = setTimeout(() => timeoutController.abort(new Error('Tool invocation timed out')), request.snapshot.executionPolicy.timeoutMs);
|
|
133
136
|
timeout.unref?.();
|
|
134
137
|
try {
|
|
135
|
-
const
|
|
138
|
+
const execute = () => request.snapshot.toolRouter.executeBound(EXECUTION_SERVICE_TOKEN, request.toolName, structuredClone(request.args), { ...request.context, abortSignal: timeoutController.signal });
|
|
139
|
+
const descriptor = request.snapshot.toolRouter.resolveDescriptor(request.toolName);
|
|
140
|
+
const result = descriptor?.risk.effect === 'workspace_write' && this.workspaceMutations
|
|
141
|
+
? await this.workspaceMutations.runWorkspaceMutation({
|
|
142
|
+
workspaceId: request.snapshot.authority.projectRoot,
|
|
143
|
+
invocationId: request.invocationId,
|
|
144
|
+
toolName: request.toolName,
|
|
145
|
+
args: request.args,
|
|
146
|
+
abortSignal: timeoutController.signal,
|
|
147
|
+
}, execute)
|
|
148
|
+
: await execute();
|
|
136
149
|
const presented = persistLargeToolOutput(request.context.cwd, request.toolName, result);
|
|
137
150
|
return {
|
|
138
151
|
terminal: timeoutController.signal.aborted
|
|
@@ -624,7 +624,7 @@ function replayAllEvents(store) {
|
|
|
624
624
|
const events = [];
|
|
625
625
|
let cursor = 0;
|
|
626
626
|
while (true) {
|
|
627
|
-
const page = store.replay(cursor);
|
|
627
|
+
const page = store.replay(cursor, undefined, 'subagent_receipt_journal');
|
|
628
628
|
events.push(...page.events);
|
|
629
629
|
if (!page.hasMore)
|
|
630
630
|
return events;
|
|
@@ -122,7 +122,10 @@ class SubagentBudgetLedger {
|
|
|
122
122
|
}
|
|
123
123
|
snapshot() {
|
|
124
124
|
const used = (0, types_1.sumSubtaskUsage)(this.reconciled);
|
|
125
|
-
const reservedModelRequests = (0, types_1.sumSubtaskUsage)(Array.from(this.reserved.entries()).map(([, n]) => ({
|
|
125
|
+
const reservedModelRequests = (0, types_1.sumSubtaskUsage)(Array.from(this.reserved.entries()).map(([, n]) => ({
|
|
126
|
+
...types_1.EMPTY_SUBTASK_USAGE,
|
|
127
|
+
modelRequests: n,
|
|
128
|
+
}))).modelRequests;
|
|
126
129
|
const availableModelRequests = this.availableModelRequests();
|
|
127
130
|
return {
|
|
128
131
|
reservedModelRequests,
|
|
@@ -162,7 +162,9 @@ function clampSubagentConfig(config) {
|
|
|
162
162
|
const clamp = (value, bounds) => Math.max(bounds.min, Math.min(bounds.max, Math.floor(value) || bounds.min));
|
|
163
163
|
const roles = Array.from(new Set(config.roles)).filter(r => ['research', 'review', 'test-investigate'].includes(r));
|
|
164
164
|
const clampedRoles = roles.length > 0 ? roles : DEFAULT_ROLES;
|
|
165
|
-
const mode = ['off', 'explicit', 'auto'].includes(config.mode)
|
|
165
|
+
const mode = ['off', 'explicit', 'auto'].includes(config.mode)
|
|
166
|
+
? config.mode
|
|
167
|
+
: 'auto';
|
|
166
168
|
return {
|
|
167
169
|
mode,
|
|
168
170
|
maxParallel: clamp(config.maxParallel, types_1.SUBAGENT_LIMITS.maxParallel),
|
|
@@ -217,9 +219,14 @@ function hasMultipleInvestigationDirections(objective) {
|
|
|
217
219
|
const lower = objective.toLowerCase();
|
|
218
220
|
// Conjunctions that signal multiple independent directions.
|
|
219
221
|
const multiMarkers = [
|
|
220
|
-
/ and /,
|
|
221
|
-
|
|
222
|
-
/
|
|
222
|
+
/ and /,
|
|
223
|
+
/, and /,
|
|
224
|
+
/ or /,
|
|
225
|
+
/ both /,
|
|
226
|
+
/ each /,
|
|
227
|
+
/ parallel/,
|
|
228
|
+
/separately/,
|
|
229
|
+
/independently/,
|
|
223
230
|
/ respectively/,
|
|
224
231
|
// CJK: multiple items or separation
|
|
225
232
|
/(和|与|以及|分别|并行|独立|同时)/,
|
|
@@ -40,9 +40,8 @@ class SubagentProviderGate {
|
|
|
40
40
|
this.cooldownTimer = null;
|
|
41
41
|
const maxConcurrent = Number(options.maxConcurrent);
|
|
42
42
|
// N12: guard against NaN/undefined/negative — clamp to 1 as safe minimum.
|
|
43
|
-
this.maxConcurrent =
|
|
44
|
-
? Math.floor(maxConcurrent)
|
|
45
|
-
: 1;
|
|
43
|
+
this.maxConcurrent =
|
|
44
|
+
Number.isFinite(maxConcurrent) && maxConcurrent >= 1 ? Math.floor(maxConcurrent) : 1;
|
|
46
45
|
this.now = options.now ?? (() => Date.now());
|
|
47
46
|
this.scheduleTimer = options.scheduleTimer ?? defaultScheduleTimer;
|
|
48
47
|
this.sharedGate = options.sharedGate ?? null;
|
|
@@ -179,7 +178,10 @@ exports.SubagentProviderGate = SubagentProviderGate;
|
|
|
179
178
|
function defaultScheduleTimer(fn, ms) {
|
|
180
179
|
const handle = setTimeout(fn, ms);
|
|
181
180
|
// Don't keep the event loop alive solely for a cooldown wake.
|
|
182
|
-
if (typeof handle === 'object' &&
|
|
181
|
+
if (typeof handle === 'object' &&
|
|
182
|
+
handle &&
|
|
183
|
+
'unref' in handle &&
|
|
184
|
+
typeof handle.unref === 'function') {
|
|
183
185
|
handle.unref();
|
|
184
186
|
}
|
|
185
187
|
return {
|
|
@@ -87,7 +87,9 @@ function researchCostSummary(packet, opts = {}) {
|
|
|
87
87
|
if (packet.sources.length > packet.request.maxSources) {
|
|
88
88
|
notes.push(`source count exceeded request budget (${packet.sources.length} > ${packet.request.maxSources})`);
|
|
89
89
|
}
|
|
90
|
-
if (opts.fetchedBytes !== undefined &&
|
|
90
|
+
if (opts.fetchedBytes !== undefined &&
|
|
91
|
+
packet.request.maxFetchBytes > 0 &&
|
|
92
|
+
opts.fetchedBytes > packet.request.maxFetchBytes) {
|
|
91
93
|
notes.push(`fetched bytes exceeded budget (${opts.fetchedBytes} > ${packet.request.maxFetchBytes})`);
|
|
92
94
|
}
|
|
93
95
|
return {
|
|
@@ -126,7 +126,9 @@ function renderTerminal(view) {
|
|
|
126
126
|
}
|
|
127
127
|
function renderPrint(view) {
|
|
128
128
|
// Stable schema text (not raw concatenated claim text).
|
|
129
|
-
const claims = view.claims
|
|
129
|
+
const claims = view.claims
|
|
130
|
+
.map(c => ` - ${c.id}: ${c.verification} (${c.bindingStatus})`)
|
|
131
|
+
.join('\n');
|
|
130
132
|
return [
|
|
131
133
|
`# Research: ${view.objective}`,
|
|
132
134
|
`Status: ${view.stage} | Audit: ${view.auditStatus}`,
|
|
@@ -139,7 +141,12 @@ function renderPrint(view) {
|
|
|
139
141
|
}
|
|
140
142
|
function toLifecycleEvents(view, resolution) {
|
|
141
143
|
const events = [
|
|
142
|
-
{
|
|
144
|
+
{
|
|
145
|
+
type: 'research_started',
|
|
146
|
+
packetId: view.packetId,
|
|
147
|
+
objective: view.objective,
|
|
148
|
+
mode: view.mode,
|
|
149
|
+
},
|
|
143
150
|
];
|
|
144
151
|
for (const s of view.sources) {
|
|
145
152
|
events.push({
|
|
@@ -46,7 +46,9 @@ function parseFindings(raw) {
|
|
|
46
46
|
severity: parseSeverity(obj.severity),
|
|
47
47
|
evidence: str(obj.evidence, 1500),
|
|
48
48
|
file: obj.file != null ? str(obj.file, 500) : undefined,
|
|
49
|
-
line: typeof obj.line === 'number' && Number.isFinite(obj.line)
|
|
49
|
+
line: typeof obj.line === 'number' && Number.isFinite(obj.line)
|
|
50
|
+
? Math.max(0, Math.floor(obj.line))
|
|
51
|
+
: undefined,
|
|
50
52
|
});
|
|
51
53
|
if (out.length >= MAX_FINDINGS)
|
|
52
54
|
break;
|
|
@@ -54,7 +56,11 @@ function parseFindings(raw) {
|
|
|
54
56
|
return out;
|
|
55
57
|
}
|
|
56
58
|
function parseSeverity(value) {
|
|
57
|
-
if (value === 'critical' ||
|
|
59
|
+
if (value === 'critical' ||
|
|
60
|
+
value === 'high' ||
|
|
61
|
+
value === 'medium' ||
|
|
62
|
+
value === 'low' ||
|
|
63
|
+
value === 'info') {
|
|
58
64
|
return value;
|
|
59
65
|
}
|
|
60
66
|
return undefined;
|
|
@@ -163,11 +169,16 @@ function parseSubtaskResult(args) {
|
|
|
163
169
|
function summarizeFailure(status, content) {
|
|
164
170
|
const tail = truncate(content.trim(), 300);
|
|
165
171
|
switch (status) {
|
|
166
|
-
case 'timed_out':
|
|
167
|
-
|
|
168
|
-
case '
|
|
169
|
-
|
|
170
|
-
|
|
172
|
+
case 'timed_out':
|
|
173
|
+
return `Child timed out. Partial output: ${tail || '(none)'}`;
|
|
174
|
+
case 'cancelled':
|
|
175
|
+
return `Child was cancelled. Partial output: ${tail || '(none)'}`;
|
|
176
|
+
case 'failed':
|
|
177
|
+
return `Child failed. Output: ${tail || '(none)'}`;
|
|
178
|
+
case 'rejected':
|
|
179
|
+
return `Child was rejected by policy before running.`;
|
|
180
|
+
default:
|
|
181
|
+
return tail || '(no output)';
|
|
171
182
|
}
|
|
172
183
|
}
|
|
173
184
|
//# sourceMappingURL=result-parser.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type RuntimeEventEnvelopeV1, type RuntimeEventV1 } from './protocol/runtime-protocol-v1';
|
|
2
|
-
import { type ThreadProjectionV1 } from './thread-projection';
|
|
2
|
+
import { type ThreadProjectionDigestVersionV1, type ThreadProjectionV1 } from './thread-projection';
|
|
3
3
|
import type { CompactAuthoritativeSourceV1, CompactCheckpointCommitReceiptV1, CompactCompareAndCommitInputV1, CompactCompareAndCommitResultV1, CompactRuntimeEventV1 } from './compact-transaction';
|
|
4
4
|
export interface AppendRuntimeEventV1<T extends RuntimeEventV1 = RuntimeEventV1> {
|
|
5
5
|
readonly turnId?: string;
|
|
@@ -14,6 +14,7 @@ export interface ThreadEventReplayV1 {
|
|
|
14
14
|
readonly nextCursor: number;
|
|
15
15
|
readonly hasMore: boolean;
|
|
16
16
|
}
|
|
17
|
+
export type ThreadEventReplayReasonV1 = 'direct' | 'capability_receipt_journal' | 'durable_tool_receipt' | 'legacy_materializer' | 'projection_schema_upgrade' | 'runtime_diagnostics_legacy' | 'subagent_receipt_journal' | 'thread_session_view' | 'turn_commit_journal' | 'ui_gap_recovery' | 'ui_initial_history';
|
|
17
18
|
export interface ThreadEventCommitV1 {
|
|
18
19
|
readonly events: readonly RuntimeEventEnvelopeV1[];
|
|
19
20
|
readonly projection: ThreadProjectionV1;
|
|
@@ -43,6 +44,8 @@ export interface ThreadVerifiedPrefixV1 {
|
|
|
43
44
|
readonly cursor: number;
|
|
44
45
|
readonly eventDigest: string;
|
|
45
46
|
readonly projectionDigest: string;
|
|
47
|
+
/** Missing on receipts written before projection digests were versioned. */
|
|
48
|
+
readonly projectionDigestVersion?: ThreadProjectionDigestVersionV1;
|
|
46
49
|
}
|
|
47
50
|
/**
|
|
48
51
|
* Crash-safe derived checkpoint for opening a Thread in a fresh process.
|
|
@@ -84,11 +87,19 @@ export interface ThreadEventStoreOptionsV1 {
|
|
|
84
87
|
readonly events: number;
|
|
85
88
|
}) => void;
|
|
86
89
|
}
|
|
90
|
+
export interface ThreadEventStorePerformanceCountersV1 {
|
|
91
|
+
readonly logScans: number;
|
|
92
|
+
readonly bytesScanned: number;
|
|
93
|
+
readonly eventsScanned: number;
|
|
94
|
+
readonly scanReasons: Readonly<Record<string, number>>;
|
|
95
|
+
}
|
|
87
96
|
export declare class ThreadEventStoreError extends Error {
|
|
88
97
|
readonly code: 'ORION_THREAD_EVENT_CORRUPT' | 'ORION_THREAD_EVENT_LIMIT' | 'ORION_THREAD_EVENT_CURSOR' | 'ORION_THREAD_EVENT_IDENTITY' | 'ORION_THREAD_COMPACT_INVALID' | 'ORION_THREAD_COMPACT_CONFLICT';
|
|
89
98
|
readonly offset?: number | undefined;
|
|
90
99
|
constructor(code: 'ORION_THREAD_EVENT_CORRUPT' | 'ORION_THREAD_EVENT_LIMIT' | 'ORION_THREAD_EVENT_CURSOR' | 'ORION_THREAD_EVENT_IDENTITY' | 'ORION_THREAD_COMPACT_INVALID' | 'ORION_THREAD_COMPACT_CONFLICT', message: string, offset?: number | undefined);
|
|
91
100
|
}
|
|
101
|
+
/** Process-local monotonic read counters for diagnostics and switch budgets. */
|
|
102
|
+
export declare function threadEventStorePerformanceCountersV1(): ThreadEventStorePerformanceCountersV1;
|
|
92
103
|
/**
|
|
93
104
|
* Append-only durable fact store for a single Thread.
|
|
94
105
|
*
|
|
@@ -120,14 +131,14 @@ export declare class ThreadEventStore {
|
|
|
120
131
|
createEphemeral<T extends Extract<RuntimeEventV1, {
|
|
121
132
|
type: 'item.delta';
|
|
122
133
|
}>>(input: AppendRuntimeEventV1<T>): RuntimeEventEnvelopeV1<T>;
|
|
123
|
-
replay(cursor?: number, limit?: number): ThreadEventReplayV1;
|
|
134
|
+
replay(cursor?: number, limit?: number, reason?: ThreadEventReplayReasonV1): ThreadEventReplayV1;
|
|
124
135
|
/**
|
|
125
136
|
* Verify and seal an immutable imported prefix. The first call may scan the
|
|
126
137
|
* authoritative log; later processes reuse the prefix receipt while the
|
|
127
138
|
* exact log identity/projection checkpoint remains current. Internal append
|
|
128
139
|
* carries the proof forward because the hash-chained prefix cannot change.
|
|
129
140
|
*/
|
|
130
|
-
verifyDurablePrefix(cursor: number, eventDigest: string, projectionDigest: string): boolean;
|
|
141
|
+
verifyDurablePrefix(cursor: number, eventDigest: string, projectionDigest: string, projectionDigestVersion?: ThreadProjectionDigestVersionV1): boolean;
|
|
131
142
|
getCursor(): number;
|
|
132
143
|
/**
|
|
133
144
|
* Read the compact persisted receipt without parsing the potentially large
|