@pellux/goodvibes-sdk 0.38.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contracts/artifacts/operator-contract.json +4468 -916
- package/dist/daemon.d.ts +2 -0
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +4 -0
- package/dist/events/communication.d.ts +1 -1
- package/dist/events/surfaces.d.ts +25 -3
- package/dist/events/surfaces.d.ts.map +1 -1
- package/dist/events/surfaces.js +22 -1
- package/dist/events/workflows.d.ts +7 -6
- package/dist/events/workflows.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/platform/agents/archetypes.d.ts.map +1 -1
- package/dist/platform/agents/archetypes.js +7 -0
- package/dist/platform/agents/index.d.ts +1 -0
- package/dist/platform/agents/index.d.ts.map +1 -1
- package/dist/platform/agents/index.js +1 -0
- package/dist/platform/agents/orchestrator-runner.d.ts +16 -3
- package/dist/platform/agents/orchestrator-runner.d.ts.map +1 -1
- package/dist/platform/agents/orchestrator-runner.js +20 -6
- package/dist/platform/agents/orchestrator.d.ts +42 -10
- package/dist/platform/agents/orchestrator.d.ts.map +1 -1
- package/dist/platform/agents/orchestrator.js +68 -20
- package/dist/platform/agents/planner-decomposition-runner.d.ts +38 -0
- package/dist/platform/agents/planner-decomposition-runner.d.ts.map +1 -0
- package/dist/platform/agents/planner-decomposition-runner.js +113 -0
- package/dist/platform/agents/turn-knowledge-injection.d.ts +88 -3
- package/dist/platform/agents/turn-knowledge-injection.d.ts.map +1 -1
- package/dist/platform/agents/turn-knowledge-injection.js +147 -30
- package/dist/platform/agents/worktree.d.ts +126 -8
- package/dist/platform/agents/worktree.d.ts.map +1 -1
- package/dist/platform/agents/worktree.js +240 -19
- package/dist/platform/agents/wrfc-controller.d.ts +24 -1
- package/dist/platform/agents/wrfc-controller.d.ts.map +1 -1
- package/dist/platform/agents/wrfc-controller.js +161 -35
- package/dist/platform/agents/wrfc-gate-runtime.d.ts +9 -0
- package/dist/platform/agents/wrfc-gate-runtime.d.ts.map +1 -1
- package/dist/platform/agents/wrfc-gate-runtime.js +7 -3
- package/dist/platform/agents/wrfc-gates.d.ts +1 -1
- package/dist/platform/agents/wrfc-gates.d.ts.map +1 -1
- package/dist/platform/agents/wrfc-gates.js +7 -1
- package/dist/platform/agents/wrfc-types.d.ts +23 -3
- package/dist/platform/agents/wrfc-types.d.ts.map +1 -1
- package/dist/platform/automation/types.d.ts +9 -1
- package/dist/platform/automation/types.d.ts.map +1 -1
- package/dist/platform/calendar/calendar-api-shared.d.ts +25 -0
- package/dist/platform/calendar/calendar-api-shared.d.ts.map +1 -0
- package/dist/platform/calendar/calendar-api-shared.js +100 -0
- package/dist/platform/calendar/calendar-connector.d.ts +79 -0
- package/dist/platform/calendar/calendar-connector.d.ts.map +1 -0
- package/dist/platform/calendar/calendar-connector.js +155 -0
- package/dist/platform/calendar/google-calendar-api.d.ts +25 -0
- package/dist/platform/calendar/google-calendar-api.d.ts.map +1 -0
- package/dist/platform/calendar/google-calendar-api.js +89 -0
- package/dist/platform/calendar/http-fetch-adapter.d.ts +25 -0
- package/dist/platform/calendar/http-fetch-adapter.d.ts.map +1 -0
- package/dist/platform/calendar/http-fetch-adapter.js +25 -0
- package/dist/platform/calendar/ics-parser.d.ts +35 -0
- package/dist/platform/calendar/ics-parser.d.ts.map +1 -0
- package/dist/platform/calendar/ics-parser.js +236 -0
- package/dist/platform/calendar/index.d.ts +41 -0
- package/dist/platform/calendar/index.d.ts.map +1 -0
- package/dist/platform/calendar/index.js +49 -0
- package/dist/platform/calendar/merged-calendar-model.d.ts +67 -0
- package/dist/platform/calendar/merged-calendar-model.d.ts.map +1 -0
- package/dist/platform/calendar/merged-calendar-model.js +181 -0
- package/dist/platform/calendar/microsoft-graph-api.d.ts +25 -0
- package/dist/platform/calendar/microsoft-graph-api.d.ts.map +1 -0
- package/dist/platform/calendar/microsoft-graph-api.js +95 -0
- package/dist/platform/calendar/oauth-flow.d.ts +62 -0
- package/dist/platform/calendar/oauth-flow.d.ts.map +1 -0
- package/dist/platform/calendar/oauth-flow.js +305 -0
- package/dist/platform/calendar/oauth-providers.d.ts +43 -0
- package/dist/platform/calendar/oauth-providers.d.ts.map +1 -0
- package/dist/platform/calendar/oauth-providers.js +120 -0
- package/dist/platform/calendar/oauth-token-store.d.ts +72 -0
- package/dist/platform/calendar/oauth-token-store.d.ts.map +1 -0
- package/dist/platform/calendar/oauth-token-store.js +189 -0
- package/dist/platform/calendar/oauth-types.d.ts +274 -0
- package/dist/platform/calendar/oauth-types.d.ts.map +1 -0
- package/dist/platform/calendar/oauth-types.js +22 -0
- package/dist/platform/calendar/rrule.d.ts +39 -0
- package/dist/platform/calendar/rrule.d.ts.map +1 -0
- package/dist/platform/calendar/rrule.js +261 -0
- package/dist/platform/calendar/subscription-store.d.ts +118 -0
- package/dist/platform/calendar/subscription-store.d.ts.map +1 -0
- package/dist/platform/calendar/subscription-store.js +293 -0
- package/dist/platform/calendar/types.d.ts +170 -0
- package/dist/platform/calendar/types.d.ts.map +1 -0
- package/dist/platform/calendar/types.js +21 -0
- package/dist/platform/companion/companion-chat-attachments.d.ts +29 -0
- package/dist/platform/companion/companion-chat-attachments.d.ts.map +1 -0
- package/dist/platform/companion/companion-chat-attachments.js +121 -0
- package/dist/platform/companion/companion-chat-branching.d.ts +66 -0
- package/dist/platform/companion/companion-chat-branching.d.ts.map +1 -0
- package/dist/platform/companion/companion-chat-branching.js +142 -0
- package/dist/platform/companion/companion-chat-broker-bridge.d.ts +40 -0
- package/dist/platform/companion/companion-chat-broker-bridge.d.ts.map +1 -0
- package/dist/platform/companion/companion-chat-broker-bridge.js +14 -0
- package/dist/platform/companion/companion-chat-broker-sync.d.ts +38 -0
- package/dist/platform/companion/companion-chat-broker-sync.d.ts.map +1 -0
- package/dist/platform/companion/companion-chat-broker-sync.js +80 -0
- package/dist/platform/companion/companion-chat-gc.d.ts +63 -0
- package/dist/platform/companion/companion-chat-gc.d.ts.map +1 -0
- package/dist/platform/companion/companion-chat-gc.js +38 -0
- package/dist/platform/companion/companion-chat-manager.d.ts +91 -23
- package/dist/platform/companion/companion-chat-manager.d.ts.map +1 -1
- package/dist/platform/companion/companion-chat-manager.js +195 -223
- package/dist/platform/companion/companion-chat-persistence.d.ts +9 -1
- package/dist/platform/companion/companion-chat-persistence.d.ts.map +1 -1
- package/dist/platform/companion/companion-chat-persistence.js +10 -2
- package/dist/platform/companion/companion-chat-routes.d.ts +2 -1
- package/dist/platform/companion/companion-chat-routes.d.ts.map +1 -1
- package/dist/platform/companion/companion-chat-routes.js +113 -4
- package/dist/platform/companion/companion-chat-turn-execution.d.ts +61 -0
- package/dist/platform/companion/companion-chat-turn-execution.d.ts.map +1 -0
- package/dist/platform/companion/companion-chat-turn-execution.js +107 -0
- package/dist/platform/companion/companion-chat-types.d.ts +67 -0
- package/dist/platform/companion/companion-chat-types.d.ts.map +1 -1
- package/dist/platform/config/credential-status.d.ts +28 -0
- package/dist/platform/config/credential-status.d.ts.map +1 -0
- package/dist/platform/config/credential-status.js +75 -0
- package/dist/platform/config/index.d.ts +25 -0
- package/dist/platform/config/index.d.ts.map +1 -1
- package/dist/platform/config/index.js +18 -0
- package/dist/platform/config/manager.d.ts +9 -0
- package/dist/platform/config/manager.d.ts.map +1 -1
- package/dist/platform/config/manager.js +21 -2
- package/dist/platform/config/migrations.d.ts +48 -0
- package/dist/platform/config/migrations.d.ts.map +1 -0
- package/dist/platform/config/migrations.js +54 -0
- package/dist/platform/config/schema-domain-core.d.ts +10 -1
- package/dist/platform/config/schema-domain-core.d.ts.map +1 -1
- package/dist/platform/config/schema-domain-core.js +46 -3
- package/dist/platform/config/schema-domain-runtime.d.ts +8 -0
- package/dist/platform/config/schema-domain-runtime.d.ts.map +1 -1
- package/dist/platform/config/schema-domain-runtime.js +32 -0
- package/dist/platform/config/schema-types.d.ts +21 -7
- package/dist/platform/config/schema-types.d.ts.map +1 -1
- package/dist/platform/config/schema.d.ts.map +1 -1
- package/dist/platform/config/schema.js +2 -0
- package/dist/platform/control-plane/approval-broker.d.ts +11 -0
- package/dist/platform/control-plane/approval-broker.d.ts.map +1 -1
- package/dist/platform/control-plane/approval-broker.js +17 -1
- package/dist/platform/control-plane/approval-hunk-apply.d.ts +77 -0
- package/dist/platform/control-plane/approval-hunk-apply.d.ts.map +1 -0
- package/dist/platform/control-plane/approval-hunk-apply.js +80 -0
- package/dist/platform/control-plane/gateway-disabled-response.d.ts +20 -0
- package/dist/platform/control-plane/gateway-disabled-response.d.ts.map +1 -0
- package/dist/platform/control-plane/gateway-disabled-response.js +24 -0
- package/dist/platform/control-plane/gateway-scope-enforcement.d.ts +68 -0
- package/dist/platform/control-plane/gateway-scope-enforcement.d.ts.map +1 -0
- package/dist/platform/control-plane/gateway-scope-enforcement.js +91 -0
- package/dist/platform/control-plane/gateway-utils.d.ts +17 -0
- package/dist/platform/control-plane/gateway-utils.d.ts.map +1 -1
- package/dist/platform/control-plane/gateway-utils.js +30 -0
- package/dist/platform/control-plane/gateway.d.ts +12 -2
- package/dist/platform/control-plane/gateway.d.ts.map +1 -1
- package/dist/platform/control-plane/gateway.js +27 -31
- package/dist/platform/control-plane/index.d.ts +8 -1
- package/dist/platform/control-plane/index.d.ts.map +1 -1
- package/dist/platform/control-plane/index.js +8 -0
- package/dist/platform/control-plane/invoke-input-validation.d.ts +56 -0
- package/dist/platform/control-plane/invoke-input-validation.d.ts.map +1 -0
- package/dist/platform/control-plane/invoke-input-validation.js +163 -0
- package/dist/platform/control-plane/method-catalog-admin.d.ts.map +1 -1
- package/dist/platform/control-plane/method-catalog-admin.js +12 -1
- package/dist/platform/control-plane/method-catalog-calendar.d.ts +16 -0
- package/dist/platform/control-plane/method-catalog-calendar.d.ts.map +1 -1
- package/dist/platform/control-plane/method-catalog-calendar.js +21 -0
- package/dist/platform/control-plane/method-catalog-channels.d.ts.map +1 -1
- package/dist/platform/control-plane/method-catalog-channels.js +32 -3
- package/dist/platform/control-plane/method-catalog-control-automation.d.ts.map +1 -1
- package/dist/platform/control-plane/method-catalog-control-automation.js +19 -34
- package/dist/platform/control-plane/method-catalog-control-companion.d.ts +15 -0
- package/dist/platform/control-plane/method-catalog-control-companion.d.ts.map +1 -0
- package/dist/platform/control-plane/method-catalog-control-companion.js +176 -0
- package/dist/platform/control-plane/method-catalog-control-core.d.ts.map +1 -1
- package/dist/platform/control-plane/method-catalog-control-core.js +104 -122
- package/dist/platform/control-plane/method-catalog-control.d.ts.map +1 -1
- package/dist/platform/control-plane/method-catalog-control.js +4 -0
- package/dist/platform/control-plane/method-catalog-email.d.ts +17 -0
- package/dist/platform/control-plane/method-catalog-email.d.ts.map +1 -1
- package/dist/platform/control-plane/method-catalog-email.js +21 -0
- package/dist/platform/control-plane/method-catalog-events.d.ts +28 -0
- package/dist/platform/control-plane/method-catalog-events.d.ts.map +1 -1
- package/dist/platform/control-plane/method-catalog-events.js +74 -1
- package/dist/platform/control-plane/method-catalog-fleet.d.ts +24 -0
- package/dist/platform/control-plane/method-catalog-fleet.d.ts.map +1 -0
- package/dist/platform/control-plane/method-catalog-fleet.js +65 -0
- package/dist/platform/control-plane/method-catalog-push.d.ts +30 -0
- package/dist/platform/control-plane/method-catalog-push.d.ts.map +1 -0
- package/dist/platform/control-plane/method-catalog-push.js +80 -0
- package/dist/platform/control-plane/method-catalog-route-reconcile.d.ts +84 -0
- package/dist/platform/control-plane/method-catalog-route-reconcile.d.ts.map +1 -0
- package/dist/platform/control-plane/method-catalog-route-reconcile.js +103 -0
- package/dist/platform/control-plane/method-catalog-runtime.d.ts.map +1 -1
- package/dist/platform/control-plane/method-catalog-runtime.js +83 -1
- package/dist/platform/control-plane/method-catalog-shared.d.ts +29 -0
- package/dist/platform/control-plane/method-catalog-shared.d.ts.map +1 -1
- package/dist/platform/control-plane/method-catalog.d.ts +9 -0
- package/dist/platform/control-plane/method-catalog.d.ts.map +1 -1
- package/dist/platform/control-plane/method-catalog.js +34 -3
- package/dist/platform/control-plane/operator-contract-schemas-admin.d.ts +8 -0
- package/dist/platform/control-plane/operator-contract-schemas-admin.d.ts.map +1 -1
- package/dist/platform/control-plane/operator-contract-schemas-admin.js +22 -1
- package/dist/platform/control-plane/operator-contract-schemas-fleet.d.ts +18 -0
- package/dist/platform/control-plane/operator-contract-schemas-fleet.d.ts.map +1 -0
- package/dist/platform/control-plane/operator-contract-schemas-fleet.js +182 -0
- package/dist/platform/control-plane/operator-contract-schemas-permissions.d.ts.map +1 -1
- package/dist/platform/control-plane/operator-contract-schemas-permissions.js +5 -0
- package/dist/platform/control-plane/operator-contract-schemas-runtime.d.ts +37 -0
- package/dist/platform/control-plane/operator-contract-schemas-runtime.d.ts.map +1 -1
- package/dist/platform/control-plane/operator-contract-schemas-runtime.js +100 -3
- package/dist/platform/control-plane/operator-contract-schemas.d.ts +1 -0
- package/dist/platform/control-plane/operator-contract-schemas.d.ts.map +1 -1
- package/dist/platform/control-plane/operator-contract-schemas.js +1 -0
- package/dist/platform/control-plane/operator-contract.d.ts.map +1 -1
- package/dist/platform/control-plane/operator-contract.js +8 -0
- package/dist/platform/control-plane/routes/checkpoints.d.ts +39 -0
- package/dist/platform/control-plane/routes/checkpoints.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/checkpoints.js +166 -0
- package/dist/platform/control-plane/routes/fleet.d.ts +53 -0
- package/dist/platform/control-plane/routes/fleet.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/fleet.js +153 -0
- package/dist/platform/control-plane/routes/gateway-verb-error.d.ts +30 -0
- package/dist/platform/control-plane/routes/gateway-verb-error.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/gateway-verb-error.js +36 -0
- package/dist/platform/control-plane/routes/index.d.ts +0 -6
- package/dist/platform/control-plane/routes/index.d.ts.map +1 -1
- package/dist/platform/control-plane/routes/index.js +5 -5
- package/dist/platform/control-plane/routes/invocation-params.d.ts +23 -0
- package/dist/platform/control-plane/routes/invocation-params.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/invocation-params.js +9 -0
- package/dist/platform/control-plane/routes/push.d.ts +26 -0
- package/dist/platform/control-plane/routes/push.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/push.js +104 -0
- package/dist/platform/control-plane/routes/register-gateway-verb-groups.d.ts +31 -0
- package/dist/platform/control-plane/routes/register-gateway-verb-groups.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/register-gateway-verb-groups.js +16 -0
- package/dist/platform/control-plane/routes/register-w3-s2.d.ts +26 -0
- package/dist/platform/control-plane/routes/register-w3-s2.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/register-w3-s2.js +8 -0
- package/dist/platform/control-plane/routes/session-search.d.ts +37 -0
- package/dist/platform/control-plane/routes/session-search.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/session-search.js +113 -0
- package/dist/platform/control-plane/session-broker-gc.d.ts +16 -0
- package/dist/platform/control-plane/session-broker-gc.d.ts.map +1 -1
- package/dist/platform/control-plane/session-broker-gc.js +23 -6
- package/dist/platform/control-plane/session-broker-helpers.d.ts +3 -3
- package/dist/platform/control-plane/session-broker-helpers.d.ts.map +1 -1
- package/dist/platform/control-plane/session-broker-inputs.d.ts +18 -0
- package/dist/platform/control-plane/session-broker-inputs.d.ts.map +1 -1
- package/dist/platform/control-plane/session-broker-inputs.js +34 -0
- package/dist/platform/control-plane/session-broker-sessions.d.ts +102 -3
- package/dist/platform/control-plane/session-broker-sessions.d.ts.map +1 -1
- package/dist/platform/control-plane/session-broker-sessions.js +179 -5
- package/dist/platform/control-plane/session-broker-state.d.ts +20 -1
- package/dist/platform/control-plane/session-broker-state.d.ts.map +1 -1
- package/dist/platform/control-plane/session-broker-state.js +67 -5
- package/dist/platform/control-plane/session-broker.d.ts +51 -38
- package/dist/platform/control-plane/session-broker.d.ts.map +1 -1
- package/dist/platform/control-plane/session-broker.js +183 -75
- package/dist/platform/control-plane/session-store-importer.d.ts +57 -0
- package/dist/platform/control-plane/session-store-importer.d.ts.map +1 -0
- package/dist/platform/control-plane/session-store-importer.js +227 -0
- package/dist/platform/control-plane/session-types.d.ts +142 -7
- package/dist/platform/control-plane/session-types.d.ts.map +1 -1
- package/dist/platform/core/execution-plan.d.ts +43 -1
- package/dist/platform/core/execution-plan.d.ts.map +1 -1
- package/dist/platform/core/execution-plan.js +46 -10
- package/dist/platform/core/index.d.ts +1 -0
- package/dist/platform/core/index.d.ts.map +1 -1
- package/dist/platform/core/index.js +1 -0
- package/dist/platform/core/orchestrator-runtime.d.ts +23 -3
- package/dist/platform/core/orchestrator-runtime.d.ts.map +1 -1
- package/dist/platform/core/orchestrator-tool-runtime.d.ts +7 -0
- package/dist/platform/core/orchestrator-tool-runtime.d.ts.map +1 -1
- package/dist/platform/core/orchestrator-tool-runtime.js +10 -0
- package/dist/platform/core/orchestrator-turn-loop.d.ts +13 -6
- package/dist/platform/core/orchestrator-turn-loop.d.ts.map +1 -1
- package/dist/platform/core/orchestrator-turn-loop.js +29 -22
- package/dist/platform/core/orchestrator.d.ts +16 -10
- package/dist/platform/core/orchestrator.d.ts.map +1 -1
- package/dist/platform/core/orchestrator.js +23 -8
- package/dist/platform/core/plan-decomposition.d.ts +196 -0
- package/dist/platform/core/plan-decomposition.d.ts.map +1 -0
- package/dist/platform/core/plan-decomposition.js +417 -0
- package/dist/platform/core/plan-proposal.d.ts +39 -0
- package/dist/platform/core/plan-proposal.d.ts.map +1 -1
- package/dist/platform/core/wrfc-routing.d.ts +1 -0
- package/dist/platform/core/wrfc-routing.d.ts.map +1 -1
- package/dist/platform/core/wrfc-routing.js +51 -1
- package/dist/platform/daemon/boot.d.ts +69 -0
- package/dist/platform/daemon/boot.d.ts.map +1 -0
- package/dist/platform/daemon/boot.js +61 -0
- package/dist/platform/daemon/cli.js +2 -1
- package/dist/platform/daemon/control-plane.d.ts.map +1 -1
- package/dist/platform/daemon/control-plane.js +50 -1
- package/dist/platform/daemon/facade-composition.d.ts.map +1 -1
- package/dist/platform/daemon/facade-composition.js +6 -0
- package/dist/platform/daemon/facade.d.ts +15 -6
- package/dist/platform/daemon/facade.d.ts.map +1 -1
- package/dist/platform/daemon/facade.js +48 -43
- package/dist/platform/daemon/http/router-route-contexts.d.ts +1 -0
- package/dist/platform/daemon/http/router-route-contexts.d.ts.map +1 -1
- package/dist/platform/daemon/http/router-route-contexts.js +1 -0
- package/dist/platform/daemon/http/router-session-broker-adapter.d.ts +13 -0
- package/dist/platform/daemon/http/router-session-broker-adapter.d.ts.map +1 -0
- package/dist/platform/daemon/http/router-session-broker-adapter.js +27 -0
- package/dist/platform/daemon/http/router.d.ts +2 -1
- package/dist/platform/daemon/http/router.d.ts.map +1 -1
- package/dist/platform/daemon/http/router.js +42 -40
- package/dist/platform/daemon/http/runtime-route-types.d.ts +42 -4
- package/dist/platform/daemon/http/runtime-route-types.d.ts.map +1 -1
- package/dist/platform/daemon/http/webui-serving.d.ts +68 -0
- package/dist/platform/daemon/http/webui-serving.d.ts.map +1 -0
- package/dist/platform/daemon/http/webui-serving.js +230 -0
- package/dist/platform/daemon/index.d.ts +2 -0
- package/dist/platform/daemon/index.d.ts.map +1 -1
- package/dist/platform/daemon/index.js +1 -0
- package/dist/platform/daemon/service-manager.d.ts +16 -0
- package/dist/platform/daemon/service-manager.d.ts.map +1 -1
- package/dist/platform/daemon/service-manager.js +79 -15
- package/dist/platform/intelligence/tree-sitter/service.d.ts.map +1 -1
- package/dist/platform/intelligence/tree-sitter/service.js +16 -2
- package/dist/platform/knowledge/browser-history/readers.d.ts.map +1 -1
- package/dist/platform/knowledge/browser-history/readers.js +15 -5
- package/dist/platform/knowledge/knowledge-api.d.ts +1 -1
- package/dist/platform/knowledge/project-planning/service.d.ts +14 -1
- package/dist/platform/knowledge/project-planning/service.d.ts.map +1 -1
- package/dist/platform/knowledge/project-planning/service.js +77 -0
- package/dist/platform/knowledge/project-planning/types.d.ts +32 -0
- package/dist/platform/knowledge/project-planning/types.d.ts.map +1 -1
- package/dist/platform/orchestration/bookkeeping.d.ts +12 -0
- package/dist/platform/orchestration/bookkeeping.d.ts.map +1 -0
- package/dist/platform/orchestration/bookkeeping.js +91 -0
- package/dist/platform/orchestration/budget.d.ts +2 -2
- package/dist/platform/orchestration/cancellation.d.ts +2 -2
- package/dist/platform/orchestration/controller-compat.d.ts +16 -3
- package/dist/platform/orchestration/controller-compat.d.ts.map +1 -1
- package/dist/platform/orchestration/controller-compat.js +18 -4
- package/dist/platform/orchestration/dirty-guard.js +1 -1
- package/dist/platform/orchestration/engine.d.ts +26 -1
- package/dist/platform/orchestration/engine.d.ts.map +1 -1
- package/dist/platform/orchestration/engine.js +229 -25
- package/dist/platform/orchestration/index.d.ts +6 -4
- package/dist/platform/orchestration/index.d.ts.map +1 -1
- package/dist/platform/orchestration/index.js +3 -2
- package/dist/platform/orchestration/persistence.d.ts.map +1 -1
- package/dist/platform/orchestration/persistence.js +6 -3
- package/dist/platform/orchestration/phase-runner.d.ts +33 -6
- package/dist/platform/orchestration/phase-runner.d.ts.map +1 -1
- package/dist/platform/orchestration/phase-runner.js +98 -25
- package/dist/platform/orchestration/proposal-workstream.d.ts +56 -0
- package/dist/platform/orchestration/proposal-workstream.d.ts.map +1 -0
- package/dist/platform/orchestration/proposal-workstream.js +76 -0
- package/dist/platform/orchestration/scheduler.d.ts +20 -1
- package/dist/platform/orchestration/scheduler.d.ts.map +1 -1
- package/dist/platform/orchestration/scheduler.js +16 -0
- package/dist/platform/orchestration/types.d.ts +289 -4
- package/dist/platform/orchestration/types.d.ts.map +1 -1
- package/dist/platform/orchestration/types.js +32 -0
- package/dist/platform/orchestration/worktree-isolation.d.ts +33 -0
- package/dist/platform/orchestration/worktree-isolation.d.ts.map +1 -0
- package/dist/platform/orchestration/worktree-isolation.js +248 -0
- package/dist/platform/presentation/glyphs.d.ts +91 -0
- package/dist/platform/presentation/glyphs.d.ts.map +1 -0
- package/dist/platform/presentation/glyphs.js +93 -0
- package/dist/platform/presentation/index.d.ts +28 -0
- package/dist/platform/presentation/index.d.ts.map +1 -0
- package/dist/platform/presentation/index.js +27 -0
- package/dist/platform/presentation/thinking-phrases.d.ts +12 -0
- package/dist/platform/presentation/thinking-phrases.d.ts.map +1 -0
- package/dist/platform/presentation/thinking-phrases.js +32 -0
- package/dist/platform/presentation/tones.d.ts +121 -0
- package/dist/platform/presentation/tones.d.ts.map +1 -0
- package/dist/platform/presentation/tones.js +145 -0
- package/dist/platform/presentation/waiting-wording.d.ts +54 -0
- package/dist/platform/presentation/waiting-wording.d.ts.map +1 -0
- package/dist/platform/presentation/waiting-wording.js +51 -0
- package/dist/platform/providers/runtime-snapshot.d.ts.map +1 -1
- package/dist/platform/providers/runtime-snapshot.js +12 -2
- package/dist/platform/push/delivery.d.ts +48 -0
- package/dist/platform/push/delivery.d.ts.map +1 -0
- package/dist/platform/push/delivery.js +117 -0
- package/dist/platform/push/encryption.d.ts +41 -0
- package/dist/platform/push/encryption.d.ts.map +1 -0
- package/dist/platform/push/encryption.js +82 -0
- package/dist/platform/push/index.d.ts +17 -0
- package/dist/platform/push/index.d.ts.map +1 -0
- package/dist/platform/push/index.js +10 -0
- package/dist/platform/push/service.d.ts +75 -0
- package/dist/platform/push/service.d.ts.map +1 -0
- package/dist/platform/push/service.js +95 -0
- package/dist/platform/push/subscription-store.d.ts +50 -0
- package/dist/platform/push/subscription-store.d.ts.map +1 -0
- package/dist/platform/push/subscription-store.js +123 -0
- package/dist/platform/push/types.d.ts +68 -0
- package/dist/platform/push/types.d.ts.map +1 -0
- package/dist/platform/push/types.js +13 -0
- package/dist/platform/push/vapid.d.ts +54 -0
- package/dist/platform/push/vapid.d.ts.map +1 -0
- package/dist/platform/push/vapid.js +113 -0
- package/dist/platform/runtime/bootstrap-services.d.ts +62 -2
- package/dist/platform/runtime/bootstrap-services.d.ts.map +1 -1
- package/dist/platform/runtime/bootstrap-services.js +217 -50
- package/dist/platform/runtime/daemon-version-compat.d.ts +39 -0
- package/dist/platform/runtime/daemon-version-compat.d.ts.map +1 -0
- package/dist/platform/runtime/daemon-version-compat.js +75 -0
- package/dist/platform/runtime/detached-daemon-runtime.d.ts +26 -0
- package/dist/platform/runtime/detached-daemon-runtime.d.ts.map +1 -0
- package/dist/platform/runtime/detached-daemon-runtime.js +49 -0
- package/dist/platform/runtime/emitters/workflows.d.ts +1 -1
- package/dist/platform/runtime/emitters/workflows.d.ts.map +1 -1
- package/dist/platform/runtime/events/index.d.ts +13 -0
- package/dist/platform/runtime/events/index.d.ts.map +1 -1
- package/dist/platform/runtime/events/index.js +13 -0
- package/dist/platform/runtime/feature-flags/flags.d.ts.map +1 -1
- package/dist/platform/runtime/feature-flags/flags.js +39 -1
- package/dist/platform/runtime/fleet/adapters/agent.d.ts +2 -2
- package/dist/platform/runtime/fleet/adapters/agent.d.ts.map +1 -1
- package/dist/platform/runtime/fleet/adapters/agent.js +4 -4
- package/dist/platform/runtime/fleet/adapters/automation.d.ts +1 -1
- package/dist/platform/runtime/fleet/adapters/automation.js +1 -1
- package/dist/platform/runtime/fleet/adapters/code-index.d.ts +1 -1
- package/dist/platform/runtime/fleet/adapters/code-index.js +1 -1
- package/dist/platform/runtime/fleet/adapters/orchestration.d.ts +40 -18
- package/dist/platform/runtime/fleet/adapters/orchestration.d.ts.map +1 -1
- package/dist/platform/runtime/fleet/adapters/orchestration.js +138 -34
- package/dist/platform/runtime/fleet/adapters/schedule.d.ts +4 -4
- package/dist/platform/runtime/fleet/adapters/schedule.js +4 -4
- package/dist/platform/runtime/fleet/adapters/trigger.d.ts +3 -4
- package/dist/platform/runtime/fleet/adapters/trigger.d.ts.map +1 -1
- package/dist/platform/runtime/fleet/adapters/trigger.js +3 -4
- package/dist/platform/runtime/fleet/adapters/wrfc.d.ts +13 -0
- package/dist/platform/runtime/fleet/adapters/wrfc.d.ts.map +1 -1
- package/dist/platform/runtime/fleet/adapters/wrfc.js +49 -2
- package/dist/platform/runtime/fleet/registry.d.ts +7 -7
- package/dist/platform/runtime/fleet/registry.d.ts.map +1 -1
- package/dist/platform/runtime/fleet/registry.js +41 -7
- package/dist/platform/runtime/fleet/types.d.ts +9 -9
- package/dist/platform/runtime/fleet/types.d.ts.map +1 -1
- package/dist/platform/runtime/memory-spine/client.d.ts +127 -0
- package/dist/platform/runtime/memory-spine/client.d.ts.map +1 -0
- package/dist/platform/runtime/memory-spine/client.js +113 -0
- package/dist/platform/runtime/memory-spine/index.d.ts +11 -0
- package/dist/platform/runtime/memory-spine/index.d.ts.map +1 -0
- package/dist/platform/runtime/memory-spine/index.js +10 -0
- package/dist/platform/runtime/operator-client.d.ts +20 -2
- package/dist/platform/runtime/operator-client.d.ts.map +1 -1
- package/dist/platform/runtime/operator-client.js +11 -1
- package/dist/platform/runtime/provider-accounts/registry.d.ts.map +1 -1
- package/dist/platform/runtime/provider-accounts/registry.js +11 -1
- package/dist/platform/runtime/services.d.ts +11 -9
- package/dist/platform/runtime/services.d.ts.map +1 -1
- package/dist/platform/runtime/services.js +24 -9
- package/dist/platform/runtime/session-spine/client.d.ts +234 -0
- package/dist/platform/runtime/session-spine/client.d.ts.map +1 -0
- package/dist/platform/runtime/session-spine/client.js +449 -0
- package/dist/platform/runtime/session-spine/index.d.ts +12 -0
- package/dist/platform/runtime/session-spine/index.d.ts.map +1 -0
- package/dist/platform/runtime/session-spine/index.js +11 -0
- package/dist/platform/runtime/session-spine/union-cache.d.ts +225 -0
- package/dist/platform/runtime/session-spine/union-cache.d.ts.map +1 -0
- package/dist/platform/runtime/session-spine/union-cache.js +333 -0
- package/dist/platform/runtime/shell-command-ops.d.ts +3 -1
- package/dist/platform/runtime/shell-command-ops.d.ts.map +1 -1
- package/dist/platform/runtime/transports/daemon-http-client-validators.d.ts.map +1 -1
- package/dist/platform/runtime/transports/daemon-http-client-validators.js +22 -0
- package/dist/platform/runtime/transports/daemon-http-client.d.ts.map +1 -1
- package/dist/platform/runtime/transports/daemon-http-client.js +25 -2
- package/dist/platform/runtime/transports/http-types.d.ts +9 -2
- package/dist/platform/runtime/transports/http-types.d.ts.map +1 -1
- package/dist/platform/state/canonical-memory.d.ts +95 -0
- package/dist/platform/state/canonical-memory.d.ts.map +1 -0
- package/dist/platform/state/canonical-memory.js +155 -0
- package/dist/platform/state/code-index-chunking.js +1 -1
- package/dist/platform/state/code-index-db.d.ts +1 -1
- package/dist/platform/state/code-index-reindex.d.ts +73 -0
- package/dist/platform/state/code-index-reindex.d.ts.map +1 -0
- package/dist/platform/state/code-index-reindex.js +156 -0
- package/dist/platform/state/code-index-store.d.ts.map +1 -1
- package/dist/platform/state/code-index-store.js +11 -3
- package/dist/platform/state/index.d.ts +8 -0
- package/dist/platform/state/index.d.ts.map +1 -1
- package/dist/platform/state/index.js +4 -0
- package/dist/platform/state/memory-recall-contract.d.ts +118 -0
- package/dist/platform/state/memory-recall-contract.d.ts.map +1 -0
- package/dist/platform/state/memory-recall-contract.js +170 -0
- package/dist/platform/state/memory-registry.d.ts +8 -0
- package/dist/platform/state/memory-registry.d.ts.map +1 -1
- package/dist/platform/state/memory-registry.js +10 -0
- package/dist/platform/state/memory-store.d.ts +2 -0
- package/dist/platform/state/memory-store.d.ts.map +1 -1
- package/dist/platform/state/memory-store.js +4 -0
- package/dist/platform/state/memory-vector-store.d.ts.map +1 -1
- package/dist/platform/state/memory-vector-store.js +14 -3
- package/dist/platform/state/sqlite-store.d.ts +2 -0
- package/dist/platform/state/sqlite-store.d.ts.map +1 -1
- package/dist/platform/state/sqlite-store.js +4 -0
- package/dist/platform/state/sqlite-vec-loader.d.ts +1 -1
- package/dist/platform/state/sqlite-vec-loader.js +1 -1
- package/dist/platform/state/vibe-projection.d.ts +67 -0
- package/dist/platform/state/vibe-projection.d.ts.map +1 -0
- package/dist/platform/state/vibe-projection.js +115 -0
- package/dist/platform/tools/agent/index.d.ts.map +1 -1
- package/dist/platform/tools/agent/index.js +8 -0
- package/dist/platform/tools/agent/manager.d.ts +22 -10
- package/dist/platform/tools/agent/manager.d.ts.map +1 -1
- package/dist/platform/tools/agent/manager.js +13 -7
- package/dist/platform/tools/agent/schema.d.ts +26 -0
- package/dist/platform/tools/agent/schema.d.ts.map +1 -1
- package/dist/platform/tools/agent/schema.js +2 -2
- package/dist/platform/tools/agent/wrfc-batch-policy.d.ts +13 -0
- package/dist/platform/tools/agent/wrfc-batch-policy.d.ts.map +1 -1
- package/dist/platform/tools/agent/wrfc-batch-policy.js +60 -0
- package/dist/platform/tools/exec/runtime.d.ts +10 -0
- package/dist/platform/tools/exec/runtime.d.ts.map +1 -1
- package/dist/platform/tools/exec/runtime.js +27 -10
- package/dist/platform/tools/exec/schema.d.ts +2 -2
- package/dist/platform/tools/exec/schema.d.ts.map +1 -1
- package/dist/platform/tools/exec/schema.js +2 -1
- package/dist/platform/tools/fetch/runtime.d.ts +1 -1
- package/dist/platform/tools/index.d.ts +2 -0
- package/dist/platform/tools/index.d.ts.map +1 -1
- package/dist/platform/tools/index.js +2 -0
- package/dist/platform/tools/registry.d.ts +1 -1
- package/dist/platform/tools/registry.js +1 -1
- package/dist/platform/tools/state/index.d.ts +9 -0
- package/dist/platform/tools/state/index.d.ts.map +1 -1
- package/dist/platform/tools/state/index.js +60 -3
- package/dist/platform/types/foundation-contract.d.ts +1 -1
- package/dist/platform/types/foundation-contract.d.ts.map +1 -1
- package/dist/platform/types/index.d.ts +1 -1
- package/dist/platform/types/index.d.ts.map +1 -1
- package/dist/platform/types/tools.d.ts +1 -1
- package/dist/platform/utils/request-body.d.ts.map +1 -1
- package/dist/platform/utils/request-body.js +50 -5
- package/dist/platform/version.js +1 -1
- package/package.json +25 -9
- package/dist/platform/control-plane/routes/automation.d.ts +0 -3
- package/dist/platform/control-plane/routes/automation.d.ts.map +0 -1
- package/dist/platform/control-plane/routes/automation.js +0 -63
- package/dist/platform/control-plane/routes/context.d.ts +0 -2
- package/dist/platform/control-plane/routes/context.d.ts.map +0 -1
- package/dist/platform/control-plane/routes/context.js +0 -1
- package/dist/platform/control-plane/routes/operator.d.ts +0 -8
- package/dist/platform/control-plane/routes/operator.d.ts.map +0 -1
- package/dist/platform/control-plane/routes/operator.js +0 -415
- package/dist/platform/control-plane/routes/remote.d.ts +0 -3
- package/dist/platform/control-plane/routes/remote.d.ts.map +0 -1
- package/dist/platform/control-plane/routes/remote.js +0 -35
- package/dist/platform/control-plane/routes/sessions.d.ts +0 -3
- package/dist/platform/control-plane/routes/sessions.d.ts.map +0 -1
- package/dist/platform/control-plane/routes/sessions.js +0 -43
- package/dist/platform/control-plane/routes/tasks.d.ts +0 -3
- package/dist/platform/control-plane/routes/tasks.d.ts.map +0 -1
- package/dist/platform/control-plane/routes/tasks.js +0 -22
|
@@ -19,7 +19,16 @@ export { summarizeToolArgs } from './orchestrator-utils.js';
|
|
|
19
19
|
* `orchestrator-runner.ts`; this class owns shared registry/state wiring.
|
|
20
20
|
*/
|
|
21
21
|
export class AgentOrchestrator {
|
|
22
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Keyed by working directory. A ToolRegistry is permanently bound to one
|
|
24
|
+
* cwd at construction (every tool factory closes over it — see
|
|
25
|
+
* tools/index.ts registerAllTools), so a distinct cwd genuinely needs its
|
|
26
|
+
* own registry, not a mutable field. The default cwd
|
|
27
|
+
* (`this.toolDeps.workingDirectory`) is cached under its own key exactly
|
|
28
|
+
* like the single `fullRegistry` field this replaces — same lazy-build,
|
|
29
|
+
* same channel-version invalidation, same object identity once built.
|
|
30
|
+
*/
|
|
31
|
+
fullRegistries = new Map();
|
|
23
32
|
fullRegistryChannelVersion = -2;
|
|
24
33
|
toolDeps = null;
|
|
25
34
|
featureFlagManager = null;
|
|
@@ -42,7 +51,7 @@ export class AgentOrchestrator {
|
|
|
42
51
|
this.featureFlagManager = manager;
|
|
43
52
|
}
|
|
44
53
|
/**
|
|
45
|
-
* Wire the
|
|
54
|
+
* Wire the conversation-snapshot bridge (Part C6; see
|
|
46
55
|
* AgentConversationSink). Pass null to detach — createRunContext() then
|
|
47
56
|
* omits the register/release callbacks entirely and orchestrator-runner's
|
|
48
57
|
* `?.()` calls become no-ops.
|
|
@@ -51,7 +60,7 @@ export class AgentOrchestrator {
|
|
|
51
60
|
this.conversationSink = sink;
|
|
52
61
|
}
|
|
53
62
|
/**
|
|
54
|
-
* Wire the
|
|
63
|
+
* Wire the cancellation bridge (see AgentCancellationSource). Pass
|
|
55
64
|
* null to detach — createRunContext() then omits getCancellationSignal
|
|
56
65
|
* entirely and orchestrator-runner's `?.()` call becomes a no-op, so every
|
|
57
66
|
* tool call runs with `opts` undefined exactly as before this change.
|
|
@@ -158,30 +167,53 @@ export class AgentOrchestrator {
|
|
|
158
167
|
*/
|
|
159
168
|
setDependencies(toolDeps) {
|
|
160
169
|
this.toolDeps = toolDeps;
|
|
161
|
-
this.
|
|
170
|
+
this.fullRegistries = new Map();
|
|
162
171
|
this.fullRegistryChannelVersion = -2;
|
|
163
172
|
}
|
|
164
173
|
/**
|
|
165
|
-
* Returns the fully-populated ToolRegistry for this orchestrator
|
|
166
|
-
* Used by companion chat to execute tool calls emitted
|
|
167
|
-
*
|
|
174
|
+
* Returns the fully-populated ToolRegistry for this orchestrator's DEFAULT
|
|
175
|
+
* working directory. Used by companion chat to execute tool calls emitted
|
|
176
|
+
* by the LLM — companion chat has no per-call cwd override, so this always
|
|
177
|
+
* resolves to `this.toolDeps.workingDirectory`. Delegates to the
|
|
178
|
+
* lazy-initialized internal registry cache.
|
|
168
179
|
*/
|
|
169
180
|
getToolRegistry() {
|
|
170
181
|
return this.getFullRegistry();
|
|
171
182
|
}
|
|
172
|
-
/**
|
|
173
|
-
|
|
183
|
+
/**
|
|
184
|
+
* Lazily build and cache the full ToolRegistry for `workingDirectory`
|
|
185
|
+
* (default: `this.toolDeps.workingDirectory`, unchanged from before this
|
|
186
|
+
* cache became keyed). A non-default cwd — a spawned agent's dedicated
|
|
187
|
+
* worktree (AgentRecord.workingDirectory, see AgentInput.workingDirectory)
|
|
188
|
+
* — gets its OWN fresh fileCache/projectIndex rather than reusing the
|
|
189
|
+
* shared session's: those are scoped to the default cwd and would
|
|
190
|
+
* otherwise silently index/search the wrong directory.
|
|
191
|
+
*/
|
|
192
|
+
getFullRegistry(workingDirectory) {
|
|
174
193
|
const channelVersion = this.channelRegistry?.getVersion() ?? -1;
|
|
175
|
-
if (
|
|
194
|
+
if (this.fullRegistryChannelVersion !== channelVersion) {
|
|
195
|
+
this.fullRegistries.clear();
|
|
196
|
+
this.fullRegistryChannelVersion = channelVersion;
|
|
197
|
+
}
|
|
198
|
+
const defaultCwd = this.toolDeps?.workingDirectory ?? '';
|
|
199
|
+
const cwd = workingDirectory ?? defaultCwd;
|
|
200
|
+
let registry = this.fullRegistries.get(cwd);
|
|
201
|
+
if (!registry) {
|
|
176
202
|
if (!this.toolDeps?.configManager || !this.toolDeps?.providerRegistry || !this.toolDeps?.toolLLM) {
|
|
177
203
|
throw new Error('AgentOrchestrator requires configManager, providerRegistry, and toolLLM dependencies before tool registration');
|
|
178
204
|
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
205
|
+
registry = new ToolRegistry();
|
|
206
|
+
const isDefaultCwd = cwd === defaultCwd;
|
|
207
|
+
registerAllTools(registry, {
|
|
208
|
+
...this.toolDeps,
|
|
209
|
+
workingDirectory: cwd,
|
|
210
|
+
fileCache: isDefaultCwd ? this.toolDeps.fileCache : undefined,
|
|
211
|
+
projectIndex: isDefaultCwd ? this.toolDeps.projectIndex : undefined,
|
|
212
|
+
});
|
|
213
|
+
registerChannelAgentTools(registry, this.toolDeps?.channelRegistry ?? this.channelRegistry);
|
|
214
|
+
this.fullRegistries.set(cwd, registry);
|
|
183
215
|
}
|
|
184
|
-
return
|
|
216
|
+
return registry;
|
|
185
217
|
}
|
|
186
218
|
/**
|
|
187
219
|
* Build a ToolRegistry containing only the tools whose names appear in
|
|
@@ -347,9 +379,15 @@ export class AgentOrchestrator {
|
|
|
347
379
|
}
|
|
348
380
|
return routes;
|
|
349
381
|
}
|
|
350
|
-
|
|
382
|
+
/**
|
|
383
|
+
* @param workingDirectory Per-call cwd override (AgentRecord.workingDirectory).
|
|
384
|
+
* Absent ⇒ `this.toolDeps.workingDirectory`, byte-identical to every run
|
|
385
|
+
* context built before this parameter existed.
|
|
386
|
+
*/
|
|
387
|
+
createRunContext(workingDirectory) {
|
|
388
|
+
const cwd = workingDirectory ?? this.toolDeps?.workingDirectory ?? '';
|
|
351
389
|
return {
|
|
352
|
-
workingDirectory:
|
|
390
|
+
workingDirectory: cwd,
|
|
353
391
|
surfaceRoot: this.toolDeps?.surfaceRoot ?? '',
|
|
354
392
|
runtimeBus: this.runtimeBus,
|
|
355
393
|
featureFlagManager: this.featureFlagManager,
|
|
@@ -377,17 +415,27 @@ export class AgentOrchestrator {
|
|
|
377
415
|
messageBus: this.messageBus,
|
|
378
416
|
knowledgeService: this.toolDeps?.knowledgeService,
|
|
379
417
|
memoryRegistry: this.toolDeps?.memoryRegistry,
|
|
418
|
+
codeIndex: this.toolDeps?.codeIndex,
|
|
419
|
+
isCodeInjectionSettingEnabled: this.toolDeps?.isCodeInjectionSettingEnabled,
|
|
420
|
+
onToolExecuted: this.toolDeps?.codeIndexReindexScheduler
|
|
421
|
+
? (toolName, args, success) => this.toolDeps.codeIndexReindexScheduler.onToolExecuted(toolName, args, success)
|
|
422
|
+
: undefined,
|
|
380
423
|
archetypeLoader: this.toolDeps?.archetypeLoader,
|
|
381
424
|
providerOptimizer: this.toolDeps?.providerOptimizer,
|
|
382
425
|
providerRegistry: this.toolDeps.providerRegistry,
|
|
383
|
-
getFullRegistry: () => this.getFullRegistry(),
|
|
426
|
+
getFullRegistry: () => this.getFullRegistry(cwd),
|
|
384
427
|
buildScopedRegistry: (allowedNames, fullRegistry) => this.buildScopedRegistry(allowedNames, fullRegistry),
|
|
385
428
|
resolveProviderForRecord: (providerRegistry, record, currentModel) => this.resolveProviderForRecord(providerRegistry, record, currentModel),
|
|
386
429
|
resolveFallbackModelRoutes: (providerRegistry, record, currentModel, primaryRequestedModelId) => this.resolveFallbackModelRoutes(providerRegistry, record, currentModel, primaryRequestedModelId),
|
|
387
430
|
};
|
|
388
431
|
}
|
|
389
|
-
/**
|
|
432
|
+
/**
|
|
433
|
+
* Run an agent task described by the given record. Honors
|
|
434
|
+
* `record.workingDirectory` when set (see AgentInput.workingDirectory) —
|
|
435
|
+
* every tool this run's registry exposes is bound to that cwd instead of
|
|
436
|
+
* the orchestrator's default.
|
|
437
|
+
*/
|
|
390
438
|
async runAgent(record) {
|
|
391
|
-
await runAgentTask(this.createRunContext(), record);
|
|
439
|
+
await runAgentTask(this.createRunContext(record.workingDirectory), record);
|
|
392
440
|
}
|
|
393
441
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Production `DecompositionRunner` backed by the real `AgentManager`.
|
|
3
|
+
*
|
|
4
|
+
* This is the concrete driver that spawns a bounded, READ-ONLY `planner`
|
|
5
|
+
* agent through the existing agents machinery and polls it to completion. It
|
|
6
|
+
* lives in the agents layer (not `core`) precisely so `core/plan-decomposition.ts`
|
|
7
|
+
* can stay free of any agent-machinery import and be unit-tested against a
|
|
8
|
+
* stubbed runner. The planning agent it spawns is an ordinary `AgentManager`
|
|
9
|
+
* agent, so it surfaces in the fleet like any other and honours kill/steer;
|
|
10
|
+
* an external kill lands here as a `'cancelled'` result → heuristic fallback.
|
|
11
|
+
*
|
|
12
|
+
* Bounds are enforced cooperatively by polling `AgentRecord.usage`:
|
|
13
|
+
* - wall-clock: `cancel()` once `now() >= start + wallTimeoutMs`
|
|
14
|
+
* - token ceiling: `cancel()` once input+output tokens exceed the ceiling
|
|
15
|
+
* - turns: `cancel()` once `usage.turnCount` exceeds `maxTurns`
|
|
16
|
+
* All three collapse to a `'cancelled'` run result (with a `detail`), which the
|
|
17
|
+
* service turns into an honest `fallbackReason`.
|
|
18
|
+
*/
|
|
19
|
+
import type { AgentManager } from '../tools/agent/manager.js';
|
|
20
|
+
import type { DecompositionRunner } from '../core/plan-decomposition.js';
|
|
21
|
+
/** The read-only tool set the planner template resolves to. Kept in lockstep
|
|
22
|
+
* with AGENT_TEMPLATES.planner and passed with restrictTools for a hard cap. */
|
|
23
|
+
export declare const PLANNER_DECOMPOSITION_TOOLS: readonly ["read", "find", "analyze", "inspect"];
|
|
24
|
+
export interface AgentManagerDecompositionRunnerDeps {
|
|
25
|
+
agentManager: Pick<AgentManager, 'spawn' | 'getStatus' | 'cancel'>;
|
|
26
|
+
/** Injectable clock (tests). */
|
|
27
|
+
now?: () => number;
|
|
28
|
+
/** Injectable sleep (tests). */
|
|
29
|
+
sleep?: (ms: number) => Promise<void>;
|
|
30
|
+
/** Poll interval in ms (default 50). */
|
|
31
|
+
pollIntervalMs?: number;
|
|
32
|
+
/** Optional model registry key override for the planner agent. */
|
|
33
|
+
model?: string | undefined;
|
|
34
|
+
/** Optional provider override for the planner agent. */
|
|
35
|
+
provider?: string | undefined;
|
|
36
|
+
}
|
|
37
|
+
export declare function createAgentManagerDecompositionRunner(deps: AgentManagerDecompositionRunnerDeps): DecompositionRunner;
|
|
38
|
+
//# sourceMappingURL=planner-decomposition-runner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planner-decomposition-runner.d.ts","sourceRoot":"","sources":["../../../src/platform/agents/planner-decomposition-runner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAG9D,OAAO,KAAK,EACV,mBAAmB,EAGpB,MAAM,+BAA+B,CAAC;AAGvC;iFACiF;AACjF,eAAO,MAAM,2BAA2B,iDAAkD,CAAC;AAE3F,MAAM,WAAW,mCAAmC;IAClD,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,OAAO,GAAG,WAAW,GAAG,QAAQ,CAAC,CAAC;IACnE,gCAAgC;IAChC,GAAG,CAAC,EAAE,MAAM,MAAM,CAAC;IACnB,gCAAgC;IAChC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtC,wCAAwC;IACxC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAyBD,wBAAgB,qCAAqC,CACnD,IAAI,EAAE,mCAAmC,GACxC,mBAAmB,CA+ErB"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Production `DecompositionRunner` backed by the real `AgentManager`.
|
|
3
|
+
*
|
|
4
|
+
* This is the concrete driver that spawns a bounded, READ-ONLY `planner`
|
|
5
|
+
* agent through the existing agents machinery and polls it to completion. It
|
|
6
|
+
* lives in the agents layer (not `core`) precisely so `core/plan-decomposition.ts`
|
|
7
|
+
* can stay free of any agent-machinery import and be unit-tested against a
|
|
8
|
+
* stubbed runner. The planning agent it spawns is an ordinary `AgentManager`
|
|
9
|
+
* agent, so it surfaces in the fleet like any other and honours kill/steer;
|
|
10
|
+
* an external kill lands here as a `'cancelled'` result → heuristic fallback.
|
|
11
|
+
*
|
|
12
|
+
* Bounds are enforced cooperatively by polling `AgentRecord.usage`:
|
|
13
|
+
* - wall-clock: `cancel()` once `now() >= start + wallTimeoutMs`
|
|
14
|
+
* - token ceiling: `cancel()` once input+output tokens exceed the ceiling
|
|
15
|
+
* - turns: `cancel()` once `usage.turnCount` exceeds `maxTurns`
|
|
16
|
+
* All three collapse to a `'cancelled'` run result (with a `detail`), which the
|
|
17
|
+
* service turns into an honest `fallbackReason`.
|
|
18
|
+
*/
|
|
19
|
+
import { summarizeError } from '../utils/error-display.js';
|
|
20
|
+
/** The read-only tool set the planner template resolves to. Kept in lockstep
|
|
21
|
+
* with AGENT_TEMPLATES.planner and passed with restrictTools for a hard cap. */
|
|
22
|
+
export const PLANNER_DECOMPOSITION_TOOLS = ['read', 'find', 'analyze', 'inspect'];
|
|
23
|
+
function defaultSleep(ms) {
|
|
24
|
+
return new Promise((resolve) => {
|
|
25
|
+
const timer = setTimeout(resolve, ms);
|
|
26
|
+
timer.unref?.();
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
function mapUsage(usage) {
|
|
30
|
+
if (!usage)
|
|
31
|
+
return undefined;
|
|
32
|
+
return {
|
|
33
|
+
inputTokens: usage.inputTokens,
|
|
34
|
+
outputTokens: usage.outputTokens,
|
|
35
|
+
cacheReadTokens: usage.cacheReadTokens,
|
|
36
|
+
cacheWriteTokens: usage.cacheWriteTokens,
|
|
37
|
+
totalTokens: usage.inputTokens + usage.outputTokens,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function createAgentManagerDecompositionRunner(deps) {
|
|
41
|
+
const now = deps.now ?? Date.now;
|
|
42
|
+
const sleep = deps.sleep ?? defaultSleep;
|
|
43
|
+
const pollIntervalMs = deps.pollIntervalMs ?? 50;
|
|
44
|
+
return {
|
|
45
|
+
async run(request) {
|
|
46
|
+
const start = now();
|
|
47
|
+
const spawnInput = {
|
|
48
|
+
mode: 'spawn',
|
|
49
|
+
task: request.userPrompt,
|
|
50
|
+
template: 'planner',
|
|
51
|
+
tools: [...PLANNER_DECOMPOSITION_TOOLS],
|
|
52
|
+
restrictTools: true,
|
|
53
|
+
executionIntent: { filesystemPolicy: 'read-only', networkPolicy: 'deny', riskClass: 'safe' },
|
|
54
|
+
reviewMode: 'none',
|
|
55
|
+
dangerously_disable_wrfc: true,
|
|
56
|
+
systemPromptAddendum: request.systemPrompt,
|
|
57
|
+
...(deps.model ? { model: deps.model } : {}),
|
|
58
|
+
...(deps.provider ? { provider: deps.provider } : {}),
|
|
59
|
+
};
|
|
60
|
+
let agentId;
|
|
61
|
+
try {
|
|
62
|
+
const record = deps.agentManager.spawn(spawnInput);
|
|
63
|
+
agentId = record.id;
|
|
64
|
+
}
|
|
65
|
+
catch (err) {
|
|
66
|
+
return { status: 'failed', output: '', elapsedMs: now() - start, detail: summarizeError(err) };
|
|
67
|
+
}
|
|
68
|
+
const deadline = start + request.bounds.wallTimeoutMs;
|
|
69
|
+
let stopDetail;
|
|
70
|
+
// Poll until terminal or a bound trips.
|
|
71
|
+
// eslint-disable-next-line no-constant-condition
|
|
72
|
+
while (true) {
|
|
73
|
+
const cur = deps.agentManager.getStatus(agentId);
|
|
74
|
+
if (!cur) {
|
|
75
|
+
return { status: 'failed', output: '', elapsedMs: now() - start, detail: 'agent record disappeared', agentId };
|
|
76
|
+
}
|
|
77
|
+
if (cur.status === 'completed' || cur.status === 'failed' || cur.status === 'cancelled')
|
|
78
|
+
break;
|
|
79
|
+
const tokens = (cur.usage?.inputTokens ?? 0) + (cur.usage?.outputTokens ?? 0);
|
|
80
|
+
if (tokens > request.bounds.tokenCeiling) {
|
|
81
|
+
stopDetail = `token ceiling exceeded (${tokens} > ${request.bounds.tokenCeiling})`;
|
|
82
|
+
deps.agentManager.cancel(agentId, 'kill');
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
if ((cur.usage?.turnCount ?? 0) > request.bounds.maxTurns) {
|
|
86
|
+
stopDetail = `max turns exceeded (${request.bounds.maxTurns})`;
|
|
87
|
+
deps.agentManager.cancel(agentId, 'kill');
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
if (now() >= deadline) {
|
|
91
|
+
stopDetail = `wall-timeout ${request.bounds.wallTimeoutMs}ms`;
|
|
92
|
+
deps.agentManager.cancel(agentId, 'kill');
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
await sleep(pollIntervalMs);
|
|
96
|
+
}
|
|
97
|
+
const final = deps.agentManager.getStatus(agentId);
|
|
98
|
+
if (!final) {
|
|
99
|
+
return { status: 'failed', output: '', elapsedMs: now() - start, detail: 'agent record disappeared', agentId };
|
|
100
|
+
}
|
|
101
|
+
const elapsedMs = (final.completedAt ?? now()) - start;
|
|
102
|
+
const usage = mapUsage(final.usage);
|
|
103
|
+
const output = final.fullOutput ?? '';
|
|
104
|
+
if (final.status === 'completed') {
|
|
105
|
+
return { status: 'completed', output, ...(usage ? { usage } : {}), elapsedMs, agentId };
|
|
106
|
+
}
|
|
107
|
+
if (final.status === 'cancelled') {
|
|
108
|
+
return { status: 'cancelled', output, ...(usage ? { usage } : {}), elapsedMs, ...(stopDetail ? { detail: stopDetail } : {}), agentId };
|
|
109
|
+
}
|
|
110
|
+
return { status: 'failed', output, ...(usage ? { usage } : {}), elapsedMs, ...(final.error ? { detail: final.error } : {}), agentId };
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ProviderMessage } from '../providers/interface.js';
|
|
2
|
-
import type { MemoryRecord, MemoryRegistry, MemorySemanticSearchResult, MemoryVectorStats } from '../state/index.js';
|
|
2
|
+
import type { CodeContextResult, CodeIndexStats, MemoryRecord, MemoryRegistry, MemorySemanticSearchResult, MemoryVectorStats } from '../state/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Default per-turn injection budget: min(800 tokens, 3% of the model's context window).
|
|
5
5
|
* 800 is the static floor for models with an unknown/zero context window (0 short-circuits
|
|
@@ -19,8 +19,52 @@ export declare const DEFAULT_TURN_KNOWLEDGE_BUDGET_TOKENS = 800;
|
|
|
19
19
|
export declare const DEFAULT_TURN_KNOWLEDGE_RELEVANCE_FLOOR = 95;
|
|
20
20
|
/** Default candidate breadth passed through to selectKnowledgeForTaskScored. */
|
|
21
21
|
export declare const DEFAULT_TURN_KNOWLEDGE_LIMIT = 3;
|
|
22
|
+
/** Default candidate breadth for the code-index retrieval (Stage B). */
|
|
23
|
+
export declare const DEFAULT_TURN_CODE_LIMIT = 3;
|
|
24
|
+
/**
|
|
25
|
+
* Similarity → floor-scale projection for code-index hits (Stage B).
|
|
26
|
+
*
|
|
27
|
+
* Memory records are ranked on an ADDITIVE score scale (knowledge-injection.ts
|
|
28
|
+
* scoreKnowledge): confidence (>=55) + reviewState bonus + per-token match
|
|
29
|
+
* bonuses, with the default relevance floor of 95 = confidence 55 + 'fresh' 20
|
|
30
|
+
* + one token match 20. Code-index hits carry a cosine-derived `similarity` in
|
|
31
|
+
* [0,1] (code-index-store.ts distanceToSimilarity = clamp(1 - L2distance/2)),
|
|
32
|
+
* a DIFFERENT scale entirely. To let a single shared relevance floor govern
|
|
33
|
+
* BOTH sources honestly, a code hit's similarity is projected onto the memory
|
|
34
|
+
* score scale by:
|
|
35
|
+
*
|
|
36
|
+
* codeScore = similarity * CODE_SIMILARITY_TO_SCORE_SCALE (= similarity * 200)
|
|
37
|
+
*
|
|
38
|
+
* Consequences of scale = 200, stated so the mapping is auditable, not magic:
|
|
39
|
+
* - The default floor 95 admits code at similarity >= 0.475.
|
|
40
|
+
* - An orthogonal (unrelated) normalized-embedding pair has cosine 0, i.e.
|
|
41
|
+
* L2 distance sqrt(2) ≈ 1.414, i.e. similarity ≈ 0.293 — BELOW 0.475, so
|
|
42
|
+
* unrelated chunks never clear the floor.
|
|
43
|
+
* - A genuinely similar chunk (similarity 0.5–1.0 → score 100–200) clears it.
|
|
44
|
+
* - Because the SAME configurable floor scales both sources, raising the
|
|
45
|
+
* floor (stricter memory) also raises the code similarity bar in lockstep,
|
|
46
|
+
* and lowering it loosens both. There is no separate, silently-diverging
|
|
47
|
+
* code threshold to keep in sync.
|
|
48
|
+
*/
|
|
49
|
+
export declare const CODE_SIMILARITY_TO_SCORE_SCALE = 200;
|
|
22
50
|
/** Bounded ring size for AgentRecord.turnInjections (see recordTurnInjection). */
|
|
23
51
|
export declare const DEFAULT_TURN_INJECTION_RING_SIZE = 20;
|
|
52
|
+
/**
|
|
53
|
+
* Structural code-index surface the per-turn retrieval reads (Stage B). Kept
|
|
54
|
+
* structural (not `Pick<CodeIndexStore, ...>`) so tests can supply a minimal
|
|
55
|
+
* fake without constructing a real sqlite-backed store. `stats()` exposes the
|
|
56
|
+
* exact honesty signals the retrieval gates on: an empty index, a provider-
|
|
57
|
+
* space mismatch, or a hashed-only (no real semantic) provider each mean "do
|
|
58
|
+
* not auto-inject" — see collectCodeInjectionCandidates.
|
|
59
|
+
*/
|
|
60
|
+
export type TurnCodeIndexSource = {
|
|
61
|
+
search(query: string, opts?: {
|
|
62
|
+
limit?: number;
|
|
63
|
+
}): readonly CodeContextResult[];
|
|
64
|
+
stats(): Pick<CodeIndexStats, 'available' | 'indexedChunks' | 'embeddingProviderMismatch' | 'semanticRetrievalAvailable'>;
|
|
65
|
+
};
|
|
66
|
+
/** Source of one injected line: reviewable project memory vs the repo code index. */
|
|
67
|
+
export type TurnInjectionSource = 'memory' | 'code-index';
|
|
24
68
|
export declare function defaultTurnKnowledgeBudgetTokens(contextWindow: number): number;
|
|
25
69
|
/**
|
|
26
70
|
* Per-turn honesty record for one agent turn's passive-injection attempt. Stored on
|
|
@@ -33,10 +77,23 @@ export interface TurnInjectionRecord {
|
|
|
33
77
|
readonly turn: number;
|
|
34
78
|
/** The derived query actually sent through the ranking pipeline (task + conversation tail). */
|
|
35
79
|
readonly query: string;
|
|
36
|
-
/** Count of scored, confidence-gated, not-already-injected candidates considered this turn. */
|
|
80
|
+
/** Count of scored, confidence-gated, not-already-injected MEMORY candidates considered this turn. */
|
|
37
81
|
readonly candidatesConsidered: number;
|
|
82
|
+
/**
|
|
83
|
+
* Count of not-already-injected CODE-INDEX hits considered this turn (before the relevance floor).
|
|
84
|
+
* 0 when code injection was off / no code source was wired / the index was empty or mismatched
|
|
85
|
+
* (see codeInjectionSkipped for which). Stage B — memory-only records keep this at 0.
|
|
86
|
+
*/
|
|
87
|
+
readonly codeCandidatesConsidered: number;
|
|
38
88
|
/** Record ids actually injected into the prompt this turn (empty when block===null). */
|
|
39
89
|
readonly injectedIds: readonly string[];
|
|
90
|
+
/**
|
|
91
|
+
* Source of each injected id, SAME ORDER as injectedIds: 'memory' for a reviewable
|
|
92
|
+
* project-memory record, 'code-index' for a repo source-tree chunk. Kept as a parallel
|
|
93
|
+
* array (not folded into ingestModes, which is a retrieval-quality label, not source
|
|
94
|
+
* plumbing) so /recall and the transcript can label a code hit as a code hit honestly.
|
|
95
|
+
*/
|
|
96
|
+
readonly injectedSources: readonly TurnInjectionSource[];
|
|
40
97
|
/** Record ids that cleared the relevance floor but were dropped to fit the token budget. */
|
|
41
98
|
readonly droppedForBudget: readonly string[];
|
|
42
99
|
/** Estimated token cost of the rendered block (0 when block===null). */
|
|
@@ -45,8 +102,20 @@ export interface TurnInjectionRecord {
|
|
|
45
102
|
readonly budgetTokens: number;
|
|
46
103
|
/** The relevance floor this turn was evaluated against. */
|
|
47
104
|
readonly relevanceFloor: number;
|
|
48
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Retrieval-quality label of each injected record, same order as injectedIds: for a memory
|
|
107
|
+
* record its ingest mode (keyword/semantic/hybrid-ranked); for a code hit its honest match
|
|
108
|
+
* label ('semantic' when a real vector match, 'lexical' when a degraded name/path match).
|
|
109
|
+
*/
|
|
49
110
|
readonly ingestModes: readonly string[];
|
|
111
|
+
/**
|
|
112
|
+
* Present exactly when a code source WAS wired and enabled this turn but contributed no
|
|
113
|
+
* injected line, stating why in the store's own terms: 'code index empty', a provider-space
|
|
114
|
+
* mismatch string, 'no semantic embedding provider', or 'no code chunks cleared the relevance
|
|
115
|
+
* floor'. Undefined when code injected at least one line, or when code injection was off (the
|
|
116
|
+
* flag/setting gate never called into the index — nothing to explain).
|
|
117
|
+
*/
|
|
118
|
+
readonly codeInjectionSkipped?: string | undefined;
|
|
50
119
|
/** Honest embeddings signal: 'available' when the registry's vector index is enabled and
|
|
51
120
|
* usable, 'fallback-lexical' when memory-store.ts's searchSemantic() degraded to keyword
|
|
52
121
|
* ranking (no vector index, or the registry does not expose vectorStats at all). */
|
|
@@ -82,6 +151,22 @@ export interface BuildPerTurnKnowledgeInjectionInput {
|
|
|
82
151
|
/** Ids never to re-list (the spawn-time baseline plus every id injected on prior turns). */
|
|
83
152
|
readonly alreadyInjectedIds: readonly string[];
|
|
84
153
|
readonly turn: number;
|
|
154
|
+
/**
|
|
155
|
+
* Stage B — repo code index. Optional; the two callers pass it only when a store is wired.
|
|
156
|
+
* Whether code hits are actually retrieved is gated by `codeInjectionEnabled` (below) AND
|
|
157
|
+
* the store's own honesty checks (empty index / provider mismatch / no semantic provider),
|
|
158
|
+
* so a wired-but-disabled source is a hard no-op with an honest record.
|
|
159
|
+
*/
|
|
160
|
+
readonly codeIndex?: TurnCodeIndexSource | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Stage B — resolved code-injection gate for this turn: (the `agent-passive-code-injection`
|
|
163
|
+
* feature flag, DEFAULT OFF) AND (the embedder's storage.codeIndexEnabled setting). Resolved
|
|
164
|
+
* by the caller, not this pure function. Defaults to false — code injection never happens
|
|
165
|
+
* unless the caller explicitly opted in this turn, matching the flag's default-off posture.
|
|
166
|
+
*/
|
|
167
|
+
readonly codeInjectionEnabled?: boolean | undefined;
|
|
168
|
+
/** Candidate breadth for the code-index retrieval. Defaults to DEFAULT_TURN_CODE_LIMIT. */
|
|
169
|
+
readonly codeLimit?: number | undefined;
|
|
85
170
|
}
|
|
86
171
|
export interface BuildPerTurnKnowledgeInjectionResult {
|
|
87
172
|
readonly block: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"turn-knowledge-injection.d.ts","sourceRoot":"","sources":["../../../src/platform/agents/turn-knowledge-injection.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAe,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAG9E,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"turn-knowledge-injection.d.ts","sourceRoot":"","sources":["../../../src/platform/agents/turn-knowledge-injection.ts"],"names":[],"mappings":"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"}
|