comisai 1.0.36 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/cli-entry.js +3 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/orchestrator.d.ts +1 -0
- package/dist/orchestrator.js +2 -0
- package/node_modules/@comis/agent/dist/background/auto-background-middleware.d.ts +3 -3
- package/node_modules/@comis/agent/dist/background/auto-background-middleware.js +14 -4
- package/node_modules/@comis/agent/dist/background/background-task-manager.d.ts +27 -5
- package/node_modules/@comis/agent/dist/background/background-task-manager.js +64 -58
- package/node_modules/@comis/agent/dist/background/background-task-persistence.js +31 -7
- package/node_modules/@comis/agent/dist/background/background-task-types.d.ts +52 -2
- package/node_modules/@comis/agent/dist/background/completion-dispatcher.d.ts +130 -0
- package/node_modules/@comis/agent/dist/background/completion-dispatcher.js +215 -0
- package/node_modules/@comis/agent/dist/background/completion-runner.d.ts +11 -2
- package/node_modules/@comis/agent/dist/background/completion-runner.js +101 -17
- package/node_modules/@comis/agent/dist/background/index.d.ts +6 -1
- package/node_modules/@comis/agent/dist/background/index.js +2 -0
- package/node_modules/@comis/agent/dist/background/session-resolver.d.ts +85 -0
- package/node_modules/@comis/agent/dist/background/session-resolver.js +79 -0
- package/node_modules/@comis/agent/dist/bootstrap/sections/core-sections.js +2 -1
- package/node_modules/@comis/agent/dist/bootstrap/sections/messaging-sections.js +1 -0
- package/node_modules/@comis/agent/dist/bootstrap/sections/tool-descriptions.js +5 -4
- package/node_modules/@comis/agent/dist/bootstrap/sections/tooling-sections.d.ts +14 -1
- package/node_modules/@comis/agent/dist/bootstrap/sections/tooling-sections.js +24 -14
- package/node_modules/@comis/agent/dist/bootstrap/system-prompt-assembler.js +0 -6
- package/node_modules/@comis/agent/dist/bootstrap/workspace-loader.js +1 -0
- package/node_modules/@comis/agent/dist/bridge/bridge-event-handlers.d.ts +1 -5
- package/node_modules/@comis/agent/dist/bridge/bridge-event-handlers.js +2 -14
- package/node_modules/@comis/agent/dist/bridge/bridge-metrics.d.ts +26 -0
- package/node_modules/@comis/agent/dist/bridge/bridge-metrics.js +5 -1
- package/node_modules/@comis/agent/dist/bridge/bridge-safety-controls.d.ts +1 -1
- package/node_modules/@comis/agent/dist/bridge/bridge-safety-controls.js +5 -4
- package/node_modules/@comis/agent/dist/bridge/pi-event-bridge.d.ts +13 -5
- package/node_modules/@comis/agent/dist/bridge/pi-event-bridge.js +96 -27
- package/node_modules/@comis/agent/dist/budget/budget-guard.js +6 -5
- package/node_modules/@comis/agent/dist/budget/budget-parser.d.ts +49 -0
- package/node_modules/@comis/agent/dist/budget/budget-parser.js +109 -0
- package/node_modules/@comis/agent/dist/budget/cost-tracker.js +3 -2
- package/node_modules/@comis/agent/dist/context-engine/cleanup-helpers.d.ts +4 -3
- package/node_modules/@comis/agent/dist/context-engine/cleanup-helpers.js +4 -3
- package/node_modules/@comis/agent/dist/context-engine/constants.js +0 -1
- package/node_modules/@comis/agent/dist/context-engine/context-engine.js +13 -16
- package/node_modules/@comis/agent/dist/context-engine/dag-assembler.d.ts +0 -2
- package/node_modules/@comis/agent/dist/context-engine/dag-assembler.js +0 -2
- package/node_modules/@comis/agent/dist/context-engine/dag-integrity.js +5 -4
- package/node_modules/@comis/agent/dist/context-engine/dag-reconciliation.d.ts +4 -5
- package/node_modules/@comis/agent/dist/context-engine/dag-reconciliation.js +13 -12
- package/node_modules/@comis/agent/dist/context-engine/dag-triggers.d.ts +4 -4
- package/node_modules/@comis/agent/dist/context-engine/dag-triggers.js +4 -3
- package/node_modules/@comis/agent/dist/context-engine/history-window.d.ts +1 -1
- package/node_modules/@comis/agent/dist/context-engine/llm-compaction.js +1 -1
- package/node_modules/@comis/agent/dist/context-engine/microcompaction-guard.d.ts +2 -2
- package/node_modules/@comis/agent/dist/context-engine/objective-reinforcement.js +2 -1
- package/node_modules/@comis/agent/dist/context-engine/reasoning-tag-stripper.d.ts +2 -2
- package/node_modules/@comis/agent/dist/context-engine/reasoning-tag-stripper.js +1 -1
- package/node_modules/@comis/agent/dist/context-engine/reread-detector.d.ts +1 -1
- package/node_modules/@comis/agent/dist/context-engine/signature-replay-scrubber.d.ts +4 -10
- package/node_modules/@comis/agent/dist/context-engine/signature-replay-scrubber.js +2 -5
- package/node_modules/@comis/agent/dist/context-engine/signature-surrogate-guard.d.ts +11 -11
- package/node_modules/@comis/agent/dist/context-engine/signature-surrogate-guard.js +15 -15
- package/node_modules/@comis/agent/dist/context-engine/thinking-block-cleaner.d.ts +11 -13
- package/node_modules/@comis/agent/dist/context-engine/thinking-block-cleaner.js +14 -15
- package/node_modules/@comis/agent/dist/context-engine/types-anchor.d.ts +28 -0
- package/node_modules/@comis/agent/dist/context-engine/types-anchor.js +11 -0
- package/node_modules/@comis/agent/dist/context-engine/types-compaction.d.ts +2 -2
- package/node_modules/@comis/agent/dist/context-engine/types-core.d.ts +7 -27
- package/node_modules/@comis/agent/dist/context-engine/types-dag.d.ts +4 -5
- package/node_modules/@comis/agent/dist/context-engine/types-integrity.d.ts +2 -3
- package/node_modules/@comis/agent/dist/envelope/message-envelope.js +2 -1
- package/node_modules/@comis/agent/dist/executor/adaptive-cache-retention.d.ts +2 -4
- package/node_modules/@comis/agent/dist/executor/adaptive-cache-retention.js +13 -24
- package/node_modules/@comis/agent/dist/executor/cache-break-diff-writer.js +3 -4
- package/node_modules/@comis/agent/dist/executor/cache-detection/anthropic-extractor.d.ts +19 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/anthropic-extractor.js +156 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/cache-state-types.d.ts +164 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/cache-state-types.js +11 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/cache-state.d.ts +33 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/cache-state.js +239 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/gemini-extractor.d.ts +22 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/gemini-extractor.js +57 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/index.d.ts +14 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/index.js +14 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/lru-map.d.ts +22 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/lru-map.js +50 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/prompt-state-utils.d.ts +46 -0
- package/node_modules/@comis/agent/dist/executor/cache-detection/prompt-state-utils.js +192 -0
- package/node_modules/@comis/agent/dist/executor/cache-usage-helpers.js +1 -2
- package/node_modules/@comis/agent/dist/executor/capability-index-context.d.ts +72 -0
- package/node_modules/@comis/agent/dist/executor/capability-index-context.js +329 -0
- package/node_modules/@comis/agent/dist/executor/command-directive-types.d.ts +88 -0
- package/node_modules/@comis/agent/dist/executor/command-directive-types.js +31 -0
- package/node_modules/@comis/agent/dist/executor/drain-helper.d.ts +122 -0
- package/node_modules/@comis/agent/dist/executor/drain-helper.js +173 -0
- package/node_modules/@comis/agent/dist/executor/error-classifier.js +2 -2
- package/node_modules/@comis/agent/dist/executor/executor-command-handlers.d.ts +5 -3
- package/node_modules/@comis/agent/dist/executor/executor-command-handlers.js +1 -1
- package/node_modules/@comis/agent/dist/executor/executor-context-engine-setup.d.ts +6 -4
- package/node_modules/@comis/agent/dist/executor/executor-context-engine-setup.js +6 -5
- package/node_modules/@comis/agent/dist/executor/executor-input-guard.d.ts +4 -2
- package/node_modules/@comis/agent/dist/executor/executor-input-guard.js +7 -7
- package/node_modules/@comis/agent/dist/executor/executor-post-execution.d.ts +56 -9
- package/node_modules/@comis/agent/dist/executor/executor-post-execution.js +150 -41
- package/node_modules/@comis/agent/dist/executor/executor-response-filter.d.ts +4 -2
- package/node_modules/@comis/agent/dist/executor/executor-response-filter.js +6 -6
- package/node_modules/@comis/agent/dist/executor/executor-session-state.d.ts +4 -2
- package/node_modules/@comis/agent/dist/executor/executor-session-state.js +30 -7
- package/node_modules/@comis/agent/dist/executor/executor-stream-setup.d.ts +8 -6
- package/node_modules/@comis/agent/dist/executor/executor-stream-setup.js +9 -7
- package/node_modules/@comis/agent/dist/executor/executor-tool-assembly.d.ts +26 -7
- package/node_modules/@comis/agent/dist/executor/executor-tool-assembly.js +24 -20
- package/node_modules/@comis/agent/dist/executor/executor-tool-pipeline.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/fault-injector.d.ts +6 -5
- package/node_modules/@comis/agent/dist/executor/fault-injector.js +9 -10
- package/node_modules/@comis/agent/dist/executor/gemini-cache-injector.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/gemini-cache-manager.d.ts +3 -2
- package/node_modules/@comis/agent/dist/executor/gemini-cache-manager.js +11 -11
- package/node_modules/@comis/agent/dist/executor/jit-guide-injector.d.ts +14 -5
- package/node_modules/@comis/agent/dist/executor/jit-guide-injector.js +16 -2
- package/node_modules/@comis/agent/dist/executor/model-retry.d.ts +9 -5
- package/node_modules/@comis/agent/dist/executor/model-retry.js +22 -22
- package/node_modules/@comis/agent/dist/executor/overflow-recovery.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/pi-executor/before-tool-call-guard.d.ts +29 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/before-tool-call-guard.js +65 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/compaction-trigger.d.ts +41 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/compaction-trigger.js +49 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/executor-error-mapping.d.ts +56 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/executor-error-mapping.js +49 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/index.d.ts +14 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/index.js +14 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/message-envelope.d.ts +68 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/message-envelope.js +90 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/pi-executor-types.d.ts +158 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/pi-executor-types.js +10 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/pi-executor.d.ts +45 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/pi-executor.js +946 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/safety-gate.d.ts +66 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/safety-gate.js +83 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/session-bootstrap.d.ts +103 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/session-bootstrap.js +123 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/session-stats.d.ts +33 -0
- package/node_modules/@comis/agent/dist/executor/pi-executor/session-stats.js +37 -0
- package/node_modules/@comis/agent/dist/executor/post-batch-continuation.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/prompt-assembly.d.ts +16 -6
- package/node_modules/@comis/agent/dist/executor/prompt-assembly.js +21 -14
- package/node_modules/@comis/agent/dist/executor/prompt-runner/budget-precheck.d.ts +30 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/budget-precheck.js +55 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/envelope-wrapper.d.ts +43 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/envelope-wrapper.js +143 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/failure-path.d.ts +30 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/failure-path.js +220 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/index.d.ts +14 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/index.js +14 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/output-escalation.d.ts +29 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/output-escalation.js +330 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/prompt-runner-types.d.ts +130 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/prompt-runner-types.js +12 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/prompt-runner.d.ts +23 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/prompt-runner.js +43 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/retry-loop.d.ts +38 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/retry-loop.js +209 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/silent-failure-handlers.d.ts +44 -0
- package/node_modules/@comis/agent/dist/executor/prompt-runner/silent-failure-handlers.js +272 -0
- package/node_modules/@comis/agent/dist/executor/prompt-timeout.d.ts +3 -2
- package/node_modules/@comis/agent/dist/executor/prompt-timeout.js +9 -7
- package/node_modules/@comis/agent/dist/executor/replay-drift-detector.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/replay-drift-detector.js +1 -2
- package/node_modules/@comis/agent/dist/executor/session-snapshot-cleanup.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/session-snapshot-cleanup.js +3 -3
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/api-payload-trace-writer.d.ts +3 -1
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/api-payload-trace-writer.js +4 -4
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/cache-trace-writer.d.ts +3 -1
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/cache-trace-writer.js +1 -1
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/compose.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/config-resolver.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/index.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/index.js +1 -1
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/breakpoint-orchestration.d.ts +36 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/breakpoint-orchestration.js +276 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/breakpoint-placement.d.ts +52 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/breakpoint-placement.js +282 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/cache-breakpoints.d.ts +111 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/cache-breakpoints.js +273 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/cache-control-block.d.ts +34 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/cache-control-block.js +51 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/cadence-tracker.d.ts +25 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/cadence-tracker.js +22 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/cadence-tracking.d.ts +22 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/cadence-tracking.js +66 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/context-window.d.ts +18 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/context-window.js +30 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/factory.d.ts +47 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/factory.js +284 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/index.d.ts +18 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/index.js +23 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/kill-switch.d.ts +21 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/kill-switch.js +43 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/marker-upgrade.d.ts +23 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/marker-upgrade.js +49 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/microcompact.d.ts +33 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/microcompact.js +75 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/prefix-stability.d.ts +28 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/prefix-stability.js +100 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/service-tier.d.ts +17 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/service-tier.js +22 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/skip-cache-write-marker.d.ts +26 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/skip-cache-write-marker.js +88 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/store-flag.d.ts +22 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/store-flag.js +27 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/token-estimation.d.ts +17 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/token-estimation.js +22 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/tool-cache.d.ts +24 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/tool-cache.js +73 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/tool-deferral-injection.d.ts +27 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/tool-deferral-injection.js +68 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/tool-result-clearing.d.ts +64 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/tool-result-clearing.js +225 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/ttl-split-estimation.d.ts +18 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/ttl-split-estimation.js +74 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/types.d.ts +143 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/types.js +11 -0
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/stub-filter-injector.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/tool-result-size-bouncer.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/tool-schema-cache.js +3 -3
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/turn-result-budget-wrapper.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/types.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/validation-error-formatter.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/tool-deferral.d.ts +27 -34
- package/node_modules/@comis/agent/dist/executor/tool-deferral.js +35 -43
- package/node_modules/@comis/agent/dist/executor/tool-parallelism.d.ts +3 -10
- package/node_modules/@comis/agent/dist/executor/tool-parallelism.js +4 -52
- package/node_modules/@comis/agent/dist/executor/ttl-guard.d.ts +6 -4
- package/node_modules/@comis/agent/dist/executor/ttl-guard.js +5 -5
- package/node_modules/@comis/agent/dist/executor/types.d.ts +2 -2
- package/node_modules/@comis/agent/dist/greeting/session-greeting.js +5 -4
- package/node_modules/@comis/agent/dist/identity/identity-loader.js +3 -2
- package/node_modules/@comis/agent/dist/identity/identity-updater.js +2 -2
- package/node_modules/@comis/agent/dist/index.d.ts +9 -47
- package/node_modules/@comis/agent/dist/index.js +48 -43
- package/node_modules/@comis/agent/dist/memory/memory-review-job.d.ts +2 -8
- package/node_modules/@comis/agent/dist/memory/memory-review-job.js +26 -31
- package/node_modules/@comis/agent/dist/model/auth-profile.js +10 -8
- package/node_modules/@comis/agent/dist/model/auth-provider.d.ts +10 -3
- package/node_modules/@comis/agent/dist/model/auth-provider.js +1 -0
- package/node_modules/@comis/agent/dist/model/auth-rotation-adapter.d.ts +1 -1
- package/node_modules/@comis/agent/dist/model/auth-storage-adapter.d.ts +1 -1
- package/node_modules/@comis/agent/dist/model/auth-storage-adapter.js +1 -1
- package/node_modules/@comis/agent/dist/model/auth-usage-tracker.js +3 -2
- package/node_modules/@comis/agent/dist/model/compaction-model-resolver.js +1 -1
- package/node_modules/@comis/agent/dist/model/context-window-resolver.d.ts +1 -1
- package/node_modules/@comis/agent/dist/model/last-known-model.js +2 -1
- package/node_modules/@comis/agent/dist/model/model-alias-resolver.d.ts +1 -1
- package/node_modules/@comis/agent/dist/model/model-registry-adapter.d.ts +4 -4
- package/node_modules/@comis/agent/dist/model/model-registry-adapter.js +3 -3
- package/node_modules/@comis/agent/dist/model/model-scanner.js +9 -8
- package/node_modules/@comis/agent/dist/model/oauth-token-manager.d.ts +16 -6
- package/node_modules/@comis/agent/dist/model/oauth-token-manager.js +98 -50
- package/node_modules/@comis/agent/dist/model/operation-model-defaults.js +1 -1
- package/node_modules/@comis/agent/dist/model/resolve-provider-api-key.d.ts +1 -1
- package/node_modules/@comis/agent/dist/model/resolve-provider-api-key.js +2 -1
- package/node_modules/@comis/agent/dist/provider/capabilities.js +1 -1
- package/node_modules/@comis/agent/dist/provider/model-id-normalize.js +1 -1
- package/node_modules/@comis/agent/dist/provider/response/sanitize-pipeline.d.ts +1 -1
- package/node_modules/@comis/agent/dist/provider/tool-schema/normalize.d.ts +2 -2
- package/node_modules/@comis/agent/dist/rag/hybrid-memory-injector.js +2 -1
- package/node_modules/@comis/agent/dist/rag/rag-retriever.d.ts +1 -1
- package/node_modules/@comis/agent/dist/rag/rag-retriever.js +6 -6
- package/node_modules/@comis/agent/dist/safety/circuit-breaker.d.ts +3 -3
- package/node_modules/@comis/agent/dist/safety/circuit-breaker.js +5 -5
- package/node_modules/@comis/agent/dist/safety/provider-health-monitor.js +5 -4
- package/node_modules/@comis/agent/dist/safety/token-estimator.d.ts +1 -1
- package/node_modules/@comis/agent/dist/safety/tool-retry-breaker.d.ts +11 -1
- package/node_modules/@comis/agent/dist/safety/tool-retry-breaker.js +19 -22
- package/node_modules/@comis/agent/dist/safety/tool-schema-safety.d.ts +1 -20
- package/node_modules/@comis/agent/dist/safety/tool-schema-safety.js +0 -20
- package/node_modules/@comis/agent/dist/safety/turn-result-budget.d.ts +1 -1
- package/node_modules/@comis/agent/dist/session/comis-session-manager.d.ts +33 -3
- package/node_modules/@comis/agent/dist/session/comis-session-manager.js +53 -15
- package/node_modules/@comis/agent/dist/session/orphaned-message-repair.d.ts +1 -1
- package/node_modules/@comis/agent/dist/session/orphaned-message-repair.js +3 -2
- package/node_modules/@comis/agent/dist/session/scrub-redacted-tool-calls.d.ts +1 -1
- package/node_modules/@comis/agent/dist/session/session-label-store.d.ts +5 -5
- package/node_modules/@comis/agent/dist/session/session-label-store.js +3 -3
- package/node_modules/@comis/agent/dist/session/session-lifecycle.d.ts +8 -8
- package/node_modules/@comis/agent/dist/session/session-lifecycle.js +7 -6
- package/node_modules/@comis/agent/dist/session/session-reset-policy.d.ts +27 -9
- package/node_modules/@comis/agent/dist/session/session-reset-policy.js +20 -20
- package/node_modules/@comis/agent/dist/session/session-write-lock.d.ts +39 -14
- package/node_modules/@comis/agent/dist/session/session-write-lock.js +59 -94
- package/node_modules/@comis/agent/dist/spawn/announcement-ports.d.ts +78 -0
- package/node_modules/@comis/agent/dist/spawn/announcement-ports.js +23 -0
- package/node_modules/@comis/agent/dist/spawn/generate-parent-summary.d.ts +1 -1
- package/node_modules/@comis/agent/dist/spawn/generate-parent-summary.js +2 -2
- package/node_modules/@comis/agent/dist/spawn/index.d.ts +4 -1
- package/node_modules/@comis/agent/dist/spawn/index.js +3 -1
- package/node_modules/@comis/agent/dist/spawn/lifecycle-hooks.js +3 -2
- package/node_modules/@comis/agent/dist/spawn/pi-mono-adapters.d.ts +1 -1
- package/node_modules/@comis/agent/dist/spawn/pi-mono-adapters.js +6 -6
- package/node_modules/@comis/agent/dist/spawn/result-condenser.js +4 -5
- package/node_modules/@comis/agent/dist/spawn/sub-agent-result-processor.d.ts +142 -0
- package/node_modules/@comis/agent/dist/spawn/sub-agent-result-processor.js +495 -0
- package/node_modules/@comis/agent/dist/spawn/sub-agent-runner.d.ts +340 -0
- package/node_modules/@comis/agent/dist/spawn/sub-agent-runner.js +1265 -0
- package/node_modules/@comis/agent/dist/workspace/data-env.d.ts +38 -0
- package/node_modules/@comis/agent/dist/workspace/data-env.js +56 -0
- package/node_modules/@comis/agent/dist/workspace/index.d.ts +1 -0
- package/node_modules/@comis/agent/dist/workspace/index.js +1 -0
- package/node_modules/@comis/agent/dist/workspace/onboarding-detector.js +2 -2
- package/node_modules/@comis/agent/dist/workspace/templates.js +5 -1
- package/node_modules/@comis/agent/dist/workspace/workspace-manager.d.ts +1 -1
- package/node_modules/@comis/agent/dist/workspace/workspace-manager.js +6 -5
- package/node_modules/@comis/agent/package.json +1 -1
- package/node_modules/@comis/channels/dist/discord/credential-validator.d.ts +4 -1
- package/node_modules/@comis/channels/dist/discord/credential-validator.js +27 -21
- package/node_modules/@comis/channels/dist/discord/discord-actions.d.ts +1 -1
- package/node_modules/@comis/channels/dist/discord/discord-actions.js +84 -45
- package/node_modules/@comis/channels/dist/discord/discord-adapter-types.d.ts +96 -0
- package/node_modules/@comis/channels/dist/discord/discord-adapter-types.js +71 -0
- package/node_modules/@comis/channels/dist/discord/discord-adapter.d.ts +14 -1
- package/node_modules/@comis/channels/dist/discord/discord-adapter.js +33 -27
- package/node_modules/@comis/channels/dist/discord/discord-resolver.js +4 -2
- package/node_modules/@comis/channels/dist/echo/echo-adapter.js +4 -3
- package/node_modules/@comis/channels/dist/email/email-adapter.d.ts +1 -1
- package/node_modules/@comis/channels/dist/email/email-adapter.js +5 -4
- package/node_modules/@comis/channels/dist/email/imap-lifecycle.d.ts +1 -1
- package/node_modules/@comis/channels/dist/email/imap-lifecycle.js +9 -8
- package/node_modules/@comis/channels/dist/email/message-mapper.js +2 -2
- package/node_modules/@comis/channels/dist/imessage/credential-validator.js +3 -2
- package/node_modules/@comis/channels/dist/imessage/imessage-adapter.d.ts +1 -1
- package/node_modules/@comis/channels/dist/imessage/imessage-adapter.js +7 -6
- package/node_modules/@comis/channels/dist/imessage/imessage-client.js +7 -6
- package/node_modules/@comis/channels/dist/imessage/imessage-resolver.d.ts +1 -1
- package/node_modules/@comis/channels/dist/imessage/imessage-resolver.js +5 -4
- package/node_modules/@comis/channels/dist/imessage/message-mapper.js +4 -3
- package/node_modules/@comis/channels/dist/index.d.ts +15 -14
- package/node_modules/@comis/channels/dist/index.js +54 -11
- package/node_modules/@comis/channels/dist/irc/credential-validator.js +3 -2
- package/node_modules/@comis/channels/dist/irc/irc-adapter.d.ts +1 -1
- package/node_modules/@comis/channels/dist/irc/irc-adapter.js +8 -7
- package/node_modules/@comis/channels/dist/irc/message-mapper.d.ts +1 -1
- package/node_modules/@comis/channels/dist/irc/message-mapper.js +3 -2
- package/node_modules/@comis/channels/dist/line/credential-validator.d.ts +7 -2
- package/node_modules/@comis/channels/dist/line/credential-validator.js +27 -30
- package/node_modules/@comis/channels/dist/line/line-adapter.d.ts +12 -1
- package/node_modules/@comis/channels/dist/line/line-adapter.js +11 -4
- package/node_modules/@comis/channels/dist/line/line-resolver.js +4 -2
- package/node_modules/@comis/channels/dist/shared/approval-notifier.d.ts +7 -2
- package/node_modules/@comis/channels/dist/shared/approval-notifier.js +4 -3
- package/node_modules/@comis/channels/dist/shared/block-pacer.js +3 -2
- package/node_modules/@comis/channels/dist/shared/channel-health-monitor.js +16 -15
- package/node_modules/@comis/channels/dist/shared/channel-registry.js +3 -3
- package/node_modules/@comis/channels/dist/shared/lifecycle-reactor.d.ts +1 -1
- package/node_modules/@comis/channels/dist/shared/lifecycle-reactor.js +24 -23
- package/node_modules/@comis/channels/dist/shared/response-filter.d.ts +9 -24
- package/node_modules/@comis/channels/dist/shared/response-filter.js +23 -53
- package/node_modules/@comis/channels/dist/shared/typing-controller.d.ts +0 -1
- package/node_modules/@comis/channels/dist/shared/typing-controller.js +18 -13
- package/node_modules/@comis/channels/dist/shared/typing-lifecycle-controller.js +4 -3
- package/node_modules/@comis/channels/dist/shared/voice-response-pipeline.js +4 -4
- package/node_modules/@comis/channels/dist/signal/message-mapper.js +3 -2
- package/node_modules/@comis/channels/dist/signal/signal-adapter.d.ts +1 -1
- package/node_modules/@comis/channels/dist/signal/signal-adapter.js +5 -4
- package/node_modules/@comis/channels/dist/signal/signal-client.js +8 -6
- package/node_modules/@comis/channels/dist/signal/signal-format.d.ts +1 -1
- package/node_modules/@comis/channels/dist/signal/signal-resolver.js +4 -2
- package/node_modules/@comis/channels/dist/slack/credential-validator.d.ts +9 -1
- package/node_modules/@comis/channels/dist/slack/credential-validator.js +34 -36
- package/node_modules/@comis/channels/dist/slack/media-handler.js +1 -0
- package/node_modules/@comis/channels/dist/slack/slack-actions.d.ts +1 -1
- package/node_modules/@comis/channels/dist/slack/slack-adapter.d.ts +16 -1
- package/node_modules/@comis/channels/dist/slack/slack-adapter.js +17 -6
- package/node_modules/@comis/channels/dist/slack/slack-resolver.js +4 -2
- package/node_modules/@comis/channels/dist/telegram/credential-validator.d.ts +3 -1
- package/node_modules/@comis/channels/dist/telegram/credential-validator.js +23 -20
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/index.d.ts +28 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/index.js +81 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-adapter-types.d.ts +80 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-adapter-types.js +35 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-inbound.d.ts +35 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-inbound.js +189 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-lifecycle.d.ts +32 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-lifecycle.js +120 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-outbound.d.ts +29 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-outbound.js +360 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-webhook.d.ts +55 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-webhook.js +102 -0
- package/node_modules/@comis/channels/dist/telegram/telegram-plugin.d.ts +1 -1
- package/node_modules/@comis/channels/dist/telegram/telegram-plugin.js +1 -1
- package/node_modules/@comis/channels/dist/telegram/telegram-resolver.js +3 -3
- package/node_modules/@comis/channels/dist/whatsapp/credential-validator.js +2 -2
- package/node_modules/@comis/channels/dist/whatsapp/message-mapper.js +2 -1
- package/node_modules/@comis/channels/dist/whatsapp/whatsapp-adapter.d.ts +15 -1
- package/node_modules/@comis/channels/dist/whatsapp/whatsapp-adapter.js +10 -5
- package/node_modules/@comis/channels/dist/whatsapp/whatsapp-resolver.js +4 -2
- package/node_modules/@comis/channels/package.json +1 -1
- package/node_modules/@comis/cli/dist/client/provider-list.js +7 -4
- package/node_modules/@comis/cli/dist/client/rpc-client.d.ts +25 -0
- package/node_modules/@comis/cli/dist/client/rpc-client.js +62 -13
- package/node_modules/@comis/cli/dist/commands/agent.js +13 -9
- package/node_modules/@comis/cli/dist/commands/auth.d.ts +26 -16
- package/node_modules/@comis/cli/dist/commands/auth.js +226 -86
- package/node_modules/@comis/cli/dist/commands/channel.js +5 -2
- package/node_modules/@comis/cli/dist/commands/config-parsers.d.ts +30 -0
- package/node_modules/@comis/cli/dist/commands/config-parsers.js +82 -0
- package/node_modules/@comis/cli/dist/commands/config.js +311 -55
- package/node_modules/@comis/cli/dist/commands/daemon.js +7 -4
- package/node_modules/@comis/cli/dist/commands/init.js +1 -0
- package/node_modules/@comis/cli/dist/commands/memory.js +34 -13
- package/node_modules/@comis/cli/dist/commands/models.js +3 -3
- package/node_modules/@comis/cli/dist/commands/providers.d.ts +1 -2
- package/node_modules/@comis/cli/dist/commands/providers.js +9 -10
- package/node_modules/@comis/cli/dist/commands/reset.js +9 -3
- package/node_modules/@comis/cli/dist/commands/secrets.d.ts +11 -6
- package/node_modules/@comis/cli/dist/commands/secrets.js +67 -130
- package/node_modules/@comis/cli/dist/commands/sessions.d.ts +3 -0
- package/node_modules/@comis/cli/dist/commands/sessions.js +38 -42
- package/node_modules/@comis/cli/dist/commands/status.js +18 -15
- package/node_modules/@comis/cli/dist/commands/uninstall.js +1 -0
- package/node_modules/@comis/cli/dist/doctor/checks/channel-health.js +2 -2
- package/node_modules/@comis/cli/dist/doctor/checks/config-health.js +2 -3
- package/node_modules/@comis/cli/dist/doctor/checks/oauth-health.js +11 -5
- package/node_modules/@comis/cli/dist/doctor/repairs/repair-config.js +3 -3
- package/node_modules/@comis/cli/dist/index.d.ts +1 -22
- package/node_modules/@comis/cli/dist/index.js +12 -50
- package/node_modules/@comis/cli/dist/mock-rpc-client.js +2 -1
- package/node_modules/@comis/cli/dist/output/relative-time.d.ts +1 -1
- package/node_modules/@comis/cli/dist/output/relative-time.js +3 -2
- package/node_modules/@comis/cli/dist/output/spinner.js +1 -0
- package/node_modules/@comis/cli/dist/security/fix-runner.js +2 -1
- package/node_modules/@comis/cli/dist/sync-tooling/atomic-write.d.ts +76 -0
- package/node_modules/@comis/cli/dist/sync-tooling/atomic-write.js +153 -0
- package/node_modules/@comis/cli/dist/sync-tooling/backup.d.ts +93 -0
- package/node_modules/@comis/cli/dist/sync-tooling/backup.js +201 -0
- package/node_modules/@comis/cli/dist/sync-tooling/daemon-guard.d.ts +28 -0
- package/node_modules/@comis/cli/dist/sync-tooling/daemon-guard.js +59 -0
- package/node_modules/@comis/cli/dist/sync-tooling/diff.d.ts +65 -0
- package/node_modules/@comis/cli/dist/sync-tooling/diff.js +142 -0
- package/node_modules/@comis/cli/dist/sync-tooling/discover.d.ts +85 -0
- package/node_modules/@comis/cli/dist/sync-tooling/discover.js +218 -0
- package/node_modules/@comis/cli/dist/sync-tooling/generate.d.ts +77 -0
- package/node_modules/@comis/cli/dist/sync-tooling/generate.js +278 -0
- package/node_modules/@comis/cli/dist/sync-tooling/index.d.ts +15 -0
- package/node_modules/@comis/cli/dist/sync-tooling/index.js +16 -0
- package/node_modules/@comis/cli/dist/test-helpers.js +1 -0
- package/node_modules/@comis/cli/dist/tooling-fill/agent-call.d.ts +62 -0
- package/node_modules/@comis/cli/dist/tooling-fill/agent-call.js +151 -0
- package/node_modules/@comis/cli/dist/tooling-fill/apply-hint.d.ts +68 -0
- package/node_modules/@comis/cli/dist/tooling-fill/apply-hint.js +132 -0
- package/node_modules/@comis/cli/dist/tooling-fill/index.d.ts +20 -0
- package/node_modules/@comis/cli/dist/tooling-fill/index.js +21 -0
- package/node_modules/@comis/cli/dist/tooling-fill/orchestrator/index.d.ts +25 -0
- package/node_modules/@comis/cli/dist/tooling-fill/orchestrator/index.js +18 -0
- package/node_modules/@comis/cli/dist/tooling-fill/orchestrator/orchestrator-discover.d.ts +23 -0
- package/node_modules/@comis/cli/dist/tooling-fill/orchestrator/orchestrator-discover.js +307 -0
- package/node_modules/@comis/cli/dist/tooling-fill/orchestrator/orchestrator-fill.d.ts +22 -0
- package/node_modules/@comis/cli/dist/tooling-fill/orchestrator/orchestrator-fill.js +281 -0
- package/node_modules/@comis/cli/dist/tooling-fill/orchestrator/orchestrator-types.d.ts +101 -0
- package/node_modules/@comis/cli/dist/tooling-fill/orchestrator/orchestrator-types.js +7 -0
- package/node_modules/@comis/cli/dist/tooling-fill/orchestrator/orchestrator-verify.d.ts +25 -0
- package/node_modules/@comis/cli/dist/tooling-fill/orchestrator/orchestrator-verify.js +273 -0
- package/node_modules/@comis/cli/dist/tooling-fill/prompt-template.d.ts +40 -0
- package/node_modules/@comis/cli/dist/tooling-fill/prompt-template.js +86 -0
- package/node_modules/@comis/cli/dist/tooling-fill/response-parser.d.ts +44 -0
- package/node_modules/@comis/cli/dist/tooling-fill/response-parser.js +100 -0
- package/node_modules/@comis/cli/dist/tooling-fill/supervisor.d.ts +104 -0
- package/node_modules/@comis/cli/dist/tooling-fill/supervisor.js +237 -0
- package/node_modules/@comis/cli/dist/tooling-fill/validators.d.ts +60 -0
- package/node_modules/@comis/cli/dist/tooling-fill/validators.js +80 -0
- package/node_modules/@comis/cli/dist/util/daemon-required.d.ts +38 -0
- package/node_modules/@comis/cli/dist/util/daemon-required.js +56 -0
- package/node_modules/@comis/cli/dist/util/exit-codes.d.ts +23 -0
- package/node_modules/@comis/cli/dist/util/exit-codes.js +23 -0
- package/node_modules/@comis/cli/dist/wizard/clack-adapter.js +1 -0
- package/node_modules/@comis/cli/dist/wizard/non-interactive.js +2 -1
- package/node_modules/@comis/cli/dist/wizard/state.js +3 -1
- package/node_modules/@comis/cli/dist/wizard/steps/00-welcome.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/00-welcome.js +33 -6
- package/node_modules/@comis/cli/dist/wizard/steps/01-detect-existing.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/01-detect-existing.js +5 -2
- package/node_modules/@comis/cli/dist/wizard/steps/02-flow-select.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/02-flow-select.js +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/03-provider.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/03-provider.js +2 -1
- package/node_modules/@comis/cli/dist/wizard/steps/04-credentials.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/04-credentials.js +22 -14
- package/node_modules/@comis/cli/dist/wizard/steps/05-agent.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/05-agent.js +4 -2
- package/node_modules/@comis/cli/dist/wizard/steps/06-channels.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/06-channels.js +15 -11
- package/node_modules/@comis/cli/dist/wizard/steps/07-gateway.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/07-gateway.js +4 -1
- package/node_modules/@comis/cli/dist/wizard/steps/08-workspace.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/08-workspace.js +2 -1
- package/node_modules/@comis/cli/dist/wizard/steps/08b-tool-providers.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/08b-tool-providers.js +3 -1
- package/node_modules/@comis/cli/dist/wizard/steps/09-review.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/09-review.js +4 -1
- package/node_modules/@comis/cli/dist/wizard/steps/10-write-config.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/10-write-config.js +4 -1
- package/node_modules/@comis/cli/dist/wizard/steps/11-daemon-start.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/11-daemon-start.js +22 -22
- package/node_modules/@comis/cli/dist/wizard/steps/12-finish.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/12-finish.js +2 -1
- package/node_modules/@comis/cli/package.json +1 -1
- package/node_modules/@comis/core/dist/api-contracts/agents.d.ts +632 -0
- package/node_modules/@comis/core/dist/api-contracts/agents.js +685 -0
- package/node_modules/@comis/core/dist/api-contracts/auth.d.ts +90 -0
- package/node_modules/@comis/core/dist/api-contracts/auth.js +112 -0
- package/node_modules/@comis/core/dist/api-contracts/channels.d.ts +625 -0
- package/node_modules/@comis/core/dist/api-contracts/channels.js +658 -0
- package/node_modules/@comis/core/dist/api-contracts/config.d.ts +524 -0
- package/node_modules/@comis/core/dist/api-contracts/config.js +597 -0
- package/node_modules/@comis/core/dist/api-contracts/daemon.d.ts +67 -0
- package/node_modules/@comis/core/dist/api-contracts/daemon.js +79 -0
- package/node_modules/@comis/core/dist/api-contracts/index.d.ts +47 -0
- package/node_modules/@comis/core/dist/api-contracts/index.js +55 -0
- package/node_modules/@comis/core/dist/api-contracts/internals.d.ts +29 -0
- package/node_modules/@comis/core/dist/api-contracts/internals.js +56 -0
- package/node_modules/@comis/core/dist/api-contracts/mcp.d.ts +456 -0
- package/node_modules/@comis/core/dist/api-contracts/mcp.js +404 -0
- package/node_modules/@comis/core/dist/api-contracts/media.d.ts +563 -0
- package/node_modules/@comis/core/dist/api-contracts/media.js +605 -0
- package/node_modules/@comis/core/dist/api-contracts/memory.d.ts +653 -0
- package/node_modules/@comis/core/dist/api-contracts/memory.js +625 -0
- package/node_modules/@comis/core/dist/api-contracts/observability.d.ts +577 -0
- package/node_modules/@comis/core/dist/api-contracts/observability.js +667 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/cron-handlers.d.ts +254 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/cron-handlers.js +271 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/graph-handlers.d.ts +389 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/graph-handlers.js +402 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/heartbeat-handlers.d.ts +188 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/heartbeat-handlers.js +175 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/index.d.ts +234 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/index.js +35 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/subagent-handlers.d.ts +90 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/subagent-handlers.js +106 -0
- package/node_modules/@comis/core/dist/api-contracts/secrets.d.ts +174 -0
- package/node_modules/@comis/core/dist/api-contracts/secrets.js +202 -0
- package/node_modules/@comis/core/dist/api-contracts/sessions.d.ts +590 -0
- package/node_modules/@comis/core/dist/api-contracts/sessions.js +580 -0
- package/node_modules/@comis/core/dist/api-contracts/tokens.d.ts +203 -0
- package/node_modules/@comis/core/dist/api-contracts/tokens.js +234 -0
- package/node_modules/@comis/core/dist/api-contracts/types.d.ts +34 -0
- package/node_modules/@comis/core/dist/api-contracts/types.js +8 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/approval-handlers.d.ts +125 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/approval-handlers.js +148 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/browser-handlers.d.ts +283 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/browser-handlers.js +308 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/index.d.ts +279 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/index.js +40 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/notification-handlers.d.ts +71 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/notification-handlers.js +63 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/skill-handlers.d.ts +235 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/skill-handlers.js +208 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/workspace-handlers.d.ts +304 -0
- package/node_modules/@comis/core/dist/api-contracts/workspace/workspace-handlers.js +326 -0
- package/node_modules/@comis/core/dist/approval/approval-gate.d.ts +5 -0
- package/node_modules/@comis/core/dist/approval/approval-gate.js +19 -19
- package/node_modules/@comis/core/dist/bootstrap.d.ts +2 -2
- package/node_modules/@comis/core/dist/bootstrap.js +1 -5
- package/node_modules/@comis/core/dist/config/backup.js +3 -2
- package/node_modules/@comis/core/dist/config/env-substitution.js +12 -10
- package/node_modules/@comis/core/dist/config/field-metadata.js +10 -37
- package/node_modules/@comis/core/dist/config/git-manager.js +13 -6
- package/node_modules/@comis/core/dist/config/immutable-keys.js +4 -1
- package/node_modules/@comis/core/dist/config/index.d.ts +6 -2
- package/node_modules/@comis/core/dist/config/index.js +3 -1
- package/node_modules/@comis/core/dist/config/managed-sections.d.ts +10 -46
- package/node_modules/@comis/core/dist/config/managed-sections.js +33 -125
- package/node_modules/@comis/core/dist/config/migrate.js +3 -0
- package/node_modules/@comis/core/dist/config/schema-agent/index.d.ts +33 -0
- package/node_modules/@comis/core/dist/config/schema-agent/index.js +34 -0
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-context.d.ts +243 -0
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-context.js +289 -0
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-model.d.ts +157 -0
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-model.js +149 -0
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-prompt.d.ts +147 -0
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-prompt.js +164 -0
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-runtime.d.ts +1226 -0
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-runtime.js +260 -0
- package/node_modules/@comis/core/dist/config/schema-approvals.d.ts +3 -17
- package/node_modules/@comis/core/dist/config/schema-auto-reply-engine.d.ts +0 -6
- package/node_modules/@comis/core/dist/config/schema-background-tasks.d.ts +0 -12
- package/node_modules/@comis/core/dist/config/schema-browser.d.ts +0 -18
- package/node_modules/@comis/core/dist/config/schema-channel.d.ts +82 -158
- package/node_modules/@comis/core/dist/config/schema-channel.js +33 -1
- package/node_modules/@comis/core/dist/config/schema-coalescer.d.ts +0 -5
- package/node_modules/@comis/core/dist/config/schema-daemon.d.ts +0 -32
- package/node_modules/@comis/core/dist/config/schema-delivery.d.ts +0 -18
- package/node_modules/@comis/core/dist/config/schema-documentation.d.ts +0 -12
- package/node_modules/@comis/core/dist/config/schema-embedding.d.ts +0 -20
- package/node_modules/@comis/core/dist/config/schema-envelope.d.ts +0 -15
- package/node_modules/@comis/core/dist/config/schema-gateway.d.ts +0 -37
- package/node_modules/@comis/core/dist/config/schema-gemini-cache.d.ts +0 -2
- package/node_modules/@comis/core/dist/config/schema-integrations.d.ts +0 -318
- package/node_modules/@comis/core/dist/config/schema-lifecycle-reactions.d.ts +0 -18
- package/node_modules/@comis/core/dist/config/schema-memory-review.d.ts +0 -7
- package/node_modules/@comis/core/dist/config/schema-memory.d.ts +0 -16
- package/node_modules/@comis/core/dist/config/schema-messages.d.ts +0 -8
- package/node_modules/@comis/core/dist/config/schema-models.d.ts +0 -15
- package/node_modules/@comis/core/dist/config/schema-notification.d.ts +0 -5
- package/node_modules/@comis/core/dist/config/schema-oauth.d.ts +0 -5
- package/node_modules/@comis/core/dist/config/schema-observability.d.ts +0 -38
- package/node_modules/@comis/core/dist/config/schema-output-retention.d.ts +34 -0
- package/node_modules/@comis/core/dist/config/schema-output-retention.js +48 -0
- package/node_modules/@comis/core/dist/config/schema-plugins.d.ts +0 -8
- package/node_modules/@comis/core/dist/config/schema-providers.d.ts +0 -64
- package/node_modules/@comis/core/dist/config/schema-queue.d.ts +0 -58
- package/node_modules/@comis/core/dist/config/schema-response-prefix.d.ts +0 -2
- package/node_modules/@comis/core/dist/config/schema-retry.d.ts +0 -6
- package/node_modules/@comis/core/dist/config/schema-scheduler.d.ts +0 -39
- package/node_modules/@comis/core/dist/config/schema-secrets.d.ts +0 -3
- package/node_modules/@comis/core/dist/config/schema-security.d.ts +2 -20
- package/node_modules/@comis/core/dist/config/schema-send-policy.d.ts +0 -13
- package/node_modules/@comis/core/dist/config/schema-sender-trust-display.d.ts +0 -5
- package/node_modules/@comis/core/dist/config/schema-serializer.js +10 -31
- package/node_modules/@comis/core/dist/config/schema-skills.d.ts +1 -62
- package/node_modules/@comis/core/dist/config/schema-streaming.d.ts +2 -40
- package/node_modules/@comis/core/dist/config/schema-telegram-file-guard.d.ts +0 -3
- package/node_modules/@comis/core/dist/config/schema-tooling.d.ts +87 -0
- package/node_modules/@comis/core/dist/config/schema-tooling.js +152 -0
- package/node_modules/@comis/core/dist/config/schema-verbosity.d.ts +0 -12
- package/node_modules/@comis/core/dist/config/schema-webhooks.d.ts +0 -40
- package/node_modules/@comis/core/dist/config/schema.d.ts +58 -46
- package/node_modules/@comis/core/dist/config/schema.js +7 -1
- package/node_modules/@comis/core/dist/config/section-registry.d.ts +111 -0
- package/node_modules/@comis/core/dist/config/section-registry.js +279 -0
- package/node_modules/@comis/core/dist/config/types.d.ts +1 -1
- package/node_modules/@comis/core/dist/context/context.d.ts +0 -4
- package/node_modules/@comis/core/dist/context/context.js +1 -0
- package/node_modules/@comis/core/dist/delivery/chunk-for-delivery.d.ts +40 -0
- package/node_modules/@comis/core/dist/delivery/chunk-for-delivery.js +77 -0
- package/node_modules/@comis/core/dist/delivery/delivery-service.d.ts +87 -0
- package/node_modules/@comis/core/dist/delivery/delivery-service.js +471 -0
- package/node_modules/@comis/core/dist/delivery/no-op-delivery-mirror.d.ts +9 -0
- package/node_modules/@comis/core/dist/delivery/no-op-delivery-mirror.js +19 -0
- package/node_modules/@comis/core/dist/delivery/no-op-delivery-queue.d.ts +9 -0
- package/node_modules/@comis/core/dist/delivery/no-op-delivery-queue.js +25 -0
- package/node_modules/@comis/core/dist/delivery/queue-backoff.d.ts +41 -0
- package/node_modules/@comis/core/dist/delivery/queue-backoff.js +73 -0
- package/node_modules/@comis/core/dist/delivery/retry-engine.d.ts +89 -0
- package/node_modules/@comis/core/dist/delivery/retry-engine.js +259 -0
- package/node_modules/@comis/core/dist/delivery/types.d.ts +80 -0
- package/node_modules/@comis/core/dist/delivery/types.js +11 -0
- package/node_modules/@comis/core/dist/domain/approval-request.d.ts +0 -17
- package/node_modules/@comis/core/dist/domain/background-task-origin.d.ts +0 -10
- package/node_modules/@comis/core/dist/domain/channel-capability.d.ts +49 -0
- package/node_modules/@comis/core/dist/domain/channel-capability.js +61 -0
- package/node_modules/@comis/core/dist/domain/delivery-origin.d.ts +0 -5
- package/node_modules/@comis/core/dist/domain/execution-graph.d.ts +2 -50
- package/node_modules/@comis/core/dist/domain/memory-entry.d.ts +1 -4
- package/node_modules/@comis/core/dist/domain/model-compat.d.ts +0 -4
- package/node_modules/@comis/core/dist/domain/normalized-message.d.ts +1 -16
- package/node_modules/@comis/core/dist/domain/provider-capabilities.d.ts +0 -6
- package/node_modules/@comis/core/dist/domain/rich-message.d.ts +1 -15
- package/node_modules/@comis/core/dist/domain/session-key.d.ts +9 -8
- package/node_modules/@comis/core/dist/domain/session-key.js +11 -23
- package/node_modules/@comis/core/dist/domain/subagent-context-config.d.ts +0 -22
- package/node_modules/@comis/core/dist/domain/subagent-context-types.d.ts +0 -8
- package/node_modules/@comis/core/dist/event-bus/events-agent.d.ts +31 -0
- package/node_modules/@comis/core/dist/event-bus/events-channel.d.ts +1 -1
- package/node_modules/@comis/core/dist/event-bus/events-infra.d.ts +5 -0
- package/node_modules/@comis/core/dist/exports/config.d.ts +2 -2
- package/node_modules/@comis/core/dist/exports/config.js +3 -1
- package/node_modules/@comis/core/dist/exports/delivery.d.ts +14 -0
- package/node_modules/@comis/core/dist/exports/delivery.js +42 -0
- package/node_modules/@comis/core/dist/exports/hooks.d.ts +2 -2
- package/node_modules/@comis/core/dist/exports/hooks.js +1 -1
- package/node_modules/@comis/core/dist/exports/logging.d.ts +3 -0
- package/node_modules/@comis/core/dist/exports/logging.js +7 -0
- package/node_modules/@comis/core/dist/exports/model.d.ts +2 -0
- package/node_modules/@comis/core/dist/exports/model.js +3 -0
- package/node_modules/@comis/core/dist/exports/oauth.d.ts +10 -0
- package/node_modules/@comis/core/dist/exports/oauth.js +10 -0
- package/node_modules/@comis/core/dist/exports/ports.d.ts +6 -2
- package/node_modules/@comis/core/dist/exports/ports.js +8 -1
- package/node_modules/@comis/core/dist/exports/runtime.d.ts +6 -0
- package/node_modules/@comis/core/dist/exports/runtime.js +15 -0
- package/node_modules/@comis/core/dist/exports/security.d.ts +4 -0
- package/node_modules/@comis/core/dist/exports/security.js +4 -0
- package/node_modules/@comis/core/dist/exports/workspace.d.ts +2 -0
- package/node_modules/@comis/core/dist/exports/workspace.js +3 -0
- package/node_modules/@comis/core/dist/hooks/hook-runner.js +7 -6
- package/node_modules/@comis/core/dist/hooks/index.d.ts +0 -1
- package/node_modules/@comis/core/dist/hooks/index.js +0 -1
- package/node_modules/@comis/core/dist/hooks/plugin-registry.js +3 -2
- package/node_modules/@comis/core/dist/index.d.ts +7 -0
- package/node_modules/@comis/core/dist/index.js +7 -0
- package/node_modules/@comis/core/dist/load-env.js +1 -0
- package/node_modules/@comis/core/dist/logging/console-logger.d.ts +15 -0
- package/node_modules/@comis/core/dist/logging/console-logger.js +47 -0
- package/node_modules/@comis/core/dist/logging/index.d.ts +1 -0
- package/node_modules/@comis/core/dist/logging/index.js +5 -0
- package/node_modules/@comis/core/dist/logging/log-fields.d.ts +254 -0
- package/node_modules/@comis/core/dist/logging/log-fields.js +31 -0
- package/node_modules/@comis/core/dist/model/model-catalog.d.ts +93 -0
- package/node_modules/@comis/core/dist/model/model-catalog.js +152 -0
- package/node_modules/@comis/core/dist/oauth/index.d.ts +22 -0
- package/node_modules/@comis/core/dist/oauth/index.js +24 -0
- package/node_modules/@comis/core/dist/oauth/oauth-credential-store-file.d.ts +54 -0
- package/node_modules/@comis/core/dist/oauth/oauth-credential-store-file.js +289 -0
- package/node_modules/@comis/core/dist/oauth/oauth-credential-store-selector.d.ts +71 -0
- package/node_modules/@comis/core/dist/oauth/oauth-credential-store-selector.js +52 -0
- package/node_modules/@comis/core/dist/oauth/oauth-device-code.d.ts +61 -0
- package/node_modules/@comis/core/dist/oauth/oauth-device-code.js +307 -0
- package/node_modules/@comis/core/dist/oauth/oauth-login-runner.d.ts +99 -0
- package/node_modules/@comis/core/dist/oauth/oauth-login-runner.js +374 -0
- package/node_modules/@comis/core/dist/oauth/oauth-token-manager.d.ts +134 -0
- package/node_modules/@comis/core/dist/oauth/oauth-token-manager.js +23 -0
- package/node_modules/@comis/core/dist/ports/channel-plugin.d.ts +2 -83
- package/node_modules/@comis/core/dist/ports/channel-plugin.js +1 -59
- package/node_modules/@comis/core/dist/ports/channel.d.ts +21 -1
- package/node_modules/@comis/core/dist/ports/clock.d.ts +17 -0
- package/node_modules/@comis/core/dist/ports/clock.js +13 -0
- package/node_modules/@comis/core/dist/ports/context-store-types.d.ts +115 -0
- package/node_modules/@comis/core/dist/ports/context-store-types.js +15 -0
- package/node_modules/@comis/core/dist/ports/context-store.d.ts +152 -0
- package/node_modules/@comis/core/dist/ports/context-store.js +17 -0
- package/node_modules/@comis/core/dist/ports/delivery-mirror.d.ts +5 -9
- package/node_modules/@comis/core/dist/ports/delivery-mirror.js +4 -17
- package/node_modules/@comis/core/dist/ports/delivery-queue.d.ts +5 -9
- package/node_modules/@comis/core/dist/ports/delivery-queue.js +4 -23
- package/node_modules/@comis/core/dist/ports/env.d.ts +19 -0
- package/node_modules/@comis/core/dist/ports/env.js +13 -0
- package/node_modules/@comis/core/dist/ports/file-lock.d.ts +94 -0
- package/node_modules/@comis/core/dist/ports/index.d.ts +12 -5
- package/node_modules/@comis/core/dist/ports/index.js +8 -4
- package/node_modules/@comis/core/dist/ports/oauth-credential-store.d.ts +0 -16
- package/node_modules/@comis/core/dist/ports/oauth-credential-store.js +1 -37
- package/node_modules/@comis/core/dist/ports/plugin.d.ts +1 -1
- package/node_modules/@comis/core/dist/ports/schedule-callback.d.ts +52 -0
- package/node_modules/@comis/core/dist/ports/schedule-callback.js +20 -0
- package/node_modules/@comis/core/dist/ports/session-store-types.d.ts +36 -0
- package/node_modules/@comis/core/dist/ports/session-store-types.js +15 -0
- package/node_modules/@comis/core/dist/ports/session-store.d.ts +40 -0
- package/node_modules/@comis/core/dist/ports/session-store.js +16 -0
- package/node_modules/@comis/core/dist/ports/timer.d.ts +25 -0
- package/node_modules/@comis/core/dist/ports/timer.js +13 -0
- package/node_modules/@comis/core/dist/ports/tool-capability.d.ts +165 -0
- package/node_modules/@comis/core/dist/ports/tool-capability.js +15 -0
- package/node_modules/@comis/core/dist/runtime/file-lock.d.ts +69 -0
- package/node_modules/@comis/core/dist/runtime/file-lock.js +257 -0
- package/node_modules/@comis/core/dist/runtime/is-docker.d.ts +1 -0
- package/node_modules/@comis/core/dist/runtime/is-docker.js +40 -0
- package/node_modules/@comis/core/dist/runtime/system-time.d.ts +96 -0
- package/node_modules/@comis/core/dist/runtime/system-time.js +113 -0
- package/node_modules/@comis/core/dist/security/audit-aggregator.d.ts +14 -2
- package/node_modules/@comis/core/dist/security/audit-aggregator.js +12 -11
- package/node_modules/@comis/core/dist/security/audit.d.ts +0 -11
- package/node_modules/@comis/core/dist/security/audit.js +2 -1
- package/node_modules/@comis/core/dist/security/index.d.ts +5 -0
- package/node_modules/@comis/core/dist/security/index.js +6 -0
- package/node_modules/@comis/core/dist/security/injection-rate-limiter.d.ts +14 -2
- package/node_modules/@comis/core/dist/security/injection-rate-limiter.js +11 -11
- package/node_modules/@comis/core/dist/security/master-key.d.ts +33 -0
- package/node_modules/@comis/core/dist/security/master-key.js +48 -0
- package/node_modules/@comis/core/dist/security/oauth-helpers.d.ts +97 -0
- package/node_modules/@comis/core/dist/security/oauth-helpers.js +223 -0
- package/node_modules/@comis/core/dist/security/profile-id.d.ts +17 -0
- package/node_modules/@comis/core/dist/security/profile-id.js +37 -0
- package/node_modules/@comis/core/dist/security/secret-manager.js +3 -2
- package/node_modules/@comis/core/dist/tool-capability/no-op-tool-capability.d.ts +30 -0
- package/node_modules/@comis/core/dist/tool-capability/no-op-tool-capability.js +47 -0
- package/node_modules/@comis/core/dist/tool-metadata.d.ts +21 -1
- package/node_modules/@comis/core/dist/tool-metadata.js +1 -1
- package/node_modules/@comis/core/dist/workspace/index.d.ts +18 -0
- package/node_modules/@comis/core/dist/workspace/index.js +16 -0
- package/node_modules/@comis/core/dist/workspace/templates.d.ts +11 -0
- package/node_modules/@comis/core/dist/workspace/templates.js +503 -0
- package/node_modules/@comis/core/dist/workspace/workspace-manager.d.ts +127 -0
- package/node_modules/@comis/core/dist/workspace/workspace-manager.js +244 -0
- package/node_modules/@comis/core/dist/workspace/workspace-resolver.d.ts +13 -0
- package/node_modules/@comis/core/dist/workspace/workspace-resolver.js +27 -0
- package/node_modules/@comis/core/dist/workspace/workspace-state.d.ts +39 -0
- package/node_modules/@comis/core/dist/workspace/workspace-state.js +120 -0
- package/node_modules/@comis/core/package.json +1 -1
- package/node_modules/@comis/daemon/bundled-skills/skill-creator/scripts/validate-skill.py +1 -1
- package/node_modules/@comis/daemon/dist/api/agent-handlers.d.ts +21 -0
- package/node_modules/@comis/daemon/dist/api/agent-handlers.js +514 -0
- package/node_modules/@comis/daemon/dist/api/agent-inline-workspace.d.ts +67 -0
- package/node_modules/@comis/daemon/dist/api/agent-inline-workspace.js +139 -0
- package/node_modules/@comis/daemon/dist/api/approval-handlers.d.ts +41 -0
- package/node_modules/@comis/daemon/dist/api/approval-handlers.js +122 -0
- package/node_modules/@comis/daemon/dist/api/auth-handlers.d.ts +74 -0
- package/node_modules/@comis/daemon/dist/api/auth-handlers.js +245 -0
- package/node_modules/@comis/daemon/dist/api/browser-handlers.d.ts +9 -0
- package/node_modules/@comis/daemon/dist/api/browser-handlers.js +193 -0
- package/node_modules/@comis/daemon/dist/api/channel-handlers.d.ts +25 -0
- package/node_modules/@comis/daemon/dist/api/channel-handlers.js +290 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-export.d.ts +26 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-export.js +299 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-helpers.d.ts +110 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-helpers.js +265 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-read.d.ts +19 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-read.js +174 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-validate.d.ts +79 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-validate.js +223 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-write.d.ts +36 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-write.js +292 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/index.d.ts +29 -0
- package/node_modules/@comis/daemon/dist/api/config-handlers/index.js +39 -0
- package/node_modules/@comis/daemon/dist/api/context-handlers.d.ts +51 -0
- package/node_modules/@comis/daemon/dist/api/context-handlers.js +455 -0
- package/node_modules/@comis/daemon/dist/api/cron-handlers.d.ts +27 -0
- package/node_modules/@comis/daemon/dist/api/cron-handlers.js +324 -0
- package/node_modules/@comis/daemon/dist/api/daemon-handlers.d.ts +15 -0
- package/node_modules/@comis/daemon/dist/api/daemon-handlers.js +113 -0
- package/node_modules/@comis/daemon/dist/api/env-handlers.d.ts +45 -0
- package/node_modules/@comis/daemon/dist/api/env-handlers.js +334 -0
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-export.d.ts +15 -0
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-export.js +53 -0
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-helpers.d.ts +80 -0
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-helpers.js +323 -0
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-mutate.d.ts +20 -0
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-mutate.js +226 -0
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-query.d.ts +23 -0
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-query.js +349 -0
- package/node_modules/@comis/daemon/dist/api/graph-handlers/index.d.ts +17 -0
- package/node_modules/@comis/daemon/dist/api/graph-handlers/index.js +24 -0
- package/node_modules/@comis/daemon/dist/api/heartbeat-handlers.d.ts +27 -0
- package/node_modules/@comis/daemon/dist/api/heartbeat-handlers.js +240 -0
- package/node_modules/@comis/daemon/dist/api/image-handlers.d.ts +45 -0
- package/node_modules/@comis/daemon/dist/api/image-handlers.js +122 -0
- package/node_modules/@comis/daemon/dist/api/index.d.ts +26 -0
- package/node_modules/@comis/daemon/dist/api/index.js +25 -0
- package/node_modules/@comis/daemon/dist/api/mcp-handlers.d.ts +38 -0
- package/node_modules/@comis/daemon/dist/api/mcp-handlers.js +327 -0
- package/node_modules/@comis/daemon/dist/api/media-handlers.d.ts +47 -0
- package/node_modules/@comis/daemon/dist/api/media-handlers.js +599 -0
- package/node_modules/@comis/daemon/dist/api/memory-handlers.d.ts +36 -0
- package/node_modules/@comis/daemon/dist/api/memory-handlers.js +333 -0
- package/node_modules/@comis/daemon/dist/api/message-handlers.d.ts +27 -0
- package/node_modules/@comis/daemon/dist/api/message-handlers.js +389 -0
- package/node_modules/@comis/daemon/dist/api/model-handlers.d.ts +18 -0
- package/node_modules/@comis/daemon/dist/api/model-handlers.js +180 -0
- package/node_modules/@comis/daemon/dist/api/notification-handlers.d.ts +39 -0
- package/node_modules/@comis/daemon/dist/api/notification-handlers.js +95 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/index.d.ts +20 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/index.js +27 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-diagnostics.d.ts +22 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-diagnostics.js +270 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-export.d.ts +22 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-export.js +110 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-helpers.d.ts +21 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-helpers.js +21 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-metrics.d.ts +22 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-metrics.js +393 -0
- package/node_modules/@comis/daemon/dist/api/provider-handlers.d.ts +25 -0
- package/node_modules/@comis/daemon/dist/api/provider-handlers.js +448 -0
- package/node_modules/@comis/daemon/dist/api/rpc-dispatch.d.ts +31 -0
- package/node_modules/@comis/daemon/dist/api/rpc-dispatch.js +307 -0
- package/node_modules/@comis/daemon/dist/api/secrets-handlers.d.ts +64 -0
- package/node_modules/@comis/daemon/dist/api/secrets-handlers.js +463 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/index.d.ts +14 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/index.js +23 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-archive.d.ts +17 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-archive.js +91 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-helpers.d.ts +66 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-helpers.js +215 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-list.d.ts +16 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-list.js +239 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-mutate.d.ts +17 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-mutate.js +191 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-read.d.ts +18 -0
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-read.js +277 -0
- package/node_modules/@comis/daemon/dist/api/shared/builtin-provider-guard.js +60 -0
- package/node_modules/@comis/daemon/dist/api/shared/credential-resolver.js +162 -0
- package/node_modules/@comis/daemon/dist/api/shared/persist-to-config.d.ts +105 -0
- package/node_modules/@comis/daemon/dist/api/shared/persist-to-config.js +235 -0
- package/node_modules/@comis/daemon/dist/api/skill-handlers.d.ts +50 -0
- package/node_modules/@comis/daemon/dist/api/skill-handlers.js +523 -0
- package/node_modules/@comis/daemon/dist/api/subagent-handlers.d.ts +24 -0
- package/node_modules/@comis/daemon/dist/api/subagent-handlers.js +116 -0
- package/node_modules/@comis/daemon/dist/api/token-handlers.d.ts +83 -0
- package/node_modules/@comis/daemon/dist/api/token-handlers.js +311 -0
- package/node_modules/@comis/daemon/dist/api/types.d.ts +466 -0
- package/node_modules/@comis/daemon/dist/api/types.js +18 -0
- package/node_modules/@comis/daemon/dist/api/workspace-handlers.d.ts +40 -0
- package/node_modules/@comis/daemon/dist/api/workspace-handlers.js +513 -0
- package/node_modules/@comis/daemon/dist/config/last-known-good.js +3 -2
- package/node_modules/@comis/daemon/dist/daemon-types.d.ts +322 -9
- package/node_modules/@comis/daemon/dist/daemon-types.js +9 -2
- package/node_modules/@comis/daemon/dist/daemon.d.ts +9 -6
- package/node_modules/@comis/daemon/dist/daemon.js +474 -1003
- package/node_modules/@comis/daemon/dist/device/device-pairing.js +3 -3
- package/node_modules/@comis/daemon/dist/graph/graph-cleanup.js +5 -4
- package/node_modules/@comis/daemon/dist/graph/graph-completion.js +11 -11
- package/node_modules/@comis/daemon/dist/graph/graph-coordinator-state.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/graph/graph-coordinator.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/graph/graph-coordinator.js +11 -11
- package/node_modules/@comis/daemon/dist/graph/graph-driver-handler.js +21 -22
- package/node_modules/@comis/daemon/dist/graph/graph-node-lifecycle.js +19 -20
- package/node_modules/@comis/daemon/dist/graph/graph-prewarm.js +5 -4
- package/node_modules/@comis/daemon/dist/graph/graph-state-machine.js +7 -6
- package/node_modules/@comis/daemon/dist/health/watchdog.js +4 -4
- package/node_modules/@comis/daemon/dist/index.d.ts +8 -9
- package/node_modules/@comis/daemon/dist/index.js +20 -8
- package/node_modules/@comis/daemon/dist/monitoring/disk-space-source.js +2 -1
- package/node_modules/@comis/daemon/dist/monitoring/exec-helpers.js +2 -1
- package/node_modules/@comis/daemon/dist/monitoring/git-watcher-source.js +2 -1
- package/node_modules/@comis/daemon/dist/monitoring/security-update-source.js +3 -1
- package/node_modules/@comis/daemon/dist/monitoring/system-resources-source.js +3 -1
- package/node_modules/@comis/daemon/dist/monitoring/systemd-service-source.js +3 -1
- package/node_modules/@comis/daemon/dist/observability/billing-estimator.js +4 -3
- package/node_modules/@comis/daemon/dist/observability/channel-activity-tracker.js +4 -3
- package/node_modules/@comis/daemon/dist/observability/channel-health-logger.js +5 -4
- package/node_modules/@comis/daemon/dist/observability/delivery-queue-logger.js +2 -2
- package/node_modules/@comis/daemon/dist/observability/delivery-tracer.js +8 -8
- package/node_modules/@comis/daemon/dist/observability/diagnostic-collector.js +4 -4
- package/node_modules/@comis/daemon/dist/observability/latency-recorder.js +3 -2
- package/node_modules/@comis/daemon/dist/observability/log-infra.js +3 -2
- package/node_modules/@comis/daemon/dist/observability/obs-persistence-wiring.js +7 -6
- package/node_modules/@comis/daemon/dist/observability/token-tracker.js +2 -1
- package/node_modules/@comis/daemon/dist/process/graceful-shutdown.js +8 -7
- package/node_modules/@comis/daemon/dist/process/process-monitor.js +4 -3
- package/node_modules/@comis/daemon/dist/stages/agents-helpers.d.ts +89 -0
- package/node_modules/@comis/daemon/dist/stages/agents-helpers.js +155 -0
- package/node_modules/@comis/daemon/dist/stages/channels-helpers.d.ts +127 -0
- package/node_modules/@comis/daemon/dist/stages/channels-helpers.js +223 -0
- package/node_modules/@comis/daemon/dist/stages/foundation-helpers.d.ts +53 -0
- package/node_modules/@comis/daemon/dist/stages/foundation-helpers.js +208 -0
- package/node_modules/@comis/daemon/dist/stages/gateway-helpers.d.ts +120 -0
- package/node_modules/@comis/daemon/dist/stages/gateway-helpers.js +277 -0
- package/node_modules/@comis/daemon/dist/stages/index.d.ts +14 -0
- package/node_modules/@comis/daemon/dist/stages/index.js +15 -0
- package/node_modules/@comis/daemon/dist/stages/shutdown-helpers.d.ts +84 -0
- package/node_modules/@comis/daemon/dist/stages/shutdown-helpers.js +157 -0
- package/node_modules/@comis/daemon/dist/wiring/daemon-context.d.ts +8 -8
- package/node_modules/@comis/daemon/dist/wiring/daemon-context.js +3 -2
- package/node_modules/@comis/daemon/dist/wiring/daemon-utils.d.ts +12 -11
- package/node_modules/@comis/daemon/dist/wiring/daemon-utils.js +15 -2
- package/node_modules/@comis/daemon/dist/wiring/inbound-message-id-resolver.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/wiring/inbound-message-id-resolver.js +10 -1
- package/node_modules/@comis/daemon/dist/wiring/index.d.ts +6 -4
- package/node_modules/@comis/daemon/dist/wiring/index.js +5 -4
- package/node_modules/@comis/daemon/dist/wiring/oauth-preflight.js +3 -3
- package/node_modules/@comis/daemon/dist/wiring/restart-continuation.js +4 -3
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/index.d.ts +18 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/index.js +17 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-registry.d.ts +141 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-registry.js +278 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-runtime.d.ts +31 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-runtime.js +419 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-tooling.d.ts +51 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-tooling.js +103 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-types.d.ts +127 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-types.js +11 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-background-completion-runner.d.ts +28 -9
- package/node_modules/@comis/daemon/dist/wiring/setup-background-completion-runner.js +36 -9
- package/node_modules/@comis/daemon/dist/wiring/setup-background-tasks.d.ts +5 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-background-tasks.js +5 -3
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/index.d.ts +15 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/index.js +15 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-credentials.d.ts +76 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-credentials.js +361 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-registry.d.ts +183 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-registry.js +140 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-runtime.d.ts +111 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-runtime.js +429 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-channels-adapters.js +51 -4
- package/node_modules/@comis/daemon/dist/wiring/setup-channels-media.js +5 -5
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/index.d.ts +16 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/index.js +16 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/setup-cross-session-events.d.ts +37 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/setup-cross-session-events.js +104 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/setup-cross-session-graph.d.ts +90 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/setup-cross-session-graph.js +419 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/setup-cross-session-runtime.d.ts +96 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/setup-cross-session-runtime.js +241 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-delivery.d.ts +1 -2
- package/node_modules/@comis/daemon/dist/wiring/setup-delivery.js +28 -17
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/index.d.ts +22 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/index.js +21 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/setup-gateway-admin.d.ts +100 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/setup-gateway-admin.js +273 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/setup-gateway-routes.d.ts +121 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/setup-gateway-routes.js +147 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/setup-gateway-rpc.d.ts +103 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/setup-gateway-rpc.js +415 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway-api.d.ts +60 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway-api.js +68 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway-routes.js +11 -10
- package/node_modules/@comis/daemon/dist/wiring/setup-heartbeat.d.ts +21 -8
- package/node_modules/@comis/daemon/dist/wiring/setup-heartbeat.js +15 -7
- package/node_modules/@comis/daemon/dist/wiring/setup-mcp.js +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-memory.d.ts +2 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-memory.js +2 -2
- package/node_modules/@comis/daemon/dist/wiring/setup-observability.js +2 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-output-retention.d.ts +89 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-output-retention.js +212 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-schedulers.d.ts +8 -4
- package/node_modules/@comis/daemon/dist/wiring/setup-schedulers.js +33 -23
- package/node_modules/@comis/daemon/dist/wiring/setup-shutdown.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-shutdown.js +51 -51
- package/node_modules/@comis/daemon/dist/wiring/setup-tools.d.ts +19 -5
- package/node_modules/@comis/daemon/dist/wiring/setup-tools.js +130 -103
- package/node_modules/@comis/daemon/dist/wiring/tool-capability-adapter.d.ts +75 -0
- package/node_modules/@comis/daemon/dist/wiring/tool-capability-adapter.js +253 -0
- package/node_modules/@comis/daemon/package.json +1 -1
- package/node_modules/@comis/gateway/dist/acp/acp-server.js +1 -0
- package/node_modules/@comis/gateway/dist/auth/mtls-verifier.js +3 -2
- package/node_modules/@comis/gateway/dist/oauth/oauth-callback-route.d.ts +3 -3
- package/node_modules/@comis/gateway/dist/oauth/oauth-callback-route.js +7 -6
- package/node_modules/@comis/gateway/dist/openai/openai-completions.js +2 -1
- package/node_modules/@comis/gateway/dist/rpc/ws-handler.js +10 -9
- package/node_modules/@comis/gateway/dist/server/gateway-logger.d.ts +17 -0
- package/node_modules/@comis/gateway/dist/server/gateway-logger.js +1 -0
- package/node_modules/@comis/gateway/dist/server/hono-server.d.ts +2 -13
- package/node_modules/@comis/gateway/dist/server/hono-server.js +2 -2
- package/node_modules/@comis/gateway/dist/web/media-routes.js +3 -2
- package/node_modules/@comis/gateway/dist/web/rest-api.js +3 -3
- package/node_modules/@comis/gateway/dist/webhook/hmac-verifier.js +2 -1
- package/node_modules/@comis/gateway/dist/webhook/webhook-endpoint.d.ts +0 -4
- package/node_modules/@comis/gateway/dist/webhook/webhook-endpoint.js +2 -1
- package/node_modules/@comis/gateway/package.json +1 -1
- package/node_modules/@comis/infra/dist/index.d.ts +5 -2
- package/node_modules/@comis/infra/dist/index.js +10 -1
- package/node_modules/@comis/infra/dist/logging/index.d.ts +2 -2
- package/node_modules/@comis/infra/dist/logging/index.js +8 -2
- package/node_modules/@comis/infra/dist/logging/logger.d.ts +23 -5
- package/node_modules/@comis/infra/dist/logging/logger.js +19 -4
- package/node_modules/@comis/infra/dist/runtime/clock.d.ts +12 -0
- package/node_modules/@comis/infra/dist/runtime/clock.js +6 -0
- package/node_modules/@comis/infra/dist/runtime/env.d.ts +15 -0
- package/node_modules/@comis/infra/dist/runtime/env.js +11 -0
- package/node_modules/@comis/infra/dist/runtime/timers.d.ts +20 -0
- package/node_modules/@comis/infra/dist/runtime/timers.js +27 -0
- package/node_modules/@comis/infra/package.json +1 -1
- package/node_modules/@comis/memory/dist/compaction.d.ts +3 -4
- package/node_modules/@comis/memory/dist/compaction.js +6 -5
- package/node_modules/@comis/memory/dist/context-store.d.ts +3 -119
- package/node_modules/@comis/memory/dist/context-store.js +110 -38
- package/node_modules/@comis/memory/dist/credential-mapping-store.js +25 -8
- package/node_modules/@comis/memory/dist/delivery-mirror-adapter.js +12 -5
- package/node_modules/@comis/memory/dist/delivery-queue-adapter.js +40 -12
- package/node_modules/@comis/memory/dist/embedding-cache-sqlite.js +16 -7
- package/node_modules/@comis/memory/dist/hybrid-search.js +37 -3
- package/node_modules/@comis/memory/dist/identity-link-store.js +14 -4
- package/node_modules/@comis/memory/dist/index.d.ts +5 -5
- package/node_modules/@comis/memory/dist/index.js +10 -1
- package/node_modules/@comis/memory/dist/memory-api.d.ts +2 -3
- package/node_modules/@comis/memory/dist/memory-api.js +25 -9
- package/node_modules/@comis/memory/dist/named-graph-store.js +22 -6
- package/node_modules/@comis/memory/dist/oauth-profile-store-encrypted.js +31 -24
- package/node_modules/@comis/memory/dist/observability-store/index.d.ts +27 -0
- package/node_modules/@comis/memory/dist/observability-store/index.js +35 -0
- package/node_modules/@comis/memory/dist/observability-store/observability-mutations.d.ts +20 -0
- package/node_modules/@comis/memory/dist/observability-store/observability-mutations.js +63 -0
- package/node_modules/@comis/memory/dist/observability-store/observability-queries.d.ts +20 -0
- package/node_modules/@comis/memory/dist/observability-store/observability-queries.js +256 -0
- package/node_modules/@comis/memory/dist/observability-store/observability-reset.d.ts +20 -0
- package/node_modules/@comis/memory/dist/observability-store/observability-reset.js +61 -0
- package/node_modules/@comis/memory/dist/observability-store/observability-store-types.d.ts +336 -0
- package/node_modules/@comis/memory/dist/observability-store/observability-store-types.js +116 -0
- package/node_modules/@comis/memory/dist/row-mapper.d.ts +62 -0
- package/node_modules/@comis/memory/dist/row-mapper.js +113 -5
- package/node_modules/@comis/memory/dist/row-schemas.d.ts +559 -0
- package/node_modules/@comis/memory/dist/row-schemas.js +560 -0
- package/node_modules/@comis/memory/dist/schema.js +1 -0
- package/node_modules/@comis/memory/dist/secret-store-schema.js +3 -1
- package/node_modules/@comis/memory/dist/session-store.d.ts +3 -75
- package/node_modules/@comis/memory/dist/session-store.js +37 -9
- package/node_modules/@comis/memory/dist/sqlite-adapter-base.d.ts +3 -3
- package/node_modules/@comis/memory/dist/sqlite-adapter-base.js +3 -3
- package/node_modules/@comis/memory/dist/sqlite-memory-adapter.js +55 -34
- package/node_modules/@comis/memory/dist/sqlite-secret-store.js +35 -4
- package/node_modules/@comis/memory/dist/types.d.ts +0 -114
- package/node_modules/@comis/memory/dist/types.js +7 -0
- package/node_modules/@comis/memory/package.json +1 -1
- package/node_modules/@comis/orchestrator/dist/channel-manager.d.ts +230 -0
- package/node_modules/@comis/orchestrator/dist/channel-manager.js +229 -0
- package/node_modules/@comis/orchestrator/dist/commands/command-handler.js +509 -0
- package/node_modules/@comis/orchestrator/dist/cross-session/announcement-batcher.js +235 -0
- package/node_modules/@comis/orchestrator/dist/cross-session/announcement-dead-letter.d.ts +92 -0
- package/node_modules/@comis/orchestrator/dist/cross-session/announcement-dead-letter.js +219 -0
- package/node_modules/@comis/orchestrator/dist/cross-session/cross-session-sender.js +145 -0
- package/node_modules/@comis/orchestrator/dist/execution/execution-deliver.d.ts +20 -0
- package/node_modules/@comis/orchestrator/dist/execution/execution-deliver.js +173 -0
- package/node_modules/@comis/orchestrator/dist/execution/execution-execute.d.ts +45 -0
- package/node_modules/@comis/orchestrator/dist/execution/execution-execute.js +176 -0
- package/node_modules/@comis/orchestrator/dist/execution/execution-filter.d.ts +30 -0
- package/node_modules/@comis/orchestrator/dist/execution/execution-filter.js +182 -0
- package/node_modules/@comis/orchestrator/dist/execution/execution-pipeline.d.ts +106 -0
- package/node_modules/@comis/orchestrator/dist/execution/execution-pipeline.js +294 -0
- package/node_modules/@comis/orchestrator/dist/execution/execution-policy.d.ts +34 -0
- package/node_modules/@comis/orchestrator/dist/execution/execution-policy.js +127 -0
- package/node_modules/@comis/orchestrator/dist/inbound/inbound-gate.d.ts +35 -0
- package/node_modules/@comis/orchestrator/dist/inbound/inbound-gate.js +387 -0
- package/node_modules/@comis/orchestrator/dist/inbound/inbound-pipeline.d.ts +158 -0
- package/node_modules/@comis/orchestrator/dist/inbound/inbound-pipeline.js +90 -0
- package/node_modules/@comis/orchestrator/dist/inbound/inbound-preprocess.js +83 -0
- package/node_modules/@comis/orchestrator/dist/inbound/inbound-resolve.js +57 -0
- package/node_modules/@comis/orchestrator/dist/inbound/inbound-route.d.ts +24 -0
- package/node_modules/@comis/orchestrator/dist/inbound/inbound-route.js +248 -0
- package/node_modules/@comis/orchestrator/dist/inbound/inbound-setup.d.ts +32 -0
- package/node_modules/@comis/orchestrator/dist/inbound/inbound-setup.js +147 -0
- package/node_modules/@comis/orchestrator/dist/index.d.ts +31 -0
- package/node_modules/@comis/orchestrator/dist/index.js +75 -0
- package/node_modules/@comis/orchestrator/dist/queue/coalescer.js +59 -0
- package/node_modules/@comis/orchestrator/dist/queue/command-queue.d.ts +88 -0
- package/node_modules/@comis/orchestrator/dist/queue/command-queue.js +351 -0
- package/node_modules/@comis/orchestrator/dist/queue/debounce-buffer.js +132 -0
- package/node_modules/@comis/orchestrator/dist/queue/followup-trigger.js +63 -0
- package/node_modules/@comis/orchestrator/dist/queue/overflow.js +98 -0
- package/node_modules/@comis/orchestrator/dist/queue/priority-scheduler.js +200 -0
- package/node_modules/@comis/orchestrator/dist/session-key/session-key-builder.d.ts +49 -0
- package/node_modules/@comis/orchestrator/dist/session-key/session-key-builder.js +100 -0
- package/node_modules/@comis/orchestrator/package.json +44 -0
- package/node_modules/@comis/scheduler/dist/cron/cron-expression.js +3 -2
- package/node_modules/@comis/scheduler/dist/cron/cron-scheduler.d.ts +1 -1
- package/node_modules/@comis/scheduler/dist/cron/cron-scheduler.js +6 -5
- package/node_modules/@comis/scheduler/dist/cron/cron-store.js +13 -7
- package/node_modules/@comis/scheduler/dist/cron/cron-types.d.ts +0 -42
- package/node_modules/@comis/scheduler/dist/cron/index.d.ts +1 -1
- package/node_modules/@comis/scheduler/dist/execution/execution-tracker.js +1 -0
- package/node_modules/@comis/scheduler/dist/execution/index.d.ts +0 -2
- package/node_modules/@comis/scheduler/dist/execution/index.js +4 -3
- package/node_modules/@comis/scheduler/dist/heartbeat/agent-heartbeat-source.d.ts +36 -10
- package/node_modules/@comis/scheduler/dist/heartbeat/agent-heartbeat-source.js +26 -14
- package/node_modules/@comis/scheduler/dist/heartbeat/delivery-bridge.js +5 -4
- package/node_modules/@comis/scheduler/dist/heartbeat/heartbeat-runner.js +3 -3
- package/node_modules/@comis/scheduler/dist/heartbeat/per-agent-heartbeat-runner.js +4 -3
- package/node_modules/@comis/scheduler/dist/heartbeat/prompt-builder.js +2 -1
- package/node_modules/@comis/scheduler/dist/heartbeat/quiet-hours.js +3 -1
- package/node_modules/@comis/scheduler/dist/heartbeat/response-cache.d.ts +4 -1
- package/node_modules/@comis/scheduler/dist/heartbeat/response-cache.js +6 -2
- package/node_modules/@comis/scheduler/dist/heartbeat/wake-coalescer.js +7 -6
- package/node_modules/@comis/scheduler/dist/index.d.ts +1 -3
- package/node_modules/@comis/scheduler/dist/index.js +3 -2
- package/node_modules/@comis/scheduler/dist/system-events/system-event-types.d.ts +0 -3
- package/node_modules/@comis/scheduler/dist/tasks/task-priority.js +2 -1
- package/node_modules/@comis/scheduler/dist/tasks/task-store.js +3 -2
- package/node_modules/@comis/scheduler/dist/tasks/task-types.d.ts +0 -17
- package/node_modules/@comis/scheduler/package.json +1 -1
- package/node_modules/@comis/shared/dist/index.d.ts +3 -0
- package/node_modules/@comis/shared/dist/index.js +4 -0
- package/node_modules/@comis/shared/dist/mcp-tool-name.d.ts +78 -0
- package/node_modules/@comis/shared/dist/mcp-tool-name.js +92 -0
- package/node_modules/@comis/shared/dist/silent-tokens.d.ts +38 -0
- package/node_modules/@comis/shared/dist/silent-tokens.js +51 -0
- package/node_modules/@comis/shared/dist/timeout.d.ts +16 -1
- package/node_modules/@comis/shared/dist/timeout.js +19 -4
- package/node_modules/@comis/shared/dist/ttl-cache.d.ts +13 -3
- package/node_modules/@comis/shared/dist/ttl-cache.js +12 -2
- package/node_modules/@comis/shared/dist/visible-delivery.d.ts +28 -0
- package/node_modules/@comis/shared/dist/visible-delivery.js +16 -0
- package/node_modules/@comis/shared/package.json +1 -1
- package/node_modules/@comis/skills/dist/index.d.ts +9 -57
- package/node_modules/@comis/skills/dist/index.js +9 -107
- package/node_modules/@comis/skills/dist/platform-tools/admin-manage-factory.d.ts +70 -0
- package/node_modules/@comis/skills/dist/platform-tools/admin-manage-factory.js +118 -0
- package/node_modules/@comis/skills/dist/platform-tools/index.d.ts +68 -0
- package/node_modules/@comis/skills/dist/platform-tools/index.js +84 -0
- package/node_modules/@comis/skills/dist/platform-tools/messaging-factory.d.ts +92 -0
- package/node_modules/@comis/skills/dist/platform-tools/messaging-factory.js +99 -0
- package/node_modules/@comis/skills/dist/platform-tools/platform-action-tool.d.ts +60 -0
- package/node_modules/@comis/skills/dist/platform-tools/registry.d.ts +104 -0
- package/node_modules/@comis/skills/dist/platform-tools/registry.js +324 -0
- package/node_modules/@comis/skills/dist/platform-tools/tool-helpers.d.ts +163 -0
- package/node_modules/@comis/skills/dist/platform-tools/tool-helpers.js +238 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/agents-manage-tool.d.ts +116 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/agents-manage-tool.js +401 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/background-tasks-tool.d.ts +54 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/background-tasks-tool.js +158 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/browser-tool-schema.d.ts +88 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/browser-tool.d.ts +43 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/browser-tool.js +98 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/channels-manage-tool.d.ts +37 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/channels-manage-tool.js +140 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/cron-tool.d.ts +49 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/cron-tool.js +172 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/ctx-expand-tool.d.ts +25 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/ctx-expand-tool.js +48 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/ctx-inspect-tool.d.ts +23 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/ctx-inspect-tool.js +47 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/ctx-recall-tool.d.ts +27 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/ctx-recall-tool.js +62 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/ctx-search-tool.d.ts +27 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/ctx-search-tool.js +52 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/describe-video-tool.d.ts +24 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/describe-video-tool.js +53 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/discord-action-tool.d.ts +30 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/discord-action-tool.js +90 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/extract-document-tool.d.ts +24 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/extract-document-tool.js +53 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/gateway-tool.d.ts +59 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/gateway-tool.js +274 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/heartbeat-manage-tool.d.ts +37 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/heartbeat-manage-tool.js +139 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/image-generate-tool.d.ts +27 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/image-generate-tool.js +41 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/image-tool.d.ts +28 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/image-tool.js +73 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/mcp-manage-tool.d.ts +24 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/mcp-manage-tool.js +109 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-get-tool.d.ts +28 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-get-tool.js +55 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-manage-tool.d.ts +42 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-manage-tool.js +183 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-search-tool.d.ts +24 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-search-tool.js +44 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-store-tool.d.ts +23 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-store-tool.js +66 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/message-tool.d.ts +50 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/message-tool.js +209 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/models-manage-tool.d.ts +33 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/models-manage-tool.js +83 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/notify-tool.d.ts +29 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/notify-tool.js +54 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/obs-query-tool.d.ts +26 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/obs-query-tool.js +180 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/pipeline-tool.d.ts +63 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/pipeline-tool.js +461 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/providers-manage-tool.d.ts +57 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/providers-manage-tool.js +203 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/session-search-tool.d.ts +33 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/session-search-tool.js +76 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/session-status-tool.d.ts +22 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/session-status-tool.js +43 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/sessions-history-tool.d.ts +24 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/sessions-history-tool.js +51 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/sessions-list-tool.d.ts +23 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/sessions-list-tool.js +51 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/sessions-manage-tool.d.ts +34 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/sessions-manage-tool.js +82 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/sessions-send-tool.d.ts +30 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/sessions-send-tool.js +58 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/sessions-spawn-tool.d.ts +39 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/sessions-spawn-tool.js +84 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/skills-manage-tool.d.ts +39 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/skills-manage-tool.js +107 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/slack-action-tool.d.ts +24 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/slack-action-tool.js +77 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/subagents-tool.d.ts +27 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/subagents-tool.js +101 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/telegram-action-tool.d.ts +22 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/telegram-action-tool.js +72 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/tokens-manage-tool.d.ts +34 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/tokens-manage-tool.js +87 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/transcribe-audio-tool.d.ts +24 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/transcribe-audio-tool.js +53 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/tts-tool.d.ts +26 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/tts-tool.js +61 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/unified-context-tool.d.ts +35 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/unified-context-tool.js +106 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/unified-memory-tool.d.ts +45 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/unified-memory-tool.js +230 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/unified-session-tool.d.ts +33 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/unified-session-tool.js +130 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/whatsapp-action-tool.d.ts +25 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/whatsapp-action-tool.js +79 -0
- package/node_modules/@comis/skills/dist/skills/audit/skill-audit.js +72 -0
- package/node_modules/@comis/skills/dist/skills/bridge/credential-injector.d.ts +90 -0
- package/node_modules/@comis/skills/dist/skills/bridge/credential-injector.js +236 -0
- package/node_modules/@comis/skills/dist/skills/bridge/mcp-tool-bridge.d.ts +70 -0
- package/node_modules/@comis/skills/dist/skills/bridge/mcp-tool-bridge.js +242 -0
- package/node_modules/@comis/skills/dist/skills/bridge/schema-validator.js +169 -0
- package/node_modules/@comis/skills/dist/skills/bridge/tool-audit.d.ts +25 -0
- package/node_modules/@comis/skills/dist/skills/bridge/tool-audit.js +79 -0
- package/node_modules/@comis/skills/dist/skills/bridge/tool-bridge.d.ts +91 -0
- package/node_modules/@comis/skills/dist/skills/bridge/tool-bridge.js +137 -0
- package/node_modules/@comis/skills/dist/skills/bridge/tool-definition-adapter.d.ts +33 -0
- package/node_modules/@comis/skills/dist/skills/bridge/tool-metadata-enforcement.d.ts +45 -0
- package/node_modules/@comis/skills/dist/skills/bridge/tool-metadata-enforcement.js +114 -0
- package/node_modules/@comis/skills/dist/skills/bridge/tool-metadata-registry.js +493 -0
- package/node_modules/@comis/skills/dist/skills/index.d.ts +75 -0
- package/node_modules/@comis/skills/dist/skills/index.js +108 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/index.d.ts +25 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/index.js +64 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-call.d.ts +23 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-call.js +114 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-connect.d.ts +24 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-connect.js +190 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-discover.d.ts +75 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-discover.js +214 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-reconnect.d.ts +42 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-reconnect.js +234 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-types.d.ts +201 -0
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-types.js +42 -0
- package/node_modules/@comis/skills/dist/skills/manifest/capability-parser.d.ts +44 -0
- package/node_modules/@comis/skills/dist/skills/manifest/capability-parser.js +68 -0
- package/node_modules/@comis/skills/dist/skills/manifest/schema.d.ts +132 -0
- package/node_modules/@comis/skills/dist/skills/manifest/schema.js +148 -0
- package/node_modules/@comis/skills/dist/skills/policy/tool-policy.d.ts +74 -0
- package/node_modules/@comis/skills/dist/skills/prompt/sanitizer.d.ts +57 -0
- package/node_modules/@comis/skills/dist/skills/prompt/sanitizer.js +67 -0
- package/node_modules/@comis/skills/dist/skills/registry/discovery.d.ts +102 -0
- package/node_modules/@comis/skills/dist/skills/registry/discovery.js +339 -0
- package/node_modules/@comis/skills/dist/skills/registry/skill-registry/index.d.ts +17 -0
- package/node_modules/@comis/skills/dist/skills/registry/skill-registry/index.js +18 -0
- package/node_modules/@comis/skills/dist/skills/registry/skill-registry/skill-registry-cache.d.ts +34 -0
- package/node_modules/@comis/skills/dist/skills/registry/skill-registry/skill-registry-cache.js +391 -0
- package/node_modules/@comis/skills/dist/skills/registry/skill-registry/skill-registry-discovery.d.ts +67 -0
- package/node_modules/@comis/skills/dist/skills/registry/skill-registry/skill-registry-discovery.js +224 -0
- package/node_modules/@comis/skills/dist/skills/registry/skill-registry/skill-registry-types.d.ts +160 -0
- package/node_modules/@comis/skills/dist/skills/registry/skill-registry/skill-registry-types.js +17 -0
- package/node_modules/@comis/skills/dist/skills/registry/skill-watcher.js +167 -0
- package/node_modules/@comis/skills/dist/tools/browser/browser-service.js +193 -0
- package/node_modules/@comis/skills/dist/tools/browser/cdp.d.ts +59 -0
- package/node_modules/@comis/skills/dist/tools/browser/cdp.js +95 -0
- package/node_modules/@comis/skills/dist/tools/browser/chrome-detection.d.ts +50 -0
- package/node_modules/@comis/skills/dist/tools/browser/chrome-detection.js +325 -0
- package/node_modules/@comis/skills/dist/tools/browser/playwright-actions.js +242 -0
- package/node_modules/@comis/skills/dist/tools/browser/playwright-session.js +343 -0
- package/node_modules/@comis/skills/dist/tools/browser/profiles.js +71 -0
- package/node_modules/@comis/skills/dist/tools/browser/screenshots.js +66 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-security/exec-security-allowlist.d.ts +72 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-security/exec-security-allowlist.js +391 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-security/exec-security-pre-check.d.ts +87 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-security/exec-security-pre-check.js +331 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-security/exec-security-sandbox.d.ts +75 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-security/exec-security-sandbox.js +332 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-security/index.d.ts +13 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-security/index.js +18 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/exec-background.d.ts +23 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/exec-background.js +213 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/exec-foreground.d.ts +14 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/exec-foreground.js +338 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/exec-shared.d.ts +102 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/exec-shared.js +386 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/exec-types.d.ts +100 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/exec-types.js +60 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/index.d.ts +27 -0
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/index.js +155 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file/apply-patch-tool.d.ts +17 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file/apply-patch-tool.js +419 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file/file-state-tracker.js +139 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file/file-tools.d.ts +31 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file/path-suggest.js +209 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/edit-tool.d.ts +41 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/edit-tool.js +309 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/find-tool.d.ts +37 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/find-tool.js +314 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/grep-tool.d.ts +47 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/grep-tool.js +425 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/ls-tool.d.ts +35 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/ls-tool.js +167 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/notebook-edit-tool.d.ts +33 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/notebook-edit-tool.js +196 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/read-tool.d.ts +51 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/read-tool.js +428 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/shared/edit-diff.js +576 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/write-tool.d.ts +37 -0
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/write-tool.js +284 -0
- package/node_modules/@comis/skills/dist/tools/builtin/install-detour.d.ts +67 -0
- package/node_modules/@comis/skills/dist/tools/builtin/install-detour.js +342 -0
- package/node_modules/@comis/skills/dist/tools/builtin/process-registry.d.ts +88 -0
- package/node_modules/@comis/skills/dist/tools/builtin/process-registry.js +215 -0
- package/node_modules/@comis/skills/dist/tools/builtin/process-tool.d.ts +56 -0
- package/node_modules/@comis/skills/dist/tools/builtin/process-tool.js +122 -0
- package/node_modules/@comis/skills/dist/tools/builtin/sandbox/bwrap-provider.d.ts +30 -0
- package/node_modules/@comis/skills/dist/tools/builtin/sandbox/bwrap-provider.js +281 -0
- package/node_modules/@comis/skills/dist/tools/builtin/sandbox/sandbox-exec-provider.js +182 -0
- package/node_modules/@comis/skills/dist/tools/builtin/tool-provisioner.js +227 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-fetch-tool.d.ts +78 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-fetch-tool.js +528 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-brave.js +148 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-duckduckgo.js +193 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-exa.js +85 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-grok.js +88 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-jina.js +95 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-perplexity.js +116 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-searxng.js +101 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-tavily.js +88 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-tool/index.d.ts +53 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-tool/index.js +100 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-tool/web-search-formatting.d.ts +78 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-tool/web-search-formatting.js +258 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-tool/web-search-normalization.d.ts +63 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-tool/web-search-normalization.js +172 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-tool/web-search-providers.d.ts +124 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-tool/web-search-providers.js +207 -0
- package/node_modules/@comis/skills/dist/tools/builtin/web-shared.js +128 -0
- package/node_modules/@comis/skills/dist/tools/index.d.ts +63 -0
- package/node_modules/@comis/skills/dist/tools/index.js +76 -0
- package/node_modules/@comis/skills/dist/tools/integrations/deepgram-stt-adapter.js +82 -0
- package/node_modules/@comis/skills/dist/tools/integrations/document/file-extractor.js +149 -0
- package/node_modules/@comis/skills/dist/tools/integrations/document/pdf-extractor.js +215 -0
- package/node_modules/@comis/skills/dist/tools/integrations/groq-stt-adapter.js +77 -0
- package/node_modules/@comis/skills/dist/tools/integrations/image-gen/rate-limiter.d.ts +19 -0
- package/node_modules/@comis/skills/dist/tools/integrations/image-gen/rate-limiter.js +37 -0
- package/node_modules/@comis/skills/dist/tools/integrations/link/link-fetcher.js +74 -0
- package/node_modules/@comis/skills/dist/tools/integrations/media-handler-audio.js +63 -0
- package/node_modules/@comis/skills/dist/tools/integrations/openai-stt-adapter.js +79 -0
- package/node_modules/@comis/skills/dist/tools/media/audio-converter.d.ts +39 -0
- package/node_modules/@comis/skills/dist/tools/media/audio-converter.js +154 -0
- package/node_modules/@comis/skills/dist/tools/media/media-persistence.d.ts +64 -0
- package/node_modules/@comis/skills/dist/tools/media/media-persistence.js +95 -0
- package/node_modules/@comis/skills/dist/tools/media/media-store.d.ts +64 -0
- package/node_modules/@comis/skills/dist/tools/media/media-store.js +178 -0
- package/node_modules/@comis/skills/dist/tools/media/media-temp.d.ts +53 -0
- package/node_modules/@comis/skills/dist/tools/media/media-temp.js +135 -0
- package/node_modules/@comis/skills/dist/tools/media/ssrf-fetcher.js +216 -0
- package/node_modules/@comis/skills/package.json +11 -5
- package/node_modules/@comis/web/dist/assets/agent-detail-DXSFtHWB.js +615 -0
- package/node_modules/@comis/web/dist/assets/agent-editor-CiuLrd4A.js +2173 -0
- package/node_modules/@comis/web/dist/assets/agent-list-CSZqnk49.js +504 -0
- package/node_modules/@comis/web/dist/assets/billing-view-Dt9hN2-S.js +375 -0
- package/node_modules/@comis/web/dist/assets/channel-detail-Bxd-eTyq.js +681 -0
- package/node_modules/@comis/web/dist/assets/channel-list-BTQK5Su0.js +323 -0
- package/node_modules/@comis/web/dist/assets/chat-console-BWFla-NT.js +522 -0
- package/node_modules/@comis/web/dist/assets/config-editor-B0KqHvNZ.js +880 -0
- package/node_modules/@comis/web/dist/assets/context-dag-browser-DrU6rs_2.js +393 -0
- package/node_modules/@comis/web/dist/assets/context-engine-4Or7ghQM.js +393 -0
- package/node_modules/@comis/web/dist/assets/delivery-view-DTqEXWkS.js +392 -0
- package/node_modules/@comis/web/dist/assets/diagnostics-view-BgRS9D1X.js +231 -0
- package/node_modules/@comis/web/dist/assets/ic-chat-message-b8x6Gh80.js +352 -0
- package/node_modules/@comis/web/dist/assets/ic-connection-dot-gE_3dfRP.js +54 -0
- package/node_modules/@comis/web/dist/assets/ic-delivery-row-F-EU0Xak.js +67 -0
- package/node_modules/@comis/web/dist/assets/ic-empty-state-BRy4ZXds.js +52 -0
- package/node_modules/@comis/web/dist/assets/ic-graph-canvas-BoTtvCKw.js +359 -0
- package/node_modules/@comis/web/dist/assets/ic-relative-time-D6XlY7ay.js +12 -0
- package/node_modules/@comis/web/dist/assets/ic-search-input-BpNiR0Fq.js +92 -0
- package/node_modules/@comis/web/dist/assets/ic-time-range-picker-BBLngsQy.js +93 -0
- package/node_modules/@comis/web/dist/assets/ic-tool-call-BgawpBdb.js +146 -0
- package/node_modules/@comis/web/dist/assets/index-D-Jo4yjp.css +2 -0
- package/node_modules/@comis/web/dist/assets/index-D_ZV_sV5.js +2793 -0
- package/node_modules/@comis/web/dist/assets/mcp-management-b4i92dMD.js +582 -0
- package/node_modules/@comis/web/dist/assets/media-config-CWrVZl6U.js +314 -0
- package/node_modules/@comis/web/dist/assets/media-test-Bmo-rRC7.js +496 -0
- package/node_modules/@comis/web/dist/assets/memory-inspector-BxrE6SZ2.js +1139 -0
- package/node_modules/@comis/web/dist/assets/message-center-DWeWxIrB.js +372 -0
- package/node_modules/@comis/web/dist/assets/models-Kqn-n6hZ.js +894 -0
- package/node_modules/@comis/web/dist/assets/observe-view-D6TtO4wV.js +814 -0
- package/node_modules/@comis/web/dist/assets/pipeline-builder-B37sMf0m.js +1495 -0
- package/node_modules/@comis/web/dist/assets/pipeline-history-DsOViMHn.js +317 -0
- package/node_modules/@comis/web/dist/assets/pipeline-history-detail-D6g-NB_Q.js +287 -0
- package/node_modules/@comis/web/dist/assets/pipeline-list-Cdq3gXY-.js +518 -0
- package/node_modules/@comis/web/dist/assets/pipeline-monitor-5Cpf53xw.js +972 -0
- package/node_modules/@comis/web/dist/assets/scheduler-BhvTHH12.js +1182 -0
- package/node_modules/@comis/web/dist/assets/security-CVla4rqz.js +1224 -0
- package/node_modules/@comis/web/dist/assets/session-detail-DY2vzwAA.js +632 -0
- package/node_modules/@comis/web/dist/assets/session-key-parser-DKcjXRm7.js +1 -0
- package/node_modules/@comis/web/dist/assets/session-list-Do6x1E42.js +231 -0
- package/node_modules/@comis/web/dist/assets/setup-wizard-BWXGUpsz.js +466 -0
- package/node_modules/@comis/web/dist/assets/skills-LNGRvGqi.js +317 -0
- package/node_modules/@comis/web/dist/assets/subagents-Cw3fWHL2.js +193 -0
- package/node_modules/@comis/web/dist/assets/system-time-B0nBw4nV.js +1 -0
- package/node_modules/@comis/web/dist/assets/workspace-manager-CQEZ9ckL.js +785 -0
- package/node_modules/@comis/web/dist/index.html +3 -2
- package/node_modules/@comis/web/package.json +1 -1
- package/package.json +30 -24
- package/node_modules/@comis/agent/dist/commands/command-handler.js +0 -508
- package/node_modules/@comis/agent/dist/executor/cache-break-detection.d.ts +0 -228
- package/node_modules/@comis/agent/dist/executor/cache-break-detection.js +0 -656
- package/node_modules/@comis/agent/dist/executor/executor-prompt-runner.d.ts +0 -136
- package/node_modules/@comis/agent/dist/executor/executor-prompt-runner.js +0 -992
- package/node_modules/@comis/agent/dist/executor/pi-executor.d.ts +0 -216
- package/node_modules/@comis/agent/dist/executor/pi-executor.js +0 -1202
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/__test-helpers.d.ts +0 -9
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/__test-helpers.js +0 -43
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body-injector.d.ts +0 -282
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body-injector.js +0 -1732
- package/node_modules/@comis/agent/dist/model/model-catalog.d.ts +0 -93
- package/node_modules/@comis/agent/dist/model/model-catalog.js +0 -152
- package/node_modules/@comis/agent/dist/model/oauth-credential-store-file.d.ts +0 -37
- package/node_modules/@comis/agent/dist/model/oauth-credential-store-file.js +0 -279
- package/node_modules/@comis/agent/dist/model/oauth-credential-store-selector.d.ts +0 -49
- package/node_modules/@comis/agent/dist/model/oauth-credential-store-selector.js +0 -50
- package/node_modules/@comis/agent/dist/model/oauth-device-code.d.ts +0 -57
- package/node_modules/@comis/agent/dist/model/oauth-device-code.js +0 -302
- package/node_modules/@comis/agent/dist/model/oauth-errors.d.ts +0 -41
- package/node_modules/@comis/agent/dist/model/oauth-errors.js +0 -88
- package/node_modules/@comis/agent/dist/model/oauth-identity.d.ts +0 -53
- package/node_modules/@comis/agent/dist/model/oauth-identity.js +0 -141
- package/node_modules/@comis/agent/dist/model/oauth-login-runner.d.ts +0 -99
- package/node_modules/@comis/agent/dist/model/oauth-login-runner.js +0 -374
- package/node_modules/@comis/agent/dist/queue/coalescer.js +0 -58
- package/node_modules/@comis/agent/dist/queue/command-queue.d.ts +0 -88
- package/node_modules/@comis/agent/dist/queue/command-queue.js +0 -351
- package/node_modules/@comis/agent/dist/queue/debounce-buffer.js +0 -132
- package/node_modules/@comis/agent/dist/queue/followup-trigger.js +0 -62
- package/node_modules/@comis/agent/dist/queue/overflow.js +0 -97
- package/node_modules/@comis/agent/dist/queue/priority-scheduler.js +0 -198
- package/node_modules/@comis/agent/dist/session/session-key-builder.d.ts +0 -46
- package/node_modules/@comis/agent/dist/session/session-key-builder.js +0 -100
- package/node_modules/@comis/channels/dist/shared/channel-manager.d.ts +0 -187
- package/node_modules/@comis/channels/dist/shared/channel-manager.js +0 -230
- package/node_modules/@comis/channels/dist/shared/chunk-for-delivery.d.ts +0 -40
- package/node_modules/@comis/channels/dist/shared/chunk-for-delivery.js +0 -77
- package/node_modules/@comis/channels/dist/shared/deliver-to-channel.d.ts +0 -166
- package/node_modules/@comis/channels/dist/shared/deliver-to-channel.js +0 -533
- package/node_modules/@comis/channels/dist/shared/execution-deliver.d.ts +0 -21
- package/node_modules/@comis/channels/dist/shared/execution-deliver.js +0 -174
- package/node_modules/@comis/channels/dist/shared/execution-execute.d.ts +0 -45
- package/node_modules/@comis/channels/dist/shared/execution-execute.js +0 -175
- package/node_modules/@comis/channels/dist/shared/execution-filter.d.ts +0 -30
- package/node_modules/@comis/channels/dist/shared/execution-filter.js +0 -186
- package/node_modules/@comis/channels/dist/shared/execution-pipeline.d.ts +0 -103
- package/node_modules/@comis/channels/dist/shared/execution-pipeline.js +0 -294
- package/node_modules/@comis/channels/dist/shared/execution-policy.d.ts +0 -34
- package/node_modules/@comis/channels/dist/shared/execution-policy.js +0 -128
- package/node_modules/@comis/channels/dist/shared/inbound-gate.d.ts +0 -35
- package/node_modules/@comis/channels/dist/shared/inbound-gate.js +0 -371
- package/node_modules/@comis/channels/dist/shared/inbound-pipeline.d.ts +0 -152
- package/node_modules/@comis/channels/dist/shared/inbound-pipeline.js +0 -89
- package/node_modules/@comis/channels/dist/shared/inbound-preprocess.js +0 -83
- package/node_modules/@comis/channels/dist/shared/inbound-resolve.js +0 -55
- package/node_modules/@comis/channels/dist/shared/inbound-route.d.ts +0 -26
- package/node_modules/@comis/channels/dist/shared/inbound-route.js +0 -236
- package/node_modules/@comis/channels/dist/shared/inbound-setup.d.ts +0 -32
- package/node_modules/@comis/channels/dist/shared/inbound-setup.js +0 -148
- package/node_modules/@comis/channels/dist/shared/retry-engine.d.ts +0 -88
- package/node_modules/@comis/channels/dist/shared/retry-engine.js +0 -258
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter.d.ts +0 -36
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter.js +0 -679
- package/node_modules/@comis/core/dist/config/schema-agent.d.ts +0 -2500
- package/node_modules/@comis/core/dist/config/schema-agent.js +0 -790
- package/node_modules/@comis/core/dist/hooks/hook-runner-global.d.ts +0 -4
- package/node_modules/@comis/core/dist/hooks/hook-runner-global.js +0 -22
- package/node_modules/@comis/daemon/dist/announcement-batcher.js +0 -229
- package/node_modules/@comis/daemon/dist/announcement-dead-letter.d.ts +0 -71
- package/node_modules/@comis/daemon/dist/announcement-dead-letter.js +0 -216
- package/node_modules/@comis/daemon/dist/cross-session-sender.js +0 -144
- package/node_modules/@comis/daemon/dist/rpc/agent-handlers.d.ts +0 -64
- package/node_modules/@comis/daemon/dist/rpc/agent-handlers.js +0 -466
- package/node_modules/@comis/daemon/dist/rpc/agent-inline-workspace.d.ts +0 -67
- package/node_modules/@comis/daemon/dist/rpc/agent-inline-workspace.js +0 -139
- package/node_modules/@comis/daemon/dist/rpc/approval-handlers.d.ts +0 -18
- package/node_modules/@comis/daemon/dist/rpc/approval-handlers.js +0 -68
- package/node_modules/@comis/daemon/dist/rpc/browser-handlers.d.ts +0 -22
- package/node_modules/@comis/daemon/dist/rpc/browser-handlers.js +0 -118
- package/node_modules/@comis/daemon/dist/rpc/builtin-provider-guard.js +0 -60
- package/node_modules/@comis/daemon/dist/rpc/channel-handlers.d.ts +0 -34
- package/node_modules/@comis/daemon/dist/rpc/channel-handlers.js +0 -217
- package/node_modules/@comis/daemon/dist/rpc/config-handlers.d.ts +0 -103
- package/node_modules/@comis/daemon/dist/rpc/config-handlers.js +0 -1008
- package/node_modules/@comis/daemon/dist/rpc/context-handlers.d.ts +0 -42
- package/node_modules/@comis/daemon/dist/rpc/context-handlers.js +0 -371
- package/node_modules/@comis/daemon/dist/rpc/credential-resolver.js +0 -162
- package/node_modules/@comis/daemon/dist/rpc/cron-handlers.d.ts +0 -22
- package/node_modules/@comis/daemon/dist/rpc/cron-handlers.js +0 -204
- package/node_modules/@comis/daemon/dist/rpc/daemon-handlers.d.ts +0 -19
- package/node_modules/@comis/daemon/dist/rpc/daemon-handlers.js +0 -49
- package/node_modules/@comis/daemon/dist/rpc/env-handlers.d.ts +0 -26
- package/node_modules/@comis/daemon/dist/rpc/env-handlers.js +0 -289
- package/node_modules/@comis/daemon/dist/rpc/graph-handlers.d.ts +0 -84
- package/node_modules/@comis/daemon/dist/rpc/graph-handlers.js +0 -803
- package/node_modules/@comis/daemon/dist/rpc/heartbeat-handlers.d.ts +0 -30
- package/node_modules/@comis/daemon/dist/rpc/heartbeat-handlers.js +0 -195
- package/node_modules/@comis/daemon/dist/rpc/image-handlers.d.ts +0 -28
- package/node_modules/@comis/daemon/dist/rpc/image-handlers.js +0 -95
- package/node_modules/@comis/daemon/dist/rpc/index.d.ts +0 -24
- package/node_modules/@comis/daemon/dist/rpc/index.js +0 -23
- package/node_modules/@comis/daemon/dist/rpc/mcp-handlers.d.ts +0 -32
- package/node_modules/@comis/daemon/dist/rpc/mcp-handlers.js +0 -209
- package/node_modules/@comis/daemon/dist/rpc/media-handlers.d.ts +0 -59
- package/node_modules/@comis/daemon/dist/rpc/media-handlers.js +0 -480
- package/node_modules/@comis/daemon/dist/rpc/memory-handlers.d.ts +0 -36
- package/node_modules/@comis/daemon/dist/rpc/memory-handlers.js +0 -246
- package/node_modules/@comis/daemon/dist/rpc/message-handlers.d.ts +0 -45
- package/node_modules/@comis/daemon/dist/rpc/message-handlers.js +0 -317
- package/node_modules/@comis/daemon/dist/rpc/model-handlers.d.ts +0 -30
- package/node_modules/@comis/daemon/dist/rpc/model-handlers.js +0 -142
- package/node_modules/@comis/daemon/dist/rpc/notification-handlers.d.ts +0 -25
- package/node_modules/@comis/daemon/dist/rpc/notification-handlers.js +0 -56
- package/node_modules/@comis/daemon/dist/rpc/obs-handlers.d.ts +0 -86
- package/node_modules/@comis/daemon/dist/rpc/obs-handlers.js +0 -570
- package/node_modules/@comis/daemon/dist/rpc/persist-to-config.d.ts +0 -74
- package/node_modules/@comis/daemon/dist/rpc/persist-to-config.js +0 -204
- package/node_modules/@comis/daemon/dist/rpc/provider-handlers.d.ts +0 -37
- package/node_modules/@comis/daemon/dist/rpc/provider-handlers.js +0 -403
- package/node_modules/@comis/daemon/dist/rpc/rpc-dispatch.d.ts +0 -205
- package/node_modules/@comis/daemon/dist/rpc/rpc-dispatch.js +0 -241
- package/node_modules/@comis/daemon/dist/rpc/session-handlers.d.ts +0 -73
- package/node_modules/@comis/daemon/dist/rpc/session-handlers.js +0 -854
- package/node_modules/@comis/daemon/dist/rpc/skill-handlers.d.ts +0 -34
- package/node_modules/@comis/daemon/dist/rpc/skill-handlers.js +0 -444
- package/node_modules/@comis/daemon/dist/rpc/subagent-handlers.d.ts +0 -25
- package/node_modules/@comis/daemon/dist/rpc/subagent-handlers.js +0 -80
- package/node_modules/@comis/daemon/dist/rpc/token-handlers.d.ts +0 -56
- package/node_modules/@comis/daemon/dist/rpc/token-handlers.js +0 -212
- package/node_modules/@comis/daemon/dist/rpc/types.d.ts +0 -2
- package/node_modules/@comis/daemon/dist/rpc/workspace-handlers.d.ts +0 -34
- package/node_modules/@comis/daemon/dist/rpc/workspace-handlers.js +0 -424
- package/node_modules/@comis/daemon/dist/sub-agent-result-processor.d.ts +0 -143
- package/node_modules/@comis/daemon/dist/sub-agent-result-processor.js +0 -493
- package/node_modules/@comis/daemon/dist/sub-agent-runner.d.ts +0 -321
- package/node_modules/@comis/daemon/dist/sub-agent-runner.js +0 -1224
- package/node_modules/@comis/daemon/dist/wiring/setup-agents.d.ts +0 -241
- package/node_modules/@comis/daemon/dist/wiring/setup-agents.js +0 -669
- package/node_modules/@comis/daemon/dist/wiring/setup-channels.d.ts +0 -173
- package/node_modules/@comis/daemon/dist/wiring/setup-channels.js +0 -779
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session.d.ts +0 -108
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session.js +0 -733
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway-rpc.d.ts +0 -31
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway-rpc.js +0 -235
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway.d.ts +0 -168
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway.js +0 -745
- package/node_modules/@comis/infra/dist/logging/log-fields.d.ts +0 -187
- package/node_modules/@comis/infra/dist/logging/log-fields.js +0 -19
- package/node_modules/@comis/memory/dist/observability-store.d.ts +0 -184
- package/node_modules/@comis/memory/dist/observability-store.js +0 -387
- package/node_modules/@comis/scheduler/dist/execution/execution-lock.d.ts +0 -45
- package/node_modules/@comis/scheduler/dist/execution/execution-lock.js +0 -86
- package/node_modules/@comis/skills/dist/audit/skill-audit.js +0 -72
- package/node_modules/@comis/skills/dist/bridge/credential-injector.d.ts +0 -90
- package/node_modules/@comis/skills/dist/bridge/credential-injector.js +0 -235
- package/node_modules/@comis/skills/dist/bridge/mcp-tool-bridge.d.ts +0 -81
- package/node_modules/@comis/skills/dist/bridge/mcp-tool-bridge.js +0 -260
- package/node_modules/@comis/skills/dist/bridge/schema-validator.js +0 -169
- package/node_modules/@comis/skills/dist/bridge/tool-audit.d.ts +0 -25
- package/node_modules/@comis/skills/dist/bridge/tool-audit.js +0 -78
- package/node_modules/@comis/skills/dist/bridge/tool-bridge.d.ts +0 -91
- package/node_modules/@comis/skills/dist/bridge/tool-bridge.js +0 -136
- package/node_modules/@comis/skills/dist/bridge/tool-definition-adapter.d.ts +0 -33
- package/node_modules/@comis/skills/dist/bridge/tool-metadata-enforcement.d.ts +0 -45
- package/node_modules/@comis/skills/dist/bridge/tool-metadata-enforcement.js +0 -113
- package/node_modules/@comis/skills/dist/bridge/tool-metadata-registry.js +0 -493
- package/node_modules/@comis/skills/dist/browser/browser-service.js +0 -192
- package/node_modules/@comis/skills/dist/browser/cdp.d.ts +0 -60
- package/node_modules/@comis/skills/dist/browser/cdp.js +0 -91
- package/node_modules/@comis/skills/dist/browser/chrome-detection.d.ts +0 -45
- package/node_modules/@comis/skills/dist/browser/chrome-detection.js +0 -256
- package/node_modules/@comis/skills/dist/browser/playwright-actions.js +0 -232
- package/node_modules/@comis/skills/dist/browser/playwright-session.js +0 -341
- package/node_modules/@comis/skills/dist/browser/profiles.js +0 -70
- package/node_modules/@comis/skills/dist/browser/screenshots.js +0 -65
- package/node_modules/@comis/skills/dist/builtin/exec-security.d.ts +0 -204
- package/node_modules/@comis/skills/dist/builtin/exec-security.js +0 -1026
- package/node_modules/@comis/skills/dist/builtin/exec-tool.d.ts +0 -84
- package/node_modules/@comis/skills/dist/builtin/exec-tool.js +0 -895
- package/node_modules/@comis/skills/dist/builtin/file/apply-patch-tool.d.ts +0 -17
- package/node_modules/@comis/skills/dist/builtin/file/apply-patch-tool.js +0 -418
- package/node_modules/@comis/skills/dist/builtin/file/file-state-tracker.js +0 -138
- package/node_modules/@comis/skills/dist/builtin/file/file-tools.d.ts +0 -31
- package/node_modules/@comis/skills/dist/builtin/file/path-suggest.js +0 -208
- package/node_modules/@comis/skills/dist/builtin/file-tools/edit-tool.d.ts +0 -41
- package/node_modules/@comis/skills/dist/builtin/file-tools/edit-tool.js +0 -308
- package/node_modules/@comis/skills/dist/builtin/file-tools/find-tool.d.ts +0 -37
- package/node_modules/@comis/skills/dist/builtin/file-tools/find-tool.js +0 -313
- package/node_modules/@comis/skills/dist/builtin/file-tools/grep-tool.d.ts +0 -47
- package/node_modules/@comis/skills/dist/builtin/file-tools/grep-tool.js +0 -424
- package/node_modules/@comis/skills/dist/builtin/file-tools/ls-tool.d.ts +0 -35
- package/node_modules/@comis/skills/dist/builtin/file-tools/ls-tool.js +0 -166
- package/node_modules/@comis/skills/dist/builtin/file-tools/notebook-edit-tool.d.ts +0 -33
- package/node_modules/@comis/skills/dist/builtin/file-tools/notebook-edit-tool.js +0 -195
- package/node_modules/@comis/skills/dist/builtin/file-tools/read-tool.d.ts +0 -51
- package/node_modules/@comis/skills/dist/builtin/file-tools/read-tool.js +0 -427
- package/node_modules/@comis/skills/dist/builtin/file-tools/shared/edit-diff.js +0 -575
- package/node_modules/@comis/skills/dist/builtin/file-tools/write-tool.d.ts +0 -37
- package/node_modules/@comis/skills/dist/builtin/file-tools/write-tool.js +0 -283
- package/node_modules/@comis/skills/dist/builtin/platform/admin-manage-factory.d.ts +0 -70
- package/node_modules/@comis/skills/dist/builtin/platform/admin-manage-factory.js +0 -118
- package/node_modules/@comis/skills/dist/builtin/platform/agents-manage-tool.d.ts +0 -117
- package/node_modules/@comis/skills/dist/builtin/platform/agents-manage-tool.js +0 -401
- package/node_modules/@comis/skills/dist/builtin/platform/background-tasks-tool.d.ts +0 -54
- package/node_modules/@comis/skills/dist/builtin/platform/background-tasks-tool.js +0 -157
- package/node_modules/@comis/skills/dist/builtin/platform/browser-tool-schema.d.ts +0 -88
- package/node_modules/@comis/skills/dist/builtin/platform/browser-tool.d.ts +0 -43
- package/node_modules/@comis/skills/dist/builtin/platform/browser-tool.js +0 -98
- package/node_modules/@comis/skills/dist/builtin/platform/channels-manage-tool.d.ts +0 -37
- package/node_modules/@comis/skills/dist/builtin/platform/channels-manage-tool.js +0 -140
- package/node_modules/@comis/skills/dist/builtin/platform/cron-tool.d.ts +0 -49
- package/node_modules/@comis/skills/dist/builtin/platform/cron-tool.js +0 -172
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-expand-tool.d.ts +0 -25
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-expand-tool.js +0 -48
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-inspect-tool.d.ts +0 -23
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-inspect-tool.js +0 -47
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-recall-tool.d.ts +0 -27
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-recall-tool.js +0 -62
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-search-tool.d.ts +0 -27
- package/node_modules/@comis/skills/dist/builtin/platform/ctx-search-tool.js +0 -52
- package/node_modules/@comis/skills/dist/builtin/platform/describe-video-tool.d.ts +0 -24
- package/node_modules/@comis/skills/dist/builtin/platform/describe-video-tool.js +0 -53
- package/node_modules/@comis/skills/dist/builtin/platform/discord-action-tool.d.ts +0 -30
- package/node_modules/@comis/skills/dist/builtin/platform/discord-action-tool.js +0 -90
- package/node_modules/@comis/skills/dist/builtin/platform/extract-document-tool.d.ts +0 -24
- package/node_modules/@comis/skills/dist/builtin/platform/extract-document-tool.js +0 -53
- package/node_modules/@comis/skills/dist/builtin/platform/gateway-tool.d.ts +0 -59
- package/node_modules/@comis/skills/dist/builtin/platform/gateway-tool.js +0 -274
- package/node_modules/@comis/skills/dist/builtin/platform/heartbeat-manage-tool.d.ts +0 -37
- package/node_modules/@comis/skills/dist/builtin/platform/heartbeat-manage-tool.js +0 -139
- package/node_modules/@comis/skills/dist/builtin/platform/image-generate-tool.d.ts +0 -27
- package/node_modules/@comis/skills/dist/builtin/platform/image-generate-tool.js +0 -41
- package/node_modules/@comis/skills/dist/builtin/platform/image-tool.d.ts +0 -28
- package/node_modules/@comis/skills/dist/builtin/platform/image-tool.js +0 -73
- package/node_modules/@comis/skills/dist/builtin/platform/index.d.ts +0 -60
- package/node_modules/@comis/skills/dist/builtin/platform/index.js +0 -74
- package/node_modules/@comis/skills/dist/builtin/platform/mcp-manage-tool.d.ts +0 -24
- package/node_modules/@comis/skills/dist/builtin/platform/mcp-manage-tool.js +0 -109
- package/node_modules/@comis/skills/dist/builtin/platform/memory-get-tool.d.ts +0 -28
- package/node_modules/@comis/skills/dist/builtin/platform/memory-get-tool.js +0 -55
- package/node_modules/@comis/skills/dist/builtin/platform/memory-manage-tool.d.ts +0 -42
- package/node_modules/@comis/skills/dist/builtin/platform/memory-manage-tool.js +0 -183
- package/node_modules/@comis/skills/dist/builtin/platform/memory-search-tool.d.ts +0 -24
- package/node_modules/@comis/skills/dist/builtin/platform/memory-search-tool.js +0 -44
- package/node_modules/@comis/skills/dist/builtin/platform/memory-store-tool.d.ts +0 -23
- package/node_modules/@comis/skills/dist/builtin/platform/memory-store-tool.js +0 -66
- package/node_modules/@comis/skills/dist/builtin/platform/message-tool.d.ts +0 -50
- package/node_modules/@comis/skills/dist/builtin/platform/message-tool.js +0 -190
- package/node_modules/@comis/skills/dist/builtin/platform/messaging-factory.d.ts +0 -75
- package/node_modules/@comis/skills/dist/builtin/platform/messaging-factory.js +0 -83
- package/node_modules/@comis/skills/dist/builtin/platform/models-manage-tool.d.ts +0 -33
- package/node_modules/@comis/skills/dist/builtin/platform/models-manage-tool.js +0 -83
- package/node_modules/@comis/skills/dist/builtin/platform/notify-tool.d.ts +0 -29
- package/node_modules/@comis/skills/dist/builtin/platform/notify-tool.js +0 -54
- package/node_modules/@comis/skills/dist/builtin/platform/obs-query-tool.d.ts +0 -26
- package/node_modules/@comis/skills/dist/builtin/platform/obs-query-tool.js +0 -179
- package/node_modules/@comis/skills/dist/builtin/platform/pipeline-tool.d.ts +0 -63
- package/node_modules/@comis/skills/dist/builtin/platform/pipeline-tool.js +0 -460
- package/node_modules/@comis/skills/dist/builtin/platform/platform-action-tool.d.ts +0 -60
- package/node_modules/@comis/skills/dist/builtin/platform/providers-manage-tool.d.ts +0 -57
- package/node_modules/@comis/skills/dist/builtin/platform/providers-manage-tool.js +0 -203
- package/node_modules/@comis/skills/dist/builtin/platform/session-search-tool.d.ts +0 -33
- package/node_modules/@comis/skills/dist/builtin/platform/session-search-tool.js +0 -76
- package/node_modules/@comis/skills/dist/builtin/platform/session-status-tool.d.ts +0 -22
- package/node_modules/@comis/skills/dist/builtin/platform/session-status-tool.js +0 -43
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-history-tool.d.ts +0 -24
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-history-tool.js +0 -51
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-list-tool.d.ts +0 -23
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-list-tool.js +0 -51
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-manage-tool.d.ts +0 -34
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-manage-tool.js +0 -82
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-send-tool.d.ts +0 -30
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-send-tool.js +0 -58
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-spawn-tool.d.ts +0 -39
- package/node_modules/@comis/skills/dist/builtin/platform/sessions-spawn-tool.js +0 -84
- package/node_modules/@comis/skills/dist/builtin/platform/skills-manage-tool.d.ts +0 -39
- package/node_modules/@comis/skills/dist/builtin/platform/skills-manage-tool.js +0 -107
- package/node_modules/@comis/skills/dist/builtin/platform/slack-action-tool.d.ts +0 -24
- package/node_modules/@comis/skills/dist/builtin/platform/slack-action-tool.js +0 -77
- package/node_modules/@comis/skills/dist/builtin/platform/subagents-tool.d.ts +0 -27
- package/node_modules/@comis/skills/dist/builtin/platform/subagents-tool.js +0 -100
- package/node_modules/@comis/skills/dist/builtin/platform/telegram-action-tool.d.ts +0 -22
- package/node_modules/@comis/skills/dist/builtin/platform/telegram-action-tool.js +0 -72
- package/node_modules/@comis/skills/dist/builtin/platform/tokens-manage-tool.d.ts +0 -34
- package/node_modules/@comis/skills/dist/builtin/platform/tokens-manage-tool.js +0 -87
- package/node_modules/@comis/skills/dist/builtin/platform/tool-helpers.d.ts +0 -163
- package/node_modules/@comis/skills/dist/builtin/platform/tool-helpers.js +0 -237
- package/node_modules/@comis/skills/dist/builtin/platform/transcribe-audio-tool.d.ts +0 -24
- package/node_modules/@comis/skills/dist/builtin/platform/transcribe-audio-tool.js +0 -53
- package/node_modules/@comis/skills/dist/builtin/platform/tts-tool.d.ts +0 -26
- package/node_modules/@comis/skills/dist/builtin/platform/tts-tool.js +0 -61
- package/node_modules/@comis/skills/dist/builtin/platform/unified-context-tool.d.ts +0 -35
- package/node_modules/@comis/skills/dist/builtin/platform/unified-context-tool.js +0 -106
- package/node_modules/@comis/skills/dist/builtin/platform/unified-memory-tool.d.ts +0 -45
- package/node_modules/@comis/skills/dist/builtin/platform/unified-memory-tool.js +0 -230
- package/node_modules/@comis/skills/dist/builtin/platform/unified-session-tool.d.ts +0 -33
- package/node_modules/@comis/skills/dist/builtin/platform/unified-session-tool.js +0 -130
- package/node_modules/@comis/skills/dist/builtin/platform/whatsapp-action-tool.d.ts +0 -25
- package/node_modules/@comis/skills/dist/builtin/platform/whatsapp-action-tool.js +0 -79
- package/node_modules/@comis/skills/dist/builtin/process-registry.d.ts +0 -74
- package/node_modules/@comis/skills/dist/builtin/process-registry.js +0 -213
- package/node_modules/@comis/skills/dist/builtin/process-tool.d.ts +0 -36
- package/node_modules/@comis/skills/dist/builtin/process-tool.js +0 -104
- package/node_modules/@comis/skills/dist/builtin/sandbox/bwrap-provider.d.ts +0 -30
- package/node_modules/@comis/skills/dist/builtin/sandbox/bwrap-provider.js +0 -294
- package/node_modules/@comis/skills/dist/builtin/sandbox/sandbox-exec-provider.js +0 -201
- package/node_modules/@comis/skills/dist/builtin/tool-provisioner.js +0 -227
- package/node_modules/@comis/skills/dist/builtin/web-fetch-tool.d.ts +0 -78
- package/node_modules/@comis/skills/dist/builtin/web-fetch-tool.js +0 -528
- package/node_modules/@comis/skills/dist/builtin/web-search-brave.js +0 -147
- package/node_modules/@comis/skills/dist/builtin/web-search-duckduckgo.js +0 -192
- package/node_modules/@comis/skills/dist/builtin/web-search-exa.js +0 -84
- package/node_modules/@comis/skills/dist/builtin/web-search-grok.js +0 -87
- package/node_modules/@comis/skills/dist/builtin/web-search-jina.js +0 -94
- package/node_modules/@comis/skills/dist/builtin/web-search-perplexity.js +0 -115
- package/node_modules/@comis/skills/dist/builtin/web-search-searxng.js +0 -100
- package/node_modules/@comis/skills/dist/builtin/web-search-tavily.js +0 -87
- package/node_modules/@comis/skills/dist/builtin/web-search-tool.d.ts +0 -175
- package/node_modules/@comis/skills/dist/builtin/web-search-tool.js +0 -666
- package/node_modules/@comis/skills/dist/builtin/web-shared.js +0 -127
- package/node_modules/@comis/skills/dist/integrations/deepgram-stt-adapter.js +0 -81
- package/node_modules/@comis/skills/dist/integrations/document/file-extractor.js +0 -148
- package/node_modules/@comis/skills/dist/integrations/document/pdf-extractor.js +0 -214
- package/node_modules/@comis/skills/dist/integrations/groq-stt-adapter.js +0 -76
- package/node_modules/@comis/skills/dist/integrations/image-gen/rate-limiter.d.ts +0 -22
- package/node_modules/@comis/skills/dist/integrations/image-gen/rate-limiter.js +0 -32
- package/node_modules/@comis/skills/dist/integrations/link/link-fetcher.js +0 -74
- package/node_modules/@comis/skills/dist/integrations/mcp-client.d.ts +0 -163
- package/node_modules/@comis/skills/dist/integrations/mcp-client.js +0 -705
- package/node_modules/@comis/skills/dist/integrations/media-handler-audio.js +0 -62
- package/node_modules/@comis/skills/dist/integrations/openai-stt-adapter.js +0 -78
- package/node_modules/@comis/skills/dist/manifest/schema.d.ts +0 -125
- package/node_modules/@comis/skills/dist/manifest/schema.js +0 -113
- package/node_modules/@comis/skills/dist/media/audio-converter.d.ts +0 -39
- package/node_modules/@comis/skills/dist/media/audio-converter.js +0 -154
- package/node_modules/@comis/skills/dist/media/media-persistence.d.ts +0 -64
- package/node_modules/@comis/skills/dist/media/media-persistence.js +0 -95
- package/node_modules/@comis/skills/dist/media/media-store.d.ts +0 -64
- package/node_modules/@comis/skills/dist/media/media-store.js +0 -178
- package/node_modules/@comis/skills/dist/media/media-temp.d.ts +0 -53
- package/node_modules/@comis/skills/dist/media/media-temp.js +0 -134
- package/node_modules/@comis/skills/dist/media/ssrf-fetcher.js +0 -215
- package/node_modules/@comis/skills/dist/policy/tool-policy.d.ts +0 -74
- package/node_modules/@comis/skills/dist/prompt/sanitizer.d.ts +0 -62
- package/node_modules/@comis/skills/dist/prompt/sanitizer.js +0 -72
- package/node_modules/@comis/skills/dist/registry/discovery.d.ts +0 -94
- package/node_modules/@comis/skills/dist/registry/discovery.js +0 -332
- package/node_modules/@comis/skills/dist/registry/skill-registry.d.ts +0 -127
- package/node_modules/@comis/skills/dist/registry/skill-registry.js +0 -496
- package/node_modules/@comis/skills/dist/registry/skill-watcher.js +0 -166
- package/node_modules/@comis/web/dist/assets/agent-detail-q8t1NB7w.js +0 -615
- package/node_modules/@comis/web/dist/assets/agent-editor-B46io5gv.js +0 -2173
- package/node_modules/@comis/web/dist/assets/agent-list-DQ6g2Rcx.js +0 -504
- package/node_modules/@comis/web/dist/assets/billing-view-IWPR8LgF.js +0 -375
- package/node_modules/@comis/web/dist/assets/channel-detail-DlNNZuuC.js +0 -681
- package/node_modules/@comis/web/dist/assets/channel-list-DhGwxiMc.js +0 -323
- package/node_modules/@comis/web/dist/assets/chat-console-Nv6fM3Rc.js +0 -940
- package/node_modules/@comis/web/dist/assets/config-editor-BYKuJF76.js +0 -1374
- package/node_modules/@comis/web/dist/assets/context-dag-browser-ClNEtzYE.js +0 -393
- package/node_modules/@comis/web/dist/assets/context-engine-BZJ6HChd.js +0 -393
- package/node_modules/@comis/web/dist/assets/delivery-view-Cb7I3vGu.js +0 -392
- package/node_modules/@comis/web/dist/assets/diagnostics-view-9u9Lyu5a.js +0 -231
- package/node_modules/@comis/web/dist/assets/ic-chat-message-BFt3cVpx.js +0 -352
- package/node_modules/@comis/web/dist/assets/ic-connection-dot-y77LZ3Gu.js +0 -54
- package/node_modules/@comis/web/dist/assets/ic-delivery-row-B3YwjjuM.js +0 -67
- package/node_modules/@comis/web/dist/assets/ic-empty-state-CM3Wbj2f.js +0 -52
- package/node_modules/@comis/web/dist/assets/ic-graph-canvas-ByRjij68.js +0 -359
- package/node_modules/@comis/web/dist/assets/ic-relative-time-B3UAnTqg.js +0 -12
- package/node_modules/@comis/web/dist/assets/ic-search-input-B02AGw1i.js +0 -92
- package/node_modules/@comis/web/dist/assets/ic-time-range-picker-DXbYeBmY.js +0 -93
- package/node_modules/@comis/web/dist/assets/ic-tool-call-qt6w1NQl.js +0 -146
- package/node_modules/@comis/web/dist/assets/index-8Tg9oc-C.js +0 -2792
- package/node_modules/@comis/web/dist/assets/index-CVEaS9aY.css +0 -2
- package/node_modules/@comis/web/dist/assets/mcp-management-69dtH_kY.js +0 -582
- package/node_modules/@comis/web/dist/assets/media-config-BdjLj5c1.js +0 -314
- package/node_modules/@comis/web/dist/assets/media-test-DuPqrixi.js +0 -496
- package/node_modules/@comis/web/dist/assets/memory-inspector-B-Pepbq-.js +0 -1139
- package/node_modules/@comis/web/dist/assets/message-center-B7l0yNYY.js +0 -785
- package/node_modules/@comis/web/dist/assets/models-JHFHuv5S.js +0 -894
- package/node_modules/@comis/web/dist/assets/observe-view-r8mqhy4O.js +0 -814
- package/node_modules/@comis/web/dist/assets/pipeline-builder-XjkiZRcR.js +0 -1495
- package/node_modules/@comis/web/dist/assets/pipeline-history-CZqJv_Hj.js +0 -317
- package/node_modules/@comis/web/dist/assets/pipeline-history-detail-BEFGMoDy.js +0 -287
- package/node_modules/@comis/web/dist/assets/pipeline-list-B6q5LvO1.js +0 -518
- package/node_modules/@comis/web/dist/assets/pipeline-monitor-BNomXjVL.js +0 -972
- package/node_modules/@comis/web/dist/assets/scheduler-BJEjcGKA.js +0 -1182
- package/node_modules/@comis/web/dist/assets/security-2G1jhBfV.js +0 -1224
- package/node_modules/@comis/web/dist/assets/session-detail-DmVPzFBR.js +0 -632
- package/node_modules/@comis/web/dist/assets/session-key-parser-Dkqcj2Ss.js +0 -1
- package/node_modules/@comis/web/dist/assets/session-list-CsqMQoHs.js +0 -231
- package/node_modules/@comis/web/dist/assets/setup-wizard-CAdM-gSP.js +0 -881
- package/node_modules/@comis/web/dist/assets/skills-2ODqKaWr.js +0 -1051
- package/node_modules/@comis/web/dist/assets/subagents-BFlwfTbD.js +0 -193
- package/node_modules/@comis/web/dist/assets/workspace-manager--CbOx_dI.js +0 -785
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/block-chunker.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/block-chunker.js +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/format-for-channel.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/format-for-channel.js +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/ir-chunker.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/ir-chunker.js +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/ir-renderer.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/ir-renderer.js +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/markdown-ir.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/markdown-ir.js +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/markdown-tables.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/markdown-tables.js +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/permanent-errors.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/permanent-errors.js +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/sanitize-for-plain-text.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/sanitize-for-plain-text.js +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/table-converter.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/table-converter.js +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/telegram-file-ref-guard.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → core/dist/delivery}/telegram-file-ref-guard.js +0 -0
- /package/node_modules/@comis/{agent/dist/model → core/dist/oauth}/oauth-tls-preflight.d.ts +0 -0
- /package/node_modules/@comis/{agent/dist/model → core/dist/oauth}/oauth-tls-preflight.js +0 -0
- /package/node_modules/@comis/{daemon/dist/rpc/types.js → core/dist/ports/file-lock.js} +0 -0
- /package/node_modules/@comis/{agent/dist/model/oauth-env.d.ts → core/dist/runtime/is-remote-env.d.ts} +0 -0
- /package/node_modules/@comis/{agent/dist/model/oauth-env.js → core/dist/runtime/is-remote-env.js} +0 -0
- /package/node_modules/@comis/daemon/dist/{rpc → api/shared}/builtin-provider-guard.d.ts +0 -0
- /package/node_modules/@comis/daemon/dist/{rpc → api/shared}/credential-resolver.d.ts +0 -0
- /package/node_modules/@comis/daemon/dist/{rpc → api/shared}/probe-provider-auth.d.ts +0 -0
- /package/node_modules/@comis/daemon/dist/{rpc → api/shared}/probe-provider-auth.js +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/commands/budget-command.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/commands/budget-command.js +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/commands/command-handler.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/commands/command-parser.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/commands/command-parser.js +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/commands/index.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/commands/index.js +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/commands/prompt-skill-command.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/commands/prompt-skill-command.js +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/commands/types.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/commands/types.js +0 -0
- /package/node_modules/@comis/{daemon/dist → orchestrator/dist/cross-session}/announcement-batcher.d.ts +0 -0
- /package/node_modules/@comis/{daemon/dist → orchestrator/dist/cross-session}/cross-session-sender.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → orchestrator/dist/inbound}/inbound-preprocess.d.ts +0 -0
- /package/node_modules/@comis/{channels/dist/shared → orchestrator/dist/inbound}/inbound-resolve.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/queue/coalescer.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/queue/debounce-buffer.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/queue/followup-trigger.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/queue/index.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/queue/index.js +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/queue/lane.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/queue/lane.js +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/queue/overflow.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/queue/priority-scheduler.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/routing/message-router.d.ts +0 -0
- /package/node_modules/@comis/{agent → orchestrator}/dist/routing/message-router.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin/platform → platform-tools}/platform-action-tool.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin/platform → platform-tools/tools}/browser-tool-schema.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin/platform → platform-tools/tools}/fts5-sanitizer.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin/platform → platform-tools/tools}/fts5-sanitizer.js +0 -0
- /package/node_modules/@comis/skills/dist/{audit → skills/audit}/skill-audit.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{bridge → skills/bridge}/json-truncate.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{bridge → skills/bridge}/json-truncate.js +0 -0
- /package/node_modules/@comis/skills/dist/{bridge → skills/bridge}/schema-validator.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{bridge → skills/bridge}/tool-definition-adapter.js +0 -0
- /package/node_modules/@comis/skills/dist/{bridge → skills/bridge}/tool-metadata-registry.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{manifest → skills/manifest}/parser.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{manifest → skills/manifest}/parser.js +0 -0
- /package/node_modules/@comis/skills/dist/{policy → skills/policy}/index.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{policy → skills/policy}/index.js +0 -0
- /package/node_modules/@comis/skills/dist/{policy → skills/policy}/tool-policy.js +0 -0
- /package/node_modules/@comis/skills/dist/{prompt → skills/prompt}/content-scanner.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{prompt → skills/prompt}/content-scanner.js +0 -0
- /package/node_modules/@comis/skills/dist/{prompt → skills/prompt}/processor.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{prompt → skills/prompt}/processor.js +0 -0
- /package/node_modules/@comis/skills/dist/{registry → skills/registry}/diagnostics.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{registry → skills/registry}/diagnostics.js +0 -0
- /package/node_modules/@comis/skills/dist/{registry → skills/registry}/eligibility.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{registry → skills/registry}/eligibility.js +0 -0
- /package/node_modules/@comis/skills/dist/{registry → skills/registry}/skill-watcher.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/browser-service.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/config.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/config.js +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/constants.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/constants.js +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/downloads.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/downloads.js +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/index.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/index.js +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/playwright-actions.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/playwright-session.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/playwright-snapshots.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/playwright-snapshots.js +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/profile-decoration.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/profile-decoration.js +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/profiles-service.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/profiles-service.js +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/profiles.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/screenshot-normalizer.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/screenshot-normalizer.js +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/screenshots.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/smart-waits.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/smart-waits.js +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/viewport.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{browser → tools/browser}/viewport.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/exec-diagnostics.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/exec-diagnostics.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file/apply-patch-parser.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file/apply-patch-parser.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file/apply-patch-similarity.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file/apply-patch-similarity.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file/file-state-tracker.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file/file-tools.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file/path-suggest.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file/safe-path-wrapper.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file/safe-path-wrapper.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file-tools/shared/edit-diff.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file-tools/shared/file-encoding.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file-tools/shared/file-encoding.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file-tools/shared/file-mutation-queue.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file-tools/shared/file-mutation-queue.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file-tools/shared/git-diff.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file-tools/shared/git-diff.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file-tools/shared/notebook-edit-ops.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file-tools/shared/notebook-edit-ops.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file-tools/shared/notebook-utils.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/file-tools/shared/notebook-utils.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/output-cleaner.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/output-cleaner.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/sandbox/detect-provider.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/sandbox/detect-provider.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/sandbox/sandbox-exec-provider.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/sandbox/types.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/sandbox/types.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/search-provider.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/search-provider.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/tool-provisioner.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/tool-source-profiles.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/tool-source-profiles.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/truncate.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/truncate.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-fetch-utils.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-fetch-utils.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-fetch-visibility.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-fetch-visibility.js +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-search-brave.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-search-duckduckgo.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-search-exa.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-search-grok.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-search-jina.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-search-perplexity.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-search-searxng.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-search-tavily.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{builtin → tools/builtin}/web-shared.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/deepgram-stt-adapter.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/binary-detector.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/binary-detector.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/composite-extractor.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/composite-extractor.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/file-classifier.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/file-classifier.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/file-extractor.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/pdf-extractor.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/pdf-page-renderer.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/pdf-page-renderer.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/text-decoder.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/text-decoder.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/xml-block.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/document/xml-block.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/edge-tts-adapter.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/edge-tts-adapter.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/elevenlabs-tts-adapter.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/elevenlabs-tts-adapter.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/groq-stt-adapter.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/image-gen/fal-adapter.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/image-gen/fal-adapter.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/image-gen/image-gen-factory.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/image-gen/image-gen-factory.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/image-gen/index.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/image-gen/index.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/image-gen/openai-adapter.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/image-gen/openai-adapter.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/image-sanitizer.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/image-sanitizer.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/link/link-detector.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/link/link-detector.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/link/link-fetcher.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/link/link-formatter.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/link/link-formatter.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/link/link-runner.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/link/link-runner.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/mcp-result-sanitizer.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/mcp-result-sanitizer.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-adapter-shared.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-adapter-shared.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-handler-audio.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-handler-document.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-handler-document.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-handler-factory.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-handler-factory.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-handler-image.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-handler-image.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-handler-video.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-handler-video.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-preprocessor.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/media-preprocessor.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/multimodal-analyzer.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/multimodal-analyzer.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/openai-stt-adapter.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/openai-tts-adapter.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/openai-tts-adapter.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/outbound-media-parser.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/outbound-media-parser.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/stt-factory.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/stt-factory.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/tts/tts-auto-mode.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/tts/tts-auto-mode.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/tts/tts-directive-parser.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/tts/tts-directive-parser.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/tts/tts-output-format.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/tts/tts-output-format.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/tts-factory.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/tts-factory.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/vision/gemini-vision-adapter.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/vision/gemini-vision-adapter.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/vision/scope-resolver.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/vision/scope-resolver.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/vision/video-handler.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/vision/video-handler.js +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/vision/vision-provider-registry.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{integrations → tools/integrations}/vision/vision-provider-registry.js +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/audio-tags.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/audio-tags.js +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/composite-resolver.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/composite-resolver.js +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/constants.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/constants.js +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/ffmpeg-detect.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/ffmpeg-detect.js +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/file-validator.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/file-validator.js +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/image-ops.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/image-ops.js +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/index.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/index.js +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/media-semaphore.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/media-semaphore.js +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/mime-detection.d.ts +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/mime-detection.js +0 -0
- /package/node_modules/@comis/skills/dist/{media → tools/media}/ssrf-fetcher.d.ts +0 -0
- /package/node_modules/@comis/web/dist/assets/{approvals-C-K6hN2U.js → approvals-BCnwA_Wl.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{directive-BOYXJ-K-.js → directive-BLQp04BH.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{extract-variables-B7-Doo7l.js → extract-variables-B5H_luKW.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{ic-array-editor-BLoEyeLS.js → ic-array-editor-Cyy1IkY8.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{ic-breadcrumb-DqN6G3gc.js → ic-breadcrumb-1qP0UJ5v.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{ic-budget-segment-bar-zLsMzjDO.js → ic-budget-segment-bar-BWIGfwtb.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{ic-confirm-dialog-DGlPbV1T.js → ic-confirm-dialog-Wdt0QSRg.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{ic-data-table-CKIvr-ag.js → ic-data-table-DPg9-J1A.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{ic-detail-panel-DiCe4hLr.js → ic-detail-panel-DGevqzFo.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{ic-icon-BGNCCPpZ.js → ic-icon-BkVssjSQ.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{ic-layer-waterfall-WkaFyu-l.js → ic-layer-waterfall-CFPbnC1V.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{ic-select-BqfZISjw.js → ic-select-BEeaNppH.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{ic-tabs-yBjkWKJH.js → ic-tabs-BM8xZY4a.js} +0 -0
- /package/node_modules/@comis/web/dist/assets/{ic-tag-CvMVQFRR.js → ic-tag-CKh2gHHX.js} +0 -0
|
@@ -1,2500 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Model selection configuration schemas.
|
|
4
|
-
*
|
|
5
|
-
* Owns budget limits, circuit breaker thresholds, model route overrides,
|
|
6
|
-
* fallback model entries, auth profile rotation, and failover configuration.
|
|
7
|
-
*/
|
|
8
|
-
export declare const BudgetConfigSchema: z.ZodObject<{
|
|
9
|
-
/** Max tokens per single execution */
|
|
10
|
-
perExecution: z.ZodDefault<z.ZodNumber>;
|
|
11
|
-
/** Max tokens per hour (rolling window) */
|
|
12
|
-
perHour: z.ZodDefault<z.ZodNumber>;
|
|
13
|
-
/** Max tokens per day (rolling window) */
|
|
14
|
-
perDay: z.ZodDefault<z.ZodNumber>;
|
|
15
|
-
}, z.core.$strict>;
|
|
16
|
-
export declare const CircuitBreakerConfigSchema: z.ZodObject<{
|
|
17
|
-
/** Number of consecutive failures before opening circuit */
|
|
18
|
-
failureThreshold: z.ZodDefault<z.ZodNumber>;
|
|
19
|
-
/** Milliseconds to wait before attempting recovery */
|
|
20
|
-
resetTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
21
|
-
/** Milliseconds for half-open probe timeout */
|
|
22
|
-
halfOpenTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
23
|
-
}, z.core.$strict>;
|
|
24
|
-
export declare const ToolRetryBreakerConfigSchema: z.ZodObject<{
|
|
25
|
-
/** Enable tool retry circuit breaker. Default: true. */
|
|
26
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
27
|
-
/** Max consecutive failures for same tool+args before blocking. Default: 3. */
|
|
28
|
-
maxConsecutiveFailures: z.ZodDefault<z.ZodNumber>;
|
|
29
|
-
/** Max total failures for a tool name (any args) before blocking all calls. Default: 5. */
|
|
30
|
-
maxToolFailures: z.ZodDefault<z.ZodNumber>;
|
|
31
|
-
/** Suggest alternative tools in block reason. Default: true. */
|
|
32
|
-
suggestAlternatives: z.ZodDefault<z.ZodBoolean>;
|
|
33
|
-
/** Max consecutive same-error-class failures (any args) before blocking. Default: 2.
|
|
34
|
-
* Stricter than args-based because same error + different args = stronger stuck signal. */
|
|
35
|
-
maxConsecutiveErrorPatterns: z.ZodDefault<z.ZodNumber>;
|
|
36
|
-
}, z.core.$strict>;
|
|
37
|
-
/**
|
|
38
|
-
* Per-agent model route overrides.
|
|
39
|
-
*
|
|
40
|
-
* Maps task types to specific model identifiers. The `default` key
|
|
41
|
-
* falls back to the agent's top-level `model` field when not set.
|
|
42
|
-
* Additional named routes (e.g. "summarization", "classification")
|
|
43
|
-
* allow task-specific model selection.
|
|
44
|
-
*
|
|
45
|
-
* Uses .catchall(z.string()) for extensibility -- any string key maps
|
|
46
|
-
* to a model identifier string.
|
|
47
|
-
*/
|
|
48
|
-
export declare const ModelRoutesSchema: z.ZodDefault<z.ZodObject<{
|
|
49
|
-
default: z.ZodOptional<z.ZodString>;
|
|
50
|
-
}, z.core.$catchall<z.ZodString>>>;
|
|
51
|
-
/**
|
|
52
|
-
* Schema for a single fallback model entry (provider + modelId pair).
|
|
53
|
-
*/
|
|
54
|
-
export declare const FallbackModelSchema: z.ZodObject<{
|
|
55
|
-
/** LLM provider (e.g. "anthropic", "openai") */
|
|
56
|
-
provider: z.ZodString;
|
|
57
|
-
/** Model identifier at the provider */
|
|
58
|
-
modelId: z.ZodString;
|
|
59
|
-
}, z.core.$strict>;
|
|
60
|
-
/**
|
|
61
|
-
* Schema for an auth profile entry (key name + provider association).
|
|
62
|
-
*
|
|
63
|
-
* Each profile maps a SecretManager key name to a provider, enabling
|
|
64
|
-
* multiple API keys per provider for rotation during rate limiting.
|
|
65
|
-
*/
|
|
66
|
-
export declare const AuthProfileSchema: z.ZodObject<{
|
|
67
|
-
/** Key name in SecretManager (e.g. "ANTHROPIC_API_KEY_2") */
|
|
68
|
-
keyName: z.ZodString;
|
|
69
|
-
/** Provider this key belongs to (e.g. "anthropic") */
|
|
70
|
-
provider: z.ZodString;
|
|
71
|
-
}, z.core.$strict>;
|
|
72
|
-
/**
|
|
73
|
-
* Model failover configuration schema.
|
|
74
|
-
*
|
|
75
|
-
* Controls automatic model failover behavior, auth profile rotation
|
|
76
|
-
* with exponential cooldowns, and model allowlisting.
|
|
77
|
-
*/
|
|
78
|
-
export declare const ModelFailoverConfigSchema: z.ZodObject<{
|
|
79
|
-
/** Ordered list of fallback models to try when primary fails */
|
|
80
|
-
fallbackModels: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
81
|
-
/** LLM provider (e.g. "anthropic", "openai") */
|
|
82
|
-
provider: z.ZodString;
|
|
83
|
-
/** Model identifier at the provider */
|
|
84
|
-
modelId: z.ZodString;
|
|
85
|
-
}, z.core.$strict>>>;
|
|
86
|
-
/** Per-provider API key profiles for auth rotation */
|
|
87
|
-
authProfiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
88
|
-
/** Key name in SecretManager (e.g. "ANTHROPIC_API_KEY_2") */
|
|
89
|
-
keyName: z.ZodString;
|
|
90
|
-
/** Provider this key belongs to (e.g. "anthropic") */
|
|
91
|
-
provider: z.ZodString;
|
|
92
|
-
}, z.core.$strict>>>;
|
|
93
|
-
/** Model allowlist (empty = allow all models) */
|
|
94
|
-
allowedModels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
95
|
-
/** Maximum total attempts across all models/keys */
|
|
96
|
-
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
97
|
-
/** Initial cooldown duration in milliseconds (1 min) */
|
|
98
|
-
cooldownInitialMs: z.ZodDefault<z.ZodNumber>;
|
|
99
|
-
/** Exponential cooldown multiplier */
|
|
100
|
-
cooldownMultiplier: z.ZodDefault<z.ZodNumber>;
|
|
101
|
-
/** Maximum cooldown duration in milliseconds (1 hr) */
|
|
102
|
-
cooldownCapMs: z.ZodDefault<z.ZodNumber>;
|
|
103
|
-
}, z.core.$strict>;
|
|
104
|
-
export declare const PromptTimeoutConfigSchema: z.ZodObject<{
|
|
105
|
-
/** Wall-clock timeout for primary prompt calls in milliseconds. Default: 180s. */
|
|
106
|
-
promptTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
107
|
-
/** Wall-clock timeout for retry prompt calls in milliseconds. Default: 60s. */
|
|
108
|
-
retryPromptTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
109
|
-
}, z.core.$strict>;
|
|
110
|
-
/**
|
|
111
|
-
* Valid operation type keys for model resolution.
|
|
112
|
-
*
|
|
113
|
-
* Named ModelOperationType (not OperationType) to avoid collision with
|
|
114
|
-
* the existing OperationType in packages/daemon/src/observability/latency-recorder.ts.
|
|
115
|
-
*/
|
|
116
|
-
export type ModelOperationType = "interactive" | "cron" | "heartbeat" | "subagent" | "compaction" | "taskExtraction" | "condensation";
|
|
117
|
-
/**
|
|
118
|
-
* Per-operation model entry: groups model override and timeout for a single
|
|
119
|
-
* operation type.
|
|
120
|
-
*
|
|
121
|
-
* Both fields are optional. When model is unset, the resolver uses provider-family
|
|
122
|
-
* smart defaults. When timeout is unset, per-operation timeout defaults apply.
|
|
123
|
-
*/
|
|
124
|
-
export declare const OperationModelEntrySchema: z.ZodObject<{
|
|
125
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
126
|
-
model: z.ZodOptional<z.ZodString>;
|
|
127
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
128
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
129
|
-
}, z.core.$strict>;
|
|
130
|
-
export type OperationModelEntry = z.infer<typeof OperationModelEntrySchema>;
|
|
131
|
-
/**
|
|
132
|
-
* Per-operation model override configuration.
|
|
133
|
-
*
|
|
134
|
-
* Each operation type has an optional entry with model and timeout fields.
|
|
135
|
-
* "interactive" is intentionally excluded -- it always uses the agent's
|
|
136
|
-
* primary model.
|
|
137
|
-
*
|
|
138
|
-
* When no entries are set (default: {}), the resolver uses provider-family
|
|
139
|
-
* smart defaults for automatic model tiering.
|
|
140
|
-
*/
|
|
141
|
-
export declare const OperationModelsSchema: z.ZodDefault<z.ZodObject<{
|
|
142
|
-
cron: z.ZodOptional<z.ZodObject<{
|
|
143
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
144
|
-
model: z.ZodOptional<z.ZodString>;
|
|
145
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
146
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
147
|
-
}, z.core.$strict>>;
|
|
148
|
-
heartbeat: z.ZodOptional<z.ZodObject<{
|
|
149
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
150
|
-
model: z.ZodOptional<z.ZodString>;
|
|
151
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
152
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
153
|
-
}, z.core.$strict>>;
|
|
154
|
-
subagent: z.ZodOptional<z.ZodObject<{
|
|
155
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
156
|
-
model: z.ZodOptional<z.ZodString>;
|
|
157
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
158
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
159
|
-
}, z.core.$strict>>;
|
|
160
|
-
compaction: z.ZodOptional<z.ZodObject<{
|
|
161
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
162
|
-
model: z.ZodOptional<z.ZodString>;
|
|
163
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
164
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
165
|
-
}, z.core.$strict>>;
|
|
166
|
-
taskExtraction: z.ZodOptional<z.ZodObject<{
|
|
167
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
168
|
-
model: z.ZodOptional<z.ZodString>;
|
|
169
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
170
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
171
|
-
}, z.core.$strict>>;
|
|
172
|
-
condensation: z.ZodOptional<z.ZodObject<{
|
|
173
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
174
|
-
model: z.ZodOptional<z.ZodString>;
|
|
175
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
176
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
177
|
-
}, z.core.$strict>>;
|
|
178
|
-
}, z.core.$strict>>;
|
|
179
|
-
export type BudgetConfig = z.infer<typeof BudgetConfigSchema>;
|
|
180
|
-
export type CircuitBreakerConfig = z.infer<typeof CircuitBreakerConfigSchema>;
|
|
181
|
-
export type ToolRetryBreakerConfig = z.infer<typeof ToolRetryBreakerConfigSchema>;
|
|
182
|
-
export type ModelRoutes = z.infer<typeof ModelRoutesSchema>;
|
|
183
|
-
export type FallbackModel = z.infer<typeof FallbackModelSchema>;
|
|
184
|
-
export type AuthProfileEntry = z.infer<typeof AuthProfileSchema>;
|
|
185
|
-
export type ModelFailoverConfig = z.infer<typeof ModelFailoverConfigSchema>;
|
|
186
|
-
export type PromptTimeoutConfig = z.infer<typeof PromptTimeoutConfigSchema>;
|
|
187
|
-
export type OperationModels = z.infer<typeof OperationModelsSchema>;
|
|
188
|
-
/**
|
|
189
|
-
* Session lifecycle configuration schemas.
|
|
190
|
-
*
|
|
191
|
-
* Owns session reset policy, DM scope isolation, pruning of oversized
|
|
192
|
-
* tool results, and per-agent compaction thresholds.
|
|
193
|
-
*/
|
|
194
|
-
/**
|
|
195
|
-
* Per-session-type reset policy override.
|
|
196
|
-
* All fields are optional -- omitted fields inherit from the parent policy.
|
|
197
|
-
*/
|
|
198
|
-
export declare const ResetPolicyOverrideSchema: z.ZodObject<{
|
|
199
|
-
/** Override reset mode for this session type */
|
|
200
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
201
|
-
daily: "daily";
|
|
202
|
-
idle: "idle";
|
|
203
|
-
hybrid: "hybrid";
|
|
204
|
-
none: "none";
|
|
205
|
-
}>>;
|
|
206
|
-
/** Override daily reset hour (0-23) */
|
|
207
|
-
dailyResetHour: z.ZodOptional<z.ZodNumber>;
|
|
208
|
-
/** Override IANA timezone for daily reset */
|
|
209
|
-
dailyResetTimezone: z.ZodOptional<z.ZodString>;
|
|
210
|
-
/** Override idle timeout in milliseconds */
|
|
211
|
-
idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
212
|
-
}, z.core.$strict>;
|
|
213
|
-
/**
|
|
214
|
-
* Session reset policy configuration.
|
|
215
|
-
* Controls automatic session expiry via daily, idle, or hybrid modes.
|
|
216
|
-
*/
|
|
217
|
-
export declare const SessionResetPolicySchema: z.ZodObject<{
|
|
218
|
-
/** Reset mode: daily, idle, hybrid (first-to-expire), or none (disabled) */
|
|
219
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
220
|
-
daily: "daily";
|
|
221
|
-
idle: "idle";
|
|
222
|
-
hybrid: "hybrid";
|
|
223
|
-
none: "none";
|
|
224
|
-
}>>;
|
|
225
|
-
/** Hour of day for daily reset (0-23, default 4 = 4 AM) */
|
|
226
|
-
dailyResetHour: z.ZodDefault<z.ZodNumber>;
|
|
227
|
-
/** IANA timezone for daily reset (empty string = system local) */
|
|
228
|
-
dailyResetTimezone: z.ZodDefault<z.ZodString>;
|
|
229
|
-
/** Idle timeout in milliseconds (default 4 hours = 14_400_000) */
|
|
230
|
-
idleTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
231
|
-
/** Sweep interval in milliseconds (how often to check sessions, default 5 min) */
|
|
232
|
-
sweepIntervalMs: z.ZodDefault<z.ZodNumber>;
|
|
233
|
-
/** Phrases that trigger immediate session reset when sent as a message */
|
|
234
|
-
resetTriggers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
235
|
-
/** Per-session-type overrides (dm, group, thread) */
|
|
236
|
-
perType: z.ZodDefault<z.ZodObject<{
|
|
237
|
-
dm: z.ZodOptional<z.ZodObject<{
|
|
238
|
-
/** Override reset mode for this session type */
|
|
239
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
240
|
-
daily: "daily";
|
|
241
|
-
idle: "idle";
|
|
242
|
-
hybrid: "hybrid";
|
|
243
|
-
none: "none";
|
|
244
|
-
}>>;
|
|
245
|
-
/** Override daily reset hour (0-23) */
|
|
246
|
-
dailyResetHour: z.ZodOptional<z.ZodNumber>;
|
|
247
|
-
/** Override IANA timezone for daily reset */
|
|
248
|
-
dailyResetTimezone: z.ZodOptional<z.ZodString>;
|
|
249
|
-
/** Override idle timeout in milliseconds */
|
|
250
|
-
idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
251
|
-
}, z.core.$strict>>;
|
|
252
|
-
group: z.ZodOptional<z.ZodObject<{
|
|
253
|
-
/** Override reset mode for this session type */
|
|
254
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
255
|
-
daily: "daily";
|
|
256
|
-
idle: "idle";
|
|
257
|
-
hybrid: "hybrid";
|
|
258
|
-
none: "none";
|
|
259
|
-
}>>;
|
|
260
|
-
/** Override daily reset hour (0-23) */
|
|
261
|
-
dailyResetHour: z.ZodOptional<z.ZodNumber>;
|
|
262
|
-
/** Override IANA timezone for daily reset */
|
|
263
|
-
dailyResetTimezone: z.ZodOptional<z.ZodString>;
|
|
264
|
-
/** Override idle timeout in milliseconds */
|
|
265
|
-
idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
266
|
-
}, z.core.$strict>>;
|
|
267
|
-
thread: z.ZodOptional<z.ZodObject<{
|
|
268
|
-
/** Override reset mode for this session type */
|
|
269
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
270
|
-
daily: "daily";
|
|
271
|
-
idle: "idle";
|
|
272
|
-
hybrid: "hybrid";
|
|
273
|
-
none: "none";
|
|
274
|
-
}>>;
|
|
275
|
-
/** Override daily reset hour (0-23) */
|
|
276
|
-
dailyResetHour: z.ZodOptional<z.ZodNumber>;
|
|
277
|
-
/** Override IANA timezone for daily reset */
|
|
278
|
-
dailyResetTimezone: z.ZodOptional<z.ZodString>;
|
|
279
|
-
/** Override idle timeout in milliseconds */
|
|
280
|
-
idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
281
|
-
}, z.core.$strict>>;
|
|
282
|
-
}, z.core.$strict>>;
|
|
283
|
-
}, z.core.$strict>;
|
|
284
|
-
/**
|
|
285
|
-
* DM scope configuration for session key isolation granularity.
|
|
286
|
-
*
|
|
287
|
-
* Controls how DM (direct message) conversations are scoped:
|
|
288
|
-
* - "main": all DMs share a single session (userId="main", channelId="dm")
|
|
289
|
-
* - "per-peer": one session per peer across all channels
|
|
290
|
-
* - "per-channel-peer": one session per channel+peer (default)
|
|
291
|
-
* - "per-account-channel-peer": includes bot account identifier in channel for multi-bot isolation
|
|
292
|
-
*/
|
|
293
|
-
export declare const DmScopeConfigSchema: z.ZodObject<{
|
|
294
|
-
/** DM scope mode controlling session isolation granularity */
|
|
295
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
296
|
-
main: "main";
|
|
297
|
-
"per-peer": "per-peer";
|
|
298
|
-
"per-channel-peer": "per-channel-peer";
|
|
299
|
-
"per-account-channel-peer": "per-account-channel-peer";
|
|
300
|
-
}>>;
|
|
301
|
-
/** Prepend agent:<agentId>: to session keys for multi-agent isolation */
|
|
302
|
-
agentPrefix: z.ZodDefault<z.ZodBoolean>;
|
|
303
|
-
/** Append :thread:<threadId> to session keys for forum/thread isolation */
|
|
304
|
-
threadIsolation: z.ZodDefault<z.ZodBoolean>;
|
|
305
|
-
}, z.core.$strict>;
|
|
306
|
-
/**
|
|
307
|
-
* Session pruning configuration for in-memory tool result trimming.
|
|
308
|
-
*
|
|
309
|
-
* Controls how oversized tool results are trimmed before each LLM call.
|
|
310
|
-
* Pruning operates on copies only -- persisted session data is never affected.
|
|
311
|
-
*/
|
|
312
|
-
export declare const PruningConfigSchema: z.ZodObject<{
|
|
313
|
-
/** Enable session pruning of oversized tool results */
|
|
314
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
315
|
-
/** Character threshold above which tool results are soft-trimmed (head + tail with marker) */
|
|
316
|
-
softTrimThresholdChars: z.ZodDefault<z.ZodNumber>;
|
|
317
|
-
/** Character threshold above which tool results are hard-cleared (entire content replaced) */
|
|
318
|
-
hardClearThresholdChars: z.ZodDefault<z.ZodNumber>;
|
|
319
|
-
/** Number of characters to preserve at the start of a soft-trimmed result */
|
|
320
|
-
preserveHeadChars: z.ZodDefault<z.ZodNumber>;
|
|
321
|
-
/** Number of characters to preserve at the end of a soft-trimmed result */
|
|
322
|
-
preserveTailChars: z.ZodDefault<z.ZodNumber>;
|
|
323
|
-
/** Tools whose results are eligible for pruning (empty = all tools eligible) */
|
|
324
|
-
pruneableTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
325
|
-
/** Tools whose results are never pruned (takes precedence over pruneableTools) */
|
|
326
|
-
protectedTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
327
|
-
/** Protect tool results containing image content blocks from pruning */
|
|
328
|
-
protectImageBlocks: z.ZodDefault<z.ZodBoolean>;
|
|
329
|
-
/** Number of recent messages (from end of array) exempt from pruning */
|
|
330
|
-
preserveRecentCount: z.ZodDefault<z.ZodNumber>;
|
|
331
|
-
}, z.core.$strict>;
|
|
332
|
-
/**
|
|
333
|
-
* Session compaction configuration.
|
|
334
|
-
*
|
|
335
|
-
* Controls when pre-compaction memory flushes and hard compaction triggers
|
|
336
|
-
* fire, based on context window usage ratios. The flushModel option allows
|
|
337
|
-
* using a cheaper model for memory extraction.
|
|
338
|
-
*/
|
|
339
|
-
export declare const SessionCompactionConfigSchema: z.ZodObject<{
|
|
340
|
-
/** Fraction of maxContextChars at which soft flush triggers (memory extraction only) */
|
|
341
|
-
softThresholdRatio: z.ZodDefault<z.ZodNumber>;
|
|
342
|
-
/** Fraction of maxContextChars at which hard compaction triggers (flush + trim) */
|
|
343
|
-
hardThresholdRatio: z.ZodDefault<z.ZodNumber>;
|
|
344
|
-
/** Model to use for memory extraction during flush (defaults to cheap model) */
|
|
345
|
-
flushModel: z.ZodOptional<z.ZodString>;
|
|
346
|
-
/** Max characters per summarization chunk. Default: 50_000. */
|
|
347
|
-
chunkMaxChars: z.ZodDefault<z.ZodNumber>;
|
|
348
|
-
/** Number of overlap messages between chunks. Default: 2. */
|
|
349
|
-
chunkOverlapMessages: z.ZodDefault<z.ZodNumber>;
|
|
350
|
-
/** Whether to merge chunk summaries via LLM. Default: true. */
|
|
351
|
-
chunkMergeSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
352
|
-
/** Tokens reserved for summary during SDK auto-compaction. Default: 16384. */
|
|
353
|
-
reserveTokens: z.ZodDefault<z.ZodNumber>;
|
|
354
|
-
/** Tokens worth of recent messages to keep after SDK auto-compaction. Default: 32768. */
|
|
355
|
-
keepRecentTokens: z.ZodDefault<z.ZodNumber>;
|
|
356
|
-
/** AGENTS.md section names to re-inject after compaction. */
|
|
357
|
-
postCompactionSections: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
358
|
-
}, z.core.$strict>;
|
|
359
|
-
export type SessionResetPolicyConfig = z.infer<typeof SessionResetPolicySchema>;
|
|
360
|
-
export type ResetPolicyOverride = z.infer<typeof ResetPolicyOverrideSchema>;
|
|
361
|
-
export type DmScopeConfig = z.infer<typeof DmScopeConfigSchema>;
|
|
362
|
-
export type PruningConfig = z.infer<typeof PruningConfigSchema>;
|
|
363
|
-
export type SessionCompactionConfig = z.infer<typeof SessionCompactionConfigSchema>;
|
|
364
|
-
/**
|
|
365
|
-
* Context engine configuration schema.
|
|
366
|
-
*
|
|
367
|
-
* Controls the context engine operating in either **pipeline** mode
|
|
368
|
-
* (sequential layer composition: thinking cleaner, history window,
|
|
369
|
-
* dead content evictor, observation masker, LLM compaction, rehydration)
|
|
370
|
-
* or **DAG** mode (graph-based context management with leaf/condensed
|
|
371
|
-
* nodes, incremental recall, and annotation-driven eviction).
|
|
372
|
-
*
|
|
373
|
-
* All fields have sensible defaults so an empty `{}` is always valid.
|
|
374
|
-
* The flat schema validates all fields regardless of the active `version`
|
|
375
|
-
* to prevent invalid saved configurations.
|
|
376
|
-
*
|
|
377
|
-
* Only top-level settings are exposed to users; internal budget
|
|
378
|
-
* components (safety margin, output reserve, rot buffer) are
|
|
379
|
-
* controlled by constants in @comis/agent.
|
|
380
|
-
*
|
|
381
|
-
* @module
|
|
382
|
-
*/
|
|
383
|
-
/** Context engine configuration (per-agent). */
|
|
384
|
-
export declare const ContextEngineConfigSchema: z.ZodObject<{
|
|
385
|
-
/** Master toggle for the context engine pipeline (enabled by default). */
|
|
386
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
387
|
-
/** Operating mode: "pipeline" for sequential layer composition, "dag" for graph-based context management. */
|
|
388
|
-
version: z.ZodDefault<z.ZodEnum<{
|
|
389
|
-
pipeline: "pipeline";
|
|
390
|
-
dag: "dag";
|
|
391
|
-
}>>;
|
|
392
|
-
/** Number of recent assistant turns that retain thinking blocks (older turns get stripped). */
|
|
393
|
-
thinkingKeepTurns: z.ZodDefault<z.ZodNumber>;
|
|
394
|
-
/** Idle gap (ms) above which signed thinking state is treated as drifted and
|
|
395
|
-
* scrubbed pre-send to avoid provider replay-rejection. Default 30 min —
|
|
396
|
-
* below long-TTL caches and below the 74-min production incident gap. Also
|
|
397
|
-
* triggers on model id / provider / api change (those checks are
|
|
398
|
-
* unconditional regardless of this idle threshold). Range: 1 min .. 24 h. */
|
|
399
|
-
replayDriftIdleMs: z.ZodDefault<z.ZodNumber>;
|
|
400
|
-
/** Model for LLM compaction in "provider:modelId" format. Empty string
|
|
401
|
-
* (the default) triggers runtime resolution against the agent's primary
|
|
402
|
-
* provider via pi-ai catalog (fast-tier cost model). Avoids pinning a
|
|
403
|
-
* hardcoded Anthropic literal that goes stale on pi-ai upgrades and
|
|
404
|
-
* cross-routes background ops to Claude when primary is OpenRouter/Google/etc. */
|
|
405
|
-
compactionModel: z.ZodDefault<z.ZodString>;
|
|
406
|
-
/** Minimum age (in tool result positions) before content is eligible for dead content eviction. */
|
|
407
|
-
evictionMinAge: z.ZodDefault<z.ZodNumber>;
|
|
408
|
-
/** Number of recent user turns to keep in context (default 15). */
|
|
409
|
-
historyTurns: z.ZodDefault<z.ZodNumber>;
|
|
410
|
-
/** Per-agent or per-channel-type turn count overrides (e.g., { dm: 10, "trader-1": 30 }). */
|
|
411
|
-
historyTurnOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
412
|
-
/** Number of most recent tool uses that retain full content (older ones are masked). */
|
|
413
|
-
observationKeepWindow: z.ZodDefault<z.ZodNumber>;
|
|
414
|
-
/** Character threshold before observation masking activates (below this, masking is skipped). */
|
|
415
|
-
observationTriggerChars: z.ZodDefault<z.ZodNumber>;
|
|
416
|
-
/** Character threshold below which observation masking deactivates (hysteresis). */
|
|
417
|
-
observationDeactivationChars: z.ZodDefault<z.ZodNumber>;
|
|
418
|
-
/** Keep window for ephemeral-tier tools (web_search, brave_search, web_fetch, link_reader, fetch_url). Shorter than observationKeepWindow. Default: 10. */
|
|
419
|
-
ephemeralKeepWindow: z.ZodDefault<z.ZodNumber>;
|
|
420
|
-
/** Turns to wait before re-triggering LLM compaction after a successful compaction. */
|
|
421
|
-
compactionCooldownTurns: z.ZodDefault<z.ZodNumber>;
|
|
422
|
-
/** Number of user-turn cycles at the head of conversation to preserve during
|
|
423
|
-
* LLM compaction for cache prefix stability. 0 = old behavior
|
|
424
|
-
* (summarize everything, keep tail only). */
|
|
425
|
-
compactionPrefixAnchorTurns: z.ZodDefault<z.ZodNumber>;
|
|
426
|
-
/** Output escalation configuration: auto-retry with higher output budget on max_tokens truncation. */
|
|
427
|
-
outputEscalation: z.ZodDefault<z.ZodObject<{
|
|
428
|
-
/** Master toggle for output escalation. When false, max_tokens truncation is not retried. */
|
|
429
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
430
|
-
/** Escalated max output tokens for the retry attempt. Must be between 4096 and 128000. */
|
|
431
|
-
escalatedMaxTokens: z.ZodDefault<z.ZodNumber>;
|
|
432
|
-
}, z.core.$strict>>;
|
|
433
|
-
/** Number of most recent turns always included verbatim in DAG context. */
|
|
434
|
-
freshTailTurns: z.ZodDefault<z.ZodNumber>;
|
|
435
|
-
/** Context utilization fraction that triggers DAG compaction (0.1 to 0.95). */
|
|
436
|
-
contextThreshold: z.ZodDefault<z.ZodNumber>;
|
|
437
|
-
/** Minimum fan-out for leaf nodes in the DAG. */
|
|
438
|
-
leafMinFanout: z.ZodDefault<z.ZodNumber>;
|
|
439
|
-
/** Minimum fan-out for condensed (non-leaf) nodes in the DAG. */
|
|
440
|
-
condensedMinFanout: z.ZodDefault<z.ZodNumber>;
|
|
441
|
-
/** Hard minimum fan-out for condensed nodes (lowest allowed). */
|
|
442
|
-
condensedMinFanoutHard: z.ZodDefault<z.ZodNumber>;
|
|
443
|
-
/** Maximum depth for incremental DAG rebuilds (-1 = full rebuild). */
|
|
444
|
-
incrementalMaxDepth: z.ZodDefault<z.ZodNumber>;
|
|
445
|
-
/** Token budget for leaf node chunks in the DAG. */
|
|
446
|
-
leafChunkTokens: z.ZodDefault<z.ZodNumber>;
|
|
447
|
-
/** Target token size for leaf node summaries. */
|
|
448
|
-
leafTargetTokens: z.ZodDefault<z.ZodNumber>;
|
|
449
|
-
/** Target token size for condensed node summaries. */
|
|
450
|
-
condensedTargetTokens: z.ZodDefault<z.ZodNumber>;
|
|
451
|
-
/** Maximum tokens for expanded context retrieval. */
|
|
452
|
-
maxExpandTokens: z.ZodDefault<z.ZodNumber>;
|
|
453
|
-
/** Maximum recall operations per day per agent. */
|
|
454
|
-
maxRecallsPerDay: z.ZodDefault<z.ZodNumber>;
|
|
455
|
-
/** Timeout for recall operations in milliseconds. */
|
|
456
|
-
recallTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
457
|
-
/** Token threshold above which a file is considered "large" for DAG processing. */
|
|
458
|
-
largeFileTokenThreshold: z.ZodDefault<z.ZodNumber>;
|
|
459
|
-
/** Number of most recent annotations retained in DAG mode (analogous to observationKeepWindow). */
|
|
460
|
-
annotationKeepWindow: z.ZodDefault<z.ZodNumber>;
|
|
461
|
-
/** Character threshold before annotation eviction activates in DAG mode. */
|
|
462
|
-
annotationTriggerChars: z.ZodDefault<z.ZodNumber>;
|
|
463
|
-
/** Optional model override for DAG summary generation in "provider:modelId" format. */
|
|
464
|
-
summaryModel: z.ZodOptional<z.ZodString>;
|
|
465
|
-
/** Optional provider override for DAG summary generation. */
|
|
466
|
-
summaryProvider: z.ZodOptional<z.ZodString>;
|
|
467
|
-
/** Post-batch continuation handler: when the LLM emits an empty final
|
|
468
|
-
* turn after a successful tool batch, fire a directive followUp with
|
|
469
|
-
* multi-shot retry. Replaces the legacy SEP one-shot completeness nudge
|
|
470
|
-
* (whose enforcement role was superseded; SEP plan extraction + step
|
|
471
|
-
* counting remain intact for observability). */
|
|
472
|
-
postBatchContinuation: z.ZodDefault<z.ZodObject<{
|
|
473
|
-
/** Master toggle. When false, handler returns
|
|
474
|
-
* {recovered: false, outcome: "disabled"} without calling followUp. */
|
|
475
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
476
|
-
/** Maximum directive followUp attempts before falling through to L3
|
|
477
|
-
* synthesis. 0 = disabled. */
|
|
478
|
-
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
479
|
-
}, z.core.$strict>>;
|
|
480
|
-
}, z.core.$strict>;
|
|
481
|
-
export type ContextEngineConfig = z.infer<typeof ContextEngineConfigSchema>;
|
|
482
|
-
/**
|
|
483
|
-
* Context guard configuration schemas.
|
|
484
|
-
*
|
|
485
|
-
* ContextPruningConfigSchema -- progressive context pruning layer settings
|
|
486
|
-
* (soft-trim at ratio threshold, hard-clear at higher ratio).
|
|
487
|
-
*
|
|
488
|
-
* SourceGateConfigSchema -- HTTP source gate layer settings
|
|
489
|
-
* (byte cap and hidden HTML stripping).
|
|
490
|
-
*/
|
|
491
|
-
/** Progressive context pruning configuration (per-agent). */
|
|
492
|
-
export declare const ContextPruningConfigSchema: z.ZodObject<{
|
|
493
|
-
/** Master toggle for progressive context pruning */
|
|
494
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
495
|
-
/** Context ratio at which soft-trim begins (head+tail preservation) */
|
|
496
|
-
softTrimRatio: z.ZodDefault<z.ZodNumber>;
|
|
497
|
-
/** Context ratio at which hard-clear begins (full placeholder replacement) */
|
|
498
|
-
hardClearRatio: z.ZodDefault<z.ZodNumber>;
|
|
499
|
-
/** Number of recent assistant messages to protect from pruning */
|
|
500
|
-
keepLastAssistants: z.ZodDefault<z.ZodNumber>;
|
|
501
|
-
/** Minimum tool result size in characters eligible for soft-trim */
|
|
502
|
-
minPrunableToolChars: z.ZodDefault<z.ZodNumber>;
|
|
503
|
-
/** Tool names never pruned (strings in config, converted to RegExp patterns at runtime by consumer) */
|
|
504
|
-
protectedTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
505
|
-
}, z.core.$strict>;
|
|
506
|
-
/** Source gate configuration for HTTP response size and sanitization (per-agent). */
|
|
507
|
-
export declare const SourceGateConfigSchema: z.ZodObject<{
|
|
508
|
-
/** Default byte cap for HTTP responses (matches DEFAULT_SOURCE_PROFILES.web_fetch.maxResponseBytes) */
|
|
509
|
-
maxResponseBytes: z.ZodDefault<z.ZodNumber>;
|
|
510
|
-
/** Whether to strip hidden HTML before extraction */
|
|
511
|
-
stripHiddenHtml: z.ZodDefault<z.ZodBoolean>;
|
|
512
|
-
}, z.core.$strict>;
|
|
513
|
-
export type ContextPruningConfig = z.infer<typeof ContextPruningConfigSchema>;
|
|
514
|
-
export type SourceGateConfig = z.infer<typeof SourceGateConfigSchema>;
|
|
515
|
-
/**
|
|
516
|
-
* Agent configuration schema.
|
|
517
|
-
*
|
|
518
|
-
* Defines agent identity, model selection, execution limits,
|
|
519
|
-
* workspace paths, and per-agent feature configuration.
|
|
520
|
-
*/
|
|
521
|
-
/** Routing binding: maps channel/peer/guild patterns to a specific agent. */
|
|
522
|
-
export declare const RoutingBindingSchema: z.ZodObject<{
|
|
523
|
-
/** Channel type to match (e.g. "telegram", "discord") */
|
|
524
|
-
channelType: z.ZodOptional<z.ZodString>;
|
|
525
|
-
/** Channel identifier to match */
|
|
526
|
-
channelId: z.ZodOptional<z.ZodString>;
|
|
527
|
-
/** Peer (user) identifier to match */
|
|
528
|
-
peerId: z.ZodOptional<z.ZodString>;
|
|
529
|
-
/** Guild (server/group) identifier to match */
|
|
530
|
-
guildId: z.ZodOptional<z.ZodString>;
|
|
531
|
-
/** Agent ID to route to when this binding matches */
|
|
532
|
-
agentId: z.ZodString;
|
|
533
|
-
}, z.core.$strict>;
|
|
534
|
-
/** Routing configuration for multi-agent dispatch. */
|
|
535
|
-
export declare const RoutingConfigSchema: z.ZodObject<{
|
|
536
|
-
/** Agent ID to use when no routing binding matches */
|
|
537
|
-
defaultAgentId: z.ZodDefault<z.ZodString>;
|
|
538
|
-
/** Ordered list of routing bindings (first match wins) */
|
|
539
|
-
bindings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
540
|
-
/** Channel type to match (e.g. "telegram", "discord") */
|
|
541
|
-
channelType: z.ZodOptional<z.ZodString>;
|
|
542
|
-
/** Channel identifier to match */
|
|
543
|
-
channelId: z.ZodOptional<z.ZodString>;
|
|
544
|
-
/** Peer (user) identifier to match */
|
|
545
|
-
peerId: z.ZodOptional<z.ZodString>;
|
|
546
|
-
/** Guild (server/group) identifier to match */
|
|
547
|
-
guildId: z.ZodOptional<z.ZodString>;
|
|
548
|
-
/** Agent ID to route to when this binding matches */
|
|
549
|
-
agentId: z.ZodString;
|
|
550
|
-
}, z.core.$strict>>>;
|
|
551
|
-
}, z.core.$strict>;
|
|
552
|
-
/** RAG (Retrieval-Augmented Generation) configuration for automatic memory retrieval before LLM calls. */
|
|
553
|
-
export declare const RagConfigSchema: z.ZodObject<{
|
|
554
|
-
/** Enable automatic memory retrieval before LLM calls */
|
|
555
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
556
|
-
/** Maximum number of memory results to retrieve */
|
|
557
|
-
maxResults: z.ZodDefault<z.ZodNumber>;
|
|
558
|
-
/** Maximum characters of memory context to inject into system prompt */
|
|
559
|
-
maxContextChars: z.ZodDefault<z.ZodNumber>;
|
|
560
|
-
/** Minimum RRF score threshold (0-1) to include a memory result */
|
|
561
|
-
minScore: z.ZodDefault<z.ZodNumber>;
|
|
562
|
-
/** Trust levels to include in retrieval (external excluded by default for security) */
|
|
563
|
-
includeTrustLevels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
564
|
-
system: "system";
|
|
565
|
-
learned: "learned";
|
|
566
|
-
external: "external";
|
|
567
|
-
}>>>;
|
|
568
|
-
}, z.core.$strict>;
|
|
569
|
-
export type RagConfig = z.infer<typeof RagConfigSchema>;
|
|
570
|
-
/** Bootstrap configuration for workspace file injection into system prompts. */
|
|
571
|
-
export declare const BootstrapConfigSchema: z.ZodObject<{
|
|
572
|
-
/** Per-file character limit for workspace files injected into system prompt */
|
|
573
|
-
maxChars: z.ZodDefault<z.ZodNumber>;
|
|
574
|
-
/** System prompt verbosity mode: full (all sections), minimal (sub-agents), none (identity only) */
|
|
575
|
-
promptMode: z.ZodDefault<z.ZodEnum<{
|
|
576
|
-
minimal: "minimal";
|
|
577
|
-
full: "full";
|
|
578
|
-
none: "none";
|
|
579
|
-
}>>;
|
|
580
|
-
/** When true, USER.md is excluded from bootstrap context in group chat sessions (privacy). Default: true. */
|
|
581
|
-
groupChatFiltering: z.ZodDefault<z.ZodBoolean>;
|
|
582
|
-
}, z.core.$strict>;
|
|
583
|
-
export type BootstrapConfig = z.infer<typeof BootstrapConfigSchema>;
|
|
584
|
-
/** Per-agent concurrency limits (maxConcurrentRuns controls session serialization). */
|
|
585
|
-
export declare const ConcurrencyConfigSchema: z.ZodObject<{
|
|
586
|
-
/** Maximum concurrent agent runs for this agent (default: 4) */
|
|
587
|
-
maxConcurrentRuns: z.ZodDefault<z.ZodNumber>;
|
|
588
|
-
/** Maximum queued messages per session before overflow (default: 50) */
|
|
589
|
-
maxQueuedPerSession: z.ZodDefault<z.ZodNumber>;
|
|
590
|
-
}, z.core.$strict>;
|
|
591
|
-
export type ConcurrencyConfig = z.infer<typeof ConcurrencyConfigSchema>;
|
|
592
|
-
/** Target channel for a broadcast group delivery. */
|
|
593
|
-
export declare const BroadcastTargetSchema: z.ZodObject<{
|
|
594
|
-
/** Channel type (e.g., "telegram", "discord", "slack") */
|
|
595
|
-
channelType: z.ZodString;
|
|
596
|
-
/** Channel identifier within the platform */
|
|
597
|
-
channelId: z.ZodString;
|
|
598
|
-
/** Chat/conversation identifier within the channel */
|
|
599
|
-
chatId: z.ZodString;
|
|
600
|
-
}, z.core.$strict>;
|
|
601
|
-
/** Broadcast group for simultaneous multi-channel message delivery. */
|
|
602
|
-
export declare const BroadcastGroupSchema: z.ZodObject<{
|
|
603
|
-
/** Unique group identifier (referenced in broadcast tool calls) */
|
|
604
|
-
id: z.ZodString;
|
|
605
|
-
/** Human-readable group name */
|
|
606
|
-
name: z.ZodDefault<z.ZodString>;
|
|
607
|
-
/** Channel targets for simultaneous delivery */
|
|
608
|
-
targets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
609
|
-
/** Channel type (e.g., "telegram", "discord", "slack") */
|
|
610
|
-
channelType: z.ZodString;
|
|
611
|
-
/** Channel identifier within the platform */
|
|
612
|
-
channelId: z.ZodString;
|
|
613
|
-
/** Chat/conversation identifier within the channel */
|
|
614
|
-
chatId: z.ZodString;
|
|
615
|
-
}, z.core.$strict>>>;
|
|
616
|
-
/** Whether this broadcast group is active */
|
|
617
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
618
|
-
}, z.core.$strict>;
|
|
619
|
-
export type BroadcastTarget = z.infer<typeof BroadcastTargetSchema>;
|
|
620
|
-
export type BroadcastGroup = z.infer<typeof BroadcastGroupSchema>;
|
|
621
|
-
/** Elevated reply mode: routes messages to different models based on sender trust level. */
|
|
622
|
-
export declare const ElevatedReplyConfigSchema: z.ZodObject<{
|
|
623
|
-
/** Enable trust-based model/prompt routing */
|
|
624
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
625
|
-
/** Map of trust level name to model route name (from modelRoutes) */
|
|
626
|
-
trustModelRoutes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
627
|
-
/** Map of trust level name to system prompt section override text */
|
|
628
|
-
trustPromptOverrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
629
|
-
/** Default trust level for unknown senders */
|
|
630
|
-
defaultTrustLevel: z.ZodDefault<z.ZodString>;
|
|
631
|
-
/** Per-sender trust level overrides (senderId -> trust level name) */
|
|
632
|
-
senderTrustMap: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
633
|
-
}, z.core.$strict>;
|
|
634
|
-
export type ElevatedReplyConfig = z.infer<typeof ElevatedReplyConfigSchema>;
|
|
635
|
-
/** Per-agent JSONL trace configuration (disabled by default). */
|
|
636
|
-
export declare const TracingConfigSchema: z.ZodObject<{
|
|
637
|
-
/** Enable per-LLM-call JSONL trace files */
|
|
638
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
639
|
-
/** Output directory for JSONL trace files. Supports ~ expansion. Default: ~/.comis/traces */
|
|
640
|
-
outputDir: z.ZodDefault<z.ZodString>;
|
|
641
|
-
}, z.core.$strict>;
|
|
642
|
-
export type TracingConfig = z.infer<typeof TracingConfigSchema>;
|
|
643
|
-
/** SDK retry configuration: controls exponential backoff for transient errors (429, 5xx).
|
|
644
|
-
* The SDK handles retry internally; this schema configures its behavior per-agent. */
|
|
645
|
-
export declare const SdkRetryConfigSchema: z.ZodObject<{
|
|
646
|
-
/** Enable SDK-native retry with exponential backoff */
|
|
647
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
648
|
-
/** Maximum number of retry attempts for transient errors (5 retries = 6 total attempts) */
|
|
649
|
-
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
650
|
-
/** Base delay in milliseconds before first retry (4s base with exponential backoff: 4s, 8s, 16s, 32s, 60s capped) */
|
|
651
|
-
baseDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
652
|
-
/** Maximum delay cap in milliseconds between retries */
|
|
653
|
-
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
654
|
-
}, z.core.$strict>;
|
|
655
|
-
export type SdkRetryConfig = z.infer<typeof SdkRetryConfigSchema>;
|
|
656
|
-
/** Context window guard configuration: percent-based warn/block thresholds. */
|
|
657
|
-
export declare const ContextGuardConfigSchema: z.ZodObject<{
|
|
658
|
-
/** Enable context window guard checks during execution */
|
|
659
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
660
|
-
/** Warn when context usage reaches this percent (0-100). Default: 80. */
|
|
661
|
-
warnPercent: z.ZodDefault<z.ZodNumber>;
|
|
662
|
-
/** Block (abort) execution when context usage reaches this percent (0-100). Default: 95. */
|
|
663
|
-
blockPercent: z.ZodDefault<z.ZodNumber>;
|
|
664
|
-
}, z.core.$strict>;
|
|
665
|
-
export type ContextGuardConfig = z.infer<typeof ContextGuardConfigSchema>;
|
|
666
|
-
/** Tool lifecycle management: per-turn usage tracking and automatic demotion of unused tools. */
|
|
667
|
-
export declare const ToolLifecycleConfigSchema: z.ZodObject<{
|
|
668
|
-
/** Whether tool lifecycle management is enabled. When false, no usage tracking or demotion occurs. */
|
|
669
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
670
|
-
/** Number of turns of non-use before a tool is demoted (schema-stripped). */
|
|
671
|
-
demotionThreshold: z.ZodDefault<z.ZodNumber>;
|
|
672
|
-
}, z.core.$strict>;
|
|
673
|
-
export type ToolLifecycleConfig = z.infer<typeof ToolLifecycleConfigSchema>;
|
|
674
|
-
/** Deferred tools configuration: operator control over tool deferral behavior per-agent. */
|
|
675
|
-
export declare const DeferredToolsConfigSchema: z.ZodObject<{
|
|
676
|
-
/** Deferral mode: "always" defers all non-core tools, "auto" uses rule+budget heuristics, "never" disables deferral. */
|
|
677
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
678
|
-
never: "never";
|
|
679
|
-
always: "always";
|
|
680
|
-
auto: "auto";
|
|
681
|
-
}>>;
|
|
682
|
-
/** Tool names that must never be deferred (force-loaded into active context). Glob patterns NOT supported -- exact names only. */
|
|
683
|
-
neverDefer: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
684
|
-
/** Tool names that must always be deferred (force-deferred regardless of rules). Glob patterns NOT supported -- exact names only. */
|
|
685
|
-
alwaysDefer: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
686
|
-
}, z.core.$strict>;
|
|
687
|
-
export type DeferredToolsConfig = z.infer<typeof DeferredToolsConfigSchema>;
|
|
688
|
-
/** Silent Execution Planner (SEP) configuration: in-memory checklist system for multi-step task tracking. */
|
|
689
|
-
export declare const SepConfigSchema: z.ZodObject<{
|
|
690
|
-
/** Enable/disable SEP. Default: true. */
|
|
691
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
692
|
-
/** Minimum estimated steps to activate planning (below this threshold, overhead isn't worth it). */
|
|
693
|
-
minSteps: z.ZodDefault<z.ZodNumber>;
|
|
694
|
-
/** Whether to inject a verification nudge when all steps complete. Default: true. */
|
|
695
|
-
verificationNudge: z.ZodDefault<z.ZodBoolean>;
|
|
696
|
-
/** Maximum plan steps to track (prevents runaway extraction on vague requests). */
|
|
697
|
-
maxSteps: z.ZodDefault<z.ZodNumber>;
|
|
698
|
-
/** Whether to include progress in user-visible response. Default: false. */
|
|
699
|
-
userVisibleProgress: z.ZodDefault<z.ZodBoolean>;
|
|
700
|
-
}, z.core.$strict>;
|
|
701
|
-
export type SepConfig = z.infer<typeof SepConfigSchema>;
|
|
702
|
-
export declare const AgentConfigSchema: z.ZodObject<{
|
|
703
|
-
/** Display name for the agent */
|
|
704
|
-
name: z.ZodDefault<z.ZodString>;
|
|
705
|
-
/** LLM model identifier — "default" resolves via models.defaultModel (e.g. "claude-sonnet-4-5-20250929") */
|
|
706
|
-
model: z.ZodDefault<z.ZodString>;
|
|
707
|
-
/** LLM provider — "default" resolves via models.defaultProvider (e.g. "anthropic", "openai") */
|
|
708
|
-
provider: z.ZodDefault<z.ZodString>;
|
|
709
|
-
/** Maximum reasoning steps per execution */
|
|
710
|
-
maxSteps: z.ZodDefault<z.ZodNumber>;
|
|
711
|
-
/** SDK thinking level override (off/minimal/low/medium/high/xhigh). Optional -- only overrides when set. */
|
|
712
|
-
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
713
|
-
minimal: "minimal";
|
|
714
|
-
off: "off";
|
|
715
|
-
low: "low";
|
|
716
|
-
medium: "medium";
|
|
717
|
-
high: "high";
|
|
718
|
-
xhigh: "xhigh";
|
|
719
|
-
}>>;
|
|
720
|
-
/** SDK max tokens override. Optional -- only overrides when set. */
|
|
721
|
-
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
722
|
-
/** SDK temperature override (0-2). Optional -- only overrides when set. */
|
|
723
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
|
724
|
-
/**
|
|
725
|
-
* Prompt cache retention hint (none/short/long). Default: "long".
|
|
726
|
-
*
|
|
727
|
-
* Anthropic: Controls cache_control TTL marker injection.
|
|
728
|
-
* - "none": no caching markers added
|
|
729
|
-
* - "short": 5-minute ephemeral TTL (all Anthropic providers)
|
|
730
|
-
* - "long": 1-hour TTL on api.anthropic.com; Bedrock and Vertex silently fall back to 5-minute TTL
|
|
731
|
-
*
|
|
732
|
-
* Gemini: This field is NOT used for Gemini explicit caching (CachedContent API).
|
|
733
|
-
* Gemini cache TTL is controlled by geminiCache config and the GeminiCacheManager's
|
|
734
|
-
* ttlSeconds parameter (default: 3600s). Active sessions get TTL refresh at 50% interval.
|
|
735
|
-
* The cacheRetention value has no effect on Gemini providers.
|
|
736
|
-
*/
|
|
737
|
-
cacheRetention: z.ZodDefault<z.ZodEnum<{
|
|
738
|
-
none: "none";
|
|
739
|
-
short: "short";
|
|
740
|
-
long: "long";
|
|
741
|
-
}>>;
|
|
742
|
-
/** Per-model family cache retention overrides. Keys are model ID prefixes
|
|
743
|
-
* (e.g., "claude-haiku", "claude-sonnet-4-6"). Longest-prefix-first matching.
|
|
744
|
-
* Overrides the agent-level cacheRetention for matching models.
|
|
745
|
-
* Set a model family to "none" to disable caching for debugging/testing. */
|
|
746
|
-
cacheRetentionOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
747
|
-
none: "none";
|
|
748
|
-
short: "short";
|
|
749
|
-
long: "long";
|
|
750
|
-
}>>>;
|
|
751
|
-
/** When true, use adaptive cache retention (cold-start "short" -> "long" after N turns).
|
|
752
|
-
* When false, use static retention from cacheRetention field.
|
|
753
|
-
* Default: true -- adaptive retention saves ~$4/MTok on cold-start Opus calls. */
|
|
754
|
-
adaptiveCacheRetention: z.ZodDefault<z.ZodBoolean>;
|
|
755
|
-
/** Cache breakpoint strategy. 'single' (default) minimizes KV page waste.
|
|
756
|
-
* 'auto' resolves to 'single' for direct Anthropic and 'multi-zone' for Bedrock/Vertex.
|
|
757
|
-
* 'multi-zone' places breakpoints across system, tools, and messages. */
|
|
758
|
-
cacheBreakpointStrategy: z.ZodDefault<z.ZodEnum<{
|
|
759
|
-
auto: "auto";
|
|
760
|
-
"multi-zone": "multi-zone";
|
|
761
|
-
single: "single";
|
|
762
|
-
}>>;
|
|
763
|
-
/** Advanced cache optimization options for interactive sessions. */
|
|
764
|
-
advancedCacheOptimization: z.ZodDefault<z.ZodObject<{
|
|
765
|
-
enableRecentZonePromotion: z.ZodDefault<z.ZodBoolean>;
|
|
766
|
-
}, z.core.$strip>>;
|
|
767
|
-
/** Gemini explicit cache configuration (CachedContent lifecycle). */
|
|
768
|
-
geminiCache: z.ZodDefault<z.ZodObject<{
|
|
769
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
770
|
-
maxActiveCaches: z.ZodDefault<z.ZodNumber>;
|
|
771
|
-
}, z.core.$strict>>;
|
|
772
|
-
/** When true, only content inside <final> blocks reaches users (streaming + non-streaming). Default: false. */
|
|
773
|
-
enforceFinalTag: z.ZodDefault<z.ZodBoolean>;
|
|
774
|
-
/** When true, enables fast/cheap model routing for simple requests. Default: false. */
|
|
775
|
-
fastMode: z.ZodDefault<z.ZodBoolean>;
|
|
776
|
-
/** When true, OpenAI store: true is injected for completions storage. Default: false (privacy). */
|
|
777
|
-
storeCompletions: z.ZodDefault<z.ZodBoolean>;
|
|
778
|
-
/** Maximum total characters for context window. Default: 100_000 (~25k tokens). */
|
|
779
|
-
maxContextChars: z.ZodDefault<z.ZodNumber>;
|
|
780
|
-
/** Maximum characters per tool result before truncation. Default: 50_000. */
|
|
781
|
-
maxToolResultChars: z.ZodDefault<z.ZodNumber>;
|
|
782
|
-
/** Minimum number of recent messages to always preserve during compaction. Default: 4. */
|
|
783
|
-
preserveRecent: z.ZodDefault<z.ZodNumber>;
|
|
784
|
-
/** Token budget limits */
|
|
785
|
-
budgets: z.ZodDefault<z.ZodObject<{
|
|
786
|
-
/** Max tokens per single execution */
|
|
787
|
-
perExecution: z.ZodDefault<z.ZodNumber>;
|
|
788
|
-
/** Max tokens per hour (rolling window) */
|
|
789
|
-
perHour: z.ZodDefault<z.ZodNumber>;
|
|
790
|
-
/** Max tokens per day (rolling window) */
|
|
791
|
-
perDay: z.ZodDefault<z.ZodNumber>;
|
|
792
|
-
}, z.core.$strict>>;
|
|
793
|
-
/** Circuit breaker for provider failures */
|
|
794
|
-
circuitBreaker: z.ZodDefault<z.ZodObject<{
|
|
795
|
-
/** Number of consecutive failures before opening circuit */
|
|
796
|
-
failureThreshold: z.ZodDefault<z.ZodNumber>;
|
|
797
|
-
/** Milliseconds to wait before attempting recovery */
|
|
798
|
-
resetTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
799
|
-
/** Milliseconds for half-open probe timeout */
|
|
800
|
-
halfOpenTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
801
|
-
}, z.core.$strict>>;
|
|
802
|
-
/** Tool retry circuit breaker for blocking repeatedly-failing tools. */
|
|
803
|
-
toolRetryBreaker: z.ZodDefault<z.ZodObject<{
|
|
804
|
-
/** Enable tool retry circuit breaker. Default: true. */
|
|
805
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
806
|
-
/** Max consecutive failures for same tool+args before blocking. Default: 3. */
|
|
807
|
-
maxConsecutiveFailures: z.ZodDefault<z.ZodNumber>;
|
|
808
|
-
/** Max total failures for a tool name (any args) before blocking all calls. Default: 5. */
|
|
809
|
-
maxToolFailures: z.ZodDefault<z.ZodNumber>;
|
|
810
|
-
/** Suggest alternative tools in block reason. Default: true. */
|
|
811
|
-
suggestAlternatives: z.ZodDefault<z.ZodBoolean>;
|
|
812
|
-
/** Max consecutive same-error-class failures (any args) before blocking. Default: 2.
|
|
813
|
-
* Stricter than args-based because same error + different args = stronger stuck signal. */
|
|
814
|
-
maxConsecutiveErrorPatterns: z.ZodDefault<z.ZodNumber>;
|
|
815
|
-
}, z.core.$strict>>;
|
|
816
|
-
/** Workspace profile and settings */
|
|
817
|
-
workspace: z.ZodDefault<z.ZodObject<{
|
|
818
|
-
profile: z.ZodDefault<z.ZodEnum<{
|
|
819
|
-
full: "full";
|
|
820
|
-
specialist: "specialist";
|
|
821
|
-
}>>;
|
|
822
|
-
}, z.core.$strict>>;
|
|
823
|
-
/** Path to agent workspace directory containing identity files */
|
|
824
|
-
workspacePath: z.ZodOptional<z.ZodString>;
|
|
825
|
-
/** Per-task model route overrides */
|
|
826
|
-
modelRoutes: z.ZodDefault<z.ZodObject<{
|
|
827
|
-
default: z.ZodOptional<z.ZodString>;
|
|
828
|
-
}, z.core.$catchall<z.ZodString>>>;
|
|
829
|
-
/** RAG (Retrieval-Augmented Generation) memory context settings */
|
|
830
|
-
rag: z.ZodDefault<z.ZodObject<{
|
|
831
|
-
/** Enable automatic memory retrieval before LLM calls */
|
|
832
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
833
|
-
/** Maximum number of memory results to retrieve */
|
|
834
|
-
maxResults: z.ZodDefault<z.ZodNumber>;
|
|
835
|
-
/** Maximum characters of memory context to inject into system prompt */
|
|
836
|
-
maxContextChars: z.ZodDefault<z.ZodNumber>;
|
|
837
|
-
/** Minimum RRF score threshold (0-1) to include a memory result */
|
|
838
|
-
minScore: z.ZodDefault<z.ZodNumber>;
|
|
839
|
-
/** Trust levels to include in retrieval (external excluded by default for security) */
|
|
840
|
-
includeTrustLevels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
841
|
-
system: "system";
|
|
842
|
-
learned: "learned";
|
|
843
|
-
external: "external";
|
|
844
|
-
}>>>;
|
|
845
|
-
}, z.core.$strict>>;
|
|
846
|
-
/** Bootstrap workspace file injection settings */
|
|
847
|
-
bootstrap: z.ZodDefault<z.ZodObject<{
|
|
848
|
-
/** Per-file character limit for workspace files injected into system prompt */
|
|
849
|
-
maxChars: z.ZodDefault<z.ZodNumber>;
|
|
850
|
-
/** System prompt verbosity mode: full (all sections), minimal (sub-agents), none (identity only) */
|
|
851
|
-
promptMode: z.ZodDefault<z.ZodEnum<{
|
|
852
|
-
minimal: "minimal";
|
|
853
|
-
full: "full";
|
|
854
|
-
none: "none";
|
|
855
|
-
}>>;
|
|
856
|
-
/** When true, USER.md is excluded from bootstrap context in group chat sessions (privacy). Default: true. */
|
|
857
|
-
groupChatFiltering: z.ZodDefault<z.ZodBoolean>;
|
|
858
|
-
}, z.core.$strict>>;
|
|
859
|
-
/** Reaction frequency mode: minimal (1 per 5-10 exchanges) or extensive (react freely). Omit to disable reaction guidance. */
|
|
860
|
-
reactionLevel: z.ZodOptional<z.ZodEnum<{
|
|
861
|
-
minimal: "minimal";
|
|
862
|
-
extensive: "extensive";
|
|
863
|
-
}>>;
|
|
864
|
-
/** Model failover and auth rotation settings */
|
|
865
|
-
modelFailover: z.ZodDefault<z.ZodObject<{
|
|
866
|
-
/** Ordered list of fallback models to try when primary fails */
|
|
867
|
-
fallbackModels: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
868
|
-
/** LLM provider (e.g. "anthropic", "openai") */
|
|
869
|
-
provider: z.ZodString;
|
|
870
|
-
/** Model identifier at the provider */
|
|
871
|
-
modelId: z.ZodString;
|
|
872
|
-
}, z.core.$strict>>>;
|
|
873
|
-
/** Per-provider API key profiles for auth rotation */
|
|
874
|
-
authProfiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
875
|
-
/** Key name in SecretManager (e.g. "ANTHROPIC_API_KEY_2") */
|
|
876
|
-
keyName: z.ZodString;
|
|
877
|
-
/** Provider this key belongs to (e.g. "anthropic") */
|
|
878
|
-
provider: z.ZodString;
|
|
879
|
-
}, z.core.$strict>>>;
|
|
880
|
-
/** Model allowlist (empty = allow all models) */
|
|
881
|
-
allowedModels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
882
|
-
/** Maximum total attempts across all models/keys */
|
|
883
|
-
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
884
|
-
/** Initial cooldown duration in milliseconds (1 min) */
|
|
885
|
-
cooldownInitialMs: z.ZodDefault<z.ZodNumber>;
|
|
886
|
-
/** Exponential cooldown multiplier */
|
|
887
|
-
cooldownMultiplier: z.ZodDefault<z.ZodNumber>;
|
|
888
|
-
/** Maximum cooldown duration in milliseconds (1 hr) */
|
|
889
|
-
cooldownCapMs: z.ZodDefault<z.ZodNumber>;
|
|
890
|
-
}, z.core.$strict>>;
|
|
891
|
-
/** SDK retry configuration (exponential backoff for 429/5xx transient errors) */
|
|
892
|
-
sdkRetry: z.ZodDefault<z.ZodObject<{
|
|
893
|
-
/** Enable SDK-native retry with exponential backoff */
|
|
894
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
895
|
-
/** Maximum number of retry attempts for transient errors (5 retries = 6 total attempts) */
|
|
896
|
-
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
897
|
-
/** Base delay in milliseconds before first retry (4s base with exponential backoff: 4s, 8s, 16s, 32s, 60s capped) */
|
|
898
|
-
baseDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
899
|
-
/** Maximum delay cap in milliseconds between retries */
|
|
900
|
-
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
901
|
-
}, z.core.$strict>>;
|
|
902
|
-
/** Prompt timeout configuration (wall-clock timeouts for LLM calls) */
|
|
903
|
-
promptTimeout: z.ZodDefault<z.ZodObject<{
|
|
904
|
-
/** Wall-clock timeout for primary prompt calls in milliseconds. Default: 180s. */
|
|
905
|
-
promptTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
906
|
-
/** Wall-clock timeout for retry prompt calls in milliseconds. Default: 60s. */
|
|
907
|
-
retryPromptTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
908
|
-
}, z.core.$strict>>;
|
|
909
|
-
/** Per-operation model override configuration (model tiering). */
|
|
910
|
-
operationModels: z.ZodDefault<z.ZodObject<{
|
|
911
|
-
cron: z.ZodOptional<z.ZodObject<{
|
|
912
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
913
|
-
model: z.ZodOptional<z.ZodString>;
|
|
914
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
915
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
916
|
-
}, z.core.$strict>>;
|
|
917
|
-
heartbeat: z.ZodOptional<z.ZodObject<{
|
|
918
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
919
|
-
model: z.ZodOptional<z.ZodString>;
|
|
920
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
921
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
922
|
-
}, z.core.$strict>>;
|
|
923
|
-
subagent: z.ZodOptional<z.ZodObject<{
|
|
924
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
925
|
-
model: z.ZodOptional<z.ZodString>;
|
|
926
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
927
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
928
|
-
}, z.core.$strict>>;
|
|
929
|
-
compaction: z.ZodOptional<z.ZodObject<{
|
|
930
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
931
|
-
model: z.ZodOptional<z.ZodString>;
|
|
932
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
933
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
934
|
-
}, z.core.$strict>>;
|
|
935
|
-
taskExtraction: z.ZodOptional<z.ZodObject<{
|
|
936
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
937
|
-
model: z.ZodOptional<z.ZodString>;
|
|
938
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
939
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
940
|
-
}, z.core.$strict>>;
|
|
941
|
-
condensation: z.ZodOptional<z.ZodObject<{
|
|
942
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
943
|
-
model: z.ZodOptional<z.ZodString>;
|
|
944
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
945
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
946
|
-
}, z.core.$strict>>;
|
|
947
|
-
}, z.core.$strict>>;
|
|
948
|
-
}, z.core.$strict>;
|
|
949
|
-
export type AgentConfig = z.infer<typeof AgentConfigSchema>;
|
|
950
|
-
export type RoutingBinding = z.infer<typeof RoutingBindingSchema>;
|
|
951
|
-
export type RoutingConfig = z.infer<typeof RoutingConfigSchema>;
|
|
952
|
-
/** Per-agent cron configuration (enabled defaults to true). */
|
|
953
|
-
export declare const PerAgentCronConfigSchema: z.ZodObject<{
|
|
954
|
-
/** Enable cron job scheduling for this agent */
|
|
955
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
956
|
-
/** Maximum concurrent cron job runs for this agent */
|
|
957
|
-
maxConcurrentRuns: z.ZodDefault<z.ZodNumber>;
|
|
958
|
-
/** Default timezone for cron expressions (empty = UTC) */
|
|
959
|
-
defaultTimezone: z.ZodDefault<z.ZodString>;
|
|
960
|
-
/** Maximum number of cron jobs allowed for this agent (0 = unlimited) */
|
|
961
|
-
maxJobs: z.ZodDefault<z.ZodNumber>;
|
|
962
|
-
/** Maximum consecutive errors before auto-suspending a cron job (0 = never suspend). Per-agent override. */
|
|
963
|
-
maxConsecutiveErrors: z.ZodDefault<z.ZodNumber>;
|
|
964
|
-
}, z.core.$strict>;
|
|
965
|
-
/** Per-agent heartbeat delivery target (which channel to send heartbeat notifications to). */
|
|
966
|
-
export declare const HeartbeatTargetSchema: z.ZodObject<{
|
|
967
|
-
/** Channel type (e.g., "telegram", "discord") */
|
|
968
|
-
channelType: z.ZodString;
|
|
969
|
-
/** Channel identifier within the platform */
|
|
970
|
-
channelId: z.ZodString;
|
|
971
|
-
/** Chat/conversation identifier */
|
|
972
|
-
chatId: z.ZodString;
|
|
973
|
-
/** Whether this target is a DM conversation (for DM delivery policy) */
|
|
974
|
-
isDm: z.ZodOptional<z.ZodBoolean>;
|
|
975
|
-
}, z.core.$strict>;
|
|
976
|
-
/** Per-agent heartbeat config: all fields optional (inherit from global scheduler.heartbeat). */
|
|
977
|
-
export declare const PerAgentHeartbeatConfigSchema: z.ZodObject<{
|
|
978
|
-
/** Override heartbeat enabled state for this agent */
|
|
979
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
980
|
-
/** Override heartbeat interval in milliseconds */
|
|
981
|
-
intervalMs: z.ZodOptional<z.ZodNumber>;
|
|
982
|
-
/** Override show OK status */
|
|
983
|
-
showOk: z.ZodOptional<z.ZodBoolean>;
|
|
984
|
-
/** Override show alerts */
|
|
985
|
-
showAlerts: z.ZodOptional<z.ZodBoolean>;
|
|
986
|
-
/** Delivery target channel for this agent's heartbeat notifications */
|
|
987
|
-
target: z.ZodOptional<z.ZodObject<{
|
|
988
|
-
/** Channel type (e.g., "telegram", "discord") */
|
|
989
|
-
channelType: z.ZodString;
|
|
990
|
-
/** Channel identifier within the platform */
|
|
991
|
-
channelId: z.ZodString;
|
|
992
|
-
/** Chat/conversation identifier */
|
|
993
|
-
chatId: z.ZodString;
|
|
994
|
-
/** Whether this target is a DM conversation (for DM delivery policy) */
|
|
995
|
-
isDm: z.ZodOptional<z.ZodBoolean>;
|
|
996
|
-
}, z.core.$strict>>;
|
|
997
|
-
/** Custom heartbeat prompt for this agent */
|
|
998
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
999
|
-
/** Session key for heartbeat conversation isolation */
|
|
1000
|
-
session: z.ZodOptional<z.ZodString>;
|
|
1001
|
-
/** Whether heartbeat alerts can be delivered to DM conversations (default: true) */
|
|
1002
|
-
allowDm: z.ZodOptional<z.ZodBoolean>;
|
|
1003
|
-
/** When true, heartbeat bootstrap context includes ONLY HEARTBEAT.md (cost optimization) */
|
|
1004
|
-
lightContext: z.ZodOptional<z.ZodBoolean>;
|
|
1005
|
-
/** Maximum characters for soft acknowledgment threshold (default applied in scheduler, not schema) */
|
|
1006
|
-
ackMaxChars: z.ZodOptional<z.ZodNumber>;
|
|
1007
|
-
/** Prefix to strip from LLM responses before delivery */
|
|
1008
|
-
responsePrefix: z.ZodOptional<z.ZodString>;
|
|
1009
|
-
/** Whether to suppress delivery of HEARTBEAT_OK-only responses from cron triggers (default applied in scheduler) */
|
|
1010
|
-
skipHeartbeatOnlyDelivery: z.ZodOptional<z.ZodBoolean>;
|
|
1011
|
-
/** Override consecutive failure threshold for alerting (per-agent) */
|
|
1012
|
-
alertThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1013
|
-
/** Override alert cooldown period in ms (per-agent) */
|
|
1014
|
-
alertCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
1015
|
-
/** Override stuck detection timeout in ms (per-agent) */
|
|
1016
|
-
staleMs: z.ZodOptional<z.ZodNumber>;
|
|
1017
|
-
/** Per-agent heartbeat tool policy override -- matches AgentConfig.toolPolicy shape.
|
|
1018
|
-
*
|
|
1019
|
-
* Resolution order: heartbeat.toolPolicy > agentConfig.toolPolicy > passthrough.
|
|
1020
|
-
* Opt-in: omitting this field preserves the agent's interactive tool set for
|
|
1021
|
-
* heartbeat ticks. Use `{ profile: "heartbeat-minimal" }` for the conservative
|
|
1022
|
-
* preset in `packages/skills/src/policy/tool-policy.ts`. */
|
|
1023
|
-
toolPolicy: z.ZodOptional<z.ZodObject<{
|
|
1024
|
-
profile: z.ZodDefault<z.ZodString>;
|
|
1025
|
-
allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1026
|
-
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1027
|
-
}, z.core.$strip>>;
|
|
1028
|
-
}, z.core.$strict>;
|
|
1029
|
-
export type HeartbeatTarget = z.infer<typeof HeartbeatTargetSchema>;
|
|
1030
|
-
export type PerAgentHeartbeatConfig = z.infer<typeof PerAgentHeartbeatConfigSchema>;
|
|
1031
|
-
/** Per-agent scheduler configuration (wraps cron and heartbeat settings). */
|
|
1032
|
-
export declare const PerAgentSchedulerConfigSchema: z.ZodObject<{
|
|
1033
|
-
/** Per-agent cron configuration */
|
|
1034
|
-
cron: z.ZodDefault<z.ZodObject<{
|
|
1035
|
-
/** Enable cron job scheduling for this agent */
|
|
1036
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1037
|
-
/** Maximum concurrent cron job runs for this agent */
|
|
1038
|
-
maxConcurrentRuns: z.ZodDefault<z.ZodNumber>;
|
|
1039
|
-
/** Default timezone for cron expressions (empty = UTC) */
|
|
1040
|
-
defaultTimezone: z.ZodDefault<z.ZodString>;
|
|
1041
|
-
/** Maximum number of cron jobs allowed for this agent (0 = unlimited) */
|
|
1042
|
-
maxJobs: z.ZodDefault<z.ZodNumber>;
|
|
1043
|
-
/** Maximum consecutive errors before auto-suspending a cron job (0 = never suspend). Per-agent override. */
|
|
1044
|
-
maxConsecutiveErrors: z.ZodDefault<z.ZodNumber>;
|
|
1045
|
-
}, z.core.$strict>>;
|
|
1046
|
-
/** Per-agent heartbeat configuration (optional -- inherits from global scheduler.heartbeat) */
|
|
1047
|
-
heartbeat: z.ZodOptional<z.ZodObject<{
|
|
1048
|
-
/** Override heartbeat enabled state for this agent */
|
|
1049
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1050
|
-
/** Override heartbeat interval in milliseconds */
|
|
1051
|
-
intervalMs: z.ZodOptional<z.ZodNumber>;
|
|
1052
|
-
/** Override show OK status */
|
|
1053
|
-
showOk: z.ZodOptional<z.ZodBoolean>;
|
|
1054
|
-
/** Override show alerts */
|
|
1055
|
-
showAlerts: z.ZodOptional<z.ZodBoolean>;
|
|
1056
|
-
/** Delivery target channel for this agent's heartbeat notifications */
|
|
1057
|
-
target: z.ZodOptional<z.ZodObject<{
|
|
1058
|
-
/** Channel type (e.g., "telegram", "discord") */
|
|
1059
|
-
channelType: z.ZodString;
|
|
1060
|
-
/** Channel identifier within the platform */
|
|
1061
|
-
channelId: z.ZodString;
|
|
1062
|
-
/** Chat/conversation identifier */
|
|
1063
|
-
chatId: z.ZodString;
|
|
1064
|
-
/** Whether this target is a DM conversation (for DM delivery policy) */
|
|
1065
|
-
isDm: z.ZodOptional<z.ZodBoolean>;
|
|
1066
|
-
}, z.core.$strict>>;
|
|
1067
|
-
/** Custom heartbeat prompt for this agent */
|
|
1068
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
1069
|
-
/** Session key for heartbeat conversation isolation */
|
|
1070
|
-
session: z.ZodOptional<z.ZodString>;
|
|
1071
|
-
/** Whether heartbeat alerts can be delivered to DM conversations (default: true) */
|
|
1072
|
-
allowDm: z.ZodOptional<z.ZodBoolean>;
|
|
1073
|
-
/** When true, heartbeat bootstrap context includes ONLY HEARTBEAT.md (cost optimization) */
|
|
1074
|
-
lightContext: z.ZodOptional<z.ZodBoolean>;
|
|
1075
|
-
/** Maximum characters for soft acknowledgment threshold (default applied in scheduler, not schema) */
|
|
1076
|
-
ackMaxChars: z.ZodOptional<z.ZodNumber>;
|
|
1077
|
-
/** Prefix to strip from LLM responses before delivery */
|
|
1078
|
-
responsePrefix: z.ZodOptional<z.ZodString>;
|
|
1079
|
-
/** Whether to suppress delivery of HEARTBEAT_OK-only responses from cron triggers (default applied in scheduler) */
|
|
1080
|
-
skipHeartbeatOnlyDelivery: z.ZodOptional<z.ZodBoolean>;
|
|
1081
|
-
/** Override consecutive failure threshold for alerting (per-agent) */
|
|
1082
|
-
alertThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1083
|
-
/** Override alert cooldown period in ms (per-agent) */
|
|
1084
|
-
alertCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
1085
|
-
/** Override stuck detection timeout in ms (per-agent) */
|
|
1086
|
-
staleMs: z.ZodOptional<z.ZodNumber>;
|
|
1087
|
-
/** Per-agent heartbeat tool policy override -- matches AgentConfig.toolPolicy shape.
|
|
1088
|
-
*
|
|
1089
|
-
* Resolution order: heartbeat.toolPolicy > agentConfig.toolPolicy > passthrough.
|
|
1090
|
-
* Opt-in: omitting this field preserves the agent's interactive tool set for
|
|
1091
|
-
* heartbeat ticks. Use `{ profile: "heartbeat-minimal" }` for the conservative
|
|
1092
|
-
* preset in `packages/skills/src/policy/tool-policy.ts`. */
|
|
1093
|
-
toolPolicy: z.ZodOptional<z.ZodObject<{
|
|
1094
|
-
profile: z.ZodDefault<z.ZodString>;
|
|
1095
|
-
allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1096
|
-
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1097
|
-
}, z.core.$strip>>;
|
|
1098
|
-
}, z.core.$strict>>;
|
|
1099
|
-
}, z.core.$strict>;
|
|
1100
|
-
/** Per-agent configuration: extends AgentConfigSchema with skills, scheduler, session, concurrency. */
|
|
1101
|
-
export declare const PerAgentConfigSchema: z.ZodObject<{
|
|
1102
|
-
name: z.ZodDefault<z.ZodString>;
|
|
1103
|
-
model: z.ZodDefault<z.ZodString>;
|
|
1104
|
-
provider: z.ZodDefault<z.ZodString>;
|
|
1105
|
-
maxSteps: z.ZodDefault<z.ZodNumber>;
|
|
1106
|
-
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
1107
|
-
minimal: "minimal";
|
|
1108
|
-
off: "off";
|
|
1109
|
-
low: "low";
|
|
1110
|
-
medium: "medium";
|
|
1111
|
-
high: "high";
|
|
1112
|
-
xhigh: "xhigh";
|
|
1113
|
-
}>>;
|
|
1114
|
-
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1115
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1116
|
-
cacheRetention: z.ZodDefault<z.ZodEnum<{
|
|
1117
|
-
none: "none";
|
|
1118
|
-
short: "short";
|
|
1119
|
-
long: "long";
|
|
1120
|
-
}>>;
|
|
1121
|
-
cacheRetentionOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
1122
|
-
none: "none";
|
|
1123
|
-
short: "short";
|
|
1124
|
-
long: "long";
|
|
1125
|
-
}>>>;
|
|
1126
|
-
adaptiveCacheRetention: z.ZodDefault<z.ZodBoolean>;
|
|
1127
|
-
cacheBreakpointStrategy: z.ZodDefault<z.ZodEnum<{
|
|
1128
|
-
auto: "auto";
|
|
1129
|
-
"multi-zone": "multi-zone";
|
|
1130
|
-
single: "single";
|
|
1131
|
-
}>>;
|
|
1132
|
-
advancedCacheOptimization: z.ZodDefault<z.ZodObject<{
|
|
1133
|
-
enableRecentZonePromotion: z.ZodDefault<z.ZodBoolean>;
|
|
1134
|
-
}, z.core.$strip>>;
|
|
1135
|
-
geminiCache: z.ZodDefault<z.ZodObject<{
|
|
1136
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1137
|
-
maxActiveCaches: z.ZodDefault<z.ZodNumber>;
|
|
1138
|
-
}, z.core.$strict>>;
|
|
1139
|
-
enforceFinalTag: z.ZodDefault<z.ZodBoolean>;
|
|
1140
|
-
fastMode: z.ZodDefault<z.ZodBoolean>;
|
|
1141
|
-
storeCompletions: z.ZodDefault<z.ZodBoolean>;
|
|
1142
|
-
maxContextChars: z.ZodDefault<z.ZodNumber>;
|
|
1143
|
-
maxToolResultChars: z.ZodDefault<z.ZodNumber>;
|
|
1144
|
-
preserveRecent: z.ZodDefault<z.ZodNumber>;
|
|
1145
|
-
budgets: z.ZodDefault<z.ZodObject<{
|
|
1146
|
-
/** Max tokens per single execution */
|
|
1147
|
-
perExecution: z.ZodDefault<z.ZodNumber>;
|
|
1148
|
-
/** Max tokens per hour (rolling window) */
|
|
1149
|
-
perHour: z.ZodDefault<z.ZodNumber>;
|
|
1150
|
-
/** Max tokens per day (rolling window) */
|
|
1151
|
-
perDay: z.ZodDefault<z.ZodNumber>;
|
|
1152
|
-
}, z.core.$strict>>;
|
|
1153
|
-
circuitBreaker: z.ZodDefault<z.ZodObject<{
|
|
1154
|
-
/** Number of consecutive failures before opening circuit */
|
|
1155
|
-
failureThreshold: z.ZodDefault<z.ZodNumber>;
|
|
1156
|
-
/** Milliseconds to wait before attempting recovery */
|
|
1157
|
-
resetTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1158
|
-
/** Milliseconds for half-open probe timeout */
|
|
1159
|
-
halfOpenTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1160
|
-
}, z.core.$strict>>;
|
|
1161
|
-
toolRetryBreaker: z.ZodDefault<z.ZodObject<{
|
|
1162
|
-
/** Enable tool retry circuit breaker. Default: true. */
|
|
1163
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1164
|
-
/** Max consecutive failures for same tool+args before blocking. Default: 3. */
|
|
1165
|
-
maxConsecutiveFailures: z.ZodDefault<z.ZodNumber>;
|
|
1166
|
-
/** Max total failures for a tool name (any args) before blocking all calls. Default: 5. */
|
|
1167
|
-
maxToolFailures: z.ZodDefault<z.ZodNumber>;
|
|
1168
|
-
/** Suggest alternative tools in block reason. Default: true. */
|
|
1169
|
-
suggestAlternatives: z.ZodDefault<z.ZodBoolean>;
|
|
1170
|
-
/** Max consecutive same-error-class failures (any args) before blocking. Default: 2.
|
|
1171
|
-
* Stricter than args-based because same error + different args = stronger stuck signal. */
|
|
1172
|
-
maxConsecutiveErrorPatterns: z.ZodDefault<z.ZodNumber>;
|
|
1173
|
-
}, z.core.$strict>>;
|
|
1174
|
-
workspace: z.ZodDefault<z.ZodObject<{
|
|
1175
|
-
profile: z.ZodDefault<z.ZodEnum<{
|
|
1176
|
-
full: "full";
|
|
1177
|
-
specialist: "specialist";
|
|
1178
|
-
}>>;
|
|
1179
|
-
}, z.core.$strict>>;
|
|
1180
|
-
workspacePath: z.ZodOptional<z.ZodString>;
|
|
1181
|
-
modelRoutes: z.ZodDefault<z.ZodObject<{
|
|
1182
|
-
default: z.ZodOptional<z.ZodString>;
|
|
1183
|
-
}, z.core.$catchall<z.ZodString>>>;
|
|
1184
|
-
rag: z.ZodDefault<z.ZodObject<{
|
|
1185
|
-
/** Enable automatic memory retrieval before LLM calls */
|
|
1186
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1187
|
-
/** Maximum number of memory results to retrieve */
|
|
1188
|
-
maxResults: z.ZodDefault<z.ZodNumber>;
|
|
1189
|
-
/** Maximum characters of memory context to inject into system prompt */
|
|
1190
|
-
maxContextChars: z.ZodDefault<z.ZodNumber>;
|
|
1191
|
-
/** Minimum RRF score threshold (0-1) to include a memory result */
|
|
1192
|
-
minScore: z.ZodDefault<z.ZodNumber>;
|
|
1193
|
-
/** Trust levels to include in retrieval (external excluded by default for security) */
|
|
1194
|
-
includeTrustLevels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1195
|
-
system: "system";
|
|
1196
|
-
learned: "learned";
|
|
1197
|
-
external: "external";
|
|
1198
|
-
}>>>;
|
|
1199
|
-
}, z.core.$strict>>;
|
|
1200
|
-
bootstrap: z.ZodDefault<z.ZodObject<{
|
|
1201
|
-
/** Per-file character limit for workspace files injected into system prompt */
|
|
1202
|
-
maxChars: z.ZodDefault<z.ZodNumber>;
|
|
1203
|
-
/** System prompt verbosity mode: full (all sections), minimal (sub-agents), none (identity only) */
|
|
1204
|
-
promptMode: z.ZodDefault<z.ZodEnum<{
|
|
1205
|
-
minimal: "minimal";
|
|
1206
|
-
full: "full";
|
|
1207
|
-
none: "none";
|
|
1208
|
-
}>>;
|
|
1209
|
-
/** When true, USER.md is excluded from bootstrap context in group chat sessions (privacy). Default: true. */
|
|
1210
|
-
groupChatFiltering: z.ZodDefault<z.ZodBoolean>;
|
|
1211
|
-
}, z.core.$strict>>;
|
|
1212
|
-
reactionLevel: z.ZodOptional<z.ZodEnum<{
|
|
1213
|
-
minimal: "minimal";
|
|
1214
|
-
extensive: "extensive";
|
|
1215
|
-
}>>;
|
|
1216
|
-
modelFailover: z.ZodDefault<z.ZodObject<{
|
|
1217
|
-
/** Ordered list of fallback models to try when primary fails */
|
|
1218
|
-
fallbackModels: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1219
|
-
/** LLM provider (e.g. "anthropic", "openai") */
|
|
1220
|
-
provider: z.ZodString;
|
|
1221
|
-
/** Model identifier at the provider */
|
|
1222
|
-
modelId: z.ZodString;
|
|
1223
|
-
}, z.core.$strict>>>;
|
|
1224
|
-
/** Per-provider API key profiles for auth rotation */
|
|
1225
|
-
authProfiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1226
|
-
/** Key name in SecretManager (e.g. "ANTHROPIC_API_KEY_2") */
|
|
1227
|
-
keyName: z.ZodString;
|
|
1228
|
-
/** Provider this key belongs to (e.g. "anthropic") */
|
|
1229
|
-
provider: z.ZodString;
|
|
1230
|
-
}, z.core.$strict>>>;
|
|
1231
|
-
/** Model allowlist (empty = allow all models) */
|
|
1232
|
-
allowedModels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1233
|
-
/** Maximum total attempts across all models/keys */
|
|
1234
|
-
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
1235
|
-
/** Initial cooldown duration in milliseconds (1 min) */
|
|
1236
|
-
cooldownInitialMs: z.ZodDefault<z.ZodNumber>;
|
|
1237
|
-
/** Exponential cooldown multiplier */
|
|
1238
|
-
cooldownMultiplier: z.ZodDefault<z.ZodNumber>;
|
|
1239
|
-
/** Maximum cooldown duration in milliseconds (1 hr) */
|
|
1240
|
-
cooldownCapMs: z.ZodDefault<z.ZodNumber>;
|
|
1241
|
-
}, z.core.$strict>>;
|
|
1242
|
-
sdkRetry: z.ZodDefault<z.ZodObject<{
|
|
1243
|
-
/** Enable SDK-native retry with exponential backoff */
|
|
1244
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1245
|
-
/** Maximum number of retry attempts for transient errors (5 retries = 6 total attempts) */
|
|
1246
|
-
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
1247
|
-
/** Base delay in milliseconds before first retry (4s base with exponential backoff: 4s, 8s, 16s, 32s, 60s capped) */
|
|
1248
|
-
baseDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1249
|
-
/** Maximum delay cap in milliseconds between retries */
|
|
1250
|
-
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1251
|
-
}, z.core.$strict>>;
|
|
1252
|
-
promptTimeout: z.ZodDefault<z.ZodObject<{
|
|
1253
|
-
/** Wall-clock timeout for primary prompt calls in milliseconds. Default: 180s. */
|
|
1254
|
-
promptTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1255
|
-
/** Wall-clock timeout for retry prompt calls in milliseconds. Default: 60s. */
|
|
1256
|
-
retryPromptTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1257
|
-
}, z.core.$strict>>;
|
|
1258
|
-
operationModels: z.ZodDefault<z.ZodObject<{
|
|
1259
|
-
cron: z.ZodOptional<z.ZodObject<{
|
|
1260
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1261
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1262
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1263
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1264
|
-
}, z.core.$strict>>;
|
|
1265
|
-
heartbeat: z.ZodOptional<z.ZodObject<{
|
|
1266
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1267
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1268
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1269
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1270
|
-
}, z.core.$strict>>;
|
|
1271
|
-
subagent: z.ZodOptional<z.ZodObject<{
|
|
1272
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1273
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1274
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1275
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1276
|
-
}, z.core.$strict>>;
|
|
1277
|
-
compaction: z.ZodOptional<z.ZodObject<{
|
|
1278
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1279
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1280
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1281
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1282
|
-
}, z.core.$strict>>;
|
|
1283
|
-
taskExtraction: z.ZodOptional<z.ZodObject<{
|
|
1284
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1285
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1286
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1287
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1288
|
-
}, z.core.$strict>>;
|
|
1289
|
-
condensation: z.ZodOptional<z.ZodObject<{
|
|
1290
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1291
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1292
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1293
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1294
|
-
}, z.core.$strict>>;
|
|
1295
|
-
}, z.core.$strict>>;
|
|
1296
|
-
skills: z.ZodOptional<z.ZodObject<{
|
|
1297
|
-
discoveryPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1298
|
-
builtinTools: z.ZodDefault<z.ZodObject<{
|
|
1299
|
-
read: z.ZodDefault<z.ZodBoolean>;
|
|
1300
|
-
write: z.ZodDefault<z.ZodBoolean>;
|
|
1301
|
-
edit: z.ZodDefault<z.ZodBoolean>;
|
|
1302
|
-
notebookEdit: z.ZodDefault<z.ZodBoolean>;
|
|
1303
|
-
grep: z.ZodDefault<z.ZodBoolean>;
|
|
1304
|
-
find: z.ZodDefault<z.ZodBoolean>;
|
|
1305
|
-
ls: z.ZodDefault<z.ZodBoolean>;
|
|
1306
|
-
exec: z.ZodDefault<z.ZodBoolean>;
|
|
1307
|
-
process: z.ZodDefault<z.ZodBoolean>;
|
|
1308
|
-
webSearch: z.ZodDefault<z.ZodBoolean>;
|
|
1309
|
-
webFetch: z.ZodDefault<z.ZodBoolean>;
|
|
1310
|
-
browser: z.ZodDefault<z.ZodBoolean>;
|
|
1311
|
-
}, z.core.$strict>>;
|
|
1312
|
-
toolPolicy: z.ZodDefault<z.ZodObject<{
|
|
1313
|
-
profile: z.ZodDefault<z.ZodEnum<{
|
|
1314
|
-
minimal: "minimal";
|
|
1315
|
-
coding: "coding";
|
|
1316
|
-
messaging: "messaging";
|
|
1317
|
-
supervisor: "supervisor";
|
|
1318
|
-
full: "full";
|
|
1319
|
-
}>>;
|
|
1320
|
-
allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1321
|
-
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1322
|
-
}, z.core.$strict>>;
|
|
1323
|
-
promptSkills: z.ZodDefault<z.ZodObject<{
|
|
1324
|
-
maxBodyLength: z.ZodDefault<z.ZodNumber>;
|
|
1325
|
-
enableDynamicContext: z.ZodDefault<z.ZodBoolean>;
|
|
1326
|
-
maxAutoInject: z.ZodDefault<z.ZodNumber>;
|
|
1327
|
-
allowedSkills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1328
|
-
deniedSkills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1329
|
-
}, z.core.$strict>>;
|
|
1330
|
-
runtimeEligibility: z.ZodDefault<z.ZodObject<{
|
|
1331
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1332
|
-
}, z.core.$strict>>;
|
|
1333
|
-
contentScanning: z.ZodDefault<z.ZodObject<{
|
|
1334
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1335
|
-
blockOnCritical: z.ZodDefault<z.ZodBoolean>;
|
|
1336
|
-
}, z.core.$strict>>;
|
|
1337
|
-
execSandbox: z.ZodDefault<z.ZodObject<{
|
|
1338
|
-
enabled: z.ZodDefault<z.ZodEnum<{
|
|
1339
|
-
never: "never";
|
|
1340
|
-
always: "always";
|
|
1341
|
-
}>>;
|
|
1342
|
-
readOnlyAllowPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1343
|
-
}, z.core.$strict>>;
|
|
1344
|
-
toolDiscovery: z.ZodDefault<z.ZodObject<{
|
|
1345
|
-
minBm25Score: z.ZodDefault<z.ZodNumber>;
|
|
1346
|
-
minHybridScore: z.ZodDefault<z.ZodNumber>;
|
|
1347
|
-
}, z.core.$strict>>;
|
|
1348
|
-
watchEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
1349
|
-
watchDebounceMs: z.ZodDefault<z.ZodNumber>;
|
|
1350
|
-
}, z.core.$strict>>;
|
|
1351
|
-
scheduler: z.ZodOptional<z.ZodObject<{
|
|
1352
|
-
/** Per-agent cron configuration */
|
|
1353
|
-
cron: z.ZodDefault<z.ZodObject<{
|
|
1354
|
-
/** Enable cron job scheduling for this agent */
|
|
1355
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1356
|
-
/** Maximum concurrent cron job runs for this agent */
|
|
1357
|
-
maxConcurrentRuns: z.ZodDefault<z.ZodNumber>;
|
|
1358
|
-
/** Default timezone for cron expressions (empty = UTC) */
|
|
1359
|
-
defaultTimezone: z.ZodDefault<z.ZodString>;
|
|
1360
|
-
/** Maximum number of cron jobs allowed for this agent (0 = unlimited) */
|
|
1361
|
-
maxJobs: z.ZodDefault<z.ZodNumber>;
|
|
1362
|
-
/** Maximum consecutive errors before auto-suspending a cron job (0 = never suspend). Per-agent override. */
|
|
1363
|
-
maxConsecutiveErrors: z.ZodDefault<z.ZodNumber>;
|
|
1364
|
-
}, z.core.$strict>>;
|
|
1365
|
-
/** Per-agent heartbeat configuration (optional -- inherits from global scheduler.heartbeat) */
|
|
1366
|
-
heartbeat: z.ZodOptional<z.ZodObject<{
|
|
1367
|
-
/** Override heartbeat enabled state for this agent */
|
|
1368
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1369
|
-
/** Override heartbeat interval in milliseconds */
|
|
1370
|
-
intervalMs: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
-
/** Override show OK status */
|
|
1372
|
-
showOk: z.ZodOptional<z.ZodBoolean>;
|
|
1373
|
-
/** Override show alerts */
|
|
1374
|
-
showAlerts: z.ZodOptional<z.ZodBoolean>;
|
|
1375
|
-
/** Delivery target channel for this agent's heartbeat notifications */
|
|
1376
|
-
target: z.ZodOptional<z.ZodObject<{
|
|
1377
|
-
/** Channel type (e.g., "telegram", "discord") */
|
|
1378
|
-
channelType: z.ZodString;
|
|
1379
|
-
/** Channel identifier within the platform */
|
|
1380
|
-
channelId: z.ZodString;
|
|
1381
|
-
/** Chat/conversation identifier */
|
|
1382
|
-
chatId: z.ZodString;
|
|
1383
|
-
/** Whether this target is a DM conversation (for DM delivery policy) */
|
|
1384
|
-
isDm: z.ZodOptional<z.ZodBoolean>;
|
|
1385
|
-
}, z.core.$strict>>;
|
|
1386
|
-
/** Custom heartbeat prompt for this agent */
|
|
1387
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
1388
|
-
/** Session key for heartbeat conversation isolation */
|
|
1389
|
-
session: z.ZodOptional<z.ZodString>;
|
|
1390
|
-
/** Whether heartbeat alerts can be delivered to DM conversations (default: true) */
|
|
1391
|
-
allowDm: z.ZodOptional<z.ZodBoolean>;
|
|
1392
|
-
/** When true, heartbeat bootstrap context includes ONLY HEARTBEAT.md (cost optimization) */
|
|
1393
|
-
lightContext: z.ZodOptional<z.ZodBoolean>;
|
|
1394
|
-
/** Maximum characters for soft acknowledgment threshold (default applied in scheduler, not schema) */
|
|
1395
|
-
ackMaxChars: z.ZodOptional<z.ZodNumber>;
|
|
1396
|
-
/** Prefix to strip from LLM responses before delivery */
|
|
1397
|
-
responsePrefix: z.ZodOptional<z.ZodString>;
|
|
1398
|
-
/** Whether to suppress delivery of HEARTBEAT_OK-only responses from cron triggers (default applied in scheduler) */
|
|
1399
|
-
skipHeartbeatOnlyDelivery: z.ZodOptional<z.ZodBoolean>;
|
|
1400
|
-
/** Override consecutive failure threshold for alerting (per-agent) */
|
|
1401
|
-
alertThreshold: z.ZodOptional<z.ZodNumber>;
|
|
1402
|
-
/** Override alert cooldown period in ms (per-agent) */
|
|
1403
|
-
alertCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
1404
|
-
/** Override stuck detection timeout in ms (per-agent) */
|
|
1405
|
-
staleMs: z.ZodOptional<z.ZodNumber>;
|
|
1406
|
-
/** Per-agent heartbeat tool policy override -- matches AgentConfig.toolPolicy shape.
|
|
1407
|
-
*
|
|
1408
|
-
* Resolution order: heartbeat.toolPolicy > agentConfig.toolPolicy > passthrough.
|
|
1409
|
-
* Opt-in: omitting this field preserves the agent's interactive tool set for
|
|
1410
|
-
* heartbeat ticks. Use `{ profile: "heartbeat-minimal" }` for the conservative
|
|
1411
|
-
* preset in `packages/skills/src/policy/tool-policy.ts`. */
|
|
1412
|
-
toolPolicy: z.ZodOptional<z.ZodObject<{
|
|
1413
|
-
profile: z.ZodDefault<z.ZodString>;
|
|
1414
|
-
allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1415
|
-
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1416
|
-
}, z.core.$strip>>;
|
|
1417
|
-
}, z.core.$strict>>;
|
|
1418
|
-
}, z.core.$strict>>;
|
|
1419
|
-
session: z.ZodOptional<z.ZodObject<{
|
|
1420
|
-
resetPolicy: z.ZodOptional<z.ZodObject<{
|
|
1421
|
-
/** Reset mode: daily, idle, hybrid (first-to-expire), or none (disabled) */
|
|
1422
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
1423
|
-
daily: "daily";
|
|
1424
|
-
idle: "idle";
|
|
1425
|
-
hybrid: "hybrid";
|
|
1426
|
-
none: "none";
|
|
1427
|
-
}>>;
|
|
1428
|
-
/** Hour of day for daily reset (0-23, default 4 = 4 AM) */
|
|
1429
|
-
dailyResetHour: z.ZodDefault<z.ZodNumber>;
|
|
1430
|
-
/** IANA timezone for daily reset (empty string = system local) */
|
|
1431
|
-
dailyResetTimezone: z.ZodDefault<z.ZodString>;
|
|
1432
|
-
/** Idle timeout in milliseconds (default 4 hours = 14_400_000) */
|
|
1433
|
-
idleTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1434
|
-
/** Sweep interval in milliseconds (how often to check sessions, default 5 min) */
|
|
1435
|
-
sweepIntervalMs: z.ZodDefault<z.ZodNumber>;
|
|
1436
|
-
/** Phrases that trigger immediate session reset when sent as a message */
|
|
1437
|
-
resetTriggers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1438
|
-
/** Per-session-type overrides (dm, group, thread) */
|
|
1439
|
-
perType: z.ZodDefault<z.ZodObject<{
|
|
1440
|
-
dm: z.ZodOptional<z.ZodObject<{
|
|
1441
|
-
/** Override reset mode for this session type */
|
|
1442
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1443
|
-
daily: "daily";
|
|
1444
|
-
idle: "idle";
|
|
1445
|
-
hybrid: "hybrid";
|
|
1446
|
-
none: "none";
|
|
1447
|
-
}>>;
|
|
1448
|
-
/** Override daily reset hour (0-23) */
|
|
1449
|
-
dailyResetHour: z.ZodOptional<z.ZodNumber>;
|
|
1450
|
-
/** Override IANA timezone for daily reset */
|
|
1451
|
-
dailyResetTimezone: z.ZodOptional<z.ZodString>;
|
|
1452
|
-
/** Override idle timeout in milliseconds */
|
|
1453
|
-
idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1454
|
-
}, z.core.$strict>>;
|
|
1455
|
-
group: z.ZodOptional<z.ZodObject<{
|
|
1456
|
-
/** Override reset mode for this session type */
|
|
1457
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1458
|
-
daily: "daily";
|
|
1459
|
-
idle: "idle";
|
|
1460
|
-
hybrid: "hybrid";
|
|
1461
|
-
none: "none";
|
|
1462
|
-
}>>;
|
|
1463
|
-
/** Override daily reset hour (0-23) */
|
|
1464
|
-
dailyResetHour: z.ZodOptional<z.ZodNumber>;
|
|
1465
|
-
/** Override IANA timezone for daily reset */
|
|
1466
|
-
dailyResetTimezone: z.ZodOptional<z.ZodString>;
|
|
1467
|
-
/** Override idle timeout in milliseconds */
|
|
1468
|
-
idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1469
|
-
}, z.core.$strict>>;
|
|
1470
|
-
thread: z.ZodOptional<z.ZodObject<{
|
|
1471
|
-
/** Override reset mode for this session type */
|
|
1472
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1473
|
-
daily: "daily";
|
|
1474
|
-
idle: "idle";
|
|
1475
|
-
hybrid: "hybrid";
|
|
1476
|
-
none: "none";
|
|
1477
|
-
}>>;
|
|
1478
|
-
/** Override daily reset hour (0-23) */
|
|
1479
|
-
dailyResetHour: z.ZodOptional<z.ZodNumber>;
|
|
1480
|
-
/** Override IANA timezone for daily reset */
|
|
1481
|
-
dailyResetTimezone: z.ZodOptional<z.ZodString>;
|
|
1482
|
-
/** Override idle timeout in milliseconds */
|
|
1483
|
-
idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1484
|
-
}, z.core.$strict>>;
|
|
1485
|
-
}, z.core.$strict>>;
|
|
1486
|
-
}, z.core.$strict>>;
|
|
1487
|
-
dmScope: z.ZodOptional<z.ZodObject<{
|
|
1488
|
-
/** DM scope mode controlling session isolation granularity */
|
|
1489
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
1490
|
-
main: "main";
|
|
1491
|
-
"per-peer": "per-peer";
|
|
1492
|
-
"per-channel-peer": "per-channel-peer";
|
|
1493
|
-
"per-account-channel-peer": "per-account-channel-peer";
|
|
1494
|
-
}>>;
|
|
1495
|
-
/** Prepend agent:<agentId>: to session keys for multi-agent isolation */
|
|
1496
|
-
agentPrefix: z.ZodDefault<z.ZodBoolean>;
|
|
1497
|
-
/** Append :thread:<threadId> to session keys for forum/thread isolation */
|
|
1498
|
-
threadIsolation: z.ZodDefault<z.ZodBoolean>;
|
|
1499
|
-
}, z.core.$strict>>;
|
|
1500
|
-
pruning: z.ZodOptional<z.ZodObject<{
|
|
1501
|
-
/** Enable session pruning of oversized tool results */
|
|
1502
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1503
|
-
/** Character threshold above which tool results are soft-trimmed (head + tail with marker) */
|
|
1504
|
-
softTrimThresholdChars: z.ZodDefault<z.ZodNumber>;
|
|
1505
|
-
/** Character threshold above which tool results are hard-cleared (entire content replaced) */
|
|
1506
|
-
hardClearThresholdChars: z.ZodDefault<z.ZodNumber>;
|
|
1507
|
-
/** Number of characters to preserve at the start of a soft-trimmed result */
|
|
1508
|
-
preserveHeadChars: z.ZodDefault<z.ZodNumber>;
|
|
1509
|
-
/** Number of characters to preserve at the end of a soft-trimmed result */
|
|
1510
|
-
preserveTailChars: z.ZodDefault<z.ZodNumber>;
|
|
1511
|
-
/** Tools whose results are eligible for pruning (empty = all tools eligible) */
|
|
1512
|
-
pruneableTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1513
|
-
/** Tools whose results are never pruned (takes precedence over pruneableTools) */
|
|
1514
|
-
protectedTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1515
|
-
/** Protect tool results containing image content blocks from pruning */
|
|
1516
|
-
protectImageBlocks: z.ZodDefault<z.ZodBoolean>;
|
|
1517
|
-
/** Number of recent messages (from end of array) exempt from pruning */
|
|
1518
|
-
preserveRecentCount: z.ZodDefault<z.ZodNumber>;
|
|
1519
|
-
}, z.core.$strict>>;
|
|
1520
|
-
compaction: z.ZodOptional<z.ZodObject<{
|
|
1521
|
-
/** Fraction of maxContextChars at which soft flush triggers (memory extraction only) */
|
|
1522
|
-
softThresholdRatio: z.ZodDefault<z.ZodNumber>;
|
|
1523
|
-
/** Fraction of maxContextChars at which hard compaction triggers (flush + trim) */
|
|
1524
|
-
hardThresholdRatio: z.ZodDefault<z.ZodNumber>;
|
|
1525
|
-
/** Model to use for memory extraction during flush (defaults to cheap model) */
|
|
1526
|
-
flushModel: z.ZodOptional<z.ZodString>;
|
|
1527
|
-
/** Max characters per summarization chunk. Default: 50_000. */
|
|
1528
|
-
chunkMaxChars: z.ZodDefault<z.ZodNumber>;
|
|
1529
|
-
/** Number of overlap messages between chunks. Default: 2. */
|
|
1530
|
-
chunkOverlapMessages: z.ZodDefault<z.ZodNumber>;
|
|
1531
|
-
/** Whether to merge chunk summaries via LLM. Default: true. */
|
|
1532
|
-
chunkMergeSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
1533
|
-
/** Tokens reserved for summary during SDK auto-compaction. Default: 16384. */
|
|
1534
|
-
reserveTokens: z.ZodDefault<z.ZodNumber>;
|
|
1535
|
-
/** Tokens worth of recent messages to keep after SDK auto-compaction. Default: 32768. */
|
|
1536
|
-
keepRecentTokens: z.ZodDefault<z.ZodNumber>;
|
|
1537
|
-
/** AGENTS.md section names to re-inject after compaction. */
|
|
1538
|
-
postCompactionSections: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1539
|
-
}, z.core.$strict>>;
|
|
1540
|
-
}, z.core.$strict>>;
|
|
1541
|
-
concurrency: z.ZodDefault<z.ZodObject<{
|
|
1542
|
-
/** Maximum concurrent agent runs for this agent (default: 4) */
|
|
1543
|
-
maxConcurrentRuns: z.ZodDefault<z.ZodNumber>;
|
|
1544
|
-
/** Maximum queued messages per session before overflow (default: 50) */
|
|
1545
|
-
maxQueuedPerSession: z.ZodDefault<z.ZodNumber>;
|
|
1546
|
-
}, z.core.$strict>>;
|
|
1547
|
-
broadcastGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1548
|
-
/** Unique group identifier (referenced in broadcast tool calls) */
|
|
1549
|
-
id: z.ZodString;
|
|
1550
|
-
/** Human-readable group name */
|
|
1551
|
-
name: z.ZodDefault<z.ZodString>;
|
|
1552
|
-
/** Channel targets for simultaneous delivery */
|
|
1553
|
-
targets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1554
|
-
/** Channel type (e.g., "telegram", "discord", "slack") */
|
|
1555
|
-
channelType: z.ZodString;
|
|
1556
|
-
/** Channel identifier within the platform */
|
|
1557
|
-
channelId: z.ZodString;
|
|
1558
|
-
/** Chat/conversation identifier within the channel */
|
|
1559
|
-
chatId: z.ZodString;
|
|
1560
|
-
}, z.core.$strict>>>;
|
|
1561
|
-
/** Whether this broadcast group is active */
|
|
1562
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1563
|
-
}, z.core.$strict>>>;
|
|
1564
|
-
elevatedReply: z.ZodDefault<z.ZodObject<{
|
|
1565
|
-
/** Enable trust-based model/prompt routing */
|
|
1566
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1567
|
-
/** Map of trust level name to model route name (from modelRoutes) */
|
|
1568
|
-
trustModelRoutes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1569
|
-
/** Map of trust level name to system prompt section override text */
|
|
1570
|
-
trustPromptOverrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1571
|
-
/** Default trust level for unknown senders */
|
|
1572
|
-
defaultTrustLevel: z.ZodDefault<z.ZodString>;
|
|
1573
|
-
/** Per-sender trust level overrides (senderId -> trust level name) */
|
|
1574
|
-
senderTrustMap: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1575
|
-
}, z.core.$strict>>;
|
|
1576
|
-
tracing: z.ZodDefault<z.ZodObject<{
|
|
1577
|
-
/** Enable per-LLM-call JSONL trace files */
|
|
1578
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1579
|
-
/** Output directory for JSONL trace files. Supports ~ expansion. Default: ~/.comis/traces */
|
|
1580
|
-
outputDir: z.ZodDefault<z.ZodString>;
|
|
1581
|
-
}, z.core.$strict>>;
|
|
1582
|
-
secrets: z.ZodOptional<z.ZodObject<{
|
|
1583
|
-
allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1584
|
-
}, z.core.$strict>>;
|
|
1585
|
-
contextGuard: z.ZodDefault<z.ZodObject<{
|
|
1586
|
-
/** Enable context window guard checks during execution */
|
|
1587
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1588
|
-
/** Warn when context usage reaches this percent (0-100). Default: 80. */
|
|
1589
|
-
warnPercent: z.ZodDefault<z.ZodNumber>;
|
|
1590
|
-
/** Block (abort) execution when context usage reaches this percent (0-100). Default: 95. */
|
|
1591
|
-
blockPercent: z.ZodDefault<z.ZodNumber>;
|
|
1592
|
-
}, z.core.$strict>>;
|
|
1593
|
-
contextPruning: z.ZodOptional<z.ZodObject<{
|
|
1594
|
-
/** Master toggle for progressive context pruning */
|
|
1595
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1596
|
-
/** Context ratio at which soft-trim begins (head+tail preservation) */
|
|
1597
|
-
softTrimRatio: z.ZodDefault<z.ZodNumber>;
|
|
1598
|
-
/** Context ratio at which hard-clear begins (full placeholder replacement) */
|
|
1599
|
-
hardClearRatio: z.ZodDefault<z.ZodNumber>;
|
|
1600
|
-
/** Number of recent assistant messages to protect from pruning */
|
|
1601
|
-
keepLastAssistants: z.ZodDefault<z.ZodNumber>;
|
|
1602
|
-
/** Minimum tool result size in characters eligible for soft-trim */
|
|
1603
|
-
minPrunableToolChars: z.ZodDefault<z.ZodNumber>;
|
|
1604
|
-
/** Tool names never pruned (strings in config, converted to RegExp patterns at runtime by consumer) */
|
|
1605
|
-
protectedTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1606
|
-
}, z.core.$strict>>;
|
|
1607
|
-
contextEngine: z.ZodOptional<z.ZodObject<{
|
|
1608
|
-
/** Master toggle for the context engine pipeline (enabled by default). */
|
|
1609
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1610
|
-
/** Operating mode: "pipeline" for sequential layer composition, "dag" for graph-based context management. */
|
|
1611
|
-
version: z.ZodDefault<z.ZodEnum<{
|
|
1612
|
-
pipeline: "pipeline";
|
|
1613
|
-
dag: "dag";
|
|
1614
|
-
}>>;
|
|
1615
|
-
/** Number of recent assistant turns that retain thinking blocks (older turns get stripped). */
|
|
1616
|
-
thinkingKeepTurns: z.ZodDefault<z.ZodNumber>;
|
|
1617
|
-
/** Idle gap (ms) above which signed thinking state is treated as drifted and
|
|
1618
|
-
* scrubbed pre-send to avoid provider replay-rejection. Default 30 min —
|
|
1619
|
-
* below long-TTL caches and below the 74-min production incident gap. Also
|
|
1620
|
-
* triggers on model id / provider / api change (those checks are
|
|
1621
|
-
* unconditional regardless of this idle threshold). Range: 1 min .. 24 h. */
|
|
1622
|
-
replayDriftIdleMs: z.ZodDefault<z.ZodNumber>;
|
|
1623
|
-
/** Model for LLM compaction in "provider:modelId" format. Empty string
|
|
1624
|
-
* (the default) triggers runtime resolution against the agent's primary
|
|
1625
|
-
* provider via pi-ai catalog (fast-tier cost model). Avoids pinning a
|
|
1626
|
-
* hardcoded Anthropic literal that goes stale on pi-ai upgrades and
|
|
1627
|
-
* cross-routes background ops to Claude when primary is OpenRouter/Google/etc. */
|
|
1628
|
-
compactionModel: z.ZodDefault<z.ZodString>;
|
|
1629
|
-
/** Minimum age (in tool result positions) before content is eligible for dead content eviction. */
|
|
1630
|
-
evictionMinAge: z.ZodDefault<z.ZodNumber>;
|
|
1631
|
-
/** Number of recent user turns to keep in context (default 15). */
|
|
1632
|
-
historyTurns: z.ZodDefault<z.ZodNumber>;
|
|
1633
|
-
/** Per-agent or per-channel-type turn count overrides (e.g., { dm: 10, "trader-1": 30 }). */
|
|
1634
|
-
historyTurnOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
1635
|
-
/** Number of most recent tool uses that retain full content (older ones are masked). */
|
|
1636
|
-
observationKeepWindow: z.ZodDefault<z.ZodNumber>;
|
|
1637
|
-
/** Character threshold before observation masking activates (below this, masking is skipped). */
|
|
1638
|
-
observationTriggerChars: z.ZodDefault<z.ZodNumber>;
|
|
1639
|
-
/** Character threshold below which observation masking deactivates (hysteresis). */
|
|
1640
|
-
observationDeactivationChars: z.ZodDefault<z.ZodNumber>;
|
|
1641
|
-
/** Keep window for ephemeral-tier tools (web_search, brave_search, web_fetch, link_reader, fetch_url). Shorter than observationKeepWindow. Default: 10. */
|
|
1642
|
-
ephemeralKeepWindow: z.ZodDefault<z.ZodNumber>;
|
|
1643
|
-
/** Turns to wait before re-triggering LLM compaction after a successful compaction. */
|
|
1644
|
-
compactionCooldownTurns: z.ZodDefault<z.ZodNumber>;
|
|
1645
|
-
/** Number of user-turn cycles at the head of conversation to preserve during
|
|
1646
|
-
* LLM compaction for cache prefix stability. 0 = old behavior
|
|
1647
|
-
* (summarize everything, keep tail only). */
|
|
1648
|
-
compactionPrefixAnchorTurns: z.ZodDefault<z.ZodNumber>;
|
|
1649
|
-
/** Output escalation configuration: auto-retry with higher output budget on max_tokens truncation. */
|
|
1650
|
-
outputEscalation: z.ZodDefault<z.ZodObject<{
|
|
1651
|
-
/** Master toggle for output escalation. When false, max_tokens truncation is not retried. */
|
|
1652
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1653
|
-
/** Escalated max output tokens for the retry attempt. Must be between 4096 and 128000. */
|
|
1654
|
-
escalatedMaxTokens: z.ZodDefault<z.ZodNumber>;
|
|
1655
|
-
}, z.core.$strict>>;
|
|
1656
|
-
/** Number of most recent turns always included verbatim in DAG context. */
|
|
1657
|
-
freshTailTurns: z.ZodDefault<z.ZodNumber>;
|
|
1658
|
-
/** Context utilization fraction that triggers DAG compaction (0.1 to 0.95). */
|
|
1659
|
-
contextThreshold: z.ZodDefault<z.ZodNumber>;
|
|
1660
|
-
/** Minimum fan-out for leaf nodes in the DAG. */
|
|
1661
|
-
leafMinFanout: z.ZodDefault<z.ZodNumber>;
|
|
1662
|
-
/** Minimum fan-out for condensed (non-leaf) nodes in the DAG. */
|
|
1663
|
-
condensedMinFanout: z.ZodDefault<z.ZodNumber>;
|
|
1664
|
-
/** Hard minimum fan-out for condensed nodes (lowest allowed). */
|
|
1665
|
-
condensedMinFanoutHard: z.ZodDefault<z.ZodNumber>;
|
|
1666
|
-
/** Maximum depth for incremental DAG rebuilds (-1 = full rebuild). */
|
|
1667
|
-
incrementalMaxDepth: z.ZodDefault<z.ZodNumber>;
|
|
1668
|
-
/** Token budget for leaf node chunks in the DAG. */
|
|
1669
|
-
leafChunkTokens: z.ZodDefault<z.ZodNumber>;
|
|
1670
|
-
/** Target token size for leaf node summaries. */
|
|
1671
|
-
leafTargetTokens: z.ZodDefault<z.ZodNumber>;
|
|
1672
|
-
/** Target token size for condensed node summaries. */
|
|
1673
|
-
condensedTargetTokens: z.ZodDefault<z.ZodNumber>;
|
|
1674
|
-
/** Maximum tokens for expanded context retrieval. */
|
|
1675
|
-
maxExpandTokens: z.ZodDefault<z.ZodNumber>;
|
|
1676
|
-
/** Maximum recall operations per day per agent. */
|
|
1677
|
-
maxRecallsPerDay: z.ZodDefault<z.ZodNumber>;
|
|
1678
|
-
/** Timeout for recall operations in milliseconds. */
|
|
1679
|
-
recallTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1680
|
-
/** Token threshold above which a file is considered "large" for DAG processing. */
|
|
1681
|
-
largeFileTokenThreshold: z.ZodDefault<z.ZodNumber>;
|
|
1682
|
-
/** Number of most recent annotations retained in DAG mode (analogous to observationKeepWindow). */
|
|
1683
|
-
annotationKeepWindow: z.ZodDefault<z.ZodNumber>;
|
|
1684
|
-
/** Character threshold before annotation eviction activates in DAG mode. */
|
|
1685
|
-
annotationTriggerChars: z.ZodDefault<z.ZodNumber>;
|
|
1686
|
-
/** Optional model override for DAG summary generation in "provider:modelId" format. */
|
|
1687
|
-
summaryModel: z.ZodOptional<z.ZodString>;
|
|
1688
|
-
/** Optional provider override for DAG summary generation. */
|
|
1689
|
-
summaryProvider: z.ZodOptional<z.ZodString>;
|
|
1690
|
-
/** Post-batch continuation handler: when the LLM emits an empty final
|
|
1691
|
-
* turn after a successful tool batch, fire a directive followUp with
|
|
1692
|
-
* multi-shot retry. Replaces the legacy SEP one-shot completeness nudge
|
|
1693
|
-
* (whose enforcement role was superseded; SEP plan extraction + step
|
|
1694
|
-
* counting remain intact for observability). */
|
|
1695
|
-
postBatchContinuation: z.ZodDefault<z.ZodObject<{
|
|
1696
|
-
/** Master toggle. When false, handler returns
|
|
1697
|
-
* {recovered: false, outcome: "disabled"} without calling followUp. */
|
|
1698
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1699
|
-
/** Maximum directive followUp attempts before falling through to L3
|
|
1700
|
-
* synthesis. 0 = disabled. */
|
|
1701
|
-
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
1702
|
-
}, z.core.$strict>>;
|
|
1703
|
-
}, z.core.$strict>>;
|
|
1704
|
-
sourceGate: z.ZodOptional<z.ZodObject<{
|
|
1705
|
-
/** Default byte cap for HTTP responses (matches DEFAULT_SOURCE_PROFILES.web_fetch.maxResponseBytes) */
|
|
1706
|
-
maxResponseBytes: z.ZodDefault<z.ZodNumber>;
|
|
1707
|
-
/** Whether to strip hidden HTML before extraction */
|
|
1708
|
-
stripHiddenHtml: z.ZodDefault<z.ZodBoolean>;
|
|
1709
|
-
}, z.core.$strict>>;
|
|
1710
|
-
toolLifecycle: z.ZodDefault<z.ZodObject<{
|
|
1711
|
-
/** Whether tool lifecycle management is enabled. When false, no usage tracking or demotion occurs. */
|
|
1712
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1713
|
-
/** Number of turns of non-use before a tool is demoted (schema-stripped). */
|
|
1714
|
-
demotionThreshold: z.ZodDefault<z.ZodNumber>;
|
|
1715
|
-
}, z.core.$strict>>;
|
|
1716
|
-
sep: z.ZodOptional<z.ZodObject<{
|
|
1717
|
-
/** Enable/disable SEP. Default: true. */
|
|
1718
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1719
|
-
/** Minimum estimated steps to activate planning (below this threshold, overhead isn't worth it). */
|
|
1720
|
-
minSteps: z.ZodDefault<z.ZodNumber>;
|
|
1721
|
-
/** Whether to inject a verification nudge when all steps complete. Default: true. */
|
|
1722
|
-
verificationNudge: z.ZodDefault<z.ZodBoolean>;
|
|
1723
|
-
/** Maximum plan steps to track (prevents runaway extraction on vague requests). */
|
|
1724
|
-
maxSteps: z.ZodDefault<z.ZodNumber>;
|
|
1725
|
-
/** Whether to include progress in user-visible response. Default: false. */
|
|
1726
|
-
userVisibleProgress: z.ZodDefault<z.ZodBoolean>;
|
|
1727
|
-
}, z.core.$strict>>;
|
|
1728
|
-
notification: z.ZodOptional<z.ZodObject<{
|
|
1729
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1730
|
-
maxPerHour: z.ZodDefault<z.ZodNumber>;
|
|
1731
|
-
dedupeWindowMs: z.ZodDefault<z.ZodNumber>;
|
|
1732
|
-
primaryChannel: z.ZodOptional<z.ZodObject<{
|
|
1733
|
-
channelType: z.ZodString;
|
|
1734
|
-
channelId: z.ZodString;
|
|
1735
|
-
}, z.core.$strict>>;
|
|
1736
|
-
maxChainDepth: z.ZodDefault<z.ZodNumber>;
|
|
1737
|
-
}, z.core.$strict>>;
|
|
1738
|
-
verbosity: z.ZodOptional<z.ZodObject<{
|
|
1739
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1740
|
-
defaultLevel: z.ZodDefault<z.ZodEnum<{
|
|
1741
|
-
auto: "auto";
|
|
1742
|
-
terse: "terse";
|
|
1743
|
-
concise: "concise";
|
|
1744
|
-
standard: "standard";
|
|
1745
|
-
detailed: "detailed";
|
|
1746
|
-
}>>;
|
|
1747
|
-
threadLevel: z.ZodOptional<z.ZodEnum<{
|
|
1748
|
-
auto: "auto";
|
|
1749
|
-
terse: "terse";
|
|
1750
|
-
concise: "concise";
|
|
1751
|
-
standard: "standard";
|
|
1752
|
-
detailed: "detailed";
|
|
1753
|
-
}>>;
|
|
1754
|
-
overrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1755
|
-
level: z.ZodOptional<z.ZodEnum<{
|
|
1756
|
-
auto: "auto";
|
|
1757
|
-
terse: "terse";
|
|
1758
|
-
concise: "concise";
|
|
1759
|
-
standard: "standard";
|
|
1760
|
-
detailed: "detailed";
|
|
1761
|
-
}>>;
|
|
1762
|
-
maxResponseChars: z.ZodOptional<z.ZodNumber>;
|
|
1763
|
-
useMarkdown: z.ZodOptional<z.ZodBoolean>;
|
|
1764
|
-
allowCodeBlocks: z.ZodOptional<z.ZodBoolean>;
|
|
1765
|
-
}, z.core.$strict>>>;
|
|
1766
|
-
}, z.core.$strict>>;
|
|
1767
|
-
deferredTools: z.ZodOptional<z.ZodObject<{
|
|
1768
|
-
/** Deferral mode: "always" defers all non-core tools, "auto" uses rule+budget heuristics, "never" disables deferral. */
|
|
1769
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
1770
|
-
never: "never";
|
|
1771
|
-
always: "always";
|
|
1772
|
-
auto: "auto";
|
|
1773
|
-
}>>;
|
|
1774
|
-
/** Tool names that must never be deferred (force-loaded into active context). Glob patterns NOT supported -- exact names only. */
|
|
1775
|
-
neverDefer: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1776
|
-
/** Tool names that must always be deferred (force-deferred regardless of rules). Glob patterns NOT supported -- exact names only. */
|
|
1777
|
-
alwaysDefer: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1778
|
-
}, z.core.$strict>>;
|
|
1779
|
-
backgroundTasks: z.ZodOptional<z.ZodObject<{
|
|
1780
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1781
|
-
autoBackgroundMs: z.ZodDefault<z.ZodNumber>;
|
|
1782
|
-
maxPerAgent: z.ZodDefault<z.ZodNumber>;
|
|
1783
|
-
maxTotal: z.ZodDefault<z.ZodNumber>;
|
|
1784
|
-
maxBackgroundDurationMs: z.ZodDefault<z.ZodNumber>;
|
|
1785
|
-
excludeTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1786
|
-
maxBackgroundHops: z.ZodDefault<z.ZodNumber>;
|
|
1787
|
-
}, z.core.$strict>>;
|
|
1788
|
-
memoryReview: z.ZodOptional<z.ZodObject<{
|
|
1789
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1790
|
-
schedule: z.ZodDefault<z.ZodString>;
|
|
1791
|
-
minMessages: z.ZodDefault<z.ZodNumber>;
|
|
1792
|
-
maxSessionsPerRun: z.ZodDefault<z.ZodNumber>;
|
|
1793
|
-
maxReviewTokens: z.ZodDefault<z.ZodNumber>;
|
|
1794
|
-
dedupThreshold: z.ZodDefault<z.ZodNumber>;
|
|
1795
|
-
autoTags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1796
|
-
}, z.core.$strict>>;
|
|
1797
|
-
oauthProfiles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1798
|
-
}, z.core.$strict>;
|
|
1799
|
-
/** Agents map: keyed by agent ID string to per-agent configuration. */
|
|
1800
|
-
export declare const AgentsMapSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1801
|
-
name: z.ZodDefault<z.ZodString>;
|
|
1802
|
-
model: z.ZodDefault<z.ZodString>;
|
|
1803
|
-
provider: z.ZodDefault<z.ZodString>;
|
|
1804
|
-
maxSteps: z.ZodDefault<z.ZodNumber>;
|
|
1805
|
-
thinkingLevel: z.ZodOptional<z.ZodEnum<{
|
|
1806
|
-
minimal: "minimal";
|
|
1807
|
-
off: "off";
|
|
1808
|
-
low: "low";
|
|
1809
|
-
medium: "medium";
|
|
1810
|
-
high: "high";
|
|
1811
|
-
xhigh: "xhigh";
|
|
1812
|
-
}>>;
|
|
1813
|
-
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1814
|
-
temperature: z.ZodOptional<z.ZodNumber>;
|
|
1815
|
-
cacheRetention: z.ZodDefault<z.ZodEnum<{
|
|
1816
|
-
none: "none";
|
|
1817
|
-
short: "short";
|
|
1818
|
-
long: "long";
|
|
1819
|
-
}>>;
|
|
1820
|
-
cacheRetentionOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
1821
|
-
none: "none";
|
|
1822
|
-
short: "short";
|
|
1823
|
-
long: "long";
|
|
1824
|
-
}>>>;
|
|
1825
|
-
adaptiveCacheRetention: z.ZodDefault<z.ZodBoolean>;
|
|
1826
|
-
cacheBreakpointStrategy: z.ZodDefault<z.ZodEnum<{
|
|
1827
|
-
auto: "auto";
|
|
1828
|
-
"multi-zone": "multi-zone";
|
|
1829
|
-
single: "single";
|
|
1830
|
-
}>>;
|
|
1831
|
-
advancedCacheOptimization: z.ZodDefault<z.ZodObject<{
|
|
1832
|
-
enableRecentZonePromotion: z.ZodDefault<z.ZodBoolean>;
|
|
1833
|
-
}, z.core.$strip>>;
|
|
1834
|
-
geminiCache: z.ZodDefault<z.ZodObject<{
|
|
1835
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1836
|
-
maxActiveCaches: z.ZodDefault<z.ZodNumber>;
|
|
1837
|
-
}, z.core.$strict>>;
|
|
1838
|
-
enforceFinalTag: z.ZodDefault<z.ZodBoolean>;
|
|
1839
|
-
fastMode: z.ZodDefault<z.ZodBoolean>;
|
|
1840
|
-
storeCompletions: z.ZodDefault<z.ZodBoolean>;
|
|
1841
|
-
maxContextChars: z.ZodDefault<z.ZodNumber>;
|
|
1842
|
-
maxToolResultChars: z.ZodDefault<z.ZodNumber>;
|
|
1843
|
-
preserveRecent: z.ZodDefault<z.ZodNumber>;
|
|
1844
|
-
budgets: z.ZodDefault<z.ZodObject<{
|
|
1845
|
-
/** Max tokens per single execution */
|
|
1846
|
-
perExecution: z.ZodDefault<z.ZodNumber>;
|
|
1847
|
-
/** Max tokens per hour (rolling window) */
|
|
1848
|
-
perHour: z.ZodDefault<z.ZodNumber>;
|
|
1849
|
-
/** Max tokens per day (rolling window) */
|
|
1850
|
-
perDay: z.ZodDefault<z.ZodNumber>;
|
|
1851
|
-
}, z.core.$strict>>;
|
|
1852
|
-
circuitBreaker: z.ZodDefault<z.ZodObject<{
|
|
1853
|
-
/** Number of consecutive failures before opening circuit */
|
|
1854
|
-
failureThreshold: z.ZodDefault<z.ZodNumber>;
|
|
1855
|
-
/** Milliseconds to wait before attempting recovery */
|
|
1856
|
-
resetTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1857
|
-
/** Milliseconds for half-open probe timeout */
|
|
1858
|
-
halfOpenTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1859
|
-
}, z.core.$strict>>;
|
|
1860
|
-
toolRetryBreaker: z.ZodDefault<z.ZodObject<{
|
|
1861
|
-
/** Enable tool retry circuit breaker. Default: true. */
|
|
1862
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1863
|
-
/** Max consecutive failures for same tool+args before blocking. Default: 3. */
|
|
1864
|
-
maxConsecutiveFailures: z.ZodDefault<z.ZodNumber>;
|
|
1865
|
-
/** Max total failures for a tool name (any args) before blocking all calls. Default: 5. */
|
|
1866
|
-
maxToolFailures: z.ZodDefault<z.ZodNumber>;
|
|
1867
|
-
/** Suggest alternative tools in block reason. Default: true. */
|
|
1868
|
-
suggestAlternatives: z.ZodDefault<z.ZodBoolean>;
|
|
1869
|
-
/** Max consecutive same-error-class failures (any args) before blocking. Default: 2.
|
|
1870
|
-
* Stricter than args-based because same error + different args = stronger stuck signal. */
|
|
1871
|
-
maxConsecutiveErrorPatterns: z.ZodDefault<z.ZodNumber>;
|
|
1872
|
-
}, z.core.$strict>>;
|
|
1873
|
-
workspace: z.ZodDefault<z.ZodObject<{
|
|
1874
|
-
profile: z.ZodDefault<z.ZodEnum<{
|
|
1875
|
-
full: "full";
|
|
1876
|
-
specialist: "specialist";
|
|
1877
|
-
}>>;
|
|
1878
|
-
}, z.core.$strict>>;
|
|
1879
|
-
workspacePath: z.ZodOptional<z.ZodString>;
|
|
1880
|
-
modelRoutes: z.ZodDefault<z.ZodObject<{
|
|
1881
|
-
default: z.ZodOptional<z.ZodString>;
|
|
1882
|
-
}, z.core.$catchall<z.ZodString>>>;
|
|
1883
|
-
rag: z.ZodDefault<z.ZodObject<{
|
|
1884
|
-
/** Enable automatic memory retrieval before LLM calls */
|
|
1885
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1886
|
-
/** Maximum number of memory results to retrieve */
|
|
1887
|
-
maxResults: z.ZodDefault<z.ZodNumber>;
|
|
1888
|
-
/** Maximum characters of memory context to inject into system prompt */
|
|
1889
|
-
maxContextChars: z.ZodDefault<z.ZodNumber>;
|
|
1890
|
-
/** Minimum RRF score threshold (0-1) to include a memory result */
|
|
1891
|
-
minScore: z.ZodDefault<z.ZodNumber>;
|
|
1892
|
-
/** Trust levels to include in retrieval (external excluded by default for security) */
|
|
1893
|
-
includeTrustLevels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
1894
|
-
system: "system";
|
|
1895
|
-
learned: "learned";
|
|
1896
|
-
external: "external";
|
|
1897
|
-
}>>>;
|
|
1898
|
-
}, z.core.$strict>>;
|
|
1899
|
-
bootstrap: z.ZodDefault<z.ZodObject<{
|
|
1900
|
-
/** Per-file character limit for workspace files injected into system prompt */
|
|
1901
|
-
maxChars: z.ZodDefault<z.ZodNumber>;
|
|
1902
|
-
/** System prompt verbosity mode: full (all sections), minimal (sub-agents), none (identity only) */
|
|
1903
|
-
promptMode: z.ZodDefault<z.ZodEnum<{
|
|
1904
|
-
minimal: "minimal";
|
|
1905
|
-
full: "full";
|
|
1906
|
-
none: "none";
|
|
1907
|
-
}>>;
|
|
1908
|
-
/** When true, USER.md is excluded from bootstrap context in group chat sessions (privacy). Default: true. */
|
|
1909
|
-
groupChatFiltering: z.ZodDefault<z.ZodBoolean>;
|
|
1910
|
-
}, z.core.$strict>>;
|
|
1911
|
-
reactionLevel: z.ZodOptional<z.ZodEnum<{
|
|
1912
|
-
minimal: "minimal";
|
|
1913
|
-
extensive: "extensive";
|
|
1914
|
-
}>>;
|
|
1915
|
-
modelFailover: z.ZodDefault<z.ZodObject<{
|
|
1916
|
-
/** Ordered list of fallback models to try when primary fails */
|
|
1917
|
-
fallbackModels: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1918
|
-
/** LLM provider (e.g. "anthropic", "openai") */
|
|
1919
|
-
provider: z.ZodString;
|
|
1920
|
-
/** Model identifier at the provider */
|
|
1921
|
-
modelId: z.ZodString;
|
|
1922
|
-
}, z.core.$strict>>>;
|
|
1923
|
-
/** Per-provider API key profiles for auth rotation */
|
|
1924
|
-
authProfiles: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1925
|
-
/** Key name in SecretManager (e.g. "ANTHROPIC_API_KEY_2") */
|
|
1926
|
-
keyName: z.ZodString;
|
|
1927
|
-
/** Provider this key belongs to (e.g. "anthropic") */
|
|
1928
|
-
provider: z.ZodString;
|
|
1929
|
-
}, z.core.$strict>>>;
|
|
1930
|
-
/** Model allowlist (empty = allow all models) */
|
|
1931
|
-
allowedModels: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1932
|
-
/** Maximum total attempts across all models/keys */
|
|
1933
|
-
maxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
1934
|
-
/** Initial cooldown duration in milliseconds (1 min) */
|
|
1935
|
-
cooldownInitialMs: z.ZodDefault<z.ZodNumber>;
|
|
1936
|
-
/** Exponential cooldown multiplier */
|
|
1937
|
-
cooldownMultiplier: z.ZodDefault<z.ZodNumber>;
|
|
1938
|
-
/** Maximum cooldown duration in milliseconds (1 hr) */
|
|
1939
|
-
cooldownCapMs: z.ZodDefault<z.ZodNumber>;
|
|
1940
|
-
}, z.core.$strict>>;
|
|
1941
|
-
sdkRetry: z.ZodDefault<z.ZodObject<{
|
|
1942
|
-
/** Enable SDK-native retry with exponential backoff */
|
|
1943
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1944
|
-
/** Maximum number of retry attempts for transient errors (5 retries = 6 total attempts) */
|
|
1945
|
-
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
1946
|
-
/** Base delay in milliseconds before first retry (4s base with exponential backoff: 4s, 8s, 16s, 32s, 60s capped) */
|
|
1947
|
-
baseDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1948
|
-
/** Maximum delay cap in milliseconds between retries */
|
|
1949
|
-
maxDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
1950
|
-
}, z.core.$strict>>;
|
|
1951
|
-
promptTimeout: z.ZodDefault<z.ZodObject<{
|
|
1952
|
-
/** Wall-clock timeout for primary prompt calls in milliseconds. Default: 180s. */
|
|
1953
|
-
promptTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1954
|
-
/** Wall-clock timeout for retry prompt calls in milliseconds. Default: 60s. */
|
|
1955
|
-
retryPromptTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1956
|
-
}, z.core.$strict>>;
|
|
1957
|
-
operationModels: z.ZodDefault<z.ZodObject<{
|
|
1958
|
-
cron: z.ZodOptional<z.ZodObject<{
|
|
1959
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1960
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1961
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1962
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1963
|
-
}, z.core.$strict>>;
|
|
1964
|
-
heartbeat: z.ZodOptional<z.ZodObject<{
|
|
1965
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1966
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1967
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1968
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1969
|
-
}, z.core.$strict>>;
|
|
1970
|
-
subagent: z.ZodOptional<z.ZodObject<{
|
|
1971
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1972
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1973
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1974
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1975
|
-
}, z.core.$strict>>;
|
|
1976
|
-
compaction: z.ZodOptional<z.ZodObject<{
|
|
1977
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1978
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1979
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1980
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1981
|
-
}, z.core.$strict>>;
|
|
1982
|
-
taskExtraction: z.ZodOptional<z.ZodObject<{
|
|
1983
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1984
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1985
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1986
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1987
|
-
}, z.core.$strict>>;
|
|
1988
|
-
condensation: z.ZodOptional<z.ZodObject<{
|
|
1989
|
-
/** Model override in "provider:modelId" format, or "primary" to use agent's primary model. */
|
|
1990
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1991
|
-
/** Timeout override in milliseconds for this operation type. */
|
|
1992
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1993
|
-
}, z.core.$strict>>;
|
|
1994
|
-
}, z.core.$strict>>;
|
|
1995
|
-
skills: z.ZodOptional<z.ZodObject<{
|
|
1996
|
-
discoveryPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1997
|
-
builtinTools: z.ZodDefault<z.ZodObject<{
|
|
1998
|
-
read: z.ZodDefault<z.ZodBoolean>;
|
|
1999
|
-
write: z.ZodDefault<z.ZodBoolean>;
|
|
2000
|
-
edit: z.ZodDefault<z.ZodBoolean>;
|
|
2001
|
-
notebookEdit: z.ZodDefault<z.ZodBoolean>;
|
|
2002
|
-
grep: z.ZodDefault<z.ZodBoolean>;
|
|
2003
|
-
find: z.ZodDefault<z.ZodBoolean>;
|
|
2004
|
-
ls: z.ZodDefault<z.ZodBoolean>;
|
|
2005
|
-
exec: z.ZodDefault<z.ZodBoolean>;
|
|
2006
|
-
process: z.ZodDefault<z.ZodBoolean>;
|
|
2007
|
-
webSearch: z.ZodDefault<z.ZodBoolean>;
|
|
2008
|
-
webFetch: z.ZodDefault<z.ZodBoolean>;
|
|
2009
|
-
browser: z.ZodDefault<z.ZodBoolean>;
|
|
2010
|
-
}, z.core.$strict>>;
|
|
2011
|
-
toolPolicy: z.ZodDefault<z.ZodObject<{
|
|
2012
|
-
profile: z.ZodDefault<z.ZodEnum<{
|
|
2013
|
-
minimal: "minimal";
|
|
2014
|
-
coding: "coding";
|
|
2015
|
-
messaging: "messaging";
|
|
2016
|
-
supervisor: "supervisor";
|
|
2017
|
-
full: "full";
|
|
2018
|
-
}>>;
|
|
2019
|
-
allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2020
|
-
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2021
|
-
}, z.core.$strict>>;
|
|
2022
|
-
promptSkills: z.ZodDefault<z.ZodObject<{
|
|
2023
|
-
maxBodyLength: z.ZodDefault<z.ZodNumber>;
|
|
2024
|
-
enableDynamicContext: z.ZodDefault<z.ZodBoolean>;
|
|
2025
|
-
maxAutoInject: z.ZodDefault<z.ZodNumber>;
|
|
2026
|
-
allowedSkills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2027
|
-
deniedSkills: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2028
|
-
}, z.core.$strict>>;
|
|
2029
|
-
runtimeEligibility: z.ZodDefault<z.ZodObject<{
|
|
2030
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2031
|
-
}, z.core.$strict>>;
|
|
2032
|
-
contentScanning: z.ZodDefault<z.ZodObject<{
|
|
2033
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2034
|
-
blockOnCritical: z.ZodDefault<z.ZodBoolean>;
|
|
2035
|
-
}, z.core.$strict>>;
|
|
2036
|
-
execSandbox: z.ZodDefault<z.ZodObject<{
|
|
2037
|
-
enabled: z.ZodDefault<z.ZodEnum<{
|
|
2038
|
-
never: "never";
|
|
2039
|
-
always: "always";
|
|
2040
|
-
}>>;
|
|
2041
|
-
readOnlyAllowPaths: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2042
|
-
}, z.core.$strict>>;
|
|
2043
|
-
toolDiscovery: z.ZodDefault<z.ZodObject<{
|
|
2044
|
-
minBm25Score: z.ZodDefault<z.ZodNumber>;
|
|
2045
|
-
minHybridScore: z.ZodDefault<z.ZodNumber>;
|
|
2046
|
-
}, z.core.$strict>>;
|
|
2047
|
-
watchEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
2048
|
-
watchDebounceMs: z.ZodDefault<z.ZodNumber>;
|
|
2049
|
-
}, z.core.$strict>>;
|
|
2050
|
-
scheduler: z.ZodOptional<z.ZodObject<{
|
|
2051
|
-
/** Per-agent cron configuration */
|
|
2052
|
-
cron: z.ZodDefault<z.ZodObject<{
|
|
2053
|
-
/** Enable cron job scheduling for this agent */
|
|
2054
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2055
|
-
/** Maximum concurrent cron job runs for this agent */
|
|
2056
|
-
maxConcurrentRuns: z.ZodDefault<z.ZodNumber>;
|
|
2057
|
-
/** Default timezone for cron expressions (empty = UTC) */
|
|
2058
|
-
defaultTimezone: z.ZodDefault<z.ZodString>;
|
|
2059
|
-
/** Maximum number of cron jobs allowed for this agent (0 = unlimited) */
|
|
2060
|
-
maxJobs: z.ZodDefault<z.ZodNumber>;
|
|
2061
|
-
/** Maximum consecutive errors before auto-suspending a cron job (0 = never suspend). Per-agent override. */
|
|
2062
|
-
maxConsecutiveErrors: z.ZodDefault<z.ZodNumber>;
|
|
2063
|
-
}, z.core.$strict>>;
|
|
2064
|
-
/** Per-agent heartbeat configuration (optional -- inherits from global scheduler.heartbeat) */
|
|
2065
|
-
heartbeat: z.ZodOptional<z.ZodObject<{
|
|
2066
|
-
/** Override heartbeat enabled state for this agent */
|
|
2067
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2068
|
-
/** Override heartbeat interval in milliseconds */
|
|
2069
|
-
intervalMs: z.ZodOptional<z.ZodNumber>;
|
|
2070
|
-
/** Override show OK status */
|
|
2071
|
-
showOk: z.ZodOptional<z.ZodBoolean>;
|
|
2072
|
-
/** Override show alerts */
|
|
2073
|
-
showAlerts: z.ZodOptional<z.ZodBoolean>;
|
|
2074
|
-
/** Delivery target channel for this agent's heartbeat notifications */
|
|
2075
|
-
target: z.ZodOptional<z.ZodObject<{
|
|
2076
|
-
/** Channel type (e.g., "telegram", "discord") */
|
|
2077
|
-
channelType: z.ZodString;
|
|
2078
|
-
/** Channel identifier within the platform */
|
|
2079
|
-
channelId: z.ZodString;
|
|
2080
|
-
/** Chat/conversation identifier */
|
|
2081
|
-
chatId: z.ZodString;
|
|
2082
|
-
/** Whether this target is a DM conversation (for DM delivery policy) */
|
|
2083
|
-
isDm: z.ZodOptional<z.ZodBoolean>;
|
|
2084
|
-
}, z.core.$strict>>;
|
|
2085
|
-
/** Custom heartbeat prompt for this agent */
|
|
2086
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
2087
|
-
/** Session key for heartbeat conversation isolation */
|
|
2088
|
-
session: z.ZodOptional<z.ZodString>;
|
|
2089
|
-
/** Whether heartbeat alerts can be delivered to DM conversations (default: true) */
|
|
2090
|
-
allowDm: z.ZodOptional<z.ZodBoolean>;
|
|
2091
|
-
/** When true, heartbeat bootstrap context includes ONLY HEARTBEAT.md (cost optimization) */
|
|
2092
|
-
lightContext: z.ZodOptional<z.ZodBoolean>;
|
|
2093
|
-
/** Maximum characters for soft acknowledgment threshold (default applied in scheduler, not schema) */
|
|
2094
|
-
ackMaxChars: z.ZodOptional<z.ZodNumber>;
|
|
2095
|
-
/** Prefix to strip from LLM responses before delivery */
|
|
2096
|
-
responsePrefix: z.ZodOptional<z.ZodString>;
|
|
2097
|
-
/** Whether to suppress delivery of HEARTBEAT_OK-only responses from cron triggers (default applied in scheduler) */
|
|
2098
|
-
skipHeartbeatOnlyDelivery: z.ZodOptional<z.ZodBoolean>;
|
|
2099
|
-
/** Override consecutive failure threshold for alerting (per-agent) */
|
|
2100
|
-
alertThreshold: z.ZodOptional<z.ZodNumber>;
|
|
2101
|
-
/** Override alert cooldown period in ms (per-agent) */
|
|
2102
|
-
alertCooldownMs: z.ZodOptional<z.ZodNumber>;
|
|
2103
|
-
/** Override stuck detection timeout in ms (per-agent) */
|
|
2104
|
-
staleMs: z.ZodOptional<z.ZodNumber>;
|
|
2105
|
-
/** Per-agent heartbeat tool policy override -- matches AgentConfig.toolPolicy shape.
|
|
2106
|
-
*
|
|
2107
|
-
* Resolution order: heartbeat.toolPolicy > agentConfig.toolPolicy > passthrough.
|
|
2108
|
-
* Opt-in: omitting this field preserves the agent's interactive tool set for
|
|
2109
|
-
* heartbeat ticks. Use `{ profile: "heartbeat-minimal" }` for the conservative
|
|
2110
|
-
* preset in `packages/skills/src/policy/tool-policy.ts`. */
|
|
2111
|
-
toolPolicy: z.ZodOptional<z.ZodObject<{
|
|
2112
|
-
profile: z.ZodDefault<z.ZodString>;
|
|
2113
|
-
allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2114
|
-
deny: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2115
|
-
}, z.core.$strip>>;
|
|
2116
|
-
}, z.core.$strict>>;
|
|
2117
|
-
}, z.core.$strict>>;
|
|
2118
|
-
session: z.ZodOptional<z.ZodObject<{
|
|
2119
|
-
resetPolicy: z.ZodOptional<z.ZodObject<{
|
|
2120
|
-
/** Reset mode: daily, idle, hybrid (first-to-expire), or none (disabled) */
|
|
2121
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
2122
|
-
daily: "daily";
|
|
2123
|
-
idle: "idle";
|
|
2124
|
-
hybrid: "hybrid";
|
|
2125
|
-
none: "none";
|
|
2126
|
-
}>>;
|
|
2127
|
-
/** Hour of day for daily reset (0-23, default 4 = 4 AM) */
|
|
2128
|
-
dailyResetHour: z.ZodDefault<z.ZodNumber>;
|
|
2129
|
-
/** IANA timezone for daily reset (empty string = system local) */
|
|
2130
|
-
dailyResetTimezone: z.ZodDefault<z.ZodString>;
|
|
2131
|
-
/** Idle timeout in milliseconds (default 4 hours = 14_400_000) */
|
|
2132
|
-
idleTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
2133
|
-
/** Sweep interval in milliseconds (how often to check sessions, default 5 min) */
|
|
2134
|
-
sweepIntervalMs: z.ZodDefault<z.ZodNumber>;
|
|
2135
|
-
/** Phrases that trigger immediate session reset when sent as a message */
|
|
2136
|
-
resetTriggers: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2137
|
-
/** Per-session-type overrides (dm, group, thread) */
|
|
2138
|
-
perType: z.ZodDefault<z.ZodObject<{
|
|
2139
|
-
dm: z.ZodOptional<z.ZodObject<{
|
|
2140
|
-
/** Override reset mode for this session type */
|
|
2141
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
2142
|
-
daily: "daily";
|
|
2143
|
-
idle: "idle";
|
|
2144
|
-
hybrid: "hybrid";
|
|
2145
|
-
none: "none";
|
|
2146
|
-
}>>;
|
|
2147
|
-
/** Override daily reset hour (0-23) */
|
|
2148
|
-
dailyResetHour: z.ZodOptional<z.ZodNumber>;
|
|
2149
|
-
/** Override IANA timezone for daily reset */
|
|
2150
|
-
dailyResetTimezone: z.ZodOptional<z.ZodString>;
|
|
2151
|
-
/** Override idle timeout in milliseconds */
|
|
2152
|
-
idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
2153
|
-
}, z.core.$strict>>;
|
|
2154
|
-
group: z.ZodOptional<z.ZodObject<{
|
|
2155
|
-
/** Override reset mode for this session type */
|
|
2156
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
2157
|
-
daily: "daily";
|
|
2158
|
-
idle: "idle";
|
|
2159
|
-
hybrid: "hybrid";
|
|
2160
|
-
none: "none";
|
|
2161
|
-
}>>;
|
|
2162
|
-
/** Override daily reset hour (0-23) */
|
|
2163
|
-
dailyResetHour: z.ZodOptional<z.ZodNumber>;
|
|
2164
|
-
/** Override IANA timezone for daily reset */
|
|
2165
|
-
dailyResetTimezone: z.ZodOptional<z.ZodString>;
|
|
2166
|
-
/** Override idle timeout in milliseconds */
|
|
2167
|
-
idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
2168
|
-
}, z.core.$strict>>;
|
|
2169
|
-
thread: z.ZodOptional<z.ZodObject<{
|
|
2170
|
-
/** Override reset mode for this session type */
|
|
2171
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
2172
|
-
daily: "daily";
|
|
2173
|
-
idle: "idle";
|
|
2174
|
-
hybrid: "hybrid";
|
|
2175
|
-
none: "none";
|
|
2176
|
-
}>>;
|
|
2177
|
-
/** Override daily reset hour (0-23) */
|
|
2178
|
-
dailyResetHour: z.ZodOptional<z.ZodNumber>;
|
|
2179
|
-
/** Override IANA timezone for daily reset */
|
|
2180
|
-
dailyResetTimezone: z.ZodOptional<z.ZodString>;
|
|
2181
|
-
/** Override idle timeout in milliseconds */
|
|
2182
|
-
idleTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
2183
|
-
}, z.core.$strict>>;
|
|
2184
|
-
}, z.core.$strict>>;
|
|
2185
|
-
}, z.core.$strict>>;
|
|
2186
|
-
dmScope: z.ZodOptional<z.ZodObject<{
|
|
2187
|
-
/** DM scope mode controlling session isolation granularity */
|
|
2188
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
2189
|
-
main: "main";
|
|
2190
|
-
"per-peer": "per-peer";
|
|
2191
|
-
"per-channel-peer": "per-channel-peer";
|
|
2192
|
-
"per-account-channel-peer": "per-account-channel-peer";
|
|
2193
|
-
}>>;
|
|
2194
|
-
/** Prepend agent:<agentId>: to session keys for multi-agent isolation */
|
|
2195
|
-
agentPrefix: z.ZodDefault<z.ZodBoolean>;
|
|
2196
|
-
/** Append :thread:<threadId> to session keys for forum/thread isolation */
|
|
2197
|
-
threadIsolation: z.ZodDefault<z.ZodBoolean>;
|
|
2198
|
-
}, z.core.$strict>>;
|
|
2199
|
-
pruning: z.ZodOptional<z.ZodObject<{
|
|
2200
|
-
/** Enable session pruning of oversized tool results */
|
|
2201
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2202
|
-
/** Character threshold above which tool results are soft-trimmed (head + tail with marker) */
|
|
2203
|
-
softTrimThresholdChars: z.ZodDefault<z.ZodNumber>;
|
|
2204
|
-
/** Character threshold above which tool results are hard-cleared (entire content replaced) */
|
|
2205
|
-
hardClearThresholdChars: z.ZodDefault<z.ZodNumber>;
|
|
2206
|
-
/** Number of characters to preserve at the start of a soft-trimmed result */
|
|
2207
|
-
preserveHeadChars: z.ZodDefault<z.ZodNumber>;
|
|
2208
|
-
/** Number of characters to preserve at the end of a soft-trimmed result */
|
|
2209
|
-
preserveTailChars: z.ZodDefault<z.ZodNumber>;
|
|
2210
|
-
/** Tools whose results are eligible for pruning (empty = all tools eligible) */
|
|
2211
|
-
pruneableTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2212
|
-
/** Tools whose results are never pruned (takes precedence over pruneableTools) */
|
|
2213
|
-
protectedTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2214
|
-
/** Protect tool results containing image content blocks from pruning */
|
|
2215
|
-
protectImageBlocks: z.ZodDefault<z.ZodBoolean>;
|
|
2216
|
-
/** Number of recent messages (from end of array) exempt from pruning */
|
|
2217
|
-
preserveRecentCount: z.ZodDefault<z.ZodNumber>;
|
|
2218
|
-
}, z.core.$strict>>;
|
|
2219
|
-
compaction: z.ZodOptional<z.ZodObject<{
|
|
2220
|
-
/** Fraction of maxContextChars at which soft flush triggers (memory extraction only) */
|
|
2221
|
-
softThresholdRatio: z.ZodDefault<z.ZodNumber>;
|
|
2222
|
-
/** Fraction of maxContextChars at which hard compaction triggers (flush + trim) */
|
|
2223
|
-
hardThresholdRatio: z.ZodDefault<z.ZodNumber>;
|
|
2224
|
-
/** Model to use for memory extraction during flush (defaults to cheap model) */
|
|
2225
|
-
flushModel: z.ZodOptional<z.ZodString>;
|
|
2226
|
-
/** Max characters per summarization chunk. Default: 50_000. */
|
|
2227
|
-
chunkMaxChars: z.ZodDefault<z.ZodNumber>;
|
|
2228
|
-
/** Number of overlap messages between chunks. Default: 2. */
|
|
2229
|
-
chunkOverlapMessages: z.ZodDefault<z.ZodNumber>;
|
|
2230
|
-
/** Whether to merge chunk summaries via LLM. Default: true. */
|
|
2231
|
-
chunkMergeSummaries: z.ZodDefault<z.ZodBoolean>;
|
|
2232
|
-
/** Tokens reserved for summary during SDK auto-compaction. Default: 16384. */
|
|
2233
|
-
reserveTokens: z.ZodDefault<z.ZodNumber>;
|
|
2234
|
-
/** Tokens worth of recent messages to keep after SDK auto-compaction. Default: 32768. */
|
|
2235
|
-
keepRecentTokens: z.ZodDefault<z.ZodNumber>;
|
|
2236
|
-
/** AGENTS.md section names to re-inject after compaction. */
|
|
2237
|
-
postCompactionSections: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2238
|
-
}, z.core.$strict>>;
|
|
2239
|
-
}, z.core.$strict>>;
|
|
2240
|
-
concurrency: z.ZodDefault<z.ZodObject<{
|
|
2241
|
-
/** Maximum concurrent agent runs for this agent (default: 4) */
|
|
2242
|
-
maxConcurrentRuns: z.ZodDefault<z.ZodNumber>;
|
|
2243
|
-
/** Maximum queued messages per session before overflow (default: 50) */
|
|
2244
|
-
maxQueuedPerSession: z.ZodDefault<z.ZodNumber>;
|
|
2245
|
-
}, z.core.$strict>>;
|
|
2246
|
-
broadcastGroups: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2247
|
-
/** Unique group identifier (referenced in broadcast tool calls) */
|
|
2248
|
-
id: z.ZodString;
|
|
2249
|
-
/** Human-readable group name */
|
|
2250
|
-
name: z.ZodDefault<z.ZodString>;
|
|
2251
|
-
/** Channel targets for simultaneous delivery */
|
|
2252
|
-
targets: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2253
|
-
/** Channel type (e.g., "telegram", "discord", "slack") */
|
|
2254
|
-
channelType: z.ZodString;
|
|
2255
|
-
/** Channel identifier within the platform */
|
|
2256
|
-
channelId: z.ZodString;
|
|
2257
|
-
/** Chat/conversation identifier within the channel */
|
|
2258
|
-
chatId: z.ZodString;
|
|
2259
|
-
}, z.core.$strict>>>;
|
|
2260
|
-
/** Whether this broadcast group is active */
|
|
2261
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2262
|
-
}, z.core.$strict>>>;
|
|
2263
|
-
elevatedReply: z.ZodDefault<z.ZodObject<{
|
|
2264
|
-
/** Enable trust-based model/prompt routing */
|
|
2265
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2266
|
-
/** Map of trust level name to model route name (from modelRoutes) */
|
|
2267
|
-
trustModelRoutes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2268
|
-
/** Map of trust level name to system prompt section override text */
|
|
2269
|
-
trustPromptOverrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2270
|
-
/** Default trust level for unknown senders */
|
|
2271
|
-
defaultTrustLevel: z.ZodDefault<z.ZodString>;
|
|
2272
|
-
/** Per-sender trust level overrides (senderId -> trust level name) */
|
|
2273
|
-
senderTrustMap: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2274
|
-
}, z.core.$strict>>;
|
|
2275
|
-
tracing: z.ZodDefault<z.ZodObject<{
|
|
2276
|
-
/** Enable per-LLM-call JSONL trace files */
|
|
2277
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2278
|
-
/** Output directory for JSONL trace files. Supports ~ expansion. Default: ~/.comis/traces */
|
|
2279
|
-
outputDir: z.ZodDefault<z.ZodString>;
|
|
2280
|
-
}, z.core.$strict>>;
|
|
2281
|
-
secrets: z.ZodOptional<z.ZodObject<{
|
|
2282
|
-
allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2283
|
-
}, z.core.$strict>>;
|
|
2284
|
-
contextGuard: z.ZodDefault<z.ZodObject<{
|
|
2285
|
-
/** Enable context window guard checks during execution */
|
|
2286
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2287
|
-
/** Warn when context usage reaches this percent (0-100). Default: 80. */
|
|
2288
|
-
warnPercent: z.ZodDefault<z.ZodNumber>;
|
|
2289
|
-
/** Block (abort) execution when context usage reaches this percent (0-100). Default: 95. */
|
|
2290
|
-
blockPercent: z.ZodDefault<z.ZodNumber>;
|
|
2291
|
-
}, z.core.$strict>>;
|
|
2292
|
-
contextPruning: z.ZodOptional<z.ZodObject<{
|
|
2293
|
-
/** Master toggle for progressive context pruning */
|
|
2294
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2295
|
-
/** Context ratio at which soft-trim begins (head+tail preservation) */
|
|
2296
|
-
softTrimRatio: z.ZodDefault<z.ZodNumber>;
|
|
2297
|
-
/** Context ratio at which hard-clear begins (full placeholder replacement) */
|
|
2298
|
-
hardClearRatio: z.ZodDefault<z.ZodNumber>;
|
|
2299
|
-
/** Number of recent assistant messages to protect from pruning */
|
|
2300
|
-
keepLastAssistants: z.ZodDefault<z.ZodNumber>;
|
|
2301
|
-
/** Minimum tool result size in characters eligible for soft-trim */
|
|
2302
|
-
minPrunableToolChars: z.ZodDefault<z.ZodNumber>;
|
|
2303
|
-
/** Tool names never pruned (strings in config, converted to RegExp patterns at runtime by consumer) */
|
|
2304
|
-
protectedTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2305
|
-
}, z.core.$strict>>;
|
|
2306
|
-
contextEngine: z.ZodOptional<z.ZodObject<{
|
|
2307
|
-
/** Master toggle for the context engine pipeline (enabled by default). */
|
|
2308
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2309
|
-
/** Operating mode: "pipeline" for sequential layer composition, "dag" for graph-based context management. */
|
|
2310
|
-
version: z.ZodDefault<z.ZodEnum<{
|
|
2311
|
-
pipeline: "pipeline";
|
|
2312
|
-
dag: "dag";
|
|
2313
|
-
}>>;
|
|
2314
|
-
/** Number of recent assistant turns that retain thinking blocks (older turns get stripped). */
|
|
2315
|
-
thinkingKeepTurns: z.ZodDefault<z.ZodNumber>;
|
|
2316
|
-
/** Idle gap (ms) above which signed thinking state is treated as drifted and
|
|
2317
|
-
* scrubbed pre-send to avoid provider replay-rejection. Default 30 min —
|
|
2318
|
-
* below long-TTL caches and below the 74-min production incident gap. Also
|
|
2319
|
-
* triggers on model id / provider / api change (those checks are
|
|
2320
|
-
* unconditional regardless of this idle threshold). Range: 1 min .. 24 h. */
|
|
2321
|
-
replayDriftIdleMs: z.ZodDefault<z.ZodNumber>;
|
|
2322
|
-
/** Model for LLM compaction in "provider:modelId" format. Empty string
|
|
2323
|
-
* (the default) triggers runtime resolution against the agent's primary
|
|
2324
|
-
* provider via pi-ai catalog (fast-tier cost model). Avoids pinning a
|
|
2325
|
-
* hardcoded Anthropic literal that goes stale on pi-ai upgrades and
|
|
2326
|
-
* cross-routes background ops to Claude when primary is OpenRouter/Google/etc. */
|
|
2327
|
-
compactionModel: z.ZodDefault<z.ZodString>;
|
|
2328
|
-
/** Minimum age (in tool result positions) before content is eligible for dead content eviction. */
|
|
2329
|
-
evictionMinAge: z.ZodDefault<z.ZodNumber>;
|
|
2330
|
-
/** Number of recent user turns to keep in context (default 15). */
|
|
2331
|
-
historyTurns: z.ZodDefault<z.ZodNumber>;
|
|
2332
|
-
/** Per-agent or per-channel-type turn count overrides (e.g., { dm: 10, "trader-1": 30 }). */
|
|
2333
|
-
historyTurnOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
2334
|
-
/** Number of most recent tool uses that retain full content (older ones are masked). */
|
|
2335
|
-
observationKeepWindow: z.ZodDefault<z.ZodNumber>;
|
|
2336
|
-
/** Character threshold before observation masking activates (below this, masking is skipped). */
|
|
2337
|
-
observationTriggerChars: z.ZodDefault<z.ZodNumber>;
|
|
2338
|
-
/** Character threshold below which observation masking deactivates (hysteresis). */
|
|
2339
|
-
observationDeactivationChars: z.ZodDefault<z.ZodNumber>;
|
|
2340
|
-
/** Keep window for ephemeral-tier tools (web_search, brave_search, web_fetch, link_reader, fetch_url). Shorter than observationKeepWindow. Default: 10. */
|
|
2341
|
-
ephemeralKeepWindow: z.ZodDefault<z.ZodNumber>;
|
|
2342
|
-
/** Turns to wait before re-triggering LLM compaction after a successful compaction. */
|
|
2343
|
-
compactionCooldownTurns: z.ZodDefault<z.ZodNumber>;
|
|
2344
|
-
/** Number of user-turn cycles at the head of conversation to preserve during
|
|
2345
|
-
* LLM compaction for cache prefix stability. 0 = old behavior
|
|
2346
|
-
* (summarize everything, keep tail only). */
|
|
2347
|
-
compactionPrefixAnchorTurns: z.ZodDefault<z.ZodNumber>;
|
|
2348
|
-
/** Output escalation configuration: auto-retry with higher output budget on max_tokens truncation. */
|
|
2349
|
-
outputEscalation: z.ZodDefault<z.ZodObject<{
|
|
2350
|
-
/** Master toggle for output escalation. When false, max_tokens truncation is not retried. */
|
|
2351
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2352
|
-
/** Escalated max output tokens for the retry attempt. Must be between 4096 and 128000. */
|
|
2353
|
-
escalatedMaxTokens: z.ZodDefault<z.ZodNumber>;
|
|
2354
|
-
}, z.core.$strict>>;
|
|
2355
|
-
/** Number of most recent turns always included verbatim in DAG context. */
|
|
2356
|
-
freshTailTurns: z.ZodDefault<z.ZodNumber>;
|
|
2357
|
-
/** Context utilization fraction that triggers DAG compaction (0.1 to 0.95). */
|
|
2358
|
-
contextThreshold: z.ZodDefault<z.ZodNumber>;
|
|
2359
|
-
/** Minimum fan-out for leaf nodes in the DAG. */
|
|
2360
|
-
leafMinFanout: z.ZodDefault<z.ZodNumber>;
|
|
2361
|
-
/** Minimum fan-out for condensed (non-leaf) nodes in the DAG. */
|
|
2362
|
-
condensedMinFanout: z.ZodDefault<z.ZodNumber>;
|
|
2363
|
-
/** Hard minimum fan-out for condensed nodes (lowest allowed). */
|
|
2364
|
-
condensedMinFanoutHard: z.ZodDefault<z.ZodNumber>;
|
|
2365
|
-
/** Maximum depth for incremental DAG rebuilds (-1 = full rebuild). */
|
|
2366
|
-
incrementalMaxDepth: z.ZodDefault<z.ZodNumber>;
|
|
2367
|
-
/** Token budget for leaf node chunks in the DAG. */
|
|
2368
|
-
leafChunkTokens: z.ZodDefault<z.ZodNumber>;
|
|
2369
|
-
/** Target token size for leaf node summaries. */
|
|
2370
|
-
leafTargetTokens: z.ZodDefault<z.ZodNumber>;
|
|
2371
|
-
/** Target token size for condensed node summaries. */
|
|
2372
|
-
condensedTargetTokens: z.ZodDefault<z.ZodNumber>;
|
|
2373
|
-
/** Maximum tokens for expanded context retrieval. */
|
|
2374
|
-
maxExpandTokens: z.ZodDefault<z.ZodNumber>;
|
|
2375
|
-
/** Maximum recall operations per day per agent. */
|
|
2376
|
-
maxRecallsPerDay: z.ZodDefault<z.ZodNumber>;
|
|
2377
|
-
/** Timeout for recall operations in milliseconds. */
|
|
2378
|
-
recallTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
2379
|
-
/** Token threshold above which a file is considered "large" for DAG processing. */
|
|
2380
|
-
largeFileTokenThreshold: z.ZodDefault<z.ZodNumber>;
|
|
2381
|
-
/** Number of most recent annotations retained in DAG mode (analogous to observationKeepWindow). */
|
|
2382
|
-
annotationKeepWindow: z.ZodDefault<z.ZodNumber>;
|
|
2383
|
-
/** Character threshold before annotation eviction activates in DAG mode. */
|
|
2384
|
-
annotationTriggerChars: z.ZodDefault<z.ZodNumber>;
|
|
2385
|
-
/** Optional model override for DAG summary generation in "provider:modelId" format. */
|
|
2386
|
-
summaryModel: z.ZodOptional<z.ZodString>;
|
|
2387
|
-
/** Optional provider override for DAG summary generation. */
|
|
2388
|
-
summaryProvider: z.ZodOptional<z.ZodString>;
|
|
2389
|
-
/** Post-batch continuation handler: when the LLM emits an empty final
|
|
2390
|
-
* turn after a successful tool batch, fire a directive followUp with
|
|
2391
|
-
* multi-shot retry. Replaces the legacy SEP one-shot completeness nudge
|
|
2392
|
-
* (whose enforcement role was superseded; SEP plan extraction + step
|
|
2393
|
-
* counting remain intact for observability). */
|
|
2394
|
-
postBatchContinuation: z.ZodDefault<z.ZodObject<{
|
|
2395
|
-
/** Master toggle. When false, handler returns
|
|
2396
|
-
* {recovered: false, outcome: "disabled"} without calling followUp. */
|
|
2397
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2398
|
-
/** Maximum directive followUp attempts before falling through to L3
|
|
2399
|
-
* synthesis. 0 = disabled. */
|
|
2400
|
-
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
2401
|
-
}, z.core.$strict>>;
|
|
2402
|
-
}, z.core.$strict>>;
|
|
2403
|
-
sourceGate: z.ZodOptional<z.ZodObject<{
|
|
2404
|
-
/** Default byte cap for HTTP responses (matches DEFAULT_SOURCE_PROFILES.web_fetch.maxResponseBytes) */
|
|
2405
|
-
maxResponseBytes: z.ZodDefault<z.ZodNumber>;
|
|
2406
|
-
/** Whether to strip hidden HTML before extraction */
|
|
2407
|
-
stripHiddenHtml: z.ZodDefault<z.ZodBoolean>;
|
|
2408
|
-
}, z.core.$strict>>;
|
|
2409
|
-
toolLifecycle: z.ZodDefault<z.ZodObject<{
|
|
2410
|
-
/** Whether tool lifecycle management is enabled. When false, no usage tracking or demotion occurs. */
|
|
2411
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2412
|
-
/** Number of turns of non-use before a tool is demoted (schema-stripped). */
|
|
2413
|
-
demotionThreshold: z.ZodDefault<z.ZodNumber>;
|
|
2414
|
-
}, z.core.$strict>>;
|
|
2415
|
-
sep: z.ZodOptional<z.ZodObject<{
|
|
2416
|
-
/** Enable/disable SEP. Default: true. */
|
|
2417
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2418
|
-
/** Minimum estimated steps to activate planning (below this threshold, overhead isn't worth it). */
|
|
2419
|
-
minSteps: z.ZodDefault<z.ZodNumber>;
|
|
2420
|
-
/** Whether to inject a verification nudge when all steps complete. Default: true. */
|
|
2421
|
-
verificationNudge: z.ZodDefault<z.ZodBoolean>;
|
|
2422
|
-
/** Maximum plan steps to track (prevents runaway extraction on vague requests). */
|
|
2423
|
-
maxSteps: z.ZodDefault<z.ZodNumber>;
|
|
2424
|
-
/** Whether to include progress in user-visible response. Default: false. */
|
|
2425
|
-
userVisibleProgress: z.ZodDefault<z.ZodBoolean>;
|
|
2426
|
-
}, z.core.$strict>>;
|
|
2427
|
-
notification: z.ZodOptional<z.ZodObject<{
|
|
2428
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2429
|
-
maxPerHour: z.ZodDefault<z.ZodNumber>;
|
|
2430
|
-
dedupeWindowMs: z.ZodDefault<z.ZodNumber>;
|
|
2431
|
-
primaryChannel: z.ZodOptional<z.ZodObject<{
|
|
2432
|
-
channelType: z.ZodString;
|
|
2433
|
-
channelId: z.ZodString;
|
|
2434
|
-
}, z.core.$strict>>;
|
|
2435
|
-
maxChainDepth: z.ZodDefault<z.ZodNumber>;
|
|
2436
|
-
}, z.core.$strict>>;
|
|
2437
|
-
verbosity: z.ZodOptional<z.ZodObject<{
|
|
2438
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2439
|
-
defaultLevel: z.ZodDefault<z.ZodEnum<{
|
|
2440
|
-
auto: "auto";
|
|
2441
|
-
terse: "terse";
|
|
2442
|
-
concise: "concise";
|
|
2443
|
-
standard: "standard";
|
|
2444
|
-
detailed: "detailed";
|
|
2445
|
-
}>>;
|
|
2446
|
-
threadLevel: z.ZodOptional<z.ZodEnum<{
|
|
2447
|
-
auto: "auto";
|
|
2448
|
-
terse: "terse";
|
|
2449
|
-
concise: "concise";
|
|
2450
|
-
standard: "standard";
|
|
2451
|
-
detailed: "detailed";
|
|
2452
|
-
}>>;
|
|
2453
|
-
overrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2454
|
-
level: z.ZodOptional<z.ZodEnum<{
|
|
2455
|
-
auto: "auto";
|
|
2456
|
-
terse: "terse";
|
|
2457
|
-
concise: "concise";
|
|
2458
|
-
standard: "standard";
|
|
2459
|
-
detailed: "detailed";
|
|
2460
|
-
}>>;
|
|
2461
|
-
maxResponseChars: z.ZodOptional<z.ZodNumber>;
|
|
2462
|
-
useMarkdown: z.ZodOptional<z.ZodBoolean>;
|
|
2463
|
-
allowCodeBlocks: z.ZodOptional<z.ZodBoolean>;
|
|
2464
|
-
}, z.core.$strict>>>;
|
|
2465
|
-
}, z.core.$strict>>;
|
|
2466
|
-
deferredTools: z.ZodOptional<z.ZodObject<{
|
|
2467
|
-
/** Deferral mode: "always" defers all non-core tools, "auto" uses rule+budget heuristics, "never" disables deferral. */
|
|
2468
|
-
mode: z.ZodDefault<z.ZodEnum<{
|
|
2469
|
-
never: "never";
|
|
2470
|
-
always: "always";
|
|
2471
|
-
auto: "auto";
|
|
2472
|
-
}>>;
|
|
2473
|
-
/** Tool names that must never be deferred (force-loaded into active context). Glob patterns NOT supported -- exact names only. */
|
|
2474
|
-
neverDefer: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2475
|
-
/** Tool names that must always be deferred (force-deferred regardless of rules). Glob patterns NOT supported -- exact names only. */
|
|
2476
|
-
alwaysDefer: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2477
|
-
}, z.core.$strict>>;
|
|
2478
|
-
backgroundTasks: z.ZodOptional<z.ZodObject<{
|
|
2479
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2480
|
-
autoBackgroundMs: z.ZodDefault<z.ZodNumber>;
|
|
2481
|
-
maxPerAgent: z.ZodDefault<z.ZodNumber>;
|
|
2482
|
-
maxTotal: z.ZodDefault<z.ZodNumber>;
|
|
2483
|
-
maxBackgroundDurationMs: z.ZodDefault<z.ZodNumber>;
|
|
2484
|
-
excludeTools: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2485
|
-
maxBackgroundHops: z.ZodDefault<z.ZodNumber>;
|
|
2486
|
-
}, z.core.$strict>>;
|
|
2487
|
-
memoryReview: z.ZodOptional<z.ZodObject<{
|
|
2488
|
-
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
2489
|
-
schedule: z.ZodDefault<z.ZodString>;
|
|
2490
|
-
minMessages: z.ZodDefault<z.ZodNumber>;
|
|
2491
|
-
maxSessionsPerRun: z.ZodDefault<z.ZodNumber>;
|
|
2492
|
-
maxReviewTokens: z.ZodDefault<z.ZodNumber>;
|
|
2493
|
-
dedupThreshold: z.ZodDefault<z.ZodNumber>;
|
|
2494
|
-
autoTags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
2495
|
-
}, z.core.$strict>>;
|
|
2496
|
-
oauthProfiles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2497
|
-
}, z.core.$strict>>;
|
|
2498
|
-
export type PerAgentConfig = z.infer<typeof PerAgentConfigSchema>;
|
|
2499
|
-
export type PerAgentSchedulerConfig = z.infer<typeof PerAgentSchedulerConfigSchema>;
|
|
2500
|
-
export type PerAgentCronConfig = z.infer<typeof PerAgentCronConfigSchema>;
|