@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,332 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core types for the layered permission evaluator.
|
|
3
|
+
*
|
|
4
|
+
* These types represent the full evaluation model: modes, decisions, reason
|
|
5
|
+
* codes, classification, policy rules, and per-step evaluation trace.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* The active permission mode controlling how the evaluator applies its layers.
|
|
9
|
+
*
|
|
10
|
+
* - `default` — Standard prompt mode; reads auto-approved.
|
|
11
|
+
* - `plan` — Planning mode; write/execute/network blocked.
|
|
12
|
+
* - `allow-all` — All tools auto-approved (⚠ use with caution).
|
|
13
|
+
* - `custom` — Per-rule policy applies exclusively.
|
|
14
|
+
* - `background-restricted`— Agent/delegate tools blocked; exec restricted.
|
|
15
|
+
* - `remote-restricted` — Network tools blocked; local reads/writes allowed.
|
|
16
|
+
*/
|
|
17
|
+
export type PermissionMode = 'default' | 'plan' | 'allow-all' | 'custom' | 'background-restricted' | 'remote-restricted';
|
|
18
|
+
/**
|
|
19
|
+
* Semantic classification of a tool call, derived from tool name and args.
|
|
20
|
+
*
|
|
21
|
+
* Used by safety checks, mode constraints, and policy rules to reason about
|
|
22
|
+
* what a tool call actually does.
|
|
23
|
+
*/
|
|
24
|
+
export type CommandClassification = 'read' | 'write' | 'network' | 'destructive' | 'escalation';
|
|
25
|
+
/**
|
|
26
|
+
* Canonical reason codes emitted with every PermissionDecision.
|
|
27
|
+
*
|
|
28
|
+
* Prefix conventions:
|
|
29
|
+
* RULE_ — a policy rule matched (allow or deny)
|
|
30
|
+
* PROMPT_ — user was prompted and responded
|
|
31
|
+
* SAFETY_ — bypass-immune safety guardrail fired
|
|
32
|
+
* MODE_ — active permission mode determined the outcome
|
|
33
|
+
* DEFAULT_— fallback default policy
|
|
34
|
+
*/
|
|
35
|
+
export type DecisionReason = 'RULE_ALLOW_USER' | 'RULE_ALLOW_MANAGED' | 'RULE_DENY_MANAGED' | 'RULE_DENY_USER' | 'PROMPT_ALLOW_ONCE' | 'PROMPT_ALLOW_SESSION' | 'PROMPT_DENY' | 'SESSION_CACHED_ALLOW' | 'SESSION_CACHED_DENY' | 'SAFETY_DENY_DESTRUCTIVE_PREFIX' | 'SAFETY_DENY_PATH_ESCAPE' | 'SAFETY_DENY_DANGEROUS_PATTERN' | 'SAFETY_DENY_DANGEROUS_SQL' | 'SAFETY_DENY_GUARDRAIL' | 'MODE_ALLOW_ALL' | 'MODE_DENY_PLAN' | 'MODE_DENY_BACKGROUND' | 'MODE_DENY_REMOTE_RESTRICTED' | 'DEFAULT_ALLOW' | 'DEFAULT_DENY';
|
|
36
|
+
/**
|
|
37
|
+
* Which layer in the evaluation stack produced the final decision.
|
|
38
|
+
* Layers are evaluated in priority order; first match wins.
|
|
39
|
+
*/
|
|
40
|
+
export type SourceLayer = 'safety' | 'mode' | 'session' | 'policy' | 'default';
|
|
41
|
+
/** A single step recorded during evaluation for audit and debugging. */
|
|
42
|
+
export interface EvaluationStep {
|
|
43
|
+
/** Evaluation layer where this step occurred. */
|
|
44
|
+
layer: SourceLayer;
|
|
45
|
+
/** Human-readable description of what was checked. */
|
|
46
|
+
check: string;
|
|
47
|
+
/** Whether this step produced a match (true = this step resolved the decision). */
|
|
48
|
+
matched: boolean;
|
|
49
|
+
/** Optional additional context (rule id, pattern, path matched, etc.). */
|
|
50
|
+
detail?: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* The result of a single permission evaluation. Returned by LayeredPolicyEvaluator.
|
|
54
|
+
*
|
|
55
|
+
* Contains the final allow/deny outcome, the reason code, the source layer,
|
|
56
|
+
* the semantic classification of the tool call, and a full evaluation trace
|
|
57
|
+
* for audit logging and debugging.
|
|
58
|
+
*
|
|
59
|
+
* When the evaluator was configured from a signed policy bundle, the
|
|
60
|
+
* provenance fields `policyBundleId`, `signatureStatus`, and
|
|
61
|
+
* `provenanceSource` are populated from `BundleProvenance` for audit
|
|
62
|
+
* trail and UI display (GC-PERM-011).
|
|
63
|
+
*/
|
|
64
|
+
export interface PermissionDecision {
|
|
65
|
+
/** Whether the tool call is permitted. */
|
|
66
|
+
allowed: boolean;
|
|
67
|
+
/** Primary reason code for the decision. */
|
|
68
|
+
reason: DecisionReason;
|
|
69
|
+
/** Which layer in the evaluation stack produced this decision. */
|
|
70
|
+
sourceLayer: SourceLayer;
|
|
71
|
+
/** The tool being evaluated. */
|
|
72
|
+
toolName: string;
|
|
73
|
+
/** Arguments passed to the tool. */
|
|
74
|
+
args: Record<string, unknown>;
|
|
75
|
+
/** Semantic classification of this tool call (set by the evaluator). */
|
|
76
|
+
classification?: CommandClassification;
|
|
77
|
+
/** Unix epoch milliseconds when the decision was produced. */
|
|
78
|
+
timestamp: number;
|
|
79
|
+
/** Full ordered trace of evaluation steps that led to this decision. */
|
|
80
|
+
evaluationTrace: EvaluationStep[];
|
|
81
|
+
/**
|
|
82
|
+
* Opaque identifier of the policy bundle that provided the rules used
|
|
83
|
+
* for this evaluation. Undefined when no bundle was loaded.
|
|
84
|
+
*/
|
|
85
|
+
policyBundleId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Signature validation status of the bundle at load time.
|
|
88
|
+
* Undefined when no bundle was loaded or when the feature flag is disabled.
|
|
89
|
+
*/
|
|
90
|
+
signatureStatus?: import('./policy-signer.js').SignatureStatus;
|
|
91
|
+
/**
|
|
92
|
+
* Where the policy bundle originated from.
|
|
93
|
+
* Undefined when no bundle was loaded.
|
|
94
|
+
*/
|
|
95
|
+
provenanceSource?: import('./policy-signer.js').ProvenanceSource;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Controls how the permission simulator behaves during evaluation.
|
|
99
|
+
*
|
|
100
|
+
* - `simulation-only` — Both evaluators run; only the actual decision is
|
|
101
|
+
* enforced. Divergence is logged silently.
|
|
102
|
+
* - `warn-on-divergence` — Both evaluators run; actual enforced. Divergence
|
|
103
|
+
* emits a warning to the decision log.
|
|
104
|
+
* - `enforce` — The simulated evaluator becomes the authoritative
|
|
105
|
+
* evaluator. Blocked if the divergence gate fails.
|
|
106
|
+
*/
|
|
107
|
+
export type SimulationMode = 'simulation-only' | 'warn-on-divergence' | 'enforce';
|
|
108
|
+
/**
|
|
109
|
+
* Categorises how two decisions diverged from one another.
|
|
110
|
+
*
|
|
111
|
+
* - `allow-vs-deny` — Actual allowed; simulated denied.
|
|
112
|
+
* - `deny-vs-allow` — Actual denied; simulated allowed.
|
|
113
|
+
* - `reason-mismatch`— Both produced the same allow/deny but with different
|
|
114
|
+
* reason codes or source layers.
|
|
115
|
+
*/
|
|
116
|
+
export type DivergenceType = 'allow-vs-deny' | 'deny-vs-allow' | 'reason-mismatch';
|
|
117
|
+
/**
|
|
118
|
+
* The result of a single simulation evaluation — pairing the actual decision
|
|
119
|
+
* with the simulated decision and describing any observed divergence.
|
|
120
|
+
*/
|
|
121
|
+
export interface SimulationResult {
|
|
122
|
+
/** Decision produced by the actual (authoritative) evaluator. */
|
|
123
|
+
actualDecision: PermissionDecision;
|
|
124
|
+
/** Decision produced by the simulated (candidate) evaluator. */
|
|
125
|
+
simulatedDecision: PermissionDecision;
|
|
126
|
+
/**
|
|
127
|
+
* The decision that should be enforced by the caller.
|
|
128
|
+
*
|
|
129
|
+
* - `simulation-only` and `warn-on-divergence` — equals `actualDecision`.
|
|
130
|
+
* - `enforce` — equals `simulatedDecision` (simulated becomes authoritative).
|
|
131
|
+
*/
|
|
132
|
+
authoritativeDecision: PermissionDecision;
|
|
133
|
+
/** Whether the two decisions diverged in any way. */
|
|
134
|
+
diverged: boolean;
|
|
135
|
+
/** How the decisions diverged; only set when `diverged` is `true`. */
|
|
136
|
+
divergenceType?: DivergenceType;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* A single divergence observation recorded for aggregation.
|
|
140
|
+
*
|
|
141
|
+
* Stored by `PermissionSimulator` and surfaced via `getDivergenceReport()`.
|
|
142
|
+
*/
|
|
143
|
+
export interface DivergenceRecord {
|
|
144
|
+
/** Unix epoch milliseconds when the divergence was recorded. */
|
|
145
|
+
timestamp: number;
|
|
146
|
+
/** Tool name at the time of divergence. */
|
|
147
|
+
toolName: string;
|
|
148
|
+
/** Semantic classification of the tool call. */
|
|
149
|
+
toolClass: CommandClassification;
|
|
150
|
+
/** First token of the command/path/url argument, if present. */
|
|
151
|
+
commandPrefix: string | undefined;
|
|
152
|
+
/** Active simulation mode at the time of divergence. */
|
|
153
|
+
mode: SimulationMode;
|
|
154
|
+
/** How the two decisions diverged. */
|
|
155
|
+
divergenceType: DivergenceType;
|
|
156
|
+
/** Reason from the actual decision. */
|
|
157
|
+
actualReason: DecisionReason;
|
|
158
|
+
/** Reason from the simulated decision. */
|
|
159
|
+
simulatedReason: DecisionReason;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Aggregated statistics for a group of divergence records.
|
|
163
|
+
*/
|
|
164
|
+
export interface DivergenceStats {
|
|
165
|
+
/** Total number of divergences observed. */
|
|
166
|
+
total: number;
|
|
167
|
+
/** Breakdown by divergence type. */
|
|
168
|
+
byType: Record<DivergenceType, number>;
|
|
169
|
+
/** Rate: divergences / total evaluations (0–1). */
|
|
170
|
+
divergenceRate: number;
|
|
171
|
+
/** Total evaluations against which this rate is computed. */
|
|
172
|
+
totalEvaluations: number;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Full report returned by `PermissionSimulator.getDivergenceReport()`.
|
|
176
|
+
*
|
|
177
|
+
* Aggregated statistics broken down by tool class and command prefix.
|
|
178
|
+
*/
|
|
179
|
+
export interface DivergenceReport {
|
|
180
|
+
/** Aggregate statistics across all evaluations. */
|
|
181
|
+
overall: DivergenceStats;
|
|
182
|
+
/** Per-tool-class breakdown (keyed by CommandClassification). */
|
|
183
|
+
byToolClass: Partial<Record<CommandClassification, DivergenceStats>>;
|
|
184
|
+
/** Per-command-prefix breakdown (keyed by prefix string). */
|
|
185
|
+
byCommandPrefix: Record<string, DivergenceStats>;
|
|
186
|
+
/** Per-mode breakdown (keyed by SimulationMode). */
|
|
187
|
+
byMode: Partial<Record<SimulationMode, DivergenceStats>>;
|
|
188
|
+
/** Raw divergence records (capped at internal limit). */
|
|
189
|
+
records: DivergenceRecord[];
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Configuration for `PermissionSimulator`.
|
|
193
|
+
*/
|
|
194
|
+
export interface PermissionSimulatorConfig {
|
|
195
|
+
/**
|
|
196
|
+
* Maximum number of divergence records to retain in memory.
|
|
197
|
+
* Oldest records are evicted when the limit is reached. Defaults to 500.
|
|
198
|
+
*/
|
|
199
|
+
maxDivergenceRecords?: number;
|
|
200
|
+
/**
|
|
201
|
+
* Maximum divergence rate (0–1) allowed before enforcement mode is blocked.
|
|
202
|
+
* Only relevant when `mode` is `'enforce'`.
|
|
203
|
+
* Defaults to 0.05 (5%).
|
|
204
|
+
*/
|
|
205
|
+
divergenceThreshold?: number;
|
|
206
|
+
/**
|
|
207
|
+
* Optional callback invoked when a divergence is detected in `warn-on-divergence` mode.
|
|
208
|
+
*
|
|
209
|
+
* Receives the full `DivergenceRecord` for the diverging evaluation.
|
|
210
|
+
* If omitted, warnings are written to `process.stderr` as a fallback.
|
|
211
|
+
*/
|
|
212
|
+
onWarning?: (record: DivergenceRecord) => void;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Who authored this rule — affects precedence within the policy layer.
|
|
216
|
+
* User rules take precedence over managed (system/plugin) rules.
|
|
217
|
+
*/
|
|
218
|
+
export type RuleOrigin = 'user' | 'managed';
|
|
219
|
+
/** Shared metadata present on every policy rule type. */
|
|
220
|
+
interface BaseRule {
|
|
221
|
+
/** Unique rule identifier (used in trace output and logs). */
|
|
222
|
+
id: string;
|
|
223
|
+
/** Human-readable description of what this rule does. */
|
|
224
|
+
description?: string;
|
|
225
|
+
/** Who authored this rule. */
|
|
226
|
+
origin: RuleOrigin;
|
|
227
|
+
/** Whether the rule grants (allow) or blocks (deny) matching calls. */
|
|
228
|
+
effect: 'allow' | 'deny';
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* PrefixRule — matches tool names and/or command prefixes.
|
|
232
|
+
*
|
|
233
|
+
* Example: deny any exec call whose first argument starts with `rm -rf`.
|
|
234
|
+
*/
|
|
235
|
+
export interface PrefixRule extends BaseRule {
|
|
236
|
+
type: 'prefix';
|
|
237
|
+
/** Tool name(s) this rule applies to. Use `'*'` for any tool. */
|
|
238
|
+
toolPattern: string | string[];
|
|
239
|
+
/**
|
|
240
|
+
* Prefix pattern(s) matched against the first string argument of the call.
|
|
241
|
+
* If omitted, the rule matches any call to the specified tool(s).
|
|
242
|
+
*/
|
|
243
|
+
commandPrefixes?: string[];
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* ArgShapeRule — matches against argument shape/content via predicate.
|
|
247
|
+
*
|
|
248
|
+
* Example: deny calls where args contain `{ force: true }` combined with a
|
|
249
|
+
* destructive tool name.
|
|
250
|
+
*/
|
|
251
|
+
export interface ArgShapeRule extends BaseRule {
|
|
252
|
+
type: 'arg-shape';
|
|
253
|
+
/** Tool name(s) this rule applies to. Use `'*'` for any tool. */
|
|
254
|
+
toolPattern: string | string[];
|
|
255
|
+
/**
|
|
256
|
+
* Key/value pairs that must ALL be present in `args` for the rule to match.
|
|
257
|
+
* Values may be the literal expected value or a regex string (prefixed `/`).
|
|
258
|
+
*/
|
|
259
|
+
argMatchers: Record<string, unknown>;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* PathScopeRule — restricts or allows tool calls based on file path arguments.
|
|
263
|
+
*
|
|
264
|
+
* Example: deny any write tool call whose `path` arg escapes the project root.
|
|
265
|
+
*/
|
|
266
|
+
export interface PathScopeRule extends BaseRule {
|
|
267
|
+
type: 'path-scope';
|
|
268
|
+
/** Tool name(s) this rule applies to. Use `'*'` for any tool. */
|
|
269
|
+
toolPattern: string | string[];
|
|
270
|
+
/**
|
|
271
|
+
* Allowed or denied path prefixes. Relative paths are resolved against cwd.
|
|
272
|
+
* Supports glob-style `**` wildcards via micromatch semantics.
|
|
273
|
+
*/
|
|
274
|
+
pathPatterns: string[];
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* NetworkScopeRule — restricts or allows tool calls based on network host/URL.
|
|
278
|
+
*
|
|
279
|
+
* Example: deny any fetch call to hosts not in the allowed list.
|
|
280
|
+
*/
|
|
281
|
+
export interface NetworkScopeRule extends BaseRule {
|
|
282
|
+
type: 'network-scope';
|
|
283
|
+
/** Tool name(s) this rule applies to. Use `'*'` for any tool. */
|
|
284
|
+
toolPattern: string | string[];
|
|
285
|
+
/**
|
|
286
|
+
* Allowed or denied hostnames/IP patterns. Supports glob wildcards.
|
|
287
|
+
* Example: `['*.anthropic.com', 'localhost']`.
|
|
288
|
+
*/
|
|
289
|
+
hostPatterns: string[];
|
|
290
|
+
/**
|
|
291
|
+
* Optional port restriction. If set, only the specified ports are matched.
|
|
292
|
+
* Use `0` to match any port.
|
|
293
|
+
*/
|
|
294
|
+
ports?: number[];
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* ModeConstraintRule — activates only when a specific PermissionMode is active.
|
|
298
|
+
*
|
|
299
|
+
* Example: deny all write tools when mode is `'plan'`.
|
|
300
|
+
*/
|
|
301
|
+
export interface ModeConstraintRule extends BaseRule {
|
|
302
|
+
type: 'mode-constraint';
|
|
303
|
+
/** Mode(s) in which this rule is active. */
|
|
304
|
+
activeModes: PermissionMode[];
|
|
305
|
+
/** Tool name(s) or classifications this rule applies to. */
|
|
306
|
+
toolPattern: string | string[];
|
|
307
|
+
/** Optional: restrict by command classification instead of tool name. */
|
|
308
|
+
classifications?: CommandClassification[];
|
|
309
|
+
}
|
|
310
|
+
/** Discriminated union of all policy rule types. */
|
|
311
|
+
export type PolicyRule = PrefixRule | ArgShapeRule | PathScopeRule | NetworkScopeRule | ModeConstraintRule;
|
|
312
|
+
/** Configuration object passed to `createPermissionEvaluator()`. */
|
|
313
|
+
export interface PermissionsConfig {
|
|
314
|
+
/** Active permission mode. Defaults to `'default'`. */
|
|
315
|
+
mode?: PermissionMode;
|
|
316
|
+
/** Explicit project root used to resolve relative path-scope rules and tool args. */
|
|
317
|
+
projectRoot?: string;
|
|
318
|
+
/**
|
|
319
|
+
* Ordered list of policy rules applied in Layer 4.
|
|
320
|
+
* User rules are evaluated before managed rules within this layer.
|
|
321
|
+
*/
|
|
322
|
+
rules?: PolicyRule[];
|
|
323
|
+
/**
|
|
324
|
+
* Default decision when no rule or safety check fires.
|
|
325
|
+
* Defaults to `'allow'` for read tools, `'deny'` for everything else.
|
|
326
|
+
*/
|
|
327
|
+
defaultEffect?: 'allow' | 'deny';
|
|
328
|
+
/** Whether to emit structured audit log entries for every decision. Defaults to true. */
|
|
329
|
+
auditLog?: boolean;
|
|
330
|
+
}
|
|
331
|
+
export {};
|
|
332
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/permissions/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,MAAM,GACN,WAAW,GACX,QAAQ,GACR,uBAAuB,GACvB,mBAAmB,CAAC;AAIxB;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAC7B,MAAM,GACN,OAAO,GACP,SAAS,GACT,aAAa,GACb,YAAY,CAAC;AAIjB;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GAEtB,iBAAiB,GAEjB,oBAAoB,GAEpB,mBAAmB,GAEnB,gBAAgB,GAEhB,mBAAmB,GAEnB,sBAAsB,GAEtB,aAAa,GAEb,sBAAsB,GAEtB,qBAAqB,GAErB,gCAAgC,GAEhC,yBAAyB,GAEzB,+BAA+B,GAE/B,2BAA2B,GAE3B,uBAAuB,GAEvB,gBAAgB,GAEhB,gBAAgB,GAEhB,sBAAsB,GAEtB,6BAA6B,GAE7B,eAAe,GAEf,cAAc,CAAC;AAInB;;;GAGG;AACH,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,MAAM,GACN,SAAS,GACT,QAAQ,GACR,SAAS,CACV;AAIH,wEAAwE;AACxE,MAAM,WAAW,cAAc;IAC7B,iDAAiD;IACjD,KAAK,EAAE,WAAW,CAAC;IACnB,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,mFAAmF;IACnF,OAAO,EAAE,OAAO,CAAC;IACjB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAID;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,kBAAkB;IACjC,0CAA0C;IAC1C,OAAO,EAAE,OAAO,CAAC;IACjB,4CAA4C;IAC5C,MAAM,EAAE,cAAc,CAAC;IACvB,kEAAkE;IAClE,WAAW,EAAE,WAAW,CAAC;IACzB,gCAAgC;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,wEAAwE;IACxE,cAAc,CAAC,EAAE,qBAAqB,CAAC;IACvC,8DAA8D;IAC9D,SAAS,EAAE,MAAM,CAAC;IAClB,wEAAwE;IACxE,eAAe,EAAE,cAAc,EAAE,CAAC;IAElC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,oBAAoB,EAAE,eAAe,CAAC;IAC/D;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,oBAAoB,EAAE,gBAAgB,CAAC;CAClE;AAID;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GACtB,iBAAiB,GACjB,oBAAoB,GACpB,SAAS,CAAC;AAEd;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,GACtB,eAAe,GACf,eAAe,GACf,iBAAiB,CAAC;AAEtB;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,iEAAiE;IACjE,cAAc,EAAE,kBAAkB,CAAC;IACnC,gEAAgE;IAChE,iBAAiB,EAAE,kBAAkB,CAAC;IACtC;;;;;OAKG;IACH,qBAAqB,EAAE,kBAAkB,CAAC;IAC1C,qDAAqD;IACrD,QAAQ,EAAE,OAAO,CAAC;IAClB,sEAAsE;IACtE,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,gEAAgE;IAChE,SAAS,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,gDAAgD;IAChD,SAAS,EAAE,qBAAqB,CAAC;IACjC,gEAAgE;IAChE,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,wDAAwD;IACxD,IAAI,EAAE,cAAc,CAAC;IACrB,sCAAsC;IACtC,cAAc,EAAE,cAAc,CAAC;IAC/B,uCAAuC;IACvC,YAAY,EAAE,cAAc,CAAC;IAC7B,0CAA0C;IAC1C,eAAe,EAAE,cAAc,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,oCAAoC;IACpC,MAAM,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IACvC,mDAAmD;IACnD,cAAc,EAAE,MAAM,CAAC;IACvB,6DAA6D;IAC7D,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,mDAAmD;IACnD,OAAO,EAAE,eAAe,CAAC;IACzB,iEAAiE;IACjE,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,qBAAqB,EAAE,eAAe,CAAC,CAAC,CAAC;IACrE,6DAA6D;IAC7D,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;IACjD,oDAAoD;IACpD,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,eAAe,CAAC,CAAC,CAAC;IACzD,yDAAyD;IACzD,OAAO,EAAE,gBAAgB,EAAE,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAChD;AAID;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC;AAE5C,yDAAyD;AACzD,UAAU,QAAQ;IAChB,8DAA8D;IAC9D,EAAE,EAAE,MAAM,CAAC;IACX,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,MAAM,EAAE,UAAU,CAAC;IACnB,uEAAuE;IACvE,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAW,SAAQ,QAAQ;IAC1C,IAAI,EAAE,QAAQ,CAAC;IACf,iEAAiE;IACjE,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED;;;;;GAKG;AACH,MAAM,WAAW,YAAa,SAAQ,QAAQ;IAC5C,IAAI,EAAE,WAAW,CAAC;IAClB,iEAAiE;IACjE,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACtC;AAED;;;;GAIG;AACH,MAAM,WAAW,aAAc,SAAQ,QAAQ;IAC7C,IAAI,EAAE,YAAY,CAAC;IACnB,iEAAiE;IACjE,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B;;;OAGG;IACH,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAiB,SAAQ,QAAQ;IAChD,IAAI,EAAE,eAAe,CAAC;IACtB,iEAAiE;IACjE,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B;;;OAGG;IACH,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAmB,SAAQ,QAAQ;IAClD,IAAI,EAAE,iBAAiB,CAAC;IACxB,4CAA4C;IAC5C,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,4DAA4D;IAC5D,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B,yEAAyE;IACzE,eAAe,CAAC,EAAE,qBAAqB,EAAE,CAAC;CAC3C;AAED,oDAAoD;AACpD,MAAM,MAAM,UAAU,GAClB,UAAU,GACV,YAAY,GACZ,aAAa,GACb,gBAAgB,GAChB,kBAAkB,CAAC;AAIvB,oEAAoE;AACpE,MAAM,WAAW,iBAAiB;IAChC,uDAAuD;IACvD,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,qFAAqF;IACrF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACjC,yFAAyF;IACzF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ProviderHealthDataProvider — enriched provider health data surface.
|
|
3
|
+
*
|
|
4
|
+
* Combines ProviderHealthDomainState and ModelDomainState into a single,
|
|
5
|
+
* sorted ProviderHealthData snapshot for UI consumption.
|
|
6
|
+
*
|
|
7
|
+
* This class is a data provider only — it contains no rendering logic.
|
|
8
|
+
* Subscribe to change notifications and call getSnapshot() to render.
|
|
9
|
+
*/
|
|
10
|
+
import type { ProviderHealthDomainState } from '../store/domains/provider-health.js';
|
|
11
|
+
import type { ModelDomainState } from '../store/domains/model.js';
|
|
12
|
+
import type { ProviderHealthData } from './types.js';
|
|
13
|
+
/**
|
|
14
|
+
* ProviderHealthDataProvider produces enriched provider health data snapshots.
|
|
15
|
+
*
|
|
16
|
+
* Usage:
|
|
17
|
+
* ```ts
|
|
18
|
+
* const provider = new ProviderHealthDataProvider(healthState, modelState);
|
|
19
|
+
* const unsub = provider.subscribe(() => {
|
|
20
|
+
* const data = provider.getSnapshot();
|
|
21
|
+
* // render data.entries, data.fallbackChain, etc.
|
|
22
|
+
* });
|
|
23
|
+
* // When state changes:
|
|
24
|
+
* provider.updateHealthState(newHealthState);
|
|
25
|
+
* provider.updateModelState(newModelState);
|
|
26
|
+
* // Cleanup:
|
|
27
|
+
* unsub();
|
|
28
|
+
* provider.dispose();
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class ProviderHealthDataProvider {
|
|
32
|
+
private _healthState;
|
|
33
|
+
private _modelState;
|
|
34
|
+
private _snapshot;
|
|
35
|
+
private readonly _subscribers;
|
|
36
|
+
/** Per-provider timeline buffers, keyed by providerId. */
|
|
37
|
+
private readonly _timelines;
|
|
38
|
+
constructor(healthState: ProviderHealthDomainState, modelState: ModelDomainState);
|
|
39
|
+
/**
|
|
40
|
+
* Return the current enriched provider health data snapshot.
|
|
41
|
+
* Updated synchronously when state changes via update methods.
|
|
42
|
+
*/
|
|
43
|
+
getSnapshot(): ProviderHealthData;
|
|
44
|
+
/**
|
|
45
|
+
* Register a callback invoked whenever the snapshot changes.
|
|
46
|
+
* @returns An unsubscribe function.
|
|
47
|
+
*/
|
|
48
|
+
subscribe(callback: () => void): () => void;
|
|
49
|
+
/**
|
|
50
|
+
* Update provider health state and rebuild the snapshot.
|
|
51
|
+
* Appends a new timeline point for each provider.
|
|
52
|
+
*/
|
|
53
|
+
updateHealthState(healthState: ProviderHealthDomainState): void;
|
|
54
|
+
/**
|
|
55
|
+
* Update model domain state (e.g. active model or fallback chain change).
|
|
56
|
+
* Triggers a snapshot rebuild.
|
|
57
|
+
*/
|
|
58
|
+
updateModelState(modelState: ModelDomainState): void;
|
|
59
|
+
/**
|
|
60
|
+
* Release all subscriber references.
|
|
61
|
+
* Does not clear internal state — getSnapshot() remains usable after disposal.
|
|
62
|
+
*/
|
|
63
|
+
dispose(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Seed timeline buffers from the initial health state.
|
|
66
|
+
* Appends one point per known provider to initialize the timeline.
|
|
67
|
+
*/
|
|
68
|
+
private _seedTimelines;
|
|
69
|
+
/**
|
|
70
|
+
* Append a new timeline point for every provider in the updated state.
|
|
71
|
+
* Creates a new buffer for providers seen for the first time.
|
|
72
|
+
*/
|
|
73
|
+
private _appendTimelinePoints;
|
|
74
|
+
/** Append a single timeline point to a buffer, capping at TIMELINE_MAX_POINTS. */
|
|
75
|
+
private _appendPoint;
|
|
76
|
+
/** Build a HealthTimeline from a buffer for a given provider. */
|
|
77
|
+
private _buildTimeline;
|
|
78
|
+
private _rebuild;
|
|
79
|
+
private _buildSnapshot;
|
|
80
|
+
private _notify;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=data-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-provider.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/provider-health/data-provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,yBAAyB,EAAwB,MAAM,qCAAqC,CAAC;AAC3G,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,KAAK,EACV,kBAAkB,EAInB,MAAM,YAAY,CAAC;AAyBpB;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,0BAA0B;IACrC,OAAO,CAAC,YAAY,CAA4B;IAChD,OAAO,CAAC,WAAW,CAAmB;IACtC,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAyB;IACtD,0DAA0D;IAC1D,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAqC;gBAEpD,WAAW,EAAE,yBAAyB,EAAE,UAAU,EAAE,gBAAgB;IAOhF;;;OAGG;IACI,WAAW,IAAI,kBAAkB;IAIxC;;;OAGG;IACI,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAKlD;;;OAGG;IACI,iBAAiB,CAAC,WAAW,EAAE,yBAAyB,GAAG,IAAI;IAMtE;;;OAGG;IACI,gBAAgB,CAAC,UAAU,EAAE,gBAAgB,GAAG,IAAI;IAK3D;;;OAGG;IACI,OAAO,IAAI,IAAI;IAMtB;;;OAGG;IACH,OAAO,CAAC,cAAc;IAQtB;;;OAGG;IACH,OAAO,CAAC,qBAAqB;IAS7B,kFAAkF;IAClF,OAAO,CAAC,YAAY;IAmBpB,iEAAiE;IACjE,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,QAAQ;IAKhB,OAAO,CAAC,cAAc;IAoDtB,OAAO,CAAC,OAAO;CAShB"}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { buildFallbackChainData } from './fallback-visualizer.js';
|
|
2
|
+
/**
|
|
3
|
+
* Number of timeline points retained per provider.
|
|
4
|
+
* Each point represents a snapshot at the time of a state update.
|
|
5
|
+
*/
|
|
6
|
+
const TIMELINE_MAX_POINTS = 60;
|
|
7
|
+
/** Status sort priority (lower = shown first in list). */
|
|
8
|
+
const STATUS_ORDER = {
|
|
9
|
+
degraded: 0,
|
|
10
|
+
rate_limited: 1,
|
|
11
|
+
auth_error: 2,
|
|
12
|
+
unavailable: 3,
|
|
13
|
+
unknown: 4,
|
|
14
|
+
healthy: 5,
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* ProviderHealthDataProvider produces enriched provider health data snapshots.
|
|
18
|
+
*
|
|
19
|
+
* Usage:
|
|
20
|
+
* ```ts
|
|
21
|
+
* const provider = new ProviderHealthDataProvider(healthState, modelState);
|
|
22
|
+
* const unsub = provider.subscribe(() => {
|
|
23
|
+
* const data = provider.getSnapshot();
|
|
24
|
+
* // render data.entries, data.fallbackChain, etc.
|
|
25
|
+
* });
|
|
26
|
+
* // When state changes:
|
|
27
|
+
* provider.updateHealthState(newHealthState);
|
|
28
|
+
* provider.updateModelState(newModelState);
|
|
29
|
+
* // Cleanup:
|
|
30
|
+
* unsub();
|
|
31
|
+
* provider.dispose();
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export class ProviderHealthDataProvider {
|
|
35
|
+
_healthState;
|
|
36
|
+
_modelState;
|
|
37
|
+
_snapshot;
|
|
38
|
+
_subscribers = new Set();
|
|
39
|
+
/** Per-provider timeline buffers, keyed by providerId. */
|
|
40
|
+
_timelines = new Map();
|
|
41
|
+
constructor(healthState, modelState) {
|
|
42
|
+
this._healthState = healthState;
|
|
43
|
+
this._modelState = modelState;
|
|
44
|
+
this._seedTimelines(healthState);
|
|
45
|
+
this._snapshot = this._buildSnapshot();
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Return the current enriched provider health data snapshot.
|
|
49
|
+
* Updated synchronously when state changes via update methods.
|
|
50
|
+
*/
|
|
51
|
+
getSnapshot() {
|
|
52
|
+
return this._snapshot;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Register a callback invoked whenever the snapshot changes.
|
|
56
|
+
* @returns An unsubscribe function.
|
|
57
|
+
*/
|
|
58
|
+
subscribe(callback) {
|
|
59
|
+
this._subscribers.add(callback);
|
|
60
|
+
return () => this._subscribers.delete(callback);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Update provider health state and rebuild the snapshot.
|
|
64
|
+
* Appends a new timeline point for each provider.
|
|
65
|
+
*/
|
|
66
|
+
updateHealthState(healthState) {
|
|
67
|
+
this._healthState = healthState;
|
|
68
|
+
this._appendTimelinePoints(healthState);
|
|
69
|
+
this._rebuild();
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Update model domain state (e.g. active model or fallback chain change).
|
|
73
|
+
* Triggers a snapshot rebuild.
|
|
74
|
+
*/
|
|
75
|
+
updateModelState(modelState) {
|
|
76
|
+
this._modelState = modelState;
|
|
77
|
+
this._rebuild();
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Release all subscriber references.
|
|
81
|
+
* Does not clear internal state — getSnapshot() remains usable after disposal.
|
|
82
|
+
*/
|
|
83
|
+
dispose() {
|
|
84
|
+
this._subscribers.clear();
|
|
85
|
+
}
|
|
86
|
+
// ── Private ────────────────────────────────────────────────────────────────
|
|
87
|
+
/**
|
|
88
|
+
* Seed timeline buffers from the initial health state.
|
|
89
|
+
* Appends one point per known provider to initialize the timeline.
|
|
90
|
+
*/
|
|
91
|
+
_seedTimelines(healthState) {
|
|
92
|
+
for (const [id, record] of healthState.providers) {
|
|
93
|
+
const buffer = { points: [] };
|
|
94
|
+
this._timelines.set(id, buffer);
|
|
95
|
+
this._appendPoint(buffer, record);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Append a new timeline point for every provider in the updated state.
|
|
100
|
+
* Creates a new buffer for providers seen for the first time.
|
|
101
|
+
*/
|
|
102
|
+
_appendTimelinePoints(healthState) {
|
|
103
|
+
for (const [id, record] of healthState.providers) {
|
|
104
|
+
if (!this._timelines.has(id)) {
|
|
105
|
+
this._timelines.set(id, { points: [] });
|
|
106
|
+
}
|
|
107
|
+
this._appendPoint(this._timelines.get(id), record);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
/** Append a single timeline point to a buffer, capping at TIMELINE_MAX_POINTS. */
|
|
111
|
+
_appendPoint(buffer, record) {
|
|
112
|
+
const total = record.stats.totalCalls;
|
|
113
|
+
const successRate = total > 0 ? record.stats.successCalls / total : 1;
|
|
114
|
+
const errorRate = total > 0 ? record.stats.errorCalls / total : 0;
|
|
115
|
+
buffer.points.push({
|
|
116
|
+
ts: Date.now(),
|
|
117
|
+
successRate,
|
|
118
|
+
avgLatencyMs: record.stats.avgLatencyMs,
|
|
119
|
+
errorRate,
|
|
120
|
+
});
|
|
121
|
+
if (buffer.points.length > TIMELINE_MAX_POINTS) {
|
|
122
|
+
// Array.shift() is O(n) but acceptable: TIMELINE_MAX_POINTS is capped at 60,
|
|
123
|
+
// so the cost is negligible and the simplicity outweighs a ring-buffer implementation.
|
|
124
|
+
buffer.points.shift();
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
/** Build a HealthTimeline from a buffer for a given provider. */
|
|
128
|
+
_buildTimeline(providerId) {
|
|
129
|
+
const buffer = this._timelines.get(providerId);
|
|
130
|
+
const points = buffer ? [...buffer.points] : [];
|
|
131
|
+
return {
|
|
132
|
+
providerId,
|
|
133
|
+
points,
|
|
134
|
+
length: points.length,
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
_rebuild() {
|
|
138
|
+
this._snapshot = this._buildSnapshot();
|
|
139
|
+
this._notify();
|
|
140
|
+
}
|
|
141
|
+
_buildSnapshot() {
|
|
142
|
+
const entries = [];
|
|
143
|
+
for (const [id, record] of this._healthState.providers) {
|
|
144
|
+
const total = record.stats.totalCalls;
|
|
145
|
+
const successRate = total > 0 ? record.stats.successCalls / total : 1;
|
|
146
|
+
const errorRate = total > 0 ? record.stats.errorCalls / total : 0;
|
|
147
|
+
entries.push({
|
|
148
|
+
providerId: id,
|
|
149
|
+
displayName: record.displayName,
|
|
150
|
+
status: record.status,
|
|
151
|
+
isActive: record.isActive,
|
|
152
|
+
isConfigured: record.isConfigured,
|
|
153
|
+
successRate,
|
|
154
|
+
errorRate,
|
|
155
|
+
p95LatencyMs: record.stats.maxLatencyMs,
|
|
156
|
+
avgLatencyMs: record.stats.avgLatencyMs,
|
|
157
|
+
totalCalls: total,
|
|
158
|
+
// cacheHitRate is populated only when cache-capability is wired to the provider record.
|
|
159
|
+
// Until then this will always be undefined — intentionally unsupported at this stage.
|
|
160
|
+
cacheHitRate: record.cacheMetrics?.hitRate,
|
|
161
|
+
cacheReadTokens: record.cacheMetrics?.cacheReadTokens,
|
|
162
|
+
cacheWriteTokens: record.cacheMetrics?.cacheWriteTokens,
|
|
163
|
+
lastSuccessAt: record.stats.lastSuccessAt,
|
|
164
|
+
lastErrorAt: record.stats.lastErrorAt,
|
|
165
|
+
lastErrorMessage: record.stats.lastErrorMessage,
|
|
166
|
+
lastCheckedAt: record.lastCheckedAt,
|
|
167
|
+
rateLimitResetAt: record.rateLimitResetAt,
|
|
168
|
+
timeline: this._buildTimeline(id),
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
// Sort: degraded/unavailable first (needs attention), then healthy, then unknown
|
|
172
|
+
entries.sort((a, b) => {
|
|
173
|
+
const diff = (STATUS_ORDER[a.status] ?? 4) - (STATUS_ORDER[b.status] ?? 4);
|
|
174
|
+
return diff !== 0 ? diff : a.displayName.localeCompare(b.displayName);
|
|
175
|
+
});
|
|
176
|
+
const fallbackChain = buildFallbackChainData(this._modelState, this._healthState);
|
|
177
|
+
return {
|
|
178
|
+
entries,
|
|
179
|
+
compositeStatus: this._healthState.compositeStatus,
|
|
180
|
+
degradedCount: this._healthState.degradedCount,
|
|
181
|
+
unavailableCount: this._healthState.unavailableCount,
|
|
182
|
+
fallbackChain,
|
|
183
|
+
warnings: this._healthState.warnings,
|
|
184
|
+
snapshotAt: Date.now(),
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
_notify() {
|
|
188
|
+
for (const cb of this._subscribers) {
|
|
189
|
+
try {
|
|
190
|
+
cb();
|
|
191
|
+
}
|
|
192
|
+
catch {
|
|
193
|
+
// Non-fatal: subscriber errors must not crash the provider
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fallback chain visualization data builder.
|
|
3
|
+
*
|
|
4
|
+
* Converts the raw fallback chain from ModelDomainState and current
|
|
5
|
+
* provider health records into a structured FallbackChainData snapshot
|
|
6
|
+
* suitable for UI rendering.
|
|
7
|
+
*/
|
|
8
|
+
import type { ModelDomainState } from '../store/domains/model.js';
|
|
9
|
+
import type { ProviderHealthDomainState } from '../store/domains/provider-health.js';
|
|
10
|
+
import type { FallbackChainData } from './types.js';
|
|
11
|
+
/**
|
|
12
|
+
* Build a FallbackChainData snapshot from the current model and health state.
|
|
13
|
+
*
|
|
14
|
+
* The primary model is always node 0. Each entry in ModelDomainState.fallbackChain
|
|
15
|
+
* becomes a subsequent node. Health status is enriched from the provider health domain.
|
|
16
|
+
*
|
|
17
|
+
* @param modelState - Current model domain state.
|
|
18
|
+
* @param healthState - Current provider health domain state.
|
|
19
|
+
* @returns Immutable FallbackChainData for visualization.
|
|
20
|
+
*/
|
|
21
|
+
export declare function buildFallbackChainData(modelState: ModelDomainState, healthState: ProviderHealthDomainState): FallbackChainData;
|
|
22
|
+
//# sourceMappingURL=fallback-visualizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fallback-visualizer.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/provider-health/fallback-visualizer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAqB,MAAM,YAAY,CAAC;AAEvE;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,gBAAgB,EAC5B,WAAW,EAAE,yBAAyB,GACrC,iBAAiB,CA4CnB"}
|