@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,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PanelHealthMonitor — enforces per-panel resource contracts.
|
|
3
|
+
*
|
|
4
|
+
* Tracks update rate and render cost per panel. Panels that exceed their
|
|
5
|
+
* contracted budget are throttled (render gated to a minimum interval).
|
|
6
|
+
* Panels with sustained violations are degraded (rendered at a fixed low rate).
|
|
7
|
+
*
|
|
8
|
+
* The monitor does NOT render panels itself — callers ask canRender() before
|
|
9
|
+
* rendering and report the actual render cost via recordRender().
|
|
10
|
+
*
|
|
11
|
+
* This keeps the monitor policy-focused and the rendering path ignorant of
|
|
12
|
+
* throttling policy details.
|
|
13
|
+
*/
|
|
14
|
+
import type { PanelResourceContract, PanelHealthState } from './panel-contracts.js';
|
|
15
|
+
/**
|
|
16
|
+
* PanelHealthMonitor — tracks panel resource usage and enforces budgets.
|
|
17
|
+
*
|
|
18
|
+
* Usage:
|
|
19
|
+
* 1. Register panels with register(panelId, category).
|
|
20
|
+
* 2. Before rendering: if (!monitor.canRender(panelId, now)) skip the render.
|
|
21
|
+
* 3. After rendering: monitor.recordRender(panelId, durationMs, now).
|
|
22
|
+
* 4. Read health via getHealth(panelId) or getAllHealth().
|
|
23
|
+
*/
|
|
24
|
+
export declare class PanelHealthMonitor {
|
|
25
|
+
private readonly _tracks;
|
|
26
|
+
/**
|
|
27
|
+
* Register a panel with the monitor.
|
|
28
|
+
*
|
|
29
|
+
* If the panel is already registered, this is a no-op.
|
|
30
|
+
*
|
|
31
|
+
* @param panelId - Unique panel identifier.
|
|
32
|
+
* @param category - Panel category (used to select the base contract).
|
|
33
|
+
* @param contractOverrides - Optional per-panel contract overrides.
|
|
34
|
+
*/
|
|
35
|
+
register(panelId: string, category: string, contractOverrides?: Partial<Omit<PanelResourceContract, 'panelId'>>): void;
|
|
36
|
+
/**
|
|
37
|
+
* Deregister a panel, removing all tracking state.
|
|
38
|
+
*/
|
|
39
|
+
deregister(panelId: string): void;
|
|
40
|
+
/**
|
|
41
|
+
* Check whether a panel is permitted to render at the given time.
|
|
42
|
+
*
|
|
43
|
+
* Records the render request for rate tracking regardless of the outcome.
|
|
44
|
+
* If the panel is not registered, renders are always permitted.
|
|
45
|
+
*
|
|
46
|
+
* @param panelId - Panel to check.
|
|
47
|
+
* @param now - Current epoch ms (defaults to Date.now()).
|
|
48
|
+
* @returns true if the render is permitted; false if it should be skipped.
|
|
49
|
+
*/
|
|
50
|
+
canRender(panelId: string, now?: number): boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Record the actual render duration for a panel.
|
|
53
|
+
*
|
|
54
|
+
* Should be called after every permitted render completes. Updates the
|
|
55
|
+
* p95 render cost and may escalate the panel's throttle status if the
|
|
56
|
+
* render cost budget is violated.
|
|
57
|
+
*
|
|
58
|
+
* @param panelId - Panel that rendered.
|
|
59
|
+
* @param durationMs - Actual render duration in milliseconds.
|
|
60
|
+
* @param now - Epoch ms at render completion (defaults to Date.now()).
|
|
61
|
+
*/
|
|
62
|
+
recordRender(panelId: string, durationMs: number, now?: number): void;
|
|
63
|
+
/**
|
|
64
|
+
* Return the current health state for a panel, or undefined if not registered.
|
|
65
|
+
*/
|
|
66
|
+
getHealth(panelId: string): PanelHealthState | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Return health states for all registered panels.
|
|
69
|
+
*/
|
|
70
|
+
getAllHealth(): PanelHealthState[];
|
|
71
|
+
/**
|
|
72
|
+
* Return the resource contract for a registered panel, or undefined.
|
|
73
|
+
*/
|
|
74
|
+
getContract(panelId: string): PanelResourceContract | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* Forcibly reset a panel's health state to normal.
|
|
77
|
+
* Useful for tests or manual operator intervention.
|
|
78
|
+
*/
|
|
79
|
+
resetHealth(panelId: string): void;
|
|
80
|
+
private _rotateWindow;
|
|
81
|
+
private _applyViolation;
|
|
82
|
+
/**
|
|
83
|
+
* Dual-path recovery: `_recordClean` handles render-cost-based recovery
|
|
84
|
+
* (triggered from `recordRender` after a cheap render), while `_rotateWindow`
|
|
85
|
+
* handles rate-based recovery (triggered at window boundaries). Both paths
|
|
86
|
+
* call `_recover` once the clean-window threshold is met, so either signal
|
|
87
|
+
* alone is sufficient to restore a panel to normal status.
|
|
88
|
+
*/
|
|
89
|
+
private _recordClean;
|
|
90
|
+
private _recover;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=panel-health-monitor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"panel-health-monitor.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/perf/panel-health-monitor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAqCpF;;;;;;;;GAQG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAsC;IAE9D;;;;;;;;OAQG;IACH,QAAQ,CACN,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,iBAAiB,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,GAClE,IAAI;IAgBP;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAIjC;;;;;;;;;OASG;IACH,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,GAAE,MAAmB,GAAG,OAAO;IAmC7D;;;;;;;;;;OAUG;IACH,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,GAAE,MAAmB,GAAG,IAAI;IA2BjF;;OAEG;IACH,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,gBAAgB,GAAG,SAAS;IAIxD;;OAEG;IACH,YAAY,IAAI,gBAAgB,EAAE;IAIlC;;OAEG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS;IAI/D;;;OAGG;IACH,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAalC,OAAO,CAAC,aAAa;IA2BrB,OAAO,CAAC,eAAe;IAiBvB;;;;;;OAMG;IACH,OAAO,CAAC,YAAY;IASpB,OAAO,CAAC,QAAQ;CAOjB"}
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PanelHealthMonitor — enforces per-panel resource contracts.
|
|
3
|
+
*
|
|
4
|
+
* Tracks update rate and render cost per panel. Panels that exceed their
|
|
5
|
+
* contracted budget are throttled (render gated to a minimum interval).
|
|
6
|
+
* Panels with sustained violations are degraded (rendered at a fixed low rate).
|
|
7
|
+
*
|
|
8
|
+
* The monitor does NOT render panels itself — callers ask canRender() before
|
|
9
|
+
* rendering and report the actual render cost via recordRender().
|
|
10
|
+
*
|
|
11
|
+
* This keeps the monitor policy-focused and the rendering path ignorant of
|
|
12
|
+
* throttling policy details.
|
|
13
|
+
*/
|
|
14
|
+
import { CATEGORY_CONTRACTS, buildContract, createInitialPanelHealthState, } from './panel-contracts.js';
|
|
15
|
+
/** Measurement window for update-rate enforcement (ms). */
|
|
16
|
+
const RATE_WINDOW_MS = 1000;
|
|
17
|
+
/** Number of recent render durations to keep for p95 calculation. */
|
|
18
|
+
const RENDER_SAMPLE_CAPACITY = 20;
|
|
19
|
+
/** Recovery: violations reset to 0 after this many consecutive clean windows. */
|
|
20
|
+
const RECOVERY_CLEAN_WINDOWS = 3;
|
|
21
|
+
/**
|
|
22
|
+
* PanelHealthMonitor — tracks panel resource usage and enforces budgets.
|
|
23
|
+
*
|
|
24
|
+
* Usage:
|
|
25
|
+
* 1. Register panels with register(panelId, category).
|
|
26
|
+
* 2. Before rendering: if (!monitor.canRender(panelId, now)) skip the render.
|
|
27
|
+
* 3. After rendering: monitor.recordRender(panelId, durationMs, now).
|
|
28
|
+
* 4. Read health via getHealth(panelId) or getAllHealth().
|
|
29
|
+
*/
|
|
30
|
+
export class PanelHealthMonitor {
|
|
31
|
+
_tracks = new Map();
|
|
32
|
+
/**
|
|
33
|
+
* Register a panel with the monitor.
|
|
34
|
+
*
|
|
35
|
+
* If the panel is already registered, this is a no-op.
|
|
36
|
+
*
|
|
37
|
+
* @param panelId - Unique panel identifier.
|
|
38
|
+
* @param category - Panel category (used to select the base contract).
|
|
39
|
+
* @param contractOverrides - Optional per-panel contract overrides.
|
|
40
|
+
*/
|
|
41
|
+
register(panelId, category, contractOverrides) {
|
|
42
|
+
if (this._tracks.has(panelId))
|
|
43
|
+
return;
|
|
44
|
+
const contract = buildContract(panelId, category, contractOverrides);
|
|
45
|
+
const health = createInitialPanelHealthState(panelId);
|
|
46
|
+
this._tracks.set(panelId, {
|
|
47
|
+
contract,
|
|
48
|
+
health,
|
|
49
|
+
renderSamples: { buf: new Array(RENDER_SAMPLE_CAPACITY), head: 0, size: 0 },
|
|
50
|
+
windowRequests: [],
|
|
51
|
+
cleanWindows: 0,
|
|
52
|
+
windowStart: 0,
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Deregister a panel, removing all tracking state.
|
|
57
|
+
*/
|
|
58
|
+
deregister(panelId) {
|
|
59
|
+
this._tracks.delete(panelId);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check whether a panel is permitted to render at the given time.
|
|
63
|
+
*
|
|
64
|
+
* Records the render request for rate tracking regardless of the outcome.
|
|
65
|
+
* If the panel is not registered, renders are always permitted.
|
|
66
|
+
*
|
|
67
|
+
* @param panelId - Panel to check.
|
|
68
|
+
* @param now - Current epoch ms (defaults to Date.now()).
|
|
69
|
+
* @returns true if the render is permitted; false if it should be skipped.
|
|
70
|
+
*/
|
|
71
|
+
canRender(panelId, now = Date.now()) {
|
|
72
|
+
const track = this._tracks.get(panelId);
|
|
73
|
+
if (!track)
|
|
74
|
+
return true; // unregistered panels are always permitted
|
|
75
|
+
// Rotate the measurement window if needed
|
|
76
|
+
this._rotateWindow(track, now);
|
|
77
|
+
// Gate on throttle/degrade interval
|
|
78
|
+
if (now < track.health.nextAllowedAt) {
|
|
79
|
+
track.health.totalSuppressed++;
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
// Record this request in the current window
|
|
83
|
+
track.windowRequests.push(now);
|
|
84
|
+
// Check update rate limit
|
|
85
|
+
let requestsInWindow = 0;
|
|
86
|
+
for (const t of track.windowRequests) {
|
|
87
|
+
if (now - t < RATE_WINDOW_MS)
|
|
88
|
+
requestsInWindow++;
|
|
89
|
+
}
|
|
90
|
+
// Note: stale entries older than RATE_WINDOW_MS are pruned at window rotation, not here
|
|
91
|
+
const maxPerWindow = track.contract.maxUpdatesPerSecond;
|
|
92
|
+
if (requestsInWindow > maxPerWindow) {
|
|
93
|
+
// Rate exceeded: throttle or degrade
|
|
94
|
+
this._applyViolation(track, now);
|
|
95
|
+
track.health.totalSuppressed++;
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
track.health.totalPermitted++;
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Record the actual render duration for a panel.
|
|
103
|
+
*
|
|
104
|
+
* Should be called after every permitted render completes. Updates the
|
|
105
|
+
* p95 render cost and may escalate the panel's throttle status if the
|
|
106
|
+
* render cost budget is violated.
|
|
107
|
+
*
|
|
108
|
+
* @param panelId - Panel that rendered.
|
|
109
|
+
* @param durationMs - Actual render duration in milliseconds.
|
|
110
|
+
* @param now - Epoch ms at render completion (defaults to Date.now()).
|
|
111
|
+
*/
|
|
112
|
+
recordRender(panelId, durationMs, now = Date.now()) {
|
|
113
|
+
const track = this._tracks.get(panelId);
|
|
114
|
+
if (!track)
|
|
115
|
+
return;
|
|
116
|
+
// Add sample to ring buffer (O(1) modular index — no shift/realloc)
|
|
117
|
+
const rb = track.renderSamples;
|
|
118
|
+
rb.buf[rb.head] = durationMs;
|
|
119
|
+
rb.head = (rb.head + 1) % RENDER_SAMPLE_CAPACITY;
|
|
120
|
+
if (rb.size < RENDER_SAMPLE_CAPACITY)
|
|
121
|
+
rb.size++;
|
|
122
|
+
// Update p95
|
|
123
|
+
const samples = rb.buf.slice(0, rb.size);
|
|
124
|
+
samples.sort((a, b) => a - b); // sort in-place, no second copy
|
|
125
|
+
const p95Val = samples[Math.ceil(samples.length * 0.95) - 1] ?? 0;
|
|
126
|
+
track.health.renderP95Ms = p95Val;
|
|
127
|
+
track.health.lastRenderAt = now;
|
|
128
|
+
track.health.rendersInWindow++;
|
|
129
|
+
// Check render cost budget
|
|
130
|
+
if (track.health.renderP95Ms > track.contract.maxRenderMs) {
|
|
131
|
+
this._applyViolation(track, now);
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
// Render cost within budget — count as a clean observation
|
|
135
|
+
this._recordClean(track);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Return the current health state for a panel, or undefined if not registered.
|
|
140
|
+
*/
|
|
141
|
+
getHealth(panelId) {
|
|
142
|
+
return this._tracks.get(panelId)?.health;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Return health states for all registered panels.
|
|
146
|
+
*/
|
|
147
|
+
getAllHealth() {
|
|
148
|
+
return Array.from(this._tracks.values()).map((t) => ({ ...t.health }));
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Return the resource contract for a registered panel, or undefined.
|
|
152
|
+
*/
|
|
153
|
+
getContract(panelId) {
|
|
154
|
+
return this._tracks.get(panelId)?.contract;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Forcibly reset a panel's health state to normal.
|
|
158
|
+
* Useful for tests or manual operator intervention.
|
|
159
|
+
*/
|
|
160
|
+
resetHealth(panelId) {
|
|
161
|
+
const track = this._tracks.get(panelId);
|
|
162
|
+
if (!track)
|
|
163
|
+
return;
|
|
164
|
+
track.health = createInitialPanelHealthState(panelId);
|
|
165
|
+
track.renderSamples = { buf: new Array(RENDER_SAMPLE_CAPACITY), head: 0, size: 0 };
|
|
166
|
+
track.windowRequests = [];
|
|
167
|
+
track.cleanWindows = 0;
|
|
168
|
+
}
|
|
169
|
+
// ---------------------------------------------------------------------------
|
|
170
|
+
// Private helpers
|
|
171
|
+
// ---------------------------------------------------------------------------
|
|
172
|
+
_rotateWindow(track, now) {
|
|
173
|
+
if (track.windowStart === 0) {
|
|
174
|
+
track.windowStart = now;
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
if (now - track.windowStart >= RATE_WINDOW_MS) {
|
|
178
|
+
// Check for recovery
|
|
179
|
+
let requestsLastWindow = 0;
|
|
180
|
+
for (const t of track.windowRequests) {
|
|
181
|
+
if (t >= track.windowStart && t < track.windowStart + RATE_WINDOW_MS)
|
|
182
|
+
requestsLastWindow++;
|
|
183
|
+
}
|
|
184
|
+
const withinBudget = requestsLastWindow <= track.contract.maxUpdatesPerSecond;
|
|
185
|
+
if (withinBudget) {
|
|
186
|
+
track.cleanWindows++;
|
|
187
|
+
if (track.cleanWindows >= RECOVERY_CLEAN_WINDOWS) {
|
|
188
|
+
this._recover(track);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
else {
|
|
192
|
+
track.cleanWindows = 0;
|
|
193
|
+
}
|
|
194
|
+
// Discard old requests
|
|
195
|
+
track.windowRequests = track.windowRequests.filter((t) => now - t < RATE_WINDOW_MS);
|
|
196
|
+
track.windowStart = now;
|
|
197
|
+
track.health.rendersInWindow = 0;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
_applyViolation(track, now) {
|
|
201
|
+
track.health.consecutiveViolations++;
|
|
202
|
+
track.cleanWindows = 0;
|
|
203
|
+
if (track.health.consecutiveViolations >= track.contract.degradeAfterViolations) {
|
|
204
|
+
// Escalate to degraded
|
|
205
|
+
track.health.throttleStatus = 'degraded';
|
|
206
|
+
track.health.healthStatus = 'overloaded';
|
|
207
|
+
track.health.nextAllowedAt = now + track.contract.degradedIntervalMs;
|
|
208
|
+
}
|
|
209
|
+
else {
|
|
210
|
+
// Apply standard throttle
|
|
211
|
+
track.health.throttleStatus = 'throttled';
|
|
212
|
+
track.health.healthStatus = 'warning';
|
|
213
|
+
track.health.nextAllowedAt = now + track.contract.throttleIntervalMs;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Dual-path recovery: `_recordClean` handles render-cost-based recovery
|
|
218
|
+
* (triggered from `recordRender` after a cheap render), while `_rotateWindow`
|
|
219
|
+
* handles rate-based recovery (triggered at window boundaries). Both paths
|
|
220
|
+
* call `_recover` once the clean-window threshold is met, so either signal
|
|
221
|
+
* alone is sufficient to restore a panel to normal status.
|
|
222
|
+
*/
|
|
223
|
+
_recordClean(track) {
|
|
224
|
+
// Only advance recovery if we're already throttled/degraded
|
|
225
|
+
if (track.health.throttleStatus === 'normal')
|
|
226
|
+
return;
|
|
227
|
+
track.cleanWindows++;
|
|
228
|
+
if (track.cleanWindows >= RECOVERY_CLEAN_WINDOWS) {
|
|
229
|
+
this._recover(track);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
_recover(track) {
|
|
233
|
+
track.health.throttleStatus = 'normal';
|
|
234
|
+
track.health.healthStatus = 'healthy';
|
|
235
|
+
track.health.consecutiveViolations = 0;
|
|
236
|
+
track.health.nextAllowedAt = 0;
|
|
237
|
+
track.cleanWindows = 0;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PerfReporter — formats a PerfReport as a human-readable console table
|
|
3
|
+
* and provides an exit code for CI integration.
|
|
4
|
+
*/
|
|
5
|
+
import type { PerfReport } from './types.js';
|
|
6
|
+
/**
|
|
7
|
+
* Formats a PerfReport as a multi-line string suitable for console output.
|
|
8
|
+
* Includes a header, per-metric rows, a summary, and violation details.
|
|
9
|
+
*/
|
|
10
|
+
export declare function formatReport(report: PerfReport): string;
|
|
11
|
+
/**
|
|
12
|
+
* Returns the appropriate process exit code for a report.
|
|
13
|
+
* 0 = all budgets passed; 1 = one or more violated.
|
|
14
|
+
*/
|
|
15
|
+
export declare function exitCode(report: PerfReport): number;
|
|
16
|
+
//# sourceMappingURL=reporter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reporter.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/perf/reporter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,UAAU,EAA2C,MAAM,YAAY,CAAC;AA4CtF;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CA6DvD;AAED;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAEnD"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PerfReporter — formats a PerfReport as a human-readable console table
|
|
3
|
+
* and provides an exit code for CI integration.
|
|
4
|
+
*/
|
|
5
|
+
/** Column widths for the console table. */
|
|
6
|
+
const COL = {
|
|
7
|
+
metric: 40,
|
|
8
|
+
value: 16,
|
|
9
|
+
threshold: 16,
|
|
10
|
+
status: 10,
|
|
11
|
+
};
|
|
12
|
+
/** Right-pads a string to the given width. */
|
|
13
|
+
function pad(str, width) {
|
|
14
|
+
return str.length >= width ? str.slice(0, width) : str + ' '.repeat(width - str.length);
|
|
15
|
+
}
|
|
16
|
+
/** Formats a numeric value with its unit for display. */
|
|
17
|
+
function formatValue(value, unit) {
|
|
18
|
+
if (unit === 'bytes') {
|
|
19
|
+
const mib = value / (1024 * 1024);
|
|
20
|
+
return `${mib.toFixed(1)} MiB/hr`;
|
|
21
|
+
}
|
|
22
|
+
if (unit === 'ms')
|
|
23
|
+
return `${value.toFixed(2)} ms`;
|
|
24
|
+
if (unit === 'percent')
|
|
25
|
+
return `${value.toFixed(1)}%`;
|
|
26
|
+
return `${value}`;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Builds a console-printable table row for a metric.
|
|
30
|
+
*/
|
|
31
|
+
function metricRow(metric, threshold, unit, violated) {
|
|
32
|
+
const status = violated ? 'FAIL' : 'ok';
|
|
33
|
+
return [
|
|
34
|
+
pad(metric.name, COL.metric),
|
|
35
|
+
pad(formatValue(metric.value, unit), COL.value),
|
|
36
|
+
pad(formatValue(threshold, unit), COL.threshold),
|
|
37
|
+
pad(status, COL.status),
|
|
38
|
+
].join(' | ');
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Formats a PerfReport as a multi-line string suitable for console output.
|
|
42
|
+
* Includes a header, per-metric rows, a summary, and violation details.
|
|
43
|
+
*/
|
|
44
|
+
export function formatReport(report) {
|
|
45
|
+
const lines = [];
|
|
46
|
+
const hr = '-'.repeat(COL.metric + COL.value + COL.threshold + COL.status + 9); // 3 column separators × 3 chars each (" | ")
|
|
47
|
+
lines.push('');
|
|
48
|
+
lines.push('Performance Budget Report');
|
|
49
|
+
lines.push(new Date(report.timestamp).toISOString());
|
|
50
|
+
lines.push(hr);
|
|
51
|
+
lines.push([
|
|
52
|
+
pad('Metric', COL.metric),
|
|
53
|
+
pad('Actual', COL.value),
|
|
54
|
+
pad('Budget', COL.threshold),
|
|
55
|
+
pad('Status', COL.status),
|
|
56
|
+
].join(' | '));
|
|
57
|
+
lines.push(hr);
|
|
58
|
+
// Index violations by metric name for O(1) lookup
|
|
59
|
+
const violatedMetrics = new Set(report.violations.map((v) => v.budget.metric));
|
|
60
|
+
for (const metric of report.metrics) {
|
|
61
|
+
// Prefer violation budget info; fall back to DEFAULT_BUDGETS for passing metrics
|
|
62
|
+
const violation = report.violations.find((v) => v.budget.metric === metric.name);
|
|
63
|
+
const knownBudget = violation?.budget ??
|
|
64
|
+
report.violations.find((v) => v.budget.metric === metric.name)?.budget;
|
|
65
|
+
const threshold = knownBudget?.threshold ?? Infinity;
|
|
66
|
+
const unit = knownBudget?.unit ?? metric.unit;
|
|
67
|
+
lines.push(metricRow(metric, threshold, unit, violatedMetrics.has(metric.name)));
|
|
68
|
+
}
|
|
69
|
+
lines.push(hr);
|
|
70
|
+
if (report.passed) {
|
|
71
|
+
lines.push('Result: PASSED — all budgets within tolerance');
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
lines.push(`Result: FAILED — ${report.violations.length} budget(s) exceeded tolerance`);
|
|
75
|
+
lines.push('');
|
|
76
|
+
lines.push('Violations:');
|
|
77
|
+
for (const v of report.violations) {
|
|
78
|
+
if (v.warning) {
|
|
79
|
+
lines.push(` ${v.budget.name}: WARNING — ${v.warning}`);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
lines.push(` ${v.budget.name}: actual=${formatValue(v.actual, v.budget.unit)} ` +
|
|
83
|
+
`budget=${formatValue(v.budget.threshold, v.budget.unit)} ` +
|
|
84
|
+
`exceeded_by=${formatValue(v.exceededBy, v.budget.unit)} ` +
|
|
85
|
+
`consecutive=${v.consecutiveViolations}/${v.budget.tolerance}`);
|
|
86
|
+
}
|
|
87
|
+
lines.push(` ${v.budget.description}`);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
lines.push('');
|
|
91
|
+
return lines.join('\n');
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Returns the appropriate process exit code for a report.
|
|
95
|
+
* 0 = all budgets passed; 1 = one or more violated.
|
|
96
|
+
*/
|
|
97
|
+
export function exitCode(report) {
|
|
98
|
+
return report.passed ? 0 : 1;
|
|
99
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */
|
|
2
|
+
/**
|
|
3
|
+
* Performance budget types for CI regression gates.
|
|
4
|
+
*
|
|
5
|
+
* Defines the contracts for budget definitions, collected metrics,
|
|
6
|
+
* violations, and aggregated reports.
|
|
7
|
+
*/
|
|
8
|
+
/** Unit of measurement for a performance budget threshold. */
|
|
9
|
+
export type PerfUnit = 'ms' | 'bytes' | 'count' | 'percent';
|
|
10
|
+
/**
|
|
11
|
+
* A performance budget defines an acceptable threshold for a named metric.
|
|
12
|
+
* Violations are tracked consecutively; failure occurs when consecutiveViolations
|
|
13
|
+
* exceeds the tolerance.
|
|
14
|
+
*/
|
|
15
|
+
export interface PerfBudget {
|
|
16
|
+
/** Human-readable name for this budget. */
|
|
17
|
+
name: string;
|
|
18
|
+
/** The metric key this budget applies to. */
|
|
19
|
+
metric: string;
|
|
20
|
+
/** Acceptable upper bound for the metric value. */
|
|
21
|
+
threshold: number;
|
|
22
|
+
/** Unit of the threshold value. */
|
|
23
|
+
unit: PerfUnit;
|
|
24
|
+
/** Number of consecutive violations that triggers failure (e.g., 3 means fail on 3rd consecutive violation). */
|
|
25
|
+
tolerance: number;
|
|
26
|
+
/** Describes what this budget measures and why it matters. */
|
|
27
|
+
description: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A single performance metric sample collected at a point in time.
|
|
31
|
+
*/
|
|
32
|
+
export interface PerfMetric {
|
|
33
|
+
/** The metric key (should match a PerfBudget.metric). */
|
|
34
|
+
name: string;
|
|
35
|
+
/** The sampled value. */
|
|
36
|
+
value: number;
|
|
37
|
+
/** Unit of the value. */
|
|
38
|
+
unit: string;
|
|
39
|
+
/** Unix epoch milliseconds when this sample was collected. */
|
|
40
|
+
timestamp: number;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A budget violation record, produced when a metric exceeds its threshold.
|
|
44
|
+
*/
|
|
45
|
+
export interface BudgetViolation {
|
|
46
|
+
/** The budget that was violated. */
|
|
47
|
+
budget: PerfBudget;
|
|
48
|
+
/** The actual metric value that triggered the violation. */
|
|
49
|
+
actual: number;
|
|
50
|
+
/** How much the actual value exceeded the threshold (actual - threshold). */
|
|
51
|
+
exceededBy: number;
|
|
52
|
+
/** Number of consecutive samples that have violated this budget. */
|
|
53
|
+
consecutiveViolations: number;
|
|
54
|
+
/** Warning message when the metric was not found in the snapshot. */
|
|
55
|
+
warning?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Aggregated performance report produced by a monitoring run.
|
|
59
|
+
*/
|
|
60
|
+
export interface PerfReport {
|
|
61
|
+
/** Unix epoch milliseconds when this report was generated. */
|
|
62
|
+
timestamp: number;
|
|
63
|
+
/** All metrics collected during this monitoring run. */
|
|
64
|
+
metrics: PerfMetric[];
|
|
65
|
+
/** Violations where consecutiveViolations exceeds tolerance. */
|
|
66
|
+
violations: BudgetViolation[];
|
|
67
|
+
/** True if all budgets passed (no active violations). */
|
|
68
|
+
passed: boolean;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/perf/types.ts"],"names":[],"mappings":"AAAA,qFAAqF;AAErF;;;;;GAKG;AAEH,8DAA8D;AAC9D,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AAE5D;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,IAAI,EAAE,QAAQ,CAAC;IACf,gHAAgH;IAChH,SAAS,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,yDAAyD;IACzD,IAAI,EAAE,MAAM,CAAC;IACb,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,8DAA8D;IAC9D,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,oCAAoC;IACpC,MAAM,EAAE,UAAU,CAAC;IACnB,4DAA4D;IAC5D,MAAM,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,qBAAqB,EAAE,MAAM,CAAC;IAC9B,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,8DAA8D;IAC9D,SAAS,EAAE,MAAM,CAAC;IAClB,wDAAwD;IACxD,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,gEAAgE;IAChE,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,yDAAyD;IACzD,MAAM,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -0,0 +1,98 @@
|
|
|
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
|
+
import type { PermissionDecision } from './types.js';
|
|
11
|
+
/**
|
|
12
|
+
* A decorated audit log entry wrapping a PermissionDecision with
|
|
13
|
+
* a monotonic sequence number for ordered retrieval.
|
|
14
|
+
*/
|
|
15
|
+
export interface DecisionLogEntry {
|
|
16
|
+
/** Monotonic sequence number (1-based, increments per decision). */
|
|
17
|
+
seq: number;
|
|
18
|
+
/** The full permission decision record. */
|
|
19
|
+
decision: PermissionDecision;
|
|
20
|
+
}
|
|
21
|
+
/** Filters for querying the decision log. */
|
|
22
|
+
export interface DecisionLogQuery {
|
|
23
|
+
/** Return only decisions for this tool name. */
|
|
24
|
+
toolName?: string;
|
|
25
|
+
/** Return only allow or only deny decisions. */
|
|
26
|
+
allowed?: boolean;
|
|
27
|
+
/** Return decisions after this timestamp (epoch ms, inclusive). */
|
|
28
|
+
since?: number;
|
|
29
|
+
/** Maximum number of entries to return (default: all). */
|
|
30
|
+
limit?: number;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* DecisionLog — Bounded circular buffer for permission decision audit records.
|
|
34
|
+
*
|
|
35
|
+
* Thread-safe for single-threaded Bun/Node runtimes (no async gaps in write path).
|
|
36
|
+
* Oldest entries are silently evicted when the buffer is full.
|
|
37
|
+
*
|
|
38
|
+
* Implements a true O(1) ring buffer with head/tail indexing to avoid O(n)
|
|
39
|
+
* Array.shift() evictions.
|
|
40
|
+
*/
|
|
41
|
+
export declare class DecisionLog {
|
|
42
|
+
/** Ring buffer storage (fixed-size array). */
|
|
43
|
+
private readonly buffer;
|
|
44
|
+
/** Write head: index where next entry will be written. */
|
|
45
|
+
private head;
|
|
46
|
+
/** Total entries currently stored (≤ maxEntries). */
|
|
47
|
+
private count;
|
|
48
|
+
private seq;
|
|
49
|
+
private readonly maxEntries;
|
|
50
|
+
constructor(maxEntries?: number);
|
|
51
|
+
/**
|
|
52
|
+
* append — Records a permission decision in the audit log.
|
|
53
|
+
*
|
|
54
|
+
* If the buffer has reached `maxEntries`, the oldest entry is silently evicted
|
|
55
|
+
* in O(1) time via ring buffer head advancement.
|
|
56
|
+
*
|
|
57
|
+
* @param decision — The completed PermissionDecision to record.
|
|
58
|
+
*/
|
|
59
|
+
append(decision: PermissionDecision): void;
|
|
60
|
+
/**
|
|
61
|
+
* toArray — Returns all current entries in chronological order (oldest first).
|
|
62
|
+
*/
|
|
63
|
+
private toArray;
|
|
64
|
+
/**
|
|
65
|
+
* query — Returns filtered log entries in chronological order.
|
|
66
|
+
*
|
|
67
|
+
* @param filters — Optional filter criteria.
|
|
68
|
+
*/
|
|
69
|
+
query(filters?: DecisionLogQuery): DecisionLogEntry[];
|
|
70
|
+
/**
|
|
71
|
+
* latest — Returns the most recent decision, or undefined if the log is empty.
|
|
72
|
+
*/
|
|
73
|
+
latest(): DecisionLogEntry | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* size — Returns the current number of entries in the buffer.
|
|
76
|
+
*/
|
|
77
|
+
get size(): number;
|
|
78
|
+
/**
|
|
79
|
+
* totalRecorded — Returns the total number of decisions ever recorded
|
|
80
|
+
* (including evicted entries). Monotonically increasing.
|
|
81
|
+
*/
|
|
82
|
+
get totalRecorded(): number;
|
|
83
|
+
/**
|
|
84
|
+
* clear — Empties the log and resets the sequence counter.
|
|
85
|
+
* Primarily useful in tests.
|
|
86
|
+
*/
|
|
87
|
+
clear(): void;
|
|
88
|
+
/**
|
|
89
|
+
* summary — Returns aggregate counts of allow/deny decisions.
|
|
90
|
+
*/
|
|
91
|
+
summary(): {
|
|
92
|
+
total: number;
|
|
93
|
+
allowed: number;
|
|
94
|
+
denied: number;
|
|
95
|
+
evicted: number;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=decision-log.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decision-log.d.ts","sourceRoot":"","sources":["../../../../../src/_internal/platform/runtime/permissions/decision-log.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AASrD;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B,oEAAoE;IACpE,GAAG,EAAE,MAAM,CAAC;IACZ,2CAA2C;IAC3C,QAAQ,EAAE,kBAAkB,CAAC;CAC9B;AAID,6CAA6C;AAC7C,MAAM,WAAW,gBAAgB;IAC/B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAID;;;;;;;;GAQG;AACH,qBAAa,WAAW;IACtB,8CAA8C;IAC9C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmC;IAC1D,0DAA0D;IAC1D,OAAO,CAAC,IAAI,CAAK;IACjB,qDAAqD;IACrD,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,GAAG,CAAK;IAChB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAS;gBAExB,UAAU,GAAE,MAA4B;IAKpD;;;;;;;OAOG;IACH,MAAM,CAAC,QAAQ,EAAE,kBAAkB,GAAG,IAAI;IAQ1C;;OAEG;IACH,OAAO,CAAC,OAAO;IAWf;;;;OAIG;IACH,KAAK,CAAC,OAAO,GAAE,gBAAqB,GAAG,gBAAgB,EAAE;IAmBzD;;OAEG;IACH,MAAM,IAAI,gBAAgB,GAAG,SAAS;IAOtC;;OAEG;IACH,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED;;;OAGG;IACH,IAAI,aAAa,IAAI,MAAM,CAE1B;IAED;;;OAGG;IACH,KAAK,IAAI,IAAI;IAOb;;OAEG;IACH,OAAO,IAAI;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;CAU/E"}
|