@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,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Structured audit log for permission decisions.
|
|
3
|
+
*
|
|
4
|
+
* DecisionLog provides an in-memory circular buffer of PermissionDecision
|
|
5
|
+
* records with structured output suitable for debugging and compliance auditing.
|
|
6
|
+
*
|
|
7
|
+
* Decisions are appended on every evaluation. The buffer is bounded to prevent
|
|
8
|
+
* unbounded memory growth during long sessions.
|
|
9
|
+
*/
|
|
10
|
+
// ── Configuration ─────────────────────────────────────────────────────────────────
|
|
11
|
+
/** Maximum number of decisions held in the circular buffer. */
|
|
12
|
+
const DEFAULT_MAX_ENTRIES = 1000;
|
|
13
|
+
// ── DecisionLog ───────────────────────────────────────────────────────────────────
|
|
14
|
+
/**
|
|
15
|
+
* DecisionLog — Bounded circular buffer for permission decision audit records.
|
|
16
|
+
*
|
|
17
|
+
* Thread-safe for single-threaded Bun/Node runtimes (no async gaps in write path).
|
|
18
|
+
* Oldest entries are silently evicted when the buffer is full.
|
|
19
|
+
*
|
|
20
|
+
* Implements a true O(1) ring buffer with head/tail indexing to avoid O(n)
|
|
21
|
+
* Array.shift() evictions.
|
|
22
|
+
*/
|
|
23
|
+
export class DecisionLog {
|
|
24
|
+
/** Ring buffer storage (fixed-size array). */
|
|
25
|
+
buffer;
|
|
26
|
+
/** Write head: index where next entry will be written. */
|
|
27
|
+
head = 0;
|
|
28
|
+
/** Total entries currently stored (≤ maxEntries). */
|
|
29
|
+
count = 0;
|
|
30
|
+
seq = 0;
|
|
31
|
+
maxEntries;
|
|
32
|
+
constructor(maxEntries = DEFAULT_MAX_ENTRIES) {
|
|
33
|
+
this.maxEntries = maxEntries;
|
|
34
|
+
this.buffer = new Array(maxEntries);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* append — Records a permission decision in the audit log.
|
|
38
|
+
*
|
|
39
|
+
* If the buffer has reached `maxEntries`, the oldest entry is silently evicted
|
|
40
|
+
* in O(1) time via ring buffer head advancement.
|
|
41
|
+
*
|
|
42
|
+
* @param decision — The completed PermissionDecision to record.
|
|
43
|
+
*/
|
|
44
|
+
append(decision) {
|
|
45
|
+
this.seq += 1;
|
|
46
|
+
const entry = { seq: this.seq, decision };
|
|
47
|
+
this.buffer[this.head] = entry;
|
|
48
|
+
this.head = (this.head + 1) % this.maxEntries;
|
|
49
|
+
if (this.count < this.maxEntries)
|
|
50
|
+
this.count += 1;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* toArray — Returns all current entries in chronological order (oldest first).
|
|
54
|
+
*/
|
|
55
|
+
toArray() {
|
|
56
|
+
if (this.count === 0)
|
|
57
|
+
return [];
|
|
58
|
+
const result = new Array(this.count);
|
|
59
|
+
// tail = oldest entry index in ring buffer
|
|
60
|
+
const tail = this.count < this.maxEntries ? 0 : this.head;
|
|
61
|
+
for (let i = 0; i < this.count; i++) {
|
|
62
|
+
result[i] = this.buffer[(tail + i) % this.maxEntries];
|
|
63
|
+
}
|
|
64
|
+
return result;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* query — Returns filtered log entries in chronological order.
|
|
68
|
+
*
|
|
69
|
+
* @param filters — Optional filter criteria.
|
|
70
|
+
*/
|
|
71
|
+
query(filters = {}) {
|
|
72
|
+
let results = this.toArray();
|
|
73
|
+
if (filters.toolName !== undefined) {
|
|
74
|
+
results = results.filter((e) => e.decision.toolName === filters.toolName);
|
|
75
|
+
}
|
|
76
|
+
if (filters.allowed !== undefined) {
|
|
77
|
+
results = results.filter((e) => e.decision.allowed === filters.allowed);
|
|
78
|
+
}
|
|
79
|
+
if (filters.since !== undefined) {
|
|
80
|
+
results = results.filter((e) => e.decision.timestamp >= (filters.since ?? 0));
|
|
81
|
+
}
|
|
82
|
+
if (filters.limit !== undefined && filters.limit > 0) {
|
|
83
|
+
results = results.slice(-filters.limit);
|
|
84
|
+
}
|
|
85
|
+
return results;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* latest — Returns the most recent decision, or undefined if the log is empty.
|
|
89
|
+
*/
|
|
90
|
+
latest() {
|
|
91
|
+
if (this.count === 0)
|
|
92
|
+
return undefined;
|
|
93
|
+
// Most recent entry is at (head - 1 + maxEntries) % maxEntries
|
|
94
|
+
const latestIdx = (this.head - 1 + this.maxEntries) % this.maxEntries;
|
|
95
|
+
return this.buffer[latestIdx];
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* size — Returns the current number of entries in the buffer.
|
|
99
|
+
*/
|
|
100
|
+
get size() {
|
|
101
|
+
return this.count;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* totalRecorded — Returns the total number of decisions ever recorded
|
|
105
|
+
* (including evicted entries). Monotonically increasing.
|
|
106
|
+
*/
|
|
107
|
+
get totalRecorded() {
|
|
108
|
+
return this.seq;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* clear — Empties the log and resets the sequence counter.
|
|
112
|
+
* Primarily useful in tests.
|
|
113
|
+
*/
|
|
114
|
+
clear() {
|
|
115
|
+
this.buffer.fill(undefined);
|
|
116
|
+
this.head = 0;
|
|
117
|
+
this.count = 0;
|
|
118
|
+
this.seq = 0;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* summary — Returns aggregate counts of allow/deny decisions.
|
|
122
|
+
*/
|
|
123
|
+
summary() {
|
|
124
|
+
const entries = this.toArray();
|
|
125
|
+
const allowed = entries.filter((e) => e.decision.allowed).length;
|
|
126
|
+
return {
|
|
127
|
+
total: this.count,
|
|
128
|
+
allowed,
|
|
129
|
+
denied: this.count - allowed,
|
|
130
|
+
evicted: Math.max(0, this.seq - this.count),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Divergence dashboard and enforcement gate.
|
|
3
|
+
*
|
|
4
|
+
* Wraps a `PermissionSimulator` to provide:
|
|
5
|
+
* - Trend history: periodic snapshots of divergence rates bucketed by time.
|
|
6
|
+
* - Enforce gate: prevents transitioning to `enforce` mode when the
|
|
7
|
+
* divergence rate exceeds the configured threshold.
|
|
8
|
+
* - Aggregated dashboard data queryable by the diagnostics layer.
|
|
9
|
+
*
|
|
10
|
+
* The dashboard is passive — it reads from the simulator, does not own
|
|
11
|
+
* the simulator's lifecycle, and never calls evaluate() itself.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* Pre-positioned for feature-flag-gated production integration.
|
|
15
|
+
* When the `diagnostics.divergencePanel` feature flag is enabled, this
|
|
16
|
+
* dashboard is wired into the session emitter pipeline (same pattern as
|
|
17
|
+
* session emitters in GC-ARCH-002). Until that flag is active, this module
|
|
18
|
+
* is exercised only via `DivergencePanel` in the diagnostics layer.
|
|
19
|
+
*/
|
|
20
|
+
import type { DivergenceReport, SimulationMode } from './types.js';
|
|
21
|
+
import type { PermissionSimulator } from './simulation.js';
|
|
22
|
+
/**
|
|
23
|
+
* A single time-bucketed snapshot of divergence statistics.
|
|
24
|
+
*
|
|
25
|
+
* Captured periodically by `DivergenceDashboard` and stored in a bounded
|
|
26
|
+
* FIFO array to provide trend history for UI display.
|
|
27
|
+
*/
|
|
28
|
+
export interface DivergenceTrendEntry {
|
|
29
|
+
/** Unix epoch milliseconds when this snapshot was taken. */
|
|
30
|
+
readonly ts: number;
|
|
31
|
+
/** Overall divergence rate at the time of the snapshot (0–1). */
|
|
32
|
+
readonly divergenceRate: number;
|
|
33
|
+
/** Total evaluations recorded up to this point. */
|
|
34
|
+
readonly totalEvaluations: number;
|
|
35
|
+
/** Total divergences recorded up to this point. */
|
|
36
|
+
readonly totalDivergences: number;
|
|
37
|
+
/** Whether the gate was passing at the time of the snapshot. */
|
|
38
|
+
readonly gatePassing: boolean;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Gate check result returned by `DivergenceDashboard.checkEnforceGate()`.
|
|
42
|
+
*
|
|
43
|
+
* - `allowed` — divergence is within threshold; enforce mode may be enabled.
|
|
44
|
+
* - `blocked` — divergence exceeds threshold; enforce mode is blocked.
|
|
45
|
+
* - `no_data` — not enough evaluations have been recorded to make a
|
|
46
|
+
* determination; gate passes by default.
|
|
47
|
+
*/
|
|
48
|
+
export type EnforceGateStatus = 'allowed' | 'blocked' | 'no_data';
|
|
49
|
+
/**
|
|
50
|
+
* Full result of an enforce gate check.
|
|
51
|
+
*/
|
|
52
|
+
export interface EnforceGateResult {
|
|
53
|
+
/** Whether enforce mode transition is permitted. */
|
|
54
|
+
readonly status: EnforceGateStatus;
|
|
55
|
+
/** Current divergence rate (0–1). Undefined when status is `no_data`. */
|
|
56
|
+
readonly divergenceRate?: number;
|
|
57
|
+
/** Configured threshold (0–1). */
|
|
58
|
+
readonly threshold: number;
|
|
59
|
+
/** Total evaluations at the time of the check. */
|
|
60
|
+
readonly totalEvaluations: number;
|
|
61
|
+
/** Human-readable explanation of the result. */
|
|
62
|
+
readonly message: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Full dashboard snapshot returned by `DivergenceDashboard.getSnapshot()`.
|
|
66
|
+
*
|
|
67
|
+
* Combines the current divergence report with trend history and gate status.
|
|
68
|
+
*/
|
|
69
|
+
export interface DivergenceDashboardSnapshot {
|
|
70
|
+
/** Current divergence report from the simulator. */
|
|
71
|
+
readonly report: DivergenceReport;
|
|
72
|
+
/** Active simulation mode at the time of the snapshot. */
|
|
73
|
+
readonly mode: SimulationMode;
|
|
74
|
+
/** Current enforce gate result. */
|
|
75
|
+
readonly gate: EnforceGateResult;
|
|
76
|
+
/** Trend history (oldest first). */
|
|
77
|
+
readonly trend: readonly DivergenceTrendEntry[];
|
|
78
|
+
/** Epoch ms when this snapshot was taken. */
|
|
79
|
+
readonly capturedAt: number;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Configuration for `DivergenceDashboard`.
|
|
83
|
+
*/
|
|
84
|
+
export interface DivergenceDashboardConfig {
|
|
85
|
+
/**
|
|
86
|
+
* Maximum divergence rate (0–1) before enforce mode is blocked.
|
|
87
|
+
* Defaults to 0.05 (5%).
|
|
88
|
+
*/
|
|
89
|
+
threshold?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Minimum number of evaluations required before the gate makes a
|
|
92
|
+
* `blocked` determination. Below this count the gate returns `no_data`.
|
|
93
|
+
* Defaults to 10.
|
|
94
|
+
*/
|
|
95
|
+
minEvaluationsForGate?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Maximum number of trend entries to retain in the bounded FIFO array.
|
|
98
|
+
* Defaults to 100.
|
|
99
|
+
*/
|
|
100
|
+
maxTrendEntries?: number;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* DivergenceDashboard — divergence monitoring and enforce-mode gate.
|
|
104
|
+
*
|
|
105
|
+
* Attach to a running `PermissionSimulator` to gain:
|
|
106
|
+
* - `checkEnforceGate()` — real-time gate check before mode transitions.
|
|
107
|
+
* - `recordTrendEntry()` — capture a snapshot for trend history.
|
|
108
|
+
* - `getSnapshot()` — full dashboard state for diagnostics rendering.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* ```ts
|
|
112
|
+
* const simulator = createPermissionSimulator(actual, simulated, 'warn-on-divergence');
|
|
113
|
+
* const dashboard = new DivergenceDashboard(simulator, 'warn-on-divergence');
|
|
114
|
+
*
|
|
115
|
+
* // Periodically capture trend entries (e.g. every 30 seconds):
|
|
116
|
+
* setInterval(() => dashboard.recordTrendEntry(), 30_000);
|
|
117
|
+
*
|
|
118
|
+
* // Before switching to enforce mode:
|
|
119
|
+
* const gate = dashboard.checkEnforceGate();
|
|
120
|
+
* if (gate.status !== 'allowed') {
|
|
121
|
+
* console.error('Enforce blocked:', gate.message);
|
|
122
|
+
* }
|
|
123
|
+
* ```
|
|
124
|
+
*/
|
|
125
|
+
export declare class DivergenceDashboard {
|
|
126
|
+
private readonly _simulator;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* Dashboard-layer mode for UI display only. Independent of the immutable
|
|
130
|
+
* simulator mode — the underlying `PermissionSimulator` mode is fixed at
|
|
131
|
+
* construction and cannot be changed. `_mode` tracks the caller's intended
|
|
132
|
+
* operational state so the diagnostics view can render it accurately.
|
|
133
|
+
*/
|
|
134
|
+
private _mode;
|
|
135
|
+
private readonly _threshold;
|
|
136
|
+
private readonly _minEvals;
|
|
137
|
+
private readonly _maxTrendEntries;
|
|
138
|
+
private readonly _trend;
|
|
139
|
+
private static readonly DEFAULT_THRESHOLD;
|
|
140
|
+
private static readonly DEFAULT_MIN_EVALS;
|
|
141
|
+
private static readonly DEFAULT_MAX_TREND;
|
|
142
|
+
constructor(simulator: PermissionSimulator, mode: SimulationMode, config?: DivergenceDashboardConfig);
|
|
143
|
+
/**
|
|
144
|
+
* checkEnforceGate — Checks whether transitioning to `enforce` mode is safe.
|
|
145
|
+
*
|
|
146
|
+
* Returns `no_data` when fewer than `minEvaluationsForGate` evaluations have
|
|
147
|
+
* been recorded (gate passes by default in this case).
|
|
148
|
+
* Returns `blocked` when the overall divergence rate exceeds the threshold.
|
|
149
|
+
* Returns `allowed` otherwise.
|
|
150
|
+
*/
|
|
151
|
+
checkEnforceGate(): EnforceGateResult;
|
|
152
|
+
/** @internal Compute gate result from pre-fetched stats to avoid double getDivergenceReport() calls. */
|
|
153
|
+
private _computeGate;
|
|
154
|
+
/**
|
|
155
|
+
* recordTrendEntry — Captures a snapshot of the current divergence state.
|
|
156
|
+
*
|
|
157
|
+
* Call periodically (e.g. on a timer) to build trend history.
|
|
158
|
+
* Oldest entries are evicted when the buffer exceeds `maxTrendEntries`.
|
|
159
|
+
*/
|
|
160
|
+
recordTrendEntry(): DivergenceTrendEntry;
|
|
161
|
+
/**
|
|
162
|
+
* getTrend — Returns the full trend history (oldest first).
|
|
163
|
+
*/
|
|
164
|
+
getTrend(): readonly DivergenceTrendEntry[];
|
|
165
|
+
/**
|
|
166
|
+
* getSnapshot — Returns a full dashboard snapshot for diagnostics rendering.
|
|
167
|
+
*/
|
|
168
|
+
getSnapshot(): DivergenceDashboardSnapshot;
|
|
169
|
+
/**
|
|
170
|
+
* setMode — Updates the tracked simulation mode.
|
|
171
|
+
*
|
|
172
|
+
* Does NOT modify the underlying simulator (which has an immutable mode).
|
|
173
|
+
* This is for dashboard display purposes when the caller manages mode
|
|
174
|
+
* transitions externally.
|
|
175
|
+
*
|
|
176
|
+
* Throws if an attempt is made to set `enforce` mode while the gate is
|
|
177
|
+
* `blocked`. This is the primary enforcement mechanism for the divergence gate.
|
|
178
|
+
*
|
|
179
|
+
* @throws {DivergenceGateError} when attempting to enable enforce mode
|
|
180
|
+
* while divergence exceeds the configured threshold.
|
|
181
|
+
*/
|
|
182
|
+
setMode(mode: SimulationMode): void;
|
|
183
|
+
/**
|
|
184
|
+
* getMode — Returns the currently tracked simulation mode.
|
|
185
|
+
*/
|
|
186
|
+
getMode(): SimulationMode;
|
|
187
|
+
/**
|
|
188
|
+
* getThreshold — Returns the configured divergence threshold.
|
|
189
|
+
*/
|
|
190
|
+
getThreshold(): number;
|
|
191
|
+
/**
|
|
192
|
+
* isGatePassing — Convenience accessor; true unless gate is `blocked`.
|
|
193
|
+
*/
|
|
194
|
+
isGatePassing(): boolean;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Thrown by `DivergenceDashboard.setMode('enforce')` when the divergence
|
|
198
|
+
* gate is in `blocked` state.
|
|
199
|
+
*/
|
|
200
|
+
export declare class DivergenceGateError extends Error {
|
|
201
|
+
/** The full gate result at the time the error was thrown. */
|
|
202
|
+
readonly gate: EnforceGateResult;
|
|
203
|
+
constructor(message: string, gate: EnforceGateResult);
|
|
204
|
+
}
|
|
205
|
+
//# sourceMappingURL=divergence-dashboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divergence-dashboard.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/permissions/divergence-dashboard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EACV,gBAAgB,EAChB,cAAc,EACf,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAI3D;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,mDAAmD;IACnD,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,mDAAmD;IACnD,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,gEAAgE;IAChE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;CAC/B;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,oDAAoD;IACpD,QAAQ,CAAC,MAAM,EAAE,iBAAiB,CAAC;IACnC,yEAAyE;IACzE,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,kCAAkC;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,kDAAkD;IAClD,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,gDAAgD;IAChD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IAC1C,oDAAoD;IACpD,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAC;IAClC,0DAA0D;IAC1D,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAC9B,mCAAmC;IACnC,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACjC,oCAAoC;IACpC,QAAQ,CAAC,KAAK,EAAE,SAAS,oBAAoB,EAAE,CAAC;IAChD,6CAA6C;IAC7C,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAID;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAID;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,mBAAmB;IAC9B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAsB;IACjD;;;;;;OAMG;IACH,OAAO,CAAC,KAAK,CAAiB;IAC9B,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;IACpC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAS;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA8B;IAErD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAQ;IACjD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAM;IAC/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAO;gBAG9C,SAAS,EAAE,mBAAmB,EAC9B,IAAI,EAAE,cAAc,EACpB,MAAM,GAAE,yBAA8B;IASxC;;;;;;;OAOG;IACH,gBAAgB,IAAI,iBAAiB;IAKrC,wGAAwG;IACxG,OAAO,CAAC,YAAY;IAoCpB;;;;;OAKG;IACH,gBAAgB,IAAI,oBAAoB;IAqBxC;;OAEG;IACH,QAAQ,IAAI,SAAS,oBAAoB,EAAE;IAI3C;;OAEG;IACH,WAAW,IAAI,2BAA2B;IAW1C;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI;IAUnC;;OAEG;IACH,OAAO,IAAI,cAAc;IAIzB;;OAEG;IACH,YAAY,IAAI,MAAM;IAItB;;OAEG;IACH,aAAa,IAAI,OAAO;CAGzB;AAID;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,6DAA6D;IAC7D,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;gBAErB,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB;CAKrD"}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Divergence dashboard and enforcement gate.
|
|
3
|
+
*
|
|
4
|
+
* Wraps a `PermissionSimulator` to provide:
|
|
5
|
+
* - Trend history: periodic snapshots of divergence rates bucketed by time.
|
|
6
|
+
* - Enforce gate: prevents transitioning to `enforce` mode when the
|
|
7
|
+
* divergence rate exceeds the configured threshold.
|
|
8
|
+
* - Aggregated dashboard data queryable by the diagnostics layer.
|
|
9
|
+
*
|
|
10
|
+
* The dashboard is passive — it reads from the simulator, does not own
|
|
11
|
+
* the simulator's lifecycle, and never calls evaluate() itself.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* Pre-positioned for feature-flag-gated production integration.
|
|
15
|
+
* When the `diagnostics.divergencePanel` feature flag is enabled, this
|
|
16
|
+
* dashboard is wired into the session emitter pipeline (same pattern as
|
|
17
|
+
* session emitters in GC-ARCH-002). Until that flag is active, this module
|
|
18
|
+
* is exercised only via `DivergencePanel` in the diagnostics layer.
|
|
19
|
+
*/
|
|
20
|
+
// ── DivergenceDashboard ───────────────────────────────────────────────────────
|
|
21
|
+
/**
|
|
22
|
+
* DivergenceDashboard — divergence monitoring and enforce-mode gate.
|
|
23
|
+
*
|
|
24
|
+
* Attach to a running `PermissionSimulator` to gain:
|
|
25
|
+
* - `checkEnforceGate()` — real-time gate check before mode transitions.
|
|
26
|
+
* - `recordTrendEntry()` — capture a snapshot for trend history.
|
|
27
|
+
* - `getSnapshot()` — full dashboard state for diagnostics rendering.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const simulator = createPermissionSimulator(actual, simulated, 'warn-on-divergence');
|
|
32
|
+
* const dashboard = new DivergenceDashboard(simulator, 'warn-on-divergence');
|
|
33
|
+
*
|
|
34
|
+
* // Periodically capture trend entries (e.g. every 30 seconds):
|
|
35
|
+
* setInterval(() => dashboard.recordTrendEntry(), 30_000);
|
|
36
|
+
*
|
|
37
|
+
* // Before switching to enforce mode:
|
|
38
|
+
* const gate = dashboard.checkEnforceGate();
|
|
39
|
+
* if (gate.status !== 'allowed') {
|
|
40
|
+
* console.error('Enforce blocked:', gate.message);
|
|
41
|
+
* }
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export class DivergenceDashboard {
|
|
45
|
+
_simulator;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* Dashboard-layer mode for UI display only. Independent of the immutable
|
|
49
|
+
* simulator mode — the underlying `PermissionSimulator` mode is fixed at
|
|
50
|
+
* construction and cannot be changed. `_mode` tracks the caller's intended
|
|
51
|
+
* operational state so the diagnostics view can render it accurately.
|
|
52
|
+
*/
|
|
53
|
+
_mode;
|
|
54
|
+
_threshold;
|
|
55
|
+
_minEvals;
|
|
56
|
+
_maxTrendEntries;
|
|
57
|
+
_trend = [];
|
|
58
|
+
static DEFAULT_THRESHOLD = 0.05;
|
|
59
|
+
static DEFAULT_MIN_EVALS = 10;
|
|
60
|
+
static DEFAULT_MAX_TREND = 100;
|
|
61
|
+
constructor(simulator, mode, config = {}) {
|
|
62
|
+
this._simulator = simulator;
|
|
63
|
+
this._mode = mode;
|
|
64
|
+
this._threshold = config.threshold ?? DivergenceDashboard.DEFAULT_THRESHOLD;
|
|
65
|
+
this._minEvals = config.minEvaluationsForGate ?? DivergenceDashboard.DEFAULT_MIN_EVALS;
|
|
66
|
+
this._maxTrendEntries = config.maxTrendEntries ?? DivergenceDashboard.DEFAULT_MAX_TREND;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* checkEnforceGate — Checks whether transitioning to `enforce` mode is safe.
|
|
70
|
+
*
|
|
71
|
+
* Returns `no_data` when fewer than `minEvaluationsForGate` evaluations have
|
|
72
|
+
* been recorded (gate passes by default in this case).
|
|
73
|
+
* Returns `blocked` when the overall divergence rate exceeds the threshold.
|
|
74
|
+
* Returns `allowed` otherwise.
|
|
75
|
+
*/
|
|
76
|
+
checkEnforceGate() {
|
|
77
|
+
const report = this._simulator.getDivergenceReport();
|
|
78
|
+
return this._computeGate(report.overall);
|
|
79
|
+
}
|
|
80
|
+
/** @internal Compute gate result from pre-fetched stats to avoid double getDivergenceReport() calls. */
|
|
81
|
+
_computeGate({ totalEvaluations, divergenceRate }) {
|
|
82
|
+
if (totalEvaluations < this._minEvals) {
|
|
83
|
+
return {
|
|
84
|
+
status: 'no_data',
|
|
85
|
+
threshold: this._threshold,
|
|
86
|
+
totalEvaluations,
|
|
87
|
+
message: `Insufficient data: ${totalEvaluations}/${this._minEvals} minimum evaluations recorded. ` +
|
|
88
|
+
`Gate passes by default.`,
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
if (divergenceRate > this._threshold) {
|
|
92
|
+
return {
|
|
93
|
+
status: 'blocked',
|
|
94
|
+
divergenceRate,
|
|
95
|
+
threshold: this._threshold,
|
|
96
|
+
totalEvaluations,
|
|
97
|
+
message: `Enforce mode blocked: divergence rate ${(divergenceRate * 100).toFixed(2)}% ` +
|
|
98
|
+
`exceeds threshold ${(this._threshold * 100).toFixed(2)}%. ` +
|
|
99
|
+
`Reduce divergence or increase threshold before enabling enforce mode.`,
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
return {
|
|
103
|
+
status: 'allowed',
|
|
104
|
+
divergenceRate,
|
|
105
|
+
threshold: this._threshold,
|
|
106
|
+
totalEvaluations,
|
|
107
|
+
message: `Gate passing: divergence rate ${(divergenceRate * 100).toFixed(2)}% ` +
|
|
108
|
+
`is within threshold ${(this._threshold * 100).toFixed(2)}%.`,
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* recordTrendEntry — Captures a snapshot of the current divergence state.
|
|
113
|
+
*
|
|
114
|
+
* Call periodically (e.g. on a timer) to build trend history.
|
|
115
|
+
* Oldest entries are evicted when the buffer exceeds `maxTrendEntries`.
|
|
116
|
+
*/
|
|
117
|
+
recordTrendEntry() {
|
|
118
|
+
const report = this._simulator.getDivergenceReport();
|
|
119
|
+
const overall = report.overall;
|
|
120
|
+
const gate = this._computeGate(report.overall);
|
|
121
|
+
const entry = {
|
|
122
|
+
ts: Date.now(),
|
|
123
|
+
divergenceRate: overall.divergenceRate,
|
|
124
|
+
totalEvaluations: overall.totalEvaluations,
|
|
125
|
+
totalDivergences: overall.total,
|
|
126
|
+
gatePassing: gate.status !== 'blocked',
|
|
127
|
+
};
|
|
128
|
+
if (this._trend.length >= this._maxTrendEntries) {
|
|
129
|
+
this._trend.shift();
|
|
130
|
+
}
|
|
131
|
+
this._trend.push(entry);
|
|
132
|
+
return entry;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* getTrend — Returns the full trend history (oldest first).
|
|
136
|
+
*/
|
|
137
|
+
getTrend() {
|
|
138
|
+
return [...this._trend];
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* getSnapshot — Returns a full dashboard snapshot for diagnostics rendering.
|
|
142
|
+
*/
|
|
143
|
+
getSnapshot() {
|
|
144
|
+
const report = this._simulator.getDivergenceReport();
|
|
145
|
+
return {
|
|
146
|
+
report,
|
|
147
|
+
mode: this._mode,
|
|
148
|
+
gate: this._computeGate(report.overall),
|
|
149
|
+
trend: this.getTrend(),
|
|
150
|
+
capturedAt: Date.now(),
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* setMode — Updates the tracked simulation mode.
|
|
155
|
+
*
|
|
156
|
+
* Does NOT modify the underlying simulator (which has an immutable mode).
|
|
157
|
+
* This is for dashboard display purposes when the caller manages mode
|
|
158
|
+
* transitions externally.
|
|
159
|
+
*
|
|
160
|
+
* Throws if an attempt is made to set `enforce` mode while the gate is
|
|
161
|
+
* `blocked`. This is the primary enforcement mechanism for the divergence gate.
|
|
162
|
+
*
|
|
163
|
+
* @throws {DivergenceGateError} when attempting to enable enforce mode
|
|
164
|
+
* while divergence exceeds the configured threshold.
|
|
165
|
+
*/
|
|
166
|
+
setMode(mode) {
|
|
167
|
+
if (mode === 'enforce') {
|
|
168
|
+
const gate = this.checkEnforceGate();
|
|
169
|
+
if (gate.status === 'blocked') {
|
|
170
|
+
throw new DivergenceGateError(gate.message, gate);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
this._mode = mode;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* getMode — Returns the currently tracked simulation mode.
|
|
177
|
+
*/
|
|
178
|
+
getMode() {
|
|
179
|
+
return this._mode;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* getThreshold — Returns the configured divergence threshold.
|
|
183
|
+
*/
|
|
184
|
+
getThreshold() {
|
|
185
|
+
return this._threshold;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* isGatePassing — Convenience accessor; true unless gate is `blocked`.
|
|
189
|
+
*/
|
|
190
|
+
isGatePassing() {
|
|
191
|
+
return this.checkEnforceGate().status !== 'blocked';
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
// ── DivergenceGateError ───────────────────────────────────────────────────────
|
|
195
|
+
/**
|
|
196
|
+
* Thrown by `DivergenceDashboard.setMode('enforce')` when the divergence
|
|
197
|
+
* gate is in `blocked` state.
|
|
198
|
+
*/
|
|
199
|
+
export class DivergenceGateError extends Error {
|
|
200
|
+
/** The full gate result at the time the error was thrown. */
|
|
201
|
+
gate;
|
|
202
|
+
constructor(message, gate) {
|
|
203
|
+
super(message);
|
|
204
|
+
this.name = 'DivergenceGateError';
|
|
205
|
+
this.gate = gate;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runtime permissions evaluator.
|
|
3
|
+
*
|
|
4
|
+
* Evaluates tool calls through a layered priority stack. First match wins.
|
|
5
|
+
*/
|
|
6
|
+
import type { PermissionDecision, PermissionMode, PermissionsConfig } from './types.js';
|
|
7
|
+
import type { BundleProvenance } from './policy-loader.js';
|
|
8
|
+
import { DecisionLog } from './decision-log.js';
|
|
9
|
+
/**
|
|
10
|
+
* LayeredPolicyEvaluator — Core runtime permissions evaluator.
|
|
11
|
+
*
|
|
12
|
+
* Evaluates tool calls through five layers in priority order.
|
|
13
|
+
* Maintains a session approval cache and a structured audit log.
|
|
14
|
+
*
|
|
15
|
+
* Usage:
|
|
16
|
+
* ```ts
|
|
17
|
+
* const evaluator = new LayeredPolicyEvaluator({ mode: 'default', rules: [] });
|
|
18
|
+
* const decision = evaluator.evaluate('write', { path: '/tmp/out.txt' });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare class LayeredPolicyEvaluator {
|
|
22
|
+
private readonly mode;
|
|
23
|
+
private readonly rules;
|
|
24
|
+
private readonly defaultEffect;
|
|
25
|
+
private readonly projectRoot?;
|
|
26
|
+
private readonly sessionCache;
|
|
27
|
+
private sessionCacheInsertOrder;
|
|
28
|
+
readonly log: DecisionLog;
|
|
29
|
+
/** GC-PERM-011: Provenance from the loaded policy bundle, if any. */
|
|
30
|
+
private readonly provenance?;
|
|
31
|
+
private static readonly MAX_SESSION_CACHE_SIZE;
|
|
32
|
+
constructor(config: PermissionsConfig, provenance?: BundleProvenance);
|
|
33
|
+
/**
|
|
34
|
+
* evaluate — Evaluates a tool call and returns a PermissionDecision.
|
|
35
|
+
*
|
|
36
|
+
* Runs all five layers in priority order. Populates a full evaluation trace.
|
|
37
|
+
* Appends the decision to the audit log if `auditLog` is enabled (default: true).
|
|
38
|
+
*
|
|
39
|
+
* @param toolName — The tool name being called.
|
|
40
|
+
* @param args — The arguments passed to the tool.
|
|
41
|
+
*/
|
|
42
|
+
evaluate(toolName: string, args: Record<string, unknown>): PermissionDecision;
|
|
43
|
+
/**
|
|
44
|
+
* recordSessionOverride — Records a user-provided session approval/denial
|
|
45
|
+
* in the cache (used after a user prompt resolves).
|
|
46
|
+
*
|
|
47
|
+
* @param toolName — Tool name.
|
|
48
|
+
* @param args — Tool arguments.
|
|
49
|
+
* @param approved — Whether the user approved or denied.
|
|
50
|
+
* @param remember — Whether to persist for the session (default: false = once only).
|
|
51
|
+
*/
|
|
52
|
+
recordSessionOverride(toolName: string, args: Record<string, unknown>, approved: boolean, remember?: boolean): void;
|
|
53
|
+
/**
|
|
54
|
+
* getMode — Returns the active PermissionMode.
|
|
55
|
+
*/
|
|
56
|
+
getMode(): PermissionMode;
|
|
57
|
+
private finalize;
|
|
58
|
+
private getSessionKey;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=evaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluator.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/permissions/evaluator.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EACV,kBAAkB,EAClB,cAAc,EAMd,iBAAiB,EAClB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAmNhD;;;;;;;;;;;GAWG;AACH,qBAAa,sBAAsB;IACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAiB;IACtC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAe;IACrC,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAmB;IACjD,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAS;IACtC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAmC;IAChE,OAAO,CAAC,uBAAuB,CAAgB;IAC/C,QAAQ,CAAC,GAAG,EAAE,WAAW,CAAC;IAC1B,qEAAqE;IACrE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAmB;IAE/C,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,sBAAsB,CAAO;gBAEzC,MAAM,EAAE,iBAAiB,EAAE,UAAU,CAAC,EAAE,gBAAgB;IASpE;;;;;;;;OAQG;IACH,QAAQ,CACN,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC5B,kBAAkB;IAuHrB;;;;;;;;OAQG;IACH,qBAAqB,CACnB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,QAAQ,EAAE,OAAO,EACjB,QAAQ,UAAQ,GACf,IAAI;IAeP;;OAEG;IACH,OAAO,IAAI,cAAc;IAMzB,OAAO,CAAC,QAAQ;IA6BhB,OAAO,CAAC,aAAa;CAUtB"}
|