@pellux/goodvibes-sdk 0.18.13 → 0.18.15
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/dist/_internal/platform/acp/connection.d.ts +59 -0
- package/dist/_internal/platform/acp/connection.d.ts.map +1 -0
- package/dist/_internal/platform/acp/connection.js +377 -0
- package/dist/_internal/platform/acp/index.d.ts +3 -0
- package/dist/_internal/platform/acp/index.d.ts.map +1 -0
- package/dist/_internal/platform/acp/index.js +1 -0
- package/dist/_internal/platform/acp/manager.d.ts +49 -0
- package/dist/_internal/platform/acp/manager.d.ts.map +1 -0
- package/dist/_internal/platform/acp/manager.js +105 -0
- package/dist/_internal/platform/adapters/bluebubbles/index.d.ts +3 -0
- package/dist/_internal/platform/adapters/bluebubbles/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/bluebubbles/index.js +119 -0
- package/dist/_internal/platform/adapters/discord/index.d.ts +9 -0
- package/dist/_internal/platform/adapters/discord/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/discord/index.js +255 -0
- package/dist/_internal/platform/adapters/github/index.d.ts +8 -0
- package/dist/_internal/platform/adapters/github/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/github/index.js +58 -0
- package/dist/_internal/platform/adapters/google-chat/index.d.ts +3 -0
- package/dist/_internal/platform/adapters/google-chat/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/google-chat/index.js +105 -0
- package/dist/_internal/platform/adapters/imessage/index.d.ts +3 -0
- package/dist/_internal/platform/adapters/imessage/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/imessage/index.js +84 -0
- package/dist/_internal/platform/adapters/index.d.ts +16 -0
- package/dist/_internal/platform/adapters/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/index.js +15 -0
- package/dist/_internal/platform/adapters/matrix/index.d.ts +3 -0
- package/dist/_internal/platform/adapters/matrix/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/matrix/index.js +106 -0
- package/dist/_internal/platform/adapters/mattermost/index.d.ts +3 -0
- package/dist/_internal/platform/adapters/mattermost/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/mattermost/index.js +139 -0
- package/dist/_internal/platform/adapters/msteams/index.d.ts +3 -0
- package/dist/_internal/platform/adapters/msteams/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/msteams/index.js +169 -0
- package/dist/_internal/platform/adapters/ntfy/index.d.ts +4 -0
- package/dist/_internal/platform/adapters/ntfy/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/ntfy/index.js +105 -0
- package/dist/_internal/platform/adapters/signal/index.d.ts +3 -0
- package/dist/_internal/platform/adapters/signal/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/signal/index.js +84 -0
- package/dist/_internal/platform/adapters/slack/index.d.ts +5 -0
- package/dist/_internal/platform/adapters/slack/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/slack/index.js +287 -0
- package/dist/_internal/platform/adapters/telegram/index.d.ts +3 -0
- package/dist/_internal/platform/adapters/telegram/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/telegram/index.js +147 -0
- package/dist/_internal/platform/adapters/types.d.ts +81 -0
- package/dist/_internal/platform/adapters/types.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/types.js +1 -0
- package/dist/_internal/platform/adapters/webhook/index.d.ts +3 -0
- package/dist/_internal/platform/adapters/webhook/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/webhook/index.js +167 -0
- package/dist/_internal/platform/adapters/whatsapp/index.d.ts +3 -0
- package/dist/_internal/platform/adapters/whatsapp/index.d.ts.map +1 -0
- package/dist/_internal/platform/adapters/whatsapp/index.js +125 -0
- package/dist/_internal/platform/agents/message-bus-core.d.ts +55 -0
- package/dist/_internal/platform/agents/message-bus-core.d.ts.map +1 -0
- package/dist/_internal/platform/agents/message-bus-core.js +244 -0
- package/dist/_internal/platform/agents/message-bus.d.ts +3 -0
- package/dist/_internal/platform/agents/message-bus.d.ts.map +1 -0
- package/dist/_internal/platform/agents/message-bus.js +1 -0
- package/dist/_internal/platform/agents/orchestrator-prompts.d.ts +33 -0
- package/dist/_internal/platform/agents/orchestrator-prompts.d.ts.map +1 -0
- package/dist/_internal/platform/agents/orchestrator-prompts.js +320 -0
- package/dist/_internal/platform/agents/orchestrator-runner.d.ts +56 -0
- package/dist/_internal/platform/agents/orchestrator-runner.d.ts.map +1 -0
- package/dist/_internal/platform/agents/orchestrator-runner.js +492 -0
- package/dist/_internal/platform/agents/orchestrator.d.ts +92 -0
- package/dist/_internal/platform/agents/orchestrator.d.ts.map +1 -0
- package/dist/_internal/platform/agents/orchestrator.js +318 -0
- package/dist/_internal/platform/agents/session.d.ts +37 -0
- package/dist/_internal/platform/agents/session.d.ts.map +1 -0
- package/dist/_internal/platform/agents/session.js +89 -0
- package/dist/_internal/platform/agents/worktree.d.ts +45 -0
- package/dist/_internal/platform/agents/worktree.d.ts.map +1 -0
- package/dist/_internal/platform/agents/worktree.js +134 -0
- package/dist/_internal/platform/agents/wrfc-config.d.ts +20 -0
- package/dist/_internal/platform/agents/wrfc-config.d.ts.map +1 -0
- package/dist/_internal/platform/agents/wrfc-config.js +27 -0
- package/dist/_internal/platform/agents/wrfc-controller.d.ts +67 -0
- package/dist/_internal/platform/agents/wrfc-controller.d.ts.map +1 -0
- package/dist/_internal/platform/agents/wrfc-controller.js +562 -0
- package/dist/_internal/platform/agents/wrfc-gate-runtime.d.ts +12 -0
- package/dist/_internal/platform/agents/wrfc-gate-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/agents/wrfc-gate-runtime.js +55 -0
- package/dist/_internal/platform/agents/wrfc-reporting.d.ts +11 -0
- package/dist/_internal/platform/agents/wrfc-reporting.d.ts.map +1 -0
- package/dist/_internal/platform/agents/wrfc-reporting.js +244 -0
- package/dist/_internal/platform/agents/wrfc-runtime-events.d.ts +21 -0
- package/dist/_internal/platform/agents/wrfc-runtime-events.d.ts.map +1 -0
- package/dist/_internal/platform/agents/wrfc-runtime-events.js +80 -0
- package/dist/_internal/platform/agents/wrfc-types.d.ts +57 -0
- package/dist/_internal/platform/agents/wrfc-types.d.ts.map +1 -0
- package/dist/_internal/platform/agents/wrfc-types.js +1 -0
- package/dist/_internal/platform/agents/wrfc-workmap.js +1 -1
- package/dist/_internal/platform/automation/delivery-manager.d.ts +35 -0
- package/dist/_internal/platform/automation/delivery-manager.d.ts.map +1 -0
- package/dist/_internal/platform/automation/delivery-manager.js +306 -0
- package/dist/_internal/platform/automation/index.d.ts +21 -0
- package/dist/_internal/platform/automation/index.d.ts.map +1 -0
- package/dist/_internal/platform/automation/index.js +9 -0
- package/dist/_internal/platform/automation/manager-runtime-delivery.d.ts +25 -0
- package/dist/_internal/platform/automation/manager-runtime-delivery.d.ts.map +1 -0
- package/dist/_internal/platform/automation/manager-runtime-delivery.js +109 -0
- package/dist/_internal/platform/automation/manager-runtime-events.d.ts +11 -0
- package/dist/_internal/platform/automation/manager-runtime-events.d.ts.map +1 -0
- package/dist/_internal/platform/automation/manager-runtime-events.js +90 -0
- package/dist/_internal/platform/automation/manager-runtime-execution.d.ts +67 -0
- package/dist/_internal/platform/automation/manager-runtime-execution.d.ts.map +1 -0
- package/dist/_internal/platform/automation/manager-runtime-execution.js +402 -0
- package/dist/_internal/platform/automation/manager-runtime-helpers.d.ts +103 -0
- package/dist/_internal/platform/automation/manager-runtime-helpers.d.ts.map +1 -0
- package/dist/_internal/platform/automation/manager-runtime-helpers.js +313 -0
- package/dist/_internal/platform/automation/manager-runtime-job-mutations.d.ts +17 -0
- package/dist/_internal/platform/automation/manager-runtime-job-mutations.d.ts.map +1 -0
- package/dist/_internal/platform/automation/manager-runtime-job-mutations.js +139 -0
- package/dist/_internal/platform/automation/manager-runtime-reconcile.d.ts +28 -0
- package/dist/_internal/platform/automation/manager-runtime-reconcile.d.ts.map +1 -0
- package/dist/_internal/platform/automation/manager-runtime-reconcile.js +127 -0
- package/dist/_internal/platform/automation/manager-runtime-scheduling.d.ts +31 -0
- package/dist/_internal/platform/automation/manager-runtime-scheduling.d.ts.map +1 -0
- package/dist/_internal/platform/automation/manager-runtime-scheduling.js +142 -0
- package/dist/_internal/platform/automation/manager-runtime-sync.d.ts +9 -0
- package/dist/_internal/platform/automation/manager-runtime-sync.d.ts.map +1 -0
- package/dist/_internal/platform/automation/manager-runtime-sync.js +33 -0
- package/dist/_internal/platform/automation/manager-runtime.d.ts +127 -0
- package/dist/_internal/platform/automation/manager-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/automation/manager-runtime.js +573 -0
- package/dist/_internal/platform/automation/manager.d.ts +3 -0
- package/dist/_internal/platform/automation/manager.d.ts.map +1 -0
- package/dist/_internal/platform/automation/manager.js +1 -0
- package/dist/_internal/platform/automation/schedules.js +1 -1
- package/dist/_internal/platform/automation/service.d.ts +61 -0
- package/dist/_internal/platform/automation/service.d.ts.map +1 -0
- package/dist/_internal/platform/automation/service.js +205 -0
- package/dist/_internal/platform/bookmarks/manager.d.ts +1 -1
- package/dist/_internal/platform/bookmarks/manager.js +1 -1
- package/dist/_internal/platform/channels/builtin/account-actions.d.ts +12 -0
- package/dist/_internal/platform/channels/builtin/account-actions.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/account-actions.js +437 -0
- package/dist/_internal/platform/channels/builtin/accounts.d.ts +11 -0
- package/dist/_internal/platform/channels/builtin/accounts.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/accounts.js +390 -0
- package/dist/_internal/platform/channels/builtin/contracts.d.ts +20 -0
- package/dist/_internal/platform/channels/builtin/contracts.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/contracts.js +299 -0
- package/dist/_internal/platform/channels/builtin/plugins.d.ts +25 -0
- package/dist/_internal/platform/channels/builtin/plugins.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/plugins.js +225 -0
- package/dist/_internal/platform/channels/builtin/rendering.d.ts +15 -0
- package/dist/_internal/platform/channels/builtin/rendering.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/rendering.js +135 -0
- package/dist/_internal/platform/channels/builtin/setup-schema.d.ts +3 -0
- package/dist/_internal/platform/channels/builtin/setup-schema.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/setup-schema.js +479 -0
- package/dist/_internal/platform/channels/builtin/shared.d.ts +41 -0
- package/dist/_internal/platform/channels/builtin/shared.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/shared.js +42 -0
- package/dist/_internal/platform/channels/builtin/surfaces.d.ts +11 -0
- package/dist/_internal/platform/channels/builtin/surfaces.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/surfaces.js +49 -0
- package/dist/_internal/platform/channels/builtin/targets.d.ts +14 -0
- package/dist/_internal/platform/channels/builtin/targets.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin/targets.js +665 -0
- package/dist/_internal/platform/channels/builtin-runtime.d.ts +40 -0
- package/dist/_internal/platform/channels/builtin-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/channels/builtin-runtime.js +293 -0
- package/dist/_internal/platform/channels/delivery/shared.d.ts +20 -0
- package/dist/_internal/platform/channels/delivery/shared.d.ts.map +1 -0
- package/dist/_internal/platform/channels/delivery/shared.js +165 -0
- package/dist/_internal/platform/channels/delivery/strategies-bridge.d.ts +9 -0
- package/dist/_internal/platform/channels/delivery/strategies-bridge.d.ts.map +1 -0
- package/dist/_internal/platform/channels/delivery/strategies-bridge.js +165 -0
- package/dist/_internal/platform/channels/delivery/strategies-core.d.ts +13 -0
- package/dist/_internal/platform/channels/delivery/strategies-core.d.ts.map +1 -0
- package/dist/_internal/platform/channels/delivery/strategies-core.js +238 -0
- package/dist/_internal/platform/channels/delivery/strategies-enterprise.d.ts +8 -0
- package/dist/_internal/platform/channels/delivery/strategies-enterprise.d.ts.map +1 -0
- package/dist/_internal/platform/channels/delivery/strategies-enterprise.js +120 -0
- package/dist/_internal/platform/channels/delivery/types.d.ts +53 -0
- package/dist/_internal/platform/channels/delivery/types.d.ts.map +1 -0
- package/dist/_internal/platform/channels/delivery/types.js +1 -0
- package/dist/_internal/platform/channels/delivery-router.d.ts +21 -0
- package/dist/_internal/platform/channels/delivery-router.d.ts.map +1 -0
- package/dist/_internal/platform/channels/delivery-router.js +74 -0
- package/dist/_internal/platform/channels/index.d.ts +15 -0
- package/dist/_internal/platform/channels/index.d.ts.map +1 -0
- package/dist/_internal/platform/channels/index.js +8 -0
- package/dist/_internal/platform/channels/plugin-registry.d.ts +96 -0
- package/dist/_internal/platform/channels/plugin-registry.d.ts.map +1 -0
- package/dist/_internal/platform/channels/plugin-registry.js +437 -0
- package/dist/_internal/platform/channels/provider-runtime.d.ts +56 -0
- package/dist/_internal/platform/channels/provider-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/channels/provider-runtime.js +257 -0
- package/dist/_internal/platform/channels/reply-pipeline.d.ts +42 -0
- package/dist/_internal/platform/channels/reply-pipeline.d.ts.map +1 -0
- package/dist/_internal/platform/channels/reply-pipeline.js +444 -0
- package/dist/_internal/platform/channels/route-manager.d.ts +60 -0
- package/dist/_internal/platform/channels/route-manager.d.ts.map +1 -0
- package/dist/_internal/platform/channels/route-manager.js +280 -0
- package/dist/_internal/platform/channels/surface-registry.d.ts +16 -0
- package/dist/_internal/platform/channels/surface-registry.d.ts.map +1 -0
- package/dist/_internal/platform/channels/surface-registry.js +197 -0
- package/dist/_internal/platform/config/helper-model.d.ts +92 -0
- package/dist/_internal/platform/config/helper-model.d.ts.map +1 -0
- package/dist/_internal/platform/config/helper-model.js +187 -0
- package/dist/_internal/platform/config/index.d.ts +35 -0
- package/dist/_internal/platform/config/index.d.ts.map +1 -0
- package/dist/_internal/platform/config/index.js +182 -0
- package/dist/_internal/platform/config/manager.d.ts +91 -0
- package/dist/_internal/platform/config/manager.d.ts.map +1 -0
- package/dist/_internal/platform/config/manager.js +332 -0
- package/dist/_internal/platform/config/schema-domain-core.js +1 -1
- package/dist/_internal/platform/config/schema-domain-runtime.js +1 -1
- package/dist/_internal/platform/config/secrets.d.ts +89 -0
- package/dist/_internal/platform/config/secrets.d.ts.map +1 -0
- package/dist/_internal/platform/config/secrets.js +444 -0
- package/dist/_internal/platform/config/service-registry.d.ts +98 -0
- package/dist/_internal/platform/config/service-registry.d.ts.map +1 -0
- package/dist/_internal/platform/config/service-registry.js +221 -0
- package/dist/_internal/platform/config/subscription-auth.d.ts +3 -0
- package/dist/_internal/platform/config/subscription-auth.d.ts.map +1 -0
- package/dist/_internal/platform/config/subscription-auth.js +29 -0
- package/dist/_internal/platform/config/subscription-providers.d.ts +30 -0
- package/dist/_internal/platform/config/subscription-providers.d.ts.map +1 -0
- package/dist/_internal/platform/config/subscription-providers.js +92 -0
- package/dist/_internal/platform/config/tool-llm.d.ts +63 -0
- package/dist/_internal/platform/config/tool-llm.d.ts.map +1 -0
- package/dist/_internal/platform/config/tool-llm.js +87 -0
- package/dist/_internal/platform/control-plane/approval-broker.d.ts +83 -0
- package/dist/_internal/platform/control-plane/approval-broker.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/approval-broker.js +270 -0
- package/dist/_internal/platform/control-plane/gateway.d.ts +94 -0
- package/dist/_internal/platform/control-plane/gateway.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/gateway.js +582 -0
- package/dist/_internal/platform/control-plane/index.d.ts +12 -0
- package/dist/_internal/platform/control-plane/index.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/index.js +4 -0
- package/dist/_internal/platform/control-plane/media-contract-schemas.d.ts +16 -0
- package/dist/_internal/platform/control-plane/media-contract-schemas.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/media-contract-schemas.js +182 -0
- package/dist/_internal/platform/control-plane/method-catalog-admin.d.ts +3 -0
- package/dist/_internal/platform/control-plane/method-catalog-admin.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/method-catalog-admin.js +123 -0
- package/dist/_internal/platform/control-plane/method-catalog-channels.d.ts +3 -0
- package/dist/_internal/platform/control-plane/method-catalog-channels.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/method-catalog-channels.js +559 -0
- package/dist/_internal/platform/control-plane/method-catalog-control-automation.d.ts +3 -0
- package/dist/_internal/platform/control-plane/method-catalog-control-automation.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/method-catalog-control-automation.js +440 -0
- package/dist/_internal/platform/control-plane/method-catalog-control-core.d.ts +3 -0
- package/dist/_internal/platform/control-plane/method-catalog-control-core.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/method-catalog-control-core.js +541 -0
- package/dist/_internal/platform/control-plane/method-catalog-control.d.ts +3 -0
- package/dist/_internal/platform/control-plane/method-catalog-control.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/method-catalog-control.js +6 -0
- package/dist/_internal/platform/control-plane/method-catalog-events.d.ts +3 -0
- package/dist/_internal/platform/control-plane/method-catalog-events.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/method-catalog-events.js +71 -0
- package/dist/_internal/platform/control-plane/method-catalog-knowledge.d.ts +3 -0
- package/dist/_internal/platform/control-plane/method-catalog-knowledge.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/method-catalog-knowledge.js +487 -0
- package/dist/_internal/platform/control-plane/method-catalog-media.d.ts +3 -0
- package/dist/_internal/platform/control-plane/method-catalog-media.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/method-catalog-media.js +248 -0
- package/dist/_internal/platform/control-plane/method-catalog-runtime.d.ts +3 -0
- package/dist/_internal/platform/control-plane/method-catalog-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/method-catalog-runtime.js +265 -0
- package/dist/_internal/platform/control-plane/method-catalog-shared.d.ts +100 -0
- package/dist/_internal/platform/control-plane/method-catalog-shared.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/method-catalog-shared.js +117 -0
- package/dist/_internal/platform/control-plane/method-catalog.d.ts +29 -0
- package/dist/_internal/platform/control-plane/method-catalog.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/method-catalog.js +180 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-admin.d.ts +41 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-admin.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-admin.js +569 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-channels.d.ts +26 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-channels.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-channels.js +324 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-control.d.ts +10 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-control.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-control.js +189 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-domains.d.ts +5 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-domains.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-domains.js +4 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-knowledge.d.ts +92 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-knowledge.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-knowledge.js +512 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-media.d.ts +24 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-media.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-media.js +232 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-permissions.d.ts +15 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-permissions.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-permissions.js +85 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-remote.d.ts +2 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-remote.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-remote.js +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-runtime.d.ts +30 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-runtime.js +501 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-shared.d.ts +19 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-shared.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-shared.js +59 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-telemetry.d.ts +18 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-telemetry.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas-telemetry.js +309 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas.d.ts +7 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract-schemas.js +6 -0
- package/dist/_internal/platform/control-plane/operator-contract.d.ts +6 -0
- package/dist/_internal/platform/control-plane/operator-contract.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/operator-contract.js +128 -0
- package/dist/_internal/platform/control-plane/session-broker.d.ts +73 -0
- package/dist/_internal/platform/control-plane/session-broker.d.ts.map +1 -0
- package/dist/_internal/platform/control-plane/session-broker.js +668 -0
- package/dist/_internal/platform/core/compaction-sections.d.ts +98 -0
- package/dist/_internal/platform/core/compaction-sections.d.ts.map +1 -0
- package/dist/_internal/platform/core/compaction-sections.js +394 -0
- package/dist/_internal/platform/core/compaction-types.d.ts +99 -0
- package/dist/_internal/platform/core/compaction-types.d.ts.map +1 -0
- package/dist/_internal/platform/core/compaction-types.js +21 -0
- package/dist/_internal/platform/core/context-compaction.d.ts +82 -0
- package/dist/_internal/platform/core/context-compaction.d.ts.map +1 -0
- package/dist/_internal/platform/core/context-compaction.js +419 -0
- package/dist/_internal/platform/core/conversation-compaction.d.ts +14 -0
- package/dist/_internal/platform/core/conversation-compaction.d.ts.map +1 -0
- package/dist/_internal/platform/core/conversation-compaction.js +43 -0
- package/dist/_internal/platform/core/conversation-diff.d.ts +10 -0
- package/dist/_internal/platform/core/conversation-diff.d.ts.map +1 -0
- package/dist/_internal/platform/core/conversation-diff.js +48 -0
- package/dist/_internal/platform/core/conversation-utils.d.ts +11 -0
- package/dist/_internal/platform/core/conversation-utils.d.ts.map +1 -0
- package/dist/_internal/platform/core/conversation-utils.js +66 -0
- package/dist/_internal/platform/core/conversation.d.ts +114 -0
- package/dist/_internal/platform/core/conversation.d.ts.map +1 -0
- package/dist/_internal/platform/core/conversation.js +246 -0
- package/dist/_internal/platform/core/event-replay.d.ts +83 -0
- package/dist/_internal/platform/core/event-replay.d.ts.map +1 -0
- package/dist/_internal/platform/core/event-replay.js +224 -0
- package/dist/_internal/platform/core/orchestrator-context-runtime.d.ts +58 -0
- package/dist/_internal/platform/core/orchestrator-context-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/core/orchestrator-context-runtime.js +281 -0
- package/dist/_internal/platform/core/orchestrator-follow-up-runtime.d.ts +34 -0
- package/dist/_internal/platform/core/orchestrator-follow-up-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/core/orchestrator-follow-up-runtime.js +110 -0
- package/dist/_internal/platform/core/orchestrator-runtime.d.ts +30 -0
- package/dist/_internal/platform/core/orchestrator-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/core/orchestrator-runtime.js +62 -0
- package/dist/_internal/platform/core/orchestrator-tool-runtime.d.ts +41 -0
- package/dist/_internal/platform/core/orchestrator-tool-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/core/orchestrator-tool-runtime.js +373 -0
- package/dist/_internal/platform/core/orchestrator-turn-helpers.d.ts +62 -0
- package/dist/_internal/platform/core/orchestrator-turn-helpers.d.ts.map +1 -0
- package/dist/_internal/platform/core/orchestrator-turn-helpers.js +226 -0
- package/dist/_internal/platform/core/orchestrator-turn-loop.d.ts +64 -0
- package/dist/_internal/platform/core/orchestrator-turn-loop.d.ts.map +1 -0
- package/dist/_internal/platform/core/orchestrator-turn-loop.js +319 -0
- package/dist/_internal/platform/core/orchestrator.d.ts +191 -0
- package/dist/_internal/platform/core/orchestrator.d.ts.map +1 -0
- package/dist/_internal/platform/core/orchestrator.js +612 -0
- package/dist/_internal/platform/core/plan-command-handler.d.ts +31 -0
- package/dist/_internal/platform/core/plan-command-handler.d.ts.map +1 -0
- package/dist/_internal/platform/core/plan-command-handler.js +133 -0
- package/dist/_internal/platform/core/transcript-events/classify.d.ts +4 -0
- package/dist/_internal/platform/core/transcript-events/classify.d.ts.map +1 -0
- package/dist/_internal/platform/core/transcript-events/classify.js +94 -0
- package/dist/_internal/platform/core/transcript-events/index.d.ts +10 -0
- package/dist/_internal/platform/core/transcript-events/index.d.ts.map +1 -0
- package/dist/_internal/platform/core/transcript-events/index.js +9 -0
- package/dist/_internal/platform/daemon/cli.d.ts +2 -0
- package/dist/_internal/platform/daemon/cli.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/cli.js +68 -0
- package/dist/_internal/platform/daemon/control-plane.d.ts +113 -0
- package/dist/_internal/platform/daemon/control-plane.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/control-plane.js +402 -0
- package/dist/_internal/platform/daemon/facade-composition.d.ts +127 -0
- package/dist/_internal/platform/daemon/facade-composition.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/facade-composition.js +274 -0
- package/dist/_internal/platform/daemon/facade.d.ts +111 -0
- package/dist/_internal/platform/daemon/facade.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/facade.js +483 -0
- package/dist/_internal/platform/daemon/helpers.d.ts +13 -0
- package/dist/_internal/platform/daemon/helpers.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/helpers.js +48 -0
- package/dist/_internal/platform/daemon/http/router-route-contexts.d.ts +71 -0
- package/dist/_internal/platform/daemon/http/router-route-contexts.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/router-route-contexts.js +162 -0
- package/dist/_internal/platform/daemon/http/router.d.ts +120 -0
- package/dist/_internal/platform/daemon/http/router.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http/router.js +360 -0
- package/dist/_internal/platform/daemon/http-listener.d.ts +68 -0
- package/dist/_internal/platform/daemon/http-listener.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/http-listener.js +246 -0
- package/dist/_internal/platform/daemon/index.d.ts +4 -0
- package/dist/_internal/platform/daemon/index.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/index.js +3 -0
- package/dist/_internal/platform/daemon/server.d.ts +2 -0
- package/dist/_internal/platform/daemon/server.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/server.js +1 -0
- package/dist/_internal/platform/daemon/service-manager.d.ts +61 -0
- package/dist/_internal/platform/daemon/service-manager.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/service-manager.js +351 -0
- package/dist/_internal/platform/daemon/surface-actions.d.ts +54 -0
- package/dist/_internal/platform/daemon/surface-actions.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/surface-actions.js +124 -0
- package/dist/_internal/platform/daemon/surface-delivery.d.ts +57 -0
- package/dist/_internal/platform/daemon/surface-delivery.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/surface-delivery.js +459 -0
- package/dist/_internal/platform/daemon/surface-policy.d.ts +5 -0
- package/dist/_internal/platform/daemon/surface-policy.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/surface-policy.js +40 -0
- package/dist/_internal/platform/daemon/transport-events.d.ts +26 -0
- package/dist/_internal/platform/daemon/transport-events.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/transport-events.js +91 -0
- package/dist/_internal/platform/daemon/types.d.ts +213 -0
- package/dist/_internal/platform/daemon/types.d.ts.map +1 -0
- package/dist/_internal/platform/daemon/types.js +1 -0
- package/dist/_internal/platform/discovery/mcp-scanner.js +5 -5
- package/dist/_internal/platform/discovery/scanner.js +1 -1
- package/dist/_internal/platform/export/markdown.d.ts +43 -0
- package/dist/_internal/platform/export/markdown.d.ts.map +1 -0
- package/dist/_internal/platform/export/markdown.js +171 -0
- package/dist/_internal/platform/export/session-export.d.ts +56 -0
- package/dist/_internal/platform/export/session-export.d.ts.map +1 -0
- package/dist/_internal/platform/export/session-export.js +568 -0
- package/dist/_internal/platform/git/index.d.ts +2 -0
- package/dist/_internal/platform/git/index.d.ts.map +1 -0
- package/dist/_internal/platform/git/index.js +1 -0
- package/dist/_internal/platform/git/service.d.ts +101 -0
- package/dist/_internal/platform/git/service.d.ts.map +1 -0
- package/dist/_internal/platform/git/service.js +355 -0
- package/dist/_internal/platform/hooks/chain-engine.d.ts +44 -0
- package/dist/_internal/platform/hooks/chain-engine.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/chain-engine.js +459 -0
- package/dist/_internal/platform/hooks/dispatcher.d.ts +68 -0
- package/dist/_internal/platform/hooks/dispatcher.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/dispatcher.js +376 -0
- package/dist/_internal/platform/hooks/hook-api.d.ts +72 -0
- package/dist/_internal/platform/hooks/hook-api.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/hook-api.js +98 -0
- package/dist/_internal/platform/hooks/index.d.ts +19 -0
- package/dist/_internal/platform/hooks/index.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/index.js +11 -0
- package/dist/_internal/platform/hooks/runners/agent.d.ts +16 -0
- package/dist/_internal/platform/hooks/runners/agent.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/runners/agent.js +76 -0
- package/dist/_internal/platform/hooks/runners/prompt.d.ts +13 -0
- package/dist/_internal/platform/hooks/runners/prompt.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/runners/prompt.js +58 -0
- package/dist/_internal/platform/hooks/workbench.d.ts +67 -0
- package/dist/_internal/platform/hooks/workbench.d.ts.map +1 -0
- package/dist/_internal/platform/hooks/workbench.js +301 -0
- package/dist/_internal/platform/input/command-registry.d.ts +17 -0
- package/dist/_internal/platform/input/command-registry.d.ts.map +1 -0
- package/dist/_internal/platform/input/command-registry.js +25 -0
- package/dist/_internal/platform/input/keybindings.d.ts +86 -0
- package/dist/_internal/platform/input/keybindings.d.ts.map +1 -0
- package/dist/_internal/platform/input/keybindings.js +202 -0
- package/dist/_internal/platform/integrations/index.d.ts +13 -0
- package/dist/_internal/platform/integrations/index.d.ts.map +1 -0
- package/dist/_internal/platform/integrations/index.js +7 -0
- package/dist/_internal/platform/integrations/notifier.d.ts +56 -0
- package/dist/_internal/platform/integrations/notifier.d.ts.map +1 -0
- package/dist/_internal/platform/integrations/notifier.js +166 -0
- package/dist/_internal/platform/integrations/webhooks.d.ts +52 -0
- package/dist/_internal/platform/integrations/webhooks.d.ts.map +1 -0
- package/dist/_internal/platform/integrations/webhooks.js +141 -0
- package/dist/_internal/platform/intelligence/config.js +4 -4
- package/dist/_internal/platform/intelligence/facade.d.ts +1 -1
- package/dist/_internal/platform/intelligence/facade.js +2 -2
- package/dist/_internal/platform/knowledge/consolidation.d.ts +23 -0
- package/dist/_internal/platform/knowledge/consolidation.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/consolidation.js +274 -0
- package/dist/_internal/platform/knowledge/graphql.d.ts +25 -0
- package/dist/_internal/platform/knowledge/graphql.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/graphql.js +232 -0
- package/dist/_internal/platform/knowledge/index.d.ts +13 -0
- package/dist/_internal/platform/knowledge/index.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/index.js +8 -0
- package/dist/_internal/platform/knowledge/ingest-compile.d.ts +21 -0
- package/dist/_internal/platform/knowledge/ingest-compile.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/ingest-compile.js +311 -0
- package/dist/_internal/platform/knowledge/ingest-context.d.ts +19 -0
- package/dist/_internal/platform/knowledge/ingest-context.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/ingest-context.js +1 -0
- package/dist/_internal/platform/knowledge/ingest-inputs.d.ts +65 -0
- package/dist/_internal/platform/knowledge/ingest-inputs.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/ingest-inputs.js +304 -0
- package/dist/_internal/platform/knowledge/ingest.d.ts +4 -0
- package/dist/_internal/platform/knowledge/ingest.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/ingest.js +2 -0
- package/dist/_internal/platform/knowledge/internal.d.ts +55 -0
- package/dist/_internal/platform/knowledge/internal.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/internal.js +231 -0
- package/dist/_internal/platform/knowledge/knowledge-api.d.ts +160 -0
- package/dist/_internal/platform/knowledge/knowledge-api.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/knowledge-api.js +145 -0
- package/dist/_internal/platform/knowledge/lint.d.ts +13 -0
- package/dist/_internal/platform/knowledge/lint.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/lint.js +94 -0
- package/dist/_internal/platform/knowledge/memory-sync.d.ts +4 -0
- package/dist/_internal/platform/knowledge/memory-sync.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/memory-sync.js +54 -0
- package/dist/_internal/platform/knowledge/packet.d.ts +38 -0
- package/dist/_internal/platform/knowledge/packet.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/packet.js +278 -0
- package/dist/_internal/platform/knowledge/scheduling.d.ts +48 -0
- package/dist/_internal/platform/knowledge/scheduling.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/scheduling.js +246 -0
- package/dist/_internal/platform/knowledge/service.d.ts +230 -0
- package/dist/_internal/platform/knowledge/service.d.ts.map +1 -0
- package/dist/_internal/platform/knowledge/service.js +420 -0
- package/dist/_internal/platform/mcp/client.d.ts +78 -0
- package/dist/_internal/platform/mcp/client.d.ts.map +1 -0
- package/dist/_internal/platform/mcp/client.js +331 -0
- package/dist/_internal/platform/mcp/index.d.ts +7 -0
- package/dist/_internal/platform/mcp/index.d.ts.map +1 -0
- package/dist/_internal/platform/mcp/index.js +3 -0
- package/dist/_internal/platform/mcp/mcp-api.d.ts +52 -0
- package/dist/_internal/platform/mcp/mcp-api.d.ts.map +1 -0
- package/dist/_internal/platform/mcp/mcp-api.js +34 -0
- package/dist/_internal/platform/mcp/registry.d.ts +110 -0
- package/dist/_internal/platform/mcp/registry.d.ts.map +1 -0
- package/dist/_internal/platform/mcp/registry.js +427 -0
- package/dist/_internal/platform/media/builtin-image-understanding.d.ts +11 -0
- package/dist/_internal/platform/media/builtin-image-understanding.d.ts.map +1 -0
- package/dist/_internal/platform/media/builtin-image-understanding.js +226 -0
- package/dist/_internal/platform/media/builtin-providers.d.ts +5 -0
- package/dist/_internal/platform/media/builtin-providers.d.ts.map +1 -0
- package/dist/_internal/platform/media/builtin-providers.js +13 -0
- package/dist/_internal/platform/media/index.d.ts +4 -0
- package/dist/_internal/platform/media/index.d.ts.map +1 -0
- package/dist/_internal/platform/media/index.js +2 -0
- package/dist/_internal/platform/multimodal/index.d.ts +3 -0
- package/dist/_internal/platform/multimodal/index.d.ts.map +1 -0
- package/dist/_internal/platform/multimodal/index.js +1 -0
- package/dist/_internal/platform/multimodal/service.d.ts +30 -0
- package/dist/_internal/platform/multimodal/service.d.ts.map +1 -0
- package/dist/_internal/platform/multimodal/service.js +443 -0
- package/dist/_internal/platform/panels/panel-manager.d.ts +89 -0
- package/dist/_internal/platform/panels/panel-manager.d.ts.map +1 -0
- package/dist/_internal/platform/panels/panel-manager.js +481 -0
- package/dist/_internal/platform/panels/types.d.ts +30 -0
- package/dist/_internal/platform/panels/types.d.ts.map +1 -0
- package/dist/_internal/platform/panels/types.js +1 -0
- package/dist/_internal/platform/permissions/briefs/build.d.ts +5 -0
- package/dist/_internal/platform/permissions/briefs/build.d.ts.map +1 -0
- package/dist/_internal/platform/permissions/briefs/build.js +82 -0
- package/dist/_internal/platform/permissions/manager.d.ts +52 -0
- package/dist/_internal/platform/permissions/manager.d.ts.map +1 -0
- package/dist/_internal/platform/permissions/manager.js +269 -0
- package/dist/_internal/platform/permissions/prompt.d.ts +18 -0
- package/dist/_internal/platform/permissions/prompt.d.ts.map +1 -0
- package/dist/_internal/platform/permissions/prompt.js +1 -0
- package/dist/_internal/platform/plugins/api.d.ts +155 -0
- package/dist/_internal/platform/plugins/api.d.ts.map +1 -0
- package/dist/_internal/platform/plugins/api.js +197 -0
- package/dist/_internal/platform/plugins/loader.d.ts +101 -0
- package/dist/_internal/platform/plugins/loader.d.ts.map +1 -0
- package/dist/_internal/platform/plugins/loader.js +201 -0
- package/dist/_internal/platform/plugins/manager.d.ts +148 -0
- package/dist/_internal/platform/plugins/manager.d.ts.map +1 -0
- package/dist/_internal/platform/plugins/manager.js +338 -0
- package/dist/_internal/platform/profiles/manager.d.ts +1 -1
- package/dist/_internal/platform/profiles/manager.js +1 -1
- package/dist/_internal/platform/profiles/shape.d.ts +5 -0
- package/dist/_internal/platform/profiles/shape.d.ts.map +1 -0
- package/dist/_internal/platform/profiles/shape.js +51 -0
- package/dist/_internal/platform/providers/amazon-bedrock-mantle.d.ts +5 -0
- package/dist/_internal/platform/providers/amazon-bedrock-mantle.d.ts.map +1 -0
- package/dist/_internal/platform/providers/amazon-bedrock-mantle.js +45 -0
- package/dist/_internal/platform/providers/amazon-bedrock.d.ts +5 -0
- package/dist/_internal/platform/providers/amazon-bedrock.d.ts.map +1 -0
- package/dist/_internal/platform/providers/amazon-bedrock.js +56 -0
- package/dist/_internal/platform/providers/anthropic-compat.d.ts +61 -0
- package/dist/_internal/platform/providers/anthropic-compat.d.ts.map +1 -0
- package/dist/_internal/platform/providers/anthropic-compat.js +291 -0
- package/dist/_internal/platform/providers/anthropic-sdk-provider.d.ts +37 -0
- package/dist/_internal/platform/providers/anthropic-sdk-provider.d.ts.map +1 -0
- package/dist/_internal/platform/providers/anthropic-sdk-provider.js +173 -0
- package/dist/_internal/platform/providers/anthropic-vertex.d.ts +5 -0
- package/dist/_internal/platform/providers/anthropic-vertex.d.ts.map +1 -0
- package/dist/_internal/platform/providers/anthropic-vertex.js +53 -0
- package/dist/_internal/platform/providers/anthropic.d.ts +18 -0
- package/dist/_internal/platform/providers/anthropic.d.ts.map +1 -0
- package/dist/_internal/platform/providers/anthropic.js +417 -0
- package/dist/_internal/platform/providers/auto-register.d.ts +91 -0
- package/dist/_internal/platform/providers/auto-register.d.ts.map +1 -0
- package/dist/_internal/platform/providers/auto-register.js +359 -0
- package/dist/_internal/platform/providers/builtin-catalog.d.ts +41 -0
- package/dist/_internal/platform/providers/builtin-catalog.d.ts.map +1 -0
- package/dist/_internal/platform/providers/builtin-catalog.js +280 -0
- package/dist/_internal/platform/providers/builtin-registry.d.ts +27 -0
- package/dist/_internal/platform/providers/builtin-registry.d.ts.map +1 -0
- package/dist/_internal/platform/providers/builtin-registry.js +510 -0
- package/dist/_internal/platform/providers/cache-planner.d.ts +58 -0
- package/dist/_internal/platform/providers/cache-planner.d.ts.map +1 -0
- package/dist/_internal/platform/providers/cache-planner.js +203 -0
- package/dist/_internal/platform/providers/capabilities.d.ts +154 -0
- package/dist/_internal/platform/providers/capabilities.d.ts.map +1 -0
- package/dist/_internal/platform/providers/capabilities.js +463 -0
- package/dist/_internal/platform/providers/custom-loader.d.ts +89 -0
- package/dist/_internal/platform/providers/custom-loader.d.ts.map +1 -0
- package/dist/_internal/platform/providers/custom-loader.js +300 -0
- package/dist/_internal/platform/providers/discovered-compat.d.ts +17 -0
- package/dist/_internal/platform/providers/discovered-compat.d.ts.map +1 -0
- package/dist/_internal/platform/providers/discovered-compat.js +14 -0
- package/dist/_internal/platform/providers/discovered-factory.d.ts +5 -0
- package/dist/_internal/platform/providers/discovered-factory.d.ts.map +1 -0
- package/dist/_internal/platform/providers/discovered-factory.js +54 -0
- package/dist/_internal/platform/providers/discovered-traits.d.ts +16 -0
- package/dist/_internal/platform/providers/discovered-traits.d.ts.map +1 -0
- package/dist/_internal/platform/providers/discovered-traits.js +113 -0
- package/dist/_internal/platform/providers/gemini.d.ts +32 -0
- package/dist/_internal/platform/providers/gemini.d.ts.map +1 -0
- package/dist/_internal/platform/providers/gemini.js +391 -0
- package/dist/_internal/platform/providers/github-copilot.d.ts +16 -0
- package/dist/_internal/platform/providers/github-copilot.d.ts.map +1 -0
- package/dist/_internal/platform/providers/github-copilot.js +234 -0
- package/dist/_internal/platform/providers/index.d.ts +6 -0
- package/dist/_internal/platform/providers/index.d.ts.map +1 -0
- package/dist/_internal/platform/providers/index.js +1 -0
- package/dist/_internal/platform/providers/interface.d.ts +174 -0
- package/dist/_internal/platform/providers/interface.d.ts.map +1 -0
- package/dist/_internal/platform/providers/interface.js +7 -0
- package/dist/_internal/platform/providers/llama-cpp.d.ts +27 -0
- package/dist/_internal/platform/providers/llama-cpp.d.ts.map +1 -0
- package/dist/_internal/platform/providers/llama-cpp.js +313 -0
- package/dist/_internal/platform/providers/lm-studio-helpers.d.ts +88 -0
- package/dist/_internal/platform/providers/lm-studio-helpers.d.ts.map +1 -0
- package/dist/_internal/platform/providers/lm-studio-helpers.js +281 -0
- package/dist/_internal/platform/providers/lm-studio.d.ts +30 -0
- package/dist/_internal/platform/providers/lm-studio.d.ts.map +1 -0
- package/dist/_internal/platform/providers/lm-studio.js +405 -0
- package/dist/_internal/platform/providers/model-catalog-cache.d.ts +19 -0
- package/dist/_internal/platform/providers/model-catalog-cache.d.ts.map +1 -0
- package/dist/_internal/platform/providers/model-catalog-cache.js +160 -0
- package/dist/_internal/platform/providers/model-catalog-notifications.d.ts +7 -0
- package/dist/_internal/platform/providers/model-catalog-notifications.d.ts.map +1 -0
- package/dist/_internal/platform/providers/model-catalog-notifications.js +78 -0
- package/dist/_internal/platform/providers/model-catalog-synthetic.d.ts +33 -0
- package/dist/_internal/platform/providers/model-catalog-synthetic.d.ts.map +1 -0
- package/dist/_internal/platform/providers/model-catalog-synthetic.js +153 -0
- package/dist/_internal/platform/providers/model-catalog.d.ts +73 -0
- package/dist/_internal/platform/providers/model-catalog.d.ts.map +1 -0
- package/dist/_internal/platform/providers/model-catalog.js +116 -0
- package/dist/_internal/platform/providers/model-limits.d.ts +23 -0
- package/dist/_internal/platform/providers/model-limits.d.ts.map +1 -0
- package/dist/_internal/platform/providers/model-limits.js +236 -0
- package/dist/_internal/platform/providers/ollama.d.ts +27 -0
- package/dist/_internal/platform/providers/ollama.d.ts.map +1 -0
- package/dist/_internal/platform/providers/ollama.js +376 -0
- package/dist/_internal/platform/providers/openai-codex.d.ts +12 -0
- package/dist/_internal/platform/providers/openai-codex.d.ts.map +1 -0
- package/dist/_internal/platform/providers/openai-codex.js +448 -0
- package/dist/_internal/platform/providers/openai-compat.d.ts +69 -0
- package/dist/_internal/platform/providers/openai-compat.d.ts.map +1 -0
- package/dist/_internal/platform/providers/openai-compat.js +493 -0
- package/dist/_internal/platform/providers/openai.d.ts +18 -0
- package/dist/_internal/platform/providers/openai.d.ts.map +1 -0
- package/dist/_internal/platform/providers/openai.js +199 -0
- package/dist/_internal/platform/providers/optimizer.d.ts +157 -0
- package/dist/_internal/platform/providers/optimizer.d.ts.map +1 -0
- package/dist/_internal/platform/providers/optimizer.js +265 -0
- package/dist/_internal/platform/providers/provider-api.d.ts +163 -0
- package/dist/_internal/platform/providers/provider-api.d.ts.map +1 -0
- package/dist/_internal/platform/providers/provider-api.js +291 -0
- package/dist/_internal/platform/providers/registry-helpers.d.ts +14 -0
- package/dist/_internal/platform/providers/registry-helpers.d.ts.map +1 -0
- package/dist/_internal/platform/providers/registry-helpers.js +28 -0
- package/dist/_internal/platform/providers/registry-models.d.ts +13 -0
- package/dist/_internal/platform/providers/registry-models.d.ts.map +1 -0
- package/dist/_internal/platform/providers/registry-models.js +47 -0
- package/dist/_internal/platform/providers/registry-types.d.ts +62 -0
- package/dist/_internal/platform/providers/registry-types.d.ts.map +1 -0
- package/dist/_internal/platform/providers/registry-types.js +1 -0
- package/dist/_internal/platform/providers/registry.d.ts +173 -0
- package/dist/_internal/platform/providers/registry.d.ts.map +1 -0
- package/dist/_internal/platform/providers/registry.js +603 -0
- package/dist/_internal/platform/providers/runtime-metadata.d.ts +13 -0
- package/dist/_internal/platform/providers/runtime-metadata.d.ts.map +1 -0
- package/dist/_internal/platform/providers/runtime-metadata.js +129 -0
- package/dist/_internal/platform/providers/runtime-snapshot.d.ts +34 -0
- package/dist/_internal/platform/providers/runtime-snapshot.d.ts.map +1 -0
- package/dist/_internal/platform/providers/runtime-snapshot.js +79 -0
- package/dist/_internal/platform/providers/synthetic.d.ts +78 -0
- package/dist/_internal/platform/providers/synthetic.d.ts.map +1 -0
- package/dist/_internal/platform/providers/synthetic.js +418 -0
- package/dist/_internal/platform/providers/tier-prompts.d.ts +32 -0
- package/dist/_internal/platform/providers/tier-prompts.d.ts.map +1 -0
- package/dist/_internal/platform/providers/tier-prompts.js +78 -0
- package/dist/_internal/platform/providers/tool-formats.d.ts +137 -0
- package/dist/_internal/platform/providers/tool-formats.d.ts.map +1 -0
- package/dist/_internal/platform/providers/tool-formats.js +306 -0
- package/dist/_internal/platform/runtime/auth/inspection.d.ts +35 -0
- package/dist/_internal/platform/runtime/auth/inspection.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/auth/inspection.js +87 -0
- package/dist/_internal/platform/runtime/bootstrap-background.d.ts +32 -0
- package/dist/_internal/platform/runtime/bootstrap-background.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/bootstrap-background.js +96 -0
- package/dist/_internal/platform/runtime/bootstrap-helpers.d.ts +15 -0
- package/dist/_internal/platform/runtime/bootstrap-helpers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/bootstrap-helpers.js +74 -0
- package/dist/_internal/platform/runtime/bootstrap-runtime-events.d.ts +30 -0
- package/dist/_internal/platform/runtime/bootstrap-runtime-events.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/bootstrap-runtime-events.js +199 -0
- package/dist/_internal/platform/runtime/bootstrap-services.d.ts +40 -0
- package/dist/_internal/platform/runtime/bootstrap-services.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/bootstrap-services.js +136 -0
- package/dist/_internal/platform/runtime/compaction/index.d.ts +43 -0
- package/dist/_internal/platform/runtime/compaction/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/index.js +37 -0
- package/dist/_internal/platform/runtime/compaction/lifecycle.d.ts +63 -0
- package/dist/_internal/platform/runtime/compaction/lifecycle.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/lifecycle.js +113 -0
- package/dist/_internal/platform/runtime/compaction/manager.d.ts +100 -0
- package/dist/_internal/platform/runtime/compaction/manager.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/manager.js +371 -0
- package/dist/_internal/platform/runtime/compaction/quality-score.d.ts +70 -0
- package/dist/_internal/platform/runtime/compaction/quality-score.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/quality-score.js +205 -0
- package/dist/_internal/platform/runtime/compaction/resume-repair.d.ts +40 -0
- package/dist/_internal/platform/runtime/compaction/resume-repair.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/resume-repair.js +155 -0
- package/dist/_internal/platform/runtime/compaction/strategies/autocompact.d.ts +22 -0
- package/dist/_internal/platform/runtime/compaction/strategies/autocompact.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/strategies/autocompact.js +56 -0
- package/dist/_internal/platform/runtime/compaction/strategies/boundary-commit.d.ts +52 -0
- package/dist/_internal/platform/runtime/compaction/strategies/boundary-commit.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/strategies/boundary-commit.js +79 -0
- package/dist/_internal/platform/runtime/compaction/strategies/collapse.d.ts +22 -0
- package/dist/_internal/platform/runtime/compaction/strategies/collapse.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/strategies/collapse.js +81 -0
- package/dist/_internal/platform/runtime/compaction/strategies/index.d.ts +14 -0
- package/dist/_internal/platform/runtime/compaction/strategies/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/strategies/index.js +11 -0
- package/dist/_internal/platform/runtime/compaction/strategies/microcompact.d.ts +20 -0
- package/dist/_internal/platform/runtime/compaction/strategies/microcompact.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/strategies/microcompact.js +63 -0
- package/dist/_internal/platform/runtime/compaction/strategies/reactive.d.ts +25 -0
- package/dist/_internal/platform/runtime/compaction/strategies/reactive.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/strategies/reactive.js +71 -0
- package/dist/_internal/platform/runtime/compaction/types.d.ts +169 -0
- package/dist/_internal/platform/runtime/compaction/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/compaction/types.js +10 -0
- package/dist/_internal/platform/runtime/diagnostics/actions.d.ts +329 -0
- package/dist/_internal/platform/runtime/diagnostics/actions.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/actions.js +413 -0
- package/dist/_internal/platform/runtime/diagnostics/index.d.ts +40 -0
- package/dist/_internal/platform/runtime/diagnostics/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/index.js +40 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/agents.d.ts +51 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/agents.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/agents.js +204 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/events.d.ts +53 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/events.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/events.js +161 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/health.d.ts +66 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/health.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/health.js +202 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/index.d.ts +25 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/index.js +19 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/ops.d.ts +56 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/ops.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/ops.js +71 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/policy.d.ts +103 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/policy.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/policy.js +123 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/tasks.d.ts +51 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/tasks.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/tasks.js +199 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/tool-calls.d.ts +64 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/tool-calls.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/panels/tool-calls.js +216 -0
- package/dist/_internal/platform/runtime/diagnostics/provider.d.ts +159 -0
- package/dist/_internal/platform/runtime/diagnostics/provider.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/diagnostics/provider.js +178 -0
- package/dist/_internal/platform/runtime/ecosystem/catalog.d.ts +164 -0
- package/dist/_internal/platform/runtime/ecosystem/catalog.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ecosystem/catalog.js +445 -0
- package/dist/_internal/platform/runtime/ecosystem/recommendations.d.ts +12 -0
- package/dist/_internal/platform/runtime/ecosystem/recommendations.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ecosystem/recommendations.js +51 -0
- package/dist/_internal/platform/runtime/emitters/agents.d.ts +65 -0
- package/dist/_internal/platform/runtime/emitters/agents.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/agents.js +44 -0
- package/dist/_internal/platform/runtime/emitters/automation.d.ts +67 -0
- package/dist/_internal/platform/runtime/emitters/automation.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/automation.js +40 -0
- package/dist/_internal/platform/runtime/emitters/communication.d.ts +29 -0
- package/dist/_internal/platform/runtime/emitters/communication.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/communication.js +13 -0
- package/dist/_internal/platform/runtime/emitters/compaction.d.ts +89 -0
- package/dist/_internal/platform/runtime/emitters/compaction.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/compaction.js +53 -0
- package/dist/_internal/platform/runtime/emitters/control-plane.d.ts +37 -0
- package/dist/_internal/platform/runtime/emitters/control-plane.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/control-plane.js +25 -0
- package/dist/_internal/platform/runtime/emitters/deliveries.d.ts +53 -0
- package/dist/_internal/platform/runtime/emitters/deliveries.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/deliveries.js +22 -0
- package/dist/_internal/platform/runtime/emitters/forensics.d.ts +10 -0
- package/dist/_internal/platform/runtime/emitters/forensics.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/forensics.js +4 -0
- package/dist/_internal/platform/runtime/emitters/index.d.ts +58 -0
- package/dist/_internal/platform/runtime/emitters/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/index.js +26 -0
- package/dist/_internal/platform/runtime/emitters/knowledge.d.ts +76 -0
- package/dist/_internal/platform/runtime/emitters/knowledge.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/knowledge.js +49 -0
- package/dist/_internal/platform/runtime/emitters/mcp.d.ts +64 -0
- package/dist/_internal/platform/runtime/emitters/mcp.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/mcp.js +42 -0
- package/dist/_internal/platform/runtime/emitters/ops.d.ts +63 -0
- package/dist/_internal/platform/runtime/emitters/ops.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/ops.js +93 -0
- package/dist/_internal/platform/runtime/emitters/orchestration.d.ts +62 -0
- package/dist/_internal/platform/runtime/emitters/orchestration.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/orchestration.js +34 -0
- package/dist/_internal/platform/runtime/emitters/permissions.d.ts +64 -0
- package/dist/_internal/platform/runtime/emitters/permissions.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/permissions.js +36 -0
- package/dist/_internal/platform/runtime/emitters/planner.d.ts +9 -0
- package/dist/_internal/platform/runtime/emitters/planner.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/planner.js +10 -0
- package/dist/_internal/platform/runtime/emitters/plugins.d.ts +46 -0
- package/dist/_internal/platform/runtime/emitters/plugins.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/plugins.js +36 -0
- package/dist/_internal/platform/runtime/emitters/providers.d.ts +16 -0
- package/dist/_internal/platform/runtime/emitters/providers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/providers.js +13 -0
- package/dist/_internal/platform/runtime/emitters/routes.d.ts +37 -0
- package/dist/_internal/platform/runtime/emitters/routes.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/routes.js +22 -0
- package/dist/_internal/platform/runtime/emitters/security.d.ts +31 -0
- package/dist/_internal/platform/runtime/emitters/security.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/security.js +19 -0
- package/dist/_internal/platform/runtime/emitters/session.d.ts +38 -0
- package/dist/_internal/platform/runtime/emitters/session.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/session.js +47 -0
- package/dist/_internal/platform/runtime/emitters/surfaces.d.ts +35 -0
- package/dist/_internal/platform/runtime/emitters/surfaces.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/surfaces.js +22 -0
- package/dist/_internal/platform/runtime/emitters/tasks.d.ts +47 -0
- package/dist/_internal/platform/runtime/emitters/tasks.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/tasks.js +32 -0
- package/dist/_internal/platform/runtime/emitters/tools.d.ts +109 -0
- package/dist/_internal/platform/runtime/emitters/tools.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/tools.js +60 -0
- package/dist/_internal/platform/runtime/emitters/transport.d.ts +43 -0
- package/dist/_internal/platform/runtime/emitters/transport.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/transport.js +36 -0
- package/dist/_internal/platform/runtime/emitters/turn.d.ts +78 -0
- package/dist/_internal/platform/runtime/emitters/turn.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/turn.js +58 -0
- package/dist/_internal/platform/runtime/emitters/ui.d.ts +34 -0
- package/dist/_internal/platform/runtime/emitters/ui.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/ui.js +37 -0
- package/dist/_internal/platform/runtime/emitters/watchers.d.ts +34 -0
- package/dist/_internal/platform/runtime/emitters/watchers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/watchers.js +22 -0
- package/dist/_internal/platform/runtime/emitters/workflows.d.ts +43 -0
- package/dist/_internal/platform/runtime/emitters/workflows.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/emitters/workflows.js +31 -0
- package/dist/_internal/platform/runtime/eval/index.d.ts +24 -0
- package/dist/_internal/platform/runtime/eval/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/eval/index.js +21 -0
- package/dist/_internal/platform/runtime/eval/runner.d.ts +60 -0
- package/dist/_internal/platform/runtime/eval/runner.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/eval/runner.js +135 -0
- package/dist/_internal/platform/runtime/eval/suites.d.ts +19 -0
- package/dist/_internal/platform/runtime/eval/suites.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/eval/suites.js +231 -0
- package/dist/_internal/platform/runtime/events/domain-map.d.ts +87 -0
- package/dist/_internal/platform/runtime/events/domain-map.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/domain-map.js +36 -0
- package/dist/_internal/platform/runtime/events/index.d.ts +91 -0
- package/dist/_internal/platform/runtime/events/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/index.js +148 -0
- package/dist/_internal/platform/runtime/events/turn.d.ts +98 -0
- package/dist/_internal/platform/runtime/events/turn.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/turn.js +1 -0
- package/dist/_internal/platform/runtime/events/workflows.d.ts +46 -0
- package/dist/_internal/platform/runtime/events/workflows.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/events/workflows.js +1 -0
- package/dist/_internal/platform/runtime/forensics/collector.d.ts +30 -0
- package/dist/_internal/platform/runtime/forensics/collector.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/forensics/collector.js +525 -0
- package/dist/_internal/platform/runtime/forensics/index.d.ts +15 -0
- package/dist/_internal/platform/runtime/forensics/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/forensics/index.js +3 -0
- package/dist/_internal/platform/runtime/foundation-clients.d.ts +30 -0
- package/dist/_internal/platform/runtime/foundation-clients.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/foundation-clients.js +35 -0
- package/dist/_internal/platform/runtime/foundation-services.d.ts +41 -0
- package/dist/_internal/platform/runtime/foundation-services.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/foundation-services.js +40 -0
- package/dist/_internal/platform/runtime/guidance.d.ts +30 -0
- package/dist/_internal/platform/runtime/guidance.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/guidance.js +133 -0
- package/dist/_internal/platform/runtime/health/effect-handlers.d.ts +42 -0
- package/dist/_internal/platform/runtime/health/effect-handlers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/health/effect-handlers.js +148 -0
- package/dist/_internal/platform/runtime/health/index.d.ts +46 -0
- package/dist/_internal/platform/runtime/health/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/health/index.js +45 -0
- package/dist/_internal/platform/runtime/health/wiring.d.ts +69 -0
- package/dist/_internal/platform/runtime/health/wiring.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/health/wiring.js +100 -0
- package/dist/_internal/platform/runtime/index.d.ts +82 -0
- package/dist/_internal/platform/runtime/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/index.js +49 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector.d.ts +2 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/inspection/state-inspector.js +1 -0
- package/dist/_internal/platform/runtime/integration/helpers.d.ts +110 -0
- package/dist/_internal/platform/runtime/integration/helpers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/integration/helpers.js +540 -0
- package/dist/_internal/platform/runtime/lifecycle.d.ts +37 -0
- package/dist/_internal/platform/runtime/lifecycle.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/lifecycle.js +94 -0
- package/dist/_internal/platform/runtime/mcp/index.d.ts +31 -0
- package/dist/_internal/platform/runtime/mcp/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/mcp/index.js +30 -0
- package/dist/_internal/platform/runtime/mcp/manager.d.ts +158 -0
- package/dist/_internal/platform/runtime/mcp/manager.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/mcp/manager.js +422 -0
- package/dist/_internal/platform/runtime/network/inbound.d.ts +27 -0
- package/dist/_internal/platform/runtime/network/inbound.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/network/inbound.js +90 -0
- package/dist/_internal/platform/runtime/network/index.d.ts +6 -0
- package/dist/_internal/platform/runtime/network/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/network/index.js +3 -0
- package/dist/_internal/platform/runtime/network/outbound.d.ts +28 -0
- package/dist/_internal/platform/runtime/network/outbound.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/network/outbound.js +222 -0
- package/dist/_internal/platform/runtime/network/shared.d.ts +19 -0
- package/dist/_internal/platform/runtime/network/shared.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/network/shared.js +64 -0
- package/dist/_internal/platform/runtime/operator-client.d.ts +87 -0
- package/dist/_internal/platform/runtime/operator-client.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/operator-client.js +110 -0
- package/dist/_internal/platform/runtime/ops/control-plane.d.ts +96 -0
- package/dist/_internal/platform/runtime/ops/control-plane.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/control-plane.js +298 -0
- package/dist/_internal/platform/runtime/ops/index.d.ts +54 -0
- package/dist/_internal/platform/runtime/ops/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/index.js +85 -0
- package/dist/_internal/platform/runtime/ops/playbooks/index.d.ts +11 -0
- package/dist/_internal/platform/runtime/ops/playbooks/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/playbooks/index.js +10 -0
- package/dist/_internal/platform/runtime/ops/playbooks/session-unrecoverable.d.ts +12 -0
- package/dist/_internal/platform/runtime/ops/playbooks/session-unrecoverable.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/playbooks/session-unrecoverable.js +175 -0
- package/dist/_internal/platform/runtime/ops/playbooks/stuck-turn.d.ts +12 -0
- package/dist/_internal/platform/runtime/ops/playbooks/stuck-turn.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/playbooks/stuck-turn.js +176 -0
- package/dist/_internal/platform/runtime/ops/runtime-context.d.ts +26 -0
- package/dist/_internal/platform/runtime/ops/runtime-context.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops/runtime-context.js +71 -0
- package/dist/_internal/platform/runtime/ops-api.d.ts +25 -0
- package/dist/_internal/platform/runtime/ops-api.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ops-api.js +1 -0
- package/dist/_internal/platform/runtime/orchestration/spawn-policy.d.ts +24 -0
- package/dist/_internal/platform/runtime/orchestration/spawn-policy.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/orchestration/spawn-policy.js +54 -0
- package/dist/_internal/platform/runtime/peer-client.d.ts +108 -0
- package/dist/_internal/platform/runtime/peer-client.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/peer-client.js +232 -0
- package/dist/_internal/platform/runtime/perf/index.d.ts +34 -0
- package/dist/_internal/platform/runtime/perf/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/perf/index.js +32 -0
- package/dist/_internal/platform/runtime/perf/slo-collector.d.ts +95 -0
- package/dist/_internal/platform/runtime/perf/slo-collector.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/perf/slo-collector.js +324 -0
- package/dist/_internal/platform/runtime/permissions/index.d.ts +89 -0
- package/dist/_internal/platform/runtime/permissions/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/index.js +85 -0
- package/dist/_internal/platform/runtime/permissions/policy-runtime.d.ts +58 -0
- package/dist/_internal/platform/runtime/permissions/policy-runtime.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/policy-runtime.js +121 -0
- package/dist/_internal/platform/runtime/permissions/preflight.d.ts +31 -0
- package/dist/_internal/platform/runtime/permissions/preflight.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/preflight.js +62 -0
- package/dist/_internal/platform/runtime/permissions/rule-suggestions.d.ts +10 -0
- package/dist/_internal/platform/runtime/permissions/rule-suggestions.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/permissions/rule-suggestions.js +24 -0
- package/dist/_internal/platform/runtime/plugins/hot-reload.d.ts +75 -0
- package/dist/_internal/platform/runtime/plugins/hot-reload.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/plugins/hot-reload.js +146 -0
- package/dist/_internal/platform/runtime/plugins/index.d.ts +40 -0
- package/dist/_internal/platform/runtime/plugins/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/plugins/index.js +37 -0
- package/dist/_internal/platform/runtime/plugins/lifecycle.d.ts +56 -0
- package/dist/_internal/platform/runtime/plugins/lifecycle.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/plugins/lifecycle.js +78 -0
- package/dist/_internal/platform/runtime/plugins/manager.d.ts +108 -0
- package/dist/_internal/platform/runtime/plugins/manager.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/plugins/manager.js +387 -0
- package/dist/_internal/platform/runtime/plugins/manifest.d.ts +44 -0
- package/dist/_internal/platform/runtime/plugins/manifest.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/plugins/manifest.js +133 -0
- package/dist/_internal/platform/runtime/plugins/quarantine.d.ts +87 -0
- package/dist/_internal/platform/runtime/plugins/quarantine.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/plugins/quarantine.js +140 -0
- package/dist/_internal/platform/runtime/plugins/trust.d.ts +155 -0
- package/dist/_internal/platform/runtime/plugins/trust.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/plugins/trust.js +198 -0
- package/dist/_internal/platform/runtime/plugins/types.d.ts +164 -0
- package/dist/_internal/platform/runtime/plugins/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/plugins/types.js +28 -0
- package/dist/_internal/platform/runtime/provider-accounts/registry.d.ts +53 -0
- package/dist/_internal/platform/runtime/provider-accounts/registry.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/provider-accounts/registry.js +269 -0
- package/dist/_internal/platform/runtime/provider-health/data-provider.d.ts +1 -72
- package/dist/_internal/platform/runtime/provider-health/data-provider.d.ts.map +1 -1
- package/dist/_internal/platform/runtime/provider-health/data-provider.js +7 -194
- package/dist/_internal/platform/runtime/provider-health/fallback-visualizer.d.ts +1 -14
- package/dist/_internal/platform/runtime/provider-health/fallback-visualizer.d.ts.map +1 -1
- package/dist/_internal/platform/runtime/provider-health/fallback-visualizer.js +5 -45
- package/dist/_internal/platform/runtime/provider-health/index.d.ts +1 -23
- package/dist/_internal/platform/runtime/provider-health/index.d.ts.map +1 -1
- package/dist/_internal/platform/runtime/provider-health/index.js +1 -21
- package/dist/_internal/platform/runtime/provider-health/types.d.ts +1 -121
- package/dist/_internal/platform/runtime/provider-health/types.d.ts.map +1 -1
- package/dist/_internal/platform/runtime/provider-health/types.js +7 -1
- package/dist/_internal/platform/runtime/remote/distributed-runtime-contract-schemas.d.ts +38 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-contract-schemas.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-contract-schemas.js +338 -0
- package/dist/_internal/platform/runtime/remote/distributed-runtime-manager.js +1 -1
- package/dist/_internal/platform/runtime/remote/index.d.ts +159 -0
- package/dist/_internal/platform/runtime/remote/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/index.js +305 -0
- package/dist/_internal/platform/runtime/remote/runner-registry.d.ts +51 -0
- package/dist/_internal/platform/runtime/remote/runner-registry.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/runner-registry.js +377 -0
- package/dist/_internal/platform/runtime/remote/supervisor.d.ts +19 -0
- package/dist/_internal/platform/runtime/remote/supervisor.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/remote/supervisor.js +53 -0
- package/dist/_internal/platform/runtime/runtime-hook-api.d.ts +3 -0
- package/dist/_internal/platform/runtime/runtime-hook-api.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/runtime-hook-api.js +4 -0
- package/dist/_internal/platform/runtime/runtime-knowledge-api.d.ts +6 -0
- package/dist/_internal/platform/runtime/runtime-knowledge-api.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/runtime-knowledge-api.js +7 -0
- package/dist/_internal/platform/runtime/runtime-mcp-api.d.ts +3 -0
- package/dist/_internal/platform/runtime/runtime-mcp-api.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/runtime-mcp-api.js +4 -0
- package/dist/_internal/platform/runtime/runtime-ops-api.d.ts +13 -0
- package/dist/_internal/platform/runtime/runtime-ops-api.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/runtime-ops-api.js +64 -0
- package/dist/_internal/platform/runtime/runtime-provider-api.d.ts +6 -0
- package/dist/_internal/platform/runtime/runtime-provider-api.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/runtime-provider-api.js +8 -0
- package/dist/_internal/platform/runtime/sandbox/backend.d.ts +29 -0
- package/dist/_internal/platform/runtime/sandbox/backend.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/sandbox/backend.js +202 -0
- package/dist/_internal/platform/runtime/sandbox/manager.d.ts +20 -0
- package/dist/_internal/platform/runtime/sandbox/manager.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/sandbox/manager.js +307 -0
- package/dist/_internal/platform/runtime/sandbox/provisioning.d.ts +73 -0
- package/dist/_internal/platform/runtime/sandbox/provisioning.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/sandbox/provisioning.js +319 -0
- package/dist/_internal/platform/runtime/sandbox/session-registry.d.ts +22 -0
- package/dist/_internal/platform/runtime/sandbox/session-registry.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/sandbox/session-registry.js +257 -0
- package/dist/_internal/platform/runtime/services.d.ts +160 -0
- package/dist/_internal/platform/runtime/services.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/services.js +439 -0
- package/dist/_internal/platform/runtime/session-maintenance.d.ts +31 -0
- package/dist/_internal/platform/runtime/session-maintenance.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/session-maintenance.js +148 -0
- package/dist/_internal/platform/runtime/session-persistence.d.ts +39 -0
- package/dist/_internal/platform/runtime/session-persistence.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/session-persistence.js +226 -0
- package/dist/_internal/platform/runtime/session-return-context.d.ts +47 -0
- package/dist/_internal/platform/runtime/session-return-context.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/session-return-context.js +139 -0
- package/dist/_internal/platform/runtime/settings/control-plane-store.d.ts +131 -0
- package/dist/_internal/platform/runtime/settings/control-plane-store.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/settings/control-plane-store.js +107 -0
- package/dist/_internal/platform/runtime/settings/control-plane.d.ts +32 -0
- package/dist/_internal/platform/runtime/settings/control-plane.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/settings/control-plane.js +509 -0
- package/dist/_internal/platform/runtime/shell-command-extensions.d.ts +29 -0
- package/dist/_internal/platform/runtime/shell-command-extensions.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/shell-command-extensions.js +13 -0
- package/dist/_internal/platform/runtime/shell-command-ops.d.ts +136 -0
- package/dist/_internal/platform/runtime/shell-command-ops.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/shell-command-ops.js +54 -0
- package/dist/_internal/platform/runtime/shell-command-platform.d.ts +22 -0
- package/dist/_internal/platform/runtime/shell-command-platform.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/shell-command-platform.js +13 -0
- package/dist/_internal/platform/runtime/shell-command-services.d.ts +59 -0
- package/dist/_internal/platform/runtime/shell-command-services.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/shell-command-services.js +46 -0
- package/dist/_internal/platform/runtime/shell-command-workspace.d.ts +14 -0
- package/dist/_internal/platform/runtime/shell-command-workspace.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/shell-command-workspace.js +9 -0
- package/dist/_internal/platform/runtime/store/domains/conversation.d.ts +109 -0
- package/dist/_internal/platform/runtime/store/domains/conversation.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/conversation.js +42 -0
- package/dist/_internal/platform/runtime/store/domains/index.d.ts +58 -0
- package/dist/_internal/platform/runtime/store/domains/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/index.js +30 -0
- package/dist/_internal/platform/runtime/store/domains/panels.d.ts +59 -0
- package/dist/_internal/platform/runtime/store/domains/panels.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/panels.js +44 -0
- package/dist/_internal/platform/runtime/store/domains/permissions.d.ts +80 -0
- package/dist/_internal/platform/runtime/store/domains/permissions.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/permissions.js +23 -0
- package/dist/_internal/platform/runtime/store/domains/ui-perf.d.ts +72 -0
- package/dist/_internal/platform/runtime/store/domains/ui-perf.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/domains/ui-perf.js +28 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/conversation.d.ts +5 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/conversation.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/conversation.js +232 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/lifecycle.d.ts +20 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/lifecycle.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/lifecycle.js +393 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/shared.d.ts +15 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/shared.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/shared.js +48 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/sync.d.ts +40 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/sync.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers/sync.js +480 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers.d.ts +5 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/helpers/reducers.js +4 -0
- package/dist/_internal/platform/runtime/store/index.d.ts +62 -0
- package/dist/_internal/platform/runtime/store/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/index.js +178 -0
- package/dist/_internal/platform/runtime/store/selectors/index.d.ts +151 -0
- package/dist/_internal/platform/runtime/store/selectors/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/selectors/index.js +270 -0
- package/dist/_internal/platform/runtime/store/state.d.ts +77 -0
- package/dist/_internal/platform/runtime/store/state.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/store/state.js +71 -0
- package/dist/_internal/platform/runtime/tasks/adapters/acp-adapter.d.ts +65 -0
- package/dist/_internal/platform/runtime/tasks/adapters/acp-adapter.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tasks/adapters/acp-adapter.js +176 -0
- package/dist/_internal/platform/runtime/tasks/adapters/agent-adapter.d.ts +68 -0
- package/dist/_internal/platform/runtime/tasks/adapters/agent-adapter.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tasks/adapters/agent-adapter.js +174 -0
- package/dist/_internal/platform/runtime/tasks/adapters/index.d.ts +13 -0
- package/dist/_internal/platform/runtime/tasks/adapters/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tasks/adapters/index.js +10 -0
- package/dist/_internal/platform/runtime/tasks/adapters/process-adapter.d.ts +82 -0
- package/dist/_internal/platform/runtime/tasks/adapters/process-adapter.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tasks/adapters/process-adapter.js +171 -0
- package/dist/_internal/platform/runtime/tasks/adapters/scheduler-adapter.d.ts +76 -0
- package/dist/_internal/platform/runtime/tasks/adapters/scheduler-adapter.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tasks/adapters/scheduler-adapter.js +160 -0
- package/dist/_internal/platform/runtime/tasks/index.d.ts +36 -0
- package/dist/_internal/platform/runtime/tasks/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tasks/index.js +37 -0
- package/dist/_internal/platform/runtime/tasks/manager.d.ts +96 -0
- package/dist/_internal/platform/runtime/tasks/manager.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tasks/manager.js +316 -0
- package/dist/_internal/platform/runtime/telemetry/api-helpers.d.ts +39 -0
- package/dist/_internal/platform/runtime/telemetry/api-helpers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/api-helpers.js +481 -0
- package/dist/_internal/platform/runtime/telemetry/api.d.ts +179 -0
- package/dist/_internal/platform/runtime/telemetry/api.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/api.js +535 -0
- package/dist/_internal/platform/runtime/telemetry/index.d.ts +53 -0
- package/dist/_internal/platform/runtime/telemetry/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/index.js +52 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-agent-session.d.ts +6 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-agent-session.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-agent-session.js +325 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-plugin-mcp.d.ts +4 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-plugin-mcp.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-plugin-mcp.js +142 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-shared.d.ts +18 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-shared.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-shared.js +1 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-transport-task.d.ts +4 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-transport-task.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge-transport-task.js +146 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge.d.ts +67 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/domain-bridge.js +101 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/index.d.ts +51 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/telemetry/instrumentation/index.js +21 -0
- package/dist/_internal/platform/runtime/tools/context.d.ts +100 -0
- package/dist/_internal/platform/runtime/tools/context.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/context.js +1 -0
- package/dist/_internal/platform/runtime/tools/index.d.ts +32 -0
- package/dist/_internal/platform/runtime/tools/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/index.js +21 -0
- package/dist/_internal/platform/runtime/tools/phased-executor.d.ts +40 -0
- package/dist/_internal/platform/runtime/tools/phased-executor.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/phased-executor.js +338 -0
- package/dist/_internal/platform/runtime/tools/phases/budget.d.ts +21 -0
- package/dist/_internal/platform/runtime/tools/phases/budget.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/phases/budget.js +87 -0
- package/dist/_internal/platform/runtime/tools/phases/execute.d.ts +18 -0
- package/dist/_internal/platform/runtime/tools/phases/execute.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/phases/execute.js +49 -0
- package/dist/_internal/platform/runtime/tools/phases/index.d.ts +14 -0
- package/dist/_internal/platform/runtime/tools/phases/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/phases/index.js +13 -0
- package/dist/_internal/platform/runtime/tools/phases/map-output.d.ts +5 -0
- package/dist/_internal/platform/runtime/tools/phases/map-output.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/phases/map-output.js +83 -0
- package/dist/_internal/platform/runtime/tools/phases/permission.d.ts +14 -0
- package/dist/_internal/platform/runtime/tools/phases/permission.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/phases/permission.js +109 -0
- package/dist/_internal/platform/runtime/tools/phases/posthook.d.ts +15 -0
- package/dist/_internal/platform/runtime/tools/phases/posthook.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/phases/posthook.js +47 -0
- package/dist/_internal/platform/runtime/tools/phases/prehook.d.ts +16 -0
- package/dist/_internal/platform/runtime/tools/phases/prehook.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/phases/prehook.js +56 -0
- package/dist/_internal/platform/runtime/tools/phases/validate.d.ts +18 -0
- package/dist/_internal/platform/runtime/tools/phases/validate.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/tools/phases/validate.js +38 -0
- package/dist/_internal/platform/runtime/transports/direct.d.ts +34 -0
- package/dist/_internal/platform/runtime/transports/direct.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/direct.js +37 -0
- package/dist/_internal/platform/runtime/transports/http-helpers.d.ts +18 -0
- package/dist/_internal/platform/runtime/transports/http-helpers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/http-helpers.js +182 -0
- package/dist/_internal/platform/runtime/transports/http-types.d.ts +307 -0
- package/dist/_internal/platform/runtime/transports/http-types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/http-types.js +1 -0
- package/dist/_internal/platform/runtime/transports/http.d.ts +3 -0
- package/dist/_internal/platform/runtime/transports/http.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/http.js +406 -0
- package/dist/_internal/platform/runtime/transports/realtime.d.ts +17 -0
- package/dist/_internal/platform/runtime/transports/realtime.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/realtime.js +28 -0
- package/dist/_internal/platform/runtime/transports/remote-events.d.ts +4 -0
- package/dist/_internal/platform/runtime/transports/remote-events.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/remote-events.js +2 -0
- package/dist/_internal/platform/runtime/transports/shared.d.ts +17 -0
- package/dist/_internal/platform/runtime/transports/shared.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/shared.js +8 -0
- package/dist/_internal/platform/runtime/transports/ui-runtime-events.d.ts +9 -0
- package/dist/_internal/platform/runtime/transports/ui-runtime-events.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/transports/ui-runtime-events.js +16 -0
- package/dist/_internal/platform/runtime/ui/index.d.ts +17 -0
- package/dist/_internal/platform/runtime/ui/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui/index.js +11 -0
- package/dist/_internal/platform/runtime/ui/model-picker/data-provider.d.ts +94 -0
- package/dist/_internal/platform/runtime/ui/model-picker/data-provider.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui/model-picker/data-provider.js +129 -0
- package/dist/_internal/platform/runtime/ui/model-picker/health-enrichment.d.ts +32 -0
- package/dist/_internal/platform/runtime/ui/model-picker/health-enrichment.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui/model-picker/health-enrichment.js +208 -0
- package/dist/_internal/platform/runtime/ui/model-picker/index.d.ts +30 -0
- package/dist/_internal/platform/runtime/ui/model-picker/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui/model-picker/index.js +26 -0
- package/dist/_internal/platform/runtime/ui/model-picker/types.d.ts +127 -0
- package/dist/_internal/platform/runtime/ui/model-picker/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui/model-picker/types.js +1 -0
- package/dist/_internal/platform/runtime/ui/provider-health/data-provider.d.ts +30 -0
- package/dist/_internal/platform/runtime/ui/provider-health/data-provider.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui/provider-health/data-provider.js +137 -0
- package/dist/_internal/platform/runtime/ui/provider-health/fallback-visualizer.d.ts +5 -0
- package/dist/_internal/platform/runtime/ui/provider-health/fallback-visualizer.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui/provider-health/fallback-visualizer.js +35 -0
- package/dist/_internal/platform/runtime/ui/provider-health/index.d.ts +14 -0
- package/dist/_internal/platform/runtime/ui/provider-health/index.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui/provider-health/index.js +9 -0
- package/dist/_internal/platform/runtime/ui/provider-health/types.d.ts +59 -0
- package/dist/_internal/platform/runtime/ui/provider-health/types.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui/provider-health/types.js +1 -0
- package/dist/_internal/platform/runtime/ui-events.d.ts +15 -0
- package/dist/_internal/platform/runtime/ui-events.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-events.js +16 -0
- package/dist/_internal/platform/runtime/ui-read-model-helpers.d.ts +6 -0
- package/dist/_internal/platform/runtime/ui-read-model-helpers.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-read-model-helpers.js +22 -0
- package/dist/_internal/platform/runtime/ui-read-models-core.d.ts +38 -0
- package/dist/_internal/platform/runtime/ui-read-models-core.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-read-models-core.js +52 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-maintenance.d.ts +37 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-maintenance.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-maintenance.js +36 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-options.d.ts +5 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-options.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-options.js +1 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-remote.d.ts +32 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-remote.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-remote.js +35 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-security.d.ts +54 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-security.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-security.js +111 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-system.d.ts +69 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-system.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability-system.js +137 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability.d.ts +15 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-read-models-observability.js +12 -0
- package/dist/_internal/platform/runtime/ui-read-models-operations.d.ts +78 -0
- package/dist/_internal/platform/runtime/ui-read-models-operations.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-read-models-operations.js +113 -0
- package/dist/_internal/platform/runtime/ui-read-models.d.ts +13 -0
- package/dist/_internal/platform/runtime/ui-read-models.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-read-models.js +10 -0
- package/dist/_internal/platform/runtime/ui-service-queries.d.ts +69 -0
- package/dist/_internal/platform/runtime/ui-service-queries.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-service-queries.js +22 -0
- package/dist/_internal/platform/runtime/ui-services.d.ts +92 -0
- package/dist/_internal/platform/runtime/ui-services.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/ui-services.js +60 -0
- package/dist/_internal/platform/runtime/worktree/registry.d.ts +59 -0
- package/dist/_internal/platform/runtime/worktree/registry.d.ts.map +1 -0
- package/dist/_internal/platform/runtime/worktree/registry.js +179 -0
- package/dist/_internal/platform/scheduler/scheduler.d.ts +1 -1
- package/dist/_internal/platform/scheduler/scheduler.js +1 -1
- package/dist/_internal/platform/sessions/manager.d.ts +95 -0
- package/dist/_internal/platform/sessions/manager.d.ts.map +1 -0
- package/dist/_internal/platform/sessions/manager.js +344 -0
- package/dist/_internal/platform/sessions/orchestration/registry.d.ts +2 -2
- package/dist/_internal/platform/sessions/orchestration/registry.js +3 -3
- package/dist/_internal/platform/state/file-watcher.d.ts +60 -0
- package/dist/_internal/platform/state/file-watcher.d.ts.map +1 -0
- package/dist/_internal/platform/state/file-watcher.js +268 -0
- package/dist/_internal/platform/state/index.d.ts +26 -0
- package/dist/_internal/platform/state/index.d.ts.map +1 -0
- package/dist/_internal/platform/state/index.js +15 -0
- package/dist/_internal/platform/state/knowledge-injection.d.ts +24 -0
- package/dist/_internal/platform/state/knowledge-injection.d.ts.map +1 -0
- package/dist/_internal/platform/state/knowledge-injection.js +147 -0
- package/dist/_internal/platform/state/memory-embedding-http.d.ts +10 -0
- package/dist/_internal/platform/state/memory-embedding-http.d.ts.map +1 -0
- package/dist/_internal/platform/state/memory-embedding-http.js +586 -0
- package/dist/_internal/platform/state/memory-embeddings.d.ts +70 -0
- package/dist/_internal/platform/state/memory-embeddings.d.ts.map +1 -0
- package/dist/_internal/platform/state/memory-embeddings.js +247 -0
- package/dist/_internal/platform/state/memory-ingest.d.ts +21 -0
- package/dist/_internal/platform/state/memory-ingest.d.ts.map +1 -0
- package/dist/_internal/platform/state/memory-ingest.js +108 -0
- package/dist/_internal/platform/state/memory-registry.d.ts +38 -0
- package/dist/_internal/platform/state/memory-registry.d.ts.map +1 -0
- package/dist/_internal/platform/state/memory-registry.js +91 -0
- package/dist/_internal/platform/state/memory-store-helpers.d.ts +28 -0
- package/dist/_internal/platform/state/memory-store-helpers.d.ts.map +1 -0
- package/dist/_internal/platform/state/memory-store-helpers.js +149 -0
- package/dist/_internal/platform/state/memory-store.d.ts +176 -0
- package/dist/_internal/platform/state/memory-store.d.ts.map +1 -0
- package/dist/_internal/platform/state/memory-store.js +474 -0
- package/dist/_internal/platform/state/memory-vector-store.d.ts +61 -0
- package/dist/_internal/platform/state/memory-vector-store.d.ts.map +1 -0
- package/dist/_internal/platform/state/memory-vector-store.js +324 -0
- package/dist/_internal/platform/tools/agent/index.d.ts +16 -0
- package/dist/_internal/platform/tools/agent/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/agent/index.js +550 -0
- package/dist/_internal/platform/tools/agent/manager.d.ts +102 -0
- package/dist/_internal/platform/tools/agent/manager.d.ts.map +1 -0
- package/dist/_internal/platform/tools/agent/manager.js +369 -0
- package/dist/_internal/platform/tools/analyze/git-modes.d.ts +7 -0
- package/dist/_internal/platform/tools/analyze/git-modes.d.ts.map +1 -0
- package/dist/_internal/platform/tools/analyze/git-modes.js +316 -0
- package/dist/_internal/platform/tools/analyze/index.d.ts +6 -0
- package/dist/_internal/platform/tools/analyze/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/analyze/index.js +92 -0
- package/dist/_internal/platform/tools/channel/agent-tools.d.ts +4 -0
- package/dist/_internal/platform/tools/channel/agent-tools.d.ts.map +1 -0
- package/dist/_internal/platform/tools/channel/agent-tools.js +13 -0
- package/dist/_internal/platform/tools/channel/index.d.ts +4 -0
- package/dist/_internal/platform/tools/channel/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/channel/index.js +254 -0
- package/dist/_internal/platform/tools/control/index.d.ts +3 -0
- package/dist/_internal/platform/tools/control/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/control/index.js +83 -0
- package/dist/_internal/platform/tools/edit/core.d.ts +15 -0
- package/dist/_internal/platform/tools/edit/core.d.ts.map +1 -0
- package/dist/_internal/platform/tools/edit/core.js +503 -0
- package/dist/_internal/platform/tools/edit/index.d.ts +4 -0
- package/dist/_internal/platform/tools/edit/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/edit/index.js +2 -0
- package/dist/_internal/platform/tools/edit/phased.d.ts +15 -0
- package/dist/_internal/platform/tools/edit/phased.d.ts.map +1 -0
- package/dist/_internal/platform/tools/edit/phased.js +26 -0
- package/dist/_internal/platform/tools/fetch/index.d.ts +4 -0
- package/dist/_internal/platform/tools/fetch/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/fetch/index.js +1 -0
- package/dist/_internal/platform/tools/fetch/phased.d.ts +13 -0
- package/dist/_internal/platform/tools/fetch/phased.d.ts.map +1 -0
- package/dist/_internal/platform/tools/fetch/phased.js +30 -0
- package/dist/_internal/platform/tools/fetch/runtime.d.ts +25 -0
- package/dist/_internal/platform/tools/fetch/runtime.d.ts.map +1 -0
- package/dist/_internal/platform/tools/fetch/runtime.js +395 -0
- package/dist/_internal/platform/tools/fetch/schema.d.ts +1 -1
- package/dist/_internal/platform/tools/fetch/schema.js +1 -1
- package/dist/_internal/platform/tools/index.d.ts +58 -0
- package/dist/_internal/platform/tools/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/index.js +143 -0
- package/dist/_internal/platform/tools/mcp/index.d.ts +4 -0
- package/dist/_internal/platform/tools/mcp/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/mcp/index.js +177 -0
- package/dist/_internal/platform/tools/packet/index.js +1 -1
- package/dist/_internal/platform/tools/query/index.js +1 -1
- package/dist/_internal/platform/tools/registry-tool/index.js +4 -4
- package/dist/_internal/platform/tools/registry-tool/skill-loader.js +2 -2
- package/dist/_internal/platform/tools/remote-trigger/index.d.ts +4 -0
- package/dist/_internal/platform/tools/remote-trigger/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/remote-trigger/index.js +123 -0
- package/dist/_internal/platform/tools/repl/index.d.ts +5 -0
- package/dist/_internal/platform/tools/repl/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/repl/index.js +252 -0
- package/dist/_internal/platform/tools/shared/auto-heal.d.ts +63 -0
- package/dist/_internal/platform/tools/shared/auto-heal.d.ts.map +1 -0
- package/dist/_internal/platform/tools/shared/auto-heal.js +252 -0
- package/dist/_internal/platform/tools/state/index.d.ts +20 -0
- package/dist/_internal/platform/tools/state/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/state/index.js +618 -0
- package/dist/_internal/platform/tools/team/index.js +1 -1
- package/dist/_internal/platform/tools/web-search/index.d.ts +4 -0
- package/dist/_internal/platform/tools/web-search/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/web-search/index.js +34 -0
- package/dist/_internal/platform/tools/worklist/index.js +1 -1
- package/dist/_internal/platform/tools/write/index.d.ts +17 -0
- package/dist/_internal/platform/tools/write/index.d.ts.map +1 -0
- package/dist/_internal/platform/tools/write/index.js +513 -0
- package/dist/_internal/platform/tools/write/phased.d.ts +21 -0
- package/dist/_internal/platform/tools/write/phased.d.ts.map +1 -0
- package/dist/_internal/platform/tools/write/phased.js +25 -0
- package/dist/_internal/platform/utils/splash-lines.d.ts +8 -0
- package/dist/_internal/platform/utils/splash-lines.d.ts.map +1 -0
- package/dist/_internal/platform/utils/splash-lines.js +32 -0
- package/dist/_internal/platform/version.d.ts +2 -0
- package/dist/_internal/platform/version.d.ts.map +1 -0
- package/dist/_internal/platform/version.js +11 -0
- package/dist/_internal/platform/watchers/index.d.ts +5 -0
- package/dist/_internal/platform/watchers/index.d.ts.map +1 -0
- package/dist/_internal/platform/watchers/index.js +2 -0
- package/dist/_internal/platform/watchers/registry.d.ts +51 -0
- package/dist/_internal/platform/watchers/registry.d.ts.map +1 -0
- package/dist/_internal/platform/watchers/registry.js +447 -0
- package/dist/_internal/platform/watchers/store.js +1 -1
- package/dist/_internal/platform/web-search/index.d.ts +12 -0
- package/dist/_internal/platform/web-search/index.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/index.js +9 -0
- package/dist/_internal/platform/web-search/provider-registry.d.ts +14 -0
- package/dist/_internal/platform/web-search/provider-registry.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/provider-registry.js +55 -0
- package/dist/_internal/platform/web-search/providers/brave.d.ts +4 -0
- package/dist/_internal/platform/web-search/providers/brave.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/providers/brave.js +89 -0
- package/dist/_internal/platform/web-search/providers/duckduckgo.d.ts +13 -0
- package/dist/_internal/platform/web-search/providers/duckduckgo.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/providers/duckduckgo.js +243 -0
- package/dist/_internal/platform/web-search/providers/exa.d.ts +4 -0
- package/dist/_internal/platform/web-search/providers/exa.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/providers/exa.js +68 -0
- package/dist/_internal/platform/web-search/providers/firecrawl.d.ts +4 -0
- package/dist/_internal/platform/web-search/providers/firecrawl.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/providers/firecrawl.js +80 -0
- package/dist/_internal/platform/web-search/providers/perplexity.d.ts +4 -0
- package/dist/_internal/platform/web-search/providers/perplexity.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/providers/perplexity.js +77 -0
- package/dist/_internal/platform/web-search/providers/searxng.d.ts +4 -0
- package/dist/_internal/platform/web-search/providers/searxng.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/providers/searxng.js +79 -0
- package/dist/_internal/platform/web-search/providers/shared.d.ts +56 -0
- package/dist/_internal/platform/web-search/providers/shared.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/providers/shared.js +169 -0
- package/dist/_internal/platform/web-search/providers/tavily.d.ts +4 -0
- package/dist/_internal/platform/web-search/providers/tavily.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/providers/tavily.js +81 -0
- package/dist/_internal/platform/web-search/service.d.ts +19 -0
- package/dist/_internal/platform/web-search/service.d.ts.map +1 -0
- package/dist/_internal/platform/web-search/service.js +120 -0
- package/package.json +1 -1
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { type AutomationScheduleDefinition } from '@pellux/goodvibes-sdk/platform/automation/schedules';
|
|
2
|
+
import { ArtifactStore } from '@pellux/goodvibes-sdk/platform/artifacts/index';
|
|
3
|
+
import type { MemoryRegistry } from '../state/index.js';
|
|
4
|
+
import type { RuntimeEventBus } from '../runtime/events/index.js';
|
|
5
|
+
import { KnowledgeConnectorRegistry } from '@pellux/goodvibes-sdk/platform/knowledge/connectors';
|
|
6
|
+
import { KnowledgeStore } from '@pellux/goodvibes-sdk/platform/knowledge/store';
|
|
7
|
+
import type { KnowledgeBatchIngestResult, KnowledgeBookmarkSeed, KnowledgeConnector, KnowledgeConnectorDoctorReport, KnowledgeConsolidationCandidateRecord, KnowledgeConsolidationReportRecord, KnowledgeEdgeRecord, KnowledgeExtractionRecord, KnowledgeIssueRecord, KnowledgeJobMode, KnowledgeJobRecord, KnowledgeJobRunRecord, KnowledgeMaterializedProjection, KnowledgeItemView, KnowledgeNodeRecord, KnowledgePacket, KnowledgePacketDetail, KnowledgeProjectionBundle, KnowledgeProjectionTarget, KnowledgeProjectionTargetKind, KnowledgeScheduleRecord, KnowledgeSearchResult, KnowledgeSourceRecord, KnowledgeSourceType, KnowledgeStatus, KnowledgeUsageRecord } from '@pellux/goodvibes-sdk/platform/knowledge/types';
|
|
8
|
+
export interface KnowledgeServiceConfig {
|
|
9
|
+
readonly configManager?: {
|
|
10
|
+
getControlPlaneConfigDir?: () => string;
|
|
11
|
+
};
|
|
12
|
+
readonly memoryRegistry: Pick<MemoryRegistry, 'add' | 'getAll' | 'getStore'>;
|
|
13
|
+
readonly runtimeBus?: RuntimeEventBus | null;
|
|
14
|
+
}
|
|
15
|
+
export interface KnowledgeServiceStatus extends KnowledgeStatus {
|
|
16
|
+
readonly note: string;
|
|
17
|
+
}
|
|
18
|
+
export declare class KnowledgeService {
|
|
19
|
+
private readonly store;
|
|
20
|
+
private readonly artifactStore;
|
|
21
|
+
private readonly connectorRegistry;
|
|
22
|
+
private readonly options;
|
|
23
|
+
private readonly projectionService;
|
|
24
|
+
private readonly scheduleService;
|
|
25
|
+
private runtimeBus;
|
|
26
|
+
constructor(store: KnowledgeStore, artifactStore: ArtifactStore, connectorRegistry: KnowledgeConnectorRegistry | undefined, options: KnowledgeServiceConfig);
|
|
27
|
+
private getIngestContext;
|
|
28
|
+
private getPacketContext;
|
|
29
|
+
private getConsolidationContext;
|
|
30
|
+
attachRuntimeBus(runtimeBus: RuntimeEventBus | null | undefined): void;
|
|
31
|
+
getStatus(): Promise<KnowledgeServiceStatus>;
|
|
32
|
+
listUsageRecords(limit?: number, input?: {
|
|
33
|
+
readonly targetKind?: KnowledgeUsageRecord['targetKind'];
|
|
34
|
+
readonly targetId?: string;
|
|
35
|
+
readonly usageKind?: KnowledgeUsageRecord['usageKind'];
|
|
36
|
+
}): readonly KnowledgeUsageRecord[];
|
|
37
|
+
listConsolidationCandidates(limit?: number, input?: {
|
|
38
|
+
readonly status?: KnowledgeConsolidationCandidateRecord['status'];
|
|
39
|
+
readonly subjectKind?: KnowledgeConsolidationCandidateRecord['subjectKind'];
|
|
40
|
+
readonly subjectId?: string;
|
|
41
|
+
}): readonly KnowledgeConsolidationCandidateRecord[];
|
|
42
|
+
getConsolidationCandidate(id: string): KnowledgeConsolidationCandidateRecord | null;
|
|
43
|
+
listConsolidationReports(limit?: number): readonly KnowledgeConsolidationReportRecord[];
|
|
44
|
+
getConsolidationReport(id: string): KnowledgeConsolidationReportRecord | null;
|
|
45
|
+
listSchedules(limit?: number): readonly KnowledgeScheduleRecord[];
|
|
46
|
+
getSchedule(id: string): KnowledgeScheduleRecord | null;
|
|
47
|
+
listSources(limit?: number): KnowledgeSourceRecord[];
|
|
48
|
+
querySources(input?: {
|
|
49
|
+
readonly limit?: number;
|
|
50
|
+
readonly offset?: number;
|
|
51
|
+
readonly status?: string;
|
|
52
|
+
readonly connectorId?: string;
|
|
53
|
+
readonly sourceType?: string;
|
|
54
|
+
readonly tag?: string;
|
|
55
|
+
readonly query?: string;
|
|
56
|
+
}): {
|
|
57
|
+
total: number;
|
|
58
|
+
items: KnowledgeSourceRecord[];
|
|
59
|
+
};
|
|
60
|
+
listNodes(limit?: number): KnowledgeNodeRecord[];
|
|
61
|
+
queryNodes(input?: {
|
|
62
|
+
readonly limit?: number;
|
|
63
|
+
readonly offset?: number;
|
|
64
|
+
readonly kind?: string;
|
|
65
|
+
readonly status?: string;
|
|
66
|
+
readonly query?: string;
|
|
67
|
+
}): {
|
|
68
|
+
total: number;
|
|
69
|
+
items: KnowledgeNodeRecord[];
|
|
70
|
+
};
|
|
71
|
+
listIssues(limit?: number): KnowledgeIssueRecord[];
|
|
72
|
+
queryIssues(input?: {
|
|
73
|
+
readonly limit?: number;
|
|
74
|
+
readonly offset?: number;
|
|
75
|
+
readonly severity?: string;
|
|
76
|
+
readonly status?: string;
|
|
77
|
+
readonly code?: string;
|
|
78
|
+
readonly query?: string;
|
|
79
|
+
}): {
|
|
80
|
+
total: number;
|
|
81
|
+
items: KnowledgeIssueRecord[];
|
|
82
|
+
};
|
|
83
|
+
listExtractions(limit?: number, sourceId?: string): KnowledgeExtractionRecord[];
|
|
84
|
+
getExtraction(id: string): KnowledgeExtractionRecord | null;
|
|
85
|
+
getSourceExtraction(sourceId: string): KnowledgeExtractionRecord | null;
|
|
86
|
+
listConnectors(): readonly KnowledgeConnector[];
|
|
87
|
+
getConnector(id: string): KnowledgeConnector | null;
|
|
88
|
+
doctorConnector(id: string): Promise<KnowledgeConnectorDoctorReport | null>;
|
|
89
|
+
registerConnector(connector: KnowledgeConnector, options?: {
|
|
90
|
+
replace?: boolean;
|
|
91
|
+
}): void;
|
|
92
|
+
getItem(id: string): KnowledgeItemView | null;
|
|
93
|
+
getItems(ids: readonly string[]): KnowledgeItemView[];
|
|
94
|
+
recordUsage(input: {
|
|
95
|
+
readonly targetKind: KnowledgeUsageRecord['targetKind'];
|
|
96
|
+
readonly targetId: string;
|
|
97
|
+
readonly usageKind: KnowledgeUsageRecord['usageKind'];
|
|
98
|
+
readonly task?: string;
|
|
99
|
+
readonly sessionId?: string;
|
|
100
|
+
readonly score?: number;
|
|
101
|
+
readonly metadata?: Record<string, unknown>;
|
|
102
|
+
}): Promise<KnowledgeUsageRecord>;
|
|
103
|
+
getNeighbors(kind: 'source' | 'node', id: string, input?: {
|
|
104
|
+
readonly relation?: string;
|
|
105
|
+
readonly limit?: number;
|
|
106
|
+
}): {
|
|
107
|
+
readonly edges: readonly KnowledgeEdgeRecord[];
|
|
108
|
+
readonly sources: readonly KnowledgeSourceRecord[];
|
|
109
|
+
readonly nodes: readonly KnowledgeNodeRecord[];
|
|
110
|
+
};
|
|
111
|
+
ingestUrl(input: {
|
|
112
|
+
readonly url: string;
|
|
113
|
+
readonly title?: string;
|
|
114
|
+
readonly tags?: readonly string[];
|
|
115
|
+
readonly folderPath?: string;
|
|
116
|
+
readonly sessionId?: string;
|
|
117
|
+
readonly sourceType?: KnowledgeSourceType;
|
|
118
|
+
readonly connectorId?: string;
|
|
119
|
+
readonly allowPrivateHosts?: boolean;
|
|
120
|
+
readonly metadata?: Record<string, unknown>;
|
|
121
|
+
}): Promise<{
|
|
122
|
+
source: KnowledgeSourceRecord;
|
|
123
|
+
artifactId?: string;
|
|
124
|
+
extraction?: KnowledgeExtractionRecord;
|
|
125
|
+
issues: readonly KnowledgeIssueRecord[];
|
|
126
|
+
}>;
|
|
127
|
+
ingestArtifact(input: {
|
|
128
|
+
readonly artifactId?: string;
|
|
129
|
+
readonly path?: string;
|
|
130
|
+
readonly uri?: string;
|
|
131
|
+
readonly title?: string;
|
|
132
|
+
readonly tags?: readonly string[];
|
|
133
|
+
readonly folderPath?: string;
|
|
134
|
+
readonly sessionId?: string;
|
|
135
|
+
readonly sourceType?: KnowledgeSourceType;
|
|
136
|
+
readonly connectorId?: string;
|
|
137
|
+
readonly allowPrivateHosts?: boolean;
|
|
138
|
+
readonly metadata?: Record<string, unknown>;
|
|
139
|
+
}): Promise<{
|
|
140
|
+
source: KnowledgeSourceRecord;
|
|
141
|
+
artifactId?: string;
|
|
142
|
+
extraction?: KnowledgeExtractionRecord;
|
|
143
|
+
issues: readonly KnowledgeIssueRecord[];
|
|
144
|
+
}>;
|
|
145
|
+
importBookmarksFromFile(input: {
|
|
146
|
+
readonly path: string;
|
|
147
|
+
readonly sessionId?: string;
|
|
148
|
+
readonly allowPrivateHosts?: boolean;
|
|
149
|
+
}): Promise<KnowledgeBatchIngestResult>;
|
|
150
|
+
importUrlsFromFile(input: {
|
|
151
|
+
readonly path: string;
|
|
152
|
+
readonly sessionId?: string;
|
|
153
|
+
readonly allowPrivateHosts?: boolean;
|
|
154
|
+
}): Promise<KnowledgeBatchIngestResult>;
|
|
155
|
+
ingestBookmarkSeeds(seeds: readonly KnowledgeBookmarkSeed[], sessionId?: string, sourceType?: KnowledgeSourceType, connectorId?: string, allowPrivateHosts?: boolean): Promise<KnowledgeBatchIngestResult>;
|
|
156
|
+
ingestWithConnector(connectorId: string, input: unknown, sessionId?: string, allowPrivateHosts?: boolean): Promise<KnowledgeBatchIngestResult>;
|
|
157
|
+
ingestConnectorInput(input: {
|
|
158
|
+
readonly connectorId: string;
|
|
159
|
+
readonly input?: unknown;
|
|
160
|
+
readonly content?: string;
|
|
161
|
+
readonly path?: string;
|
|
162
|
+
readonly sessionId?: string;
|
|
163
|
+
readonly allowPrivateHosts?: boolean;
|
|
164
|
+
}): Promise<KnowledgeBatchIngestResult>;
|
|
165
|
+
listProjectionTargets(limit?: number): Promise<KnowledgeProjectionTarget[]>;
|
|
166
|
+
renderProjection(input: {
|
|
167
|
+
readonly kind: KnowledgeProjectionTargetKind;
|
|
168
|
+
readonly id?: string;
|
|
169
|
+
readonly limit?: number;
|
|
170
|
+
}): Promise<KnowledgeProjectionBundle>;
|
|
171
|
+
materializeProjection(input: {
|
|
172
|
+
readonly kind: KnowledgeProjectionTargetKind;
|
|
173
|
+
readonly id?: string;
|
|
174
|
+
readonly limit?: number;
|
|
175
|
+
readonly filename?: string;
|
|
176
|
+
}): Promise<KnowledgeMaterializedProjection>;
|
|
177
|
+
reindex(): Promise<{
|
|
178
|
+
status: KnowledgeStatus;
|
|
179
|
+
issues: readonly KnowledgeIssueRecord[];
|
|
180
|
+
}>;
|
|
181
|
+
search(query: string, limit?: number): KnowledgeSearchResult[];
|
|
182
|
+
buildPacket(task: string, writeScope?: readonly string[], limit?: number, options?: {
|
|
183
|
+
readonly detail?: KnowledgePacketDetail;
|
|
184
|
+
readonly budgetLimit?: number;
|
|
185
|
+
}): Promise<KnowledgePacket>;
|
|
186
|
+
buildPacketSync(task: string, writeScope?: readonly string[], limit?: number, options?: {
|
|
187
|
+
readonly detail?: KnowledgePacketDetail;
|
|
188
|
+
readonly budgetLimit?: number;
|
|
189
|
+
}): KnowledgePacket | null;
|
|
190
|
+
buildPromptPacketSync(task: string, writeScope?: readonly string[], limit?: number, options?: {
|
|
191
|
+
readonly detail?: KnowledgePacketDetail;
|
|
192
|
+
readonly budgetLimit?: number;
|
|
193
|
+
}): string | null;
|
|
194
|
+
buildPromptPacket(task: string, writeScope?: readonly string[], limit?: number, options?: {
|
|
195
|
+
readonly detail?: KnowledgePacketDetail;
|
|
196
|
+
readonly budgetLimit?: number;
|
|
197
|
+
}): Promise<string | null>;
|
|
198
|
+
listJobs(): readonly KnowledgeJobRecord[];
|
|
199
|
+
getJob(id: string): KnowledgeJobRecord | null;
|
|
200
|
+
saveSchedule(input: {
|
|
201
|
+
readonly id?: string;
|
|
202
|
+
readonly jobId: string;
|
|
203
|
+
readonly label?: string;
|
|
204
|
+
readonly enabled?: boolean;
|
|
205
|
+
readonly schedule: AutomationScheduleDefinition;
|
|
206
|
+
readonly metadata?: Record<string, unknown>;
|
|
207
|
+
}): Promise<KnowledgeScheduleRecord>;
|
|
208
|
+
deleteSchedule(id: string): Promise<boolean>;
|
|
209
|
+
setScheduleEnabled(id: string, enabled: boolean): Promise<KnowledgeScheduleRecord | null>;
|
|
210
|
+
decideConsolidationCandidate(id: string, decision: 'accept' | 'reject' | 'supersede', input?: {
|
|
211
|
+
readonly decidedBy?: string;
|
|
212
|
+
readonly memoryClass?: string;
|
|
213
|
+
readonly scope?: string;
|
|
214
|
+
readonly detail?: string;
|
|
215
|
+
}): Promise<KnowledgeConsolidationCandidateRecord>;
|
|
216
|
+
listJobRuns(limit?: number, jobId?: string): readonly KnowledgeJobRunRecord[];
|
|
217
|
+
runJob(id: string, input?: {
|
|
218
|
+
readonly mode?: KnowledgeJobMode;
|
|
219
|
+
readonly sourceIds?: readonly string[];
|
|
220
|
+
readonly limit?: number;
|
|
221
|
+
}): Promise<KnowledgeJobRunRecord>;
|
|
222
|
+
private runJobByKind;
|
|
223
|
+
private deferUsage;
|
|
224
|
+
private syncReviewedMemory;
|
|
225
|
+
private dispose;
|
|
226
|
+
lint(): Promise<readonly KnowledgeIssueRecord[]>;
|
|
227
|
+
private emitIfReady;
|
|
228
|
+
}
|
|
229
|
+
export declare function buildCuratedKnowledgePromptSync(service: Pick<KnowledgeService, 'buildPromptPacketSync'>, task: string, writeScope?: readonly string[]): string | null;
|
|
230
|
+
//# sourceMappingURL=service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/_internal/platform/knowledge/service.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,4BAA4B,EAClC,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAC/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAA2C,0BAA0B,EAAE,MAAM,qDAAqD,CAAC;AAE1I,OAAO,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAChF,OAAO,KAAK,EACV,0BAA0B,EAC1B,qBAAqB,EACrB,kBAAkB,EAClB,8BAA8B,EAC9B,qCAAqC,EACrC,kCAAkC,EAClC,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,+BAA+B,EAC/B,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EACf,qBAAqB,EACrB,yBAAyB,EACzB,yBAAyB,EACzB,6BAA6B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ibes-sdk/platform/automation/schedules';
|
|
3
|
+
import { ArtifactStore } from '@pellux/goodvibes-sdk/platform/artifacts/index';
|
|
4
|
+
import { createDefaultKnowledgeConnectorRegistry, KnowledgeConnectorRegistry } from '@pellux/goodvibes-sdk/platform/knowledge/connectors';
|
|
5
|
+
import { KnowledgeProjectionService } from '@pellux/goodvibes-sdk/platform/knowledge/projections';
|
|
6
|
+
import { KnowledgeStore } from '@pellux/goodvibes-sdk/platform/knowledge/store';
|
|
7
|
+
import { buildKnowledgePacket, buildKnowledgePacketSync, buildKnowledgePromptPacket, buildKnowledgePromptPacketSync, searchKnowledge, } from './packet.js';
|
|
8
|
+
import { ingestKnowledgeArtifact, ingestKnowledgeBookmarkSeeds, ingestKnowledgeConnectorInput, ingestKnowledgeUrl, ingestKnowledgeWithConnector, importKnowledgeBookmarksFromFile, importKnowledgeUrlsFromFile, refreshKnowledgeSources, pickKnowledgeRefreshCandidates, recompileKnowledgeSource, } from './ingest.js';
|
|
9
|
+
import { decideKnowledgeConsolidationCandidate, runKnowledgeConsolidation, } from './consolidation.js';
|
|
10
|
+
import { KnowledgeScheduleService } from './scheduling.js';
|
|
11
|
+
import { lintKnowledgeStore } from './lint.js';
|
|
12
|
+
import { syncKnowledgeMemoryNodes } from './memory-sync.js';
|
|
13
|
+
import { emitKnowledgeExtractionCompleted, emitKnowledgeExtractionFailed, emitKnowledgeIngestCompleted, emitKnowledgeIngestFailed, emitKnowledgeIngestStarted, emitKnowledgePacketBuilt, emitKnowledgeProjectionMaterialized, emitKnowledgeProjectionRendered, } from '../runtime/emitters/index.js';
|
|
14
|
+
import { extractKnowledgeArtifact } from '@pellux/goodvibes-sdk/platform/knowledge/extractors';
|
|
15
|
+
import { canonicalizeUri as internalCanonicalizeUri, DEFAULT_PACKET_BUDGET as internalDefaultPacketBudget, DEFAULT_PACKET_LIMIT as internalDefaultPacketLimit, isHttpUri as internalIsHttpUri, isSourcePastRefreshWindow as internalIsSourcePastRefreshWindow, tokenize as internalTokenize, } from './internal.js';
|
|
16
|
+
const DEFAULT_PACKET_LIMIT = internalDefaultPacketLimit;
|
|
17
|
+
const DEFAULT_PACKET_BUDGET = internalDefaultPacketBudget;
|
|
18
|
+
const tokenize = internalTokenize;
|
|
19
|
+
const canonicalizeUri = internalCanonicalizeUri;
|
|
20
|
+
const isHttpUri = internalIsHttpUri;
|
|
21
|
+
export class KnowledgeService {
|
|
22
|
+
store;
|
|
23
|
+
artifactStore;
|
|
24
|
+
connectorRegistry;
|
|
25
|
+
options;
|
|
26
|
+
projectionService;
|
|
27
|
+
scheduleService;
|
|
28
|
+
runtimeBus;
|
|
29
|
+
constructor(store, artifactStore, connectorRegistry = createDefaultKnowledgeConnectorRegistry(), options) {
|
|
30
|
+
this.store = store;
|
|
31
|
+
this.artifactStore = artifactStore;
|
|
32
|
+
this.connectorRegistry = connectorRegistry;
|
|
33
|
+
this.options = options;
|
|
34
|
+
this.runtimeBus = options.runtimeBus ?? null;
|
|
35
|
+
void this.store.init();
|
|
36
|
+
this.projectionService = new KnowledgeProjectionService(this.store, this.artifactStore, {
|
|
37
|
+
connectors: () => this.listConnectors(),
|
|
38
|
+
});
|
|
39
|
+
this.scheduleService = new KnowledgeScheduleService({
|
|
40
|
+
store: this.store,
|
|
41
|
+
emitIfReady: this.emitIfReady.bind(this),
|
|
42
|
+
runJobByKind: this.runJobByKind.bind(this),
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
getIngestContext() {
|
|
46
|
+
return {
|
|
47
|
+
store: this.store,
|
|
48
|
+
artifactStore: this.artifactStore,
|
|
49
|
+
connectorRegistry: this.connectorRegistry,
|
|
50
|
+
emitIfReady: this.emitIfReady.bind(this),
|
|
51
|
+
syncReviewedMemory: this.syncReviewedMemory.bind(this),
|
|
52
|
+
lint: this.lint.bind(this),
|
|
53
|
+
listConnectors: () => this.listConnectors(),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
getPacketContext() {
|
|
57
|
+
return {
|
|
58
|
+
store: this.store,
|
|
59
|
+
deferUsage: this.deferUsage.bind(this),
|
|
60
|
+
emitIfReady: this.emitIfReady.bind(this),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
getConsolidationContext() {
|
|
64
|
+
return {
|
|
65
|
+
store: this.store,
|
|
66
|
+
memoryRegistry: this.options.memoryRegistry,
|
|
67
|
+
syncReviewedMemory: this.syncReviewedMemory.bind(this),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
attachRuntimeBus(runtimeBus) {
|
|
71
|
+
if (runtimeBus)
|
|
72
|
+
this.runtimeBus = runtimeBus;
|
|
73
|
+
}
|
|
74
|
+
async getStatus() {
|
|
75
|
+
await this.store.init();
|
|
76
|
+
return {
|
|
77
|
+
...this.store.status(),
|
|
78
|
+
note: 'Structured knowledge uses SQL-backed sources, nodes, edges, issues, extractions, and job runs. Markdown is an optional projection, not the source of truth.',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
listUsageRecords(limit = 100, input = {}) {
|
|
82
|
+
return this.store.listUsageRecords(limit, input);
|
|
83
|
+
}
|
|
84
|
+
listConsolidationCandidates(limit = 100, input = {}) {
|
|
85
|
+
return this.store.listConsolidationCandidates(limit, input);
|
|
86
|
+
}
|
|
87
|
+
getConsolidationCandidate(id) {
|
|
88
|
+
return this.store.getConsolidationCandidate(id);
|
|
89
|
+
}
|
|
90
|
+
listConsolidationReports(limit = 100) {
|
|
91
|
+
return this.store.listConsolidationReports(limit);
|
|
92
|
+
}
|
|
93
|
+
getConsolidationReport(id) {
|
|
94
|
+
return this.store.getConsolidationReport(id);
|
|
95
|
+
}
|
|
96
|
+
listSchedules(limit = 100) {
|
|
97
|
+
return this.store.listSchedules(limit);
|
|
98
|
+
}
|
|
99
|
+
getSchedule(id) {
|
|
100
|
+
return this.store.getSchedule(id);
|
|
101
|
+
}
|
|
102
|
+
listSources(limit = 100) {
|
|
103
|
+
return this.store.listSources(limit);
|
|
104
|
+
}
|
|
105
|
+
querySources(input = {}) {
|
|
106
|
+
const limit = Math.max(1, input.limit ?? 100);
|
|
107
|
+
const offset = Math.max(0, input.offset ?? 0);
|
|
108
|
+
const queryTokens = tokenize(input.query ?? '');
|
|
109
|
+
const items = this.store.listSources(10_000).filter((source) => {
|
|
110
|
+
if (input.status && source.status !== input.status)
|
|
111
|
+
return false;
|
|
112
|
+
if (input.connectorId && source.connectorId !== input.connectorId)
|
|
113
|
+
return false;
|
|
114
|
+
if (input.sourceType && source.sourceType !== input.sourceType)
|
|
115
|
+
return false;
|
|
116
|
+
if (input.tag && !source.tags.includes(input.tag))
|
|
117
|
+
return false;
|
|
118
|
+
if (queryTokens.length === 0)
|
|
119
|
+
return true;
|
|
120
|
+
const extraction = this.store.getExtractionBySourceId(source.id);
|
|
121
|
+
const haystack = [
|
|
122
|
+
source.title ?? '',
|
|
123
|
+
source.summary ?? '',
|
|
124
|
+
source.description ?? '',
|
|
125
|
+
source.sourceUri ?? '',
|
|
126
|
+
source.canonicalUri ?? '',
|
|
127
|
+
source.folderPath ?? '',
|
|
128
|
+
source.tags.join(' '),
|
|
129
|
+
extraction?.summary ?? '',
|
|
130
|
+
extraction?.excerpt ?? '',
|
|
131
|
+
extraction?.sections.join(' ') ?? '',
|
|
132
|
+
].join(' ').toLowerCase();
|
|
133
|
+
return queryTokens.every((token) => haystack.includes(token));
|
|
134
|
+
});
|
|
135
|
+
return {
|
|
136
|
+
total: items.length,
|
|
137
|
+
items: items.slice(offset, offset + limit),
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
listNodes(limit = 100) {
|
|
141
|
+
return this.store.listNodes(limit);
|
|
142
|
+
}
|
|
143
|
+
queryNodes(input = {}) {
|
|
144
|
+
const limit = Math.max(1, input.limit ?? 100);
|
|
145
|
+
const offset = Math.max(0, input.offset ?? 0);
|
|
146
|
+
const queryTokens = tokenize(input.query ?? '');
|
|
147
|
+
const items = this.store.listNodes(10_000).filter((node) => {
|
|
148
|
+
if (input.kind && node.kind !== input.kind)
|
|
149
|
+
return false;
|
|
150
|
+
if (input.status && node.status !== input.status)
|
|
151
|
+
return false;
|
|
152
|
+
if (queryTokens.length === 0)
|
|
153
|
+
return true;
|
|
154
|
+
const haystack = [
|
|
155
|
+
node.title,
|
|
156
|
+
node.summary ?? '',
|
|
157
|
+
node.aliases.join(' '),
|
|
158
|
+
JSON.stringify(node.metadata),
|
|
159
|
+
].join(' ').toLowerCase();
|
|
160
|
+
return queryTokens.every((token) => haystack.includes(token));
|
|
161
|
+
});
|
|
162
|
+
return {
|
|
163
|
+
total: items.length,
|
|
164
|
+
items: items.slice(offset, offset + limit),
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
listIssues(limit = 100) {
|
|
168
|
+
return this.store.listIssues(limit);
|
|
169
|
+
}
|
|
170
|
+
queryIssues(input = {}) {
|
|
171
|
+
const limit = Math.max(1, input.limit ?? 100);
|
|
172
|
+
const offset = Math.max(0, input.offset ?? 0);
|
|
173
|
+
const queryTokens = tokenize(input.query ?? '');
|
|
174
|
+
const items = this.store.listIssues(10_000).filter((issue) => {
|
|
175
|
+
if (input.severity && issue.severity !== input.severity)
|
|
176
|
+
return false;
|
|
177
|
+
if (input.status && issue.status !== input.status)
|
|
178
|
+
return false;
|
|
179
|
+
if (input.code && issue.code !== input.code)
|
|
180
|
+
return false;
|
|
181
|
+
if (queryTokens.length === 0)
|
|
182
|
+
return true;
|
|
183
|
+
const haystack = [issue.message, issue.code, JSON.stringify(issue.metadata)].join(' ').toLowerCase();
|
|
184
|
+
return queryTokens.every((token) => haystack.includes(token));
|
|
185
|
+
});
|
|
186
|
+
return {
|
|
187
|
+
total: items.length,
|
|
188
|
+
items: items.slice(offset, offset + limit),
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
listExtractions(limit = 100, sourceId) {
|
|
192
|
+
const records = this.store.listExtractions(sourceId ? 10_000 : limit);
|
|
193
|
+
return sourceId ? records.filter((entry) => entry.sourceId === sourceId).slice(0, Math.max(1, limit)) : records;
|
|
194
|
+
}
|
|
195
|
+
getExtraction(id) {
|
|
196
|
+
return this.store.getExtraction(id);
|
|
197
|
+
}
|
|
198
|
+
getSourceExtraction(sourceId) {
|
|
199
|
+
return this.store.getExtractionBySourceId(sourceId);
|
|
200
|
+
}
|
|
201
|
+
listConnectors() {
|
|
202
|
+
return this.connectorRegistry.list();
|
|
203
|
+
}
|
|
204
|
+
getConnector(id) {
|
|
205
|
+
return this.connectorRegistry.get(id) ?? null;
|
|
206
|
+
}
|
|
207
|
+
async doctorConnector(id) {
|
|
208
|
+
return this.connectorRegistry.doctor(id);
|
|
209
|
+
}
|
|
210
|
+
registerConnector(connector, options = {}) {
|
|
211
|
+
this.connectorRegistry.register(connector, options);
|
|
212
|
+
}
|
|
213
|
+
getItem(id) {
|
|
214
|
+
const item = this.store.getItem(id);
|
|
215
|
+
if (item?.source)
|
|
216
|
+
this.deferUsage({ targetKind: 'source', targetId: item.source.id, usageKind: 'item-open' });
|
|
217
|
+
if (item?.node)
|
|
218
|
+
this.deferUsage({ targetKind: 'node', targetId: item.node.id, usageKind: 'item-open' });
|
|
219
|
+
if (item?.issue)
|
|
220
|
+
this.deferUsage({ targetKind: 'issue', targetId: item.issue.id, usageKind: 'item-open' });
|
|
221
|
+
return item;
|
|
222
|
+
}
|
|
223
|
+
getItems(ids) {
|
|
224
|
+
return ids.map((id) => this.getItem(id)).filter((item) => Boolean(item));
|
|
225
|
+
}
|
|
226
|
+
async recordUsage(input) {
|
|
227
|
+
await this.store.init();
|
|
228
|
+
return this.store.upsertUsageRecord(input);
|
|
229
|
+
}
|
|
230
|
+
getNeighbors(kind, id, input = {}) {
|
|
231
|
+
const limit = Math.max(1, input.limit ?? 20);
|
|
232
|
+
const edges = this.store.edgesFor(kind, id)
|
|
233
|
+
.filter((edge) => !input.relation || edge.relation === input.relation)
|
|
234
|
+
.slice(0, limit);
|
|
235
|
+
this.deferUsage({
|
|
236
|
+
targetKind: kind,
|
|
237
|
+
targetId: id,
|
|
238
|
+
usageKind: 'neighbor-open',
|
|
239
|
+
metadata: input.relation ? { relation: input.relation } : {},
|
|
240
|
+
});
|
|
241
|
+
const sources = [];
|
|
242
|
+
const nodes = [];
|
|
243
|
+
for (const edge of edges) {
|
|
244
|
+
const otherKind = edge.fromKind === kind && edge.fromId === id ? edge.toKind : edge.fromKind;
|
|
245
|
+
const otherId = edge.fromKind === kind && edge.fromId === id ? edge.toId : edge.fromId;
|
|
246
|
+
if (otherKind === 'source') {
|
|
247
|
+
const source = this.store.getSource(otherId);
|
|
248
|
+
if (source)
|
|
249
|
+
sources.push(source);
|
|
250
|
+
}
|
|
251
|
+
else if (otherKind === 'node') {
|
|
252
|
+
const node = this.store.getNode(otherId);
|
|
253
|
+
if (node)
|
|
254
|
+
nodes.push(node);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
return { edges, sources, nodes };
|
|
258
|
+
}
|
|
259
|
+
async ingestUrl(input) {
|
|
260
|
+
return ingestKnowledgeUrl(this.getIngestContext(), input);
|
|
261
|
+
}
|
|
262
|
+
async ingestArtifact(input) {
|
|
263
|
+
return ingestKnowledgeArtifact(this.getIngestContext(), input);
|
|
264
|
+
}
|
|
265
|
+
async importBookmarksFromFile(input) {
|
|
266
|
+
return importKnowledgeBookmarksFromFile(this.getIngestContext(), input);
|
|
267
|
+
}
|
|
268
|
+
async importUrlsFromFile(input) {
|
|
269
|
+
return importKnowledgeUrlsFromFile(this.getIngestContext(), input);
|
|
270
|
+
}
|
|
271
|
+
async ingestBookmarkSeeds(seeds, sessionId, sourceType = 'bookmark', connectorId = 'bookmark', allowPrivateHosts) {
|
|
272
|
+
return ingestKnowledgeBookmarkSeeds(this.getIngestContext(), seeds, sessionId, sourceType, connectorId, allowPrivateHosts);
|
|
273
|
+
}
|
|
274
|
+
async ingestWithConnector(connectorId, input, sessionId, allowPrivateHosts) {
|
|
275
|
+
return ingestKnowledgeWithConnector(this.getIngestContext(), connectorId, input, sessionId, allowPrivateHosts);
|
|
276
|
+
}
|
|
277
|
+
async ingestConnectorInput(input) {
|
|
278
|
+
return ingestKnowledgeConnectorInput(this.getIngestContext(), input);
|
|
279
|
+
}
|
|
280
|
+
async listProjectionTargets(limit = 25) {
|
|
281
|
+
return this.projectionService.listTargets(limit);
|
|
282
|
+
}
|
|
283
|
+
async renderProjection(input) {
|
|
284
|
+
const bundle = await this.projectionService.render(input);
|
|
285
|
+
this.emitIfReady((bus, ctx) => emitKnowledgeProjectionRendered(bus, ctx, {
|
|
286
|
+
targetId: bundle.target.targetId,
|
|
287
|
+
pageCount: bundle.pageCount,
|
|
288
|
+
}));
|
|
289
|
+
return bundle;
|
|
290
|
+
}
|
|
291
|
+
async materializeProjection(input) {
|
|
292
|
+
const materialized = await this.projectionService.materialize(input);
|
|
293
|
+
this.emitIfReady((bus, ctx) => emitKnowledgeProjectionMaterialized(bus, ctx, {
|
|
294
|
+
targetId: materialized.bundle.target.targetId,
|
|
295
|
+
artifactId: materialized.artifact.id,
|
|
296
|
+
pageCount: materialized.bundle.pageCount,
|
|
297
|
+
}));
|
|
298
|
+
return materialized;
|
|
299
|
+
}
|
|
300
|
+
async reindex() {
|
|
301
|
+
await this.store.init();
|
|
302
|
+
for (const source of this.store.listSources(10_000)) {
|
|
303
|
+
await recompileKnowledgeSource(this.getIngestContext(), source);
|
|
304
|
+
}
|
|
305
|
+
await this.syncReviewedMemory();
|
|
306
|
+
const issues = await lintKnowledgeStore({ store: this.store, emitIfReady: this.emitIfReady.bind(this) });
|
|
307
|
+
return { status: this.store.status(), issues };
|
|
308
|
+
}
|
|
309
|
+
search(query, limit = 10) {
|
|
310
|
+
return searchKnowledge(this.getPacketContext(), query, limit);
|
|
311
|
+
}
|
|
312
|
+
async buildPacket(task, writeScope = [], limit = DEFAULT_PACKET_LIMIT, options = {}) {
|
|
313
|
+
return buildKnowledgePacket(this.getPacketContext(), task, writeScope, limit, options);
|
|
314
|
+
}
|
|
315
|
+
buildPacketSync(task, writeScope = [], limit = DEFAULT_PACKET_LIMIT, options = {}) {
|
|
316
|
+
return buildKnowledgePacketSync(this.getPacketContext(), task, writeScope, limit, options);
|
|
317
|
+
}
|
|
318
|
+
buildPromptPacketSync(task, writeScope = [], limit = DEFAULT_PACKET_LIMIT, options = {}) {
|
|
319
|
+
return buildKnowledgePromptPacketSync(this.getPacketContext(), task, writeScope, limit, options);
|
|
320
|
+
}
|
|
321
|
+
async buildPromptPacket(task, writeScope = [], limit = DEFAULT_PACKET_LIMIT, options = {}) {
|
|
322
|
+
return buildKnowledgePromptPacket(this.getPacketContext(), task, writeScope, limit, options);
|
|
323
|
+
}
|
|
324
|
+
listJobs() {
|
|
325
|
+
return this.scheduleService.listJobs();
|
|
326
|
+
}
|
|
327
|
+
getJob(id) {
|
|
328
|
+
return this.scheduleService.getJob(id);
|
|
329
|
+
}
|
|
330
|
+
async saveSchedule(input) {
|
|
331
|
+
return this.scheduleService.saveSchedule(input);
|
|
332
|
+
}
|
|
333
|
+
async deleteSchedule(id) {
|
|
334
|
+
return this.scheduleService.deleteSchedule(id);
|
|
335
|
+
}
|
|
336
|
+
async setScheduleEnabled(id, enabled) {
|
|
337
|
+
return this.scheduleService.setScheduleEnabled(id, enabled);
|
|
338
|
+
}
|
|
339
|
+
async decideConsolidationCandidate(id, decision, input = {}) {
|
|
340
|
+
return decideKnowledgeConsolidationCandidate(this.getConsolidationContext(), id, decision, input);
|
|
341
|
+
}
|
|
342
|
+
listJobRuns(limit = 100, jobId) {
|
|
343
|
+
return this.scheduleService.listJobRuns(limit, jobId);
|
|
344
|
+
}
|
|
345
|
+
async runJob(id, input = {}) {
|
|
346
|
+
return this.scheduleService.runJob(id, input);
|
|
347
|
+
}
|
|
348
|
+
async runJobByKind(kind, input) {
|
|
349
|
+
switch (kind) {
|
|
350
|
+
case 'lint': {
|
|
351
|
+
const issues = await lintKnowledgeStore({ store: this.store, emitIfReady: this.emitIfReady.bind(this) });
|
|
352
|
+
return { issueCount: issues.length };
|
|
353
|
+
}
|
|
354
|
+
case 'reindex': {
|
|
355
|
+
const result = await this.reindex();
|
|
356
|
+
return { sourceCount: result.status.sourceCount, issueCount: result.issues.length };
|
|
357
|
+
}
|
|
358
|
+
case 'refresh-stale': {
|
|
359
|
+
const refreshed = await refreshKnowledgeSources(this.getIngestContext(), pickKnowledgeRefreshCandidates({ store: this.store }, 'stale', input.sourceIds, input.limit));
|
|
360
|
+
return { refreshed };
|
|
361
|
+
}
|
|
362
|
+
case 'refresh-bookmarks': {
|
|
363
|
+
const refreshed = await refreshKnowledgeSources(this.getIngestContext(), pickKnowledgeRefreshCandidates({ store: this.store }, 'bookmark', input.sourceIds, input.limit));
|
|
364
|
+
return { refreshed };
|
|
365
|
+
}
|
|
366
|
+
case 'rebuild-projections': {
|
|
367
|
+
const overview = await this.materializeProjection({ kind: 'overview', limit: Math.max(8, input.limit ?? 12) });
|
|
368
|
+
const bundle = await this.materializeProjection({ kind: 'bundle', limit: Math.max(12, input.limit ?? 18) });
|
|
369
|
+
return {
|
|
370
|
+
projections: [
|
|
371
|
+
{ targetId: overview.bundle.target.targetId, artifactId: overview.artifact.id },
|
|
372
|
+
{ targetId: bundle.bundle.target.targetId, artifactId: bundle.artifact.id },
|
|
373
|
+
],
|
|
374
|
+
};
|
|
375
|
+
}
|
|
376
|
+
case 'light-consolidation': {
|
|
377
|
+
const report = await runKnowledgeConsolidation(this.getConsolidationContext(), 'light-consolidation', {
|
|
378
|
+
limit: input.limit,
|
|
379
|
+
autoPromote: false,
|
|
380
|
+
});
|
|
381
|
+
return { reportId: report.id, metrics: report.metrics };
|
|
382
|
+
}
|
|
383
|
+
case 'deep-consolidation': {
|
|
384
|
+
const report = await runKnowledgeConsolidation(this.getConsolidationContext(), 'deep-consolidation', {
|
|
385
|
+
limit: input.limit,
|
|
386
|
+
autoPromote: true,
|
|
387
|
+
});
|
|
388
|
+
return { reportId: report.id, metrics: report.metrics };
|
|
389
|
+
}
|
|
390
|
+
default:
|
|
391
|
+
return {};
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
deferUsage(input) {
|
|
395
|
+
queueMicrotask(() => {
|
|
396
|
+
void this.recordUsage(input).catch(() => { });
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
async syncReviewedMemory() {
|
|
400
|
+
await syncKnowledgeMemoryNodes(this.store, this.options.memoryRegistry);
|
|
401
|
+
}
|
|
402
|
+
dispose() {
|
|
403
|
+
this.scheduleService.dispose();
|
|
404
|
+
}
|
|
405
|
+
async lint() {
|
|
406
|
+
return lintKnowledgeStore({ store: this.store, emitIfReady: this.emitIfReady.bind(this) });
|
|
407
|
+
}
|
|
408
|
+
emitIfReady(fn, sessionId) {
|
|
409
|
+
if (!this.runtimeBus)
|
|
410
|
+
return;
|
|
411
|
+
fn(this.runtimeBus, {
|
|
412
|
+
traceId: randomUUID(),
|
|
413
|
+
sessionId: sessionId ?? 'knowledge-runtime',
|
|
414
|
+
source: 'knowledge.service',
|
|
415
|
+
});
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
export function buildCuratedKnowledgePromptSync(service, task, writeScope = []) {
|
|
419
|
+
return service.buildPromptPacketSync(task, writeScope);
|
|
420
|
+
}
|