@pellux/goodvibes-sdk 0.18.3 → 0.18.11
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/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/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/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/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/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-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-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-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/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/platform/acp/protocol.d.ts +44 -0
- package/dist/platform/acp/protocol.d.ts.map +1 -0
- package/dist/platform/acp/protocol.js +7 -0
- package/dist/platform/adapters/helpers.d.ts +7 -0
- package/dist/platform/adapters/helpers.d.ts.map +1 -0
- package/dist/platform/adapters/helpers.js +60 -0
- package/dist/platform/agents/archetypes.d.ts +68 -0
- package/dist/platform/agents/archetypes.d.ts.map +1 -0
- package/dist/platform/agents/archetypes.js +272 -0
- package/dist/platform/agents/communication-policy.d.ts +21 -0
- package/dist/platform/agents/communication-policy.d.ts.map +1 -0
- package/dist/platform/agents/communication-policy.js +55 -0
- package/dist/platform/agents/completion-report.d.ts +77 -0
- package/dist/platform/agents/completion-report.d.ts.map +1 -0
- package/dist/platform/agents/completion-report.js +61 -0
- package/dist/platform/agents/orchestrator-utils.d.ts +7 -0
- package/dist/platform/agents/orchestrator-utils.d.ts.map +1 -0
- package/dist/platform/agents/orchestrator-utils.js +23 -0
- package/dist/platform/agents/wrfc-gates.d.ts +8 -0
- package/dist/platform/agents/wrfc-gates.d.ts.map +1 -0
- package/dist/platform/agents/wrfc-gates.js +74 -0
- package/dist/platform/agents/wrfc-plan-sync.d.ts +3 -0
- package/dist/platform/agents/wrfc-plan-sync.d.ts.map +1 -0
- package/dist/platform/agents/wrfc-plan-sync.js +21 -0
- package/dist/platform/agents/wrfc-workmap.d.ts +37 -0
- package/dist/platform/agents/wrfc-workmap.d.ts.map +1 -0
- package/dist/platform/agents/wrfc-workmap.js +81 -0
- package/dist/platform/artifacts/index.d.ts +4 -0
- package/dist/platform/artifacts/index.d.ts.map +1 -0
- package/dist/platform/artifacts/index.js +2 -0
- package/dist/platform/artifacts/store.d.ts +48 -0
- package/dist/platform/artifacts/store.d.ts.map +1 -0
- package/dist/platform/artifacts/store.js +403 -0
- package/dist/platform/artifacts/types.d.ts +55 -0
- package/dist/platform/artifacts/types.d.ts.map +1 -0
- package/dist/platform/artifacts/types.js +91 -0
- package/dist/platform/automation/delivery.d.ts +33 -0
- package/dist/platform/automation/delivery.d.ts.map +1 -0
- package/dist/platform/automation/delivery.js +4 -0
- package/dist/platform/automation/failures.d.ts +34 -0
- package/dist/platform/automation/failures.d.ts.map +1 -0
- package/dist/platform/automation/failures.js +4 -0
- package/dist/platform/automation/jobs.d.ts +30 -0
- package/dist/platform/automation/jobs.d.ts.map +1 -0
- package/dist/platform/automation/jobs.js +4 -0
- package/dist/platform/automation/migration.d.ts +12 -0
- package/dist/platform/automation/migration.d.ts.map +1 -0
- package/dist/platform/automation/migration.js +138 -0
- package/dist/platform/automation/routes.d.ts +33 -0
- package/dist/platform/automation/routes.d.ts.map +1 -0
- package/dist/platform/automation/routes.js +4 -0
- package/dist/platform/automation/runs.d.ts +63 -0
- package/dist/platform/automation/runs.d.ts.map +1 -0
- package/dist/platform/automation/runs.js +4 -0
- package/dist/platform/automation/schedules.d.ts +32 -0
- package/dist/platform/automation/schedules.d.ts.map +1 -0
- package/dist/platform/automation/schedules.js +183 -0
- package/dist/platform/automation/session-targets.d.ts +50 -0
- package/dist/platform/automation/session-targets.d.ts.map +1 -0
- package/dist/platform/automation/session-targets.js +4 -0
- package/dist/platform/automation/sources.d.ts +24 -0
- package/dist/platform/automation/sources.d.ts.map +1 -0
- package/dist/platform/automation/sources.js +4 -0
- package/dist/platform/automation/store/jobs.d.ts +18 -0
- package/dist/platform/automation/store/jobs.d.ts.map +1 -0
- package/dist/platform/automation/store/jobs.js +33 -0
- package/dist/platform/automation/store/paths.d.ts +6 -0
- package/dist/platform/automation/store/paths.d.ts.map +1 -0
- package/dist/platform/automation/store/paths.js +13 -0
- package/dist/platform/automation/store/routes.d.ts +18 -0
- package/dist/platform/automation/store/routes.d.ts.map +1 -0
- package/dist/platform/automation/store/routes.js +33 -0
- package/dist/platform/automation/store/runs.d.ts +18 -0
- package/dist/platform/automation/store/runs.d.ts.map +1 -0
- package/dist/platform/automation/store/runs.js +33 -0
- package/dist/platform/automation/store/sources.d.ts +18 -0
- package/dist/platform/automation/store/sources.d.ts.map +1 -0
- package/dist/platform/automation/store/sources.js +33 -0
- package/dist/platform/automation/types.d.ts +170 -0
- package/dist/platform/automation/types.d.ts.map +1 -0
- package/dist/platform/automation/types.js +5 -0
- package/dist/platform/bookmarks/manager.d.ts +53 -0
- package/dist/platform/bookmarks/manager.d.ts.map +1 -0
- package/dist/platform/bookmarks/manager.js +106 -0
- package/dist/platform/channels/builtin/descriptors.d.ts +5 -0
- package/dist/platform/channels/builtin/descriptors.d.ts.map +1 -0
- package/dist/platform/channels/builtin/descriptors.js +566 -0
- package/dist/platform/channels/builtin/parsing.d.ts +8 -0
- package/dist/platform/channels/builtin/parsing.d.ts.map +1 -0
- package/dist/platform/channels/builtin/parsing.js +48 -0
- package/dist/platform/channels/builtin/presentation.d.ts +4 -0
- package/dist/platform/channels/builtin/presentation.d.ts.map +1 -0
- package/dist/platform/channels/builtin/presentation.js +70 -0
- package/dist/platform/channels/policy-manager.d.ts +25 -0
- package/dist/platform/channels/policy-manager.d.ts.map +1 -0
- package/dist/platform/channels/policy-manager.js +236 -0
- package/dist/platform/channels/types.d.ts +429 -0
- package/dist/platform/channels/types.d.ts.map +1 -0
- package/dist/platform/channels/types.js +4 -0
- package/dist/platform/config/oauth-local-listener.d.ts +18 -0
- package/dist/platform/config/oauth-local-listener.d.ts.map +1 -0
- package/dist/platform/config/oauth-local-listener.js +125 -0
- package/dist/platform/config/openai-codex-auth.d.ts +21 -0
- package/dist/platform/config/openai-codex-auth.d.ts.map +1 -0
- package/dist/platform/config/openai-codex-auth.js +77 -0
- package/dist/platform/config/schema-domain-core.d.ts +120 -0
- package/dist/platform/config/schema-domain-core.d.ts.map +1 -0
- package/dist/platform/config/schema-domain-core.js +610 -0
- package/dist/platform/config/schema-domain-runtime.d.ts +71 -0
- package/dist/platform/config/schema-domain-runtime.d.ts.map +1 -0
- package/dist/platform/config/schema-domain-runtime.js +345 -0
- package/dist/platform/config/schema-domain-surfaces.d.ts +117 -0
- package/dist/platform/config/schema-domain-surfaces.d.ts.map +1 -0
- package/dist/platform/config/schema-domain-surfaces.js +420 -0
- package/dist/platform/config/schema-shared.d.ts +9 -0
- package/dist/platform/config/schema-shared.d.ts.map +1 -0
- package/dist/platform/config/schema-shared.js +1 -0
- package/dist/platform/config/schema-types.d.ts +340 -0
- package/dist/platform/config/schema-types.d.ts.map +1 -0
- package/dist/platform/config/schema-types.js +4 -0
- package/dist/platform/config/schema.d.ts +12 -0
- package/dist/platform/config/schema.d.ts.map +1 -0
- package/dist/platform/config/schema.js +46 -0
- package/dist/platform/config/secret-refs.d.ts +88 -0
- package/dist/platform/config/secret-refs.d.ts.map +1 -0
- package/dist/platform/config/secret-refs.js +552 -0
- package/dist/platform/config/subscriptions.d.ts +66 -0
- package/dist/platform/config/subscriptions.d.ts.map +1 -0
- package/dist/platform/config/subscriptions.js +167 -0
- package/dist/platform/control-plane/auth-snapshot.d.ts +14 -0
- package/dist/platform/control-plane/auth-snapshot.d.ts.map +1 -0
- package/dist/platform/control-plane/auth-snapshot.js +1 -0
- package/dist/platform/control-plane/gateway-web-ui.d.ts +2 -0
- package/dist/platform/control-plane/gateway-web-ui.d.ts.map +1 -0
- package/dist/platform/control-plane/gateway-web-ui.js +740 -0
- package/dist/platform/control-plane/routes/api-router.d.ts +2 -0
- package/dist/platform/control-plane/routes/api-router.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/api-router.js +1 -0
- package/dist/platform/control-plane/routes/automation.d.ts +3 -0
- package/dist/platform/control-plane/routes/automation.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/automation.js +56 -0
- package/dist/platform/control-plane/routes/context.d.ts +2 -0
- package/dist/platform/control-plane/routes/context.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/context.js +1 -0
- package/dist/platform/control-plane/routes/index.d.ts +8 -0
- package/dist/platform/control-plane/routes/index.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/index.js +6 -0
- package/dist/platform/control-plane/routes/operator.d.ts +3 -0
- package/dist/platform/control-plane/routes/operator.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/operator.js +395 -0
- package/dist/platform/control-plane/routes/remote.d.ts +3 -0
- package/dist/platform/control-plane/routes/remote.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/remote.js +35 -0
- package/dist/platform/control-plane/routes/sessions.d.ts +3 -0
- package/dist/platform/control-plane/routes/sessions.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/sessions.js +37 -0
- package/dist/platform/control-plane/routes/tasks.d.ts +3 -0
- package/dist/platform/control-plane/routes/tasks.d.ts.map +1 -0
- package/dist/platform/control-plane/routes/tasks.js +22 -0
- package/dist/platform/control-plane/session-broker-internals.d.ts +25 -0
- package/dist/platform/control-plane/session-broker-internals.d.ts.map +1 -0
- package/dist/platform/control-plane/session-broker-internals.js +3 -0
- package/dist/platform/control-plane/session-broker-state.d.ts +19 -0
- package/dist/platform/control-plane/session-broker-state.d.ts.map +1 -0
- package/dist/platform/control-plane/session-broker-state.js +56 -0
- package/dist/platform/control-plane/session-intents.d.ts +65 -0
- package/dist/platform/control-plane/session-intents.d.ts.map +1 -0
- package/dist/platform/control-plane/session-intents.js +2 -0
- package/dist/platform/control-plane/session-types.d.ts +81 -0
- package/dist/platform/control-plane/session-types.d.ts.map +1 -0
- package/dist/platform/control-plane/session-types.js +1 -0
- package/dist/platform/control-plane/types.d.ts +42 -0
- package/dist/platform/control-plane/types.d.ts.map +1 -0
- package/dist/platform/control-plane/types.js +4 -0
- package/dist/platform/core/adaptive-planner.d.ts +137 -0
- package/dist/platform/core/adaptive-planner.d.ts.map +1 -0
- package/dist/platform/core/adaptive-planner.js +288 -0
- package/dist/platform/core/circuit-breaker.d.ts +18 -0
- package/dist/platform/core/circuit-breaker.d.ts.map +1 -0
- package/dist/platform/core/circuit-breaker.js +25 -0
- package/dist/platform/core/conversation-follow-ups.d.ts +7 -0
- package/dist/platform/core/conversation-follow-ups.d.ts.map +1 -0
- package/dist/platform/core/conversation-follow-ups.js +32 -0
- package/dist/platform/core/deterministic-replay.d.ts +201 -0
- package/dist/platform/core/deterministic-replay.d.ts.map +1 -0
- package/dist/platform/core/deterministic-replay.js +569 -0
- package/dist/platform/core/execution-plan.d.ts +73 -0
- package/dist/platform/core/execution-plan.d.ts.map +1 -0
- package/dist/platform/core/execution-plan.js +463 -0
- package/dist/platform/core/history.d.ts +22 -0
- package/dist/platform/core/history.d.ts.map +1 -0
- package/dist/platform/core/history.js +43 -0
- package/dist/platform/core/intent-classifier.d.ts +18 -0
- package/dist/platform/core/intent-classifier.d.ts.map +1 -0
- package/dist/platform/core/intent-classifier.js +91 -0
- package/dist/platform/core/replay-command-handler.d.ts +38 -0
- package/dist/platform/core/replay-command-handler.d.ts.map +1 -0
- package/dist/platform/core/replay-command-handler.js +229 -0
- package/dist/platform/core/session-lineage.d.ts +42 -0
- package/dist/platform/core/session-lineage.d.ts.map +1 -0
- package/dist/platform/core/session-lineage.js +68 -0
- package/dist/platform/core/session-memory.d.ts +31 -0
- package/dist/platform/core/session-memory.d.ts.map +1 -0
- package/dist/platform/core/session-memory.js +42 -0
- package/dist/platform/core/tokenizer.d.ts +30 -0
- package/dist/platform/core/tokenizer.d.ts.map +1 -0
- package/dist/platform/core/tokenizer.js +312 -0
- package/dist/platform/core/tool-reconciliation.d.ts +85 -0
- package/dist/platform/core/tool-reconciliation.d.ts.map +1 -0
- package/dist/platform/core/tool-reconciliation.js +35 -0
- package/dist/platform/core/transcript-events/grouping.d.ts +10 -0
- package/dist/platform/core/transcript-events/grouping.d.ts.map +1 -0
- package/dist/platform/core/transcript-events/grouping.js +17 -0
- package/dist/platform/core/transcript-events/types.d.ts +11 -0
- package/dist/platform/core/transcript-events/types.d.ts.map +1 -0
- package/dist/platform/core/transcript-events/types.js +1 -0
- package/dist/platform/daemon/http/channel-route-types.d.ts +2 -0
- package/dist/platform/daemon/http/channel-route-types.d.ts.map +1 -0
- package/dist/platform/daemon/http/channel-route-types.js +1 -0
- package/dist/platform/daemon/http/channel-routes.d.ts +2 -0
- package/dist/platform/daemon/http/channel-routes.d.ts.map +1 -0
- package/dist/platform/daemon/http/channel-routes.js +1 -0
- package/dist/platform/daemon/http/control-routes.d.ts +2 -0
- package/dist/platform/daemon/http/control-routes.d.ts.map +1 -0
- package/dist/platform/daemon/http/control-routes.js +1 -0
- package/dist/platform/daemon/http/error-response.d.ts +2 -0
- package/dist/platform/daemon/http/error-response.d.ts.map +1 -0
- package/dist/platform/daemon/http/error-response.js +1 -0
- package/dist/platform/daemon/http/integration-route-types.d.ts +10 -0
- package/dist/platform/daemon/http/integration-route-types.d.ts.map +1 -0
- package/dist/platform/daemon/http/integration-route-types.js +1 -0
- package/dist/platform/daemon/http/integration-routes.d.ts +2 -0
- package/dist/platform/daemon/http/integration-routes.d.ts.map +1 -0
- package/dist/platform/daemon/http/integration-routes.js +1 -0
- package/dist/platform/daemon/http/knowledge-route-types.d.ts +5 -0
- package/dist/platform/daemon/http/knowledge-route-types.d.ts.map +1 -0
- package/dist/platform/daemon/http/knowledge-route-types.js +1 -0
- package/dist/platform/daemon/http/knowledge-routes.d.ts +2 -0
- package/dist/platform/daemon/http/knowledge-routes.d.ts.map +1 -0
- package/dist/platform/daemon/http/knowledge-routes.js +1 -0
- package/dist/platform/daemon/http/media-route-types.d.ts +17 -0
- package/dist/platform/daemon/http/media-route-types.d.ts.map +1 -0
- package/dist/platform/daemon/http/media-route-types.js +1 -0
- package/dist/platform/daemon/http/media-routes.d.ts +2 -0
- package/dist/platform/daemon/http/media-routes.d.ts.map +1 -0
- package/dist/platform/daemon/http/media-routes.js +1 -0
- package/dist/platform/daemon/http/remote-routes.d.ts +2 -0
- package/dist/platform/daemon/http/remote-routes.d.ts.map +1 -0
- package/dist/platform/daemon/http/remote-routes.js +1 -0
- package/dist/platform/daemon/http/route-helpers.d.ts +5 -0
- package/dist/platform/daemon/http/route-helpers.d.ts.map +1 -0
- package/dist/platform/daemon/http/route-helpers.js +21 -0
- package/dist/platform/daemon/http/runtime-automation-routes.d.ts +2 -0
- package/dist/platform/daemon/http/runtime-automation-routes.d.ts.map +1 -0
- package/dist/platform/daemon/http/runtime-automation-routes.js +1 -0
- package/dist/platform/daemon/http/runtime-route-types.d.ts +240 -0
- package/dist/platform/daemon/http/runtime-route-types.d.ts.map +1 -0
- package/dist/platform/daemon/http/runtime-route-types.js +1 -0
- package/dist/platform/daemon/http/runtime-routes.d.ts +3 -0
- package/dist/platform/daemon/http/runtime-routes.d.ts.map +1 -0
- package/dist/platform/daemon/http/runtime-routes.js +1 -0
- package/dist/platform/daemon/http/runtime-session-routes.d.ts +2 -0
- package/dist/platform/daemon/http/runtime-session-routes.d.ts.map +1 -0
- package/dist/platform/daemon/http/runtime-session-routes.js +1 -0
- package/dist/platform/daemon/http/system-route-types.d.ts +52 -0
- package/dist/platform/daemon/http/system-route-types.d.ts.map +1 -0
- package/dist/platform/daemon/http/system-route-types.js +1 -0
- package/dist/platform/daemon/http/system-routes.d.ts +2 -0
- package/dist/platform/daemon/http/system-routes.d.ts.map +1 -0
- package/dist/platform/daemon/http/system-routes.js +1 -0
- package/dist/platform/daemon/http/telemetry-routes.d.ts +2 -0
- package/dist/platform/daemon/http/telemetry-routes.d.ts.map +1 -0
- package/dist/platform/daemon/http/telemetry-routes.js +1 -0
- package/dist/platform/daemon/http-policy.d.ts +33 -0
- package/dist/platform/daemon/http-policy.d.ts.map +1 -0
- package/dist/platform/daemon/http-policy.js +29 -0
- package/dist/platform/discovery/index.d.ts +3 -0
- package/dist/platform/discovery/index.d.ts.map +1 -0
- package/dist/platform/discovery/index.js +2 -0
- package/dist/platform/discovery/mcp-scanner.d.ts +18 -0
- package/dist/platform/discovery/mcp-scanner.d.ts.map +1 -0
- package/dist/platform/discovery/mcp-scanner.js +218 -0
- package/dist/platform/discovery/scanner.d.ts +49 -0
- package/dist/platform/discovery/scanner.d.ts.map +1 -0
- package/dist/platform/discovery/scanner.js +655 -0
- package/dist/platform/hooks/activity.d.ts +28 -0
- package/dist/platform/hooks/activity.d.ts.map +1 -0
- package/dist/platform/hooks/activity.js +28 -0
- package/dist/platform/hooks/contracts.d.ts +22 -0
- package/dist/platform/hooks/contracts.d.ts.map +1 -0
- package/dist/platform/hooks/contracts.js +350 -0
- package/dist/platform/hooks/matcher.d.ts +13 -0
- package/dist/platform/hooks/matcher.d.ts.map +1 -0
- package/dist/platform/hooks/matcher.js +35 -0
- package/dist/platform/hooks/runners/command.d.ts +22 -0
- package/dist/platform/hooks/runners/command.d.ts.map +1 -0
- package/dist/platform/hooks/runners/command.js +77 -0
- package/dist/platform/hooks/runners/http.d.ts +7 -0
- package/dist/platform/hooks/runners/http.d.ts.map +1 -0
- package/dist/platform/hooks/runners/http.js +54 -0
- package/dist/platform/hooks/runners/typescript.d.ts +7 -0
- package/dist/platform/hooks/runners/typescript.d.ts.map +1 -0
- package/dist/platform/hooks/runners/typescript.js +42 -0
- package/dist/platform/hooks/types.d.ts +94 -0
- package/dist/platform/hooks/types.d.ts.map +1 -0
- package/dist/platform/hooks/types.js +1 -0
- package/dist/platform/integrations/delivery.d.ts +186 -0
- package/dist/platform/integrations/delivery.d.ts.map +1 -0
- package/dist/platform/integrations/delivery.js +311 -0
- package/dist/platform/integrations/discord.d.ts +171 -0
- package/dist/platform/integrations/discord.d.ts.map +1 -0
- package/dist/platform/integrations/discord.js +445 -0
- package/dist/platform/integrations/github.d.ts +43 -0
- package/dist/platform/integrations/github.d.ts.map +1 -0
- package/dist/platform/integrations/github.js +237 -0
- package/dist/platform/integrations/ntfy.d.ts +43 -0
- package/dist/platform/integrations/ntfy.d.ts.map +1 -0
- package/dist/platform/integrations/ntfy.js +128 -0
- package/dist/platform/integrations/slack.d.ts +190 -0
- package/dist/platform/integrations/slack.d.ts.map +1 -0
- package/dist/platform/integrations/slack.js +374 -0
- package/dist/platform/intelligence/config.d.ts +35 -0
- package/dist/platform/intelligence/config.d.ts.map +1 -0
- package/dist/platform/intelligence/config.js +116 -0
- package/dist/platform/intelligence/facade.d.ts +99 -0
- package/dist/platform/intelligence/facade.d.ts.map +1 -0
- package/dist/platform/intelligence/facade.js +336 -0
- package/dist/platform/intelligence/import-graph.d.ts +83 -0
- package/dist/platform/intelligence/import-graph.d.ts.map +1 -0
- package/dist/platform/intelligence/import-graph.js +257 -0
- package/dist/platform/intelligence/index.d.ts +19 -0
- package/dist/platform/intelligence/index.d.ts.map +1 -0
- package/dist/platform/intelligence/index.js +18 -0
- package/dist/platform/intelligence/lsp/binary-downloader.d.ts +17 -0
- package/dist/platform/intelligence/lsp/binary-downloader.d.ts.map +1 -0
- package/dist/platform/intelligence/lsp/binary-downloader.js +245 -0
- package/dist/platform/intelligence/lsp/capabilities.d.ts +18 -0
- package/dist/platform/intelligence/lsp/capabilities.d.ts.map +1 -0
- package/dist/platform/intelligence/lsp/capabilities.js +58 -0
- package/dist/platform/intelligence/lsp/client.d.ts +33 -0
- package/dist/platform/intelligence/lsp/client.d.ts.map +1 -0
- package/dist/platform/intelligence/lsp/client.js +238 -0
- package/dist/platform/intelligence/lsp/index.d.ts +8 -0
- package/dist/platform/intelligence/lsp/index.d.ts.map +1 -0
- package/dist/platform/intelligence/lsp/index.js +4 -0
- package/dist/platform/intelligence/lsp/protocol.d.ts +101 -0
- package/dist/platform/intelligence/lsp/protocol.d.ts.map +1 -0
- package/dist/platform/intelligence/lsp/protocol.js +29 -0
- package/dist/platform/intelligence/lsp/service.d.ts +45 -0
- package/dist/platform/intelligence/lsp/service.d.ts.map +1 -0
- package/dist/platform/intelligence/lsp/service.js +213 -0
- package/dist/platform/intelligence/tree-sitter/embedded-wasm.d.ts +22 -0
- package/dist/platform/intelligence/tree-sitter/embedded-wasm.d.ts.map +1 -0
- package/dist/platform/intelligence/tree-sitter/embedded-wasm.js +35 -0
- package/dist/platform/intelligence/tree-sitter/index.d.ts +10 -0
- package/dist/platform/intelligence/tree-sitter/index.d.ts.map +1 -0
- package/dist/platform/intelligence/tree-sitter/index.js +8 -0
- package/dist/platform/intelligence/tree-sitter/languages.d.ts +17 -0
- package/dist/platform/intelligence/tree-sitter/languages.d.ts.map +1 -0
- package/dist/platform/intelligence/tree-sitter/languages.js +77 -0
- package/dist/platform/intelligence/tree-sitter/queries.d.ts +48 -0
- package/dist/platform/intelligence/tree-sitter/queries.d.ts.map +1 -0
- package/dist/platform/intelligence/tree-sitter/queries.js +403 -0
- package/dist/platform/intelligence/tree-sitter/service.d.ts +48 -0
- package/dist/platform/intelligence/tree-sitter/service.d.ts.map +1 -0
- package/dist/platform/intelligence/tree-sitter/service.js +171 -0
- package/dist/platform/knowledge/bookmarks.d.ts +3 -0
- package/dist/platform/knowledge/bookmarks.d.ts.map +1 -0
- package/dist/platform/knowledge/bookmarks.js +150 -0
- package/dist/platform/knowledge/connectors.d.ts +13 -0
- package/dist/platform/knowledge/connectors.d.ts.map +1 -0
- package/dist/platform/knowledge/connectors.js +248 -0
- package/dist/platform/knowledge/extractors.d.ts +16 -0
- package/dist/platform/knowledge/extractors.d.ts.map +1 -0
- package/dist/platform/knowledge/extractors.js +518 -0
- package/dist/platform/knowledge/graphql-schema.d.ts +45 -0
- package/dist/platform/knowledge/graphql-schema.d.ts.map +1 -0
- package/dist/platform/knowledge/graphql-schema.js +534 -0
- package/dist/platform/knowledge/persistence.d.ts +6 -0
- package/dist/platform/knowledge/persistence.d.ts.map +1 -0
- package/dist/platform/knowledge/persistence.js +3 -0
- package/dist/platform/knowledge/projections.d.ts +47 -0
- package/dist/platform/knowledge/projections.d.ts.map +1 -0
- package/dist/platform/knowledge/projections.js +674 -0
- package/dist/platform/knowledge/store-load.d.ts +16 -0
- package/dist/platform/knowledge/store-load.d.ts.map +1 -0
- package/dist/platform/knowledge/store-load.js +21 -0
- package/dist/platform/knowledge/store-read.d.ts +50 -0
- package/dist/platform/knowledge/store-read.d.ts.map +1 -0
- package/dist/platform/knowledge/store-read.js +183 -0
- package/dist/platform/knowledge/store-schema.d.ts +22 -0
- package/dist/platform/knowledge/store-schema.d.ts.map +1 -0
- package/dist/platform/knowledge/store-schema.js +408 -0
- package/dist/platform/knowledge/store.d.ts +76 -0
- package/dist/platform/knowledge/store.d.ts.map +1 -0
- package/dist/platform/knowledge/store.js +656 -0
- package/dist/platform/knowledge/types.d.ts +452 -0
- package/dist/platform/knowledge/types.d.ts.map +1 -0
- package/dist/platform/knowledge/types.js +1 -0
- package/dist/platform/mcp/config.d.ts +29 -0
- package/dist/platform/mcp/config.d.ts.map +1 -0
- package/dist/platform/mcp/config.js +99 -0
- package/dist/platform/media/builtin-generation-providers.d.ts +3 -0
- package/dist/platform/media/builtin-generation-providers.d.ts.map +1 -0
- package/dist/platform/media/builtin-generation-providers.js +552 -0
- package/dist/platform/media/provider-registry.d.ts +85 -0
- package/dist/platform/media/provider-registry.d.ts.map +1 -0
- package/dist/platform/media/provider-registry.js +57 -0
- package/dist/platform/multimodal/types.d.ts +71 -0
- package/dist/platform/multimodal/types.d.ts.map +1 -0
- package/dist/platform/multimodal/types.js +1 -0
- package/dist/platform/permissions/analysis.d.ts +3 -0
- package/dist/platform/permissions/analysis.d.ts.map +1 -0
- package/dist/platform/permissions/analysis.js +220 -0
- package/dist/platform/permissions/briefs/render-hints.d.ts +3 -0
- package/dist/platform/permissions/briefs/render-hints.d.ts.map +1 -0
- package/dist/platform/permissions/briefs/render-hints.js +3 -0
- package/dist/platform/permissions/briefs/types.d.ts +10 -0
- package/dist/platform/permissions/briefs/types.d.ts.map +1 -0
- package/dist/platform/permissions/briefs/types.js +1 -0
- package/dist/platform/permissions/types.d.ts +27 -0
- package/dist/platform/permissions/types.d.ts.map +1 -0
- package/dist/platform/permissions/types.js +1 -0
- package/dist/platform/profiles/manager.d.ts +57 -0
- package/dist/platform/profiles/manager.d.ts.map +1 -0
- package/dist/platform/profiles/manager.js +140 -0
- package/dist/platform/providers/cache-capability.d.ts +50 -0
- package/dist/platform/providers/cache-capability.d.ts.map +1 -0
- package/dist/platform/providers/cache-capability.js +124 -0
- package/dist/platform/providers/cache-strategy.d.ts +76 -0
- package/dist/platform/providers/cache-strategy.d.ts.map +1 -0
- package/dist/platform/providers/cache-strategy.js +160 -0
- package/dist/platform/providers/context-discovery.d.ts +99 -0
- package/dist/platform/providers/context-discovery.d.ts.map +1 -0
- package/dist/platform/providers/context-discovery.js +341 -0
- package/dist/platform/providers/effort-levels.d.ts +6 -0
- package/dist/platform/providers/effort-levels.d.ts.map +1 -0
- package/dist/platform/providers/effort-levels.js +10 -0
- package/dist/platform/providers/favorites.d.ts +33 -0
- package/dist/platform/providers/favorites.d.ts.map +1 -0
- package/dist/platform/providers/favorites.js +102 -0
- package/dist/platform/providers/local-context-ingestion.d.ts +89 -0
- package/dist/platform/providers/local-context-ingestion.d.ts.map +1 -0
- package/dist/platform/providers/local-context-ingestion.js +119 -0
- package/dist/platform/providers/microsoft-foundry-shared.d.ts +3 -0
- package/dist/platform/providers/microsoft-foundry-shared.d.ts.map +1 -0
- package/dist/platform/providers/microsoft-foundry-shared.js +20 -0
- package/dist/platform/providers/model-benchmarks.d.ts +43 -0
- package/dist/platform/providers/model-benchmarks.d.ts.map +1 -0
- package/dist/platform/providers/model-benchmarks.js +268 -0
- package/dist/platform/providers/openai-stream-delta.d.ts +13 -0
- package/dist/platform/providers/openai-stream-delta.d.ts.map +1 -0
- package/dist/platform/providers/openai-stream-delta.js +121 -0
- package/dist/platform/runtime/auth/oauth-core.d.ts +32 -0
- package/dist/platform/runtime/auth/oauth-core.d.ts.map +1 -0
- package/dist/platform/runtime/auth/oauth-core.js +121 -0
- package/dist/platform/runtime/contracts/index.d.ts +40 -0
- package/dist/platform/runtime/contracts/index.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/index.js +137 -0
- package/dist/platform/runtime/contracts/migrations/event-envelope.d.ts +23 -0
- package/dist/platform/runtime/contracts/migrations/event-envelope.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/migrations/event-envelope.js +41 -0
- package/dist/platform/runtime/contracts/migrations/index.d.ts +75 -0
- package/dist/platform/runtime/contracts/migrations/index.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/migrations/index.js +158 -0
- package/dist/platform/runtime/contracts/migrations/plugin-manifest.d.ts +23 -0
- package/dist/platform/runtime/contracts/migrations/plugin-manifest.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/migrations/plugin-manifest.js +41 -0
- package/dist/platform/runtime/contracts/migrations/runtime-state.d.ts +23 -0
- package/dist/platform/runtime/contracts/migrations/runtime-state.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/migrations/runtime-state.js +44 -0
- package/dist/platform/runtime/contracts/migrations/session.d.ts +23 -0
- package/dist/platform/runtime/contracts/migrations/session.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/migrations/session.js +42 -0
- package/dist/platform/runtime/contracts/migrations/task-record.d.ts +23 -0
- package/dist/platform/runtime/contracts/migrations/task-record.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/migrations/task-record.js +41 -0
- package/dist/platform/runtime/contracts/types.d.ts +122 -0
- package/dist/platform/runtime/contracts/types.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/types.js +48 -0
- package/dist/platform/runtime/contracts/validators/event-envelope.d.ts +24 -0
- package/dist/platform/runtime/contracts/validators/event-envelope.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/validators/event-envelope.js +104 -0
- package/dist/platform/runtime/contracts/validators/index.d.ts +11 -0
- package/dist/platform/runtime/contracts/validators/index.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/validators/index.js +10 -0
- package/dist/platform/runtime/contracts/validators/runtime-state.d.ts +23 -0
- package/dist/platform/runtime/contracts/validators/runtime-state.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/validators/runtime-state.js +101 -0
- package/dist/platform/runtime/contracts/validators/session.d.ts +24 -0
- package/dist/platform/runtime/contracts/validators/session.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/validators/session.js +103 -0
- package/dist/platform/runtime/contracts/version.d.ts +84 -0
- package/dist/platform/runtime/contracts/version.d.ts.map +1 -0
- package/dist/platform/runtime/contracts/version.js +41 -0
- package/dist/platform/runtime/deferred-startup.d.ts +11 -0
- package/dist/platform/runtime/deferred-startup.d.ts.map +1 -0
- package/dist/platform/runtime/deferred-startup.js +37 -0
- package/dist/platform/runtime/diagnostics/panels/divergence.d.ts +66 -0
- package/dist/platform/runtime/diagnostics/panels/divergence.d.ts.map +1 -0
- package/dist/platform/runtime/diagnostics/panels/divergence.js +93 -0
- package/dist/platform/runtime/diagnostics/panels/forensics.d.ts +38 -0
- package/dist/platform/runtime/diagnostics/panels/forensics.d.ts.map +1 -0
- package/dist/platform/runtime/diagnostics/panels/forensics.js +56 -0
- package/dist/platform/runtime/diagnostics/panels/panel-resources.d.ts +55 -0
- package/dist/platform/runtime/diagnostics/panels/panel-resources.d.ts.map +1 -0
- package/dist/platform/runtime/diagnostics/panels/panel-resources.js +125 -0
- package/dist/platform/runtime/diagnostics/panels/replay.d.ts +34 -0
- package/dist/platform/runtime/diagnostics/panels/replay.d.ts.map +1 -0
- package/dist/platform/runtime/diagnostics/panels/replay.js +67 -0
- package/dist/platform/runtime/diagnostics/panels/security.d.ts +89 -0
- package/dist/platform/runtime/diagnostics/panels/security.d.ts.map +1 -0
- package/dist/platform/runtime/diagnostics/panels/security.js +118 -0
- package/dist/platform/runtime/diagnostics/panels/state-inspector.d.ts +112 -0
- package/dist/platform/runtime/diagnostics/panels/state-inspector.d.ts.map +1 -0
- package/dist/platform/runtime/diagnostics/panels/state-inspector.js +122 -0
- package/dist/platform/runtime/diagnostics/panels/tool-contracts.d.ts +99 -0
- package/dist/platform/runtime/diagnostics/panels/tool-contracts.d.ts.map +1 -0
- package/dist/platform/runtime/diagnostics/panels/tool-contracts.js +172 -0
- package/dist/platform/runtime/diagnostics/panels/transport.d.ts +146 -0
- package/dist/platform/runtime/diagnostics/panels/transport.d.ts.map +1 -0
- package/dist/platform/runtime/diagnostics/panels/transport.js +268 -0
- package/dist/platform/runtime/diagnostics/types.d.ts +533 -0
- package/dist/platform/runtime/diagnostics/types.d.ts.map +1 -0
- package/dist/platform/runtime/diagnostics/types.js +58 -0
- package/dist/platform/runtime/eval/baseline.d.ts +41 -0
- package/dist/platform/runtime/eval/baseline.d.ts.map +1 -0
- package/dist/platform/runtime/eval/baseline.js +123 -0
- package/dist/platform/runtime/eval/format.d.ts +16 -0
- package/dist/platform/runtime/eval/format.d.ts.map +1 -0
- package/dist/platform/runtime/eval/format.js +58 -0
- package/dist/platform/runtime/eval/scorecard.d.ts +32 -0
- package/dist/platform/runtime/eval/scorecard.d.ts.map +1 -0
- package/dist/platform/runtime/eval/scorecard.js +231 -0
- package/dist/platform/runtime/eval/types.d.ts +156 -0
- package/dist/platform/runtime/eval/types.d.ts.map +1 -0
- package/dist/platform/runtime/eval/types.js +7 -0
- package/dist/platform/runtime/event-envelope.d.ts +3 -0
- package/dist/platform/runtime/event-envelope.d.ts.map +1 -0
- package/dist/platform/runtime/event-envelope.js +1 -0
- package/dist/platform/runtime/event-feeds.d.ts +3 -0
- package/dist/platform/runtime/event-feeds.d.ts.map +1 -0
- package/dist/platform/runtime/event-feeds.js +1 -0
- package/dist/platform/runtime/events/agents.d.ts +81 -0
- package/dist/platform/runtime/events/agents.d.ts.map +1 -0
- package/dist/platform/runtime/events/agents.js +6 -0
- package/dist/platform/runtime/events/automation.d.ts +72 -0
- package/dist/platform/runtime/events/automation.d.ts.map +1 -0
- package/dist/platform/runtime/events/automation.js +5 -0
- package/dist/platform/runtime/events/communication.d.ts +41 -0
- package/dist/platform/runtime/events/communication.d.ts.map +1 -0
- package/dist/platform/runtime/events/communication.js +4 -0
- package/dist/platform/runtime/events/compaction.d.ts +98 -0
- package/dist/platform/runtime/events/compaction.d.ts.map +1 -0
- package/dist/platform/runtime/events/compaction.js +6 -0
- package/dist/platform/runtime/events/contracts/agent-mcp.d.ts +8 -0
- package/dist/platform/runtime/events/contracts/agent-mcp.d.ts.map +1 -0
- package/dist/platform/runtime/events/contracts/agent-mcp.js +40 -0
- package/dist/platform/runtime/events/contracts/automation-route.d.ts +41 -0
- package/dist/platform/runtime/events/contracts/automation-route.d.ts.map +1 -0
- package/dist/platform/runtime/events/contracts/automation-route.js +315 -0
- package/dist/platform/runtime/events/contracts/shared.d.ts +27 -0
- package/dist/platform/runtime/events/contracts/shared.d.ts.map +1 -0
- package/dist/platform/runtime/events/contracts/shared.js +71 -0
- package/dist/platform/runtime/events/contracts/turn-tool.d.ts +10 -0
- package/dist/platform/runtime/events/contracts/turn-tool.d.ts.map +1 -0
- package/dist/platform/runtime/events/contracts/turn-tool.js +53 -0
- package/dist/platform/runtime/events/contracts.d.ts +11 -0
- package/dist/platform/runtime/events/contracts.d.ts.map +1 -0
- package/dist/platform/runtime/events/contracts.js +83 -0
- package/dist/platform/runtime/events/control-plane.d.ts +42 -0
- package/dist/platform/runtime/events/control-plane.d.ts.map +1 -0
- package/dist/platform/runtime/events/control-plane.js +24 -0
- package/dist/platform/runtime/events/deliveries.d.ts +54 -0
- package/dist/platform/runtime/events/deliveries.d.ts.map +1 -0
- package/dist/platform/runtime/events/deliveries.js +4 -0
- package/dist/platform/runtime/events/envelope.d.ts +3 -0
- package/dist/platform/runtime/events/envelope.d.ts.map +1 -0
- package/dist/platform/runtime/events/envelope.js +1 -0
- package/dist/platform/runtime/events/forensics.d.ts +31 -0
- package/dist/platform/runtime/events/forensics.d.ts.map +1 -0
- package/dist/platform/runtime/events/forensics.js +7 -0
- package/dist/platform/runtime/events/knowledge.d.ts +76 -0
- package/dist/platform/runtime/events/knowledge.d.ts.map +1 -0
- package/dist/platform/runtime/events/knowledge.js +4 -0
- package/dist/platform/runtime/events/mcp.d.ts +90 -0
- package/dist/platform/runtime/events/mcp.d.ts.map +1 -0
- package/dist/platform/runtime/events/mcp.js +6 -0
- package/dist/platform/runtime/events/ops.d.ts +81 -0
- package/dist/platform/runtime/events/ops.d.ts.map +1 -0
- package/dist/platform/runtime/events/ops.js +8 -0
- package/dist/platform/runtime/events/orchestration.d.ts +75 -0
- package/dist/platform/runtime/events/orchestration.d.ts.map +1 -0
- package/dist/platform/runtime/events/orchestration.js +4 -0
- package/dist/platform/runtime/events/permissions.d.ts +78 -0
- package/dist/platform/runtime/events/permissions.d.ts.map +1 -0
- package/dist/platform/runtime/events/permissions.js +6 -0
- package/dist/platform/runtime/events/planner.d.ts +13 -0
- package/dist/platform/runtime/events/planner.d.ts.map +1 -0
- package/dist/platform/runtime/events/planner.js +1 -0
- package/dist/platform/runtime/events/plugins.d.ts +60 -0
- package/dist/platform/runtime/events/plugins.d.ts.map +1 -0
- package/dist/platform/runtime/events/plugins.js +6 -0
- package/dist/platform/runtime/events/providers.d.ts +19 -0
- package/dist/platform/runtime/events/providers.d.ts.map +1 -0
- package/dist/platform/runtime/events/providers.js +1 -0
- package/dist/platform/runtime/events/routes.d.ts +40 -0
- package/dist/platform/runtime/events/routes.d.ts.map +1 -0
- package/dist/platform/runtime/events/routes.js +22 -0
- package/dist/platform/runtime/events/security.d.ts +44 -0
- package/dist/platform/runtime/events/security.d.ts.map +1 -0
- package/dist/platform/runtime/events/security.js +8 -0
- package/dist/platform/runtime/events/session.d.ts +51 -0
- package/dist/platform/runtime/events/session.d.ts.map +1 -0
- package/dist/platform/runtime/events/session.js +6 -0
- package/dist/platform/runtime/events/surfaces.d.ts +37 -0
- package/dist/platform/runtime/events/surfaces.d.ts.map +1 -0
- package/dist/platform/runtime/events/surfaces.js +4 -0
- package/dist/platform/runtime/events/tasks.d.ts +60 -0
- package/dist/platform/runtime/events/tasks.d.ts.map +1 -0
- package/dist/platform/runtime/events/tasks.js +6 -0
- package/dist/platform/runtime/events/tools.d.ts +131 -0
- package/dist/platform/runtime/events/tools.d.ts.map +1 -0
- package/dist/platform/runtime/events/tools.js +6 -0
- package/dist/platform/runtime/events/transport.d.ts +57 -0
- package/dist/platform/runtime/events/transport.d.ts.map +1 -0
- package/dist/platform/runtime/events/transport.js +6 -0
- package/dist/platform/runtime/events/ui.d.ts +59 -0
- package/dist/platform/runtime/events/ui.d.ts.map +1 -0
- package/dist/platform/runtime/events/ui.js +6 -0
- package/dist/platform/runtime/events/watchers.d.ts +35 -0
- package/dist/platform/runtime/events/watchers.d.ts.map +1 -0
- package/dist/platform/runtime/events/watchers.js +4 -0
- package/dist/platform/runtime/execution-intents.d.ts +13 -0
- package/dist/platform/runtime/execution-intents.d.ts.map +1 -0
- package/dist/platform/runtime/execution-intents.js +3 -0
- package/dist/platform/runtime/feature-flags/flags.d.ts +21 -0
- package/dist/platform/runtime/feature-flags/flags.d.ts.map +1 -0
- package/dist/platform/runtime/feature-flags/flags.js +472 -0
- package/dist/platform/runtime/feature-flags/index.d.ts +22 -0
- package/dist/platform/runtime/feature-flags/index.d.ts.map +1 -0
- package/dist/platform/runtime/feature-flags/index.js +19 -0
- package/dist/platform/runtime/feature-flags/manager.d.ts +133 -0
- package/dist/platform/runtime/feature-flags/manager.d.ts.map +1 -0
- package/dist/platform/runtime/feature-flags/manager.js +255 -0
- package/dist/platform/runtime/feature-flags/types.d.ts +65 -0
- package/dist/platform/runtime/feature-flags/types.d.ts.map +1 -0
- package/dist/platform/runtime/feature-flags/types.js +7 -0
- package/dist/platform/runtime/forensics/classifier.d.ts +39 -0
- package/dist/platform/runtime/forensics/classifier.d.ts.map +1 -0
- package/dist/platform/runtime/forensics/classifier.js +95 -0
- package/dist/platform/runtime/forensics/registry.d.ts +89 -0
- package/dist/platform/runtime/forensics/registry.d.ts.map +1 -0
- package/dist/platform/runtime/forensics/registry.js +191 -0
- package/dist/platform/runtime/forensics/types.d.ts +206 -0
- package/dist/platform/runtime/forensics/types.d.ts.map +1 -0
- package/dist/platform/runtime/forensics/types.js +9 -0
- package/dist/platform/runtime/health/aggregator.d.ts +57 -0
- package/dist/platform/runtime/health/aggregator.d.ts.map +1 -0
- package/dist/platform/runtime/health/aggregator.js +188 -0
- package/dist/platform/runtime/health/cascade-engine.d.ts +55 -0
- package/dist/platform/runtime/health/cascade-engine.d.ts.map +1 -0
- package/dist/platform/runtime/health/cascade-engine.js +134 -0
- package/dist/platform/runtime/health/cascade-playbook-map.d.ts +22 -0
- package/dist/platform/runtime/health/cascade-playbook-map.d.ts.map +1 -0
- package/dist/platform/runtime/health/cascade-playbook-map.js +48 -0
- package/dist/platform/runtime/health/cascade-rules.d.ts +14 -0
- package/dist/platform/runtime/health/cascade-rules.d.ts.map +1 -0
- package/dist/platform/runtime/health/cascade-rules.js +89 -0
- package/dist/platform/runtime/health/cascade-timing.d.ts +79 -0
- package/dist/platform/runtime/health/cascade-timing.d.ts.map +1 -0
- package/dist/platform/runtime/health/cascade-timing.js +96 -0
- package/dist/platform/runtime/health/types.d.ts +176 -0
- package/dist/platform/runtime/health/types.d.ts.map +1 -0
- package/dist/platform/runtime/health/types.js +24 -0
- package/dist/platform/runtime/idempotency/index.d.ts +123 -0
- package/dist/platform/runtime/idempotency/index.d.ts.map +1 -0
- package/dist/platform/runtime/idempotency/index.js +193 -0
- package/dist/platform/runtime/idempotency/types.d.ts +69 -0
- package/dist/platform/runtime/idempotency/types.d.ts.map +1 -0
- package/dist/platform/runtime/idempotency/types.js +7 -0
- package/dist/platform/runtime/inspection/state-inspector/hotspot-sampler.d.ts +80 -0
- package/dist/platform/runtime/inspection/state-inspector/hotspot-sampler.d.ts.map +1 -0
- package/dist/platform/runtime/inspection/state-inspector/hotspot-sampler.js +153 -0
- package/dist/platform/runtime/inspection/state-inspector/index.d.ts +42 -0
- package/dist/platform/runtime/inspection/state-inspector/index.d.ts.map +1 -0
- package/dist/platform/runtime/inspection/state-inspector/index.js +38 -0
- package/dist/platform/runtime/inspection/state-inspector/inspector.d.ts +184 -0
- package/dist/platform/runtime/inspection/state-inspector/inspector.d.ts.map +1 -0
- package/dist/platform/runtime/inspection/state-inspector/inspector.js +331 -0
- package/dist/platform/runtime/inspection/state-inspector/serialize.d.ts +16 -0
- package/dist/platform/runtime/inspection/state-inspector/serialize.d.ts.map +1 -0
- package/dist/platform/runtime/inspection/state-inspector/serialize.js +39 -0
- package/dist/platform/runtime/inspection/state-inspector/timeline.d.ts +116 -0
- package/dist/platform/runtime/inspection/state-inspector/timeline.d.ts.map +1 -0
- package/dist/platform/runtime/inspection/state-inspector/timeline.js +198 -0
- package/dist/platform/runtime/inspection/state-inspector/transition-log.d.ts +84 -0
- package/dist/platform/runtime/inspection/state-inspector/transition-log.d.ts.map +1 -0
- package/dist/platform/runtime/inspection/state-inspector/transition-log.js +120 -0
- package/dist/platform/runtime/inspection/state-inspector/types.d.ts +193 -0
- package/dist/platform/runtime/inspection/state-inspector/types.d.ts.map +1 -0
- package/dist/platform/runtime/inspection/state-inspector/types.js +16 -0
- package/dist/platform/runtime/mcp/lifecycle.d.ts +54 -0
- package/dist/platform/runtime/mcp/lifecycle.d.ts.map +1 -0
- package/dist/platform/runtime/mcp/lifecycle.js +72 -0
- package/dist/platform/runtime/mcp/permissions.d.ts +110 -0
- package/dist/platform/runtime/mcp/permissions.d.ts.map +1 -0
- package/dist/platform/runtime/mcp/permissions.js +605 -0
- package/dist/platform/runtime/mcp/schema-freshness.d.ts +115 -0
- package/dist/platform/runtime/mcp/schema-freshness.d.ts.map +1 -0
- package/dist/platform/runtime/mcp/schema-freshness.js +231 -0
- package/dist/platform/runtime/mcp/types.d.ts +275 -0
- package/dist/platform/runtime/mcp/types.d.ts.map +1 -0
- package/dist/platform/runtime/mcp/types.js +6 -0
- package/dist/platform/runtime/notifications/formatters/index.d.ts +6 -0
- package/dist/platform/runtime/notifications/formatters/index.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/formatters/index.js +5 -0
- package/dist/platform/runtime/notifications/formatters/panel-jump.d.ts +23 -0
- package/dist/platform/runtime/notifications/formatters/panel-jump.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/formatters/panel-jump.js +32 -0
- package/dist/platform/runtime/notifications/formatters/summary.d.ts +24 -0
- package/dist/platform/runtime/notifications/formatters/summary.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/formatters/summary.js +56 -0
- package/dist/platform/runtime/notifications/index.d.ts +32 -0
- package/dist/platform/runtime/notifications/index.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/index.js +32 -0
- package/dist/platform/runtime/notifications/policies/batch-policy.d.ts +51 -0
- package/dist/platform/runtime/notifications/policies/batch-policy.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/policies/batch-policy.js +85 -0
- package/dist/platform/runtime/notifications/policies/burst-policy.d.ts +70 -0
- package/dist/platform/runtime/notifications/policies/burst-policy.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/policies/burst-policy.js +122 -0
- package/dist/platform/runtime/notifications/policies/default-policy.d.ts +21 -0
- package/dist/platform/runtime/notifications/policies/default-policy.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/policies/default-policy.js +32 -0
- package/dist/platform/runtime/notifications/policies/index.d.ts +9 -0
- package/dist/platform/runtime/notifications/policies/index.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/policies/index.js +8 -0
- package/dist/platform/runtime/notifications/policies/mode-context-policy.d.ts +28 -0
- package/dist/platform/runtime/notifications/policies/mode-context-policy.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/policies/mode-context-policy.js +62 -0
- package/dist/platform/runtime/notifications/policies/quiet-typing.d.ts +21 -0
- package/dist/platform/runtime/notifications/policies/quiet-typing.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/policies/quiet-typing.js +37 -0
- package/dist/platform/runtime/notifications/router.d.ts +139 -0
- package/dist/platform/runtime/notifications/router.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/router.js +222 -0
- package/dist/platform/runtime/notifications/types.d.ts +126 -0
- package/dist/platform/runtime/notifications/types.d.ts.map +1 -0
- package/dist/platform/runtime/notifications/types.js +7 -0
- package/dist/platform/runtime/ops/playbooks/compaction-failure.d.ts +10 -0
- package/dist/platform/runtime/ops/playbooks/compaction-failure.d.ts.map +1 -0
- package/dist/platform/runtime/ops/playbooks/compaction-failure.js +106 -0
- package/dist/platform/runtime/ops/playbooks/export-recovery.d.ts +10 -0
- package/dist/platform/runtime/ops/playbooks/export-recovery.d.ts.map +1 -0
- package/dist/platform/runtime/ops/playbooks/export-recovery.js +110 -0
- package/dist/platform/runtime/ops/playbooks/permission-deadlock.d.ts +11 -0
- package/dist/platform/runtime/ops/playbooks/permission-deadlock.d.ts.map +1 -0
- package/dist/platform/runtime/ops/playbooks/permission-deadlock.js +108 -0
- package/dist/platform/runtime/ops/playbooks/plugin-degradation.d.ts +10 -0
- package/dist/platform/runtime/ops/playbooks/plugin-degradation.d.ts.map +1 -0
- package/dist/platform/runtime/ops/playbooks/plugin-degradation.js +107 -0
- package/dist/platform/runtime/ops/playbooks/reconnect-failure.d.ts +10 -0
- package/dist/platform/runtime/ops/playbooks/reconnect-failure.d.ts.map +1 -0
- package/dist/platform/runtime/ops/playbooks/reconnect-failure.js +109 -0
- package/dist/platform/runtime/ops/safe-check.d.ts +10 -0
- package/dist/platform/runtime/ops/safe-check.d.ts.map +1 -0
- package/dist/platform/runtime/ops/safe-check.js +14 -0
- package/dist/platform/runtime/ops/types.d.ts +99 -0
- package/dist/platform/runtime/ops/types.d.ts.map +1 -0
- package/dist/platform/runtime/ops/types.js +8 -0
- package/dist/platform/runtime/perf/budgets.d.ts +17 -0
- package/dist/platform/runtime/perf/budgets.d.ts.map +1 -0
- package/dist/platform/runtime/perf/budgets.js +117 -0
- package/dist/platform/runtime/perf/monitor.d.ts +69 -0
- package/dist/platform/runtime/perf/monitor.d.ts.map +1 -0
- package/dist/platform/runtime/perf/monitor.js +148 -0
- package/dist/platform/runtime/perf/panel-contracts.d.ts +93 -0
- package/dist/platform/runtime/perf/panel-contracts.d.ts.map +1 -0
- package/dist/platform/runtime/perf/panel-contracts.js +92 -0
- package/dist/platform/runtime/perf/panel-health-monitor.d.ts +92 -0
- package/dist/platform/runtime/perf/panel-health-monitor.d.ts.map +1 -0
- package/dist/platform/runtime/perf/panel-health-monitor.js +239 -0
- package/dist/platform/runtime/perf/reporter.d.ts +16 -0
- package/dist/platform/runtime/perf/reporter.d.ts.map +1 -0
- package/dist/platform/runtime/perf/reporter.js +99 -0
- package/dist/platform/runtime/perf/types.d.ts +69 -0
- package/dist/platform/runtime/perf/types.d.ts.map +1 -0
- package/dist/platform/runtime/perf/types.js +7 -0
- package/dist/platform/runtime/permissions/decision-log.d.ts +98 -0
- package/dist/platform/runtime/permissions/decision-log.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/decision-log.js +133 -0
- package/dist/platform/runtime/permissions/divergence-dashboard.d.ts +205 -0
- package/dist/platform/runtime/permissions/divergence-dashboard.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/divergence-dashboard.js +207 -0
- package/dist/platform/runtime/permissions/evaluator.d.ts +60 -0
- package/dist/platform/runtime/permissions/evaluator.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/evaluator.js +384 -0
- package/dist/platform/runtime/permissions/lint.d.ts +9 -0
- package/dist/platform/runtime/permissions/lint.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/lint.js +72 -0
- package/dist/platform/runtime/permissions/normalization/ast.d.ts +93 -0
- package/dist/platform/runtime/permissions/normalization/ast.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/normalization/ast.js +53 -0
- package/dist/platform/runtime/permissions/normalization/canonicalizer.d.ts +26 -0
- package/dist/platform/runtime/permissions/normalization/canonicalizer.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/normalization/canonicalizer.js +60 -0
- package/dist/platform/runtime/permissions/normalization/classifier.d.ts +38 -0
- package/dist/platform/runtime/permissions/normalization/classifier.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/normalization/classifier.js +277 -0
- package/dist/platform/runtime/permissions/normalization/index.d.ts +33 -0
- package/dist/platform/runtime/permissions/normalization/index.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/normalization/index.js +45 -0
- package/dist/platform/runtime/permissions/normalization/parser.d.ts +42 -0
- package/dist/platform/runtime/permissions/normalization/parser.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/normalization/parser.js +189 -0
- package/dist/platform/runtime/permissions/normalization/segmenter.d.ts +17 -0
- package/dist/platform/runtime/permissions/normalization/segmenter.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/normalization/segmenter.js +59 -0
- package/dist/platform/runtime/permissions/normalization/tokenizer.d.ts +40 -0
- package/dist/platform/runtime/permissions/normalization/tokenizer.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/normalization/tokenizer.js +184 -0
- package/dist/platform/runtime/permissions/normalization/types.d.ts +63 -0
- package/dist/platform/runtime/permissions/normalization/types.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/normalization/types.js +7 -0
- package/dist/platform/runtime/permissions/normalization/verdict.d.ts +100 -0
- package/dist/platform/runtime/permissions/normalization/verdict.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/normalization/verdict.js +269 -0
- package/dist/platform/runtime/permissions/policy-loader.d.ts +142 -0
- package/dist/platform/runtime/permissions/policy-loader.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/policy-loader.js +124 -0
- package/dist/platform/runtime/permissions/policy-registry.d.ts +225 -0
- package/dist/platform/runtime/permissions/policy-registry.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/policy-registry.js +307 -0
- package/dist/platform/runtime/permissions/policy-signer.d.ts +104 -0
- package/dist/platform/runtime/permissions/policy-signer.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/policy-signer.js +145 -0
- package/dist/platform/runtime/permissions/risk-language.d.ts +3 -0
- package/dist/platform/runtime/permissions/risk-language.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/risk-language.js +21 -0
- package/dist/platform/runtime/permissions/risk-model.d.ts +9 -0
- package/dist/platform/runtime/permissions/risk-model.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/risk-model.js +58 -0
- package/dist/platform/runtime/permissions/rules/arg-shape.d.ts +26 -0
- package/dist/platform/runtime/permissions/rules/arg-shape.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/rules/arg-shape.js +109 -0
- package/dist/platform/runtime/permissions/rules/index.d.ts +16 -0
- package/dist/platform/runtime/permissions/rules/index.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/rules/index.js +10 -0
- package/dist/platform/runtime/permissions/rules/mode-constraint.d.ts +29 -0
- package/dist/platform/runtime/permissions/rules/mode-constraint.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/rules/mode-constraint.js +80 -0
- package/dist/platform/runtime/permissions/rules/network-scope.d.ts +38 -0
- package/dist/platform/runtime/permissions/rules/network-scope.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/rules/network-scope.js +153 -0
- package/dist/platform/runtime/permissions/rules/path-scope.d.ts +28 -0
- package/dist/platform/runtime/permissions/rules/path-scope.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/rules/path-scope.js +0 -0
- package/dist/platform/runtime/permissions/rules/prefix.d.ts +26 -0
- package/dist/platform/runtime/permissions/rules/prefix.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/rules/prefix.js +103 -0
- package/dist/platform/runtime/permissions/safety-checks.d.ts +32 -0
- package/dist/platform/runtime/permissions/safety-checks.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/safety-checks.js +263 -0
- package/dist/platform/runtime/permissions/simulation-scenarios.d.ts +28 -0
- package/dist/platform/runtime/permissions/simulation-scenarios.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/simulation-scenarios.js +34 -0
- package/dist/platform/runtime/permissions/simulation.d.ts +113 -0
- package/dist/platform/runtime/permissions/simulation.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/simulation.js +290 -0
- package/dist/platform/runtime/permissions/types.d.ts +332 -0
- package/dist/platform/runtime/permissions/types.d.ts.map +1 -0
- package/dist/platform/runtime/permissions/types.js +7 -0
- package/dist/platform/runtime/provider-health/data-provider.d.ts +82 -0
- package/dist/platform/runtime/provider-health/data-provider.d.ts.map +1 -0
- package/dist/platform/runtime/provider-health/data-provider.js +197 -0
- package/dist/platform/runtime/provider-health/fallback-visualizer.d.ts +22 -0
- package/dist/platform/runtime/provider-health/fallback-visualizer.d.ts.map +1 -0
- package/dist/platform/runtime/provider-health/fallback-visualizer.js +48 -0
- package/dist/platform/runtime/provider-health/index.d.ts +24 -0
- package/dist/platform/runtime/provider-health/index.d.ts.map +1 -0
- package/dist/platform/runtime/provider-health/index.js +21 -0
- package/dist/platform/runtime/provider-health/types.d.ts +128 -0
- package/dist/platform/runtime/provider-health/types.d.ts.map +1 -0
- package/dist/platform/runtime/provider-health/types.js +1 -0
- package/dist/platform/runtime/remote/capabilities.d.ts +11 -0
- package/dist/platform/runtime/remote/capabilities.d.ts.map +1 -0
- package/dist/platform/runtime/remote/capabilities.js +53 -0
- package/dist/platform/runtime/remote/distributed-runtime-contract.d.ts +3 -0
- package/dist/platform/runtime/remote/distributed-runtime-contract.d.ts.map +1 -0
- package/dist/platform/runtime/remote/distributed-runtime-contract.js +4 -0
- package/dist/platform/runtime/remote/distributed-runtime-manager.d.ts +147 -0
- package/dist/platform/runtime/remote/distributed-runtime-manager.d.ts.map +1 -0
- package/dist/platform/runtime/remote/distributed-runtime-manager.js +88 -0
- package/dist/platform/runtime/remote/distributed-runtime-pairing.d.ts +71 -0
- package/dist/platform/runtime/remote/distributed-runtime-pairing.d.ts.map +1 -0
- package/dist/platform/runtime/remote/distributed-runtime-pairing.js +405 -0
- package/dist/platform/runtime/remote/distributed-runtime-store.d.ts +23 -0
- package/dist/platform/runtime/remote/distributed-runtime-store.d.ts.map +1 -0
- package/dist/platform/runtime/remote/distributed-runtime-store.js +238 -0
- package/dist/platform/runtime/remote/distributed-runtime-types.d.ts +181 -0
- package/dist/platform/runtime/remote/distributed-runtime-types.d.ts.map +1 -0
- package/dist/platform/runtime/remote/distributed-runtime-types.js +1 -0
- package/dist/platform/runtime/remote/distributed-runtime-utils.d.ts +36 -0
- package/dist/platform/runtime/remote/distributed-runtime-utils.d.ts.map +1 -0
- package/dist/platform/runtime/remote/distributed-runtime-utils.js +292 -0
- package/dist/platform/runtime/remote/distributed-runtime-work.d.ts +61 -0
- package/dist/platform/runtime/remote/distributed-runtime-work.d.ts.map +1 -0
- package/dist/platform/runtime/remote/distributed-runtime-work.js +257 -0
- package/dist/platform/runtime/remote/distributed-runtime.d.ts +4 -0
- package/dist/platform/runtime/remote/distributed-runtime.d.ts.map +1 -0
- package/dist/platform/runtime/remote/distributed-runtime.js +2 -0
- package/dist/platform/runtime/remote/heartbeat.d.ts +10 -0
- package/dist/platform/runtime/remote/heartbeat.d.ts.map +1 -0
- package/dist/platform/runtime/remote/heartbeat.js +32 -0
- package/dist/platform/runtime/remote/identity.d.ts +83 -0
- package/dist/platform/runtime/remote/identity.d.ts.map +1 -0
- package/dist/platform/runtime/remote/identity.js +137 -0
- package/dist/platform/runtime/remote/negotiation.d.ts +12 -0
- package/dist/platform/runtime/remote/negotiation.d.ts.map +1 -0
- package/dist/platform/runtime/remote/negotiation.js +22 -0
- package/dist/platform/runtime/remote/observability.d.ts +138 -0
- package/dist/platform/runtime/remote/observability.d.ts.map +1 -0
- package/dist/platform/runtime/remote/observability.js +160 -0
- package/dist/platform/runtime/remote/reconnect.d.ts +163 -0
- package/dist/platform/runtime/remote/reconnect.d.ts.map +1 -0
- package/dist/platform/runtime/remote/reconnect.js +242 -0
- package/dist/platform/runtime/remote/recovery.d.ts +11 -0
- package/dist/platform/runtime/remote/recovery.d.ts.map +1 -0
- package/dist/platform/runtime/remote/recovery.js +36 -0
- package/dist/platform/runtime/remote/session-state.d.ts +30 -0
- package/dist/platform/runtime/remote/session-state.d.ts.map +1 -0
- package/dist/platform/runtime/remote/session-state.js +18 -0
- package/dist/platform/runtime/remote/sync.d.ts +132 -0
- package/dist/platform/runtime/remote/sync.d.ts.map +1 -0
- package/dist/platform/runtime/remote/sync.js +194 -0
- package/dist/platform/runtime/remote/transport-contract.d.ts +240 -0
- package/dist/platform/runtime/remote/transport-contract.d.ts.map +1 -0
- package/dist/platform/runtime/remote/transport-contract.js +334 -0
- package/dist/platform/runtime/remote/types.d.ts +410 -0
- package/dist/platform/runtime/remote/types.d.ts.map +1 -0
- package/dist/platform/runtime/remote/types.js +7 -0
- package/dist/platform/runtime/retention/index.d.ts +18 -0
- package/dist/platform/runtime/retention/index.d.ts.map +1 -0
- package/dist/platform/runtime/retention/index.js +16 -0
- package/dist/platform/runtime/retention/policy.d.ts +119 -0
- package/dist/platform/runtime/retention/policy.d.ts.map +1 -0
- package/dist/platform/runtime/retention/policy.js +259 -0
- package/dist/platform/runtime/retention/pruner.d.ts +54 -0
- package/dist/platform/runtime/retention/pruner.d.ts.map +1 -0
- package/dist/platform/runtime/retention/pruner.js +153 -0
- package/dist/platform/runtime/retention/types.d.ts +138 -0
- package/dist/platform/runtime/retention/types.d.ts.map +1 -0
- package/dist/platform/runtime/retention/types.js +10 -0
- package/dist/platform/runtime/sandbox/qemu-wrapper-template.d.ts +2 -0
- package/dist/platform/runtime/sandbox/qemu-wrapper-template.d.ts.map +1 -0
- package/dist/platform/runtime/sandbox/qemu-wrapper-template.js +247 -0
- package/dist/platform/runtime/sandbox/types.d.ts +138 -0
- package/dist/platform/runtime/sandbox/types.d.ts.map +1 -0
- package/dist/platform/runtime/sandbox/types.js +1 -0
- package/dist/platform/runtime/shell-paths.d.ts +21 -0
- package/dist/platform/runtime/shell-paths.d.ts.map +1 -0
- package/dist/platform/runtime/shell-paths.js +51 -0
- package/dist/platform/runtime/store/domains/acp.d.ts +60 -0
- package/dist/platform/runtime/store/domains/acp.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/acp.js +22 -0
- package/dist/platform/runtime/store/domains/agents.d.ts +88 -0
- package/dist/platform/runtime/store/domains/agents.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/agents.js +20 -0
- package/dist/platform/runtime/store/domains/automation.d.ts +27 -0
- package/dist/platform/runtime/store/domains/automation.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/automation.js +24 -0
- package/dist/platform/runtime/store/domains/communication.d.ts +32 -0
- package/dist/platform/runtime/store/domains/communication.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/communication.js +15 -0
- package/dist/platform/runtime/store/domains/control-plane.d.ts +46 -0
- package/dist/platform/runtime/store/domains/control-plane.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/control-plane.js +27 -0
- package/dist/platform/runtime/store/domains/daemon.d.ts +72 -0
- package/dist/platform/runtime/store/domains/daemon.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/daemon.js +25 -0
- package/dist/platform/runtime/store/domains/deliveries.d.ts +22 -0
- package/dist/platform/runtime/store/domains/deliveries.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/deliveries.js +20 -0
- package/dist/platform/runtime/store/domains/discovery.d.ts +72 -0
- package/dist/platform/runtime/store/domains/discovery.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/discovery.js +30 -0
- package/dist/platform/runtime/store/domains/domain-read-matrix.d.ts +47 -0
- package/dist/platform/runtime/store/domains/domain-read-matrix.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/domain-read-matrix.js +83 -0
- package/dist/platform/runtime/store/domains/git.d.ts +85 -0
- package/dist/platform/runtime/store/domains/git.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/git.js +26 -0
- package/dist/platform/runtime/store/domains/integrations.d.ts +59 -0
- package/dist/platform/runtime/store/domains/integrations.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/integrations.js +19 -0
- package/dist/platform/runtime/store/domains/intelligence.d.ts +85 -0
- package/dist/platform/runtime/store/domains/intelligence.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/intelligence.js +25 -0
- package/dist/platform/runtime/store/domains/mcp.d.ts +90 -0
- package/dist/platform/runtime/store/domains/mcp.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/mcp.js +20 -0
- package/dist/platform/runtime/store/domains/model.d.ts +81 -0
- package/dist/platform/runtime/store/domains/model.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/model.js +34 -0
- package/dist/platform/runtime/store/domains/orchestration.d.ts +56 -0
- package/dist/platform/runtime/store/domains/orchestration.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/orchestration.js +17 -0
- package/dist/platform/runtime/store/domains/overlays.d.ts +62 -0
- package/dist/platform/runtime/store/domains/overlays.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/overlays.js +19 -0
- package/dist/platform/runtime/store/domains/plugins.d.ts +69 -0
- package/dist/platform/runtime/store/domains/plugins.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/plugins.js +22 -0
- package/dist/platform/runtime/store/domains/provider-health.d.ts +85 -0
- package/dist/platform/runtime/store/domains/provider-health.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/provider-health.js +19 -0
- package/dist/platform/runtime/store/domains/routes.d.ts +19 -0
- package/dist/platform/runtime/store/domains/routes.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/routes.js +26 -0
- package/dist/platform/runtime/store/domains/session.d.ts +69 -0
- package/dist/platform/runtime/store/domains/session.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/session.js +30 -0
- package/dist/platform/runtime/store/domains/surface-perf.d.ts +72 -0
- package/dist/platform/runtime/store/domains/surface-perf.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/surface-perf.js +28 -0
- package/dist/platform/runtime/store/domains/surfaces.d.ts +32 -0
- package/dist/platform/runtime/store/domains/surfaces.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/surfaces.js +17 -0
- package/dist/platform/runtime/store/domains/tasks.d.ts +109 -0
- package/dist/platform/runtime/store/domains/tasks.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/tasks.js +23 -0
- package/dist/platform/runtime/store/domains/telemetry.d.ts +90 -0
- package/dist/platform/runtime/store/domains/telemetry.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/telemetry.js +36 -0
- package/dist/platform/runtime/store/domains/watchers.d.ts +39 -0
- package/dist/platform/runtime/store/domains/watchers.d.ts.map +1 -0
- package/dist/platform/runtime/store/domains/watchers.js +20 -0
- package/dist/platform/runtime/tasks/lifecycle.d.ts +55 -0
- package/dist/platform/runtime/tasks/lifecycle.d.ts.map +1 -0
- package/dist/platform/runtime/tasks/lifecycle.js +57 -0
- package/dist/platform/runtime/tasks/registry.d.ts +77 -0
- package/dist/platform/runtime/tasks/registry.d.ts.map +1 -0
- package/dist/platform/runtime/tasks/registry.js +110 -0
- package/dist/platform/runtime/tasks/types.d.ts +190 -0
- package/dist/platform/runtime/tasks/types.d.ts.map +1 -0
- package/dist/platform/runtime/tasks/types.js +1 -0
- package/dist/platform/runtime/telemetry/exporters/console.d.ts +41 -0
- package/dist/platform/runtime/telemetry/exporters/console.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/exporters/console.js +76 -0
- package/dist/platform/runtime/telemetry/exporters/index.d.ts +12 -0
- package/dist/platform/runtime/telemetry/exporters/index.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/exporters/index.js +5 -0
- package/dist/platform/runtime/telemetry/exporters/local-ledger.d.ts +105 -0
- package/dist/platform/runtime/telemetry/exporters/local-ledger.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/exporters/local-ledger.js +185 -0
- package/dist/platform/runtime/telemetry/exporters/otlp.d.ts +66 -0
- package/dist/platform/runtime/telemetry/exporters/otlp.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/exporters/otlp.js +214 -0
- package/dist/platform/runtime/telemetry/exporters/queue.d.ts +86 -0
- package/dist/platform/runtime/telemetry/exporters/queue.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/exporters/queue.js +212 -0
- package/dist/platform/runtime/telemetry/exporters/types.d.ts +91 -0
- package/dist/platform/runtime/telemetry/exporters/types.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/exporters/types.js +24 -0
- package/dist/platform/runtime/telemetry/meter.d.ts +50 -0
- package/dist/platform/runtime/telemetry/meter.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/meter.js +132 -0
- package/dist/platform/runtime/telemetry/spans/agent.d.ts +65 -0
- package/dist/platform/runtime/telemetry/spans/agent.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/agent.js +63 -0
- package/dist/platform/runtime/telemetry/spans/compaction.d.ts +67 -0
- package/dist/platform/runtime/telemetry/spans/compaction.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/compaction.js +70 -0
- package/dist/platform/runtime/telemetry/spans/health.d.ts +33 -0
- package/dist/platform/runtime/telemetry/spans/health.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/health.js +81 -0
- package/dist/platform/runtime/telemetry/spans/index.d.ts +28 -0
- package/dist/platform/runtime/telemetry/spans/index.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/index.js +12 -0
- package/dist/platform/runtime/telemetry/spans/llm.d.ts +67 -0
- package/dist/platform/runtime/telemetry/spans/llm.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/llm.js +73 -0
- package/dist/platform/runtime/telemetry/spans/mcp.d.ts +60 -0
- package/dist/platform/runtime/telemetry/spans/mcp.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/mcp.js +67 -0
- package/dist/platform/runtime/telemetry/spans/permission.d.ts +65 -0
- package/dist/platform/runtime/telemetry/spans/permission.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/permission.js +63 -0
- package/dist/platform/runtime/telemetry/spans/plugin.d.ts +58 -0
- package/dist/platform/runtime/telemetry/spans/plugin.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/plugin.js +60 -0
- package/dist/platform/runtime/telemetry/spans/session.d.ts +61 -0
- package/dist/platform/runtime/telemetry/spans/session.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/session.js +64 -0
- package/dist/platform/runtime/telemetry/spans/task.d.ts +65 -0
- package/dist/platform/runtime/telemetry/spans/task.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/task.js +66 -0
- package/dist/platform/runtime/telemetry/spans/tool.d.ts +62 -0
- package/dist/platform/runtime/telemetry/spans/tool.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/tool.js +71 -0
- package/dist/platform/runtime/telemetry/spans/transport.d.ts +57 -0
- package/dist/platform/runtime/telemetry/spans/transport.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/transport.js +63 -0
- package/dist/platform/runtime/telemetry/spans/turn.d.ts +55 -0
- package/dist/platform/runtime/telemetry/spans/turn.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/spans/turn.js +56 -0
- package/dist/platform/runtime/telemetry/tracer.d.ts +56 -0
- package/dist/platform/runtime/telemetry/tracer.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/tracer.js +210 -0
- package/dist/platform/runtime/telemetry/types.d.ts +167 -0
- package/dist/platform/runtime/telemetry/types.d.ts.map +1 -0
- package/dist/platform/runtime/telemetry/types.js +22 -0
- package/dist/platform/runtime/tools/adapter.d.ts +60 -0
- package/dist/platform/runtime/tools/adapter.d.ts.map +1 -0
- package/dist/platform/runtime/tools/adapter.js +19 -0
- package/dist/platform/runtime/tools/contract-verifier.d.ts +105 -0
- package/dist/platform/runtime/tools/contract-verifier.d.ts.map +1 -0
- package/dist/platform/runtime/tools/contract-verifier.js +359 -0
- package/dist/platform/runtime/tools/output-policy.d.ts +128 -0
- package/dist/platform/runtime/tools/output-policy.d.ts.map +1 -0
- package/dist/platform/runtime/tools/output-policy.js +185 -0
- package/dist/platform/runtime/tools/types.d.ts +118 -0
- package/dist/platform/runtime/tools/types.d.ts.map +1 -0
- package/dist/platform/runtime/tools/types.js +1 -0
- package/dist/platform/runtime/transports/backoff.d.ts +3 -0
- package/dist/platform/runtime/transports/backoff.d.ts.map +1 -0
- package/dist/platform/runtime/transports/backoff.js +1 -0
- package/dist/platform/runtime/transports/client-transport.d.ts +3 -0
- package/dist/platform/runtime/transports/client-transport.d.ts.map +1 -0
- package/dist/platform/runtime/transports/client-transport.js +1 -0
- package/dist/platform/runtime/transports/contract-http-client.d.ts +3 -0
- package/dist/platform/runtime/transports/contract-http-client.d.ts.map +1 -0
- package/dist/platform/runtime/transports/contract-http-client.js +1 -0
- package/dist/platform/runtime/transports/direct-client.d.ts +3 -0
- package/dist/platform/runtime/transports/direct-client.d.ts.map +1 -0
- package/dist/platform/runtime/transports/direct-client.js +1 -0
- package/dist/platform/runtime/transports/domain-events.d.ts +3 -0
- package/dist/platform/runtime/transports/domain-events.d.ts.map +1 -0
- package/dist/platform/runtime/transports/domain-events.js +1 -0
- package/dist/platform/runtime/transports/http-auth.d.ts +3 -0
- package/dist/platform/runtime/transports/http-auth.d.ts.map +1 -0
- package/dist/platform/runtime/transports/http-auth.js +1 -0
- package/dist/platform/runtime/transports/http-json-transport.d.ts +7 -0
- package/dist/platform/runtime/transports/http-json-transport.d.ts.map +1 -0
- package/dist/platform/runtime/transports/http-json-transport.js +5 -0
- package/dist/platform/runtime/transports/http-retry.d.ts +3 -0
- package/dist/platform/runtime/transports/http-retry.d.ts.map +1 -0
- package/dist/platform/runtime/transports/http-retry.js +1 -0
- package/dist/platform/runtime/transports/operator-remote-client.d.ts +3 -0
- package/dist/platform/runtime/transports/operator-remote-client.d.ts.map +1 -0
- package/dist/platform/runtime/transports/operator-remote-client.js +1 -0
- package/dist/platform/runtime/transports/peer-remote-client.d.ts +3 -0
- package/dist/platform/runtime/transports/peer-remote-client.d.ts.map +1 -0
- package/dist/platform/runtime/transports/peer-remote-client.js +1 -0
- package/dist/platform/runtime/transports/runtime-events-client.d.ts +3 -0
- package/dist/platform/runtime/transports/runtime-events-client.d.ts.map +1 -0
- package/dist/platform/runtime/transports/runtime-events-client.js +1 -0
- package/dist/platform/runtime/transports/sse-stream.d.ts +4 -0
- package/dist/platform/runtime/transports/sse-stream.d.ts.map +1 -0
- package/dist/platform/runtime/transports/sse-stream.js +7 -0
- package/dist/platform/runtime/transports/stream-reconnect.d.ts +3 -0
- package/dist/platform/runtime/transports/stream-reconnect.d.ts.map +1 -0
- package/dist/platform/runtime/transports/stream-reconnect.js +1 -0
- package/dist/platform/runtime/transports/transport-paths.d.ts +3 -0
- package/dist/platform/runtime/transports/transport-paths.d.ts.map +1 -0
- package/dist/platform/runtime/transports/transport-paths.js +1 -0
- package/dist/platform/runtime/ui-read-models-base.d.ts +7 -0
- package/dist/platform/runtime/ui-read-models-base.d.ts.map +1 -0
- package/dist/platform/runtime/ui-read-models-base.js +1 -0
- package/dist/platform/scheduler/scheduler.d.ts +85 -0
- package/dist/platform/scheduler/scheduler.d.ts.map +1 -0
- package/dist/platform/scheduler/scheduler.js +628 -0
- package/dist/platform/security/http-auth.d.ts +30 -0
- package/dist/platform/security/http-auth.d.ts.map +1 -0
- package/dist/platform/security/http-auth.js +112 -0
- package/dist/platform/security/index.d.ts +8 -0
- package/dist/platform/security/index.d.ts.map +1 -0
- package/dist/platform/security/index.js +4 -0
- package/dist/platform/security/spawn-tokens.d.ts +65 -0
- package/dist/platform/security/spawn-tokens.d.ts.map +1 -0
- package/dist/platform/security/spawn-tokens.js +161 -0
- package/dist/platform/security/token-audit.d.ts +207 -0
- package/dist/platform/security/token-audit.d.ts.map +1 -0
- package/dist/platform/security/token-audit.js +292 -0
- package/dist/platform/security/user-auth.d.ts +63 -0
- package/dist/platform/security/user-auth.d.ts.map +1 -0
- package/dist/platform/security/user-auth.js +257 -0
- package/dist/platform/sessions/change-tracker.d.ts +14 -0
- package/dist/platform/sessions/change-tracker.d.ts.map +1 -0
- package/dist/platform/sessions/change-tracker.js +24 -0
- package/dist/platform/sessions/orchestration/graph.d.ts +182 -0
- package/dist/platform/sessions/orchestration/graph.d.ts.map +1 -0
- package/dist/platform/sessions/orchestration/graph.js +427 -0
- package/dist/platform/sessions/orchestration/index.d.ts +8 -0
- package/dist/platform/sessions/orchestration/index.d.ts.map +1 -0
- package/dist/platform/sessions/orchestration/index.js +6 -0
- package/dist/platform/sessions/orchestration/registry.d.ts +149 -0
- package/dist/platform/sessions/orchestration/registry.d.ts.map +1 -0
- package/dist/platform/sessions/orchestration/registry.js +299 -0
- package/dist/platform/sessions/orchestration/types.d.ts +138 -0
- package/dist/platform/sessions/orchestration/types.d.ts.map +1 -0
- package/dist/platform/sessions/orchestration/types.js +22 -0
- package/dist/platform/state/db.d.ts +76 -0
- package/dist/platform/state/db.d.ts.map +1 -0
- package/dist/platform/state/db.js +220 -0
- package/dist/platform/state/file-cache.d.ts +97 -0
- package/dist/platform/state/file-cache.d.ts.map +1 -0
- package/dist/platform/state/file-cache.js +328 -0
- package/dist/platform/state/file-undo.d.ts +46 -0
- package/dist/platform/state/file-undo.d.ts.map +1 -0
- package/dist/platform/state/file-undo.js +110 -0
- package/dist/platform/state/json-file-store.d.ts +16 -0
- package/dist/platform/state/json-file-store.d.ts.map +1 -0
- package/dist/platform/state/json-file-store.js +44 -0
- package/dist/platform/state/kv-state.d.ts +42 -0
- package/dist/platform/state/kv-state.d.ts.map +1 -0
- package/dist/platform/state/kv-state.js +215 -0
- package/dist/platform/state/mode-manager.d.ts +61 -0
- package/dist/platform/state/mode-manager.d.ts.map +1 -0
- package/dist/platform/state/mode-manager.js +146 -0
- package/dist/platform/state/persistent-store.d.ts +17 -0
- package/dist/platform/state/persistent-store.d.ts.map +1 -0
- package/dist/platform/state/persistent-store.js +47 -0
- package/dist/platform/state/project-index.d.ts +58 -0
- package/dist/platform/state/project-index.d.ts.map +1 -0
- package/dist/platform/state/project-index.js +249 -0
- package/dist/platform/state/sqlite-store.d.ts +28 -0
- package/dist/platform/state/sqlite-store.d.ts.map +1 -0
- package/dist/platform/state/sqlite-store.js +95 -0
- package/dist/platform/state/telemetry.d.ts +42 -0
- package/dist/platform/state/telemetry.d.ts.map +1 -0
- package/dist/platform/state/telemetry.js +124 -0
- package/dist/platform/tools/agent/schema.d.ts +71 -0
- package/dist/platform/tools/agent/schema.d.ts.map +1 -0
- package/dist/platform/tools/agent/schema.js +236 -0
- package/dist/platform/tools/analyze/scan-modes.d.ts +13 -0
- package/dist/platform/tools/analyze/scan-modes.d.ts.map +1 -0
- package/dist/platform/tools/analyze/scan-modes.js +632 -0
- package/dist/platform/tools/analyze/schema.d.ts +8 -0
- package/dist/platform/tools/analyze/schema.d.ts.map +1 -0
- package/dist/platform/tools/analyze/schema.js +118 -0
- package/dist/platform/tools/analyze/shared.d.ts +37 -0
- package/dist/platform/tools/analyze/shared.d.ts.map +1 -0
- package/dist/platform/tools/analyze/shared.js +337 -0
- package/dist/platform/tools/analyze/types.d.ts +36 -0
- package/dist/platform/tools/analyze/types.d.ts.map +1 -0
- package/dist/platform/tools/analyze/types.js +1 -0
- package/dist/platform/tools/auto-repair.d.ts +21 -0
- package/dist/platform/tools/auto-repair.d.ts.map +1 -0
- package/dist/platform/tools/auto-repair.js +160 -0
- package/dist/platform/tools/control/schema.d.ts +6 -0
- package/dist/platform/tools/control/schema.d.ts.map +1 -0
- package/dist/platform/tools/control/schema.js +15 -0
- package/dist/platform/tools/edit/match.d.ts +69 -0
- package/dist/platform/tools/edit/match.d.ts.map +1 -0
- package/dist/platform/tools/edit/match.js +468 -0
- package/dist/platform/tools/edit/notebook.d.ts +33 -0
- package/dist/platform/tools/edit/notebook.d.ts.map +1 -0
- package/dist/platform/tools/edit/notebook.js +265 -0
- package/dist/platform/tools/edit/schema.d.ts +222 -0
- package/dist/platform/tools/edit/schema.d.ts.map +1 -0
- package/dist/platform/tools/edit/schema.js +234 -0
- package/dist/platform/tools/edit/types.d.ts +82 -0
- package/dist/platform/tools/edit/types.d.ts.map +1 -0
- package/dist/platform/tools/edit/types.js +1 -0
- package/dist/platform/tools/exec/ast-guard.d.ts +66 -0
- package/dist/platform/tools/exec/ast-guard.d.ts.map +1 -0
- package/dist/platform/tools/exec/ast-guard.js +121 -0
- package/dist/platform/tools/exec/file-ops.d.ts +15 -0
- package/dist/platform/tools/exec/file-ops.d.ts.map +1 -0
- package/dist/platform/tools/exec/file-ops.js +193 -0
- package/dist/platform/tools/exec/index.d.ts +2 -0
- package/dist/platform/tools/exec/index.d.ts.map +1 -0
- package/dist/platform/tools/exec/index.js +1 -0
- package/dist/platform/tools/exec/phased.d.ts +16 -0
- package/dist/platform/tools/exec/phased.d.ts.map +1 -0
- package/dist/platform/tools/exec/phased.js +25 -0
- package/dist/platform/tools/exec/runtime.d.ts +9 -0
- package/dist/platform/tools/exec/runtime.d.ts.map +1 -0
- package/dist/platform/tools/exec/runtime.js +506 -0
- package/dist/platform/tools/exec/schema.d.ts +267 -0
- package/dist/platform/tools/exec/schema.d.ts.map +1 -0
- package/dist/platform/tools/exec/schema.js +191 -0
- package/dist/platform/tools/fetch/extract.d.ts +6 -0
- package/dist/platform/tools/fetch/extract.d.ts.map +1 -0
- package/dist/platform/tools/fetch/extract.js +300 -0
- package/dist/platform/tools/fetch/host-utils.d.ts +8 -0
- package/dist/platform/tools/fetch/host-utils.d.ts.map +1 -0
- package/dist/platform/tools/fetch/host-utils.js +35 -0
- package/dist/platform/tools/fetch/sanitizer.d.ts +60 -0
- package/dist/platform/tools/fetch/sanitizer.d.ts.map +1 -0
- package/dist/platform/tools/fetch/sanitizer.js +124 -0
- package/dist/platform/tools/fetch/schema.d.ts +252 -0
- package/dist/platform/tools/fetch/schema.d.ts.map +1 -0
- package/dist/platform/tools/fetch/schema.js +167 -0
- package/dist/platform/tools/fetch/trust-tiers.d.ts +115 -0
- package/dist/platform/tools/fetch/trust-tiers.d.ts.map +1 -0
- package/dist/platform/tools/fetch/trust-tiers.js +294 -0
- package/dist/platform/tools/fetch/types.d.ts +35 -0
- package/dist/platform/tools/fetch/types.d.ts.map +1 -0
- package/dist/platform/tools/fetch/types.js +1 -0
- package/dist/platform/tools/find/content.d.ts +5 -0
- package/dist/platform/tools/find/content.d.ts.map +1 -0
- package/dist/platform/tools/find/content.js +240 -0
- package/dist/platform/tools/find/executor.d.ts +5 -0
- package/dist/platform/tools/find/executor.d.ts.map +1 -0
- package/dist/platform/tools/find/executor.js +76 -0
- package/dist/platform/tools/find/files.d.ts +3 -0
- package/dist/platform/tools/find/files.d.ts.map +1 -0
- package/dist/platform/tools/find/files.js +142 -0
- package/dist/platform/tools/find/index.d.ts +4 -0
- package/dist/platform/tools/find/index.d.ts.map +1 -0
- package/dist/platform/tools/find/index.js +2 -0
- package/dist/platform/tools/find/phased.d.ts +13 -0
- package/dist/platform/tools/find/phased.d.ts.map +1 -0
- package/dist/platform/tools/find/phased.js +25 -0
- package/dist/platform/tools/find/references.d.ts +3 -0
- package/dist/platform/tools/find/references.d.ts.map +1 -0
- package/dist/platform/tools/find/references.js +67 -0
- package/dist/platform/tools/find/schema.d.ts +7 -0
- package/dist/platform/tools/find/schema.d.ts.map +1 -0
- package/dist/platform/tools/find/schema.js +261 -0
- package/dist/platform/tools/find/shared.d.ts +152 -0
- package/dist/platform/tools/find/shared.d.ts.map +1 -0
- package/dist/platform/tools/find/shared.js +240 -0
- package/dist/platform/tools/find/structural.d.ts +3 -0
- package/dist/platform/tools/find/structural.d.ts.map +1 -0
- package/dist/platform/tools/find/structural.js +81 -0
- package/dist/platform/tools/find/symbols.d.ts +3 -0
- package/dist/platform/tools/find/symbols.d.ts.map +1 -0
- package/dist/platform/tools/find/symbols.js +167 -0
- package/dist/platform/tools/inspect/executor.d.ts +4 -0
- package/dist/platform/tools/inspect/executor.d.ts.map +1 -0
- package/dist/platform/tools/inspect/executor.js +142 -0
- package/dist/platform/tools/inspect/frontend.d.ts +16 -0
- package/dist/platform/tools/inspect/frontend.d.ts.map +1 -0
- package/dist/platform/tools/inspect/frontend.js +466 -0
- package/dist/platform/tools/inspect/index.d.ts +13 -0
- package/dist/platform/tools/inspect/index.d.ts.map +1 -0
- package/dist/platform/tools/inspect/index.js +65 -0
- package/dist/platform/tools/inspect/project.d.ts +10 -0
- package/dist/platform/tools/inspect/project.d.ts.map +1 -0
- package/dist/platform/tools/inspect/project.js +466 -0
- package/dist/platform/tools/inspect/schema.d.ts +302 -0
- package/dist/platform/tools/inspect/schema.d.ts.map +1 -0
- package/dist/platform/tools/inspect/schema.js +72 -0
- package/dist/platform/tools/inspect/shared.d.ts +21 -0
- package/dist/platform/tools/inspect/shared.d.ts.map +1 -0
- package/dist/platform/tools/inspect/shared.js +273 -0
- package/dist/platform/tools/mcp/schema.d.ts +12 -0
- package/dist/platform/tools/mcp/schema.d.ts.map +1 -0
- package/dist/platform/tools/mcp/schema.js +30 -0
- package/dist/platform/tools/packet/index.d.ts +3 -0
- package/dist/platform/tools/packet/index.d.ts.map +1 -0
- package/dist/platform/tools/packet/index.js +113 -0
- package/dist/platform/tools/packet/schema.d.ts +14 -0
- package/dist/platform/tools/packet/schema.d.ts.map +1 -0
- package/dist/platform/tools/packet/schema.js +20 -0
- package/dist/platform/tools/query/index.d.ts +3 -0
- package/dist/platform/tools/query/index.d.ts.map +1 -0
- package/dist/platform/tools/query/index.js +106 -0
- package/dist/platform/tools/query/schema.d.ts +13 -0
- package/dist/platform/tools/query/schema.d.ts.map +1 -0
- package/dist/platform/tools/query/schema.js +19 -0
- package/dist/platform/tools/read/file-readers.d.ts +82 -0
- package/dist/platform/tools/read/file-readers.d.ts.map +1 -0
- package/dist/platform/tools/read/file-readers.js +365 -0
- package/dist/platform/tools/read/index.d.ts +19 -0
- package/dist/platform/tools/read/index.d.ts.map +1 -0
- package/dist/platform/tools/read/index.js +133 -0
- package/dist/platform/tools/read/media.d.ts +111 -0
- package/dist/platform/tools/read/media.d.ts.map +1 -0
- package/dist/platform/tools/read/media.js +458 -0
- package/dist/platform/tools/read/phased.d.ts +20 -0
- package/dist/platform/tools/read/phased.d.ts.map +1 -0
- package/dist/platform/tools/read/phased.js +25 -0
- package/dist/platform/tools/read/schema.d.ts +144 -0
- package/dist/platform/tools/read/schema.d.ts.map +1 -0
- package/dist/platform/tools/read/schema.js +114 -0
- package/dist/platform/tools/read/text.d.ts +11 -0
- package/dist/platform/tools/read/text.d.ts.map +1 -0
- package/dist/platform/tools/read/text.js +138 -0
- package/dist/platform/tools/registry-tool/index.d.ts +14 -0
- package/dist/platform/tools/registry-tool/index.d.ts.map +1 -0
- package/dist/platform/tools/registry-tool/index.js +408 -0
- package/dist/platform/tools/registry-tool/schema.d.ts +53 -0
- package/dist/platform/tools/registry-tool/schema.d.ts.map +1 -0
- package/dist/platform/tools/registry-tool/schema.js +46 -0
- package/dist/platform/tools/registry-tool/skill-loader.d.ts +10 -0
- package/dist/platform/tools/registry-tool/skill-loader.d.ts.map +1 -0
- package/dist/platform/tools/registry-tool/skill-loader.js +73 -0
- package/dist/platform/tools/registry.d.ts +51 -0
- package/dist/platform/tools/registry.d.ts.map +1 -0
- package/dist/platform/tools/registry.js +119 -0
- package/dist/platform/tools/remote-trigger/schema.d.ts +12 -0
- package/dist/platform/tools/remote-trigger/schema.d.ts.map +1 -0
- package/dist/platform/tools/remote-trigger/schema.js +18 -0
- package/dist/platform/tools/repl/schema.d.ts +9 -0
- package/dist/platform/tools/repl/schema.d.ts.map +1 -0
- package/dist/platform/tools/repl/schema.js +15 -0
- package/dist/platform/tools/shared/overflow.d.ts +156 -0
- package/dist/platform/tools/shared/overflow.d.ts.map +1 -0
- package/dist/platform/tools/shared/overflow.js +363 -0
- package/dist/platform/tools/shared/process-manager.d.ts +61 -0
- package/dist/platform/tools/shared/process-manager.d.ts.map +1 -0
- package/dist/platform/tools/shared/process-manager.js +160 -0
- package/dist/platform/tools/shared/schema-fingerprint.d.ts +80 -0
- package/dist/platform/tools/shared/schema-fingerprint.d.ts.map +1 -0
- package/dist/platform/tools/shared/schema-fingerprint.js +163 -0
- package/dist/platform/tools/shared/validators.d.ts +23 -0
- package/dist/platform/tools/shared/validators.d.ts.map +1 -0
- package/dist/platform/tools/shared/validators.js +71 -0
- package/dist/platform/tools/state/schema.d.ts +197 -0
- package/dist/platform/tools/state/schema.d.ts.map +1 -0
- package/dist/platform/tools/state/schema.js +127 -0
- package/dist/platform/tools/task/index.d.ts +4 -0
- package/dist/platform/tools/task/index.d.ts.map +1 -0
- package/dist/platform/tools/task/index.js +150 -0
- package/dist/platform/tools/task/schema.d.ts +62 -0
- package/dist/platform/tools/task/schema.d.ts.map +1 -0
- package/dist/platform/tools/task/schema.js +28 -0
- package/dist/platform/tools/team/index.d.ts +3 -0
- package/dist/platform/tools/team/index.d.ts.map +1 -0
- package/dist/platform/tools/team/index.js +149 -0
- package/dist/platform/tools/team/schema.d.ts +47 -0
- package/dist/platform/tools/team/schema.d.ts.map +1 -0
- package/dist/platform/tools/team/schema.js +21 -0
- package/dist/platform/tools/web-search/schema.d.ts +59 -0
- package/dist/platform/tools/web-search/schema.d.ts.map +1 -0
- package/dist/platform/tools/web-search/schema.js +59 -0
- package/dist/platform/tools/workflow/index.d.ts +106 -0
- package/dist/platform/tools/workflow/index.d.ts.map +1 -0
- package/dist/platform/tools/workflow/index.js +443 -0
- package/dist/platform/tools/workflow/schema.d.ts +7 -0
- package/dist/platform/tools/workflow/schema.d.ts.map +1 -0
- package/dist/platform/tools/workflow/schema.js +94 -0
- package/dist/platform/tools/worklist/index.d.ts +3 -0
- package/dist/platform/tools/worklist/index.d.ts.map +1 -0
- package/dist/platform/tools/worklist/index.js +140 -0
- package/dist/platform/tools/worklist/schema.d.ts +45 -0
- package/dist/platform/tools/worklist/schema.d.ts.map +1 -0
- package/dist/platform/tools/worklist/schema.js +18 -0
- package/dist/platform/tools/write/schema.d.ts +107 -0
- package/dist/platform/tools/write/schema.d.ts.map +1 -0
- package/dist/platform/tools/write/schema.js +89 -0
- package/dist/platform/types/daemon-error-contract.d.ts +2 -0
- package/dist/platform/types/daemon-error-contract.d.ts.map +1 -0
- package/dist/platform/types/daemon-error-contract.js +1 -0
- package/dist/platform/types/errors.d.ts +87 -0
- package/dist/platform/types/errors.d.ts.map +1 -0
- package/dist/platform/types/errors.js +236 -0
- package/dist/platform/types/foundation-contract.d.ts +9 -0
- package/dist/platform/types/foundation-contract.d.ts.map +1 -0
- package/dist/platform/types/foundation-contract.js +1 -0
- package/dist/platform/types/generated/foundation-client-types.d.ts +2 -0
- package/dist/platform/types/generated/foundation-client-types.d.ts.map +1 -0
- package/dist/platform/types/generated/foundation-client-types.js +2 -0
- package/dist/platform/types/grid.d.ts +27 -0
- package/dist/platform/types/grid.d.ts.map +1 -0
- package/dist/platform/types/grid.js +26 -0
- package/dist/platform/types/tools.d.ts +36 -0
- package/dist/platform/types/tools.d.ts.map +1 -0
- package/dist/platform/types/tools.js +1 -0
- package/dist/platform/utils/clipboard.d.ts +18 -0
- package/dist/platform/utils/clipboard.d.ts.map +1 -0
- package/dist/platform/utils/clipboard.js +147 -0
- package/dist/platform/utils/error-display.d.ts +35 -0
- package/dist/platform/utils/error-display.d.ts.map +1 -0
- package/dist/platform/utils/error-display.js +314 -0
- package/dist/platform/utils/glob-to-regex.d.ts +7 -0
- package/dist/platform/utils/glob-to-regex.d.ts.map +1 -0
- package/dist/platform/utils/glob-to-regex.js +30 -0
- package/dist/platform/utils/logger.d.ts +25 -0
- package/dist/platform/utils/logger.d.ts.map +1 -0
- package/dist/platform/utils/logger.js +74 -0
- package/dist/platform/utils/markdown-disclosure.d.ts +23 -0
- package/dist/platform/utils/markdown-disclosure.d.ts.map +1 -0
- package/dist/platform/utils/markdown-disclosure.js +166 -0
- package/dist/platform/utils/notebook.d.ts +6 -0
- package/dist/platform/utils/notebook.d.ts.map +1 -0
- package/dist/platform/utils/notebook.js +7 -0
- package/dist/platform/utils/notify.d.ts +12 -0
- package/dist/platform/utils/notify.d.ts.map +1 -0
- package/dist/platform/utils/notify.js +34 -0
- package/dist/platform/utils/open-external.d.ts +2 -0
- package/dist/platform/utils/open-external.d.ts.map +1 -0
- package/dist/platform/utils/open-external.js +29 -0
- package/dist/platform/utils/path-safety.d.ts +7 -0
- package/dist/platform/utils/path-safety.d.ts.map +1 -0
- package/dist/platform/utils/path-safety.js +42 -0
- package/dist/platform/utils/prompt-loader.d.ts +25 -0
- package/dist/platform/utils/prompt-loader.d.ts.map +1 -0
- package/dist/platform/utils/prompt-loader.js +100 -0
- package/dist/platform/utils/redaction.d.ts +4 -0
- package/dist/platform/utils/redaction.d.ts.map +1 -0
- package/dist/platform/utils/redaction.js +66 -0
- package/dist/platform/utils/retry.d.ts +30 -0
- package/dist/platform/utils/retry.d.ts.map +1 -0
- package/dist/platform/utils/retry.js +76 -0
- package/dist/platform/utils/terminal-width.d.ts +19 -0
- package/dist/platform/utils/terminal-width.d.ts.map +1 -0
- package/dist/platform/utils/terminal-width.js +188 -0
- package/dist/platform/utils/url-safety.d.ts +8 -0
- package/dist/platform/utils/url-safety.d.ts.map +1 -0
- package/dist/platform/utils/url-safety.js +74 -0
- package/dist/platform/utils/walk-dir.d.ts +18 -0
- package/dist/platform/utils/walk-dir.d.ts.map +1 -0
- package/dist/platform/utils/walk-dir.js +55 -0
- package/dist/platform/voice/builtin-providers.d.ts +3 -0
- package/dist/platform/voice/builtin-providers.d.ts.map +1 -0
- package/dist/platform/voice/builtin-providers.js +15 -0
- package/dist/platform/voice/index.d.ts +7 -0
- package/dist/platform/voice/index.d.ts.map +1 -0
- package/dist/platform/voice/index.js +3 -0
- package/dist/platform/voice/provider-registry.d.ts +18 -0
- package/dist/platform/voice/provider-registry.d.ts.map +1 -0
- package/dist/platform/voice/provider-registry.js +58 -0
- package/dist/platform/voice/providers/deepgram.d.ts +3 -0
- package/dist/platform/voice/providers/deepgram.d.ts.map +1 -0
- package/dist/platform/voice/providers/deepgram.js +54 -0
- package/dist/platform/voice/providers/elevenlabs.d.ts +3 -0
- package/dist/platform/voice/providers/elevenlabs.d.ts.map +1 -0
- package/dist/platform/voice/providers/elevenlabs.js +333 -0
- package/dist/platform/voice/providers/google.d.ts +3 -0
- package/dist/platform/voice/providers/google.d.ts.map +1 -0
- package/dist/platform/voice/providers/google.js +166 -0
- package/dist/platform/voice/providers/microsoft.d.ts +3 -0
- package/dist/platform/voice/providers/microsoft.d.ts.map +1 -0
- package/dist/platform/voice/providers/microsoft.js +85 -0
- package/dist/platform/voice/providers/openai.d.ts +3 -0
- package/dist/platform/voice/providers/openai.d.ts.map +1 -0
- package/dist/platform/voice/providers/openai.js +289 -0
- package/dist/platform/voice/providers/shared.d.ts +17 -0
- package/dist/platform/voice/providers/shared.d.ts.map +1 -0
- package/dist/platform/voice/providers/shared.js +115 -0
- package/dist/platform/voice/providers/vydra.d.ts +3 -0
- package/dist/platform/voice/providers/vydra.d.ts.map +1 -0
- package/dist/platform/voice/providers/vydra.js +74 -0
- package/dist/platform/voice/service.d.ts +18 -0
- package/dist/platform/voice/service.d.ts.map +1 -0
- package/dist/platform/voice/service.js +49 -0
- package/dist/platform/voice/types.d.ts +88 -0
- package/dist/platform/voice/types.d.ts.map +1 -0
- package/dist/platform/voice/types.js +1 -0
- package/dist/platform/watchers/store.d.ts +12 -0
- package/dist/platform/watchers/store.d.ts.map +1 -0
- package/dist/platform/watchers/store.js +45 -0
- package/dist/platform/web-search/types.d.ts +89 -0
- package/dist/platform/web-search/types.d.ts.map +1 -0
- package/dist/platform/web-search/types.js +1 -0
- package/dist/platform/workflow/trigger-executor.d.ts +22 -0
- package/dist/platform/workflow/trigger-executor.d.ts.map +1 -0
- package/dist/platform/workflow/trigger-executor.js +304 -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,300 @@
|
|
|
1
|
+
function stripHtml(html) {
|
|
2
|
+
return html
|
|
3
|
+
.replace(/<script[\s\S]*?<\/script>/gi, '')
|
|
4
|
+
.replace(/<style[\s\S]*?<\/style>/gi, '')
|
|
5
|
+
.replace(/<[^>]+>/g, ' ')
|
|
6
|
+
.replace(/ /g, ' ')
|
|
7
|
+
.replace(/&/g, '&')
|
|
8
|
+
.replace(/</g, '<')
|
|
9
|
+
.replace(/>/g, '>')
|
|
10
|
+
.replace(/"/g, '"')
|
|
11
|
+
.replace(/'/g, "'")
|
|
12
|
+
.replace(/\s{2,}/g, ' ')
|
|
13
|
+
.trim();
|
|
14
|
+
}
|
|
15
|
+
function htmlToMarkdown(html) {
|
|
16
|
+
return html
|
|
17
|
+
.replace(/<script[\s\S]*?<\/script>/gi, '')
|
|
18
|
+
.replace(/<style[\s\S]*?<\/style>/gi, '')
|
|
19
|
+
.replace(/<h1[^>]*>([\s\S]*?)<\/h1>/gi, '# $1\n')
|
|
20
|
+
.replace(/<h2[^>]*>([\s\S]*?)<\/h2>/gi, '## $1\n')
|
|
21
|
+
.replace(/<h3[^>]*>([\s\S]*?)<\/h3>/gi, '### $1\n')
|
|
22
|
+
.replace(/<h4[^>]*>([\s\S]*?)<\/h4>/gi, '#### $1\n')
|
|
23
|
+
.replace(/<h5[^>]*>([\s\S]*?)<\/h5>/gi, '##### $1\n')
|
|
24
|
+
.replace(/<h6[^>]*>([\s\S]*?)<\/h6>/gi, '###### $1\n')
|
|
25
|
+
.replace(/<(strong|b)[^>]*>([\s\S]*?)<\/(strong|b)>/gi, '**$2**')
|
|
26
|
+
.replace(/<(em|i)[^>]*>([\s\S]*?)<\/(em|i)>/gi, '_$2_')
|
|
27
|
+
.replace(/<a[^>]+href=["']([^"']*)["'][^>]*>([\s\S]*?)<\/a>/gi, '[$2]($1)')
|
|
28
|
+
.replace(/<img[^>]*>/gi, (match) => {
|
|
29
|
+
const alt = match.match(/\balt=["']([^"']*)["']/i)?.[1] ?? '';
|
|
30
|
+
const src = match.match(/\bsrc=["']([^"']*)["']/i)?.[1] ?? '';
|
|
31
|
+
return alt ? `` : ``;
|
|
32
|
+
})
|
|
33
|
+
.replace(/<li[^>]*>([\s\S]*?)<\/li>/gi, '- $1')
|
|
34
|
+
.replace(/<ul[^>]*>/gi, '\n').replace(/<\/ul>/gi, '\n')
|
|
35
|
+
.replace(/<ol[^>]*>/gi, '\n').replace(/<\/ol>/gi, '\n')
|
|
36
|
+
.replace(/<p[^>]*>/gi, '\n').replace(/<\/p>/gi, '\n')
|
|
37
|
+
.replace(/<br[^>]*>/gi, '\n')
|
|
38
|
+
.replace(/<code[^>]*>([\s\S]*?)<\/code>/gi, '`$1`')
|
|
39
|
+
.replace(/<pre[^>]*>([\s\S]*?)<\/pre>/gi, '```\n$1\n```')
|
|
40
|
+
.replace(/<hr[^>]*>/gi, '\n---\n')
|
|
41
|
+
.replace(/<[^>]+>/g, '')
|
|
42
|
+
.replace(/ /g, ' ')
|
|
43
|
+
.replace(/&/g, '&')
|
|
44
|
+
.replace(/</g, '<')
|
|
45
|
+
.replace(/>/g, '>')
|
|
46
|
+
.replace(/"/g, '"')
|
|
47
|
+
.replace(/'/g, "'")
|
|
48
|
+
.replace(/\n{3,}/g, '\n\n')
|
|
49
|
+
.trim();
|
|
50
|
+
}
|
|
51
|
+
function extractReadable(html) {
|
|
52
|
+
const stripped = html
|
|
53
|
+
.replace(/<script[\s\S]*?<\/script>/gi, '')
|
|
54
|
+
.replace(/<style[\s\S]*?<\/style>/gi, '')
|
|
55
|
+
.replace(/<nav[\s\S]*?<\/nav>/gi, '')
|
|
56
|
+
.replace(/<aside[\s\S]*?<\/aside>/gi, '')
|
|
57
|
+
.replace(/<header[\s\S]*?<\/header>/gi, '')
|
|
58
|
+
.replace(/<footer[\s\S]*?<\/footer>/gi, '');
|
|
59
|
+
return stripHtml(stripped);
|
|
60
|
+
}
|
|
61
|
+
function extractCodeBlocks(html) {
|
|
62
|
+
const blocks = [];
|
|
63
|
+
const preRe = /<pre[^>]*>([\s\S]*?)<\/pre>/gi;
|
|
64
|
+
let m;
|
|
65
|
+
while ((m = preRe.exec(html)) !== null) {
|
|
66
|
+
blocks.push(stripHtml(m[1]));
|
|
67
|
+
}
|
|
68
|
+
const withoutPre = html.replace(/<pre[\s\S]*?<\/pre>/gi, '');
|
|
69
|
+
const codeRe = /<code[^>]*>([\s\S]*?)<\/code>/gi;
|
|
70
|
+
while ((m = codeRe.exec(withoutPre)) !== null) {
|
|
71
|
+
const code = stripHtml(m[1]);
|
|
72
|
+
if (code.trim())
|
|
73
|
+
blocks.push(code);
|
|
74
|
+
}
|
|
75
|
+
return blocks.join('\n\n');
|
|
76
|
+
}
|
|
77
|
+
function extractLinks(html) {
|
|
78
|
+
const links = [];
|
|
79
|
+
const re = /(?:href|src)=["']([^"'#][^"']*)["']/gi;
|
|
80
|
+
let m;
|
|
81
|
+
while ((m = re.exec(html)) !== null) {
|
|
82
|
+
links.push(m[1]);
|
|
83
|
+
}
|
|
84
|
+
return links.join('\n');
|
|
85
|
+
}
|
|
86
|
+
function extractStructured(html, selectors) {
|
|
87
|
+
const results = [];
|
|
88
|
+
for (const selector of selectors) {
|
|
89
|
+
const trimmed = selector.trim();
|
|
90
|
+
let tagPattern = null;
|
|
91
|
+
let classFilter = null;
|
|
92
|
+
let idFilter = null;
|
|
93
|
+
if (trimmed.startsWith('#')) {
|
|
94
|
+
idFilter = trimmed.slice(1);
|
|
95
|
+
tagPattern = '[a-z][a-z0-9]*';
|
|
96
|
+
}
|
|
97
|
+
else if (trimmed.startsWith('.')) {
|
|
98
|
+
classFilter = trimmed.slice(1);
|
|
99
|
+
tagPattern = '[a-z][a-z0-9]*';
|
|
100
|
+
}
|
|
101
|
+
else if (trimmed.includes('.')) {
|
|
102
|
+
const [tag, cls] = trimmed.split('.');
|
|
103
|
+
tagPattern = tag || '[a-z][a-z0-9]*';
|
|
104
|
+
classFilter = cls;
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
tagPattern = trimmed || '[a-z][a-z0-9]*';
|
|
108
|
+
}
|
|
109
|
+
let attrClause = '';
|
|
110
|
+
if (idFilter) {
|
|
111
|
+
attrClause = `(?=[^>]*\\bid=["']${idFilter}["'])`;
|
|
112
|
+
}
|
|
113
|
+
else if (classFilter) {
|
|
114
|
+
attrClause = `(?=[^>]*\\bclass=["'][^"']*\\b${classFilter}\\b[^"']*["'])`;
|
|
115
|
+
}
|
|
116
|
+
const re = new RegExp(`<(${tagPattern})${attrClause}[^>]*>([\\s\\S]*?)<\\/\\1>`, 'gi');
|
|
117
|
+
let m;
|
|
118
|
+
while ((m = re.exec(html)) !== null) {
|
|
119
|
+
const text = stripHtml(m[2]).trim();
|
|
120
|
+
if (text)
|
|
121
|
+
results.push(text);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
return JSON.stringify(results);
|
|
125
|
+
}
|
|
126
|
+
function extractTables(html) {
|
|
127
|
+
const tables = [];
|
|
128
|
+
const tableRe = /<table[^>]*>([\s\S]*?)<\/table>/gi;
|
|
129
|
+
let tableM;
|
|
130
|
+
while ((tableM = tableRe.exec(html)) !== null) {
|
|
131
|
+
const tableHtml = tableM[1];
|
|
132
|
+
const headers = [];
|
|
133
|
+
const rows = [];
|
|
134
|
+
const thRe = /<th[^>]*>([\s\S]*?)<\/th>/gi;
|
|
135
|
+
let thM;
|
|
136
|
+
while ((thM = thRe.exec(tableHtml)) !== null) {
|
|
137
|
+
headers.push(stripHtml(thM[1]).trim());
|
|
138
|
+
}
|
|
139
|
+
const trRe = /<tr[^>]*>([\s\S]*?)<\/tr>/gi;
|
|
140
|
+
let trM;
|
|
141
|
+
while ((trM = trRe.exec(tableHtml)) !== null) {
|
|
142
|
+
const rowHtml = trM[1];
|
|
143
|
+
if (/<th[^>]*>/i.test(rowHtml))
|
|
144
|
+
continue;
|
|
145
|
+
const cells = [];
|
|
146
|
+
const tdRe = /<td[^>]*>([\s\S]*?)<\/td>/gi;
|
|
147
|
+
let tdM;
|
|
148
|
+
while ((tdM = tdRe.exec(rowHtml)) !== null) {
|
|
149
|
+
cells.push(stripHtml(tdM[1]).trim());
|
|
150
|
+
}
|
|
151
|
+
if (cells.length > 0)
|
|
152
|
+
rows.push(cells);
|
|
153
|
+
}
|
|
154
|
+
tables.push({ headers, rows });
|
|
155
|
+
}
|
|
156
|
+
return JSON.stringify(tables);
|
|
157
|
+
}
|
|
158
|
+
function extractPdf(body) {
|
|
159
|
+
const texts = [];
|
|
160
|
+
const streamRe = /stream\r?\n([\s\S]*?)\r?\nendstream/g;
|
|
161
|
+
let m;
|
|
162
|
+
while ((m = streamRe.exec(body)) !== null) {
|
|
163
|
+
const chunk = m[1];
|
|
164
|
+
const parenRe = /\(([^)\\]*(?:\\.[^)\\]*)*)\)/g;
|
|
165
|
+
let pm;
|
|
166
|
+
while ((pm = parenRe.exec(chunk)) !== null) {
|
|
167
|
+
const text = pm[1]
|
|
168
|
+
.replace(/\\n/g, '\n')
|
|
169
|
+
.replace(/\\r/g, '\r')
|
|
170
|
+
.replace(/\\t/g, '\t')
|
|
171
|
+
.replace(/\\\\/g, '\\')
|
|
172
|
+
.replace(/\\\(/g, '(')
|
|
173
|
+
.replace(/\\\)/g, ')')
|
|
174
|
+
.trim();
|
|
175
|
+
if (text.length > 1)
|
|
176
|
+
texts.push(text);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
if (texts.length === 0) {
|
|
180
|
+
return JSON.stringify({
|
|
181
|
+
note: 'PDF text extraction requires a dedicated library for complex PDFs. No readable text streams found.',
|
|
182
|
+
byteSize: Buffer.byteLength(body, 'utf-8'),
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
return texts.join(' ');
|
|
186
|
+
}
|
|
187
|
+
function extractMetadata(html) {
|
|
188
|
+
const result = {};
|
|
189
|
+
const titleM = html.match(/<title[^>]*>([\s\S]*?)<\/title>/i);
|
|
190
|
+
if (titleM)
|
|
191
|
+
result['title'] = stripHtml(titleM[1]);
|
|
192
|
+
const metaRe = /<meta[^>]+>/gi;
|
|
193
|
+
let m;
|
|
194
|
+
while ((m = metaRe.exec(html)) !== null) {
|
|
195
|
+
const tag = m[0];
|
|
196
|
+
const nameM = tag.match(/name=["'](\w[^"']*)["']/i);
|
|
197
|
+
const contentM = tag.match(/content=["']([^"']*)["']/i);
|
|
198
|
+
if (nameM && contentM) {
|
|
199
|
+
result[nameM[1]] = contentM[1];
|
|
200
|
+
}
|
|
201
|
+
const propM = tag.match(/property=["'](og:[^"']*)["']/i);
|
|
202
|
+
if (propM && contentM) {
|
|
203
|
+
result[propM[1]] = contentM[1];
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
return JSON.stringify(result, null, 2);
|
|
207
|
+
}
|
|
208
|
+
function extractSummary(body, contentType) {
|
|
209
|
+
const isHtml = /text\/html/i.test(contentType);
|
|
210
|
+
if (!isHtml) {
|
|
211
|
+
const paragraphs = body.split(/\n{2,}/).map((p) => p.trim()).filter(Boolean);
|
|
212
|
+
return paragraphs.slice(0, 2).join('\n\n');
|
|
213
|
+
}
|
|
214
|
+
const parts = [];
|
|
215
|
+
const headingM = body.match(/<h[1-3][^>]*>([\s\S]*?)<\/h[1-3]>/i);
|
|
216
|
+
if (headingM) {
|
|
217
|
+
parts.push(stripHtml(headingM[1]).trim());
|
|
218
|
+
}
|
|
219
|
+
const paraM = body.match(/<p[^>]*>([\s\S]*?)<\/p>/i);
|
|
220
|
+
if (paraM) {
|
|
221
|
+
const text = stripHtml(paraM[1]).trim();
|
|
222
|
+
if (text)
|
|
223
|
+
parts.push(text);
|
|
224
|
+
}
|
|
225
|
+
const headingRe = /<h([1-6])[^>]*>([\s\S]*?)<\/h[1-6]>/gi;
|
|
226
|
+
let hm;
|
|
227
|
+
const headings = [];
|
|
228
|
+
while ((hm = headingRe.exec(body)) !== null) {
|
|
229
|
+
const level = parseInt(hm[1], 10);
|
|
230
|
+
const text = stripHtml(hm[2]).trim();
|
|
231
|
+
if (text && !parts.includes(text)) {
|
|
232
|
+
headings.push(`${'#'.repeat(level)} ${text}`);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
if (headings.length > 0) {
|
|
236
|
+
parts.push('\nHeadings:\n' + headings.join('\n'));
|
|
237
|
+
}
|
|
238
|
+
return parts.join('\n\n') || extractReadable(body).slice(0, 500);
|
|
239
|
+
}
|
|
240
|
+
export function sniffContentType(contentType, body) {
|
|
241
|
+
const isMissing = !contentType || /application\/octet-stream/i.test(contentType);
|
|
242
|
+
if (!isMissing)
|
|
243
|
+
return contentType;
|
|
244
|
+
const sample = body.slice(0, 512).trimStart();
|
|
245
|
+
if (/^<!DOCTYPE\s+html/i.test(sample) || /^<html/i.test(sample)) {
|
|
246
|
+
return 'text/html';
|
|
247
|
+
}
|
|
248
|
+
if (/^<\?xml/i.test(sample)) {
|
|
249
|
+
return 'application/xml';
|
|
250
|
+
}
|
|
251
|
+
if (/^[{[]/.test(sample)) {
|
|
252
|
+
return 'application/json';
|
|
253
|
+
}
|
|
254
|
+
return contentType;
|
|
255
|
+
}
|
|
256
|
+
export function applyExtract(body, contentType, mode, opts) {
|
|
257
|
+
const effectiveContentType = sniffContentType(contentType, body);
|
|
258
|
+
const isHtml = /text\/html/i.test(effectiveContentType);
|
|
259
|
+
switch (mode) {
|
|
260
|
+
case 'raw':
|
|
261
|
+
return body;
|
|
262
|
+
case 'text':
|
|
263
|
+
return isHtml ? stripHtml(body) : body;
|
|
264
|
+
case 'json':
|
|
265
|
+
try {
|
|
266
|
+
return JSON.stringify(JSON.parse(body), null, 2);
|
|
267
|
+
}
|
|
268
|
+
catch {
|
|
269
|
+
return body;
|
|
270
|
+
}
|
|
271
|
+
case 'markdown':
|
|
272
|
+
return isHtml ? htmlToMarkdown(body) : body;
|
|
273
|
+
case 'readable':
|
|
274
|
+
return isHtml ? extractReadable(body) : body;
|
|
275
|
+
case 'code_blocks':
|
|
276
|
+
return isHtml ? extractCodeBlocks(body) : body;
|
|
277
|
+
case 'links':
|
|
278
|
+
return isHtml ? extractLinks(body) : '';
|
|
279
|
+
case 'metadata':
|
|
280
|
+
return isHtml ? extractMetadata(body) : '{}';
|
|
281
|
+
case 'structured': {
|
|
282
|
+
const selectors = opts?.selectors ?? [];
|
|
283
|
+
if (selectors.length === 0)
|
|
284
|
+
return JSON.stringify([]);
|
|
285
|
+
return isHtml ? extractStructured(body, selectors) : JSON.stringify([]);
|
|
286
|
+
}
|
|
287
|
+
case 'tables':
|
|
288
|
+
return isHtml ? extractTables(body) : JSON.stringify([]);
|
|
289
|
+
case 'pdf': {
|
|
290
|
+
const isPdf = /application\/pdf/i.test(effectiveContentType);
|
|
291
|
+
return isPdf ? extractPdf(body) : JSON.stringify({
|
|
292
|
+
note: 'PDF extraction only applies to application/pdf responses.',
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
case 'summary':
|
|
296
|
+
return extractSummary(body, effectiveContentType);
|
|
297
|
+
default:
|
|
298
|
+
return body;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared host utility functions for fetch tool modules.
|
|
3
|
+
*
|
|
4
|
+
* Extracted to avoid duplication across trust-tiers.ts and any future
|
|
5
|
+
* network-scope modules.
|
|
6
|
+
*/
|
|
7
|
+
export declare function hostMatchesGlob(host: string, pattern: string): boolean;
|
|
8
|
+
//# sourceMappingURL=host-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-utils.d.ts","sourceRoot":"","sources":["../../../../src/platform/tools/fetch/host-utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AA2BH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAGtE"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared host utility functions for fetch tool modules.
|
|
3
|
+
*
|
|
4
|
+
* Extracted to avoid duplication across trust-tiers.ts and any future
|
|
5
|
+
* network-scope modules.
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Glob-simple host pattern match (supports `*` and `**`).
|
|
9
|
+
* `*` matches one non-dot segment; `**` matches across dots.
|
|
10
|
+
*
|
|
11
|
+
* @param host - Hostname string to test.
|
|
12
|
+
* @param pattern - Glob pattern (e.g. `*.example.com`, `**`).
|
|
13
|
+
* @returns True when the host matches the pattern.
|
|
14
|
+
*/
|
|
15
|
+
const _globRegexCache = new Map();
|
|
16
|
+
function getGlobRegex(pattern) {
|
|
17
|
+
let re = _globRegexCache.get(pattern);
|
|
18
|
+
if (!re) {
|
|
19
|
+
const escaped = pattern
|
|
20
|
+
.replace(/[.+^${}()|[\]\\]/g, '\\$&')
|
|
21
|
+
.replace(/\*\*/g, '\u0001')
|
|
22
|
+
.replace(/\*/g, '[^.]*')
|
|
23
|
+
.replace(/\u0001/g, '.*');
|
|
24
|
+
re = new RegExp(`^${escaped}$`, 'i');
|
|
25
|
+
if (_globRegexCache.size > 100)
|
|
26
|
+
_globRegexCache.clear(); // simple eviction
|
|
27
|
+
_globRegexCache.set(pattern, re);
|
|
28
|
+
}
|
|
29
|
+
return re;
|
|
30
|
+
}
|
|
31
|
+
export function hostMatchesGlob(host, pattern) {
|
|
32
|
+
if (pattern === '*')
|
|
33
|
+
return true;
|
|
34
|
+
return getGlobRegex(pattern).test(host);
|
|
35
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fetch response sanitizer.
|
|
3
|
+
*
|
|
4
|
+
* Implements three sanitization modes applied to HTTP response content before
|
|
5
|
+
* it is returned to the caller. The mode is deterministic and auditable:
|
|
6
|
+
* every result includes the `sanitization_tier` field indicating which mode
|
|
7
|
+
* was applied.
|
|
8
|
+
*
|
|
9
|
+
* Modes:
|
|
10
|
+
* - `none` — No sanitization. Content is returned as-is. Use only for
|
|
11
|
+
* trusted internal hosts.
|
|
12
|
+
* - `safe-text` — Default. Strips HTML script/style blocks and control
|
|
13
|
+
* characters. Safe for general external content.
|
|
14
|
+
* - `strict` — Aggressive: allows only printable ASCII and common Unicode
|
|
15
|
+
* whitespace. Strips all HTML tags, script/style, and non-
|
|
16
|
+
* printable characters. Use for untrusted or unknown hosts.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Sanitization mode applied to an HTTP response body.
|
|
20
|
+
*
|
|
21
|
+
* - `none` — No sanitization; content returned verbatim.
|
|
22
|
+
* - `safe-text` — Strips script/style blocks and control characters.
|
|
23
|
+
* - `strict` — Strips all HTML, allows only printable ASCII + whitespace.
|
|
24
|
+
*/
|
|
25
|
+
export type SanitizeMode = 'none' | 'safe-text' | 'strict';
|
|
26
|
+
/**
|
|
27
|
+
* Result of applying a sanitizer to response content.
|
|
28
|
+
*/
|
|
29
|
+
export interface SanitizeResult {
|
|
30
|
+
/** Sanitized content string. */
|
|
31
|
+
content: string;
|
|
32
|
+
/** The sanitization mode that was applied. */
|
|
33
|
+
mode: SanitizeMode;
|
|
34
|
+
/** Whether the content was modified by sanitization. */
|
|
35
|
+
modified: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Apply the specified sanitization mode to response content.
|
|
39
|
+
*
|
|
40
|
+
* This function is deterministic: given the same `content` and `mode`, it
|
|
41
|
+
* always produces the same output. The `modified` field in the result
|
|
42
|
+
* indicates whether any transformation occurred.
|
|
43
|
+
*
|
|
44
|
+
* @param content - Raw response body string.
|
|
45
|
+
* @param mode - Sanitization mode to apply.
|
|
46
|
+
* @returns `SanitizeResult` with sanitized content, mode applied, and
|
|
47
|
+
* whether the content was modified.
|
|
48
|
+
*/
|
|
49
|
+
export declare function applySanitizer(content: string, mode: SanitizeMode): SanitizeResult;
|
|
50
|
+
/**
|
|
51
|
+
* Resolve the effective sanitize mode, applying the rollback default.
|
|
52
|
+
*
|
|
53
|
+
* When no explicit mode is requested, defaults to `'safe-text'` — the
|
|
54
|
+
* rollback-safe default for fetch sanitization.
|
|
55
|
+
*
|
|
56
|
+
* @param requested - Caller-supplied mode (may be undefined).
|
|
57
|
+
* @returns Effective `SanitizeMode` to apply.
|
|
58
|
+
*/
|
|
59
|
+
export declare function resolveSanitizeMode(requested: SanitizeMode | undefined): SanitizeMode;
|
|
60
|
+
//# sourceMappingURL=sanitizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sanitizer.d.ts","sourceRoot":"","sources":["../../../../src/platform/tools/fetch/sanitizer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAMH;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,8CAA8C;IAC9C,IAAI,EAAE,YAAY,CAAC;IACnB,wDAAwD;IACxD,QAAQ,EAAE,OAAO,CAAC;CACnB;AA+ED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,cAAc,CAclF;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,YAAY,GAAG,SAAS,GAAG,YAAY,CAErF"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fetch response sanitizer.
|
|
3
|
+
*
|
|
4
|
+
* Implements three sanitization modes applied to HTTP response content before
|
|
5
|
+
* it is returned to the caller. The mode is deterministic and auditable:
|
|
6
|
+
* every result includes the `sanitization_tier` field indicating which mode
|
|
7
|
+
* was applied.
|
|
8
|
+
*
|
|
9
|
+
* Modes:
|
|
10
|
+
* - `none` — No sanitization. Content is returned as-is. Use only for
|
|
11
|
+
* trusted internal hosts.
|
|
12
|
+
* - `safe-text` — Default. Strips HTML script/style blocks and control
|
|
13
|
+
* characters. Safe for general external content.
|
|
14
|
+
* - `strict` — Aggressive: allows only printable ASCII and common Unicode
|
|
15
|
+
* whitespace. Strips all HTML tags, script/style, and non-
|
|
16
|
+
* printable characters. Use for untrusted or unknown hosts.
|
|
17
|
+
*/
|
|
18
|
+
// ---------------------------------------------------------------------------
|
|
19
|
+
// Sanitizer implementations
|
|
20
|
+
// ---------------------------------------------------------------------------
|
|
21
|
+
/**
|
|
22
|
+
* `none` mode — returns content verbatim.
|
|
23
|
+
*/
|
|
24
|
+
function sanitizeNone(content) {
|
|
25
|
+
return { content, mode: 'none', modified: false };
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* `safe-text` mode — strips script/style elements and C0/C1 control
|
|
29
|
+
* characters (except tab, newline, carriage return).
|
|
30
|
+
*
|
|
31
|
+
* This mode is appropriate for general external content where HTML injection
|
|
32
|
+
* or binary smuggling via control sequences is a concern.
|
|
33
|
+
*/
|
|
34
|
+
function sanitizeSafeText(content) {
|
|
35
|
+
const original = content;
|
|
36
|
+
let sanitized = content
|
|
37
|
+
// Remove script blocks (including event handlers encoded in attributes)
|
|
38
|
+
.replace(/<script[\s\S]*?<\/script>/gi, '')
|
|
39
|
+
// Remove style blocks
|
|
40
|
+
.replace(/<style[\s\S]*?<\/style>/gi, '')
|
|
41
|
+
// Strip C0 control characters (0x00-0x08, 0x0B, 0x0C, 0x0E-0x1F) and DEL (0x7F)
|
|
42
|
+
// Keep: 0x09 (tab), 0x0A (LF), 0x0D (CR)
|
|
43
|
+
// eslint-disable-next-line no-control-regex
|
|
44
|
+
.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/g, '')
|
|
45
|
+
// Strip C1 control characters (0x80-0x9F)
|
|
46
|
+
// eslint-disable-next-line no-control-regex
|
|
47
|
+
.replace(/[\x80-\x9F]/g, '');
|
|
48
|
+
return {
|
|
49
|
+
content: sanitized,
|
|
50
|
+
mode: 'safe-text',
|
|
51
|
+
modified: sanitized !== original,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* `strict` mode — strips all HTML tags, script/style blocks, and any
|
|
56
|
+
* character outside printable ASCII (0x20-0x7E) plus tab (0x09),
|
|
57
|
+
* newline (0x0A), and carriage return (0x0D).
|
|
58
|
+
*
|
|
59
|
+
* Use for unknown or untrusted hosts where maximum reduction of attack
|
|
60
|
+
* surface is required.
|
|
61
|
+
*/
|
|
62
|
+
function sanitizeStrict(content) {
|
|
63
|
+
const original = content;
|
|
64
|
+
let sanitized = content
|
|
65
|
+
// Remove script blocks
|
|
66
|
+
.replace(/<script[\s\S]*?<\/script>/gi, '')
|
|
67
|
+
// Remove style blocks
|
|
68
|
+
.replace(/<style[\s\S]*?<\/style>/gi, '')
|
|
69
|
+
// Strip all remaining HTML tags
|
|
70
|
+
.replace(/<[^>]+>/g, ' ')
|
|
71
|
+
// Allow only: printable ASCII (0x20-0x7E), tab (0x09), LF (0x0A), CR (0x0D)
|
|
72
|
+
// eslint-disable-next-line no-control-regex
|
|
73
|
+
.replace(/[^\x09\x0A\x0D\x20-\x7E]/g, '')
|
|
74
|
+
// Collapse multiple consecutive spaces to single space
|
|
75
|
+
.replace(/ {2,}/g, ' ')
|
|
76
|
+
.trim();
|
|
77
|
+
return {
|
|
78
|
+
content: sanitized,
|
|
79
|
+
mode: 'strict',
|
|
80
|
+
modified: sanitized !== original,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
// ---------------------------------------------------------------------------
|
|
84
|
+
// Public API
|
|
85
|
+
// ---------------------------------------------------------------------------
|
|
86
|
+
/**
|
|
87
|
+
* Apply the specified sanitization mode to response content.
|
|
88
|
+
*
|
|
89
|
+
* This function is deterministic: given the same `content` and `mode`, it
|
|
90
|
+
* always produces the same output. The `modified` field in the result
|
|
91
|
+
* indicates whether any transformation occurred.
|
|
92
|
+
*
|
|
93
|
+
* @param content - Raw response body string.
|
|
94
|
+
* @param mode - Sanitization mode to apply.
|
|
95
|
+
* @returns `SanitizeResult` with sanitized content, mode applied, and
|
|
96
|
+
* whether the content was modified.
|
|
97
|
+
*/
|
|
98
|
+
export function applySanitizer(content, mode) {
|
|
99
|
+
switch (mode) {
|
|
100
|
+
case 'none':
|
|
101
|
+
return sanitizeNone(content);
|
|
102
|
+
case 'safe-text':
|
|
103
|
+
return sanitizeSafeText(content);
|
|
104
|
+
case 'strict':
|
|
105
|
+
return sanitizeStrict(content);
|
|
106
|
+
default: {
|
|
107
|
+
// Exhaustiveness guard — TypeScript ensures this is unreachable
|
|
108
|
+
const _exhaustive = mode;
|
|
109
|
+
return sanitizeSafeText(content);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Resolve the effective sanitize mode, applying the rollback default.
|
|
115
|
+
*
|
|
116
|
+
* When no explicit mode is requested, defaults to `'safe-text'` — the
|
|
117
|
+
* rollback-safe default for fetch sanitization.
|
|
118
|
+
*
|
|
119
|
+
* @param requested - Caller-supplied mode (may be undefined).
|
|
120
|
+
* @returns Effective `SanitizeMode` to apply.
|
|
121
|
+
*/
|
|
122
|
+
export function resolveSanitizeMode(requested) {
|
|
123
|
+
return requested ?? 'safe-text';
|
|
124
|
+
}
|