@pellux/goodvibes-sdk 0.18.3 → 0.18.12
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/README.md +3 -0
- package/dist/_internal/contracts/artifacts/operator-contract.json +55157 -0
- package/dist/_internal/contracts/artifacts/peer-contract.json +2384 -0
- package/dist/_internal/contracts/generated/foundation-client-types.d.ts +11213 -0
- package/dist/_internal/contracts/generated/foundation-client-types.d.ts.map +1 -0
- package/dist/_internal/contracts/generated/foundation-client-types.js +3 -0
- package/dist/_internal/contracts/generated/foundation-metadata.d.ts +8 -0
- package/dist/_internal/contracts/generated/foundation-metadata.d.ts.map +1 -0
- package/dist/_internal/contracts/generated/foundation-metadata.js +8 -0
- package/dist/_internal/contracts/generated/operator-contract.d.ts +3 -0
- package/dist/_internal/contracts/generated/operator-contract.d.ts.map +1 -0
- package/dist/_internal/contracts/generated/operator-contract.js +55157 -0
- package/dist/_internal/contracts/generated/operator-method-ids.d.ts +3 -0
- package/dist/_internal/contracts/generated/operator-method-ids.d.ts.map +1 -0
- package/dist/_internal/contracts/generated/operator-method-ids.js +216 -0
- package/dist/_internal/contracts/generated/peer-contract.d.ts +3 -0
- package/dist/_internal/contracts/generated/peer-contract.d.ts.map +1 -0
- package/dist/_internal/contracts/generated/peer-contract.js +2384 -0
- package/dist/_internal/contracts/generated/peer-endpoint-ids.d.ts +3 -0
- package/dist/_internal/contracts/generated/peer-endpoint-ids.d.ts.map +1 -0
- package/dist/_internal/contracts/generated/peer-endpoint-ids.js +9 -0
- package/dist/_internal/contracts/generated/runtime-event-domains.d.ts +4 -0
- package/dist/_internal/contracts/generated/runtime-event-domains.d.ts.map +1 -0
- package/dist/_internal/contracts/generated/runtime-event-domains.js +32 -0
- package/dist/_internal/contracts/index.d.ts +23 -0
- package/dist/_internal/contracts/index.d.ts.map +1 -0
- package/dist/_internal/contracts/index.js +35 -0
- package/dist/_internal/contracts/node.d.ts +3 -0
- package/dist/_internal/contracts/node.d.ts.map +1 -0
- package/dist/_internal/contracts/node.js +8 -0
- package/dist/_internal/contracts/types.d.ts +150 -0
- package/dist/_internal/contracts/types.d.ts.map +1 -0
- package/dist/_internal/contracts/types.js +1 -0
- package/dist/_internal/contracts.d.ts +2 -0
- package/dist/_internal/contracts.d.ts.map +1 -0
- package/dist/_internal/contracts.js +1 -0
- package/dist/_internal/daemon/api-router.d.ts +3 -0
- package/dist/_internal/daemon/api-router.d.ts.map +1 -0
- package/dist/_internal/daemon/api-router.js +14 -0
- package/dist/_internal/daemon/automation.d.ts +3 -0
- package/dist/_internal/daemon/automation.d.ts.map +1 -0
- package/dist/_internal/daemon/automation.js +56 -0
- package/dist/_internal/daemon/channel-route-types.d.ts +78 -0
- package/dist/_internal/daemon/channel-route-types.d.ts.map +1 -0
- package/dist/_internal/daemon/channel-route-types.js +1 -0
- package/dist/_internal/daemon/channel-routes.d.ts +4 -0
- package/dist/_internal/daemon/channel-routes.d.ts.map +1 -0
- package/dist/_internal/daemon/channel-routes.js +264 -0
- package/dist/_internal/daemon/context.d.ts +207 -0
- package/dist/_internal/daemon/context.d.ts.map +1 -0
- package/dist/_internal/daemon/context.js +1 -0
- package/dist/_internal/daemon/control-routes.d.ts +57 -0
- package/dist/_internal/daemon/control-routes.d.ts.map +1 -0
- package/dist/_internal/daemon/control-routes.js +120 -0
- package/dist/_internal/daemon/error-response.d.ts +10 -0
- package/dist/_internal/daemon/error-response.d.ts.map +1 -0
- package/dist/_internal/daemon/error-response.js +224 -0
- package/dist/_internal/daemon/http-policy.d.ts +33 -0
- package/dist/_internal/daemon/http-policy.d.ts.map +1 -0
- package/dist/_internal/daemon/http-policy.js +31 -0
- package/dist/_internal/daemon/index.d.ts +30 -0
- package/dist/_internal/daemon/index.d.ts.map +1 -0
- package/dist/_internal/daemon/index.js +20 -0
- package/dist/_internal/daemon/integration-route-types.d.ts +64 -0
- package/dist/_internal/daemon/integration-route-types.d.ts.map +1 -0
- package/dist/_internal/daemon/integration-route-types.js +1 -0
- package/dist/_internal/daemon/integration-routes.d.ts +4 -0
- package/dist/_internal/daemon/integration-routes.d.ts.map +1 -0
- package/dist/_internal/daemon/integration-routes.js +172 -0
- package/dist/_internal/daemon/knowledge-route-types.d.ts +114 -0
- package/dist/_internal/daemon/knowledge-route-types.d.ts.map +1 -0
- package/dist/_internal/daemon/knowledge-route-types.js +1 -0
- package/dist/_internal/daemon/knowledge-routes.d.ts +4 -0
- package/dist/_internal/daemon/knowledge-routes.d.ts.map +1 -0
- package/dist/_internal/daemon/knowledge-routes.js +582 -0
- package/dist/_internal/daemon/media-route-types.d.ts +66 -0
- package/dist/_internal/daemon/media-route-types.d.ts.map +1 -0
- package/dist/_internal/daemon/media-route-types.js +1 -0
- package/dist/_internal/daemon/media-routes.d.ts +4 -0
- package/dist/_internal/daemon/media-routes.d.ts.map +1 -0
- package/dist/_internal/daemon/media-routes.js +328 -0
- package/dist/_internal/daemon/operator.d.ts +3 -0
- package/dist/_internal/daemon/operator.d.ts.map +1 -0
- package/dist/_internal/daemon/operator.js +395 -0
- package/dist/_internal/daemon/remote-routes.d.ts +40 -0
- package/dist/_internal/daemon/remote-routes.d.ts.map +1 -0
- package/dist/_internal/daemon/remote-routes.js +238 -0
- package/dist/_internal/daemon/remote.d.ts +3 -0
- package/dist/_internal/daemon/remote.d.ts.map +1 -0
- package/dist/_internal/daemon/remote.js +35 -0
- package/dist/_internal/daemon/route-helpers.d.ts +11 -0
- package/dist/_internal/daemon/route-helpers.d.ts.map +1 -0
- package/dist/_internal/daemon/route-helpers.js +54 -0
- package/dist/_internal/daemon/runtime-automation-routes.d.ts +4 -0
- package/dist/_internal/daemon/runtime-automation-routes.d.ts.map +1 -0
- package/dist/_internal/daemon/runtime-automation-routes.js +165 -0
- package/dist/_internal/daemon/runtime-route-types.d.ts +240 -0
- package/dist/_internal/daemon/runtime-route-types.d.ts.map +1 -0
- package/dist/_internal/daemon/runtime-route-types.js +1 -0
- package/dist/_internal/daemon/runtime-routes.d.ts +5 -0
- package/dist/_internal/daemon/runtime-routes.d.ts.map +1 -0
- package/dist/_internal/daemon/runtime-routes.js +8 -0
- package/dist/_internal/daemon/runtime-session-routes.d.ts +4 -0
- package/dist/_internal/daemon/runtime-session-routes.d.ts.map +1 -0
- package/dist/_internal/daemon/runtime-session-routes.js +387 -0
- package/dist/_internal/daemon/sessions.d.ts +3 -0
- package/dist/_internal/daemon/sessions.d.ts.map +1 -0
- package/dist/_internal/daemon/sessions.js +37 -0
- package/dist/_internal/daemon/system-route-types.d.ts +124 -0
- package/dist/_internal/daemon/system-route-types.d.ts.map +1 -0
- package/dist/_internal/daemon/system-route-types.js +1 -0
- package/dist/_internal/daemon/system-routes.d.ts +4 -0
- package/dist/_internal/daemon/system-routes.d.ts.map +1 -0
- package/dist/_internal/daemon/system-routes.js +327 -0
- package/dist/_internal/daemon/tasks.d.ts +3 -0
- package/dist/_internal/daemon/tasks.d.ts.map +1 -0
- package/dist/_internal/daemon/tasks.js +22 -0
- package/dist/_internal/daemon/telemetry-routes.d.ts +44 -0
- package/dist/_internal/daemon/telemetry-routes.d.ts.map +1 -0
- package/dist/_internal/daemon/telemetry-routes.js +227 -0
- package/dist/_internal/daemon.d.ts +2 -0
- package/dist/_internal/daemon.d.ts.map +1 -0
- package/dist/_internal/daemon.js +1 -0
- package/dist/_internal/errors/daemon-error-contract.d.ts +19 -0
- package/dist/_internal/errors/daemon-error-contract.d.ts.map +1 -0
- package/dist/_internal/errors/daemon-error-contract.js +1 -0
- package/dist/_internal/errors/index.d.ts +54 -0
- package/dist/_internal/errors/index.d.ts.map +1 -0
- package/dist/_internal/errors/index.js +123 -0
- package/dist/_internal/errors.d.ts +2 -0
- package/dist/_internal/errors.d.ts.map +1 -0
- package/dist/_internal/errors.js +1 -0
- package/dist/_internal/operator/client-core.d.ts +104 -0
- package/dist/_internal/operator/client-core.d.ts.map +1 -0
- package/dist/_internal/operator/client-core.js +184 -0
- package/dist/_internal/operator/client.d.ts +16 -0
- package/dist/_internal/operator/client.d.ts.map +1 -0
- package/dist/_internal/operator/client.js +7 -0
- package/dist/_internal/operator/index.d.ts +5 -0
- package/dist/_internal/operator/index.d.ts.map +1 -0
- package/dist/_internal/operator/index.js +2 -0
- package/dist/_internal/operator.d.ts +2 -0
- package/dist/_internal/operator.d.ts.map +1 -0
- package/dist/_internal/operator.js +1 -0
- package/dist/_internal/peer/client-core.d.ts +42 -0
- package/dist/_internal/peer/client-core.d.ts.map +1 -0
- package/dist/_internal/peer/client-core.js +41 -0
- package/dist/_internal/peer/client.d.ts +13 -0
- package/dist/_internal/peer/client.d.ts.map +1 -0
- package/dist/_internal/peer/client.js +7 -0
- package/dist/_internal/peer/index.d.ts +5 -0
- package/dist/_internal/peer/index.d.ts.map +1 -0
- package/dist/_internal/peer/index.js +2 -0
- package/dist/_internal/peer.d.ts +2 -0
- package/dist/_internal/peer.d.ts.map +1 -0
- package/dist/_internal/peer.js +1 -0
- package/dist/_internal/platform/acp/protocol.d.ts +44 -0
- package/dist/_internal/platform/acp/protocol.d.ts.map +1 -0
- package/dist/_internal/platform/acp/protocol.js +7 -0
- package/dist/_internal/platform/adapters/helpers.d.ts +8 -0
- package/dist/_internal/platform/adapters/helpers.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/helpers.js +61 -0
- package/dist/_internal/platform/agents/archetypes.d.ts +68 -0
- package/dist/_internal/platform/agents/archetypes.d.ts.map +1 -0
- package/dist/_internal/platform/agents/archetypes.js +272 -0
- package/dist/_internal/platform/agents/communication-policy.d.ts +21 -0
- package/dist/_internal/platform/agents/communication-policy.d.ts.map +1 -0
- package/dist/_internal/platform/agents/communication-policy.js +55 -0
- package/dist/_internal/platform/agents/completion-report.d.ts +78 -0
- package/dist/_internal/platform/agents/completion-report.d.ts.map +1 -0
- package/dist/_internal/platform/agents/completion-report.js +58 -0
- package/dist/_internal/platform/agents/orchestrator-utils.d.ts +8 -0
- package/dist/_internal/platform/agents/orchestrator-utils.d.ts.map +1 -0
- package/dist/_internal/platform/agents/orchestrator-utils.js +24 -0
- package/dist/_internal/platform/agents/wrfc-gates.d.ts +8 -0
- package/dist/_internal/platform/agents/wrfc-gates.d.ts.map +1 -0
- package/dist/_internal/platform/agents/wrfc-gates.js +74 -0
- package/dist/_internal/platform/agents/wrfc-plan-sync.d.ts +3 -0
- package/dist/_internal/platform/agents/wrfc-plan-sync.d.ts.map +1 -0
- package/dist/_internal/platform/agents/wrfc-plan-sync.js +21 -0
- package/dist/_internal/platform/agents/wrfc-workmap.d.ts +37 -0
- package/dist/_internal/platform/agents/wrfc-workmap.d.ts.map +1 -0
- package/dist/_internal/platform/agents/wrfc-workmap.js +81 -0
- package/dist/_internal/platform/artifacts/index.d.ts +4 -0
- package/dist/_internal/platform/artifacts/index.d.ts.map +1 -0
- package/dist/_internal/platform/artifacts/index.js +2 -0
- package/dist/_internal/platform/artifacts/store.d.ts +48 -0
- package/dist/_internal/platform/artifacts/store.d.ts.map +1 -0
- package/dist/_internal/platform/artifacts/store.js +403 -0
- package/dist/_internal/platform/artifacts/types.d.ts +56 -0
- package/dist/_internal/platform/artifacts/types.d.ts.map +1 -0
- package/dist/_internal/platform/artifacts/types.js +92 -0
- package/dist/_internal/platform/automation/delivery.d.ts +33 -0
- package/dist/_internal/platform/automation/delivery.d.ts.map +1 -0
- package/dist/_internal/platform/automation/delivery.js +4 -0
- package/dist/_internal/platform/automation/failures.d.ts +35 -0
- package/dist/_internal/platform/automation/failures.d.ts.map +1 -0
- package/dist/_internal/platform/automation/failures.js +2 -0
- package/dist/_internal/platform/automation/jobs.d.ts +30 -0
- package/dist/_internal/platform/automation/jobs.d.ts.map +1 -0
- package/dist/_internal/platform/automation/jobs.js +4 -0
- package/dist/_internal/platform/automation/migration.d.ts +12 -0
- package/dist/_internal/platform/automation/migration.d.ts.map +1 -0
- package/dist/_internal/platform/automation/migration.js +138 -0
- package/dist/_internal/platform/automation/routes.d.ts +33 -0
- package/dist/_internal/platform/automation/routes.d.ts.map +1 -0
- package/dist/_internal/platform/automation/routes.js +4 -0
- package/dist/_internal/platform/automation/runs.d.ts +63 -0
- package/dist/_internal/platform/automation/runs.d.ts.map +1 -0
- package/dist/_internal/platform/automation/runs.js +4 -0
- package/dist/_internal/platform/automation/schedules.d.ts +32 -0
- package/dist/_internal/platform/automation/schedules.d.ts.map +1 -0
- package/dist/_internal/platform/automation/schedules.js +183 -0
- package/dist/_internal/platform/automation/session-targets.d.ts +50 -0
- package/dist/_internal/platform/automation/session-targets.d.ts.map +1 -0
- package/dist/_internal/platform/automation/session-targets.js +4 -0
- package/dist/_internal/platform/automation/sources.d.ts +24 -0
- package/dist/_internal/platform/automation/sources.d.ts.map +1 -0
- package/dist/_internal/platform/automation/sources.js +4 -0
- package/dist/_internal/platform/automation/store/jobs.d.ts +18 -0
- package/dist/_internal/platform/automation/store/jobs.d.ts.map +1 -0
- package/dist/_internal/platform/automation/store/jobs.js +33 -0
- package/dist/_internal/platform/automation/store/paths.d.ts +7 -0
- package/dist/_internal/platform/automation/store/paths.d.ts.map +1 -0
- package/dist/_internal/platform/automation/store/paths.js +14 -0
- package/dist/_internal/platform/automation/store/routes.d.ts +18 -0
- package/dist/_internal/platform/automation/store/routes.d.ts.map +1 -0
- package/dist/_internal/platform/automation/store/routes.js +33 -0
- package/dist/_internal/platform/automation/store/runs.d.ts +18 -0
- package/dist/_internal/platform/automation/store/runs.d.ts.map +1 -0
- package/dist/_internal/platform/automation/store/runs.js +33 -0
- package/dist/_internal/platform/automation/store/sources.d.ts +18 -0
- package/dist/_internal/platform/automation/store/sources.d.ts.map +1 -0
- package/dist/_internal/platform/automation/store/sources.js +33 -0
- package/dist/_internal/platform/automation/types.d.ts +171 -0
- package/dist/_internal/platform/automation/types.d.ts.map +1 -0
- package/dist/_internal/platform/automation/types.js +2 -0
- package/dist/_internal/platform/bookmarks/manager.d.ts +53 -0
- package/dist/_internal/platform/bookmarks/manager.d.ts.map +1 -0
- package/dist/_internal/platform/bookmarks/manager.js +106 -0
- package/dist/_internal/platform/channels/builtin/descriptors.d.ts +5 -0
- package/dist/_internal/platform/channels/builtin/descriptors.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/descriptors.js +566 -0
- package/dist/_internal/platform/channels/builtin/parsing.d.ts +8 -0
- package/dist/_internal/platform/channels/builtin/parsing.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/parsing.js +48 -0
- package/dist/_internal/platform/channels/builtin/presentation.d.ts +4 -0
- package/dist/_internal/platform/channels/builtin/presentation.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/presentation.js +70 -0
- package/dist/_internal/platform/channels/policy-manager.d.ts +25 -0
- package/dist/_internal/platform/channels/policy-manager.d.ts.map +1 -0
- package/dist/_internal/platform/channels/policy-manager.js +236 -0
- package/dist/_internal/platform/channels/types.d.ts +430 -0
- package/dist/_internal/platform/channels/types.d.ts.map +1 -0
- package/dist/_internal/platform/channels/types.js +2 -0
- package/dist/_internal/platform/config/oauth-local-listener.d.ts +18 -0
- package/dist/_internal/platform/config/oauth-local-listener.d.ts.map +1 -0
- package/dist/_internal/platform/config/oauth-local-listener.js +125 -0
- package/dist/_internal/platform/config/openai-codex-auth.d.ts +21 -0
- package/dist/_internal/platform/config/openai-codex-auth.d.ts.map +1 -0
- package/dist/_internal/platform/config/openai-codex-auth.js +77 -0
- package/dist/_internal/platform/config/schema-domain-core.d.ts +120 -0
- package/dist/_internal/platform/config/schema-domain-core.d.ts.map +1 -0
- package/dist/_internal/platform/config/schema-domain-core.js +610 -0
- package/dist/_internal/platform/config/schema-domain-runtime.d.ts +71 -0
- package/dist/_internal/platform/config/schema-domain-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/config/schema-domain-runtime.js +345 -0
- package/dist/_internal/platform/config/schema-domain-surfaces.d.ts +117 -0
- package/dist/_internal/platform/config/schema-domain-surfaces.d.ts.map +1 -0
- package/dist/_internal/platform/config/schema-domain-surfaces.js +420 -0
- package/dist/_internal/platform/config/schema-shared.d.ts +10 -0
- package/dist/_internal/platform/config/schema-shared.d.ts.map +1 -0
- package/dist/_internal/platform/config/schema-shared.js +2 -0
- package/dist/_internal/platform/config/schema-types.d.ts +340 -0
- package/dist/_internal/platform/config/schema-types.d.ts.map +1 -0
- package/dist/_internal/platform/config/schema-types.js +4 -0
- package/dist/_internal/platform/config/schema.d.ts +12 -0
- package/dist/_internal/platform/config/schema.d.ts.map +1 -0
- package/dist/_internal/platform/config/schema.js +46 -0
- package/dist/_internal/platform/config/secret-refs.d.ts +89 -0
- package/dist/_internal/platform/config/secret-refs.d.ts.map +1 -0
- package/dist/_internal/platform/config/secret-refs.js +553 -0
- package/dist/_internal/platform/config/subscriptions.d.ts +66 -0
- package/dist/_internal/platform/config/subscriptions.d.ts.map +1 -0
- package/dist/_internal/platform/config/subscriptions.js +167 -0
- package/dist/_internal/platform/control-plane/auth-snapshot.d.ts +15 -0
- package/dist/_internal/platform/control-plane/auth-snapshot.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/auth-snapshot.js +2 -0
- package/dist/_internal/platform/control-plane/gateway-web-ui.d.ts +3 -0
- package/dist/_internal/platform/control-plane/gateway-web-ui.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/gateway-web-ui.js +741 -0
- package/dist/_internal/platform/control-plane/routes/api-router.d.ts +2 -0
- package/dist/_internal/platform/control-plane/routes/api-router.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/routes/api-router.js +1 -0
- package/dist/_internal/platform/control-plane/routes/automation.d.ts +3 -0
- package/dist/_internal/platform/control-plane/routes/automation.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/routes/automation.js +56 -0
- package/dist/_internal/platform/control-plane/routes/context.d.ts +2 -0
- package/dist/_internal/platform/control-plane/routes/context.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/routes/context.js +1 -0
- package/dist/_internal/platform/control-plane/routes/index.d.ts +8 -0
- package/dist/_internal/platform/control-plane/routes/index.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/routes/index.js +6 -0
- package/dist/_internal/platform/control-plane/routes/operator.d.ts +3 -0
- package/dist/_internal/platform/control-plane/routes/operator.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/routes/operator.js +395 -0
- package/dist/_internal/platform/control-plane/routes/remote.d.ts +3 -0
- package/dist/_internal/platform/control-plane/routes/remote.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/routes/remote.js +35 -0
- package/dist/_internal/platform/control-plane/routes/sessions.d.ts +3 -0
- package/dist/_internal/platform/control-plane/routes/sessions.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/routes/sessions.js +37 -0
- package/dist/_internal/platform/control-plane/routes/tasks.d.ts +3 -0
- package/dist/_internal/platform/control-plane/routes/tasks.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/routes/tasks.js +22 -0
- package/dist/_internal/platform/control-plane/session-broker-internals.d.ts +25 -0
- package/dist/_internal/platform/control-plane/session-broker-internals.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/session-broker-internals.js +3 -0
- package/dist/_internal/platform/control-plane/session-broker-state.d.ts +19 -0
- package/dist/_internal/platform/control-plane/session-broker-state.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/session-broker-state.js +56 -0
- package/dist/_internal/platform/control-plane/session-intents.d.ts +65 -0
- package/dist/_internal/platform/control-plane/session-intents.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/session-intents.js +2 -0
- package/dist/_internal/platform/control-plane/session-types.d.ts +81 -0
- package/dist/_internal/platform/control-plane/session-types.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/session-types.js +1 -0
- package/dist/_internal/platform/control-plane/types.d.ts +42 -0
- package/dist/_internal/platform/control-plane/types.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/types.js +4 -0
- package/dist/_internal/platform/core/adaptive-planner.d.ts +137 -0
- package/dist/_internal/platform/core/adaptive-planner.d.ts.map +1 -0
- package/dist/_internal/platform/core/adaptive-planner.js +288 -0
- package/dist/_internal/platform/core/circuit-breaker.d.ts +19 -0
- package/dist/_internal/platform/core/circuit-breaker.d.ts.map +1 -0
- package/dist/_internal/platform/core/circuit-breaker.js +26 -0
- package/dist/_internal/platform/core/conversation-follow-ups.d.ts +8 -0
- package/dist/_internal/platform/core/conversation-follow-ups.d.ts.map +1 -0
- package/dist/_internal/platform/core/conversation-follow-ups.js +33 -0
- package/dist/_internal/platform/core/deterministic-replay.d.ts +201 -0
- package/dist/_internal/platform/core/deterministic-replay.d.ts.map +1 -0
- package/dist/_internal/platform/core/deterministic-replay.js +569 -0
- package/dist/_internal/platform/core/execution-plan.d.ts +73 -0
- package/dist/_internal/platform/core/execution-plan.d.ts.map +1 -0
- package/dist/_internal/platform/core/execution-plan.js +463 -0
- package/dist/_internal/platform/core/history.d.ts +22 -0
- package/dist/_internal/platform/core/history.d.ts.map +1 -0
- package/dist/_internal/platform/core/history.js +43 -0
- package/dist/_internal/platform/core/intent-classifier.d.ts +19 -0
- package/dist/_internal/platform/core/intent-classifier.d.ts.map +1 -0
- package/dist/_internal/platform/core/intent-classifier.js +86 -0
- package/dist/_internal/platform/core/replay-command-handler.d.ts +38 -0
- package/dist/_internal/platform/core/replay-command-handler.d.ts.map +1 -0
- package/dist/_internal/platform/core/replay-command-handler.js +229 -0
- package/dist/_internal/platform/core/session-lineage.d.ts +43 -0
- package/dist/_internal/platform/core/session-lineage.d.ts.map +1 -0
- package/dist/_internal/platform/core/session-lineage.js +69 -0
- package/dist/_internal/platform/core/session-memory.d.ts +32 -0
- package/dist/_internal/platform/core/session-memory.d.ts.map +1 -0
- package/dist/_internal/platform/core/session-memory.js +43 -0
- package/dist/_internal/platform/core/tokenizer.d.ts +30 -0
- package/dist/_internal/platform/core/tokenizer.d.ts.map +1 -0
- package/dist/_internal/platform/core/tokenizer.js +312 -0
- package/dist/_internal/platform/core/tool-reconciliation.d.ts +85 -0
- package/dist/_internal/platform/core/tool-reconciliation.d.ts.map +1 -0
- package/dist/_internal/platform/core/tool-reconciliation.js +35 -0
- package/dist/_internal/platform/core/transcript-events/grouping.d.ts +10 -0
- package/dist/_internal/platform/core/transcript-events/grouping.d.ts.map +1 -0
- package/dist/_internal/platform/core/transcript-events/grouping.js +17 -0
- package/dist/_internal/platform/core/transcript-events/types.d.ts +12 -0
- package/dist/_internal/platform/core/transcript-events/types.d.ts.map +1 -0
- package/dist/_internal/platform/core/transcript-events/types.js +2 -0
- package/dist/_internal/platform/daemon/http/channel-route-types.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/channel-route-types.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/channel-route-types.js +1 -0
- package/dist/_internal/platform/daemon/http/channel-routes.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/channel-routes.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/channel-routes.js +1 -0
- package/dist/_internal/platform/daemon/http/control-routes.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/control-routes.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/control-routes.js +1 -0
- package/dist/_internal/platform/daemon/http/error-response.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/error-response.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/error-response.js +1 -0
- package/dist/_internal/platform/daemon/http/integration-route-types.d.ts +10 -0
- package/dist/_internal/platform/daemon/http/integration-route-types.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/integration-route-types.js +1 -0
- package/dist/_internal/platform/daemon/http/integration-routes.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/integration-routes.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/integration-routes.js +1 -0
- package/dist/_internal/platform/daemon/http/knowledge-route-types.d.ts +5 -0
- package/dist/_internal/platform/daemon/http/knowledge-route-types.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/knowledge-route-types.js +1 -0
- package/dist/_internal/platform/daemon/http/knowledge-routes.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/knowledge-routes.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/knowledge-routes.js +1 -0
- package/dist/_internal/platform/daemon/http/media-route-types.d.ts +17 -0
- package/dist/_internal/platform/daemon/http/media-route-types.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/media-route-types.js +1 -0
- package/dist/_internal/platform/daemon/http/media-routes.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/media-routes.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/media-routes.js +1 -0
- package/dist/_internal/platform/daemon/http/remote-routes.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/remote-routes.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/remote-routes.js +1 -0
- package/dist/_internal/platform/daemon/http/route-helpers.d.ts +5 -0
- package/dist/_internal/platform/daemon/http/route-helpers.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/route-helpers.js +21 -0
- package/dist/_internal/platform/daemon/http/runtime-automation-routes.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/runtime-automation-routes.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/runtime-automation-routes.js +1 -0
- package/dist/_internal/platform/daemon/http/runtime-route-types.d.ts +240 -0
- package/dist/_internal/platform/daemon/http/runtime-route-types.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/runtime-route-types.js +1 -0
- package/dist/_internal/platform/daemon/http/runtime-routes.d.ts +3 -0
- package/dist/_internal/platform/daemon/http/runtime-routes.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/runtime-routes.js +1 -0
- package/dist/_internal/platform/daemon/http/runtime-session-routes.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/runtime-session-routes.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/runtime-session-routes.js +1 -0
- package/dist/_internal/platform/daemon/http/system-route-types.d.ts +52 -0
- package/dist/_internal/platform/daemon/http/system-route-types.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/system-route-types.js +1 -0
- package/dist/_internal/platform/daemon/http/system-routes.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/system-routes.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/system-routes.js +1 -0
- package/dist/_internal/platform/daemon/http/telemetry-routes.d.ts +2 -0
- package/dist/_internal/platform/daemon/http/telemetry-routes.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/telemetry-routes.js +1 -0
- package/dist/_internal/platform/daemon/http-policy.d.ts +33 -0
- package/dist/_internal/platform/daemon/http-policy.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http-policy.js +29 -0
- package/dist/_internal/platform/discovery/index.d.ts +3 -0
- package/dist/_internal/platform/discovery/index.d.ts.map +1 -0
- package/dist/_internal/platform/discovery/index.js +2 -0
- package/dist/_internal/platform/discovery/mcp-scanner.d.ts +18 -0
- package/dist/_internal/platform/discovery/mcp-scanner.d.ts.map +1 -0
- package/dist/_internal/platform/discovery/mcp-scanner.js +218 -0
- package/dist/_internal/platform/discovery/scanner.d.ts +49 -0
- package/dist/_internal/platform/discovery/scanner.d.ts.map +1 -0
- package/dist/_internal/platform/discovery/scanner.js +655 -0
- package/dist/_internal/platform/hooks/activity.d.ts +28 -0
- package/dist/_internal/platform/hooks/activity.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/activity.js +28 -0
- package/dist/_internal/platform/hooks/contracts.d.ts +22 -0
- package/dist/_internal/platform/hooks/contracts.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/contracts.js +350 -0
- package/dist/_internal/platform/hooks/matcher.d.ts +14 -0
- package/dist/_internal/platform/hooks/matcher.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/matcher.js +36 -0
- package/dist/_internal/platform/hooks/runners/command.d.ts +22 -0
- package/dist/_internal/platform/hooks/runners/command.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/runners/command.js +77 -0
- package/dist/_internal/platform/hooks/runners/http.d.ts +7 -0
- package/dist/_internal/platform/hooks/runners/http.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/runners/http.js +54 -0
- package/dist/_internal/platform/hooks/runners/typescript.d.ts +7 -0
- package/dist/_internal/platform/hooks/runners/typescript.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/runners/typescript.js +42 -0
- package/dist/_internal/platform/hooks/types.d.ts +95 -0
- package/dist/_internal/platform/hooks/types.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/types.js +2 -0
- package/dist/_internal/platform/integrations/delivery.d.ts +186 -0
- package/dist/_internal/platform/integrations/delivery.d.ts.map +1 -0
- package/dist/_internal/platform/integrations/delivery.js +311 -0
- package/dist/_internal/platform/integrations/discord.d.ts +171 -0
- package/dist/_internal/platform/integrations/discord.d.ts.map +1 -0
- package/dist/_internal/platform/integrations/discord.js +445 -0
- package/dist/_internal/platform/integrations/github.d.ts +43 -0
- package/dist/_internal/platform/integrations/github.d.ts.map +1 -0
- package/dist/_internal/platform/integrations/github.js +237 -0
- package/dist/_internal/platform/integrations/ntfy.d.ts +44 -0
- package/dist/_internal/platform/integrations/ntfy.d.ts.map +1 -0
- package/dist/_internal/platform/integrations/ntfy.js +129 -0
- package/dist/_internal/platform/integrations/slack.d.ts +190 -0
- package/dist/_internal/platform/integrations/slack.d.ts.map +1 -0
- package/dist/_internal/platform/integrations/slack.js +374 -0
- package/dist/_internal/platform/intelligence/config.d.ts +35 -0
- package/dist/_internal/platform/intelligence/config.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/config.js +116 -0
- package/dist/_internal/platform/intelligence/facade.d.ts +99 -0
- package/dist/_internal/platform/intelligence/facade.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/facade.js +336 -0
- package/dist/_internal/platform/intelligence/import-graph.d.ts +83 -0
- package/dist/_internal/platform/intelligence/import-graph.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/import-graph.js +257 -0
- package/dist/_internal/platform/intelligence/index.d.ts +19 -0
- package/dist/_internal/platform/intelligence/index.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/index.js +18 -0
- package/dist/_internal/platform/intelligence/lsp/binary-downloader.d.ts +17 -0
- package/dist/_internal/platform/intelligence/lsp/binary-downloader.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/lsp/binary-downloader.js +245 -0
- package/dist/_internal/platform/intelligence/lsp/capabilities.d.ts +19 -0
- package/dist/_internal/platform/intelligence/lsp/capabilities.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/lsp/capabilities.js +59 -0
- package/dist/_internal/platform/intelligence/lsp/client.d.ts +33 -0
- package/dist/_internal/platform/intelligence/lsp/client.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/lsp/client.js +238 -0
- package/dist/_internal/platform/intelligence/lsp/index.d.ts +8 -0
- package/dist/_internal/platform/intelligence/lsp/index.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/lsp/index.js +4 -0
- package/dist/_internal/platform/intelligence/lsp/protocol.d.ts +102 -0
- package/dist/_internal/platform/intelligence/lsp/protocol.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/lsp/protocol.js +30 -0
- package/dist/_internal/platform/intelligence/lsp/service.d.ts +45 -0
- package/dist/_internal/platform/intelligence/lsp/service.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/lsp/service.js +213 -0
- package/dist/_internal/platform/intelligence/tree-sitter/embedded-wasm.d.ts +13 -0
- package/dist/_internal/platform/intelligence/tree-sitter/embedded-wasm.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/tree-sitter/embedded-wasm.js +36 -0
- package/dist/_internal/platform/intelligence/tree-sitter/index.d.ts +10 -0
- package/dist/_internal/platform/intelligence/tree-sitter/index.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/tree-sitter/index.js +8 -0
- package/dist/_internal/platform/intelligence/tree-sitter/languages.d.ts +15 -0
- package/dist/_internal/platform/intelligence/tree-sitter/languages.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/tree-sitter/languages.js +78 -0
- package/dist/_internal/platform/intelligence/tree-sitter/queries.d.ts +48 -0
- package/dist/_internal/platform/intelligence/tree-sitter/queries.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/tree-sitter/queries.js +403 -0
- package/dist/_internal/platform/intelligence/tree-sitter/service.d.ts +48 -0
- package/dist/_internal/platform/intelligence/tree-sitter/service.d.ts.map +1 -0
- package/dist/_internal/platform/intelligence/tree-sitter/service.js +171 -0
- package/dist/_internal/platform/knowledge/bookmarks.d.ts +3 -0
- package/dist/_internal/platform/knowledge/bookmarks.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/bookmarks.js +150 -0
- package/dist/_internal/platform/knowledge/connectors.d.ts +13 -0
- package/dist/_internal/platform/knowledge/connectors.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/connectors.js +248 -0
- package/dist/_internal/platform/knowledge/extractors.d.ts +16 -0
- package/dist/_internal/platform/knowledge/extractors.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/extractors.js +518 -0
- package/dist/_internal/platform/knowledge/graphql-schema.d.ts +45 -0
- package/dist/_internal/platform/knowledge/graphql-schema.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/graphql-schema.js +534 -0
- package/dist/_internal/platform/knowledge/persistence.d.ts +6 -0
- package/dist/_internal/platform/knowledge/persistence.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/persistence.js +3 -0
- package/dist/_internal/platform/knowledge/projections.d.ts +47 -0
- package/dist/_internal/platform/knowledge/projections.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/projections.js +674 -0
- package/dist/_internal/platform/knowledge/store-load.d.ts +16 -0
- package/dist/_internal/platform/knowledge/store-load.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/store-load.js +21 -0
- package/dist/_internal/platform/knowledge/store-read.d.ts +50 -0
- package/dist/_internal/platform/knowledge/store-read.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/store-read.js +183 -0
- package/dist/_internal/platform/knowledge/store-schema.d.ts +22 -0
- package/dist/_internal/platform/knowledge/store-schema.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/store-schema.js +408 -0
- package/dist/_internal/platform/knowledge/store.d.ts +76 -0
- package/dist/_internal/platform/knowledge/store.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/store.js +656 -0
- package/dist/_internal/platform/knowledge/types.d.ts +452 -0
- package/dist/_internal/platform/knowledge/types.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/types.js +1 -0
- package/dist/_internal/platform/mcp/config.d.ts +29 -0
- package/dist/_internal/platform/mcp/config.d.ts.map +1 -0
- package/dist/_internal/platform/mcp/config.js +99 -0
- package/dist/_internal/platform/media/builtin-generation-providers.d.ts +3 -0
- package/dist/_internal/platform/media/builtin-generation-providers.d.ts.map +1 -0
- package/dist/_internal/platform/media/builtin-generation-providers.js +552 -0
- package/dist/_internal/platform/media/provider-registry.d.ts +86 -0
- package/dist/_internal/platform/media/provider-registry.d.ts.map +1 -0
- package/dist/_internal/platform/media/provider-registry.js +58 -0
- package/dist/_internal/platform/multimodal/types.d.ts +71 -0
- package/dist/_internal/platform/multimodal/types.d.ts.map +1 -0
- package/dist/_internal/platform/multimodal/types.js +1 -0
- package/dist/_internal/platform/permissions/analysis.d.ts +3 -0
- package/dist/_internal/platform/permissions/analysis.d.ts.map +1 -0
- package/dist/_internal/platform/permissions/analysis.js +220 -0
- package/dist/_internal/platform/permissions/briefs/render-hints.d.ts +3 -0
- package/dist/_internal/platform/permissions/briefs/render-hints.d.ts.map +1 -0
- package/dist/_internal/platform/permissions/briefs/render-hints.js +3 -0
- package/dist/_internal/platform/permissions/briefs/types.d.ts +10 -0
- package/dist/_internal/platform/permissions/briefs/types.d.ts.map +1 -0
- package/dist/_internal/platform/permissions/briefs/types.js +1 -0
- package/dist/_internal/platform/permissions/types.d.ts +28 -0
- package/dist/_internal/platform/permissions/types.d.ts.map +1 -0
- package/dist/_internal/platform/permissions/types.js +2 -0
- package/dist/_internal/platform/profiles/manager.d.ts +57 -0
- package/dist/_internal/platform/profiles/manager.d.ts.map +1 -0
- package/dist/_internal/platform/profiles/manager.js +140 -0
- package/dist/_internal/platform/providers/cache-capability.d.ts +51 -0
- package/dist/_internal/platform/providers/cache-capability.d.ts.map +1 -0
- package/dist/_internal/platform/providers/cache-capability.js +124 -0
- package/dist/_internal/platform/providers/cache-strategy.d.ts +76 -0
- package/dist/_internal/platform/providers/cache-strategy.d.ts.map +1 -0
- package/dist/_internal/platform/providers/cache-strategy.js +160 -0
- package/dist/_internal/platform/providers/context-discovery.d.ts +99 -0
- package/dist/_internal/platform/providers/context-discovery.d.ts.map +1 -0
- package/dist/_internal/platform/providers/context-discovery.js +341 -0
- package/dist/_internal/platform/providers/effort-levels.d.ts +7 -0
- package/dist/_internal/platform/providers/effort-levels.d.ts.map +1 -0
- package/dist/_internal/platform/providers/effort-levels.js +11 -0
- package/dist/_internal/platform/providers/favorites.d.ts +34 -0
- package/dist/_internal/platform/providers/favorites.d.ts.map +1 -0
- package/dist/_internal/platform/providers/favorites.js +103 -0
- package/dist/_internal/platform/providers/local-context-ingestion.d.ts +89 -0
- package/dist/_internal/platform/providers/local-context-ingestion.d.ts.map +1 -0
- package/dist/_internal/platform/providers/local-context-ingestion.js +119 -0
- package/dist/_internal/platform/providers/microsoft-foundry-shared.d.ts +4 -0
- package/dist/_internal/platform/providers/microsoft-foundry-shared.d.ts.map +1 -0
- package/dist/_internal/platform/providers/microsoft-foundry-shared.js +21 -0
- package/dist/_internal/platform/providers/model-benchmarks.d.ts +43 -0
- package/dist/_internal/platform/providers/model-benchmarks.d.ts.map +1 -0
- package/dist/_internal/platform/providers/model-benchmarks.js +268 -0
- package/dist/_internal/platform/providers/openai-stream-delta.d.ts +14 -0
- package/dist/_internal/platform/providers/openai-stream-delta.d.ts.map +1 -0
- package/dist/_internal/platform/providers/openai-stream-delta.js +122 -0
- package/dist/_internal/platform/runtime/auth/oauth-core.d.ts +32 -0
- package/dist/_internal/platform/runtime/auth/oauth-core.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/auth/oauth-core.js +121 -0
- package/dist/_internal/platform/runtime/contracts/index.d.ts +40 -0
- package/dist/_internal/platform/runtime/contracts/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/index.js +137 -0
- package/dist/_internal/platform/runtime/contracts/migrations/event-envelope.d.ts +23 -0
- package/dist/_internal/platform/runtime/contracts/migrations/event-envelope.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/migrations/event-envelope.js +41 -0
- package/dist/_internal/platform/runtime/contracts/migrations/index.d.ts +75 -0
- package/dist/_internal/platform/runtime/contracts/migrations/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/migrations/index.js +158 -0
- package/dist/_internal/platform/runtime/contracts/migrations/plugin-manifest.d.ts +23 -0
- package/dist/_internal/platform/runtime/contracts/migrations/plugin-manifest.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/migrations/plugin-manifest.js +41 -0
- package/dist/_internal/platform/runtime/contracts/migrations/runtime-state.d.ts +23 -0
- package/dist/_internal/platform/runtime/contracts/migrations/runtime-state.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/migrations/runtime-state.js +44 -0
- package/dist/_internal/platform/runtime/contracts/migrations/session.d.ts +23 -0
- package/dist/_internal/platform/runtime/contracts/migrations/session.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/migrations/session.js +42 -0
- package/dist/_internal/platform/runtime/contracts/migrations/task-record.d.ts +23 -0
- package/dist/_internal/platform/runtime/contracts/migrations/task-record.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/migrations/task-record.js +41 -0
- package/dist/_internal/platform/runtime/contracts/types.d.ts +123 -0
- package/dist/_internal/platform/runtime/contracts/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/types.js +41 -0
- package/dist/_internal/platform/runtime/contracts/validators/event-envelope.d.ts +24 -0
- package/dist/_internal/platform/runtime/contracts/validators/event-envelope.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/validators/event-envelope.js +104 -0
- package/dist/_internal/platform/runtime/contracts/validators/index.d.ts +11 -0
- package/dist/_internal/platform/runtime/contracts/validators/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/validators/index.js +10 -0
- package/dist/_internal/platform/runtime/contracts/validators/runtime-state.d.ts +23 -0
- package/dist/_internal/platform/runtime/contracts/validators/runtime-state.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/validators/runtime-state.js +101 -0
- package/dist/_internal/platform/runtime/contracts/validators/session.d.ts +24 -0
- package/dist/_internal/platform/runtime/contracts/validators/session.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/validators/session.js +103 -0
- package/dist/_internal/platform/runtime/contracts/version.d.ts +84 -0
- package/dist/_internal/platform/runtime/contracts/version.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/contracts/version.js +41 -0
- package/dist/_internal/platform/runtime/deferred-startup.d.ts +12 -0
- package/dist/_internal/platform/runtime/deferred-startup.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/deferred-startup.js +38 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/divergence.d.ts +66 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/divergence.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/divergence.js +93 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/forensics.d.ts +38 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/forensics.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/forensics.js +56 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/panel-resources.d.ts +55 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/panel-resources.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/panel-resources.js +125 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/replay.d.ts +34 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/replay.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/replay.js +67 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/security.d.ts +89 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/security.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/security.js +118 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/state-inspector.d.ts +112 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/state-inspector.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/state-inspector.js +122 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/tool-contracts.d.ts +99 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/tool-contracts.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/tool-contracts.js +172 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/transport.d.ts +146 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/transport.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/transport.js +268 -0
- package/dist/_internal/platform/runtime/diagnostics/types.d.ts +533 -0
- package/dist/_internal/platform/runtime/diagnostics/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/types.js +58 -0
- package/dist/_internal/platform/runtime/eval/baseline.d.ts +41 -0
- package/dist/_internal/platform/runtime/eval/baseline.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/eval/baseline.js +123 -0
- package/dist/_internal/platform/runtime/eval/format.d.ts +16 -0
- package/dist/_internal/platform/runtime/eval/format.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/eval/format.js +58 -0
- package/dist/_internal/platform/runtime/eval/scorecard.d.ts +32 -0
- package/dist/_internal/platform/runtime/eval/scorecard.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/eval/scorecard.js +231 -0
- package/dist/_internal/platform/runtime/eval/types.d.ts +156 -0
- package/dist/_internal/platform/runtime/eval/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/eval/types.js +7 -0
- package/dist/_internal/platform/runtime/event-envelope.d.ts +3 -0
- package/dist/_internal/platform/runtime/event-envelope.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/event-envelope.js +1 -0
- package/dist/_internal/platform/runtime/event-feeds.d.ts +3 -0
- package/dist/_internal/platform/runtime/event-feeds.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/event-feeds.js +1 -0
- package/dist/_internal/platform/runtime/events/agents.d.ts +82 -0
- package/dist/_internal/platform/runtime/events/agents.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/agents.js +2 -0
- package/dist/_internal/platform/runtime/events/automation.d.ts +73 -0
- package/dist/_internal/platform/runtime/events/automation.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/automation.js +6 -0
- package/dist/_internal/platform/runtime/events/communication.d.ts +42 -0
- package/dist/_internal/platform/runtime/events/communication.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/communication.js +2 -0
- package/dist/_internal/platform/runtime/events/compaction.d.ts +99 -0
- package/dist/_internal/platform/runtime/events/compaction.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/compaction.js +2 -0
- package/dist/_internal/platform/runtime/events/contracts/agent-mcp.d.ts +8 -0
- package/dist/_internal/platform/runtime/events/contracts/agent-mcp.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/contracts/agent-mcp.js +40 -0
- package/dist/_internal/platform/runtime/events/contracts/automation-route.d.ts +41 -0
- package/dist/_internal/platform/runtime/events/contracts/automation-route.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/contracts/automation-route.js +315 -0
- package/dist/_internal/platform/runtime/events/contracts/shared.d.ts +28 -0
- package/dist/_internal/platform/runtime/events/contracts/shared.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/contracts/shared.js +72 -0
- package/dist/_internal/platform/runtime/events/contracts/turn-tool.d.ts +10 -0
- package/dist/_internal/platform/runtime/events/contracts/turn-tool.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/contracts/turn-tool.js +53 -0
- package/dist/_internal/platform/runtime/events/contracts.d.ts +11 -0
- package/dist/_internal/platform/runtime/events/contracts.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/contracts.js +83 -0
- package/dist/_internal/platform/runtime/events/control-plane.d.ts +43 -0
- package/dist/_internal/platform/runtime/events/control-plane.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/control-plane.js +25 -0
- package/dist/_internal/platform/runtime/events/deliveries.d.ts +54 -0
- package/dist/_internal/platform/runtime/events/deliveries.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/deliveries.js +4 -0
- package/dist/_internal/platform/runtime/events/envelope.d.ts +3 -0
- package/dist/_internal/platform/runtime/events/envelope.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/envelope.js +1 -0
- package/dist/_internal/platform/runtime/events/forensics.d.ts +32 -0
- package/dist/_internal/platform/runtime/events/forensics.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/forensics.js +2 -0
- package/dist/_internal/platform/runtime/events/knowledge.d.ts +77 -0
- package/dist/_internal/platform/runtime/events/knowledge.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/knowledge.js +2 -0
- package/dist/_internal/platform/runtime/events/mcp.d.ts +90 -0
- package/dist/_internal/platform/runtime/events/mcp.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/mcp.js +6 -0
- package/dist/_internal/platform/runtime/events/ops.d.ts +82 -0
- package/dist/_internal/platform/runtime/events/ops.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/ops.js +2 -0
- package/dist/_internal/platform/runtime/events/orchestration.d.ts +76 -0
- package/dist/_internal/platform/runtime/events/orchestration.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/orchestration.js +2 -0
- package/dist/_internal/platform/runtime/events/permissions.d.ts +79 -0
- package/dist/_internal/platform/runtime/events/permissions.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/permissions.js +2 -0
- package/dist/_internal/platform/runtime/events/planner.d.ts +13 -0
- package/dist/_internal/platform/runtime/events/planner.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/planner.js +1 -0
- package/dist/_internal/platform/runtime/events/plugins.d.ts +61 -0
- package/dist/_internal/platform/runtime/events/plugins.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/plugins.js +2 -0
- package/dist/_internal/platform/runtime/events/providers.d.ts +20 -0
- package/dist/_internal/platform/runtime/events/providers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/providers.js +2 -0
- package/dist/_internal/platform/runtime/events/routes.d.ts +41 -0
- package/dist/_internal/platform/runtime/events/routes.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/routes.js +23 -0
- package/dist/_internal/platform/runtime/events/security.d.ts +44 -0
- package/dist/_internal/platform/runtime/events/security.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/security.js +8 -0
- package/dist/_internal/platform/runtime/events/session.d.ts +52 -0
- package/dist/_internal/platform/runtime/events/session.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/session.js +2 -0
- package/dist/_internal/platform/runtime/events/surfaces.d.ts +37 -0
- package/dist/_internal/platform/runtime/events/surfaces.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/surfaces.js +4 -0
- package/dist/_internal/platform/runtime/events/tasks.d.ts +61 -0
- package/dist/_internal/platform/runtime/events/tasks.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/tasks.js +2 -0
- package/dist/_internal/platform/runtime/events/tools.d.ts +132 -0
- package/dist/_internal/platform/runtime/events/tools.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/tools.js +2 -0
- package/dist/_internal/platform/runtime/events/transport.d.ts +58 -0
- package/dist/_internal/platform/runtime/events/transport.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/transport.js +2 -0
- package/dist/_internal/platform/runtime/events/ui.d.ts +59 -0
- package/dist/_internal/platform/runtime/events/ui.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/ui.js +6 -0
- package/dist/_internal/platform/runtime/events/watchers.d.ts +36 -0
- package/dist/_internal/platform/runtime/events/watchers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/watchers.js +5 -0
- package/dist/_internal/platform/runtime/execution-intents.d.ts +14 -0
- package/dist/_internal/platform/runtime/execution-intents.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/execution-intents.js +4 -0
- package/dist/_internal/platform/runtime/feature-flags/flags.d.ts +21 -0
- package/dist/_internal/platform/runtime/feature-flags/flags.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/feature-flags/flags.js +472 -0
- package/dist/_internal/platform/runtime/feature-flags/index.d.ts +22 -0
- package/dist/_internal/platform/runtime/feature-flags/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/feature-flags/index.js +19 -0
- package/dist/_internal/platform/runtime/feature-flags/manager.d.ts +133 -0
- package/dist/_internal/platform/runtime/feature-flags/manager.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/feature-flags/manager.js +255 -0
- package/dist/_internal/platform/runtime/feature-flags/types.d.ts +65 -0
- package/dist/_internal/platform/runtime/feature-flags/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/feature-flags/types.js +7 -0
- package/dist/_internal/platform/runtime/forensics/classifier.d.ts +39 -0
- package/dist/_internal/platform/runtime/forensics/classifier.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/forensics/classifier.js +95 -0
- package/dist/_internal/platform/runtime/forensics/registry.d.ts +89 -0
- package/dist/_internal/platform/runtime/forensics/registry.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/forensics/registry.js +191 -0
- package/dist/_internal/platform/runtime/forensics/types.d.ts +206 -0
- package/dist/_internal/platform/runtime/forensics/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/forensics/types.js +9 -0
- package/dist/_internal/platform/runtime/health/aggregator.d.ts +57 -0
- package/dist/_internal/platform/runtime/health/aggregator.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/health/aggregator.js +188 -0
- package/dist/_internal/platform/runtime/health/cascade-engine.d.ts +55 -0
- package/dist/_internal/platform/runtime/health/cascade-engine.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/health/cascade-engine.js +134 -0
- package/dist/_internal/platform/runtime/health/cascade-playbook-map.d.ts +23 -0
- package/dist/_internal/platform/runtime/health/cascade-playbook-map.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/health/cascade-playbook-map.js +49 -0
- package/dist/_internal/platform/runtime/health/cascade-rules.d.ts +14 -0
- package/dist/_internal/platform/runtime/health/cascade-rules.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/health/cascade-rules.js +89 -0
- package/dist/_internal/platform/runtime/health/cascade-timing.d.ts +79 -0
- package/dist/_internal/platform/runtime/health/cascade-timing.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/health/cascade-timing.js +96 -0
- package/dist/_internal/platform/runtime/health/types.d.ts +176 -0
- package/dist/_internal/platform/runtime/health/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/health/types.js +24 -0
- package/dist/_internal/platform/runtime/idempotency/index.d.ts +123 -0
- package/dist/_internal/platform/runtime/idempotency/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/idempotency/index.js +193 -0
- package/dist/_internal/platform/runtime/idempotency/types.d.ts +70 -0
- package/dist/_internal/platform/runtime/idempotency/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/idempotency/types.js +2 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/hotspot-sampler.d.ts +80 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/hotspot-sampler.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/hotspot-sampler.js +153 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/index.d.ts +42 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/index.js +38 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/inspector.d.ts +184 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/inspector.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/inspector.js +331 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/serialize.d.ts +16 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/serialize.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/serialize.js +39 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/timeline.d.ts +116 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/timeline.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/timeline.js +198 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/transition-log.d.ts +84 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/transition-log.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/transition-log.js +120 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/types.d.ts +193 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector/types.js +16 -0
- package/dist/_internal/platform/runtime/mcp/lifecycle.d.ts +54 -0
- package/dist/_internal/platform/runtime/mcp/lifecycle.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/mcp/lifecycle.js +72 -0
- package/dist/_internal/platform/runtime/mcp/permissions.d.ts +110 -0
- package/dist/_internal/platform/runtime/mcp/permissions.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/mcp/permissions.js +605 -0
- package/dist/_internal/platform/runtime/mcp/schema-freshness.d.ts +115 -0
- package/dist/_internal/platform/runtime/mcp/schema-freshness.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/mcp/schema-freshness.js +231 -0
- package/dist/_internal/platform/runtime/mcp/types.d.ts +275 -0
- package/dist/_internal/platform/runtime/mcp/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/mcp/types.js +6 -0
- package/dist/_internal/platform/runtime/notifications/formatters/index.d.ts +6 -0
- package/dist/_internal/platform/runtime/notifications/formatters/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/formatters/index.js +5 -0
- package/dist/_internal/platform/runtime/notifications/formatters/panel-jump.d.ts +23 -0
- package/dist/_internal/platform/runtime/notifications/formatters/panel-jump.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/formatters/panel-jump.js +32 -0
- package/dist/_internal/platform/runtime/notifications/formatters/summary.d.ts +24 -0
- package/dist/_internal/platform/runtime/notifications/formatters/summary.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/formatters/summary.js +56 -0
- package/dist/_internal/platform/runtime/notifications/index.d.ts +32 -0
- package/dist/_internal/platform/runtime/notifications/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/index.js +32 -0
- package/dist/_internal/platform/runtime/notifications/policies/batch-policy.d.ts +51 -0
- package/dist/_internal/platform/runtime/notifications/policies/batch-policy.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/policies/batch-policy.js +85 -0
- package/dist/_internal/platform/runtime/notifications/policies/burst-policy.d.ts +70 -0
- package/dist/_internal/platform/runtime/notifications/policies/burst-policy.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/policies/burst-policy.js +122 -0
- package/dist/_internal/platform/runtime/notifications/policies/default-policy.d.ts +21 -0
- package/dist/_internal/platform/runtime/notifications/policies/default-policy.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/policies/default-policy.js +32 -0
- package/dist/_internal/platform/runtime/notifications/policies/index.d.ts +9 -0
- package/dist/_internal/platform/runtime/notifications/policies/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/policies/index.js +8 -0
- package/dist/_internal/platform/runtime/notifications/policies/mode-context-policy.d.ts +28 -0
- package/dist/_internal/platform/runtime/notifications/policies/mode-context-policy.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/policies/mode-context-policy.js +62 -0
- package/dist/_internal/platform/runtime/notifications/policies/quiet-typing.d.ts +21 -0
- package/dist/_internal/platform/runtime/notifications/policies/quiet-typing.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/policies/quiet-typing.js +37 -0
- package/dist/_internal/platform/runtime/notifications/router.d.ts +139 -0
- package/dist/_internal/platform/runtime/notifications/router.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/router.js +222 -0
- package/dist/_internal/platform/runtime/notifications/types.d.ts +127 -0
- package/dist/_internal/platform/runtime/notifications/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/notifications/types.js +2 -0
- package/dist/_internal/platform/runtime/ops/playbooks/compaction-failure.d.ts +10 -0
- package/dist/_internal/platform/runtime/ops/playbooks/compaction-failure.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/playbooks/compaction-failure.js +106 -0
- package/dist/_internal/platform/runtime/ops/playbooks/export-recovery.d.ts +10 -0
- package/dist/_internal/platform/runtime/ops/playbooks/export-recovery.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/playbooks/export-recovery.js +110 -0
- package/dist/_internal/platform/runtime/ops/playbooks/permission-deadlock.d.ts +11 -0
- package/dist/_internal/platform/runtime/ops/playbooks/permission-deadlock.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/playbooks/permission-deadlock.js +108 -0
- package/dist/_internal/platform/runtime/ops/playbooks/plugin-degradation.d.ts +10 -0
- package/dist/_internal/platform/runtime/ops/playbooks/plugin-degradation.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/playbooks/plugin-degradation.js +107 -0
- package/dist/_internal/platform/runtime/ops/playbooks/reconnect-failure.d.ts +10 -0
- package/dist/_internal/platform/runtime/ops/playbooks/reconnect-failure.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/playbooks/reconnect-failure.js +109 -0
- package/dist/_internal/platform/runtime/ops/safe-check.d.ts +10 -0
- package/dist/_internal/platform/runtime/ops/safe-check.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/safe-check.js +14 -0
- package/dist/_internal/platform/runtime/ops/types.d.ts +100 -0
- package/dist/_internal/platform/runtime/ops/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/types.js +2 -0
- package/dist/_internal/platform/runtime/perf/budgets.d.ts +17 -0
- package/dist/_internal/platform/runtime/perf/budgets.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/perf/budgets.js +117 -0
- package/dist/_internal/platform/runtime/perf/monitor.d.ts +69 -0
- package/dist/_internal/platform/runtime/perf/monitor.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/perf/monitor.js +148 -0
- package/dist/_internal/platform/runtime/perf/panel-contracts.d.ts +94 -0
- package/dist/_internal/platform/runtime/perf/panel-contracts.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/perf/panel-contracts.js +86 -0
- package/dist/_internal/platform/runtime/perf/panel-health-monitor.d.ts +92 -0
- package/dist/_internal/platform/runtime/perf/panel-health-monitor.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/perf/panel-health-monitor.js +239 -0
- package/dist/_internal/platform/runtime/perf/reporter.d.ts +16 -0
- package/dist/_internal/platform/runtime/perf/reporter.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/perf/reporter.js +99 -0
- package/dist/_internal/platform/runtime/perf/types.d.ts +70 -0
- package/dist/_internal/platform/runtime/perf/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/perf/types.js +2 -0
- package/dist/_internal/platform/runtime/permissions/decision-log.d.ts +98 -0
- package/dist/_internal/platform/runtime/permissions/decision-log.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/decision-log.js +133 -0
- package/dist/_internal/platform/runtime/permissions/divergence-dashboard.d.ts +205 -0
- package/dist/_internal/platform/runtime/permissions/divergence-dashboard.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/divergence-dashboard.js +207 -0
- package/dist/_internal/platform/runtime/permissions/evaluator.d.ts +60 -0
- package/dist/_internal/platform/runtime/permissions/evaluator.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/evaluator.js +384 -0
- package/dist/_internal/platform/runtime/permissions/lint.d.ts +9 -0
- package/dist/_internal/platform/runtime/permissions/lint.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/lint.js +72 -0
- package/dist/_internal/platform/runtime/permissions/normalization/ast.d.ts +93 -0
- package/dist/_internal/platform/runtime/permissions/normalization/ast.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/normalization/ast.js +53 -0
- package/dist/_internal/platform/runtime/permissions/normalization/canonicalizer.d.ts +15 -0
- package/dist/_internal/platform/runtime/permissions/normalization/canonicalizer.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/normalization/canonicalizer.js +61 -0
- package/dist/_internal/platform/runtime/permissions/normalization/classifier.d.ts +38 -0
- package/dist/_internal/platform/runtime/permissions/normalization/classifier.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/normalization/classifier.js +277 -0
- package/dist/_internal/platform/runtime/permissions/normalization/index.d.ts +33 -0
- package/dist/_internal/platform/runtime/permissions/normalization/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/normalization/index.js +45 -0
- package/dist/_internal/platform/runtime/permissions/normalization/parser.d.ts +42 -0
- package/dist/_internal/platform/runtime/permissions/normalization/parser.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/normalization/parser.js +189 -0
- package/dist/_internal/platform/runtime/permissions/normalization/segmenter.d.ts +17 -0
- package/dist/_internal/platform/runtime/permissions/normalization/segmenter.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/normalization/segmenter.js +59 -0
- package/dist/_internal/platform/runtime/permissions/normalization/tokenizer.d.ts +40 -0
- package/dist/_internal/platform/runtime/permissions/normalization/tokenizer.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/normalization/tokenizer.js +184 -0
- package/dist/_internal/platform/runtime/permissions/normalization/types.d.ts +64 -0
- package/dist/_internal/platform/runtime/permissions/normalization/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/normalization/types.js +2 -0
- package/dist/_internal/platform/runtime/permissions/normalization/verdict.d.ts +100 -0
- package/dist/_internal/platform/runtime/permissions/normalization/verdict.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/normalization/verdict.js +269 -0
- package/dist/_internal/platform/runtime/permissions/policy-loader.d.ts +142 -0
- package/dist/_internal/platform/runtime/permissions/policy-loader.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/policy-loader.js +124 -0
- package/dist/_internal/platform/runtime/permissions/policy-registry.d.ts +225 -0
- package/dist/_internal/platform/runtime/permissions/policy-registry.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/policy-registry.js +307 -0
- package/dist/_internal/platform/runtime/permissions/policy-signer.d.ts +95 -0
- package/dist/_internal/platform/runtime/permissions/policy-signer.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/policy-signer.js +146 -0
- package/dist/_internal/platform/runtime/permissions/risk-language.d.ts +3 -0
- package/dist/_internal/platform/runtime/permissions/risk-language.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/risk-language.js +21 -0
- package/dist/_internal/platform/runtime/permissions/risk-model.d.ts +9 -0
- package/dist/_internal/platform/runtime/permissions/risk-model.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/risk-model.js +58 -0
- package/dist/_internal/platform/runtime/permissions/rules/arg-shape.d.ts +26 -0
- package/dist/_internal/platform/runtime/permissions/rules/arg-shape.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/rules/arg-shape.js +109 -0
- package/dist/_internal/platform/runtime/permissions/rules/index.d.ts +16 -0
- package/dist/_internal/platform/runtime/permissions/rules/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/rules/index.js +10 -0
- package/dist/_internal/platform/runtime/permissions/rules/mode-constraint.d.ts +29 -0
- package/dist/_internal/platform/runtime/permissions/rules/mode-constraint.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/rules/mode-constraint.js +80 -0
- package/dist/_internal/platform/runtime/permissions/rules/network-scope.d.ts +38 -0
- package/dist/_internal/platform/runtime/permissions/rules/network-scope.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/rules/network-scope.js +153 -0
- package/dist/_internal/platform/runtime/permissions/rules/path-scope.d.ts +28 -0
- package/dist/_internal/platform/runtime/permissions/rules/path-scope.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/rules/path-scope.js +0 -0
- package/dist/_internal/platform/runtime/permissions/rules/prefix.d.ts +26 -0
- package/dist/_internal/platform/runtime/permissions/rules/prefix.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/rules/prefix.js +103 -0
- package/dist/_internal/platform/runtime/permissions/safety-checks.d.ts +32 -0
- package/dist/_internal/platform/runtime/permissions/safety-checks.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/safety-checks.js +263 -0
- package/dist/_internal/platform/runtime/permissions/simulation-scenarios.d.ts +28 -0
- package/dist/_internal/platform/runtime/permissions/simulation-scenarios.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/simulation-scenarios.js +34 -0
- package/dist/_internal/platform/runtime/permissions/simulation.d.ts +113 -0
- package/dist/_internal/platform/runtime/permissions/simulation.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/simulation.js +290 -0
- package/dist/_internal/platform/runtime/permissions/types.d.ts +332 -0
- package/dist/_internal/platform/runtime/permissions/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/types.js +7 -0
- package/dist/_internal/platform/runtime/provider-health/data-provider.d.ts +82 -0
- package/dist/_internal/platform/runtime/provider-health/data-provider.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/provider-health/data-provider.js +197 -0
- package/dist/_internal/platform/runtime/provider-health/fallback-visualizer.d.ts +22 -0
- package/dist/_internal/platform/runtime/provider-health/fallback-visualizer.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/provider-health/fallback-visualizer.js +48 -0
- package/dist/_internal/platform/runtime/provider-health/index.d.ts +24 -0
- package/dist/_internal/platform/runtime/provider-health/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/provider-health/index.js +21 -0
- package/dist/_internal/platform/runtime/provider-health/types.d.ts +128 -0
- package/dist/_internal/platform/runtime/provider-health/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/provider-health/types.js +1 -0
- package/dist/_internal/platform/runtime/remote/capabilities.d.ts +11 -0
- package/dist/_internal/platform/runtime/remote/capabilities.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/capabilities.js +53 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-contract.d.ts +3 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-contract.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-contract.js +4 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-manager.d.ts +147 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-manager.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-manager.js +88 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-pairing.d.ts +71 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-pairing.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-pairing.js +405 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-store.d.ts +23 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-store.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-store.js +238 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-types.d.ts +181 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-types.js +1 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-utils.d.ts +36 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-utils.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-utils.js +292 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-work.d.ts +61 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-work.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-work.js +257 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime.d.ts +4 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime.js +2 -0
- package/dist/_internal/platform/runtime/remote/heartbeat.d.ts +10 -0
- package/dist/_internal/platform/runtime/remote/heartbeat.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/heartbeat.js +32 -0
- package/dist/_internal/platform/runtime/remote/identity.d.ts +83 -0
- package/dist/_internal/platform/runtime/remote/identity.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/identity.js +137 -0
- package/dist/_internal/platform/runtime/remote/negotiation.d.ts +12 -0
- package/dist/_internal/platform/runtime/remote/negotiation.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/negotiation.js +22 -0
- package/dist/_internal/platform/runtime/remote/observability.d.ts +138 -0
- package/dist/_internal/platform/runtime/remote/observability.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/observability.js +160 -0
- package/dist/_internal/platform/runtime/remote/reconnect.d.ts +163 -0
- package/dist/_internal/platform/runtime/remote/reconnect.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/reconnect.js +242 -0
- package/dist/_internal/platform/runtime/remote/recovery.d.ts +11 -0
- package/dist/_internal/platform/runtime/remote/recovery.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/recovery.js +36 -0
- package/dist/_internal/platform/runtime/remote/session-state.d.ts +30 -0
- package/dist/_internal/platform/runtime/remote/session-state.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/session-state.js +18 -0
- package/dist/_internal/platform/runtime/remote/sync.d.ts +132 -0
- package/dist/_internal/platform/runtime/remote/sync.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/sync.js +194 -0
- package/dist/_internal/platform/runtime/remote/transport-contract.d.ts +240 -0
- package/dist/_internal/platform/runtime/remote/transport-contract.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/transport-contract.js +334 -0
- package/dist/_internal/platform/runtime/remote/types.d.ts +410 -0
- package/dist/_internal/platform/runtime/remote/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/types.js +7 -0
- package/dist/_internal/platform/runtime/retention/index.d.ts +18 -0
- package/dist/_internal/platform/runtime/retention/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/retention/index.js +16 -0
- package/dist/_internal/platform/runtime/retention/policy.d.ts +119 -0
- package/dist/_internal/platform/runtime/retention/policy.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/retention/policy.js +259 -0
- package/dist/_internal/platform/runtime/retention/pruner.d.ts +54 -0
- package/dist/_internal/platform/runtime/retention/pruner.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/retention/pruner.js +153 -0
- package/dist/_internal/platform/runtime/retention/types.d.ts +139 -0
- package/dist/_internal/platform/runtime/retention/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/retention/types.js +2 -0
- package/dist/_internal/platform/runtime/sandbox/qemu-wrapper-template.d.ts +3 -0
- package/dist/_internal/platform/runtime/sandbox/qemu-wrapper-template.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/sandbox/qemu-wrapper-template.js +248 -0
- package/dist/_internal/platform/runtime/sandbox/types.d.ts +138 -0
- package/dist/_internal/platform/runtime/sandbox/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/sandbox/types.js +1 -0
- package/dist/_internal/platform/runtime/shell-paths.d.ts +21 -0
- package/dist/_internal/platform/runtime/shell-paths.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/shell-paths.js +51 -0
- package/dist/_internal/platform/runtime/store/domains/acp.d.ts +60 -0
- package/dist/_internal/platform/runtime/store/domains/acp.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/acp.js +22 -0
- package/dist/_internal/platform/runtime/store/domains/agents.d.ts +89 -0
- package/dist/_internal/platform/runtime/store/domains/agents.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/agents.js +17 -0
- package/dist/_internal/platform/runtime/store/domains/automation.d.ts +27 -0
- package/dist/_internal/platform/runtime/store/domains/automation.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/automation.js +24 -0
- package/dist/_internal/platform/runtime/store/domains/communication.d.ts +32 -0
- package/dist/_internal/platform/runtime/store/domains/communication.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/communication.js +15 -0
- package/dist/_internal/platform/runtime/store/domains/control-plane.d.ts +46 -0
- package/dist/_internal/platform/runtime/store/domains/control-plane.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/control-plane.js +27 -0
- package/dist/_internal/platform/runtime/store/domains/daemon.d.ts +73 -0
- package/dist/_internal/platform/runtime/store/domains/daemon.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/daemon.js +19 -0
- package/dist/_internal/platform/runtime/store/domains/deliveries.d.ts +22 -0
- package/dist/_internal/platform/runtime/store/domains/deliveries.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/deliveries.js +20 -0
- package/dist/_internal/platform/runtime/store/domains/discovery.d.ts +73 -0
- package/dist/_internal/platform/runtime/store/domains/discovery.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/discovery.js +27 -0
- package/dist/_internal/platform/runtime/store/domains/domain-read-matrix.d.ts +47 -0
- package/dist/_internal/platform/runtime/store/domains/domain-read-matrix.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/domain-read-matrix.js +83 -0
- package/dist/_internal/platform/runtime/store/domains/git.d.ts +86 -0
- package/dist/_internal/platform/runtime/store/domains/git.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/git.js +23 -0
- package/dist/_internal/platform/runtime/store/domains/integrations.d.ts +60 -0
- package/dist/_internal/platform/runtime/store/domains/integrations.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/integrations.js +16 -0
- package/dist/_internal/platform/runtime/store/domains/intelligence.d.ts +86 -0
- package/dist/_internal/platform/runtime/store/domains/intelligence.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/intelligence.js +22 -0
- package/dist/_internal/platform/runtime/store/domains/mcp.d.ts +90 -0
- package/dist/_internal/platform/runtime/store/domains/mcp.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/mcp.js +20 -0
- package/dist/_internal/platform/runtime/store/domains/model.d.ts +82 -0
- package/dist/_internal/platform/runtime/store/domains/model.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/model.js +31 -0
- package/dist/_internal/platform/runtime/store/domains/orchestration.d.ts +56 -0
- package/dist/_internal/platform/runtime/store/domains/orchestration.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/orchestration.js +17 -0
- package/dist/_internal/platform/runtime/store/domains/overlays.d.ts +62 -0
- package/dist/_internal/platform/runtime/store/domains/overlays.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/overlays.js +19 -0
- package/dist/_internal/platform/runtime/store/domains/plugins.d.ts +70 -0
- package/dist/_internal/platform/runtime/store/domains/plugins.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/plugins.js +19 -0
- package/dist/_internal/platform/runtime/store/domains/provider-health.d.ts +86 -0
- package/dist/_internal/platform/runtime/store/domains/provider-health.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/provider-health.js +16 -0
- package/dist/_internal/platform/runtime/store/domains/routes.d.ts +19 -0
- package/dist/_internal/platform/runtime/store/domains/routes.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/routes.js +26 -0
- package/dist/_internal/platform/runtime/store/domains/session.d.ts +69 -0
- package/dist/_internal/platform/runtime/store/domains/session.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/session.js +30 -0
- package/dist/_internal/platform/runtime/store/domains/surface-perf.d.ts +72 -0
- package/dist/_internal/platform/runtime/store/domains/surface-perf.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/surface-perf.js +28 -0
- package/dist/_internal/platform/runtime/store/domains/surfaces.d.ts +32 -0
- package/dist/_internal/platform/runtime/store/domains/surfaces.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/surfaces.js +17 -0
- package/dist/_internal/platform/runtime/store/domains/tasks.d.ts +110 -0
- package/dist/_internal/platform/runtime/store/domains/tasks.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/tasks.js +20 -0
- package/dist/_internal/platform/runtime/store/domains/telemetry.d.ts +91 -0
- package/dist/_internal/platform/runtime/store/domains/telemetry.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/telemetry.js +31 -0
- package/dist/_internal/platform/runtime/store/domains/watchers.d.ts +39 -0
- package/dist/_internal/platform/runtime/store/domains/watchers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/watchers.js +20 -0
- package/dist/_internal/platform/runtime/tasks/lifecycle.d.ts +55 -0
- package/dist/_internal/platform/runtime/tasks/lifecycle.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tasks/lifecycle.js +57 -0
- package/dist/_internal/platform/runtime/tasks/registry.d.ts +77 -0
- package/dist/_internal/platform/runtime/tasks/registry.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tasks/registry.js +110 -0
- package/dist/_internal/platform/runtime/tasks/types.d.ts +190 -0
- package/dist/_internal/platform/runtime/tasks/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tasks/types.js +1 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/console.d.ts +41 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/console.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/console.js +76 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/index.d.ts +12 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/index.js +5 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/local-ledger.d.ts +105 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/local-ledger.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/local-ledger.js +185 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/otlp.d.ts +66 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/otlp.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/otlp.js +214 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/queue.d.ts +86 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/queue.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/queue.js +212 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/types.d.ts +92 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/exporters/types.js +19 -0
- package/dist/_internal/platform/runtime/telemetry/meter.d.ts +50 -0
- package/dist/_internal/platform/runtime/telemetry/meter.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/meter.js +132 -0
- package/dist/_internal/platform/runtime/telemetry/spans/agent.d.ts +65 -0
- package/dist/_internal/platform/runtime/telemetry/spans/agent.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/agent.js +63 -0
- package/dist/_internal/platform/runtime/telemetry/spans/compaction.d.ts +67 -0
- package/dist/_internal/platform/runtime/telemetry/spans/compaction.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/compaction.js +70 -0
- package/dist/_internal/platform/runtime/telemetry/spans/health.d.ts +33 -0
- package/dist/_internal/platform/runtime/telemetry/spans/health.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/health.js +81 -0
- package/dist/_internal/platform/runtime/telemetry/spans/index.d.ts +28 -0
- package/dist/_internal/platform/runtime/telemetry/spans/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/index.js +12 -0
- package/dist/_internal/platform/runtime/telemetry/spans/llm.d.ts +67 -0
- package/dist/_internal/platform/runtime/telemetry/spans/llm.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/llm.js +73 -0
- package/dist/_internal/platform/runtime/telemetry/spans/mcp.d.ts +60 -0
- package/dist/_internal/platform/runtime/telemetry/spans/mcp.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/mcp.js +67 -0
- package/dist/_internal/platform/runtime/telemetry/spans/permission.d.ts +65 -0
- package/dist/_internal/platform/runtime/telemetry/spans/permission.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/permission.js +63 -0
- package/dist/_internal/platform/runtime/telemetry/spans/plugin.d.ts +58 -0
- package/dist/_internal/platform/runtime/telemetry/spans/plugin.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/plugin.js +60 -0
- package/dist/_internal/platform/runtime/telemetry/spans/session.d.ts +61 -0
- package/dist/_internal/platform/runtime/telemetry/spans/session.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/session.js +64 -0
- package/dist/_internal/platform/runtime/telemetry/spans/task.d.ts +65 -0
- package/dist/_internal/platform/runtime/telemetry/spans/task.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/task.js +66 -0
- package/dist/_internal/platform/runtime/telemetry/spans/tool.d.ts +62 -0
- package/dist/_internal/platform/runtime/telemetry/spans/tool.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/tool.js +71 -0
- package/dist/_internal/platform/runtime/telemetry/spans/transport.d.ts +57 -0
- package/dist/_internal/platform/runtime/telemetry/spans/transport.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/transport.js +63 -0
- package/dist/_internal/platform/runtime/telemetry/spans/turn.d.ts +55 -0
- package/dist/_internal/platform/runtime/telemetry/spans/turn.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/spans/turn.js +56 -0
- package/dist/_internal/platform/runtime/telemetry/tracer.d.ts +56 -0
- package/dist/_internal/platform/runtime/telemetry/tracer.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/tracer.js +210 -0
- package/dist/_internal/platform/runtime/telemetry/types.d.ts +167 -0
- package/dist/_internal/platform/runtime/telemetry/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/types.js +22 -0
- package/dist/_internal/platform/runtime/tools/adapter.d.ts +60 -0
- package/dist/_internal/platform/runtime/tools/adapter.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/adapter.js +19 -0
- package/dist/_internal/platform/runtime/tools/contract-verifier.d.ts +105 -0
- package/dist/_internal/platform/runtime/tools/contract-verifier.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/contract-verifier.js +359 -0
- package/dist/_internal/platform/runtime/tools/output-policy.d.ts +128 -0
- package/dist/_internal/platform/runtime/tools/output-policy.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/output-policy.js +185 -0
- package/dist/_internal/platform/runtime/tools/types.d.ts +118 -0
- package/dist/_internal/platform/runtime/tools/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/types.js +1 -0
- package/dist/_internal/platform/runtime/transports/backoff.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/backoff.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/backoff.js +1 -0
- package/dist/_internal/platform/runtime/transports/client-transport.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/client-transport.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/client-transport.js +1 -0
- package/dist/_internal/platform/runtime/transports/contract-http-client.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/contract-http-client.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/contract-http-client.js +1 -0
- package/dist/_internal/platform/runtime/transports/direct-client.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/direct-client.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/direct-client.js +1 -0
- package/dist/_internal/platform/runtime/transports/domain-events.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/domain-events.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/domain-events.js +1 -0
- package/dist/_internal/platform/runtime/transports/http-auth.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/http-auth.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/http-auth.js +1 -0
- package/dist/_internal/platform/runtime/transports/http-json-transport.d.ts +7 -0
- package/dist/_internal/platform/runtime/transports/http-json-transport.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/http-json-transport.js +5 -0
- package/dist/_internal/platform/runtime/transports/http-retry.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/http-retry.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/http-retry.js +1 -0
- package/dist/_internal/platform/runtime/transports/operator-remote-client.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/operator-remote-client.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/operator-remote-client.js +1 -0
- package/dist/_internal/platform/runtime/transports/peer-remote-client.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/peer-remote-client.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/peer-remote-client.js +1 -0
- package/dist/_internal/platform/runtime/transports/runtime-events-client.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/runtime-events-client.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/runtime-events-client.js +1 -0
- package/dist/_internal/platform/runtime/transports/sse-stream.d.ts +4 -0
- package/dist/_internal/platform/runtime/transports/sse-stream.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/sse-stream.js +7 -0
- package/dist/_internal/platform/runtime/transports/stream-reconnect.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/stream-reconnect.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/stream-reconnect.js +1 -0
- package/dist/_internal/platform/runtime/transports/transport-paths.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/transport-paths.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/transport-paths.js +1 -0
- package/dist/_internal/platform/runtime/ui-read-models-base.d.ts +8 -0
- package/dist/_internal/platform/runtime/ui-read-models-base.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-read-models-base.js +2 -0
- package/dist/_internal/platform/scheduler/scheduler.d.ts +85 -0
- package/dist/_internal/platform/scheduler/scheduler.d.ts.map +1 -0
- package/dist/_internal/platform/scheduler/scheduler.js +628 -0
- package/dist/_internal/platform/security/http-auth.d.ts +30 -0
- package/dist/_internal/platform/security/http-auth.d.ts.map +1 -0
- package/dist/_internal/platform/security/http-auth.js +112 -0
- package/dist/_internal/platform/security/index.d.ts +8 -0
- package/dist/_internal/platform/security/index.d.ts.map +1 -0
- package/dist/_internal/platform/security/index.js +4 -0
- package/dist/_internal/platform/security/spawn-tokens.d.ts +65 -0
- package/dist/_internal/platform/security/spawn-tokens.d.ts.map +1 -0
- package/dist/_internal/platform/security/spawn-tokens.js +161 -0
- package/dist/_internal/platform/security/token-audit.d.ts +207 -0
- package/dist/_internal/platform/security/token-audit.d.ts.map +1 -0
- package/dist/_internal/platform/security/token-audit.js +292 -0
- package/dist/_internal/platform/security/user-auth.d.ts +63 -0
- package/dist/_internal/platform/security/user-auth.d.ts.map +1 -0
- package/dist/_internal/platform/security/user-auth.js +257 -0
- package/dist/_internal/platform/sessions/change-tracker.d.ts +15 -0
- package/dist/_internal/platform/sessions/change-tracker.d.ts.map +1 -0
- package/dist/_internal/platform/sessions/change-tracker.js +25 -0
- package/dist/_internal/platform/sessions/orchestration/graph.d.ts +182 -0
- package/dist/_internal/platform/sessions/orchestration/graph.d.ts.map +1 -0
- package/dist/_internal/platform/sessions/orchestration/graph.js +427 -0
- package/dist/_internal/platform/sessions/orchestration/index.d.ts +8 -0
- package/dist/_internal/platform/sessions/orchestration/index.d.ts.map +1 -0
- package/dist/_internal/platform/sessions/orchestration/index.js +6 -0
- package/dist/_internal/platform/sessions/orchestration/registry.d.ts +149 -0
- package/dist/_internal/platform/sessions/orchestration/registry.d.ts.map +1 -0
- package/dist/_internal/platform/sessions/orchestration/registry.js +299 -0
- package/dist/_internal/platform/sessions/orchestration/types.d.ts +138 -0
- package/dist/_internal/platform/sessions/orchestration/types.d.ts.map +1 -0
- package/dist/_internal/platform/sessions/orchestration/types.js +22 -0
- package/dist/_internal/platform/state/db.d.ts +76 -0
- package/dist/_internal/platform/state/db.d.ts.map +1 -0
- package/dist/_internal/platform/state/db.js +220 -0
- package/dist/_internal/platform/state/file-cache.d.ts +97 -0
- package/dist/_internal/platform/state/file-cache.d.ts.map +1 -0
- package/dist/_internal/platform/state/file-cache.js +328 -0
- package/dist/_internal/platform/state/file-undo.d.ts +46 -0
- package/dist/_internal/platform/state/file-undo.d.ts.map +1 -0
- package/dist/_internal/platform/state/file-undo.js +110 -0
- package/dist/_internal/platform/state/json-file-store.d.ts +16 -0
- package/dist/_internal/platform/state/json-file-store.d.ts.map +1 -0
- package/dist/_internal/platform/state/json-file-store.js +44 -0
- package/dist/_internal/platform/state/kv-state.d.ts +42 -0
- package/dist/_internal/platform/state/kv-state.d.ts.map +1 -0
- package/dist/_internal/platform/state/kv-state.js +215 -0
- package/dist/_internal/platform/state/mode-manager.d.ts +61 -0
- package/dist/_internal/platform/state/mode-manager.d.ts.map +1 -0
- package/dist/_internal/platform/state/mode-manager.js +146 -0
- package/dist/_internal/platform/state/persistent-store.d.ts +17 -0
- package/dist/_internal/platform/state/persistent-store.d.ts.map +1 -0
- package/dist/_internal/platform/state/persistent-store.js +47 -0
- package/dist/_internal/platform/state/project-index.d.ts +58 -0
- package/dist/_internal/platform/state/project-index.d.ts.map +1 -0
- package/dist/_internal/platform/state/project-index.js +249 -0
- package/dist/_internal/platform/state/sqlite-store.d.ts +28 -0
- package/dist/_internal/platform/state/sqlite-store.d.ts.map +1 -0
- package/dist/_internal/platform/state/sqlite-store.js +95 -0
- package/dist/_internal/platform/state/telemetry.d.ts +42 -0
- package/dist/_internal/platform/state/telemetry.d.ts.map +1 -0
- package/dist/_internal/platform/state/telemetry.js +124 -0
- package/dist/_internal/platform/tools/agent/schema.d.ts +71 -0
- package/dist/_internal/platform/tools/agent/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/agent/schema.js +236 -0
- package/dist/_internal/platform/tools/analyze/scan-modes.d.ts +13 -0
- package/dist/_internal/platform/tools/analyze/scan-modes.d.ts.map +1 -0
- package/dist/_internal/platform/tools/analyze/scan-modes.js +632 -0
- package/dist/_internal/platform/tools/analyze/schema.d.ts +8 -0
- package/dist/_internal/platform/tools/analyze/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/analyze/schema.js +118 -0
- package/dist/_internal/platform/tools/analyze/shared.d.ts +37 -0
- package/dist/_internal/platform/tools/analyze/shared.d.ts.map +1 -0
- package/dist/_internal/platform/tools/analyze/shared.js +337 -0
- package/dist/_internal/platform/tools/analyze/types.d.ts +37 -0
- package/dist/_internal/platform/tools/analyze/types.d.ts.map +1 -0
- package/dist/_internal/platform/tools/analyze/types.js +2 -0
- package/dist/_internal/platform/tools/auto-repair.d.ts +21 -0
- package/dist/_internal/platform/tools/auto-repair.d.ts.map +1 -0
- package/dist/_internal/platform/tools/auto-repair.js +160 -0
- package/dist/_internal/platform/tools/control/schema.d.ts +6 -0
- package/dist/_internal/platform/tools/control/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/control/schema.js +15 -0
- package/dist/_internal/platform/tools/edit/match.d.ts +69 -0
- package/dist/_internal/platform/tools/edit/match.d.ts.map +1 -0
- package/dist/_internal/platform/tools/edit/match.js +468 -0
- package/dist/_internal/platform/tools/edit/notebook.d.ts +33 -0
- package/dist/_internal/platform/tools/edit/notebook.d.ts.map +1 -0
- package/dist/_internal/platform/tools/edit/notebook.js +265 -0
- package/dist/_internal/platform/tools/edit/schema.d.ts +223 -0
- package/dist/_internal/platform/tools/edit/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/edit/schema.js +235 -0
- package/dist/_internal/platform/tools/edit/types.d.ts +83 -0
- package/dist/_internal/platform/tools/edit/types.d.ts.map +1 -0
- package/dist/_internal/platform/tools/edit/types.js +2 -0
- package/dist/_internal/platform/tools/exec/ast-guard.d.ts +66 -0
- package/dist/_internal/platform/tools/exec/ast-guard.d.ts.map +1 -0
- package/dist/_internal/platform/tools/exec/ast-guard.js +121 -0
- package/dist/_internal/platform/tools/exec/file-ops.d.ts +15 -0
- package/dist/_internal/platform/tools/exec/file-ops.d.ts.map +1 -0
- package/dist/_internal/platform/tools/exec/file-ops.js +193 -0
- package/dist/_internal/platform/tools/exec/index.d.ts +2 -0
- package/dist/_internal/platform/tools/exec/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/exec/index.js +1 -0
- package/dist/_internal/platform/tools/exec/phased.d.ts +16 -0
- package/dist/_internal/platform/tools/exec/phased.d.ts.map +1 -0
- package/dist/_internal/platform/tools/exec/phased.js +25 -0
- package/dist/_internal/platform/tools/exec/runtime.d.ts +9 -0
- package/dist/_internal/platform/tools/exec/runtime.d.ts.map +1 -0
- package/dist/_internal/platform/tools/exec/runtime.js +506 -0
- package/dist/_internal/platform/tools/exec/schema.d.ts +267 -0
- package/dist/_internal/platform/tools/exec/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/exec/schema.js +191 -0
- package/dist/_internal/platform/tools/fetch/extract.d.ts +6 -0
- package/dist/_internal/platform/tools/fetch/extract.d.ts.map +1 -0
- package/dist/_internal/platform/tools/fetch/extract.js +300 -0
- package/dist/_internal/platform/tools/fetch/host-utils.d.ts +3 -0
- package/dist/_internal/platform/tools/fetch/host-utils.d.ts.map +1 -0
- package/dist/_internal/platform/tools/fetch/host-utils.js +36 -0
- package/dist/_internal/platform/tools/fetch/sanitizer.d.ts +61 -0
- package/dist/_internal/platform/tools/fetch/sanitizer.d.ts.map +1 -0
- package/dist/_internal/platform/tools/fetch/sanitizer.js +108 -0
- package/dist/_internal/platform/tools/fetch/schema.d.ts +252 -0
- package/dist/_internal/platform/tools/fetch/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/fetch/schema.js +167 -0
- package/dist/_internal/platform/tools/fetch/trust-tiers.d.ts +115 -0
- package/dist/_internal/platform/tools/fetch/trust-tiers.d.ts.map +1 -0
- package/dist/_internal/platform/tools/fetch/trust-tiers.js +294 -0
- package/dist/_internal/platform/tools/fetch/types.d.ts +35 -0
- package/dist/_internal/platform/tools/fetch/types.d.ts.map +1 -0
- package/dist/_internal/platform/tools/fetch/types.js +1 -0
- package/dist/_internal/platform/tools/find/content.d.ts +5 -0
- package/dist/_internal/platform/tools/find/content.d.ts.map +1 -0
- package/dist/_internal/platform/tools/find/content.js +240 -0
- package/dist/_internal/platform/tools/find/executor.d.ts +5 -0
- package/dist/_internal/platform/tools/find/executor.d.ts.map +1 -0
- package/dist/_internal/platform/tools/find/executor.js +76 -0
- package/dist/_internal/platform/tools/find/files.d.ts +3 -0
- package/dist/_internal/platform/tools/find/files.d.ts.map +1 -0
- package/dist/_internal/platform/tools/find/files.js +142 -0
- package/dist/_internal/platform/tools/find/index.d.ts +4 -0
- package/dist/_internal/platform/tools/find/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/find/index.js +2 -0
- package/dist/_internal/platform/tools/find/phased.d.ts +13 -0
- package/dist/_internal/platform/tools/find/phased.d.ts.map +1 -0
- package/dist/_internal/platform/tools/find/phased.js +25 -0
- package/dist/_internal/platform/tools/find/references.d.ts +3 -0
- package/dist/_internal/platform/tools/find/references.d.ts.map +1 -0
- package/dist/_internal/platform/tools/find/references.js +67 -0
- package/dist/_internal/platform/tools/find/schema.d.ts +7 -0
- package/dist/_internal/platform/tools/find/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/find/schema.js +261 -0
- package/dist/_internal/platform/tools/find/shared.d.ts +152 -0
- package/dist/_internal/platform/tools/find/shared.d.ts.map +1 -0
- package/dist/_internal/platform/tools/find/shared.js +240 -0
- package/dist/_internal/platform/tools/find/structural.d.ts +3 -0
- package/dist/_internal/platform/tools/find/structural.d.ts.map +1 -0
- package/dist/_internal/platform/tools/find/structural.js +81 -0
- package/dist/_internal/platform/tools/find/symbols.d.ts +3 -0
- package/dist/_internal/platform/tools/find/symbols.d.ts.map +1 -0
- package/dist/_internal/platform/tools/find/symbols.js +167 -0
- package/dist/_internal/platform/tools/inspect/executor.d.ts +4 -0
- package/dist/_internal/platform/tools/inspect/executor.d.ts.map +1 -0
- package/dist/_internal/platform/tools/inspect/executor.js +142 -0
- package/dist/_internal/platform/tools/inspect/frontend.d.ts +16 -0
- package/dist/_internal/platform/tools/inspect/frontend.d.ts.map +1 -0
- package/dist/_internal/platform/tools/inspect/frontend.js +466 -0
- package/dist/_internal/platform/tools/inspect/index.d.ts +13 -0
- package/dist/_internal/platform/tools/inspect/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/inspect/index.js +65 -0
- package/dist/_internal/platform/tools/inspect/project.d.ts +10 -0
- package/dist/_internal/platform/tools/inspect/project.d.ts.map +1 -0
- package/dist/_internal/platform/tools/inspect/project.js +466 -0
- package/dist/_internal/platform/tools/inspect/schema.d.ts +303 -0
- package/dist/_internal/platform/tools/inspect/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/inspect/schema.js +73 -0
- package/dist/_internal/platform/tools/inspect/shared.d.ts +21 -0
- package/dist/_internal/platform/tools/inspect/shared.d.ts.map +1 -0
- package/dist/_internal/platform/tools/inspect/shared.js +273 -0
- package/dist/_internal/platform/tools/mcp/schema.d.ts +12 -0
- package/dist/_internal/platform/tools/mcp/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/mcp/schema.js +30 -0
- package/dist/_internal/platform/tools/packet/index.d.ts +3 -0
- package/dist/_internal/platform/tools/packet/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/packet/index.js +113 -0
- package/dist/_internal/platform/tools/packet/schema.d.ts +14 -0
- package/dist/_internal/platform/tools/packet/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/packet/schema.js +20 -0
- package/dist/_internal/platform/tools/query/index.d.ts +3 -0
- package/dist/_internal/platform/tools/query/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/query/index.js +106 -0
- package/dist/_internal/platform/tools/query/schema.d.ts +13 -0
- package/dist/_internal/platform/tools/query/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/query/schema.js +19 -0
- package/dist/_internal/platform/tools/read/file-readers.d.ts +82 -0
- package/dist/_internal/platform/tools/read/file-readers.d.ts.map +1 -0
- package/dist/_internal/platform/tools/read/file-readers.js +365 -0
- package/dist/_internal/platform/tools/read/index.d.ts +19 -0
- package/dist/_internal/platform/tools/read/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/read/index.js +133 -0
- package/dist/_internal/platform/tools/read/media.d.ts +111 -0
- package/dist/_internal/platform/tools/read/media.d.ts.map +1 -0
- package/dist/_internal/platform/tools/read/media.js +458 -0
- package/dist/_internal/platform/tools/read/phased.d.ts +20 -0
- package/dist/_internal/platform/tools/read/phased.d.ts.map +1 -0
- package/dist/_internal/platform/tools/read/phased.js +25 -0
- package/dist/_internal/platform/tools/read/schema.d.ts +144 -0
- package/dist/_internal/platform/tools/read/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/read/schema.js +114 -0
- package/dist/_internal/platform/tools/read/text.d.ts +11 -0
- package/dist/_internal/platform/tools/read/text.d.ts.map +1 -0
- package/dist/_internal/platform/tools/read/text.js +138 -0
- package/dist/_internal/platform/tools/registry-tool/index.d.ts +14 -0
- package/dist/_internal/platform/tools/registry-tool/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/registry-tool/index.js +408 -0
- package/dist/_internal/platform/tools/registry-tool/schema.d.ts +54 -0
- package/dist/_internal/platform/tools/registry-tool/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/registry-tool/schema.js +47 -0
- package/dist/_internal/platform/tools/registry-tool/skill-loader.d.ts +10 -0
- package/dist/_internal/platform/tools/registry-tool/skill-loader.d.ts.map +1 -0
- package/dist/_internal/platform/tools/registry-tool/skill-loader.js +73 -0
- package/dist/_internal/platform/tools/registry.d.ts +51 -0
- package/dist/_internal/platform/tools/registry.d.ts.map +1 -0
- package/dist/_internal/platform/tools/registry.js +119 -0
- package/dist/_internal/platform/tools/remote-trigger/schema.d.ts +12 -0
- package/dist/_internal/platform/tools/remote-trigger/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/remote-trigger/schema.js +18 -0
- package/dist/_internal/platform/tools/repl/schema.d.ts +9 -0
- package/dist/_internal/platform/tools/repl/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/repl/schema.js +15 -0
- package/dist/_internal/platform/tools/shared/overflow.d.ts +156 -0
- package/dist/_internal/platform/tools/shared/overflow.d.ts.map +1 -0
- package/dist/_internal/platform/tools/shared/overflow.js +363 -0
- package/dist/_internal/platform/tools/shared/process-manager.d.ts +62 -0
- package/dist/_internal/platform/tools/shared/process-manager.d.ts.map +1 -0
- package/dist/_internal/platform/tools/shared/process-manager.js +155 -0
- package/dist/_internal/platform/tools/shared/schema-fingerprint.d.ts +80 -0
- package/dist/_internal/platform/tools/shared/schema-fingerprint.d.ts.map +1 -0
- package/dist/_internal/platform/tools/shared/schema-fingerprint.js +163 -0
- package/dist/_internal/platform/tools/shared/validators.d.ts +24 -0
- package/dist/_internal/platform/tools/shared/validators.d.ts.map +1 -0
- package/dist/_internal/platform/tools/shared/validators.js +68 -0
- package/dist/_internal/platform/tools/state/schema.d.ts +198 -0
- package/dist/_internal/platform/tools/state/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/state/schema.js +128 -0
- package/dist/_internal/platform/tools/task/index.d.ts +4 -0
- package/dist/_internal/platform/tools/task/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/task/index.js +150 -0
- package/dist/_internal/platform/tools/task/schema.d.ts +63 -0
- package/dist/_internal/platform/tools/task/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/task/schema.js +29 -0
- package/dist/_internal/platform/tools/team/index.d.ts +3 -0
- package/dist/_internal/platform/tools/team/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/team/index.js +149 -0
- package/dist/_internal/platform/tools/team/schema.d.ts +48 -0
- package/dist/_internal/platform/tools/team/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/team/schema.js +22 -0
- package/dist/_internal/platform/tools/web-search/schema.d.ts +60 -0
- package/dist/_internal/platform/tools/web-search/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/web-search/schema.js +60 -0
- package/dist/_internal/platform/tools/workflow/index.d.ts +106 -0
- package/dist/_internal/platform/tools/workflow/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/workflow/index.js +443 -0
- package/dist/_internal/platform/tools/workflow/schema.d.ts +7 -0
- package/dist/_internal/platform/tools/workflow/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/workflow/schema.js +94 -0
- package/dist/_internal/platform/tools/worklist/index.d.ts +3 -0
- package/dist/_internal/platform/tools/worklist/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/worklist/index.js +140 -0
- package/dist/_internal/platform/tools/worklist/schema.d.ts +46 -0
- package/dist/_internal/platform/tools/worklist/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/worklist/schema.js +19 -0
- package/dist/_internal/platform/tools/write/schema.d.ts +108 -0
- package/dist/_internal/platform/tools/write/schema.d.ts.map +1 -0
- package/dist/_internal/platform/tools/write/schema.js +90 -0
- package/dist/_internal/platform/types/daemon-error-contract.d.ts +2 -0
- package/dist/_internal/platform/types/daemon-error-contract.d.ts.map +1 -0
- package/dist/_internal/platform/types/daemon-error-contract.js +1 -0
- package/dist/_internal/platform/types/errors.d.ts +88 -0
- package/dist/_internal/platform/types/errors.d.ts.map +1 -0
- package/dist/_internal/platform/types/errors.js +237 -0
- package/dist/_internal/platform/types/foundation-contract.d.ts +9 -0
- package/dist/_internal/platform/types/foundation-contract.d.ts.map +1 -0
- package/dist/_internal/platform/types/foundation-contract.js +1 -0
- package/dist/_internal/platform/types/generated/foundation-client-types.d.ts +2 -0
- package/dist/_internal/platform/types/generated/foundation-client-types.d.ts.map +1 -0
- package/dist/_internal/platform/types/generated/foundation-client-types.js +2 -0
- package/dist/_internal/platform/types/grid.d.ts +27 -0
- package/dist/_internal/platform/types/grid.d.ts.map +1 -0
- package/dist/_internal/platform/types/grid.js +26 -0
- package/dist/_internal/platform/types/tools.d.ts +37 -0
- package/dist/_internal/platform/types/tools.d.ts.map +1 -0
- package/dist/_internal/platform/types/tools.js +2 -0
- package/dist/_internal/platform/utils/clipboard.d.ts +18 -0
- package/dist/_internal/platform/utils/clipboard.d.ts.map +1 -0
- package/dist/_internal/platform/utils/clipboard.js +147 -0
- package/dist/_internal/platform/utils/error-display.d.ts +35 -0
- package/dist/_internal/platform/utils/error-display.d.ts.map +1 -0
- package/dist/_internal/platform/utils/error-display.js +314 -0
- package/dist/_internal/platform/utils/glob-to-regex.d.ts +8 -0
- package/dist/_internal/platform/utils/glob-to-regex.d.ts.map +1 -0
- package/dist/_internal/platform/utils/glob-to-regex.js +31 -0
- package/dist/_internal/platform/utils/logger.d.ts +26 -0
- package/dist/_internal/platform/utils/logger.d.ts.map +1 -0
- package/dist/_internal/platform/utils/logger.js +75 -0
- package/dist/_internal/platform/utils/markdown-disclosure.d.ts +24 -0
- package/dist/_internal/platform/utils/markdown-disclosure.d.ts.map +1 -0
- package/dist/_internal/platform/utils/markdown-disclosure.js +167 -0
- package/dist/_internal/platform/utils/notebook.d.ts +7 -0
- package/dist/_internal/platform/utils/notebook.d.ts.map +1 -0
- package/dist/_internal/platform/utils/notebook.js +8 -0
- package/dist/_internal/platform/utils/notify.d.ts +13 -0
- package/dist/_internal/platform/utils/notify.d.ts.map +1 -0
- package/dist/_internal/platform/utils/notify.js +35 -0
- package/dist/_internal/platform/utils/open-external.d.ts +3 -0
- package/dist/_internal/platform/utils/open-external.d.ts.map +1 -0
- package/dist/_internal/platform/utils/open-external.js +30 -0
- package/dist/_internal/platform/utils/path-safety.d.ts +7 -0
- package/dist/_internal/platform/utils/path-safety.d.ts.map +1 -0
- package/dist/_internal/platform/utils/path-safety.js +42 -0
- package/dist/_internal/platform/utils/prompt-loader.d.ts +25 -0
- package/dist/_internal/platform/utils/prompt-loader.d.ts.map +1 -0
- package/dist/_internal/platform/utils/prompt-loader.js +100 -0
- package/dist/_internal/platform/utils/redaction.d.ts +5 -0
- package/dist/_internal/platform/utils/redaction.d.ts.map +1 -0
- package/dist/_internal/platform/utils/redaction.js +67 -0
- package/dist/_internal/platform/utils/retry.d.ts +30 -0
- package/dist/_internal/platform/utils/retry.d.ts.map +1 -0
- package/dist/_internal/platform/utils/retry.js +76 -0
- package/dist/_internal/platform/utils/terminal-width.d.ts +20 -0
- package/dist/_internal/platform/utils/terminal-width.d.ts.map +1 -0
- package/dist/_internal/platform/utils/terminal-width.js +189 -0
- package/dist/_internal/platform/utils/url-safety.d.ts +9 -0
- package/dist/_internal/platform/utils/url-safety.d.ts.map +1 -0
- package/dist/_internal/platform/utils/url-safety.js +75 -0
- package/dist/_internal/platform/utils/walk-dir.d.ts +19 -0
- package/dist/_internal/platform/utils/walk-dir.d.ts.map +1 -0
- package/dist/_internal/platform/utils/walk-dir.js +56 -0
- package/dist/_internal/platform/voice/builtin-providers.d.ts +3 -0
- package/dist/_internal/platform/voice/builtin-providers.d.ts.map +1 -0
- package/dist/_internal/platform/voice/builtin-providers.js +15 -0
- package/dist/_internal/platform/voice/index.d.ts +7 -0
- package/dist/_internal/platform/voice/index.d.ts.map +1 -0
- package/dist/_internal/platform/voice/index.js +3 -0
- package/dist/_internal/platform/voice/provider-registry.d.ts +18 -0
- package/dist/_internal/platform/voice/provider-registry.d.ts.map +1 -0
- package/dist/_internal/platform/voice/provider-registry.js +58 -0
- package/dist/_internal/platform/voice/providers/deepgram.d.ts +3 -0
- package/dist/_internal/platform/voice/providers/deepgram.d.ts.map +1 -0
- package/dist/_internal/platform/voice/providers/deepgram.js +54 -0
- package/dist/_internal/platform/voice/providers/elevenlabs.d.ts +3 -0
- package/dist/_internal/platform/voice/providers/elevenlabs.d.ts.map +1 -0
- package/dist/_internal/platform/voice/providers/elevenlabs.js +333 -0
- package/dist/_internal/platform/voice/providers/google.d.ts +3 -0
- package/dist/_internal/platform/voice/providers/google.d.ts.map +1 -0
- package/dist/_internal/platform/voice/providers/google.js +166 -0
- package/dist/_internal/platform/voice/providers/microsoft.d.ts +3 -0
- package/dist/_internal/platform/voice/providers/microsoft.d.ts.map +1 -0
- package/dist/_internal/platform/voice/providers/microsoft.js +85 -0
- package/dist/_internal/platform/voice/providers/openai.d.ts +3 -0
- package/dist/_internal/platform/voice/providers/openai.d.ts.map +1 -0
- package/dist/_internal/platform/voice/providers/openai.js +289 -0
- package/dist/_internal/platform/voice/providers/shared.d.ts +17 -0
- package/dist/_internal/platform/voice/providers/shared.d.ts.map +1 -0
- package/dist/_internal/platform/voice/providers/shared.js +115 -0
- package/dist/_internal/platform/voice/providers/vydra.d.ts +3 -0
- package/dist/_internal/platform/voice/providers/vydra.d.ts.map +1 -0
- package/dist/_internal/platform/voice/providers/vydra.js +74 -0
- package/dist/_internal/platform/voice/service.d.ts +18 -0
- package/dist/_internal/platform/voice/service.d.ts.map +1 -0
- package/dist/_internal/platform/voice/service.js +49 -0
- package/dist/_internal/platform/voice/types.d.ts +89 -0
- package/dist/_internal/platform/voice/types.d.ts.map +1 -0
- package/dist/_internal/platform/voice/types.js +2 -0
- package/dist/_internal/platform/watchers/store.d.ts +12 -0
- package/dist/_internal/platform/watchers/store.d.ts.map +1 -0
- package/dist/_internal/platform/watchers/store.js +45 -0
- package/dist/_internal/platform/web-search/types.d.ts +89 -0
- package/dist/_internal/platform/web-search/types.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/types.js +1 -0
- package/dist/_internal/platform/workflow/trigger-executor.d.ts +22 -0
- package/dist/_internal/platform/workflow/trigger-executor.d.ts.map +1 -0
- package/dist/_internal/platform/workflow/trigger-executor.js +304 -0
- package/dist/_internal/transport-core/client-transport.d.ts +9 -0
- package/dist/_internal/transport-core/client-transport.d.ts.map +1 -0
- package/dist/_internal/transport-core/client-transport.js +13 -0
- package/dist/_internal/transport-core/event-envelope.d.ts +21 -0
- package/dist/_internal/transport-core/event-envelope.d.ts.map +1 -0
- package/dist/_internal/transport-core/event-envelope.js +16 -0
- package/dist/_internal/transport-core/event-feeds.d.ts +22 -0
- package/dist/_internal/transport-core/event-feeds.d.ts.map +1 -0
- package/dist/_internal/transport-core/event-feeds.js +25 -0
- package/dist/_internal/transport-core/index.d.ts +7 -0
- package/dist/_internal/transport-core/index.d.ts.map +1 -0
- package/dist/_internal/transport-core/index.js +3 -0
- package/dist/_internal/transport-core.d.ts +2 -0
- package/dist/_internal/transport-core.d.ts.map +1 -0
- package/dist/_internal/transport-core.js +1 -0
- package/dist/_internal/transport-direct/index.d.ts +4 -0
- package/dist/_internal/transport-direct/index.d.ts.map +1 -0
- package/dist/_internal/transport-direct/index.js +6 -0
- package/dist/_internal/transport-direct.d.ts +2 -0
- package/dist/_internal/transport-direct.d.ts.map +1 -0
- package/dist/_internal/transport-direct.js +1 -0
- package/dist/_internal/transport-http/auth.d.ts +7 -0
- package/dist/_internal/transport-http/auth.d.ts.map +1 -0
- package/dist/_internal/transport-http/auth.js +39 -0
- package/dist/_internal/transport-http/backoff.d.ts +16 -0
- package/dist/_internal/transport-http/backoff.d.ts.map +1 -0
- package/dist/_internal/transport-http/backoff.js +37 -0
- package/dist/_internal/transport-http/contract-client.d.ts +21 -0
- package/dist/_internal/transport-http/contract-client.d.ts.map +1 -0
- package/dist/_internal/transport-http/contract-client.js +31 -0
- package/dist/_internal/transport-http/http-core.d.ts +55 -0
- package/dist/_internal/transport-http/http-core.d.ts.map +1 -0
- package/dist/_internal/transport-http/http-core.js +218 -0
- package/dist/_internal/transport-http/http.d.ts +12 -0
- package/dist/_internal/transport-http/http.d.ts.map +1 -0
- package/dist/_internal/transport-http/http.js +52 -0
- package/dist/_internal/transport-http/index.d.ts +19 -0
- package/dist/_internal/transport-http/index.d.ts.map +1 -0
- package/dist/_internal/transport-http/index.js +9 -0
- package/dist/_internal/transport-http/paths.d.ts +32 -0
- package/dist/_internal/transport-http/paths.d.ts.map +1 -0
- package/dist/_internal/transport-http/paths.js +42 -0
- package/dist/_internal/transport-http/reconnect.d.ts +11 -0
- package/dist/_internal/transport-http/reconnect.d.ts.map +1 -0
- package/dist/_internal/transport-http/reconnect.js +20 -0
- package/dist/_internal/transport-http/retry.d.ts +18 -0
- package/dist/_internal/transport-http/retry.d.ts.map +1 -0
- package/dist/_internal/transport-http/retry.js +46 -0
- package/dist/_internal/transport-http/sse-stream.d.ts +22 -0
- package/dist/_internal/transport-http/sse-stream.d.ts.map +1 -0
- package/dist/_internal/transport-http/sse-stream.js +213 -0
- package/dist/_internal/transport-http/sse.d.ts +7 -0
- package/dist/_internal/transport-http/sse.d.ts.map +1 -0
- package/dist/_internal/transport-http/sse.js +18 -0
- package/dist/_internal/transport-http.d.ts +2 -0
- package/dist/_internal/transport-http.d.ts.map +1 -0
- package/dist/_internal/transport-http.js +1 -0
- package/dist/_internal/transport-realtime/domain-events.d.ts +18 -0
- package/dist/_internal/transport-realtime/domain-events.d.ts.map +1 -0
- package/dist/_internal/transport-realtime/domain-events.js +116 -0
- package/dist/_internal/transport-realtime/index.d.ts +6 -0
- package/dist/_internal/transport-realtime/index.d.ts.map +1 -0
- package/dist/_internal/transport-realtime/index.js +2 -0
- package/dist/_internal/transport-realtime/runtime-events.d.ts +20 -0
- package/dist/_internal/transport-realtime/runtime-events.d.ts.map +1 -0
- package/dist/_internal/transport-realtime/runtime-events.js +135 -0
- package/dist/_internal/transport-realtime.d.ts +2 -0
- package/dist/_internal/transport-realtime.d.ts.map +1 -0
- package/dist/_internal/transport-realtime.js +1 -0
- package/dist/auth.d.ts +3 -3
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +1 -1
- package/dist/browser.js +1 -1
- package/dist/client.d.ts +4 -4
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -4
- package/dist/contracts-node.d.ts +2 -0
- package/dist/contracts-node.d.ts.map +1 -0
- package/dist/contracts-node.js +1 -0
- package/dist/contracts.d.ts +2 -0
- package/dist/contracts.d.ts.map +1 -0
- package/dist/contracts.js +1 -0
- package/dist/daemon.d.ts +2 -0
- package/dist/daemon.d.ts.map +1 -0
- package/dist/daemon.js +1 -0
- package/dist/errors.d.ts +2 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +1 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -9
- package/dist/operator.d.ts +2 -0
- package/dist/operator.d.ts.map +1 -0
- package/dist/operator.js +1 -0
- package/dist/peer.d.ts +2 -0
- package/dist/peer.d.ts.map +1 -0
- package/dist/peer.js +1 -0
- package/dist/react-native.d.ts +1 -1
- package/dist/react-native.d.ts.map +1 -1
- package/dist/react-native.js +2 -2
- package/dist/transport-core.d.ts +2 -0
- package/dist/transport-core.d.ts.map +1 -0
- package/dist/transport-core.js +1 -0
- package/dist/transport-direct.d.ts +2 -0
- package/dist/transport-direct.d.ts.map +1 -0
- package/dist/transport-direct.js +1 -0
- package/dist/transport-http.d.ts +2 -0
- package/dist/transport-http.d.ts.map +1 -0
- package/dist/transport-http.js +1 -0
- package/dist/transport-realtime.d.ts +2 -0
- package/dist/transport-realtime.d.ts.map +1 -0
- package/dist/transport-realtime.js +1 -0
- package/package.json +76 -10
|
@@ -0,0 +1,582 @@
|
|
|
1
|
+
import { buildMissingScopeBody, resolvePrivateHostFetchOptions, } from './http-policy.js';
|
|
2
|
+
import { jsonErrorResponse, summarizeErrorForRecord } from './error-response.js';
|
|
3
|
+
export function createDaemonKnowledgeRouteHandlers(context) {
|
|
4
|
+
return {
|
|
5
|
+
getKnowledgeStatus: async () => Response.json(await context.knowledgeService.getStatus()),
|
|
6
|
+
getKnowledgeSources: async (url) => Response.json({ sources: context.knowledgeService.listSources(readLimit(url, 100)) }),
|
|
7
|
+
getKnowledgeNodes: async (url) => Response.json({ nodes: context.knowledgeService.listNodes(readLimit(url, 100)) }),
|
|
8
|
+
getKnowledgeIssues: async (url) => Response.json({ issues: context.knowledgeService.listIssues(readLimit(url, 100)) }),
|
|
9
|
+
getKnowledgeItem: (id) => {
|
|
10
|
+
const item = context.knowledgeService.getItem(id);
|
|
11
|
+
return item
|
|
12
|
+
? Response.json(item)
|
|
13
|
+
: Response.json({ error: 'Unknown knowledge item' }, { status: 404 });
|
|
14
|
+
},
|
|
15
|
+
getKnowledgeConnectors: () => Response.json({ connectors: context.knowledgeService.listConnectors() }),
|
|
16
|
+
getKnowledgeConnector: (id) => {
|
|
17
|
+
const connector = context.knowledgeService.getConnector(id);
|
|
18
|
+
return connector
|
|
19
|
+
? Response.json({ connector })
|
|
20
|
+
: Response.json({ error: 'Unknown knowledge connector' }, { status: 404 });
|
|
21
|
+
},
|
|
22
|
+
getKnowledgeConnectorDoctor: async (id) => {
|
|
23
|
+
const report = await context.knowledgeService.doctorConnector(id);
|
|
24
|
+
return report
|
|
25
|
+
? Response.json({ report })
|
|
26
|
+
: Response.json({ error: 'Unknown knowledge connector' }, { status: 404 });
|
|
27
|
+
},
|
|
28
|
+
getKnowledgeProjectionTargets: async (url) => Response.json({ targets: await context.knowledgeService.listProjectionTargets(readLimit(url, 25)) }),
|
|
29
|
+
getKnowledgeGraphqlSchema: () => Response.json({
|
|
30
|
+
language: 'graphql',
|
|
31
|
+
domain: 'knowledge',
|
|
32
|
+
schema: context.knowledgeGraphqlService.schemaText,
|
|
33
|
+
}),
|
|
34
|
+
getKnowledgeExtractions: async (url) => {
|
|
35
|
+
const sourceId = url.searchParams.get('sourceId') ?? undefined;
|
|
36
|
+
return Response.json({ extractions: context.knowledgeService.listExtractions(readLimit(url, 100), sourceId) });
|
|
37
|
+
},
|
|
38
|
+
getKnowledgeUsage: async (url) => {
|
|
39
|
+
const targetKind = url.searchParams.get('targetKind') ?? undefined;
|
|
40
|
+
const targetId = url.searchParams.get('targetId') ?? undefined;
|
|
41
|
+
const usageKind = url.searchParams.get('usageKind') ?? undefined;
|
|
42
|
+
return Response.json({
|
|
43
|
+
usage: context.knowledgeService.listUsageRecords(readLimit(url, 100), {
|
|
44
|
+
...(targetKind ? { targetKind: targetKind } : {}),
|
|
45
|
+
...(targetId ? { targetId } : {}),
|
|
46
|
+
...(usageKind ? { usageKind: usageKind } : {}),
|
|
47
|
+
}),
|
|
48
|
+
});
|
|
49
|
+
},
|
|
50
|
+
getKnowledgeCandidates: async (url) => {
|
|
51
|
+
const status = url.searchParams.get('status') ?? undefined;
|
|
52
|
+
const subjectKind = url.searchParams.get('subjectKind') ?? undefined;
|
|
53
|
+
const subjectId = url.searchParams.get('subjectId') ?? undefined;
|
|
54
|
+
return Response.json({
|
|
55
|
+
candidates: context.knowledgeService.listConsolidationCandidates(readLimit(url, 100), {
|
|
56
|
+
...(status ? { status: status } : {}),
|
|
57
|
+
...(subjectKind ? { subjectKind: subjectKind } : {}),
|
|
58
|
+
...(subjectId ? { subjectId } : {}),
|
|
59
|
+
}),
|
|
60
|
+
});
|
|
61
|
+
},
|
|
62
|
+
getKnowledgeCandidate: (id) => {
|
|
63
|
+
const candidate = context.knowledgeService.getConsolidationCandidate(id);
|
|
64
|
+
return candidate
|
|
65
|
+
? Response.json({ candidate })
|
|
66
|
+
: Response.json({ error: 'Unknown knowledge consolidation candidate' }, { status: 404 });
|
|
67
|
+
},
|
|
68
|
+
getKnowledgeReports: async (url) => Response.json({ reports: context.knowledgeService.listConsolidationReports(readLimit(url, 100)) }),
|
|
69
|
+
getKnowledgeReport: (id) => {
|
|
70
|
+
const report = context.knowledgeService.getConsolidationReport(id);
|
|
71
|
+
return report
|
|
72
|
+
? Response.json({ report })
|
|
73
|
+
: Response.json({ error: 'Unknown knowledge consolidation report' }, { status: 404 });
|
|
74
|
+
},
|
|
75
|
+
getKnowledgeExtraction: (id) => {
|
|
76
|
+
const extraction = context.knowledgeService.getExtraction(id);
|
|
77
|
+
return extraction
|
|
78
|
+
? Response.json({ extraction })
|
|
79
|
+
: Response.json({ error: 'Unknown knowledge extraction' }, { status: 404 });
|
|
80
|
+
},
|
|
81
|
+
getKnowledgeSourceExtraction: (id) => {
|
|
82
|
+
const extraction = context.knowledgeService.getSourceExtraction(id);
|
|
83
|
+
return extraction
|
|
84
|
+
? Response.json({ extraction })
|
|
85
|
+
: Response.json({ error: 'Unknown source extraction' }, { status: 404 });
|
|
86
|
+
},
|
|
87
|
+
getKnowledgeJobs: () => Response.json({ jobs: context.knowledgeService.listJobs() }),
|
|
88
|
+
getKnowledgeJob: (jobId) => {
|
|
89
|
+
const job = context.knowledgeService.getJob(jobId);
|
|
90
|
+
return job
|
|
91
|
+
? Response.json({ job })
|
|
92
|
+
: Response.json({ error: 'Unknown knowledge job' }, { status: 404 });
|
|
93
|
+
},
|
|
94
|
+
getKnowledgeJobRuns: (url) => {
|
|
95
|
+
const jobId = url.searchParams.get('jobId') ?? undefined;
|
|
96
|
+
return Response.json({ runs: context.knowledgeService.listJobRuns(readLimit(url, 25), jobId) });
|
|
97
|
+
},
|
|
98
|
+
getKnowledgeSchedules: (url) => Response.json({ schedules: context.knowledgeService.listSchedules(readLimit(url, 100)) }),
|
|
99
|
+
getKnowledgeSchedule: (id) => {
|
|
100
|
+
const schedule = context.knowledgeService.getSchedule(id);
|
|
101
|
+
return schedule
|
|
102
|
+
? Response.json({ schedule })
|
|
103
|
+
: Response.json({ error: 'Unknown knowledge schedule' }, { status: 404 });
|
|
104
|
+
},
|
|
105
|
+
postKnowledgeIngestUrl: async (request) => handleKnowledgeIngestUrl(context, request),
|
|
106
|
+
postKnowledgeIngestArtifact: async (request) => handleKnowledgeIngestArtifact(context, request),
|
|
107
|
+
postKnowledgeImportBookmarks: async (request) => handleKnowledgeImportBookmarks(context, request),
|
|
108
|
+
postKnowledgeImportUrls: async (request) => handleKnowledgeImportUrls(context, request),
|
|
109
|
+
postKnowledgeIngestConnector: async (request) => handleKnowledgeIngestConnector(context, request),
|
|
110
|
+
postKnowledgeSearch: async (request) => handleKnowledgeSearch(context, request),
|
|
111
|
+
postKnowledgePacket: async (request) => handleKnowledgePacket(context, request),
|
|
112
|
+
postKnowledgeDecideCandidate: async (id, request) => handleKnowledgeDecideCandidate(context, id, request),
|
|
113
|
+
postKnowledgeRunJob: async (jobId, request) => handleKnowledgeRunJob(context, jobId, request),
|
|
114
|
+
postKnowledgeLint: async (request) => {
|
|
115
|
+
const admin = context.requireAdmin(request);
|
|
116
|
+
if (admin)
|
|
117
|
+
return admin;
|
|
118
|
+
return Response.json({ issues: await context.knowledgeService.lint() });
|
|
119
|
+
},
|
|
120
|
+
postKnowledgeReindex: async (request) => {
|
|
121
|
+
const admin = context.requireAdmin(request);
|
|
122
|
+
if (admin)
|
|
123
|
+
return admin;
|
|
124
|
+
return Response.json(await context.knowledgeService.reindex());
|
|
125
|
+
},
|
|
126
|
+
postKnowledgeSaveSchedule: async (request) => handleKnowledgeSaveSchedule(context, request),
|
|
127
|
+
deleteKnowledgeSchedule: async (id, request) => {
|
|
128
|
+
const admin = context.requireAdmin(request);
|
|
129
|
+
if (admin)
|
|
130
|
+
return admin;
|
|
131
|
+
const deleted = await context.knowledgeService.deleteSchedule(id);
|
|
132
|
+
return deleted
|
|
133
|
+
? Response.json({ deleted: true })
|
|
134
|
+
: Response.json({ error: 'Unknown knowledge schedule' }, { status: 404 });
|
|
135
|
+
},
|
|
136
|
+
postKnowledgeSetScheduleEnabled: async (id, request) => handleKnowledgeSetScheduleEnabled(context, id, request),
|
|
137
|
+
postKnowledgeRenderProjection: async (request) => handleKnowledgeRenderProjection(context, request),
|
|
138
|
+
postKnowledgeMaterializeProjection: async (request) => handleKnowledgeMaterializeProjection(context, request),
|
|
139
|
+
executeKnowledgeGraphql: async (request) => handleKnowledgeGraphql(context, request),
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
function readLimit(url, fallback) {
|
|
143
|
+
return Math.max(1, Number(url.searchParams.get('limit') ?? fallback) || fallback);
|
|
144
|
+
}
|
|
145
|
+
function readKnowledgeProjectionRequest(body) {
|
|
146
|
+
const rawKind = typeof body.kind === 'string' ? body.kind.trim().toLowerCase() : '';
|
|
147
|
+
if (rawKind !== 'overview'
|
|
148
|
+
&& rawKind !== 'bundle'
|
|
149
|
+
&& rawKind !== 'source'
|
|
150
|
+
&& rawKind !== 'node'
|
|
151
|
+
&& rawKind !== 'issue') {
|
|
152
|
+
return Response.json({ error: 'Projection kind must be one of overview, bundle, source, node, or issue.' }, { status: 400 });
|
|
153
|
+
}
|
|
154
|
+
const id = typeof body.id === 'string' ? body.id.trim() : '';
|
|
155
|
+
if ((rawKind === 'source' || rawKind === 'node' || rawKind === 'issue') && !id) {
|
|
156
|
+
return Response.json({ error: `Projection kind ${rawKind} requires id.` }, { status: 400 });
|
|
157
|
+
}
|
|
158
|
+
return {
|
|
159
|
+
kind: rawKind,
|
|
160
|
+
...(id ? { id } : {}),
|
|
161
|
+
...(typeof body.limit === 'number' ? { limit: Math.max(1, body.limit) } : {}),
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
function readKnowledgeSchedule(context, value) {
|
|
165
|
+
if (typeof value !== 'object' || value === null) {
|
|
166
|
+
return Response.json({ error: 'Missing schedule object' }, { status: 400 });
|
|
167
|
+
}
|
|
168
|
+
const schedule = value;
|
|
169
|
+
const kind = typeof schedule.kind === 'string' ? schedule.kind.trim().toLowerCase() : '';
|
|
170
|
+
try {
|
|
171
|
+
switch (kind) {
|
|
172
|
+
case 'every':
|
|
173
|
+
if (typeof schedule.intervalMs === 'number') {
|
|
174
|
+
return context.normalizeEverySchedule(schedule.intervalMs, typeof schedule.anchorAt === 'number' ? schedule.anchorAt : undefined);
|
|
175
|
+
}
|
|
176
|
+
if (typeof schedule.interval === 'string') {
|
|
177
|
+
return context.normalizeEverySchedule(schedule.interval, typeof schedule.anchorAt === 'number' ? schedule.anchorAt : undefined);
|
|
178
|
+
}
|
|
179
|
+
throw new Error('Every schedule requires intervalMs or interval.');
|
|
180
|
+
case 'cron':
|
|
181
|
+
if (typeof schedule.expression !== 'string' || !schedule.expression.trim()) {
|
|
182
|
+
throw new Error('Cron schedule requires expression.');
|
|
183
|
+
}
|
|
184
|
+
return context.normalizeCronSchedule(schedule.expression, typeof schedule.timezone === 'string' ? schedule.timezone : undefined, schedule.staggerMs);
|
|
185
|
+
case 'at':
|
|
186
|
+
if (typeof schedule.at !== 'number')
|
|
187
|
+
throw new Error('At schedule requires at.');
|
|
188
|
+
return context.normalizeAtSchedule(schedule.at);
|
|
189
|
+
default:
|
|
190
|
+
throw new Error('Schedule kind must be at, every, or cron.');
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
catch (error) {
|
|
194
|
+
return jsonErrorResponse(error, { status: 400 });
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
function readGraphqlVariables(value, parseJsonText) {
|
|
198
|
+
if (value === undefined || value === null || value === '')
|
|
199
|
+
return undefined;
|
|
200
|
+
if (typeof value === 'string') {
|
|
201
|
+
const parsed = parseJsonText(value);
|
|
202
|
+
if (parsed instanceof Response)
|
|
203
|
+
return parsed;
|
|
204
|
+
return parsed;
|
|
205
|
+
}
|
|
206
|
+
if (typeof value === 'object') {
|
|
207
|
+
return value;
|
|
208
|
+
}
|
|
209
|
+
return Response.json({ error: 'GraphQL variables must be an object or JSON string.' }, { status: 400 });
|
|
210
|
+
}
|
|
211
|
+
async function parseKnowledgeGraphqlRequest(context, req) {
|
|
212
|
+
if (req.method === 'GET') {
|
|
213
|
+
const url = new URL(req.url);
|
|
214
|
+
const query = url.searchParams.get('query')?.trim() ?? '';
|
|
215
|
+
if (!query)
|
|
216
|
+
return Response.json({ error: 'Missing query' }, { status: 400 });
|
|
217
|
+
const variables = readGraphqlVariables(url.searchParams.get('variables'), context.parseJsonText);
|
|
218
|
+
if (variables instanceof Response)
|
|
219
|
+
return variables;
|
|
220
|
+
const operationName = url.searchParams.get('operationName')?.trim();
|
|
221
|
+
return {
|
|
222
|
+
query,
|
|
223
|
+
...(operationName ? { operationName } : {}),
|
|
224
|
+
...(variables ? { variables } : {}),
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
const contentType = req.headers.get('content-type')?.toLowerCase() ?? '';
|
|
228
|
+
if (contentType.startsWith('application/graphql')) {
|
|
229
|
+
const query = (await req.text()).trim();
|
|
230
|
+
return query
|
|
231
|
+
? { query }
|
|
232
|
+
: Response.json({ error: 'Missing query' }, { status: 400 });
|
|
233
|
+
}
|
|
234
|
+
const body = await context.parseOptionalJsonBody(req);
|
|
235
|
+
if (body instanceof Response)
|
|
236
|
+
return body;
|
|
237
|
+
if (!body)
|
|
238
|
+
return Response.json({ error: 'Missing query' }, { status: 400 });
|
|
239
|
+
const query = typeof body.query === 'string' ? body.query.trim() : '';
|
|
240
|
+
if (!query)
|
|
241
|
+
return Response.json({ error: 'Missing query' }, { status: 400 });
|
|
242
|
+
const variables = readGraphqlVariables(body.variables, context.parseJsonText);
|
|
243
|
+
if (variables instanceof Response)
|
|
244
|
+
return variables;
|
|
245
|
+
const operationName = typeof body.operationName === 'string' ? body.operationName.trim() : '';
|
|
246
|
+
return {
|
|
247
|
+
query,
|
|
248
|
+
...(operationName ? { operationName } : {}),
|
|
249
|
+
...(variables ? { variables } : {}),
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
async function handleKnowledgeGraphql(context, req) {
|
|
253
|
+
const parsed = await parseKnowledgeGraphqlRequest(context, req);
|
|
254
|
+
if (parsed instanceof Response)
|
|
255
|
+
return parsed;
|
|
256
|
+
if (req.method === 'GET' && /\bmutation\b/.test(parsed.query)) {
|
|
257
|
+
return Response.json({ error: 'GraphQL mutations must use POST.' }, { status: 405 });
|
|
258
|
+
}
|
|
259
|
+
const principal = context.resolveAuthenticatedPrincipal(req);
|
|
260
|
+
if (!principal) {
|
|
261
|
+
return Response.json({ error: 'Unauthorized' }, { status: 401 });
|
|
262
|
+
}
|
|
263
|
+
let access;
|
|
264
|
+
try {
|
|
265
|
+
access = context.inspectGraphqlAccess(parsed.query, parsed.operationName);
|
|
266
|
+
}
|
|
267
|
+
catch (error) {
|
|
268
|
+
return jsonErrorResponse(error, { status: 400 });
|
|
269
|
+
}
|
|
270
|
+
const scopeDenied = buildMissingScopeBody('knowledge GraphQL operation', access.requiredScopes, principal.scopes);
|
|
271
|
+
if (scopeDenied) {
|
|
272
|
+
return Response.json(scopeDenied, { status: 403 });
|
|
273
|
+
}
|
|
274
|
+
if (access.adminRequired && !principal.admin) {
|
|
275
|
+
return Response.json({ error: 'Knowledge GraphQL mutation requires admin access.' }, { status: 403 });
|
|
276
|
+
}
|
|
277
|
+
const result = await context.knowledgeGraphqlService.execute({
|
|
278
|
+
query: parsed.query,
|
|
279
|
+
...(parsed.operationName ? { operationName: parsed.operationName } : {}),
|
|
280
|
+
...(parsed.variables ? { variables: parsed.variables } : {}),
|
|
281
|
+
admin: principal.admin,
|
|
282
|
+
scopes: principal.scopes,
|
|
283
|
+
});
|
|
284
|
+
const status = result.errors?.length && !result.data ? 400 : 200;
|
|
285
|
+
return Response.json(result, { status });
|
|
286
|
+
}
|
|
287
|
+
function buildKnowledgePrivateHostFetchOptions(context, requested) {
|
|
288
|
+
return resolvePrivateHostFetchOptions(requested, {
|
|
289
|
+
configManager: context.configManager,
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
async function handleKnowledgeIngestUrl(context, request) {
|
|
293
|
+
const admin = context.requireAdmin(request);
|
|
294
|
+
if (admin)
|
|
295
|
+
return admin;
|
|
296
|
+
const body = await context.parseJsonBody(request);
|
|
297
|
+
if (body instanceof Response)
|
|
298
|
+
return body;
|
|
299
|
+
const url = typeof body.url === 'string' ? body.url.trim() : '';
|
|
300
|
+
if (!url)
|
|
301
|
+
return Response.json({ error: 'Missing url' }, { status: 400 });
|
|
302
|
+
const privateHostFetchOptions = buildKnowledgePrivateHostFetchOptions(context, body.allowPrivateHosts);
|
|
303
|
+
if (privateHostFetchOptions instanceof Response)
|
|
304
|
+
return privateHostFetchOptions;
|
|
305
|
+
try {
|
|
306
|
+
return Response.json(await context.knowledgeService.ingestUrl({
|
|
307
|
+
url,
|
|
308
|
+
...(typeof body.title === 'string' ? { title: body.title } : {}),
|
|
309
|
+
...(typeof body.folderPath === 'string' ? { folderPath: body.folderPath } : {}),
|
|
310
|
+
...(Array.isArray(body.tags) ? { tags: body.tags.filter((entry) => typeof entry === 'string') } : {}),
|
|
311
|
+
...(typeof body.sessionId === 'string' ? { sessionId: body.sessionId } : {}),
|
|
312
|
+
...(typeof body.sourceType === 'string' ? { sourceType: body.sourceType } : {}),
|
|
313
|
+
...(typeof body.connectorId === 'string' ? { connectorId: body.connectorId } : {}),
|
|
314
|
+
...privateHostFetchOptions,
|
|
315
|
+
...(typeof body.metadata === 'object' && body.metadata !== null ? { metadata: body.metadata } : {}),
|
|
316
|
+
}), { status: 201 });
|
|
317
|
+
}
|
|
318
|
+
catch (error) {
|
|
319
|
+
return jsonErrorResponse(error, { status: 400 });
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
async function handleKnowledgeIngestArtifact(context, request) {
|
|
323
|
+
const admin = context.requireAdmin(request);
|
|
324
|
+
if (admin)
|
|
325
|
+
return admin;
|
|
326
|
+
const body = await context.parseJsonBody(request);
|
|
327
|
+
if (body instanceof Response)
|
|
328
|
+
return body;
|
|
329
|
+
const privateHostFetchOptions = buildKnowledgePrivateHostFetchOptions(context, body.allowPrivateHosts);
|
|
330
|
+
if (privateHostFetchOptions instanceof Response)
|
|
331
|
+
return privateHostFetchOptions;
|
|
332
|
+
try {
|
|
333
|
+
return Response.json(await context.knowledgeService.ingestArtifact({
|
|
334
|
+
...(typeof body.artifactId === 'string' ? { artifactId: body.artifactId } : {}),
|
|
335
|
+
...(typeof body.path === 'string' ? { path: body.path } : {}),
|
|
336
|
+
...(typeof body.uri === 'string' ? { uri: body.uri } : {}),
|
|
337
|
+
...(typeof body.title === 'string' ? { title: body.title } : {}),
|
|
338
|
+
...(typeof body.folderPath === 'string' ? { folderPath: body.folderPath } : {}),
|
|
339
|
+
...(Array.isArray(body.tags) ? { tags: body.tags.filter((entry) => typeof entry === 'string') } : {}),
|
|
340
|
+
...(typeof body.sessionId === 'string' ? { sessionId: body.sessionId } : {}),
|
|
341
|
+
...(typeof body.sourceType === 'string' ? { sourceType: body.sourceType } : {}),
|
|
342
|
+
...(typeof body.connectorId === 'string' ? { connectorId: body.connectorId } : {}),
|
|
343
|
+
...privateHostFetchOptions,
|
|
344
|
+
...(typeof body.metadata === 'object' && body.metadata !== null ? { metadata: body.metadata } : {}),
|
|
345
|
+
}), { status: 201 });
|
|
346
|
+
}
|
|
347
|
+
catch (error) {
|
|
348
|
+
return jsonErrorResponse(error, { status: 400 });
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
async function handleKnowledgeImportBookmarks(context, request) {
|
|
352
|
+
const admin = context.requireAdmin(request);
|
|
353
|
+
if (admin)
|
|
354
|
+
return admin;
|
|
355
|
+
const body = await context.parseJsonBody(request);
|
|
356
|
+
if (body instanceof Response)
|
|
357
|
+
return body;
|
|
358
|
+
const path = typeof body.path === 'string' ? body.path.trim() : '';
|
|
359
|
+
if (!path)
|
|
360
|
+
return Response.json({ error: 'Missing path' }, { status: 400 });
|
|
361
|
+
const privateHostFetchOptions = buildKnowledgePrivateHostFetchOptions(context, body.allowPrivateHosts);
|
|
362
|
+
if (privateHostFetchOptions instanceof Response)
|
|
363
|
+
return privateHostFetchOptions;
|
|
364
|
+
try {
|
|
365
|
+
return Response.json(await context.knowledgeService.importBookmarksFromFile({
|
|
366
|
+
path,
|
|
367
|
+
...(typeof body.sessionId === 'string' ? { sessionId: body.sessionId } : {}),
|
|
368
|
+
...privateHostFetchOptions,
|
|
369
|
+
}), { status: 201 });
|
|
370
|
+
}
|
|
371
|
+
catch (error) {
|
|
372
|
+
return jsonErrorResponse(error, { status: 400 });
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
async function handleKnowledgeImportUrls(context, request) {
|
|
376
|
+
const admin = context.requireAdmin(request);
|
|
377
|
+
if (admin)
|
|
378
|
+
return admin;
|
|
379
|
+
const body = await context.parseJsonBody(request);
|
|
380
|
+
if (body instanceof Response)
|
|
381
|
+
return body;
|
|
382
|
+
const path = typeof body.path === 'string' ? body.path.trim() : '';
|
|
383
|
+
if (!path)
|
|
384
|
+
return Response.json({ error: 'Missing path' }, { status: 400 });
|
|
385
|
+
const privateHostFetchOptions = buildKnowledgePrivateHostFetchOptions(context, body.allowPrivateHosts);
|
|
386
|
+
if (privateHostFetchOptions instanceof Response)
|
|
387
|
+
return privateHostFetchOptions;
|
|
388
|
+
try {
|
|
389
|
+
return Response.json(await context.knowledgeService.importUrlsFromFile({
|
|
390
|
+
path,
|
|
391
|
+
...(typeof body.sessionId === 'string' ? { sessionId: body.sessionId } : {}),
|
|
392
|
+
...privateHostFetchOptions,
|
|
393
|
+
}), { status: 201 });
|
|
394
|
+
}
|
|
395
|
+
catch (error) {
|
|
396
|
+
return jsonErrorResponse(error, { status: 400 });
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
async function handleKnowledgeIngestConnector(context, request) {
|
|
400
|
+
const admin = context.requireAdmin(request);
|
|
401
|
+
if (admin)
|
|
402
|
+
return admin;
|
|
403
|
+
const body = await context.parseJsonBody(request);
|
|
404
|
+
if (body instanceof Response)
|
|
405
|
+
return body;
|
|
406
|
+
const connectorId = typeof body.connectorId === 'string' ? body.connectorId.trim() : '';
|
|
407
|
+
if (!connectorId)
|
|
408
|
+
return Response.json({ error: 'Missing connectorId' }, { status: 400 });
|
|
409
|
+
const privateHostFetchOptions = buildKnowledgePrivateHostFetchOptions(context, body.allowPrivateHosts);
|
|
410
|
+
if (privateHostFetchOptions instanceof Response)
|
|
411
|
+
return privateHostFetchOptions;
|
|
412
|
+
try {
|
|
413
|
+
return Response.json(await context.knowledgeService.ingestConnectorInput({
|
|
414
|
+
connectorId,
|
|
415
|
+
...(Object.hasOwn(body, 'input') ? { input: body.input } : {}),
|
|
416
|
+
...(typeof body.content === 'string' ? { content: body.content } : {}),
|
|
417
|
+
...(typeof body.path === 'string' ? { path: body.path } : {}),
|
|
418
|
+
...(typeof body.sessionId === 'string' ? { sessionId: body.sessionId } : {}),
|
|
419
|
+
...privateHostFetchOptions,
|
|
420
|
+
}), { status: 201 });
|
|
421
|
+
}
|
|
422
|
+
catch (error) {
|
|
423
|
+
return jsonErrorResponse(error, { status: 400 });
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
async function handleKnowledgeSearch(context, request) {
|
|
427
|
+
const body = await context.parseJsonBody(request);
|
|
428
|
+
if (body instanceof Response)
|
|
429
|
+
return body;
|
|
430
|
+
const query = typeof body.query === 'string' ? body.query.trim() : '';
|
|
431
|
+
if (!query)
|
|
432
|
+
return Response.json({ error: 'Missing query' }, { status: 400 });
|
|
433
|
+
const limit = typeof body.limit === 'number' ? body.limit : 10;
|
|
434
|
+
return Response.json({ results: context.knowledgeService.search(query, limit) });
|
|
435
|
+
}
|
|
436
|
+
async function handleKnowledgePacket(context, request) {
|
|
437
|
+
const body = await context.parseJsonBody(request);
|
|
438
|
+
if (body instanceof Response)
|
|
439
|
+
return body;
|
|
440
|
+
const task = typeof body.task === 'string' ? body.task.trim() : '';
|
|
441
|
+
if (!task)
|
|
442
|
+
return Response.json({ error: 'Missing task' }, { status: 400 });
|
|
443
|
+
const writeScope = Array.isArray(body.writeScope) ? body.writeScope.filter((entry) => typeof entry === 'string') : [];
|
|
444
|
+
const limit = typeof body.limit === 'number' ? body.limit : 6;
|
|
445
|
+
const detail = typeof body.detail === 'string'
|
|
446
|
+
? body.detail.toLowerCase()
|
|
447
|
+
: undefined;
|
|
448
|
+
const budgetLimit = typeof body.budgetLimit === 'number' ? body.budgetLimit : undefined;
|
|
449
|
+
return Response.json(await context.knowledgeService.buildPacket(task, writeScope, limit, {
|
|
450
|
+
...(detail ? { detail } : {}),
|
|
451
|
+
...(typeof budgetLimit === 'number' ? { budgetLimit } : {}),
|
|
452
|
+
}));
|
|
453
|
+
}
|
|
454
|
+
async function handleKnowledgeDecideCandidate(context, id, request) {
|
|
455
|
+
const admin = context.requireAdmin(request);
|
|
456
|
+
if (admin)
|
|
457
|
+
return admin;
|
|
458
|
+
const body = await context.parseJsonBody(request);
|
|
459
|
+
if (body instanceof Response)
|
|
460
|
+
return body;
|
|
461
|
+
const decision = typeof body.decision === 'string' ? body.decision.trim().toLowerCase() : '';
|
|
462
|
+
if (decision !== 'accept' && decision !== 'reject' && decision !== 'supersede') {
|
|
463
|
+
return Response.json({ error: 'Decision must be accept, reject, or supersede.' }, { status: 400 });
|
|
464
|
+
}
|
|
465
|
+
try {
|
|
466
|
+
return Response.json({
|
|
467
|
+
candidate: await context.knowledgeService.decideConsolidationCandidate(id, decision, {
|
|
468
|
+
...(typeof body.decidedBy === 'string' ? { decidedBy: body.decidedBy } : {}),
|
|
469
|
+
...(typeof body.memoryClass === 'string' ? { memoryClass: body.memoryClass } : {}),
|
|
470
|
+
...(typeof body.scope === 'string' ? { scope: body.scope } : {}),
|
|
471
|
+
...(typeof body.detail === 'string' ? { detail: body.detail } : {}),
|
|
472
|
+
}),
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
catch (error) {
|
|
476
|
+
const message = summarizeErrorForRecord(error);
|
|
477
|
+
return jsonErrorResponse(error, {
|
|
478
|
+
status: message.startsWith('Unknown knowledge consolidation candidate:') ? 404 : 400,
|
|
479
|
+
});
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
async function handleKnowledgeRunJob(context, jobId, request) {
|
|
483
|
+
const admin = context.requireAdmin(request);
|
|
484
|
+
if (admin)
|
|
485
|
+
return admin;
|
|
486
|
+
const body = await context.parseJsonBody(request);
|
|
487
|
+
if (body instanceof Response)
|
|
488
|
+
return body;
|
|
489
|
+
try {
|
|
490
|
+
return Response.json({
|
|
491
|
+
run: await context.knowledgeService.runJob(jobId, {
|
|
492
|
+
...(typeof body.mode === 'string' ? { mode: body.mode.toLowerCase() } : {}),
|
|
493
|
+
...(Array.isArray(body.sourceIds) ? { sourceIds: body.sourceIds.filter((entry) => typeof entry === 'string') } : {}),
|
|
494
|
+
...(typeof body.limit === 'number' ? { limit: body.limit } : {}),
|
|
495
|
+
}),
|
|
496
|
+
});
|
|
497
|
+
}
|
|
498
|
+
catch (error) {
|
|
499
|
+
const message = summarizeErrorForRecord(error);
|
|
500
|
+
return jsonErrorResponse(error, {
|
|
501
|
+
status: message.startsWith('Unknown knowledge job:') ? 404 : 400,
|
|
502
|
+
});
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
async function handleKnowledgeSaveSchedule(context, request) {
|
|
506
|
+
const admin = context.requireAdmin(request);
|
|
507
|
+
if (admin)
|
|
508
|
+
return admin;
|
|
509
|
+
const body = await context.parseJsonBody(request);
|
|
510
|
+
if (body instanceof Response)
|
|
511
|
+
return body;
|
|
512
|
+
const jobId = typeof body.jobId === 'string' ? body.jobId.trim() : '';
|
|
513
|
+
if (!jobId)
|
|
514
|
+
return Response.json({ error: 'Missing jobId' }, { status: 400 });
|
|
515
|
+
const schedule = readKnowledgeSchedule(context, body.schedule);
|
|
516
|
+
if (schedule instanceof Response)
|
|
517
|
+
return schedule;
|
|
518
|
+
try {
|
|
519
|
+
return Response.json({
|
|
520
|
+
schedule: await context.knowledgeService.saveSchedule({
|
|
521
|
+
...(typeof body.id === 'string' ? { id: body.id } : {}),
|
|
522
|
+
jobId,
|
|
523
|
+
schedule,
|
|
524
|
+
...(typeof body.label === 'string' ? { label: body.label } : {}),
|
|
525
|
+
...(typeof body.enabled === 'boolean' ? { enabled: body.enabled } : {}),
|
|
526
|
+
...(typeof body.metadata === 'object' && body.metadata !== null ? { metadata: body.metadata } : {}),
|
|
527
|
+
}),
|
|
528
|
+
}, { status: 201 });
|
|
529
|
+
}
|
|
530
|
+
catch (error) {
|
|
531
|
+
return jsonErrorResponse(error, { status: 400 });
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
async function handleKnowledgeSetScheduleEnabled(context, id, request) {
|
|
535
|
+
const admin = context.requireAdmin(request);
|
|
536
|
+
if (admin)
|
|
537
|
+
return admin;
|
|
538
|
+
const body = await context.parseJsonBody(request);
|
|
539
|
+
if (body instanceof Response)
|
|
540
|
+
return body;
|
|
541
|
+
if (typeof body.enabled !== 'boolean') {
|
|
542
|
+
return Response.json({ error: 'Missing enabled boolean' }, { status: 400 });
|
|
543
|
+
}
|
|
544
|
+
const schedule = await context.knowledgeService.setScheduleEnabled(id, body.enabled);
|
|
545
|
+
return schedule
|
|
546
|
+
? Response.json({ schedule })
|
|
547
|
+
: Response.json({ error: 'Unknown knowledge schedule' }, { status: 404 });
|
|
548
|
+
}
|
|
549
|
+
async function handleKnowledgeRenderProjection(context, request) {
|
|
550
|
+
const body = await context.parseJsonBody(request);
|
|
551
|
+
if (body instanceof Response)
|
|
552
|
+
return body;
|
|
553
|
+
const parsed = readKnowledgeProjectionRequest(body);
|
|
554
|
+
if (parsed instanceof Response)
|
|
555
|
+
return parsed;
|
|
556
|
+
try {
|
|
557
|
+
return Response.json(await context.knowledgeService.renderProjection(parsed));
|
|
558
|
+
}
|
|
559
|
+
catch (error) {
|
|
560
|
+
return jsonErrorResponse(error, { status: 400 });
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
async function handleKnowledgeMaterializeProjection(context, request) {
|
|
564
|
+
const admin = context.requireAdmin(request);
|
|
565
|
+
if (admin)
|
|
566
|
+
return admin;
|
|
567
|
+
const body = await context.parseJsonBody(request);
|
|
568
|
+
if (body instanceof Response)
|
|
569
|
+
return body;
|
|
570
|
+
const parsed = readKnowledgeProjectionRequest(body);
|
|
571
|
+
if (parsed instanceof Response)
|
|
572
|
+
return parsed;
|
|
573
|
+
try {
|
|
574
|
+
return Response.json(await context.knowledgeService.materializeProjection({
|
|
575
|
+
...parsed,
|
|
576
|
+
...(typeof body.filename === 'string' ? { filename: body.filename } : {}),
|
|
577
|
+
}), { status: 201 });
|
|
578
|
+
}
|
|
579
|
+
catch (error) {
|
|
580
|
+
return jsonErrorResponse(error, { status: 400 });
|
|
581
|
+
}
|
|
582
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export type ArtifactKind = string;
|
|
2
|
+
export type FetchExtractMode = string;
|
|
3
|
+
export type MediaArtifact = Record<string, unknown>;
|
|
4
|
+
export type MultimodalAnalysisResult = unknown;
|
|
5
|
+
export type MultimodalDetail = string;
|
|
6
|
+
export type VoiceAudioArtifact = Record<string, unknown>;
|
|
7
|
+
export type WebSearchSafeSearch = string;
|
|
8
|
+
export type WebSearchTimeRange = string;
|
|
9
|
+
export type WebSearchVerbosity = string;
|
|
10
|
+
export interface ConfigManagerLike {
|
|
11
|
+
get(key: string): unknown;
|
|
12
|
+
}
|
|
13
|
+
export interface VoiceServiceLike {
|
|
14
|
+
getStatus(enabled: boolean): Promise<{
|
|
15
|
+
providers: readonly unknown[];
|
|
16
|
+
}>;
|
|
17
|
+
listVoices(providerId?: string): Promise<readonly unknown[]>;
|
|
18
|
+
synthesize(providerId: string | undefined, input: Record<string, unknown>): Promise<unknown>;
|
|
19
|
+
transcribe(providerId: string | undefined, input: Record<string, unknown>): Promise<unknown>;
|
|
20
|
+
openRealtimeSession(providerId: string | undefined, input: Record<string, unknown>): Promise<unknown>;
|
|
21
|
+
}
|
|
22
|
+
export interface WebSearchServiceLike {
|
|
23
|
+
getStatus(): Promise<{
|
|
24
|
+
providers: readonly unknown[];
|
|
25
|
+
}>;
|
|
26
|
+
search(input: Record<string, unknown>): Promise<unknown>;
|
|
27
|
+
}
|
|
28
|
+
export interface ArtifactStoreLike {
|
|
29
|
+
list(): readonly unknown[];
|
|
30
|
+
create(input: Record<string, unknown>): Promise<unknown>;
|
|
31
|
+
get(artifactId: string): unknown | null;
|
|
32
|
+
readContent(artifactId: string): Promise<{
|
|
33
|
+
readonly record: {
|
|
34
|
+
readonly mimeType: string;
|
|
35
|
+
readonly filename?: string;
|
|
36
|
+
};
|
|
37
|
+
readonly buffer: ArrayBuffer | Uint8Array;
|
|
38
|
+
}>;
|
|
39
|
+
}
|
|
40
|
+
export interface MediaProviderLike {
|
|
41
|
+
analyze?(input: Record<string, unknown>): Promise<unknown>;
|
|
42
|
+
transform?(input: Record<string, unknown>): Promise<unknown>;
|
|
43
|
+
generate?(input: Record<string, unknown>): Promise<unknown>;
|
|
44
|
+
}
|
|
45
|
+
export interface MediaProviderRegistryLike {
|
|
46
|
+
status(): Promise<unknown>;
|
|
47
|
+
findProvider(capability: 'understand' | 'transform' | 'generate', providerId?: string): MediaProviderLike | null;
|
|
48
|
+
}
|
|
49
|
+
export interface MultimodalServiceLike {
|
|
50
|
+
getStatus(): Promise<unknown>;
|
|
51
|
+
listProviders(): Promise<readonly unknown[]>;
|
|
52
|
+
analyze(input: Record<string, unknown>): Promise<MultimodalAnalysisResult>;
|
|
53
|
+
buildPacket(analysis: MultimodalAnalysisResult, detail: MultimodalDetail, budgetLimit?: number): unknown;
|
|
54
|
+
writeBackAnalysis(analysis: MultimodalAnalysisResult, input: Record<string, unknown>): Promise<unknown>;
|
|
55
|
+
}
|
|
56
|
+
export interface DaemonMediaRouteContext {
|
|
57
|
+
readonly artifactStore: ArtifactStoreLike;
|
|
58
|
+
readonly configManager: ConfigManagerLike;
|
|
59
|
+
readonly mediaProviders: MediaProviderRegistryLike;
|
|
60
|
+
readonly multimodalService: MultimodalServiceLike;
|
|
61
|
+
readonly parseJsonBody: (req: Request) => Promise<Record<string, unknown> | Response>;
|
|
62
|
+
readonly requireAdmin: (req: Request) => Response | null;
|
|
63
|
+
readonly voiceService: VoiceServiceLike;
|
|
64
|
+
readonly webSearchService: WebSearchServiceLike;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=media-route-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-route-types.d.ts","sourceRoot":"","sources":["../../../src/_internal/daemon/media-route-types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAClC,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AACtC,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACpD,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAAC;AAC/C,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AACtC,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC;AACzC,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC;AACxC,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC;AAExC,MAAM,WAAW,iBAAiB;IAChC,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC;QAAE,SAAS,EAAE,SAAS,OAAO,EAAE,CAAA;KAAE,CAAC,CAAC;IACxE,UAAU,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,OAAO,EAAE,CAAC,CAAC;IAC7D,UAAU,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7F,UAAU,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7F,mBAAmB,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACvG;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,IAAI,OAAO,CAAC;QAAE,SAAS,EAAE,SAAS,OAAO,EAAE,CAAA;KAAE,CAAC,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC1D;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,IAAI,SAAS,OAAO,EAAE,CAAC;IAC3B,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACzD,GAAG,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;IACxC,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC;QACvC,QAAQ,CAAC,MAAM,EAAE;YAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;QAC3E,QAAQ,CAAC,MAAM,EAAE,WAAW,GAAG,UAAU,CAAC;KAC3C,CAAC,CAAC;CACJ;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3D,SAAS,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7D,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAC7D;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3B,YAAY,CACV,UAAU,EAAE,YAAY,GAAG,WAAW,GAAG,UAAU,EACnD,UAAU,CAAC,EAAE,MAAM,GAClB,iBAAiB,GAAG,IAAI,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAC9B,aAAa,IAAI,OAAO,CAAC,SAAS,OAAO,EAAE,CAAC,CAAC;IAC7C,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAC3E,WAAW,CACT,QAAQ,EAAE,wBAAwB,EAClC,MAAM,EAAE,gBAAgB,EACxB,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC;IACX,iBAAiB,CAAC,QAAQ,EAAE,wBAAwB,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACzG;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,aAAa,EAAE,iBAAiB,CAAC;IAC1C,QAAQ,CAAC,aAAa,EAAE,iBAAiB,CAAC;IAC1C,QAAQ,CAAC,cAAc,EAAE,yBAAyB,CAAC;IACnD,QAAQ,CAAC,iBAAiB,EAAE,qBAAqB,CAAC;IAClD,QAAQ,CAAC,aAAa,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,CAAC;IACtF,QAAQ,CAAC,YAAY,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,QAAQ,GAAG,IAAI,CAAC;IACzD,QAAQ,CAAC,YAAY,EAAE,gBAAgB,CAAC;IACxC,QAAQ,CAAC,gBAAgB,EAAE,oBAAoB,CAAC;CACjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { DaemonApiRouteHandlers } from './context.js';
|
|
2
|
+
import type { DaemonMediaRouteContext } from './media-route-types.js';
|
|
3
|
+
export declare function createDaemonMediaRouteHandlers(context: DaemonMediaRouteContext): Pick<DaemonApiRouteHandlers, 'getVoiceStatus' | 'getVoiceProviders' | 'getVoiceVoices' | 'postVoiceTts' | 'postVoiceStt' | 'postVoiceRealtimeSession' | 'getWebSearchProviders' | 'postWebSearch' | 'getArtifacts' | 'postArtifact' | 'getArtifact' | 'getArtifactContent' | 'getMediaProviders' | 'postMediaAnalyze' | 'postMediaTransform' | 'postMediaGenerate' | 'getMultimodalStatus' | 'getMultimodalProviders' | 'postMultimodalAnalyze' | 'postMultimodalPacket' | 'postMultimodalWriteback'>;
|
|
4
|
+
//# sourceMappingURL=media-routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-routes.d.ts","sourceRoot":"","sources":["../../../src/_internal/daemon/media-routes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAG3D,OAAO,KAAK,EAEV,uBAAuB,EASxB,MAAM,wBAAwB,CAAC;AAIhC,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,uBAAuB,GAC/B,IAAI,CACL,sBAAsB,EACpB,gBAAgB,GAChB,mBAAmB,GACnB,gBAAgB,GAChB,cAAc,GACd,cAAc,GACd,0BAA0B,GAC1B,uBAAuB,GACvB,eAAe,GACf,cAAc,GACd,cAAc,GACd,aAAa,GACb,oBAAoB,GACpB,mBAAmB,GACnB,kBAAkB,GAClB,oBAAoB,GACpB,mBAAmB,GACnB,qBAAqB,GACrB,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,yBAAyB,CAC5B,CA+BA"}
|