comisai 1.0.44 → 1.0.46
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/node_modules/@comis/agent/dist/background/background-task-persistence.d.ts +4 -5
- package/node_modules/@comis/agent/dist/background/background-task-persistence.js +5 -6
- package/node_modules/@comis/agent/dist/background/background-task-types.d.ts +1 -1
- package/node_modules/@comis/agent/dist/background/session-resolver.d.ts +3 -3
- package/node_modules/@comis/agent/dist/background/session-resolver.js +3 -3
- package/node_modules/@comis/agent/dist/bootstrap/sections/core-sections.js +2 -1
- package/node_modules/@comis/agent/dist/bootstrap/sections/skills-memory-sections.js +1 -1
- package/node_modules/@comis/agent/dist/bootstrap/sections/tool-descriptions.d.ts +2 -2
- package/node_modules/@comis/agent/dist/bootstrap/sections/tool-descriptions.js +3 -3
- package/node_modules/@comis/agent/dist/bootstrap/sections/tooling-sections.d.ts +1 -1
- package/node_modules/@comis/agent/dist/bootstrap/sections/tooling-sections.js +2 -2
- package/node_modules/@comis/agent/dist/bootstrap/sections/trust-sections.d.ts +1 -1
- package/node_modules/@comis/agent/dist/bootstrap/sections/trust-sections.js +1 -1
- package/node_modules/@comis/agent/dist/bootstrap/sections/verbosity-sections.d.ts +0 -2
- package/node_modules/@comis/agent/dist/bootstrap/system-prompt-assembler.d.ts +7 -7
- package/node_modules/@comis/agent/dist/bootstrap/system-prompt-assembler.js +19 -19
- package/node_modules/@comis/agent/dist/bootstrap/types.d.ts +3 -3
- package/node_modules/@comis/agent/dist/bootstrap/workspace-loader.js +1 -1
- package/node_modules/@comis/agent/dist/bridge/bridge-event-handlers.d.ts +1 -1
- package/node_modules/@comis/agent/dist/bridge/bridge-event-handlers.js +3 -3
- package/node_modules/@comis/agent/dist/bridge/bridge-metrics.d.ts +4 -4
- package/node_modules/@comis/agent/dist/bridge/bridge-metrics.js +4 -4
- package/node_modules/@comis/agent/dist/bridge/bridge-safety-controls.js +6 -0
- package/node_modules/@comis/agent/dist/bridge/pi-event-bridge.d.ts +32 -27
- package/node_modules/@comis/agent/dist/bridge/pi-event-bridge.js +104 -86
- package/node_modules/@comis/agent/dist/bridge/tool-failure-hint.d.ts +3 -3
- package/node_modules/@comis/agent/dist/bridge/tool-failure-hint.js +3 -3
- package/node_modules/@comis/agent/dist/bridge/tool-name-suggest.d.ts +1 -1
- package/node_modules/@comis/agent/dist/bridge/tool-name-suggest.js +1 -1
- package/node_modules/@comis/agent/dist/budget/budget-guard.d.ts +4 -4
- package/node_modules/@comis/agent/dist/budget/budget-guard.js +5 -4
- package/node_modules/@comis/agent/dist/budget/spend-accumulator.d.ts +13 -13
- package/node_modules/@comis/agent/dist/budget/spend-accumulator.js +5 -5
- package/node_modules/@comis/agent/dist/context-engine/budget-capacity-cap.d.ts +7 -7
- package/node_modules/@comis/agent/dist/context-engine/budget-capacity-cap.js +18 -18
- package/node_modules/@comis/agent/dist/context-engine/cleanup-helpers.d.ts +2 -2
- package/node_modules/@comis/agent/dist/context-engine/cleanup-helpers.js +2 -2
- package/node_modules/@comis/agent/dist/context-engine/compaction-capability-router.d.ts +2 -2
- package/node_modules/@comis/agent/dist/context-engine/compaction-zone-helpers.d.ts +12 -11
- package/node_modules/@comis/agent/dist/context-engine/compaction-zone-helpers.js +14 -13
- package/node_modules/@comis/agent/dist/context-engine/constants.d.ts +21 -22
- package/node_modules/@comis/agent/dist/context-engine/constants.js +24 -25
- package/node_modules/@comis/agent/dist/context-engine/context-engine.js +17 -17
- package/node_modules/@comis/agent/dist/context-engine/errors.d.ts +19 -20
- package/node_modules/@comis/agent/dist/context-engine/errors.js +17 -18
- package/node_modules/@comis/agent/dist/context-engine/factored-message-tokens.d.ts +12 -11
- package/node_modules/@comis/agent/dist/context-engine/factored-message-tokens.js +3 -3
- package/node_modules/@comis/agent/dist/context-engine/lcd-arbiter-seam.d.ts +15 -14
- package/node_modules/@comis/agent/dist/context-engine/lcd-arbiter-seam.js +38 -35
- package/node_modules/@comis/agent/dist/context-engine/lcd-assembler.d.ts +25 -34
- package/node_modules/@comis/agent/dist/context-engine/lcd-assembler.js +128 -135
- package/node_modules/@comis/agent/dist/context-engine/lcd-budget-eviction.d.ts +14 -15
- package/node_modules/@comis/agent/dist/context-engine/lcd-budget-eviction.js +11 -12
- package/node_modules/@comis/agent/dist/context-engine/lcd-condense.d.ts +30 -31
- package/node_modules/@comis/agent/dist/context-engine/lcd-condense.js +33 -34
- package/node_modules/@comis/agent/dist/context-engine/lcd-fresh-tail-bound.d.ts +33 -32
- package/node_modules/@comis/agent/dist/context-engine/lcd-fresh-tail-bound.js +51 -49
- package/node_modules/@comis/agent/dist/context-engine/lcd-leaf-summarizer.d.ts +47 -43
- package/node_modules/@comis/agent/dist/context-engine/lcd-leaf-summarizer.js +44 -41
- package/node_modules/@comis/agent/dist/context-engine/lcd-preflight.d.ts +8 -9
- package/node_modules/@comis/agent/dist/context-engine/lcd-preflight.js +40 -42
- package/node_modules/@comis/agent/dist/context-engine/lcd-summary-render.d.ts +9 -10
- package/node_modules/@comis/agent/dist/context-engine/lcd-summary-render.js +16 -17
- package/node_modules/@comis/agent/dist/context-engine/llm-compaction.d.ts +1 -1
- package/node_modules/@comis/agent/dist/context-engine/llm-compaction.js +51 -52
- package/node_modules/@comis/agent/dist/context-engine/margin-arbiter.d.ts +25 -25
- package/node_modules/@comis/agent/dist/context-engine/margin-arbiter.js +27 -27
- package/node_modules/@comis/agent/dist/context-engine/microcompaction-guard.d.ts +2 -2
- package/node_modules/@comis/agent/dist/context-engine/microcompaction-guard.js +12 -12
- package/node_modules/@comis/agent/dist/context-engine/objective-reinforcement.d.ts +0 -2
- package/node_modules/@comis/agent/dist/context-engine/objective-reinforcement.js +2 -3
- package/node_modules/@comis/agent/dist/context-engine/output-headroom.d.ts +7 -7
- package/node_modules/@comis/agent/dist/context-engine/output-headroom.js +7 -7
- package/node_modules/@comis/agent/dist/context-engine/relevance-eviction.d.ts +12 -12
- package/node_modules/@comis/agent/dist/context-engine/relevance-eviction.js +30 -29
- package/node_modules/@comis/agent/dist/context-engine/security-context-pinner.d.ts +3 -3
- package/node_modules/@comis/agent/dist/context-engine/security-context-pinner.js +2 -2
- package/node_modules/@comis/agent/dist/context-engine/signature-surrogate-guard.d.ts +3 -4
- package/node_modules/@comis/agent/dist/context-engine/signature-surrogate-guard.js +3 -4
- package/node_modules/@comis/agent/dist/context-engine/summarize-prompt-style.d.ts +5 -4
- package/node_modules/@comis/agent/dist/context-engine/summarize-prompt-style.js +5 -4
- package/node_modules/@comis/agent/dist/context-engine/summarize-tier-targets.d.ts +4 -4
- package/node_modules/@comis/agent/dist/context-engine/summarize-tier-targets.js +5 -5
- package/node_modules/@comis/agent/dist/context-engine/summarizer-window.d.ts +15 -15
- package/node_modules/@comis/agent/dist/context-engine/summarizer-window.js +16 -16
- package/node_modules/@comis/agent/dist/context-engine/thinking-block-cleaner.d.ts +7 -7
- package/node_modules/@comis/agent/dist/context-engine/thinking-block-cleaner.js +7 -7
- package/node_modules/@comis/agent/dist/context-engine/token-budget.d.ts +7 -7
- package/node_modules/@comis/agent/dist/context-engine/token-budget.js +13 -13
- package/node_modules/@comis/agent/dist/context-engine/transcript-repair.d.ts +6 -6
- package/node_modules/@comis/agent/dist/context-engine/transcript-repair.js +13 -13
- package/node_modules/@comis/agent/dist/context-engine/types-compaction.d.ts +6 -6
- package/node_modules/@comis/agent/dist/context-engine/types-core.d.ts +45 -50
- package/node_modules/@comis/agent/dist/context-engine/viable-floor.d.ts +21 -21
- package/node_modules/@comis/agent/dist/context-engine/viable-floor.js +30 -30
- package/node_modules/@comis/agent/dist/executor/adaptive-cache-retention.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/adaptive-cache-retention.js +1 -1
- package/node_modules/@comis/agent/dist/executor/cache-break-diff-writer.d.ts +4 -4
- package/node_modules/@comis/agent/dist/executor/cache-break-diff-writer.js +7 -6
- package/node_modules/@comis/agent/dist/executor/cache-detection/cache-state-types.d.ts +7 -7
- package/node_modules/@comis/agent/dist/executor/cache-detection/cache-state.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/cache-detection/cache-state.js +3 -3
- package/node_modules/@comis/agent/dist/executor/cache-detection/index.d.ts +2 -3
- package/node_modules/@comis/agent/dist/executor/cache-detection/index.js +2 -3
- package/node_modules/@comis/agent/dist/executor/cache-detection/prompt-state-utils.js +1 -1
- package/node_modules/@comis/agent/dist/executor/capability-index-context.js +1 -1
- package/node_modules/@comis/agent/dist/executor/critic-isolation.d.ts +11 -11
- package/node_modules/@comis/agent/dist/executor/critic-isolation.js +13 -13
- package/node_modules/@comis/agent/dist/executor/dag-repair-loop.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/dag-repair-loop.js +2 -2
- package/node_modules/@comis/agent/dist/executor/dag-synthesizer.d.ts +5 -6
- package/node_modules/@comis/agent/dist/executor/dag-synthesizer.js +9 -10
- package/node_modules/@comis/agent/dist/executor/dag-template-match.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/dag-template-match.js +10 -10
- package/node_modules/@comis/agent/dist/executor/dag-templates.d.ts +8 -10
- package/node_modules/@comis/agent/dist/executor/dag-templates.js +10 -12
- package/node_modules/@comis/agent/dist/executor/degraded-reply-i18n.d.ts +15 -15
- package/node_modules/@comis/agent/dist/executor/degraded-reply-i18n.js +20 -20
- package/node_modules/@comis/agent/dist/executor/degraded-reply.d.ts +15 -15
- package/node_modules/@comis/agent/dist/executor/degraded-reply.js +13 -13
- package/node_modules/@comis/agent/dist/executor/error-classifier.d.ts +12 -13
- package/node_modules/@comis/agent/dist/executor/error-classifier.js +15 -15
- package/node_modules/@comis/agent/dist/executor/executor-context-engine-setup.d.ts +23 -23
- package/node_modules/@comis/agent/dist/executor/executor-context-engine-setup.js +59 -58
- package/node_modules/@comis/agent/dist/executor/executor-input-guard.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/executor-input-guard.js +3 -3
- package/node_modules/@comis/agent/dist/executor/executor-post-execution.d.ts +66 -69
- package/node_modules/@comis/agent/dist/executor/executor-post-execution.js +132 -136
- package/node_modules/@comis/agent/dist/executor/executor-session-state.d.ts +2 -1
- package/node_modules/@comis/agent/dist/executor/executor-session-state.js +6 -5
- package/node_modules/@comis/agent/dist/executor/executor-stream-setup.d.ts +8 -8
- package/node_modules/@comis/agent/dist/executor/executor-stream-setup.js +18 -18
- package/node_modules/@comis/agent/dist/executor/executor-tool-assembly-types.d.ts +13 -14
- package/node_modules/@comis/agent/dist/executor/executor-tool-assembly.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/executor-tool-assembly.js +51 -54
- package/node_modules/@comis/agent/dist/executor/executor-tool-pipeline.d.ts +3 -3
- package/node_modules/@comis/agent/dist/executor/executor-tool-pipeline.js +4 -4
- package/node_modules/@comis/agent/dist/executor/gemini-cache-injector.js +1 -1
- package/node_modules/@comis/agent/dist/executor/goal-planner.d.ts +9 -10
- package/node_modules/@comis/agent/dist/executor/goal-planner.js +11 -12
- package/node_modules/@comis/agent/dist/executor/jit-guide-injector.js +3 -2
- package/node_modules/@comis/agent/dist/executor/later-queue.d.ts +12 -18
- package/node_modules/@comis/agent/dist/executor/later-queue.js +4 -4
- package/node_modules/@comis/agent/dist/executor/lcd-bootstrap-sweep.d.ts +5 -5
- package/node_modules/@comis/agent/dist/executor/lcd-bootstrap-sweep.js +8 -8
- package/node_modules/@comis/agent/dist/executor/lcd-compaction-helpers.d.ts +5 -5
- package/node_modules/@comis/agent/dist/executor/lcd-compaction-helpers.js +5 -5
- package/node_modules/@comis/agent/dist/executor/lcd-compaction-trigger.d.ts +33 -34
- package/node_modules/@comis/agent/dist/executor/lcd-compaction-trigger.js +66 -66
- package/node_modules/@comis/agent/dist/executor/lcd-condense-trigger.d.ts +21 -21
- package/node_modules/@comis/agent/dist/executor/lcd-condense-trigger.js +55 -55
- package/node_modules/@comis/agent/dist/executor/lcd-distillation-runner.d.ts +4 -4
- package/node_modules/@comis/agent/dist/executor/lcd-distillation-runner.js +21 -21
- package/node_modules/@comis/agent/dist/executor/lcd-ingest.d.ts +23 -23
- package/node_modules/@comis/agent/dist/executor/lcd-ingest.js +51 -51
- package/node_modules/@comis/agent/dist/executor/mcp-disconnect-cleanup.d.ts +1 -2
- package/node_modules/@comis/agent/dist/executor/mcp-disconnect-cleanup.js +1 -2
- package/node_modules/@comis/agent/dist/executor/model-profile.d.ts +16 -8
- package/node_modules/@comis/agent/dist/executor/model-profile.js +38 -13
- package/node_modules/@comis/agent/dist/executor/model-retry.d.ts +4 -4
- package/node_modules/@comis/agent/dist/executor/model-retry.js +37 -37
- package/node_modules/@comis/agent/dist/executor/narrate-nudge.d.ts +4 -4
- package/node_modules/@comis/agent/dist/executor/narrate-nudge.js +4 -4
- package/node_modules/@comis/agent/dist/executor/pi-executor/before-tool-call-guard.js +2 -2
- package/node_modules/@comis/agent/dist/executor/pi-executor/delta-reset.d.ts +12 -12
- package/node_modules/@comis/agent/dist/executor/pi-executor/delta-reset.js +12 -12
- package/node_modules/@comis/agent/dist/executor/pi-executor/execution-plan-holder.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/pi-executor/execution-plan-holder.js +1 -1
- package/node_modules/@comis/agent/dist/executor/pi-executor/index.d.ts +3 -2
- package/node_modules/@comis/agent/dist/executor/pi-executor/index.js +3 -2
- package/node_modules/@comis/agent/dist/executor/pi-executor/maybe-run-bootstrap-sweep.d.ts +17 -16
- package/node_modules/@comis/agent/dist/executor/pi-executor/maybe-run-bootstrap-sweep.js +17 -16
- package/node_modules/@comis/agent/dist/executor/pi-executor/message-envelope.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/pi-executor/message-envelope.js +11 -12
- package/node_modules/@comis/agent/dist/executor/pi-executor/pi-executor-prompting.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/pi-executor/pi-executor-prompting.js +1 -1
- package/node_modules/@comis/agent/dist/executor/pi-executor/pi-executor-types.d.ts +21 -17
- package/node_modules/@comis/agent/dist/executor/pi-executor/pi-executor.js +71 -70
- package/node_modules/@comis/agent/dist/executor/pi-executor/session-bootstrap.d.ts +6 -7
- package/node_modules/@comis/agent/dist/executor/pi-executor/session-bootstrap.js +4 -4
- package/node_modules/@comis/agent/dist/executor/pi-executor/session-stats.d.ts +19 -6
- package/node_modules/@comis/agent/dist/executor/pi-executor/session-stats.js +16 -9
- package/node_modules/@comis/agent/dist/executor/pi-executor/trajectory-confinement.js +3 -2
- package/node_modules/@comis/agent/dist/executor/post-batch-continuation.d.ts +5 -7
- package/node_modules/@comis/agent/dist/executor/post-batch-continuation.js +3 -5
- package/node_modules/@comis/agent/dist/executor/prompt-assembly.d.ts +23 -26
- package/node_modules/@comis/agent/dist/executor/prompt-assembly.js +78 -86
- package/node_modules/@comis/agent/dist/executor/prompt-runner/envelope-wrapper.js +13 -13
- package/node_modules/@comis/agent/dist/executor/prompt-runner/failure-path.js +11 -11
- package/node_modules/@comis/agent/dist/executor/prompt-runner/goal-anchor.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/prompt-runner/goal-anchor.js +2 -2
- package/node_modules/@comis/agent/dist/executor/prompt-runner/index.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/prompt-runner/index.js +2 -2
- package/node_modules/@comis/agent/dist/executor/prompt-runner/output-escalation.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/prompt-runner/output-escalation.js +5 -5
- package/node_modules/@comis/agent/dist/executor/prompt-runner/prompt-runner-types.d.ts +5 -5
- package/node_modules/@comis/agent/dist/executor/prompt-runner/prompt-runner.js +3 -3
- package/node_modules/@comis/agent/dist/executor/prompt-runner/retry-loop.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/prompt-runner/retry-loop.js +35 -13
- package/node_modules/@comis/agent/dist/executor/prompt-runner/silent-failure-handlers.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/prompt-runner/silent-failure-handlers.js +23 -2
- package/node_modules/@comis/agent/dist/executor/prompt-runner/tool-schema-strip.d.ts +13 -11
- package/node_modules/@comis/agent/dist/executor/prompt-runner/tool-schema-strip.js +19 -17
- package/node_modules/@comis/agent/dist/executor/prompt-runner/tool-schema-unsupported-handler.d.ts +8 -8
- package/node_modules/@comis/agent/dist/executor/prompt-runner/tool-schema-unsupported-handler.js +14 -14
- package/node_modules/@comis/agent/dist/executor/prompt-timeout.d.ts +10 -10
- package/node_modules/@comis/agent/dist/executor/prompt-timeout.js +8 -8
- package/node_modules/@comis/agent/dist/executor/replay-drift-detector.js +1 -1
- package/node_modules/@comis/agent/dist/executor/resolve-reply-language.d.ts +10 -10
- package/node_modules/@comis/agent/dist/executor/resolve-reply-language.js +10 -10
- package/node_modules/@comis/agent/dist/executor/scaffold-defaults.d.ts +25 -25
- package/node_modules/@comis/agent/dist/executor/scaffold-defaults.js +46 -45
- package/node_modules/@comis/agent/dist/executor/session-health-rollup.d.ts +12 -7
- package/node_modules/@comis/agent/dist/executor/session-health-rollup.js +11 -11
- package/node_modules/@comis/agent/dist/executor/signed-replay-detector.d.ts +2 -4
- package/node_modules/@comis/agent/dist/executor/signed-replay-detector.js +2 -4
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/config-resolver.d.ts +4 -4
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/config-resolver.js +4 -4
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/index.js +2 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/jsonl-rotation.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/jsonl-rotation.js +2 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/breakpoint-orchestration.js +16 -16
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/breakpoint-placement.d.ts +4 -4
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/breakpoint-placement.js +34 -34
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/cache-breakpoints.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/cache-breakpoints.js +1 -1
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/factory.js +13 -12
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/marker-upgrade.d.ts +3 -3
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/marker-upgrade.js +4 -4
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/microcompact.d.ts +4 -4
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/microcompact.js +5 -5
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/monotonic-ttl.d.ts +6 -6
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/monotonic-ttl.js +6 -6
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/prefix-stability.d.ts +3 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/prefix-stability.js +18 -17
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/store-flag.d.ts +4 -4
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/store-flag.js +4 -4
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/token-estimation.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/token-estimation.js +2 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/tool-result-clearing.d.ts +17 -15
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/tool-result-clearing.js +17 -15
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/request-body/types.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/stub-filter-injector.js +2 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/tool-call-repair-wrapper.d.ts +5 -5
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/tool-call-repair-wrapper.js +11 -11
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/turn-result-budget-wrapper.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/stream-wrappers/turn-result-budget-wrapper.js +2 -2
- package/node_modules/@comis/agent/dist/executor/timeout-knob.d.ts +17 -18
- package/node_modules/@comis/agent/dist/executor/timeout-knob.js +17 -18
- package/node_modules/@comis/agent/dist/executor/tool-arg-coercion.d.ts +1 -1
- package/node_modules/@comis/agent/dist/executor/tool-arg-coercion.js +1 -1
- package/node_modules/@comis/agent/dist/executor/tool-deferral.d.ts +14 -16
- package/node_modules/@comis/agent/dist/executor/tool-deferral.js +27 -29
- package/node_modules/@comis/agent/dist/executor/tool-overhead.d.ts +8 -8
- package/node_modules/@comis/agent/dist/executor/tool-overhead.js +8 -8
- package/node_modules/@comis/agent/dist/executor/tool-parallelism.d.ts +2 -2
- package/node_modules/@comis/agent/dist/executor/tool-parallelism.js +1 -1
- package/node_modules/@comis/agent/dist/executor/turn-loop-detector.d.ts +4 -3
- package/node_modules/@comis/agent/dist/executor/turn-loop-detector.js +6 -5
- package/node_modules/@comis/agent/dist/executor/types.d.ts +28 -13
- package/node_modules/@comis/agent/dist/executor/user-representation-block.d.ts +11 -19
- package/node_modules/@comis/agent/dist/executor/user-representation-block.js +11 -19
- package/node_modules/@comis/agent/dist/executor/verification-gate-synth-deps.d.ts +3 -3
- package/node_modules/@comis/agent/dist/executor/verification-gate-synth-deps.js +1 -1
- package/node_modules/@comis/agent/dist/executor/verification-gate.d.ts +8 -8
- package/node_modules/@comis/agent/dist/executor/verification-gate.js +34 -33
- package/node_modules/@comis/agent/dist/greeting/session-greeting.d.ts +2 -2
- package/node_modules/@comis/agent/dist/greeting/session-greeting.js +2 -2
- package/node_modules/@comis/agent/dist/index.d.ts +5 -3
- package/node_modules/@comis/agent/dist/index.js +44 -48
- package/node_modules/@comis/agent/dist/memory/__fixtures__/recall-eval-fixtures.d.ts +4 -4
- package/node_modules/@comis/agent/dist/memory/__fixtures__/recall-eval-fixtures.js +4 -4
- package/node_modules/@comis/agent/dist/memory/benchmark/__fixtures__/qa-judge-stub.d.ts +3 -3
- package/node_modules/@comis/agent/dist/memory/benchmark/__fixtures__/qa-judge-stub.js +3 -3
- package/node_modules/@comis/agent/dist/memory/benchmark/ablation-sweep.d.ts +4 -4
- package/node_modules/@comis/agent/dist/memory/benchmark/ablation-sweep.js +4 -4
- package/node_modules/@comis/agent/dist/memory/benchmark/competitor-adapter.d.ts +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/competitor-adapter.js +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/cross-judge-spread.d.ts +5 -7
- package/node_modules/@comis/agent/dist/memory/benchmark/cross-judge-spread.js +5 -7
- package/node_modules/@comis/agent/dist/memory/benchmark/filesystem-baseline.d.ts +1 -2
- package/node_modules/@comis/agent/dist/memory/benchmark/filesystem-baseline.js +1 -2
- package/node_modules/@comis/agent/dist/memory/benchmark/learning-lift-scorer.d.ts +2 -2
- package/node_modules/@comis/agent/dist/memory/benchmark/learning-lift-scorer.js +2 -2
- package/node_modules/@comis/agent/dist/memory/benchmark/letta-fs-baseline-adapter.d.ts +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/letta-fs-baseline-adapter.js +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/locomo-loader.d.ts +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/personalization-loaders.d.ts +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/personalization-loaders.js +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/qa-accuracy.d.ts +2 -2
- package/node_modules/@comis/agent/dist/memory/benchmark/qa-accuracy.js +2 -2
- package/node_modules/@comis/agent/dist/memory/benchmark/qa-judge-parse.d.ts +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/qa-judge-parse.js +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/qa-judge-prompt.d.ts +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/qa-judge-prompt.js +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/qa-report.d.ts +5 -5
- package/node_modules/@comis/agent/dist/memory/benchmark/qa-report.js +2 -2
- package/node_modules/@comis/agent/dist/memory/benchmark/recall-trace-analyzer.d.ts +3 -3
- package/node_modules/@comis/agent/dist/memory/benchmark/recall-trace-analyzer.js +3 -3
- package/node_modules/@comis/agent/dist/memory/benchmark/results-ledger.d.ts +4 -4
- package/node_modules/@comis/agent/dist/memory/benchmark/results-ledger.js +3 -3
- package/node_modules/@comis/agent/dist/memory/benchmark/significance.d.ts +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/significance.js +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/suite-report.d.ts +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/suite-report.js +1 -1
- package/node_modules/@comis/agent/dist/memory/benchmark/suite-scenario.d.ts +2 -2
- package/node_modules/@comis/agent/dist/memory/benchmark/suite-scenario.js +2 -2
- package/node_modules/@comis/agent/dist/memory/correction-detector-seam.d.ts +18 -18
- package/node_modules/@comis/agent/dist/memory/correction-detector-seam.js +19 -19
- package/node_modules/@comis/agent/dist/memory/emit-generation-quality.d.ts +7 -7
- package/node_modules/@comis/agent/dist/memory/emit-generation-quality.js +8 -8
- package/node_modules/@comis/agent/dist/memory/index.d.ts +6 -4
- package/node_modules/@comis/agent/dist/memory/index.js +20 -14
- package/node_modules/@comis/agent/dist/memory/judge-model-resolver.js +1 -1
- package/node_modules/@comis/agent/dist/memory/llm-json.d.ts +1 -1
- package/node_modules/@comis/agent/dist/memory/llm-json.js +1 -1
- package/node_modules/@comis/agent/dist/memory/llm-reflection-adapter.d.ts +15 -15
- package/node_modules/@comis/agent/dist/memory/llm-reflection-adapter.js +15 -17
- package/node_modules/@comis/agent/dist/memory/memory-capability-router.d.ts +4 -5
- package/node_modules/@comis/agent/dist/memory/memory-capability-router.js +2 -2
- package/node_modules/@comis/agent/dist/memory/memory-dialectic-prompt.d.ts +2 -2
- package/node_modules/@comis/agent/dist/memory/memory-dialectic-prompt.js +3 -3
- package/node_modules/@comis/agent/dist/memory/memory-dialectic-seam.d.ts +4 -4
- package/node_modules/@comis/agent/dist/memory/memory-dialectic-seam.js +5 -5
- package/node_modules/@comis/agent/dist/memory/memory-dialectic-synthesis.d.ts +5 -5
- package/node_modules/@comis/agent/dist/memory/memory-dialectic-synthesis.js +7 -7
- package/node_modules/@comis/agent/dist/memory/memory-extraction.d.ts +4 -4
- package/node_modules/@comis/agent/dist/memory/memory-extraction.js +4 -4
- package/node_modules/@comis/agent/dist/memory/memory-prompt-language.d.ts +14 -15
- package/node_modules/@comis/agent/dist/memory/memory-prompt-language.js +14 -15
- package/node_modules/@comis/agent/dist/memory/memory-review-job.d.ts +4 -3
- package/node_modules/@comis/agent/dist/memory/memory-review-job.js +21 -20
- package/node_modules/@comis/agent/dist/memory/orchestrate-repair-seam.d.ts +115 -0
- package/node_modules/@comis/agent/dist/memory/orchestrate-repair-seam.js +184 -0
- package/node_modules/@comis/agent/dist/memory/outcome-judge-seam.d.ts +16 -16
- package/node_modules/@comis/agent/dist/memory/outcome-judge-seam.js +20 -20
- package/node_modules/@comis/agent/dist/memory/reflection-job.d.ts +75 -47
- package/node_modules/@comis/agent/dist/memory/reflection-job.js +106 -68
- package/node_modules/@comis/agent/dist/memory/reflection-prompt.d.ts +77 -56
- package/node_modules/@comis/agent/dist/memory/reflection-prompt.js +112 -52
- package/node_modules/@comis/agent/dist/memory/topic-key.d.ts +11 -12
- package/node_modules/@comis/agent/dist/memory/topic-key.js +22 -24
- package/node_modules/@comis/agent/dist/model/compaction-model-resolver.d.ts +7 -8
- package/node_modules/@comis/agent/dist/model/compaction-model-resolver.js +8 -9
- package/node_modules/@comis/agent/dist/model/fresh-tail-clamp.d.ts +8 -7
- package/node_modules/@comis/agent/dist/model/fresh-tail-clamp.js +8 -7
- package/node_modules/@comis/agent/dist/model/model-allowlist.d.ts +2 -2
- package/node_modules/@comis/agent/dist/model/model-allowlist.js +2 -2
- package/node_modules/@comis/agent/dist/model/model-registry-adapter.d.ts +1 -1
- package/node_modules/@comis/agent/dist/model/model-registry-adapter.js +1 -1
- package/node_modules/@comis/agent/dist/model/model-scanner.js +1 -1
- package/node_modules/@comis/agent/dist/model/oauth-token-manager.js +6 -7
- package/node_modules/@comis/agent/dist/model/ollama-capacity-probe.d.ts +5 -5
- package/node_modules/@comis/agent/dist/model/ollama-capacity-probe.js +12 -12
- package/node_modules/@comis/agent/dist/model/operation-model-defaults.d.ts +7 -7
- package/node_modules/@comis/agent/dist/model/operation-model-defaults.js +23 -23
- package/node_modules/@comis/agent/dist/model/operation-model-resolver.d.ts +5 -11
- package/node_modules/@comis/agent/dist/model/operation-model-resolver.js +5 -11
- package/node_modules/@comis/agent/dist/model/served-window-comparator.d.ts +11 -12
- package/node_modules/@comis/agent/dist/model/served-window-comparator.js +12 -13
- package/node_modules/@comis/agent/dist/provider/capabilities.js +1 -1
- package/node_modules/@comis/agent/dist/provider/model-compat.d.ts +3 -3
- package/node_modules/@comis/agent/dist/provider/model-compat.js +3 -3
- 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 +4 -3
- package/node_modules/@comis/agent/dist/provider/response/sanitize-pipeline.js +6 -5
- package/node_modules/@comis/agent/dist/provider/tool-schema/clean-for-gbnf.d.ts +9 -9
- package/node_modules/@comis/agent/dist/provider/tool-schema/clean-for-gbnf.js +22 -22
- package/node_modules/@comis/agent/dist/provider/tool-schema/gbnf-hostile-fixtures.d.ts +2 -2
- package/node_modules/@comis/agent/dist/provider/tool-schema/gbnf-hostile-fixtures.js +2 -2
- package/node_modules/@comis/agent/dist/provider/tool-schema/normalize.d.ts +2 -2
- package/node_modules/@comis/agent/dist/provider/tool-schema/normalize.js +20 -20
- package/node_modules/@comis/agent/dist/rag/cosine.d.ts +2 -7
- package/node_modules/@comis/agent/dist/rag/cosine.js +2 -7
- package/node_modules/@comis/agent/dist/rag/hybrid-memory-injector.d.ts +4 -3
- package/node_modules/@comis/agent/dist/rag/hybrid-memory-injector.js +4 -3
- package/node_modules/@comis/agent/dist/rag/memory-recall.js +22 -22
- package/node_modules/@comis/agent/dist/rag/mmr.js +1 -1
- package/node_modules/@comis/agent/dist/rag/query-understanding.d.ts +3 -3
- package/node_modules/@comis/agent/dist/rag/query-understanding.js +4 -4
- package/node_modules/@comis/agent/dist/rag/recall-attribution.js +6 -6
- package/node_modules/@comis/agent/dist/rag/recall-observability.js +5 -6
- package/node_modules/@comis/agent/dist/rag/recall-provenance.d.ts +13 -13
- package/node_modules/@comis/agent/dist/rag/recall-provenance.js +23 -23
- package/node_modules/@comis/agent/dist/rag/recall-record.d.ts +3 -3
- package/node_modules/@comis/agent/dist/rag/recall-record.js +2 -2
- package/node_modules/@comis/agent/dist/rag/recall-security-prefilter.d.ts +16 -16
- package/node_modules/@comis/agent/dist/rag/recall-security-prefilter.js +16 -16
- package/node_modules/@comis/agent/dist/rag/recall-types.d.ts +10 -9
- package/node_modules/@comis/agent/dist/rag/relevance-scorer.d.ts +11 -11
- package/node_modules/@comis/agent/dist/rag/relevance-scorer.js +16 -16
- package/node_modules/@comis/agent/dist/rag/score.d.ts +12 -13
- package/node_modules/@comis/agent/dist/rag/score.js +22 -22
- package/node_modules/@comis/agent/dist/rag/temporal-guidance.d.ts +3 -3
- package/node_modules/@comis/agent/dist/rag/temporal-guidance.js +4 -4
- package/node_modules/@comis/agent/dist/response-filter/reasoning-tags.d.ts +1 -1
- package/node_modules/@comis/agent/dist/response-filter/reasoning-tags.js +2 -2
- package/node_modules/@comis/agent/dist/safety/summarizer-spend-breaker.d.ts +7 -7
- package/node_modules/@comis/agent/dist/safety/summarizer-spend-breaker.js +1 -1
- package/node_modules/@comis/agent/dist/safety/token-estimator.d.ts +7 -7
- package/node_modules/@comis/agent/dist/safety/token-estimator.js +14 -14
- package/node_modules/@comis/agent/dist/safety/tool-output-safety.js +2 -2
- package/node_modules/@comis/agent/dist/safety/tool-result-size-guard.js +11 -9
- package/node_modules/@comis/agent/dist/safety/tool-retry-breaker.d.ts +17 -21
- package/node_modules/@comis/agent/dist/safety/tool-retry-breaker.js +22 -25
- package/node_modules/@comis/agent/dist/safety/tool-schema-safety.js +2 -1
- package/node_modules/@comis/agent/dist/session/comis-session-manager.d.ts +7 -7
- package/node_modules/@comis/agent/dist/session/comis-session-manager.js +1 -1
- package/node_modules/@comis/agent/dist/session/orphaned-message-repair.d.ts +2 -3
- package/node_modules/@comis/agent/dist/session/orphaned-message-repair.js +2 -3
- package/node_modules/@comis/agent/dist/session/sanitize-session-secrets.js +6 -6
- package/node_modules/@comis/agent/dist/session/scrub-redacted-tool-calls.d.ts +2 -2
- package/node_modules/@comis/agent/dist/session/scrub-redacted-tool-calls.js +2 -2
- package/node_modules/@comis/agent/dist/session/session-write-lock.d.ts +2 -3
- package/node_modules/@comis/agent/dist/session/session-write-lock.js +6 -7
- package/node_modules/@comis/agent/dist/spawn/announce-key.d.ts +4 -4
- package/node_modules/@comis/agent/dist/spawn/announce-key.js +4 -4
- package/node_modules/@comis/agent/dist/spawn/announcement-ports.d.ts +6 -6
- package/node_modules/@comis/agent/dist/spawn/child-prompt-economy.d.ts +23 -27
- package/node_modules/@comis/agent/dist/spawn/child-prompt-economy.js +23 -27
- package/node_modules/@comis/agent/dist/spawn/coordinator-progress-fork.d.ts +8 -8
- package/node_modules/@comis/agent/dist/spawn/coordinator-progress-fork.js +5 -4
- package/node_modules/@comis/agent/dist/spawn/index.js +2 -2
- package/node_modules/@comis/agent/dist/spawn/lifecycle-hooks.d.ts +3 -5
- package/node_modules/@comis/agent/dist/spawn/lifecycle-hooks.js +3 -5
- package/node_modules/@comis/agent/dist/spawn/narrative-caster.d.ts +5 -5
- package/node_modules/@comis/agent/dist/spawn/narrative-caster.js +6 -6
- package/node_modules/@comis/agent/dist/spawn/result-condenser.js +5 -6
- package/node_modules/@comis/agent/dist/spawn/sandbox-posture.d.ts +40 -20
- package/node_modules/@comis/agent/dist/spawn/sandbox-posture.js +44 -19
- package/node_modules/@comis/agent/dist/spawn/spawn-packet-builder.d.ts +1 -1
- package/node_modules/@comis/agent/dist/spawn/steer-run.d.ts +11 -11
- package/node_modules/@comis/agent/dist/spawn/steer-run.js +15 -15
- package/node_modules/@comis/agent/dist/spawn/sub-agent-result-processor.d.ts +10 -10
- package/node_modules/@comis/agent/dist/spawn/sub-agent-result-processor.js +24 -24
- package/node_modules/@comis/agent/dist/spawn/sub-agent-runner.d.ts +35 -35
- package/node_modules/@comis/agent/dist/spawn/sub-agent-runner.js +67 -62
- package/node_modules/@comis/agent/dist/workspace/templates.d.ts +3 -3
- package/node_modules/@comis/agent/dist/workspace/templates.js +3 -3
- package/node_modules/@comis/agent/dist/workspace/workspace-manager.d.ts +3 -4
- package/node_modules/@comis/agent/dist/workspace/workspace-manager.js +11 -12
- package/node_modules/@comis/agent/package.json +1 -1
- package/node_modules/@comis/channels/dist/__tests__/fakes/discord-fake.js +3 -3
- package/node_modules/@comis/channels/dist/__tests__/fakes/echo-fake.d.ts +1 -1
- package/node_modules/@comis/channels/dist/__tests__/fakes/echo-fake.js +6 -6
- package/node_modules/@comis/channels/dist/__tests__/fakes/email-fake.js +2 -2
- package/node_modules/@comis/channels/dist/__tests__/fakes/imessage-fake.js +2 -3
- package/node_modules/@comis/channels/dist/__tests__/fakes/irc-fake.js +2 -2
- package/node_modules/@comis/channels/dist/__tests__/fakes/line-fake.js +3 -3
- package/node_modules/@comis/channels/dist/__tests__/fakes/msteams-fake.d.ts +43 -0
- package/node_modules/@comis/channels/dist/__tests__/fakes/msteams-fake.js +100 -0
- package/node_modules/@comis/channels/dist/__tests__/fakes/signal-fake.js +2 -3
- package/node_modules/@comis/channels/dist/__tests__/fakes/slack-fake.js +3 -4
- package/node_modules/@comis/channels/dist/__tests__/fakes/telegram-fake.js +3 -4
- package/node_modules/@comis/channels/dist/__tests__/fakes/whatsapp-fake.js +2 -3
- package/node_modules/@comis/channels/dist/__tests__/fixture-harness.js +2 -2
- package/node_modules/@comis/channels/dist/discord/discord-activity.d.ts +3 -3
- package/node_modules/@comis/channels/dist/discord/discord-activity.js +7 -7
- package/node_modules/@comis/channels/dist/discord/discord-adapter.js +8 -7
- package/node_modules/@comis/channels/dist/discord/discord-plugin.js +1 -1
- package/node_modules/@comis/channels/dist/discord/discord-reaction-binder.d.ts +5 -5
- package/node_modules/@comis/channels/dist/discord/discord-reaction-binder.js +6 -6
- package/node_modules/@comis/channels/dist/discord/format-discord.d.ts +2 -3
- package/node_modules/@comis/channels/dist/discord/format-discord.js +2 -3
- package/node_modules/@comis/channels/dist/echo/echo-activity.d.ts +2 -2
- package/node_modules/@comis/channels/dist/echo/echo-activity.js +2 -2
- package/node_modules/@comis/channels/dist/echo/echo-adapter.d.ts +3 -3
- package/node_modules/@comis/channels/dist/echo/echo-adapter.js +3 -3
- package/node_modules/@comis/channels/dist/echo/echo-plugin.js +4 -5
- package/node_modules/@comis/channels/dist/email/email-activity.d.ts +3 -3
- package/node_modules/@comis/channels/dist/email/email-activity.js +8 -8
- package/node_modules/@comis/channels/dist/email/email-adapter.js +1 -1
- package/node_modules/@comis/channels/dist/email/email-plugin.js +1 -1
- package/node_modules/@comis/channels/dist/imessage/imessage-activity.d.ts +4 -4
- package/node_modules/@comis/channels/dist/imessage/imessage-activity.js +13 -13
- package/node_modules/@comis/channels/dist/imessage/imessage-adapter.js +1 -1
- package/node_modules/@comis/channels/dist/imessage/imessage-client.d.ts +2 -2
- package/node_modules/@comis/channels/dist/imessage/imessage-client.js +2 -2
- package/node_modules/@comis/channels/dist/imessage/imessage-plugin.js +1 -1
- package/node_modules/@comis/channels/dist/index.d.ts +11 -0
- package/node_modules/@comis/channels/dist/index.js +13 -4
- package/node_modules/@comis/channels/dist/irc/irc-activity.d.ts +3 -3
- package/node_modules/@comis/channels/dist/irc/irc-activity.js +10 -10
- package/node_modules/@comis/channels/dist/irc/irc-adapter.js +1 -1
- package/node_modules/@comis/channels/dist/irc/irc-plugin.js +1 -1
- package/node_modules/@comis/channels/dist/line/line-activity.d.ts +7 -9
- package/node_modules/@comis/channels/dist/line/line-activity.js +25 -27
- package/node_modules/@comis/channels/dist/line/line-adapter.js +1 -1
- package/node_modules/@comis/channels/dist/line/line-plugin.js +1 -1
- package/node_modules/@comis/channels/dist/msteams/credential-validator.d.ts +49 -0
- package/node_modules/@comis/channels/dist/msteams/credential-validator.js +56 -0
- package/node_modules/@comis/channels/dist/msteams/errors.d.ts +43 -0
- package/node_modules/@comis/channels/dist/msteams/errors.js +71 -0
- package/node_modules/@comis/channels/dist/msteams/mentions.d.ts +52 -0
- package/node_modules/@comis/channels/dist/msteams/mentions.js +57 -0
- package/node_modules/@comis/channels/dist/msteams/message-mapper.d.ts +113 -0
- package/node_modules/@comis/channels/dist/msteams/message-mapper.js +148 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-actions.d.ts +79 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-actions.js +92 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-activity.d.ts +39 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-activity.js +189 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-adapter-outbound.d.ts +45 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-adapter-outbound.js +114 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-adapter.d.ts +90 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-adapter.js +676 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-auth.d.ts +125 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-auth.js +397 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-connector.d.ts +120 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-connector.js +414 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-plugin.d.ts +66 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-plugin.js +81 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-proactive.d.ts +39 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-proactive.js +39 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-reaction-binder.d.ts +38 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-reaction-binder.js +76 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-resolver.d.ts +103 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-resolver.js +190 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-rich-renderer.d.ts +35 -0
- package/node_modules/@comis/channels/dist/msteams/msteams-rich-renderer.js +154 -0
- package/node_modules/@comis/channels/dist/shared/channel-health-monitor.d.ts +10 -3
- package/node_modules/@comis/channels/dist/shared/channel-health-monitor.js +7 -3
- package/node_modules/@comis/channels/dist/shared/delivery-timing.js +1 -1
- package/node_modules/@comis/channels/dist/shared/lifecycle-reactor.js +5 -4
- package/node_modules/@comis/channels/dist/shared/plan-renderer.d.ts +2 -2
- package/node_modules/@comis/channels/dist/shared/response-filter.js +2 -2
- package/node_modules/@comis/channels/dist/shared/strategies/actions.d.ts +5 -5
- package/node_modules/@comis/channels/dist/shared/strategies/append-only.d.ts +6 -6
- package/node_modules/@comis/channels/dist/shared/strategies/append-only.js +5 -5
- package/node_modules/@comis/channels/dist/shared/strategies/approval-render.d.ts +11 -11
- package/node_modules/@comis/channels/dist/shared/strategies/approval-render.js +4 -4
- package/node_modules/@comis/channels/dist/shared/strategies/delete-and-repost.d.ts +2 -2
- package/node_modules/@comis/channels/dist/shared/strategies/delete-and-repost.js +6 -6
- package/node_modules/@comis/channels/dist/shared/strategies/digest-only.d.ts +1 -1
- package/node_modules/@comis/channels/dist/shared/strategies/digest-only.js +3 -3
- package/node_modules/@comis/channels/dist/shared/strategies/edit-place.d.ts +5 -5
- package/node_modules/@comis/channels/dist/shared/strategies/edit-place.js +9 -10
- package/node_modules/@comis/channels/dist/shared/strategies/line-per-event.d.ts +2 -2
- package/node_modules/@comis/channels/dist/shared/strategies/line-per-event.js +6 -5
- package/node_modules/@comis/channels/dist/shared/strategies/render.d.ts +21 -21
- package/node_modules/@comis/channels/dist/shared/strategies/render.js +41 -39
- package/node_modules/@comis/channels/dist/shared/strategies/test-sink.js +2 -2
- package/node_modules/@comis/channels/dist/shared/voice-response-pipeline.d.ts +7 -7
- package/node_modules/@comis/channels/dist/shared/voice-response-pipeline.js +4 -4
- package/node_modules/@comis/channels/dist/signal/signal-activity.d.ts +1 -2
- package/node_modules/@comis/channels/dist/signal/signal-activity.js +6 -7
- package/node_modules/@comis/channels/dist/signal/signal-client.d.ts +3 -1
- package/node_modules/@comis/channels/dist/signal/signal-client.js +3 -1
- package/node_modules/@comis/channels/dist/signal/signal-format.d.ts +0 -2
- package/node_modules/@comis/channels/dist/signal/signal-format.js +0 -2
- package/node_modules/@comis/channels/dist/signal/signal-plugin.js +1 -1
- package/node_modules/@comis/channels/dist/slack/credential-validator.js +2 -2
- package/node_modules/@comis/channels/dist/slack/format-slack.js +4 -4
- package/node_modules/@comis/channels/dist/slack/media-handler.d.ts +0 -2
- package/node_modules/@comis/channels/dist/slack/media-handler.js +0 -2
- package/node_modules/@comis/channels/dist/slack/slack-activity.d.ts +1 -1
- package/node_modules/@comis/channels/dist/slack/slack-activity.js +6 -6
- package/node_modules/@comis/channels/dist/slack/slack-adapter.js +8 -7
- package/node_modules/@comis/channels/dist/slack/slack-plugin.js +1 -1
- package/node_modules/@comis/channels/dist/slack/slack-reaction-binder.d.ts +5 -5
- package/node_modules/@comis/channels/dist/slack/slack-reaction-binder.js +5 -5
- package/node_modules/@comis/channels/dist/telegram/telegram-activity.d.ts +1 -1
- package/node_modules/@comis/channels/dist/telegram/telegram-activity.js +5 -5
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/index.js +1 -1
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-adapter-types.d.ts +1 -1
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-inbound.d.ts +1 -1
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-inbound.js +3 -3
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-lifecycle.js +1 -1
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-outbound.js +2 -3
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-webhook.d.ts +1 -1
- package/node_modules/@comis/channels/dist/telegram/telegram-adapter/telegram-webhook.js +1 -1
- package/node_modules/@comis/channels/dist/telegram/telegram-plugin.js +1 -1
- package/node_modules/@comis/channels/dist/telegram/telegram-resolver.d.ts +2 -2
- package/node_modules/@comis/channels/dist/telegram/telegram-resolver.js +1 -1
- package/node_modules/@comis/channels/dist/whatsapp/jid-utils.d.ts +1 -2
- package/node_modules/@comis/channels/dist/whatsapp/jid-utils.js +1 -2
- package/node_modules/@comis/channels/dist/whatsapp/whatsapp-activity.js +6 -6
- package/node_modules/@comis/channels/dist/whatsapp/whatsapp-plugin.js +1 -1
- package/node_modules/@comis/channels/package.json +1 -1
- package/node_modules/@comis/cli/dist/cli.d.ts +9 -0
- package/node_modules/@comis/cli/dist/cli.js +6 -4
- package/node_modules/@comis/cli/dist/client/rpc-client.d.ts +4 -4
- package/node_modules/@comis/cli/dist/client/rpc-client.js +7 -7
- package/node_modules/@comis/cli/dist/commands/agent.js +3 -3
- package/node_modules/@comis/cli/dist/commands/auth.js +13 -13
- package/node_modules/@comis/cli/dist/commands/channel.js +4 -5
- package/node_modules/@comis/cli/dist/commands/cost-export.d.ts +5 -6
- package/node_modules/@comis/cli/dist/commands/cost-export.js +5 -6
- package/node_modules/@comis/cli/dist/commands/doctor.d.ts +2 -2
- package/node_modules/@comis/cli/dist/commands/doctor.js +10 -22
- package/node_modules/@comis/cli/dist/commands/explain.d.ts +2 -2
- package/node_modules/@comis/cli/dist/commands/explain.js +8 -8
- package/node_modules/@comis/cli/dist/commands/fleet.js +7 -7
- package/node_modules/@comis/cli/dist/commands/health.js +8 -9
- package/node_modules/@comis/cli/dist/commands/init.js +12 -0
- package/node_modules/@comis/cli/dist/commands/memory.js +10 -18
- package/node_modules/@comis/cli/dist/commands/orchestrate.d.ts +32 -0
- package/node_modules/@comis/cli/dist/commands/orchestrate.js +49 -0
- package/node_modules/@comis/cli/dist/commands/providers.js +1 -1
- package/node_modules/@comis/cli/dist/commands/secrets.d.ts +1 -1
- package/node_modules/@comis/cli/dist/commands/secrets.js +2 -2
- package/node_modules/@comis/cli/dist/commands/security-audit-log.d.ts +1 -1
- package/node_modules/@comis/cli/dist/commands/security-audit-log.js +1 -1
- package/node_modules/@comis/cli/dist/commands/security.d.ts +1 -1
- package/node_modules/@comis/cli/dist/commands/security.js +2 -2
- package/node_modules/@comis/cli/dist/commands/sessions.js +5 -6
- package/node_modules/@comis/cli/dist/commands/support-bundle.d.ts +32 -0
- package/node_modules/@comis/cli/dist/commands/support-bundle.js +159 -0
- package/node_modules/@comis/cli/dist/commands/whoami.d.ts +2 -2
- package/node_modules/@comis/cli/dist/commands/whoami.js +2 -2
- package/node_modules/@comis/cli/dist/doctor/checks/channel-health.d.ts +3 -3
- package/node_modules/@comis/cli/dist/doctor/checks/channel-health.js +3 -3
- package/node_modules/@comis/cli/dist/doctor/checks/lcd-health.d.ts +8 -6
- package/node_modules/@comis/cli/dist/doctor/checks/lcd-health.js +18 -15
- package/node_modules/@comis/cli/dist/doctor/checks/msteams-health.d.ts +40 -0
- package/node_modules/@comis/cli/dist/doctor/checks/msteams-health.js +227 -0
- package/node_modules/@comis/cli/dist/doctor/checks/oauth-health.js +8 -8
- package/node_modules/@comis/cli/dist/doctor/checks/version-skew-health.d.ts +6 -6
- package/node_modules/@comis/cli/dist/doctor/checks/version-skew-health.js +13 -25
- package/node_modules/@comis/cli/dist/doctor/config-resolve.d.ts +7 -7
- package/node_modules/@comis/cli/dist/doctor/config-resolve.js +14 -7
- package/node_modules/@comis/cli/dist/doctor/output.d.ts +23 -1
- package/node_modules/@comis/cli/dist/doctor/output.js +20 -6
- package/node_modules/@comis/cli/dist/doctor/repairs/repair-lcd.d.ts +17 -17
- package/node_modules/@comis/cli/dist/doctor/repairs/repair-lcd.js +9 -9
- package/node_modules/@comis/cli/dist/doctor/types.d.ts +10 -1
- package/node_modules/@comis/cli/dist/support-bundle/config-posture.d.ts +45 -0
- package/node_modules/@comis/cli/dist/support-bundle/config-posture.js +54 -0
- package/node_modules/@comis/cli/dist/support-bundle/generate.d.ts +148 -0
- package/node_modules/@comis/cli/dist/support-bundle/generate.js +348 -0
- package/node_modules/@comis/cli/dist/support-bundle/host-snapshot.d.ts +39 -0
- package/node_modules/@comis/cli/dist/support-bundle/host-snapshot.js +71 -0
- package/node_modules/@comis/cli/dist/support-bundle/render-ai-draft.d.ts +35 -0
- package/node_modules/@comis/cli/dist/support-bundle/render-ai-draft.js +95 -0
- package/node_modules/@comis/cli/dist/support-bundle/render-issue.d.ts +24 -0
- package/node_modules/@comis/cli/dist/support-bundle/render-issue.js +88 -0
- package/node_modules/@comis/cli/dist/support-bundle/session-embed.d.ts +94 -0
- package/node_modules/@comis/cli/dist/support-bundle/session-embed.js +102 -0
- package/node_modules/@comis/cli/dist/support-bundle/triage.d.ts +96 -0
- package/node_modules/@comis/cli/dist/support-bundle/triage.js +313 -0
- package/node_modules/@comis/cli/dist/support-bundle/types.d.ts +241 -0
- package/node_modules/@comis/cli/dist/support-bundle/types.js +235 -0
- package/node_modules/@comis/cli/dist/support-bundle/writer.d.ts +138 -0
- package/node_modules/@comis/cli/dist/support-bundle/writer.js +318 -0
- package/node_modules/@comis/cli/dist/sync-tooling/atomic-write.d.ts +1 -1
- package/node_modules/@comis/cli/dist/sync-tooling/atomic-write.js +1 -1
- package/node_modules/@comis/cli/dist/sync-tooling/daemon-guard.js +2 -2
- package/node_modules/@comis/cli/dist/sync-tooling/diff.d.ts +3 -3
- package/node_modules/@comis/cli/dist/sync-tooling/diff.js +3 -3
- package/node_modules/@comis/cli/dist/tooling-fill/agent-call.d.ts +3 -3
- package/node_modules/@comis/cli/dist/tooling-fill/agent-call.js +4 -4
- package/node_modules/@comis/cli/dist/tooling-fill/apply-hint.d.ts +1 -1
- package/node_modules/@comis/cli/dist/tooling-fill/apply-hint.js +2 -2
- package/node_modules/@comis/cli/dist/tooling-fill/orchestrator/orchestrator-verify.js +9 -9
- package/node_modules/@comis/cli/dist/tooling-fill/prompt-template.js +2 -2
- package/node_modules/@comis/cli/dist/util/cli-version.d.ts +18 -0
- package/node_modules/@comis/cli/dist/util/cli-version.js +29 -0
- package/node_modules/@comis/cli/dist/util/csv.d.ts +4 -4
- package/node_modules/@comis/cli/dist/util/csv.js +4 -4
- package/node_modules/@comis/cli/dist/util/exit-codes.d.ts +3 -3
- package/node_modules/@comis/cli/dist/util/exit-codes.js +3 -3
- package/node_modules/@comis/cli/dist/util/offline-learning.d.ts +6 -7
- package/node_modules/@comis/cli/dist/util/offline-learning.js +7 -8
- package/node_modules/@comis/cli/dist/util/offline-obs.d.ts +68 -6
- package/node_modules/@comis/cli/dist/util/offline-obs.js +209 -6
- package/node_modules/@comis/cli/dist/util/offline-secrets-store.js +3 -3
- package/node_modules/@comis/cli/dist/util/offline-skills.d.ts +5 -6
- package/node_modules/@comis/cli/dist/util/offline-skills.js +6 -7
- package/node_modules/@comis/cli/dist/wizard/index.d.ts +1 -4
- package/node_modules/@comis/cli/dist/wizard/index.js +1 -4
- package/node_modules/@comis/cli/dist/wizard/non-interactive.d.ts +4 -0
- package/node_modules/@comis/cli/dist/wizard/non-interactive.js +36 -5
- package/node_modules/@comis/cli/dist/wizard/steps/03-provider.js +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/04-credentials.js +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/04-oauth-helpers.js +1 -1
- 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 +61 -1
- package/node_modules/@comis/cli/dist/wizard/steps/08c-video-providers.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/08c-video-providers.js +2 -2
- package/node_modules/@comis/cli/dist/wizard/steps/08d-image-providers.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/08d-image-providers.js +2 -2
- package/node_modules/@comis/cli/dist/wizard/steps/08e-transcription.d.ts +1 -1
- package/node_modules/@comis/cli/dist/wizard/steps/08e-transcription.js +2 -2
- package/node_modules/@comis/cli/dist/wizard/steps/08f-tts.d.ts +2 -2
- package/node_modules/@comis/cli/dist/wizard/steps/08f-tts.js +3 -3
- package/node_modules/@comis/cli/dist/wizard/steps/10-write-config.js +36 -13
- package/node_modules/@comis/cli/dist/wizard/steps/11-daemon-start.d.ts +5 -6
- package/node_modules/@comis/cli/dist/wizard/steps/11-daemon-start.js +5 -6
- package/node_modules/@comis/cli/dist/wizard/types.d.ts +19 -15
- package/node_modules/@comis/cli/dist/wizard/types.js +13 -11
- package/node_modules/@comis/cli/dist/wizard/validators/channel-creds.js +44 -0
- package/node_modules/@comis/cli/package.json +1 -1
- package/node_modules/@comis/core/dist/activity/activity-event.d.ts +3 -4
- package/node_modules/@comis/core/dist/activity/activity-event.js +1 -1
- package/node_modules/@comis/core/dist/activity/activity-strategy.d.ts +2 -2
- package/node_modules/@comis/core/dist/activity/activity-strategy.js +2 -2
- package/node_modules/@comis/core/dist/activity/activity-stream-port.d.ts +3 -4
- package/node_modules/@comis/core/dist/activity/approval.d.ts +2 -2
- package/node_modules/@comis/core/dist/activity/approval.js +3 -3
- package/node_modules/@comis/core/dist/activity/channel-activity-renderer.d.ts +7 -7
- package/node_modules/@comis/core/dist/activity/label-spec.d.ts +10 -10
- package/node_modules/@comis/core/dist/activity/label-spec.js +5 -5
- package/node_modules/@comis/core/dist/activity/projections/acp-projection.d.ts +1 -1
- package/node_modules/@comis/core/dist/activity/projections/chat-projection.d.ts +2 -2
- package/node_modules/@comis/core/dist/activity/projections/chat-projection.js +2 -2
- package/node_modules/@comis/core/dist/activity/projections/coalesce.d.ts +2 -2
- package/node_modules/@comis/core/dist/activity/projections/coalesce.js +4 -4
- package/node_modules/@comis/core/dist/activity/projections/index.d.ts +1 -1
- package/node_modules/@comis/core/dist/activity/projections/index.js +1 -1
- package/node_modules/@comis/core/dist/activity/semantic-classifier.d.ts +5 -5
- package/node_modules/@comis/core/dist/activity/semantic-classifier.js +4 -4
- package/node_modules/@comis/core/dist/activity/template-engine.d.ts +7 -7
- package/node_modules/@comis/core/dist/activity/template-engine.js +13 -13
- package/node_modules/@comis/core/dist/activity/themes/ascii.d.ts +1 -1
- package/node_modules/@comis/core/dist/activity/themes/ascii.js +1 -1
- package/node_modules/@comis/core/dist/activity/themes/default.d.ts +4 -4
- package/node_modules/@comis/core/dist/activity/themes/default.js +2 -2
- package/node_modules/@comis/core/dist/activity/turn-activity-context.d.ts +1 -1
- package/node_modules/@comis/core/dist/activity/turn-outcome.d.ts +5 -4
- package/node_modules/@comis/core/dist/api-contracts/agents.d.ts +1 -1
- package/node_modules/@comis/core/dist/api-contracts/agents.js +1 -1
- package/node_modules/@comis/core/dist/api-contracts/audit-query.d.ts +9 -9
- package/node_modules/@comis/core/dist/api-contracts/audit-query.js +8 -8
- package/node_modules/@comis/core/dist/api-contracts/auth.d.ts +4 -4
- package/node_modules/@comis/core/dist/api-contracts/auth.js +5 -5
- package/node_modules/@comis/core/dist/api-contracts/capabilities.d.ts +10 -12
- package/node_modules/@comis/core/dist/api-contracts/capabilities.js +12 -14
- package/node_modules/@comis/core/dist/api-contracts/channels.d.ts +12 -9
- package/node_modules/@comis/core/dist/api-contracts/channels.js +19 -14
- package/node_modules/@comis/core/dist/api-contracts/config.d.ts +6 -5
- package/node_modules/@comis/core/dist/api-contracts/config.js +7 -6
- package/node_modules/@comis/core/dist/api-contracts/context.d.ts +14 -16
- package/node_modules/@comis/core/dist/api-contracts/context.js +14 -16
- package/node_modules/@comis/core/dist/api-contracts/daemon.d.ts +1 -3
- package/node_modules/@comis/core/dist/api-contracts/daemon.js +1 -3
- package/node_modules/@comis/core/dist/api-contracts/fleet-health-report.d.ts +55 -17
- package/node_modules/@comis/core/dist/api-contracts/fleet-health-report.js +87 -41
- package/node_modules/@comis/core/dist/api-contracts/incident-report-sections.d.ts +80 -11
- package/node_modules/@comis/core/dist/api-contracts/incident-report-sections.js +67 -15
- package/node_modules/@comis/core/dist/api-contracts/incident-report-signals.d.ts +423 -0
- package/node_modules/@comis/core/dist/api-contracts/incident-report-signals.js +1 -0
- package/node_modules/@comis/core/dist/api-contracts/incident-report.d.ts +128 -333
- package/node_modules/@comis/core/dist/api-contracts/incident-report.js +149 -91
- package/node_modules/@comis/core/dist/api-contracts/index.d.ts +4 -4
- package/node_modules/@comis/core/dist/api-contracts/index.js +1 -1
- package/node_modules/@comis/core/dist/api-contracts/internals.js +8 -7
- package/node_modules/@comis/core/dist/api-contracts/mcp.js +3 -3
- package/node_modules/@comis/core/dist/api-contracts/media.d.ts +12 -17
- package/node_modules/@comis/core/dist/api-contracts/media.js +16 -21
- package/node_modules/@comis/core/dist/api-contracts/memory-diagnostics.d.ts +11 -19
- package/node_modules/@comis/core/dist/api-contracts/memory-diagnostics.js +20 -28
- package/node_modules/@comis/core/dist/api-contracts/memory-pinning.d.ts +0 -5
- package/node_modules/@comis/core/dist/api-contracts/memory-pinning.js +1 -6
- package/node_modules/@comis/core/dist/api-contracts/memory-portability.js +3 -3
- package/node_modules/@comis/core/dist/api-contracts/memory.d.ts +12 -47
- package/node_modules/@comis/core/dist/api-contracts/memory.js +18 -72
- package/node_modules/@comis/core/dist/api-contracts/observability-billing.d.ts +2 -2
- package/node_modules/@comis/core/dist/api-contracts/observability-billing.js +2 -2
- package/node_modules/@comis/core/dist/api-contracts/observability.d.ts +89 -11
- package/node_modules/@comis/core/dist/api-contracts/observability.js +17 -17
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/autonomy-handlers.d.ts +12 -12
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/autonomy-handlers.js +12 -12
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/cron-handlers.d.ts +15 -3
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/cron-handlers.js +25 -13
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/graph-handlers.d.ts +2 -2
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/graph-handlers.js +2 -2
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/heartbeat-handlers.d.ts +4 -3
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/heartbeat-handlers.js +4 -3
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/index.d.ts +12 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/index.js +7 -3
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/replay-handlers.d.ts +61 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/replay-handlers.js +69 -0
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/subagent-handlers.d.ts +2 -2
- package/node_modules/@comis/core/dist/api-contracts/orchestrator/subagent-handlers.js +2 -2
- package/node_modules/@comis/core/dist/api-contracts/sessions.d.ts +5 -5
- package/node_modules/@comis/core/dist/api-contracts/sessions.js +24 -24
- package/node_modules/@comis/core/dist/api-contracts/workspace/approval-handlers.d.ts +4 -5
- package/node_modules/@comis/core/dist/api-contracts/workspace/approval-handlers.js +4 -5
- package/node_modules/@comis/core/dist/api-contracts/workspace/skill-handlers.js +8 -8
- package/node_modules/@comis/core/dist/approval/approval-gate.js +12 -11
- package/node_modules/@comis/core/dist/approval/approval-short-id.js +1 -1
- package/node_modules/@comis/core/dist/bootstrap.js +7 -7
- package/node_modules/@comis/core/dist/config/capability-activation.d.ts +17 -29
- package/node_modules/@comis/core/dist/config/capability-activation.js +17 -29
- package/node_modules/@comis/core/dist/config/field-metadata.js +2 -2
- package/node_modules/@comis/core/dist/config/immutable-keys.js +7 -7
- package/node_modules/@comis/core/dist/config/index.d.ts +2 -2
- package/node_modules/@comis/core/dist/config/index.js +16 -22
- package/node_modules/@comis/core/dist/config/schema-agent/index.d.ts +1 -0
- package/node_modules/@comis/core/dist/config/schema-agent/index.js +8 -4
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-bounds.d.ts +29 -30
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-bounds.js +32 -33
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-degrade.d.ts +15 -15
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-degrade.js +11 -12
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-durability.d.ts +10 -9
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-durability.js +27 -15
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-escalate.d.ts +9 -9
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-escalate.js +7 -7
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-mcp.d.ts +67 -0
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-mcp.js +93 -0
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-mode.d.ts +19 -18
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-mode.js +19 -18
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-role.d.ts +10 -10
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy-role.js +10 -10
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy.d.ts +60 -48
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-autonomy.js +95 -88
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-context.d.ts +1 -1
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-context.js +34 -37
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-model.js +6 -5
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-prompt.d.ts +5 -5
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-prompt.js +19 -20
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-runtime.d.ts +31 -1
- package/node_modules/@comis/core/dist/config/schema-agent/schema-agent-runtime.js +32 -37
- package/node_modules/@comis/core/dist/config/schema-broker.js +2 -2
- package/node_modules/@comis/core/dist/config/schema-channel.d.ts +94 -0
- package/node_modules/@comis/core/dist/config/schema-channel.js +49 -0
- package/node_modules/@comis/core/dist/config/schema-daemon.d.ts +2 -2
- package/node_modules/@comis/core/dist/config/schema-delivery.js +1 -1
- package/node_modules/@comis/core/dist/config/schema-diagnostics.d.ts +2 -3
- package/node_modules/@comis/core/dist/config/schema-diagnostics.js +9 -6
- package/node_modules/@comis/core/dist/config/schema-dialectic.d.ts +6 -9
- package/node_modules/@comis/core/dist/config/schema-dialectic.js +6 -9
- package/node_modules/@comis/core/dist/config/schema-embedding.js +1 -1
- package/node_modules/@comis/core/dist/config/schema-integrations.d.ts +5 -7
- package/node_modules/@comis/core/dist/config/schema-integrations.js +53 -59
- package/node_modules/@comis/core/dist/config/schema-learning-outcome.d.ts +15 -16
- package/node_modules/@comis/core/dist/config/schema-learning-outcome.js +21 -22
- package/node_modules/@comis/core/dist/config/schema-learning.d.ts +13 -31
- package/node_modules/@comis/core/dist/config/schema-learning.js +35 -40
- package/node_modules/@comis/core/dist/config/schema-memory-lifecycle.d.ts +15 -17
- package/node_modules/@comis/core/dist/config/schema-memory-lifecycle.js +15 -17
- package/node_modules/@comis/core/dist/config/schema-memory-review.d.ts +1 -1
- package/node_modules/@comis/core/dist/config/schema-memory-review.js +4 -4
- package/node_modules/@comis/core/dist/config/schema-memory.d.ts +2 -2
- package/node_modules/@comis/core/dist/config/schema-memory.js +5 -6
- package/node_modules/@comis/core/dist/config/schema-observability.d.ts +15 -15
- package/node_modules/@comis/core/dist/config/schema-observability.js +31 -31
- package/node_modules/@comis/core/dist/config/schema-orchestration.d.ts +6 -6
- package/node_modules/@comis/core/dist/config/schema-orchestration.js +9 -9
- package/node_modules/@comis/core/dist/config/schema-providers.d.ts +1 -1
- package/node_modules/@comis/core/dist/config/schema-providers.js +2 -2
- package/node_modules/@comis/core/dist/config/schema-scheduler.d.ts +10 -0
- package/node_modules/@comis/core/dist/config/schema-scheduler.js +27 -0
- package/node_modules/@comis/core/dist/config/schema-security.d.ts +0 -3
- package/node_modules/@comis/core/dist/config/schema-security.js +15 -15
- package/node_modules/@comis/core/dist/config/schema-serializer.js +3 -4
- package/node_modules/@comis/core/dist/config/schema-skills.d.ts +2 -2
- package/node_modules/@comis/core/dist/config/schema-skills.js +65 -65
- package/node_modules/@comis/core/dist/config/schema-streaming.d.ts +1 -1
- package/node_modules/@comis/core/dist/config/schema-streaming.js +1 -1
- package/node_modules/@comis/core/dist/config/schema-verbosity.d.ts +0 -1
- package/node_modules/@comis/core/dist/config/schema-verbosity.js +0 -1
- package/node_modules/@comis/core/dist/config/schema.d.ts +58 -1
- package/node_modules/@comis/core/dist/config/schema.js +3 -2
- package/node_modules/@comis/core/dist/config/section-registry.d.ts +4 -4
- package/node_modules/@comis/core/dist/config/section-registry.js +7 -7
- package/node_modules/@comis/core/dist/context/context.d.ts +2 -2
- package/node_modules/@comis/core/dist/context/context.js +4 -4
- package/node_modules/@comis/core/dist/context-store/parts-codec.d.ts +9 -8
- package/node_modules/@comis/core/dist/context-store/parts-codec.js +17 -17
- package/node_modules/@comis/core/dist/delivery/chunk-for-delivery.d.ts +3 -2
- package/node_modules/@comis/core/dist/delivery/chunk-for-delivery.js +4 -3
- package/node_modules/@comis/core/dist/delivery/delivery-service.d.ts +25 -32
- package/node_modules/@comis/core/dist/delivery/delivery-service.js +25 -27
- package/node_modules/@comis/core/dist/delivery/format-for-channel.d.ts +1 -1
- package/node_modules/@comis/core/dist/delivery/format-for-channel.js +1 -1
- package/node_modules/@comis/core/dist/delivery/markdown-ir.js +6 -5
- package/node_modules/@comis/core/dist/delivery/types.d.ts +3 -3
- package/node_modules/@comis/core/dist/delivery/types.js +3 -3
- package/node_modules/@comis/core/dist/domain/approval-request.js +2 -2
- package/node_modules/@comis/core/dist/domain/channel-capability.d.ts +1 -0
- package/node_modules/@comis/core/dist/domain/channel-capability.js +5 -4
- package/node_modules/@comis/core/dist/domain/chat-type.d.ts +3 -4
- package/node_modules/@comis/core/dist/domain/chat-type.js +3 -4
- package/node_modules/@comis/core/dist/domain/durable-run.d.ts +9 -5
- package/node_modules/@comis/core/dist/domain/durable-run.js +30 -14
- package/node_modules/@comis/core/dist/domain/execution-graph.js +6 -7
- package/node_modules/@comis/core/dist/domain/index.d.ts +2 -0
- package/node_modules/@comis/core/dist/domain/index.js +5 -0
- package/node_modules/@comis/core/dist/domain/memory-entry.d.ts +8 -8
- package/node_modules/@comis/core/dist/domain/memory-entry.js +28 -28
- package/node_modules/@comis/core/dist/domain/memory-export-envelope.d.ts +1 -1
- package/node_modules/@comis/core/dist/domain/memory-export-envelope.js +1 -1
- package/node_modules/@comis/core/dist/domain/msteams-conversation-reference.d.ts +68 -0
- package/node_modules/@comis/core/dist/domain/msteams-conversation-reference.js +58 -0
- package/node_modules/@comis/core/dist/domain/normalized-message.d.ts +2 -2
- package/node_modules/@comis/core/dist/domain/normalized-message.js +2 -2
- package/node_modules/@comis/core/dist/domain/normalized-reaction.d.ts +4 -5
- package/node_modules/@comis/core/dist/domain/normalized-reaction.js +4 -5
- package/node_modules/@comis/core/dist/domain/provider-capabilities.d.ts +1 -2
- package/node_modules/@comis/core/dist/domain/provider-capabilities.js +1 -2
- package/node_modules/@comis/core/dist/domain/rpc-error-classification.d.ts +49 -0
- package/node_modules/@comis/core/dist/domain/rpc-error-classification.js +62 -0
- package/node_modules/@comis/core/dist/domain/session-key.js +1 -1
- package/node_modules/@comis/core/dist/domain/sub-agent-tool-denylist.js +1 -0
- package/node_modules/@comis/core/dist/domain/subagent-context-config.js +1 -1
- package/node_modules/@comis/core/dist/domain/subagent-context-types.d.ts +4 -4
- package/node_modules/@comis/core/dist/event-bus/events-agent.d.ts +61 -54
- package/node_modules/@comis/core/dist/event-bus/events-channel.d.ts +69 -8
- package/node_modules/@comis/core/dist/event-bus/events-infra.d.ts +29 -6
- package/node_modules/@comis/core/dist/event-bus/events-learning.d.ts +41 -40
- package/node_modules/@comis/core/dist/event-bus/events-learning.js +4 -4
- package/node_modules/@comis/core/dist/event-bus/events-media.d.ts +44 -44
- package/node_modules/@comis/core/dist/event-bus/events-messaging.d.ts +66 -52
- package/node_modules/@comis/core/dist/event-bus/events-model.d.ts +4 -7
- package/node_modules/@comis/core/dist/event-bus/events-orchestration.d.ts +146 -56
- package/node_modules/@comis/core/dist/event-bus/events-terminal.d.ts +48 -48
- package/node_modules/@comis/core/dist/event-bus/events-trajectory.d.ts +6 -9
- package/node_modules/@comis/core/dist/event-bus/events-trajectory.js +2 -5
- package/node_modules/@comis/core/dist/event-bus/events.d.ts +6 -6
- package/node_modules/@comis/core/dist/exports/activity.js +1 -1
- package/node_modules/@comis/core/dist/exports/config.d.ts +1 -1
- package/node_modules/@comis/core/dist/exports/config.js +12 -9
- package/node_modules/@comis/core/dist/exports/delivery.js +2 -1
- package/node_modules/@comis/core/dist/exports/domain.d.ts +1 -1
- package/node_modules/@comis/core/dist/exports/domain.js +2 -0
- package/node_modules/@comis/core/dist/exports/media.js +40 -55
- package/node_modules/@comis/core/dist/exports/model.js +2 -2
- package/node_modules/@comis/core/dist/exports/oauth.d.ts +1 -2
- package/node_modules/@comis/core/dist/exports/oauth.js +1 -2
- package/node_modules/@comis/core/dist/exports/ports.js +11 -12
- package/node_modules/@comis/core/dist/exports/runtime.js +3 -3
- package/node_modules/@comis/core/dist/exports/security.js +16 -16
- package/node_modules/@comis/core/dist/exports/text.js +3 -4
- package/node_modules/@comis/core/dist/hooks/hook-runner.d.ts +4 -4
- package/node_modules/@comis/core/dist/hooks/plugin-registry.d.ts +4 -4
- package/node_modules/@comis/core/dist/index.d.ts +2 -0
- package/node_modules/@comis/core/dist/index.js +5 -3
- package/node_modules/@comis/core/dist/logging/dedup-logger.d.ts +7 -8
- package/node_modules/@comis/core/dist/logging/fingerprint.js +4 -4
- package/node_modules/@comis/core/dist/logging/log-fields.d.ts +3 -3
- package/node_modules/@comis/core/dist/logging/log-fields.js +1 -1
- package/node_modules/@comis/core/dist/media/image-capability.d.ts +12 -13
- package/node_modules/@comis/core/dist/media/image-capability.js +13 -14
- package/node_modules/@comis/core/dist/media/image-error.d.ts +1 -1
- package/node_modules/@comis/core/dist/media/image-error.js +1 -1
- package/node_modules/@comis/core/dist/media/image-models.d.ts +5 -5
- package/node_modules/@comis/core/dist/media/image-models.js +5 -5
- package/node_modules/@comis/core/dist/media/index.js +8 -9
- package/node_modules/@comis/core/dist/media/resolve-image-provider.d.ts +6 -6
- package/node_modules/@comis/core/dist/media/resolve-image-provider.js +6 -6
- package/node_modules/@comis/core/dist/media/resolve-transcription-provider.d.ts +9 -9
- package/node_modules/@comis/core/dist/media/resolve-transcription-provider.js +11 -11
- package/node_modules/@comis/core/dist/media/resolve-tts-provider.d.ts +8 -8
- package/node_modules/@comis/core/dist/media/resolve-tts-provider.js +6 -6
- package/node_modules/@comis/core/dist/media/resolve-video-provider.d.ts +9 -9
- package/node_modules/@comis/core/dist/media/resolve-video-provider.js +13 -13
- package/node_modules/@comis/core/dist/media/resolve-vision-path.d.ts +10 -11
- package/node_modules/@comis/core/dist/media/resolve-vision-path.js +11 -12
- package/node_modules/@comis/core/dist/media/video-capability.d.ts +6 -9
- package/node_modules/@comis/core/dist/media/video-capability.js +7 -10
- package/node_modules/@comis/core/dist/media/video-error.d.ts +7 -7
- package/node_modules/@comis/core/dist/media/video-error.js +8 -8
- package/node_modules/@comis/core/dist/media/video-models.d.ts +18 -18
- package/node_modules/@comis/core/dist/media/video-models.js +19 -19
- package/node_modules/@comis/core/dist/media/video-pricing.d.ts +5 -6
- package/node_modules/@comis/core/dist/media/video-pricing.js +8 -9
- package/node_modules/@comis/core/dist/media/voice-capability.d.ts +7 -7
- package/node_modules/@comis/core/dist/media/voice-capability.js +8 -8
- package/node_modules/@comis/core/dist/media/voice-error.d.ts +3 -3
- package/node_modules/@comis/core/dist/media/voice-error.js +3 -3
- package/node_modules/@comis/core/dist/model/model-catalog.d.ts +6 -6
- package/node_modules/@comis/core/dist/model/model-catalog.js +9 -9
- package/node_modules/@comis/core/dist/model/model-family.d.ts +9 -8
- package/node_modules/@comis/core/dist/model/model-family.js +10 -9
- package/node_modules/@comis/core/dist/oauth/index.d.ts +1 -1
- package/node_modules/@comis/core/dist/oauth/index.js +2 -2
- package/node_modules/@comis/core/dist/oauth/oauth-credential-store-file.d.ts +2 -1
- package/node_modules/@comis/core/dist/oauth/oauth-credential-store-file.js +2 -1
- package/node_modules/@comis/core/dist/oauth/oauth-credential-store-selector.d.ts +3 -3
- package/node_modules/@comis/core/dist/oauth/oauth-credential-store-selector.js +1 -1
- package/node_modules/@comis/core/dist/oauth/oauth-device-code.d.ts +5 -5
- package/node_modules/@comis/core/dist/oauth/oauth-device-code.js +7 -8
- package/node_modules/@comis/core/dist/oauth/oauth-login-runner.d.ts +1 -1
- package/node_modules/@comis/core/dist/oauth/oauth-login-runner.js +10 -8
- package/node_modules/@comis/core/dist/oauth/oauth-tls-preflight.d.ts +5 -7
- package/node_modules/@comis/core/dist/oauth/oauth-tls-preflight.js +4 -6
- package/node_modules/@comis/core/dist/ports/channel.d.ts +18 -11
- package/node_modules/@comis/core/dist/ports/context-store-types.d.ts +53 -56
- package/node_modules/@comis/core/dist/ports/context-store-types.js +8 -10
- package/node_modules/@comis/core/dist/ports/context-store.d.ts +51 -57
- package/node_modules/@comis/core/dist/ports/context-store.js +0 -6
- package/node_modules/@comis/core/dist/ports/delivery-mirror.d.ts +1 -3
- package/node_modules/@comis/core/dist/ports/delivery-mirror.js +1 -3
- package/node_modules/@comis/core/dist/ports/delivery-queue.d.ts +2 -4
- package/node_modules/@comis/core/dist/ports/delivery-queue.js +1 -3
- package/node_modules/@comis/core/dist/ports/durable-run.d.ts +13 -13
- package/node_modules/@comis/core/dist/ports/durable-run.js +3 -3
- package/node_modules/@comis/core/dist/ports/egress-control.d.ts +4 -4
- package/node_modules/@comis/core/dist/ports/egress-control.js +4 -4
- package/node_modules/@comis/core/dist/ports/execution-plan-port.d.ts +6 -6
- package/node_modules/@comis/core/dist/ports/execution-plan-port.js +5 -5
- package/node_modules/@comis/core/dist/ports/file-lock.d.ts +10 -11
- package/node_modules/@comis/core/dist/ports/hook-types.d.ts +3 -3
- package/node_modules/@comis/core/dist/ports/index.js +3 -4
- package/node_modules/@comis/core/dist/ports/learned-skill-store.d.ts +51 -25
- package/node_modules/@comis/core/dist/ports/memory-causal-store.d.ts +8 -7
- package/node_modules/@comis/core/dist/ports/memory-consolidation.d.ts +14 -17
- package/node_modules/@comis/core/dist/ports/memory-embedding-store.d.ts +5 -5
- package/node_modules/@comis/core/dist/ports/memory-entity-store.d.ts +6 -6
- package/node_modules/@comis/core/dist/ports/memory-lifecycle.d.ts +18 -18
- package/node_modules/@comis/core/dist/ports/memory-pinned-store.d.ts +3 -3
- package/node_modules/@comis/core/dist/ports/memory-temporal-store.d.ts +3 -3
- package/node_modules/@comis/core/dist/ports/memory-usefulness-store.d.ts +15 -14
- package/node_modules/@comis/core/dist/ports/memory.d.ts +10 -11
- package/node_modules/@comis/core/dist/ports/msteams-conversation-store.d.ts +41 -0
- package/node_modules/@comis/core/dist/ports/msteams-conversation-store.js +21 -0
- package/node_modules/@comis/core/dist/ports/outcome-signal-port.d.ts +36 -21
- package/node_modules/@comis/core/dist/ports/output-guard.d.ts +1 -1
- package/node_modules/@comis/core/dist/ports/outward-send-ledger.d.ts +21 -21
- package/node_modules/@comis/core/dist/ports/outward-send-ledger.js +6 -6
- package/node_modules/@comis/core/dist/ports/plugin.d.ts +3 -3
- package/node_modules/@comis/core/dist/ports/provider.d.ts +44 -44
- package/node_modules/@comis/core/dist/ports/reflection-port.d.ts +6 -6
- package/node_modules/@comis/core/dist/ports/reflection-port.js +4 -4
- package/node_modules/@comis/core/dist/ports/session-store-types.d.ts +2 -2
- package/node_modules/@comis/core/dist/ports/session-store-types.js +2 -2
- package/node_modules/@comis/core/dist/ports/session-store.d.ts +3 -3
- package/node_modules/@comis/core/dist/ports/session-store.js +2 -2
- package/node_modules/@comis/core/dist/ports/tool-capability.d.ts +1 -1
- package/node_modules/@comis/core/dist/ports/triple-store.d.ts +5 -5
- package/node_modules/@comis/core/dist/provider/keyless-providers.d.ts +3 -3
- package/node_modules/@comis/core/dist/provider/keyless-providers.js +3 -3
- package/node_modules/@comis/core/dist/reflection/delta-ops.d.ts +4 -4
- package/node_modules/@comis/core/dist/reflection/delta-ops.js +4 -4
- package/node_modules/@comis/core/dist/runtime/file-lock.d.ts +3 -3
- package/node_modules/@comis/core/dist/runtime/file-lock.js +3 -3
- package/node_modules/@comis/core/dist/runtime/is-remote-env.d.ts +4 -2
- package/node_modules/@comis/core/dist/runtime/is-remote-env.js +4 -2
- package/node_modules/@comis/core/dist/runtime/poll-deadline.d.ts +1 -1
- package/node_modules/@comis/core/dist/runtime/poll-deadline.js +5 -4
- package/node_modules/@comis/core/dist/security/audit.d.ts +12 -12
- package/node_modules/@comis/core/dist/security/audit.js +14 -14
- package/node_modules/@comis/core/dist/security/bind-mount-validator.js +2 -2
- package/node_modules/@comis/core/dist/security/callback-signing.d.ts +1 -1
- package/node_modules/@comis/core/dist/security/callback-signing.js +2 -2
- package/node_modules/@comis/core/dist/security/capability.d.ts +10 -10
- package/node_modules/@comis/core/dist/security/capability.js +12 -9
- package/node_modules/@comis/core/dist/security/cli-subcommand-map.d.ts +12 -12
- package/node_modules/@comis/core/dist/security/cli-subcommand-map.js +15 -15
- package/node_modules/@comis/core/dist/security/external-content.d.ts +1 -1
- package/node_modules/@comis/core/dist/security/external-content.js +5 -3
- package/node_modules/@comis/core/dist/security/handler-capability-map.d.ts +8 -8
- package/node_modules/@comis/core/dist/security/handler-capability-map.js +7 -7
- package/node_modules/@comis/core/dist/security/index.js +12 -12
- package/node_modules/@comis/core/dist/security/injection-patterns.d.ts +2 -2
- package/node_modules/@comis/core/dist/security/injection-patterns.js +2 -2
- package/node_modules/@comis/core/dist/security/input-security-guard.js +1 -1
- package/node_modules/@comis/core/dist/security/log-sanitizer.d.ts +5 -6
- package/node_modules/@comis/core/dist/security/log-sanitizer.js +13 -14
- package/node_modules/@comis/core/dist/security/master-key.js +1 -1
- package/node_modules/@comis/core/dist/security/oauth-helpers.d.ts +8 -10
- package/node_modules/@comis/core/dist/security/oauth-helpers.js +11 -12
- package/node_modules/@comis/core/dist/security/output-guard.js +1 -1
- package/node_modules/@comis/core/dist/security/patterns/content-scanner.d.ts +2 -1
- package/node_modules/@comis/core/dist/security/patterns/content-scanner.js +2 -1
- package/node_modules/@comis/core/dist/security/patterns/credential-log.d.ts +3 -3
- package/node_modules/@comis/core/dist/security/patterns/credential-log.js +3 -3
- package/node_modules/@comis/core/dist/security/patterns/dangerous-commands.d.ts +1 -1
- package/node_modules/@comis/core/dist/security/patterns/dangerous-commands.js +1 -1
- package/node_modules/@comis/core/dist/security/patterns/jailbreak.d.ts +7 -7
- package/node_modules/@comis/core/dist/security/patterns/jailbreak.js +7 -7
- package/node_modules/@comis/core/dist/security/patterns/prompt-extraction.d.ts +1 -1
- package/node_modules/@comis/core/dist/security/patterns/prompt-extraction.js +1 -1
- package/node_modules/@comis/core/dist/security/patterns/role-markers.d.ts +4 -4
- package/node_modules/@comis/core/dist/security/patterns/role-markers.js +4 -4
- package/node_modules/@comis/core/dist/security/patterns/secret-formats.d.ts +1 -1
- package/node_modules/@comis/core/dist/security/patterns/secret-formats.js +1 -1
- package/node_modules/@comis/core/dist/security/provider-catalog/types.d.ts +1 -1
- package/node_modules/@comis/core/dist/security/redact-value.d.ts +8 -7
- package/node_modules/@comis/core/dist/security/redact-value.js +23 -21
- package/node_modules/@comis/core/dist/security/result-ref.d.ts +24 -22
- package/node_modules/@comis/core/dist/security/result-ref.js +23 -20
- package/node_modules/@comis/core/dist/security/secret-access.d.ts +4 -4
- package/node_modules/@comis/core/dist/security/secret-access.js +4 -4
- package/node_modules/@comis/core/dist/security/secret-detection.d.ts +15 -17
- package/node_modules/@comis/core/dist/security/secret-detection.js +21 -24
- package/node_modules/@comis/core/dist/security/secret-manager.d.ts +1 -1
- package/node_modules/@comis/core/dist/security/secrets-audit.js +3 -2
- package/node_modules/@comis/core/dist/security/ssrf-guard.d.ts +4 -4
- package/node_modules/@comis/core/dist/security/ssrf-guard.js +10 -10
- package/node_modules/@comis/core/dist/security/token-generator.d.ts +3 -3
- package/node_modules/@comis/core/dist/security/token-generator.js +3 -3
- package/node_modules/@comis/core/dist/security/tool-capability-map.d.ts +30 -11
- package/node_modules/@comis/core/dist/security/tool-capability-map.js +55 -14
- package/node_modules/@comis/core/dist/security/validate-learned-doc-body.d.ts +15 -19
- package/node_modules/@comis/core/dist/security/validate-learned-doc-body.js +15 -19
- package/node_modules/@comis/core/dist/text/generation-quality.d.ts +11 -10
- package/node_modules/@comis/core/dist/text/generation-quality.js +10 -9
- package/node_modules/@comis/core/dist/text/multilingual-heuristic.d.ts +10 -10
- package/node_modules/@comis/core/dist/text/multilingual-heuristic.js +10 -10
- package/node_modules/@comis/core/dist/text/normalize-search.d.ts +8 -8
- package/node_modules/@comis/core/dist/text/normalize-search.js +14 -15
- package/node_modules/@comis/core/dist/text/script-classes.d.ts +12 -12
- package/node_modules/@comis/core/dist/text/script-classes.js +35 -35
- package/node_modules/@comis/core/dist/text/slice-boundary.d.ts +8 -8
- package/node_modules/@comis/core/dist/text/slice-boundary.js +9 -9
- package/node_modules/@comis/core/dist/text/token-factor.d.ts +3 -3
- package/node_modules/@comis/core/dist/text/token-factor.js +9 -9
- package/node_modules/@comis/core/dist/text/trigram-query.d.ts +12 -12
- package/node_modules/@comis/core/dist/text/trigram-query.js +23 -20
- package/node_modules/@comis/core/dist/tool-metadata.d.ts +11 -11
- package/node_modules/@comis/core/dist/workspace/templates.d.ts +3 -3
- package/node_modules/@comis/core/dist/workspace/templates.js +3 -3
- package/node_modules/@comis/core/dist/workspace/workspace-manager.d.ts +4 -5
- package/node_modules/@comis/core/dist/workspace/workspace-manager.js +12 -14
- package/node_modules/@comis/core/dist/workspace/workspace-resolver.d.ts +5 -5
- package/node_modules/@comis/core/dist/workspace/workspace-resolver.js +5 -5
- package/node_modules/@comis/core/package.json +1 -1
- package/node_modules/@comis/daemon/bundled-skills/claude-code/SKILL.md +1 -1
- package/node_modules/@comis/daemon/bundled-skills/gsd-builder/SKILL.md +2 -1
- package/node_modules/@comis/daemon/dist/api/agent-inline-workspace.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/api/agent-inline-workspace.js +2 -2
- package/node_modules/@comis/daemon/dist/api/auth-handlers.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/api/auth-handlers.js +6 -6
- package/node_modules/@comis/daemon/dist/api/autonomy-handlers.d.ts +24 -26
- package/node_modules/@comis/daemon/dist/api/autonomy-handlers.js +27 -27
- package/node_modules/@comis/daemon/dist/api/capabilities-handlers.d.ts +13 -13
- package/node_modules/@comis/daemon/dist/api/capabilities-handlers.js +13 -13
- package/node_modules/@comis/daemon/dist/api/channel-handlers.js +1 -0
- package/node_modules/@comis/daemon/dist/api/classify-grok-video-error.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/api/classify-grok-video-error.js +1 -1
- package/node_modules/@comis/daemon/dist/api/classify-veo-video-error.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/api/codex-image-adapter.d.ts +13 -12
- package/node_modules/@comis/daemon/dist/api/codex-image-adapter.js +16 -57
- package/node_modules/@comis/daemon/dist/api/codex-images-transport.d.ts +24 -24
- package/node_modules/@comis/daemon/dist/api/codex-images-transport.js +18 -18
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-export.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-export.js +3 -3
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-helpers.d.ts +2 -3
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-helpers.js +2 -3
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-write.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/api/config-handlers/config-write.js +13 -13
- package/node_modules/@comis/daemon/dist/api/context-handlers.d.ts +9 -9
- package/node_modules/@comis/daemon/dist/api/context-handlers.js +11 -11
- package/node_modules/@comis/daemon/dist/api/cron-handlers.js +83 -17
- package/node_modules/@comis/daemon/dist/api/env-handlers.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/api/env-handlers.js +1 -1
- package/node_modules/@comis/daemon/dist/api/errors.d.ts +7 -7
- package/node_modules/@comis/daemon/dist/api/errors.js +7 -7
- package/node_modules/@comis/daemon/dist/api/google-images-transport.d.ts +8 -7
- package/node_modules/@comis/daemon/dist/api/google-images-transport.js +17 -16
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-export.js +1 -1
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-helpers.d.ts +18 -18
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-helpers.js +20 -20
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-mutate-telemetry.d.ts +5 -5
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-mutate-telemetry.js +21 -22
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-mutate.js +29 -25
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-repair.d.ts +11 -10
- package/node_modules/@comis/daemon/dist/api/graph-handlers/graph-repair.js +9 -9
- package/node_modules/@comis/daemon/dist/api/grok-adapter.d.ts +23 -23
- package/node_modules/@comis/daemon/dist/api/grok-adapter.js +45 -45
- package/node_modules/@comis/daemon/dist/api/image-cost-limiter.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/api/image-cost-limiter.js +2 -2
- package/node_modules/@comis/daemon/dist/api/image-handlers.js +68 -68
- package/node_modules/@comis/daemon/dist/api/main-provider-vision.d.ts +14 -13
- package/node_modules/@comis/daemon/dist/api/main-provider-vision.js +16 -15
- package/node_modules/@comis/daemon/dist/api/mcp-handlers.js +12 -12
- package/node_modules/@comis/daemon/dist/api/mcp-header-credential.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/api/mcp-header-credential.js +2 -2
- package/node_modules/@comis/daemon/dist/api/mcp-oauth-handlers.d.ts +4 -4
- package/node_modules/@comis/daemon/dist/api/mcp-oauth-handlers.js +10 -10
- package/node_modules/@comis/daemon/dist/api/mcp-server-handlers.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/api/mcp-server-handlers.js +3 -3
- package/node_modules/@comis/daemon/dist/api/mcp-server-resources.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/api/mcp-server-resources.js +4 -4
- package/node_modules/@comis/daemon/dist/api/media-handlers.js +27 -27
- package/node_modules/@comis/daemon/dist/api/media-reference-resolver.d.ts +10 -12
- package/node_modules/@comis/daemon/dist/api/media-reference-resolver.js +17 -19
- package/node_modules/@comis/daemon/dist/api/memory-ask-handlers.d.ts +2 -4
- package/node_modules/@comis/daemon/dist/api/memory-ask-handlers.js +23 -25
- package/node_modules/@comis/daemon/dist/api/memory-pinning-handlers.js +3 -3
- package/node_modules/@comis/daemon/dist/api/memory-portability-handlers.js +8 -8
- package/node_modules/@comis/daemon/dist/api/message-handlers.js +14 -14
- package/node_modules/@comis/daemon/dist/api/model-handlers.js +1 -1
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-autonomy.d.ts +9 -9
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-autonomy.js +15 -15
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-cron-wake-gate.d.ts +47 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-cron-wake-gate.js +128 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-findings-extractors.d.ts +46 -28
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-findings-extractors.js +79 -33
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-findings.d.ts +15 -18
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-findings.js +173 -57
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-health.d.ts +23 -21
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-health.js +102 -77
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-session-index.d.ts +13 -13
- package/node_modules/@comis/daemon/dist/api/obs-handlers/fleet-session-index.js +16 -16
- package/node_modules/@comis/daemon/dist/api/obs-handlers/index.js +9 -9
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-audit.d.ts +9 -9
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-audit.js +12 -12
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-cache-breaks.d.ts +6 -6
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-cache-breaks.js +7 -7
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-diagnostics.js +4 -4
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-assemble.d.ts +15 -15
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-assemble.js +100 -57
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-bound-caps.d.ts +19 -6
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-bound-caps.js +19 -6
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-bound-helpers.d.ts +6 -6
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-bound-helpers.js +6 -6
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-bound.d.ts +6 -6
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-bound.js +65 -25
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-heuristics.d.ts +16 -16
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-heuristics.js +75 -57
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-learning-verdicts.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-learning-verdicts.js +2 -6
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-orchestrate-verdict.d.ts +45 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-orchestrate-verdict.js +81 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-readers.d.ts +31 -6
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-readers.js +45 -11
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-recall-verdict.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-recall-verdict.js +2 -2
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-resolve.d.ts +12 -12
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-resolve.js +15 -15
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-signal-folds.d.ts +99 -50
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-signal-folds.js +138 -59
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-signals-acc.d.ts +76 -21
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-signals-fields.d.ts +27 -27
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-signals-fields.js +22 -22
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-signals.d.ts +8 -8
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-signals.js +203 -61
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-spend-verdict.d.ts +14 -15
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-spend-verdict.js +18 -19
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-terminal-drive-evicted-verdict.d.ts +57 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-terminal-drive-evicted-verdict.js +85 -0
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-terminal-drive-verdict.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-terminal-drive-verdict.js +2 -2
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-voice-fold.d.ts +9 -9
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain-voice-fold.js +10 -10
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain.d.ts +15 -17
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-explain.js +32 -34
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-metrics.js +4 -4
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-spend.d.ts +7 -7
- package/node_modules/@comis/daemon/dist/api/obs-handlers/obs-spend.js +8 -8
- package/node_modules/@comis/daemon/dist/api/openai-images-transport.d.ts +6 -6
- package/node_modules/@comis/daemon/dist/api/openai-images-transport.js +17 -18
- package/node_modules/@comis/daemon/dist/api/orchestrate-replay-handlers.d.ts +8 -0
- package/node_modules/@comis/daemon/dist/api/orchestrate-replay-handlers.js +59 -0
- package/node_modules/@comis/daemon/dist/api/outward-ledger-wrap.d.ts +10 -10
- package/node_modules/@comis/daemon/dist/api/outward-ledger-wrap.js +15 -15
- package/node_modules/@comis/daemon/dist/api/pi-image-adapter.d.ts +21 -23
- package/node_modules/@comis/daemon/dist/api/pi-image-adapter.js +50 -79
- package/node_modules/@comis/daemon/dist/api/provider-handlers.js +1 -1
- package/node_modules/@comis/daemon/dist/api/rpc-dispatch.d.ts +14 -16
- package/node_modules/@comis/daemon/dist/api/rpc-dispatch.js +127 -103
- package/node_modules/@comis/daemon/dist/api/secrets-handlers.js +4 -4
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-archive.d.ts +4 -4
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-archive.js +24 -25
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-helpers.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-helpers.js +4 -4
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-list.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-list.js +8 -8
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-mutate.js +9 -10
- package/node_modules/@comis/daemon/dist/api/session-handlers/session-read.js +2 -2
- package/node_modules/@comis/daemon/dist/api/shared/assert-not-agent-origin.js +6 -6
- package/node_modules/@comis/daemon/dist/api/shared/builtin-provider-guard.js +1 -23
- package/node_modules/@comis/daemon/dist/api/shared/credential-resolver.js +1 -35
- package/node_modules/@comis/daemon/dist/api/shared/emit-capability-audit.d.ts +24 -5
- package/node_modules/@comis/daemon/dist/api/shared/emit-capability-audit.js +62 -13
- package/node_modules/@comis/daemon/dist/api/shared/persist-to-config.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/api/shared/persist-to-config.js +1 -1
- package/node_modules/@comis/daemon/dist/api/skill-handlers.js +5 -5
- package/node_modules/@comis/daemon/dist/api/ssrf-image-fetch.js +1 -1
- package/node_modules/@comis/daemon/dist/api/subagent-handlers.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/api/subagent-handlers.js +9 -9
- package/node_modules/@comis/daemon/dist/api/types.d.ts +58 -59
- package/node_modules/@comis/daemon/dist/api/types.js +7 -9
- package/node_modules/@comis/daemon/dist/api/veo-adapter.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/api/veo-adapter.js +46 -46
- package/node_modules/@comis/daemon/dist/api/video-cost-limiter.d.ts +4 -4
- package/node_modules/@comis/daemon/dist/api/video-cost-limiter.js +5 -5
- package/node_modules/@comis/daemon/dist/api/video-handler-deps.d.ts +35 -35
- package/node_modules/@comis/daemon/dist/api/video-handlers.d.ts +19 -19
- package/node_modules/@comis/daemon/dist/api/video-handlers.js +84 -86
- package/node_modules/@comis/daemon/dist/api/video-obs-emit.d.ts +9 -8
- package/node_modules/@comis/daemon/dist/api/video-obs-emit.js +7 -7
- package/node_modules/@comis/daemon/dist/api/video-status-handlers.d.ts +9 -9
- package/node_modules/@comis/daemon/dist/api/video-status-handlers.js +15 -15
- package/node_modules/@comis/daemon/dist/api/vision-obs-emit.d.ts +9 -10
- package/node_modules/@comis/daemon/dist/api/vision-obs-emit.js +6 -7
- package/node_modules/@comis/daemon/dist/api/voice-handler-wiring.d.ts +9 -9
- package/node_modules/@comis/daemon/dist/api/voice-handler-wiring.js +12 -12
- package/node_modules/@comis/daemon/dist/api/voice-obs-emit.d.ts +25 -25
- package/node_modules/@comis/daemon/dist/api/voice-obs-emit.js +43 -44
- package/node_modules/@comis/daemon/dist/autonomy/bounded-autonomy.d.ts +34 -31
- package/node_modules/@comis/daemon/dist/autonomy/bounded-autonomy.js +15 -14
- package/node_modules/@comis/daemon/dist/autonomy/call-rate-limiter.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/autonomy/call-rate-limiter.js +2 -2
- package/node_modules/@comis/daemon/dist/autonomy/denial-breaker.d.ts +10 -9
- package/node_modules/@comis/daemon/dist/autonomy/denial-breaker.js +7 -7
- package/node_modules/@comis/daemon/dist/autonomy/durable-resume-engine.d.ts +61 -26
- package/node_modules/@comis/daemon/dist/autonomy/durable-resume-engine.js +78 -41
- package/node_modules/@comis/daemon/dist/autonomy/durable-watchdog.d.ts +8 -8
- package/node_modules/@comis/daemon/dist/autonomy/durable-watchdog.js +8 -8
- package/node_modules/@comis/daemon/dist/autonomy/evict-registry.d.ts +9 -10
- package/node_modules/@comis/daemon/dist/autonomy/evict-registry.js +2 -2
- package/node_modules/@comis/daemon/dist/autonomy/outward-quota.d.ts +9 -9
- package/node_modules/@comis/daemon/dist/autonomy/outward-quota.js +8 -8
- package/node_modules/@comis/daemon/dist/autonomy/per-root-budget.d.ts +44 -26
- package/node_modules/@comis/daemon/dist/autonomy/per-root-budget.js +54 -14
- package/node_modules/@comis/daemon/dist/autonomy/root-run-semaphore.d.ts +14 -14
- package/node_modules/@comis/daemon/dist/autonomy/root-run-semaphore.js +15 -15
- package/node_modules/@comis/daemon/dist/config/audit-hook.d.ts +5 -5
- package/node_modules/@comis/daemon/dist/config/audit-hook.js +6 -6
- package/node_modules/@comis/daemon/dist/config/bootstrap-observe.d.ts +3 -3
- package/node_modules/@comis/daemon/dist/config/bootstrap-observe.js +2 -2
- package/node_modules/@comis/daemon/dist/config/read-config-file-observation.d.ts +3 -3
- package/node_modules/@comis/daemon/dist/config/read-config-file-observation.js +3 -3
- package/node_modules/@comis/daemon/dist/daemon-types.d.ts +30 -21
- package/node_modules/@comis/daemon/dist/daemon.d.ts +2 -22
- package/node_modules/@comis/daemon/dist/daemon.js +231 -293
- package/node_modules/@comis/daemon/dist/export-session-bundle.d.ts +47 -0
- package/node_modules/@comis/daemon/dist/export-session-bundle.js +62 -0
- package/node_modules/@comis/daemon/dist/graph/graph-capability-defaults.d.ts +6 -6
- package/node_modules/@comis/daemon/dist/graph/graph-capability-defaults.js +8 -8
- package/node_modules/@comis/daemon/dist/graph/graph-completion.d.ts +4 -4
- package/node_modules/@comis/daemon/dist/graph/graph-completion.js +19 -18
- package/node_modules/@comis/daemon/dist/graph/graph-coordinator-state.d.ts +22 -23
- package/node_modules/@comis/daemon/dist/graph/graph-coordinator.d.ts +4 -4
- package/node_modules/@comis/daemon/dist/graph/graph-coordinator.js +21 -21
- package/node_modules/@comis/daemon/dist/graph/graph-driver-handler.js +2 -2
- package/node_modules/@comis/daemon/dist/graph/graph-durable-checkpoint.d.ts +15 -15
- package/node_modules/@comis/daemon/dist/graph/graph-durable-checkpoint.js +15 -15
- package/node_modules/@comis/daemon/dist/graph/graph-node-budget.d.ts +12 -12
- package/node_modules/@comis/daemon/dist/graph/graph-node-budget.js +24 -24
- package/node_modules/@comis/daemon/dist/graph/graph-node-lifecycle.js +11 -11
- package/node_modules/@comis/daemon/dist/graph/graph-state-machine.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/graph/graph-timeout-floor.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/graph/graph-timeout-floor.js +1 -1
- package/node_modules/@comis/daemon/dist/graph/template-interpolation.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/graph/template-interpolation.js +6 -6
- package/node_modules/@comis/daemon/dist/index.d.ts +2 -0
- package/node_modules/@comis/daemon/dist/index.js +24 -11
- package/node_modules/@comis/daemon/dist/notification/notification-service.js +3 -3
- package/node_modules/@comis/daemon/dist/notification/rate-limiter.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/observability/build-config-posture-record.d.ts +22 -22
- package/node_modules/@comis/daemon/dist/observability/build-config-posture-record.js +13 -13
- package/node_modules/@comis/daemon/dist/observability/delivery-queue-logger.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/observability/delivery-queue-logger.js +3 -3
- package/node_modules/@comis/daemon/dist/observability/obs-audit-sink.d.ts +23 -12
- package/node_modules/@comis/daemon/dist/observability/obs-audit-sink.js +43 -30
- package/node_modules/@comis/daemon/dist/observability/obs-autonomy-rows.d.ts +24 -15
- package/node_modules/@comis/daemon/dist/observability/obs-autonomy-rows.js +43 -15
- package/node_modules/@comis/daemon/dist/observability/obs-orchestration-rows.d.ts +8 -8
- package/node_modules/@comis/daemon/dist/observability/obs-orchestration-rows.js +8 -8
- package/node_modules/@comis/daemon/dist/observability/obs-persistence-rows.d.ts +226 -0
- package/node_modules/@comis/daemon/dist/observability/obs-persistence-rows.js +523 -0
- package/node_modules/@comis/daemon/dist/observability/obs-persistence-wiring.d.ts +10 -165
- package/node_modules/@comis/daemon/dist/observability/obs-persistence-wiring.js +79 -446
- package/node_modules/@comis/daemon/dist/observability/recall-counters-wiring.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/observability/recall-counters-wiring.js +2 -2
- package/node_modules/@comis/daemon/dist/observability/record-model-health.d.ts +11 -11
- package/node_modules/@comis/daemon/dist/observability/record-model-health.js +2 -2
- package/node_modules/@comis/daemon/dist/wiring/apply-inspect-defaults.d.ts +36 -0
- package/node_modules/@comis/daemon/dist/wiring/apply-inspect-defaults.js +45 -0
- package/node_modules/@comis/daemon/dist/wiring/conversation-reset.d.ts +3 -3
- package/node_modules/@comis/daemon/dist/wiring/conversation-reset.js +5 -6
- package/node_modules/@comis/daemon/dist/wiring/daemon-utils.js +1 -1
- package/node_modules/@comis/daemon/dist/wiring/emit-autonomy-boot-log.d.ts +10 -11
- package/node_modules/@comis/daemon/dist/wiring/emit-autonomy-boot-log.js +7 -7
- package/node_modules/@comis/daemon/dist/wiring/emit-startup-banner.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/wiring/emit-startup-banner.js +2 -2
- package/node_modules/@comis/daemon/dist/wiring/env-scrub.d.ts +25 -0
- package/node_modules/@comis/daemon/dist/wiring/env-scrub.js +88 -0
- package/node_modules/@comis/daemon/dist/wiring/harden-data-dir.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/wiring/harden-data-dir.js +2 -2
- package/node_modules/@comis/daemon/dist/wiring/index.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/wiring/index.js +2 -2
- package/node_modules/@comis/daemon/dist/wiring/main-helpers.d.ts +42 -42
- package/node_modules/@comis/daemon/dist/wiring/main-helpers.js +73 -73
- package/node_modules/@comis/daemon/dist/wiring/msteams-test-seams.d.ts +62 -0
- package/node_modules/@comis/daemon/dist/wiring/msteams-test-seams.js +108 -0
- package/node_modules/@comis/daemon/dist/wiring/obs-mcp-closures.d.ts +3 -3
- package/node_modules/@comis/daemon/dist/wiring/orchestrate-replay-socket.d.ts +65 -0
- package/node_modules/@comis/daemon/dist/wiring/orchestrate-replay-socket.js +269 -0
- package/node_modules/@comis/daemon/dist/wiring/preflight-doctor.d.ts +10 -10
- package/node_modules/@comis/daemon/dist/wiring/preflight-doctor.js +6 -6
- package/node_modules/@comis/daemon/dist/wiring/provider-timeout-redirect.d.ts +6 -6
- package/node_modules/@comis/daemon/dist/wiring/provider-timeout-redirect.js +7 -7
- package/node_modules/@comis/daemon/dist/wiring/seed-bundled-skills.js +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/index.js +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/learned-skill-surface-registry.d.ts +13 -7
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/learned-skill-surface-registry.js +8 -7
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/learned-skill-surface.d.ts +21 -9
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/learned-skill-surface.js +64 -27
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-boot-window.d.ts +4 -4
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-boot-window.js +5 -5
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-descriptions.d.ts +6 -6
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-descriptions.js +6 -6
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-registry.d.ts +12 -10
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-registry.js +10 -9
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-runtime.js +22 -21
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-tooling.d.ts +5 -6
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-tooling.js +6 -7
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/setup-agents-types.d.ts +19 -17
- package/node_modules/@comis/daemon/dist/wiring/setup-agents/skill-discovery-paths.js +2 -2
- package/node_modules/@comis/daemon/dist/wiring/setup-audio-provider.d.ts +14 -14
- package/node_modules/@comis/daemon/dist/wiring/setup-audio-provider.js +16 -17
- package/node_modules/@comis/daemon/dist/wiring/setup-broker-activation.d.ts +16 -9
- package/node_modules/@comis/daemon/dist/wiring/setup-broker-activation.js +9 -5
- package/node_modules/@comis/daemon/dist/wiring/setup-capability-endpoint-boot.d.ts +50 -42
- package/node_modules/@comis/daemon/dist/wiring/setup-capability-endpoint-boot.js +205 -58
- package/node_modules/@comis/daemon/dist/wiring/setup-capability-endpoint.d.ts +89 -22
- package/node_modules/@comis/daemon/dist/wiring/setup-capability-endpoint.js +186 -77
- package/node_modules/@comis/daemon/dist/wiring/setup-channel-liveness-monitor.d.ts +41 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-channel-liveness-monitor.js +93 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/resolve-memory-ops-capability.d.ts +9 -9
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/resolve-memory-ops-capability.js +8 -8
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/review-session-source.d.ts +4 -4
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/review-session-source.js +4 -4
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-activity-renderers.d.ts +3 -3
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-activity-renderers.js +2 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-credentials.d.ts +7 -7
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-credentials.js +16 -7
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-cron-credential.d.ts +5 -5
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-cron-credential.js +6 -6
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-memory-crons-types.d.ts +15 -15
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-memory-crons-wire.d.ts +4 -4
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-memory-crons-wire.js +73 -56
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-memory-crons.d.ts +8 -8
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-memory-crons.js +10 -10
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-registry-builder.js +2 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-registry.d.ts +33 -16
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-registry.js +18 -5
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-runtime.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-runtime.js +5 -5
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-skill-synthesis-deps.d.ts +9 -10
- package/node_modules/@comis/daemon/dist/wiring/setup-channels/setup-channels-skill-synthesis-deps.js +37 -30
- package/node_modules/@comis/daemon/dist/wiring/setup-channels-adapters.d.ts +28 -5
- package/node_modules/@comis/daemon/dist/wiring/setup-channels-adapters.js +106 -7
- package/node_modules/@comis/daemon/dist/wiring/setup-channels-media.d.ts +2 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-channels-media.js +14 -2
- package/node_modules/@comis/daemon/dist/wiring/setup-context-tools.d.ts +15 -15
- package/node_modules/@comis/daemon/dist/wiring/setup-context-tools.js +24 -24
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/setup-cross-session-graph.d.ts +3 -3
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/setup-cross-session-graph.js +7 -7
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/setup-cross-session-runtime.d.ts +10 -10
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/setup-cross-session-runtime.js +15 -15
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/worktree-spawn-run.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/wiring/setup-cross-session/worktree-spawn-run.js +6 -6
- package/node_modules/@comis/daemon/dist/wiring/setup-delivery.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/wiring/setup-delivery.js +10 -10
- package/node_modules/@comis/daemon/dist/wiring/setup-dialectic.d.ts +18 -19
- package/node_modules/@comis/daemon/dist/wiring/setup-dialectic.js +30 -30
- package/node_modules/@comis/daemon/dist/wiring/setup-durable-resume.d.ts +88 -12
- package/node_modules/@comis/daemon/dist/wiring/setup-durable-resume.js +140 -20
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/non-secret-projections.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/non-secret-projections.js +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/setup-gateway-admin.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/setup-gateway-admin.js +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/setup-gateway-routes.d.ts +5 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/setup-gateway-routes.js +1 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway/setup-gateway-rpc.js +5 -4
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway-api.js +7 -7
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway-routes.d.ts +5 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-gateway-routes.js +18 -4
- package/node_modules/@comis/daemon/dist/wiring/setup-image-provider.d.ts +12 -12
- package/node_modules/@comis/daemon/dist/wiring/setup-image-provider.js +36 -38
- package/node_modules/@comis/daemon/dist/wiring/setup-learning-corroboration.d.ts +5 -5
- package/node_modules/@comis/daemon/dist/wiring/setup-learning-corroboration.js +6 -6
- package/node_modules/@comis/daemon/dist/wiring/setup-learning-judge.d.ts +3 -3
- package/node_modules/@comis/daemon/dist/wiring/setup-learning-judge.js +5 -6
- package/node_modules/@comis/daemon/dist/wiring/setup-learning-reactions.d.ts +20 -20
- package/node_modules/@comis/daemon/dist/wiring/setup-learning-reactions.js +32 -32
- package/node_modules/@comis/daemon/dist/wiring/setup-learning-skill-transitions.d.ts +13 -13
- package/node_modules/@comis/daemon/dist/wiring/setup-learning-skill-transitions.js +28 -28
- package/node_modules/@comis/daemon/dist/wiring/setup-learning-skill-trend.d.ts +8 -8
- package/node_modules/@comis/daemon/dist/wiring/setup-learning-skill-trend.js +8 -8
- package/node_modules/@comis/daemon/dist/wiring/setup-learning.d.ts +44 -45
- package/node_modules/@comis/daemon/dist/wiring/setup-learning.js +112 -83
- package/node_modules/@comis/daemon/dist/wiring/setup-logging.js +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-media.d.ts +6 -6
- package/node_modules/@comis/daemon/dist/wiring/setup-media.js +25 -25
- package/node_modules/@comis/daemon/dist/wiring/setup-memory-cost-notice.d.ts +7 -12
- package/node_modules/@comis/daemon/dist/wiring/setup-memory-cost-notice.js +6 -10
- package/node_modules/@comis/daemon/dist/wiring/setup-memory.d.ts +8 -8
- package/node_modules/@comis/daemon/dist/wiring/setup-memory.js +11 -16
- package/node_modules/@comis/daemon/dist/wiring/setup-observability.d.ts +8 -8
- package/node_modules/@comis/daemon/dist/wiring/setup-observability.js +12 -12
- package/node_modules/@comis/daemon/dist/wiring/setup-orchestrate-replay.d.ts +112 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-orchestrate-replay.js +179 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-schedulers.d.ts +25 -9
- package/node_modules/@comis/daemon/dist/wiring/setup-schedulers.js +261 -63
- package/node_modules/@comis/daemon/dist/wiring/setup-shutdown.d.ts +4 -2
- package/node_modules/@comis/daemon/dist/wiring/setup-shutdown.js +13 -5
- package/node_modules/@comis/daemon/dist/wiring/setup-spend-rehydration.d.ts +3 -3
- package/node_modules/@comis/daemon/dist/wiring/setup-spend-rehydration.js +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-storage-mismatch-warn.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-terminal-tools.d.ts +26 -24
- package/node_modules/@comis/daemon/dist/wiring/setup-terminal-tools.js +61 -59
- package/node_modules/@comis/daemon/dist/wiring/setup-terminal-wake.d.ts +47 -48
- package/node_modules/@comis/daemon/dist/wiring/setup-terminal-wake.js +135 -137
- package/node_modules/@comis/daemon/dist/wiring/setup-tool-audit.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-tool-audit.js +1 -1
- package/node_modules/@comis/daemon/dist/wiring/setup-tool-invoke-executor.d.ts +92 -24
- package/node_modules/@comis/daemon/dist/wiring/setup-tool-invoke-executor.js +226 -18
- package/node_modules/@comis/daemon/dist/wiring/setup-tools-autonomy.d.ts +59 -15
- package/node_modules/@comis/daemon/dist/wiring/setup-tools-autonomy.js +99 -13
- package/node_modules/@comis/daemon/dist/wiring/setup-tools-capabilities.d.ts +9 -9
- package/node_modules/@comis/daemon/dist/wiring/setup-tools-capabilities.js +24 -24
- package/node_modules/@comis/daemon/dist/wiring/setup-tools-coordinator.d.ts +3 -3
- package/node_modules/@comis/daemon/dist/wiring/setup-tools-orchestrate-repair.d.ts +62 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-tools-orchestrate-repair.js +86 -0
- package/node_modules/@comis/daemon/dist/wiring/setup-tools.d.ts +17 -13
- package/node_modules/@comis/daemon/dist/wiring/setup-tools.js +41 -22
- package/node_modules/@comis/daemon/dist/wiring/setup-video-poller.d.ts +30 -32
- package/node_modules/@comis/daemon/dist/wiring/setup-video-poller.js +79 -81
- package/node_modules/@comis/daemon/dist/wiring/setup-video-provider.d.ts +14 -13
- package/node_modules/@comis/daemon/dist/wiring/setup-video-provider.js +25 -24
- package/node_modules/@comis/daemon/dist/wiring/setup-worktree-sweep.d.ts +4 -4
- package/node_modules/@comis/daemon/dist/wiring/setup-worktree-sweep.js +1 -1
- package/node_modules/@comis/daemon/dist/wiring/terminal-drive-journal-persistence.d.ts +6 -6
- package/node_modules/@comis/daemon/dist/wiring/terminal-drive-journal-persistence.js +22 -24
- package/node_modules/@comis/daemon/dist/wiring/terminal-drive-scope.d.ts +15 -15
- package/node_modules/@comis/daemon/dist/wiring/terminal-drive-scope.js +15 -15
- package/node_modules/@comis/daemon/dist/wiring/terminal-durable-wiring.d.ts +32 -49
- package/node_modules/@comis/daemon/dist/wiring/terminal-durable-wiring.js +160 -115
- package/node_modules/@comis/daemon/dist/wiring/terminal-session-descriptor-persistence.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/wiring/terminal-session-descriptor-persistence.js +27 -29
- package/node_modules/@comis/daemon/dist/wiring/terminal-wake-dispatch.d.ts +15 -15
- package/node_modules/@comis/daemon/dist/wiring/terminal-wake-dispatch.js +22 -23
- package/node_modules/@comis/daemon/dist/wiring/terminal-wake-notify.d.ts +42 -43
- package/node_modules/@comis/daemon/dist/wiring/terminal-wake-notify.js +42 -43
- package/node_modules/@comis/daemon/dist/wiring/terminal-wake-persistence.d.ts +1 -1
- package/node_modules/@comis/daemon/dist/wiring/terminal-wake-persistence.js +7 -7
- package/node_modules/@comis/daemon/dist/wiring/terminal-wake-turn.d.ts +33 -36
- package/node_modules/@comis/daemon/dist/wiring/terminal-wake-turn.js +101 -105
- package/node_modules/@comis/daemon/dist/wiring/terminal-wake-types.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/wiring/video-delivery-limits.d.ts +19 -19
- package/node_modules/@comis/daemon/dist/wiring/video-delivery-limits.js +23 -23
- package/node_modules/@comis/daemon/dist/wiring/video-log-redaction.d.ts +2 -2
- package/node_modules/@comis/daemon/dist/wiring/video-log-redaction.js +7 -8
- package/node_modules/@comis/daemon/dist/wiring/wake-gate-runner.d.ts +136 -0
- package/node_modules/@comis/daemon/dist/wiring/wake-gate-runner.js +217 -0
- package/node_modules/@comis/daemon/dist/wiring/wire-wake-gate-runner.d.ts +38 -0
- package/node_modules/@comis/daemon/dist/wiring/wire-wake-gate-runner.js +20 -0
- package/node_modules/@comis/daemon/package.json +1 -1
- package/node_modules/@comis/gateway/dist/acp/acp-plan-bridge.d.ts +1 -1
- package/node_modules/@comis/gateway/dist/channel-ingress/msteams-ingress.d.ts +74 -0
- package/node_modules/@comis/gateway/dist/channel-ingress/msteams-ingress.js +122 -0
- package/node_modules/@comis/gateway/dist/index.d.ts +2 -0
- package/node_modules/@comis/gateway/dist/index.js +3 -0
- package/node_modules/@comis/gateway/dist/openai/openai-types.d.ts +7 -8
- package/node_modules/@comis/gateway/dist/openai/openai-types.js +7 -8
- package/node_modules/@comis/gateway/dist/rpc/method-router.js +18 -2
- package/node_modules/@comis/gateway/package.json +1 -1
- package/node_modules/@comis/infra/dist/credential-broker/lease-manager.d.ts +11 -11
- package/node_modules/@comis/infra/dist/credential-broker/lease-manager.js +23 -22
- package/node_modules/@comis/infra/package.json +1 -1
- package/node_modules/@comis/memory/dist/durable-run-row-schema.d.ts +11 -12
- package/node_modules/@comis/memory/dist/durable-run-row-schema.js +17 -14
- package/node_modules/@comis/memory/dist/durable-run-store.d.ts +14 -15
- package/node_modules/@comis/memory/dist/durable-run-store.js +67 -41
- package/node_modules/@comis/memory/dist/entity-resolver.d.ts +4 -4
- package/node_modules/@comis/memory/dist/entity-resolver.js +4 -4
- package/node_modules/@comis/memory/dist/file-secret-store.d.ts +1 -1
- package/node_modules/@comis/memory/dist/file-secret-store.js +1 -1
- package/node_modules/@comis/memory/dist/hybrid-search.d.ts +10 -11
- package/node_modules/@comis/memory/dist/hybrid-search.js +11 -12
- package/node_modules/@comis/memory/dist/index.d.ts +2 -0
- package/node_modules/@comis/memory/dist/index.js +50 -51
- package/node_modules/@comis/memory/dist/lcd-browse-store.d.ts +2 -2
- package/node_modules/@comis/memory/dist/lcd-browse-store.js +4 -4
- package/node_modules/@comis/memory/dist/lcd-fts.d.ts +28 -27
- package/node_modules/@comis/memory/dist/lcd-fts.js +77 -76
- package/node_modules/@comis/memory/dist/lcd-ingest-serializer.d.ts +6 -6
- package/node_modules/@comis/memory/dist/lcd-ingest-serializer.js +6 -6
- package/node_modules/@comis/memory/dist/lcd-store-fts-populate.d.ts +11 -11
- package/node_modules/@comis/memory/dist/lcd-store-fts-populate.js +21 -21
- package/node_modules/@comis/memory/dist/lcd-store-mappers.d.ts +4 -4
- package/node_modules/@comis/memory/dist/lcd-store-mappers.js +9 -9
- package/node_modules/@comis/memory/dist/lcd-store-provenance-read.d.ts +6 -7
- package/node_modules/@comis/memory/dist/lcd-store-provenance-read.js +7 -8
- package/node_modules/@comis/memory/dist/lcd-store-provenance.d.ts +6 -6
- package/node_modules/@comis/memory/dist/lcd-store-provenance.js +7 -7
- package/node_modules/@comis/memory/dist/lcd-store-reads.d.ts +7 -7
- package/node_modules/@comis/memory/dist/lcd-store-reads.js +15 -15
- package/node_modules/@comis/memory/dist/lcd-store-writes.d.ts +17 -17
- package/node_modules/@comis/memory/dist/lcd-store-writes.js +29 -29
- package/node_modules/@comis/memory/dist/lcd-store.d.ts +9 -10
- package/node_modules/@comis/memory/dist/lcd-store.js +88 -89
- package/node_modules/@comis/memory/dist/memory-api.js +1 -1
- package/node_modules/@comis/memory/dist/mental-model-row-schema.d.ts +3 -4
- package/node_modules/@comis/memory/dist/mental-model-row-schema.js +6 -7
- package/node_modules/@comis/memory/dist/msteams-conversation-row-schema.d.ts +37 -0
- package/node_modules/@comis/memory/dist/msteams-conversation-row-schema.js +40 -0
- package/node_modules/@comis/memory/dist/msteams-conversation-store.d.ts +45 -0
- package/node_modules/@comis/memory/dist/msteams-conversation-store.js +145 -0
- package/node_modules/@comis/memory/dist/observability-store/audit-mutations.d.ts +4 -5
- package/node_modules/@comis/memory/dist/observability-store/audit-mutations.js +5 -6
- package/node_modules/@comis/memory/dist/observability-store/cache-break-queries.d.ts +3 -3
- package/node_modules/@comis/memory/dist/observability-store/cache-break-queries.js +4 -4
- package/node_modules/@comis/memory/dist/observability-store/cache-break-types.d.ts +3 -3
- package/node_modules/@comis/memory/dist/observability-store/cache-break-types.js +1 -1
- package/node_modules/@comis/memory/dist/observability-store/fleet-window-rollup.d.ts +10 -10
- package/node_modules/@comis/memory/dist/observability-store/fleet-window-rollup.js +6 -6
- package/node_modules/@comis/memory/dist/observability-store/index.js +6 -6
- package/node_modules/@comis/memory/dist/observability-store/observability-aggregates.d.ts +3 -3
- package/node_modules/@comis/memory/dist/observability-store/observability-aggregates.js +12 -12
- package/node_modules/@comis/memory/dist/observability-store/observability-mutations.d.ts +6 -6
- package/node_modules/@comis/memory/dist/observability-store/observability-mutations.js +11 -11
- package/node_modules/@comis/memory/dist/observability-store/observability-queries.js +66 -53
- package/node_modules/@comis/memory/dist/observability-store/observability-row-shapes.js +2 -2
- package/node_modules/@comis/memory/dist/observability-store/observability-store-types.d.ts +27 -27
- package/node_modules/@comis/memory/dist/observability-store/observability-store-types.js +6 -6
- package/node_modules/@comis/memory/dist/observability-store/pricing-coverage-types.d.ts +4 -4
- package/node_modules/@comis/memory/dist/observability-store/pricing-coverage-types.js +1 -1
- package/node_modules/@comis/memory/dist/observability-store/spend-queries.d.ts +5 -5
- package/node_modules/@comis/memory/dist/observability-store/spend-queries.js +8 -8
- package/node_modules/@comis/memory/dist/offline-secrets-write.d.ts +1 -1
- package/node_modules/@comis/memory/dist/offline-secrets-write.js +1 -1
- package/node_modules/@comis/memory/dist/outcome-event-row-schema.d.ts +9 -7
- package/node_modules/@comis/memory/dist/outcome-event-row-schema.js +11 -8
- package/node_modules/@comis/memory/dist/outward-ledger-row-schema.d.ts +9 -9
- package/node_modules/@comis/memory/dist/outward-ledger-row-schema.js +12 -12
- package/node_modules/@comis/memory/dist/outward-send-ledger-store.d.ts +9 -9
- package/node_modules/@comis/memory/dist/outward-send-ledger-store.js +17 -17
- package/node_modules/@comis/memory/dist/row-mapper.js +3 -3
- package/node_modules/@comis/memory/dist/row-schemas.d.ts +22 -22
- package/node_modules/@comis/memory/dist/row-schemas.js +34 -35
- package/node_modules/@comis/memory/dist/schema-durable-runs.d.ts +18 -11
- package/node_modules/@comis/memory/dist/schema-durable-runs.js +41 -13
- package/node_modules/@comis/memory/dist/schema-lcd.d.ts +23 -25
- package/node_modules/@comis/memory/dist/schema-lcd.js +63 -65
- package/node_modules/@comis/memory/dist/schema-mental-models.d.ts +8 -8
- package/node_modules/@comis/memory/dist/schema-mental-models.js +9 -9
- package/node_modules/@comis/memory/dist/schema-msteams-conversation.d.ts +41 -0
- package/node_modules/@comis/memory/dist/schema-msteams-conversation.js +55 -0
- package/node_modules/@comis/memory/dist/schema-obs-token.d.ts +14 -14
- package/node_modules/@comis/memory/dist/schema-obs-token.js +15 -15
- package/node_modules/@comis/memory/dist/schema-outcome-events.d.ts +11 -8
- package/node_modules/@comis/memory/dist/schema-outcome-events.js +29 -8
- package/node_modules/@comis/memory/dist/schema-outward-ledger.d.ts +12 -12
- package/node_modules/@comis/memory/dist/schema-outward-ledger.js +14 -14
- package/node_modules/@comis/memory/dist/schema-pinned.d.ts +1 -1
- package/node_modules/@comis/memory/dist/schema-pinned.js +2 -2
- package/node_modules/@comis/memory/dist/schema-trigram.d.ts +10 -11
- package/node_modules/@comis/memory/dist/schema-trigram.js +17 -18
- package/node_modules/@comis/memory/dist/schema-usefulness.d.ts +5 -5
- package/node_modules/@comis/memory/dist/schema-usefulness.js +5 -5
- package/node_modules/@comis/memory/dist/schema-video-jobs.d.ts +8 -8
- package/node_modules/@comis/memory/dist/schema-video-jobs.js +12 -12
- package/node_modules/@comis/memory/dist/schema.d.ts +6 -6
- package/node_modules/@comis/memory/dist/schema.js +30 -28
- package/node_modules/@comis/memory/dist/setup-secrets.js +1 -1
- package/node_modules/@comis/memory/dist/sqlite-memory-adapter.d.ts +8 -8
- package/node_modules/@comis/memory/dist/sqlite-memory-adapter.js +20 -20
- package/node_modules/@comis/memory/dist/sqlite-memory-causal-store.js +3 -3
- package/node_modules/@comis/memory/dist/sqlite-memory-consolidation-store.d.ts +7 -7
- package/node_modules/@comis/memory/dist/sqlite-memory-consolidation-store.js +17 -17
- package/node_modules/@comis/memory/dist/sqlite-memory-entity-store.js +4 -4
- package/node_modules/@comis/memory/dist/sqlite-memory-lifecycle-store.d.ts +17 -18
- package/node_modules/@comis/memory/dist/sqlite-memory-lifecycle-store.js +27 -28
- package/node_modules/@comis/memory/dist/sqlite-memory-temporal-store.js +1 -1
- package/node_modules/@comis/memory/dist/sqlite-memory-usefulness-store.js +3 -3
- package/node_modules/@comis/memory/dist/sqlite-mental-model-store.d.ts +10 -10
- package/node_modules/@comis/memory/dist/sqlite-mental-model-store.js +86 -53
- package/node_modules/@comis/memory/dist/sqlite-outcome-store.d.ts +4 -4
- package/node_modules/@comis/memory/dist/sqlite-outcome-store.js +80 -52
- package/node_modules/@comis/memory/dist/sqlite-triple-store.d.ts +3 -3
- package/node_modules/@comis/memory/dist/sqlite-triple-store.js +8 -8
- package/node_modules/@comis/memory/dist/types.d.ts +22 -25
- package/node_modules/@comis/memory/dist/video-job-row-schema.d.ts +4 -4
- package/node_modules/@comis/memory/dist/video-job-row-schema.js +8 -8
- package/node_modules/@comis/memory/dist/video-job-store.d.ts +23 -24
- package/node_modules/@comis/memory/dist/video-job-store.js +11 -12
- package/node_modules/@comis/memory/package.json +1 -1
- package/node_modules/@comis/observability/dist/activity/activity-stream.d.ts +9 -9
- package/node_modules/@comis/observability/dist/activity/activity-stream.js +27 -27
- package/node_modules/@comis/observability/dist/activity/bounded-queue.d.ts +6 -6
- package/node_modules/@comis/observability/dist/activity/bounded-queue.js +4 -4
- package/node_modules/@comis/observability/dist/activity/index.d.ts +2 -2
- package/node_modules/@comis/observability/dist/activity/index.js +2 -2
- package/node_modules/@comis/observability/dist/activity/label-compressor.d.ts +2 -2
- package/node_modules/@comis/observability/dist/activity/label-compressor.js +3 -3
- package/node_modules/@comis/observability/dist/activity/label-resolver.d.ts +5 -6
- package/node_modules/@comis/observability/dist/activity/label-resolver.js +5 -6
- package/node_modules/@comis/observability/dist/activity/plan-stream.d.ts +4 -4
- package/node_modules/@comis/observability/dist/activity/plan-stream.js +3 -3
- package/node_modules/@comis/observability/dist/activity/shell-label-parser.js +1 -2
- package/node_modules/@comis/observability/dist/cache-trace/event-bus-bridge.js +1 -1
- package/node_modules/@comis/observability/dist/cache-trace/stream-fn-wrapper.js +3 -3
- package/node_modules/@comis/observability/dist/cache-trace/types.d.ts +3 -5
- package/node_modules/@comis/observability/dist/cache-trace/types.js +7 -9
- package/node_modules/@comis/observability/dist/config-audit/types.d.ts +5 -6
- package/node_modules/@comis/observability/dist/config-audit/types.js +5 -6
- package/node_modules/@comis/observability/dist/index.d.ts +1 -0
- package/node_modules/@comis/observability/dist/index.js +19 -15
- package/node_modules/@comis/observability/dist/pipeline-authoring-gate.d.ts +15 -16
- package/node_modules/@comis/observability/dist/pipeline-authoring-gate.js +19 -20
- package/node_modules/@comis/observability/dist/recall-counters/registry.d.ts +1 -1
- package/node_modules/@comis/observability/dist/recall-counters/registry.js +1 -1
- package/node_modules/@comis/observability/dist/recall-counters/types.d.ts +1 -1
- package/node_modules/@comis/observability/dist/recall-counters/types.js +1 -1
- package/node_modules/@comis/observability/dist/recall-trace/runtime.d.ts +1 -1
- package/node_modules/@comis/observability/dist/recall-trace/runtime.js +1 -1
- package/node_modules/@comis/observability/dist/recall-trace/types.d.ts +7 -7
- package/node_modules/@comis/observability/dist/recall-trace/types.js +14 -15
- package/node_modules/@comis/observability/dist/redact/regex-bounded.d.ts +1 -1
- package/node_modules/@comis/observability/dist/redact/regex-bounded.js +1 -1
- package/node_modules/@comis/observability/dist/redact/value-shapes.d.ts +10 -10
- package/node_modules/@comis/observability/dist/redact/value-shapes.js +30 -12
- package/node_modules/@comis/observability/dist/session-index/append.d.ts +5 -5
- package/node_modules/@comis/observability/dist/session-index/append.js +16 -16
- package/node_modules/@comis/observability/dist/session-index/types.d.ts +8 -8
- package/node_modules/@comis/observability/dist/shared/bounded-payload.d.ts +2 -3
- package/node_modules/@comis/observability/dist/shared/bounded-payload.js +2 -3
- package/node_modules/@comis/observability/dist/shared/sanitize-diagnostic-payload.d.ts +7 -9
- package/node_modules/@comis/observability/dist/shared/sanitize-diagnostic-payload.js +7 -9
- package/node_modules/@comis/observability/dist/trajectory/bundle-exporter.js +16 -5
- package/node_modules/@comis/observability/dist/trajectory/event-bus-bridge.d.ts +6 -0
- package/node_modules/@comis/observability/dist/trajectory/event-bus-bridge.js +117 -98
- package/node_modules/@comis/observability/dist/trajectory/translate-cache-break-payload.js +4 -4
- package/node_modules/@comis/observability/dist/trajectory/translate-image-payload.d.ts +4 -4
- package/node_modules/@comis/observability/dist/trajectory/translate-image-payload.js +4 -4
- package/node_modules/@comis/observability/dist/trajectory/translate-orchestration-payload.d.ts +6 -6
- package/node_modules/@comis/observability/dist/trajectory/translate-orchestration-payload.js +53 -20
- package/node_modules/@comis/observability/dist/trajectory/translate-payload.js +88 -49
- package/node_modules/@comis/observability/dist/trajectory/translate-spend-payload.d.ts +2 -2
- package/node_modules/@comis/observability/dist/trajectory/translate-spend-payload.js +3 -3
- package/node_modules/@comis/observability/dist/trajectory/translate-video-payload.d.ts +4 -5
- package/node_modules/@comis/observability/dist/trajectory/translate-video-payload.js +4 -5
- package/node_modules/@comis/observability/dist/trajectory/translate-vision-payload.d.ts +5 -5
- package/node_modules/@comis/observability/dist/trajectory/translate-vision-payload.js +5 -5
- package/node_modules/@comis/observability/dist/trajectory/translate-voice-payload.d.ts +5 -5
- package/node_modules/@comis/observability/dist/trajectory/translate-voice-payload.js +7 -7
- package/node_modules/@comis/observability/dist/trajectory/types.d.ts +2 -2
- package/node_modules/@comis/observability/dist/trajectory/types.js +101 -77
- package/node_modules/@comis/observability/package.json +1 -1
- package/node_modules/@comis/observability-otel/dist/dashboard-metric-names.d.ts +1 -1
- package/node_modules/@comis/observability-otel/dist/dashboard-metric-names.js +3 -3
- package/node_modules/@comis/observability-otel/dist/exemplar-capability.d.ts +2 -2
- package/node_modules/@comis/observability-otel/dist/exemplar-capability.js +9 -9
- package/node_modules/@comis/observability-otel/dist/index.d.ts +5 -5
- package/node_modules/@comis/observability-otel/dist/index.js +13 -14
- package/node_modules/@comis/observability-otel/dist/metric-catalog.d.ts +12 -13
- package/node_modules/@comis/observability-otel/dist/metric-catalog.js +19 -21
- package/node_modules/@comis/observability-otel/dist/metric-mapping.d.ts +11 -11
- package/node_modules/@comis/observability-otel/dist/metric-mapping.js +9 -9
- package/node_modules/@comis/observability-otel/dist/otel-exporter.d.ts +2 -2
- package/node_modules/@comis/observability-otel/dist/otel-exporter.js +14 -14
- package/node_modules/@comis/observability-otel/dist/prometheus-surface.d.ts +3 -3
- package/node_modules/@comis/observability-otel/dist/prometheus-surface.js +2 -2
- package/node_modules/@comis/observability-otel/dist/redact-attributes.d.ts +1 -1
- package/node_modules/@comis/observability-otel/dist/redact-attributes.js +7 -7
- package/node_modules/@comis/observability-otel/dist/spend-snapshot.d.ts +4 -4
- package/node_modules/@comis/observability-otel/dist/spend-snapshot.js +3 -3
- package/node_modules/@comis/observability-otel/dist/test-harness.d.ts +1 -1
- package/node_modules/@comis/observability-otel/dist/test-harness.js +1 -1
- package/node_modules/@comis/observability-otel/dist/traces.d.ts +7 -7
- package/node_modules/@comis/observability-otel/dist/traces.js +3 -3
- package/node_modules/@comis/observability-otel/package.json +1 -1
- package/node_modules/@comis/orchestrator/dist/approval/index.d.ts +1 -1
- package/node_modules/@comis/orchestrator/dist/approval/index.js +1 -1
- package/node_modules/@comis/orchestrator/dist/approval/interactive-callback-router.d.ts +6 -6
- package/node_modules/@comis/orchestrator/dist/approval/interactive-callback-router.js +9 -9
- package/node_modules/@comis/orchestrator/dist/channel-manager.js +5 -5
- package/node_modules/@comis/orchestrator/dist/cross-session/announcement-batcher.d.ts +5 -5
- package/node_modules/@comis/orchestrator/dist/cross-session/announcement-batcher.js +18 -18
- package/node_modules/@comis/orchestrator/dist/cross-session/announcement-dead-letter.d.ts +9 -9
- package/node_modules/@comis/orchestrator/dist/cross-session/announcement-dead-letter.js +3 -3
- package/node_modules/@comis/orchestrator/dist/cross-session/cross-session-sender.d.ts +7 -7
- package/node_modules/@comis/orchestrator/dist/cross-session/cross-session-sender.js +10 -10
- package/node_modules/@comis/orchestrator/dist/execution/activity-circuit-breaker.d.ts +3 -3
- package/node_modules/@comis/orchestrator/dist/execution/activity-circuit-breaker.js +1 -1
- package/node_modules/@comis/orchestrator/dist/execution/activity-turn-coordinator.d.ts +19 -13
- package/node_modules/@comis/orchestrator/dist/execution/activity-turn-coordinator.js +37 -13
- package/node_modules/@comis/orchestrator/dist/execution/execution-deliver.d.ts +3 -3
- package/node_modules/@comis/orchestrator/dist/execution/execution-deliver.js +41 -5
- package/node_modules/@comis/orchestrator/dist/execution/execution-execute.js +10 -5
- package/node_modules/@comis/orchestrator/dist/execution/execution-pipeline.d.ts +3 -3
- package/node_modules/@comis/orchestrator/dist/execution/execution-pipeline.js +10 -10
- package/node_modules/@comis/orchestrator/dist/execution/turn-outcome-mapper.d.ts +6 -5
- package/node_modules/@comis/orchestrator/dist/execution/turn-outcome-mapper.js +11 -3
- package/node_modules/@comis/orchestrator/dist/inbound/resolve-and-preprocess.d.ts +2 -2
- package/node_modules/@comis/orchestrator/dist/inbound/resolve-and-preprocess.js +8 -3
- package/node_modules/@comis/orchestrator/dist/index.js +2 -2
- package/node_modules/@comis/orchestrator/package.json +1 -1
- package/node_modules/@comis/scheduler/dist/cron/cron-expression.js +1 -1
- package/node_modules/@comis/scheduler/dist/cron/cron-scheduler.d.ts +8 -0
- package/node_modules/@comis/scheduler/dist/cron/cron-scheduler.js +7 -1
- package/node_modules/@comis/scheduler/dist/cron/cron-store.js +55 -23
- package/node_modules/@comis/scheduler/dist/cron/cron-types.d.ts +9 -1
- package/node_modules/@comis/scheduler/dist/cron/cron-types.js +7 -1
- package/node_modules/@comis/scheduler/dist/cron/index.d.ts +3 -0
- package/node_modules/@comis/scheduler/dist/cron/index.js +6 -0
- package/node_modules/@comis/scheduler/dist/cron/wake-gate-verdict.d.ts +47 -0
- package/node_modules/@comis/scheduler/dist/cron/wake-gate-verdict.js +102 -0
- package/node_modules/@comis/scheduler/dist/execution/execution-tracker.d.ts +6 -0
- package/node_modules/@comis/scheduler/dist/execution/execution-tracker.js +2 -0
- package/node_modules/@comis/scheduler/dist/index.d.ts +3 -0
- package/node_modules/@comis/scheduler/dist/index.js +4 -1
- package/node_modules/@comis/scheduler/package.json +1 -1
- package/node_modules/@comis/shared/package.json +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/registry.d.ts +6 -6
- package/node_modules/@comis/skills/dist/platform-tools/registry.js +5 -5
- package/node_modules/@comis/skills/dist/platform-tools/tools/agents-manage-tool.d.ts +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/agents-manage-tool.js +2 -2
- package/node_modules/@comis/skills/dist/platform-tools/tools/browser-tool-schema.d.ts +2 -2
- package/node_modules/@comis/skills/dist/platform-tools/tools/browser-tool-schema.js +2 -2
- package/node_modules/@comis/skills/dist/platform-tools/tools/browser-tool.d.ts +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/browser-tool.js +2 -2
- package/node_modules/@comis/skills/dist/platform-tools/tools/channels-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/cron-tool.d.ts +2 -0
- package/node_modules/@comis/skills/dist/platform-tools/tools/cron-tool.js +18 -2
- package/node_modules/@comis/skills/dist/platform-tools/tools/describe-video-tool.js +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/discord-action-tool.js +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/extract-document-tool.js +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/heartbeat-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/image-generate-tool.js +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/image-tool.js +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/mcp-manage-tool.js +2 -2
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-ask-tool.d.ts +3 -3
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-ask-tool.js +4 -4
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-get-tool.js +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-manage-tool.js +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-search-tool.js +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/memory-store-tool.js +1 -1
- package/node_modules/@comis/skills/dist/platform-tools/tools/obs-query-tool.js +2 -2
- package/node_modules/@comis/skills/dist/platform-tools/tools/pipeline-tool.js +11 -11
- package/node_modules/@comis/skills/dist/platform-tools/tools/video-generate-tool.d.ts +3 -3
- package/node_modules/@comis/skills/dist/platform-tools/tools/video-generate-tool.js +12 -12
- package/node_modules/@comis/skills/dist/platform-tools/tools/video-status-tool.d.ts +3 -3
- package/node_modules/@comis/skills/dist/platform-tools/tools/video-status-tool.js +3 -3
- package/node_modules/@comis/skills/dist/skills/audit/skill-audit.js +1 -1
- package/node_modules/@comis/skills/dist/skills/bridge/register-failure-detector-metadata.d.ts +1 -1
- package/node_modules/@comis/skills/dist/skills/bridge/register-failure-detector-metadata.js +1 -1
- package/node_modules/@comis/skills/dist/skills/bridge/tool-metadata-registry.js +13 -14
- package/node_modules/@comis/skills/dist/skills/index.js +4 -4
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-discover.d.ts +1 -2
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-discover.js +1 -2
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/mcp-client-redirect-policy.js +2 -1
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/oauth/browser-callback.d.ts +3 -3
- package/node_modules/@comis/skills/dist/skills/integrations/mcp-client/oauth/browser-callback.js +3 -3
- package/node_modules/@comis/skills/dist/skills/policy/tool-policy.js +9 -9
- package/node_modules/@comis/skills/dist/skills/prompt/processor.js +2 -2
- package/node_modules/@comis/skills/dist/skills/registry/discovery.d.ts +5 -5
- package/node_modules/@comis/skills/dist/tools/browser/cdp.d.ts +2 -2
- package/node_modules/@comis/skills/dist/tools/browser/cdp.js +2 -2
- package/node_modules/@comis/skills/dist/tools/browser/chrome-detection.d.ts +2 -2
- package/node_modules/@comis/skills/dist/tools/browser/chrome-detection.js +2 -2
- package/node_modules/@comis/skills/dist/tools/browser/playwright-actions.d.ts +1 -2
- package/node_modules/@comis/skills/dist/tools/browser/playwright-actions.js +1 -2
- package/node_modules/@comis/skills/dist/tools/browser/playwright-session.d.ts +2 -2
- package/node_modules/@comis/skills/dist/tools/browser/playwright-session.js +2 -2
- package/node_modules/@comis/skills/dist/tools/browser/playwright-snapshots.d.ts +2 -3
- package/node_modules/@comis/skills/dist/tools/browser/playwright-snapshots.js +2 -3
- package/node_modules/@comis/skills/dist/tools/browser/screenshots.d.ts +1 -3
- package/node_modules/@comis/skills/dist/tools/browser/screenshots.js +1 -3
- package/node_modules/@comis/skills/dist/tools/builtin/context-tools/context-tools-shared.d.ts +20 -20
- package/node_modules/@comis/skills/dist/tools/builtin/context-tools/context-tools-shared.js +15 -15
- package/node_modules/@comis/skills/dist/tools/builtin/context-tools/ctx-expand-tool.d.ts +3 -4
- package/node_modules/@comis/skills/dist/tools/builtin/context-tools/ctx-expand-tool.js +24 -25
- package/node_modules/@comis/skills/dist/tools/builtin/context-tools/ctx-expand-walk.d.ts +9 -9
- package/node_modules/@comis/skills/dist/tools/builtin/context-tools/ctx-expand-walk.js +12 -12
- package/node_modules/@comis/skills/dist/tools/builtin/context-tools/ctx-inspect-tool.d.ts +2 -2
- package/node_modules/@comis/skills/dist/tools/builtin/context-tools/ctx-inspect-tool.js +7 -7
- package/node_modules/@comis/skills/dist/tools/builtin/context-tools/ctx-search-tool.d.ts +3 -3
- package/node_modules/@comis/skills/dist/tools/builtin/context-tools/ctx-search-tool.js +18 -21
- package/node_modules/@comis/skills/dist/tools/builtin/context-tools/index.js +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/exec-shared.js +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/exec-tool/index.js +2 -2
- package/node_modules/@comis/skills/dist/tools/builtin/file/apply-patch-parser.js +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/file/safe-path-wrapper.d.ts +0 -3
- package/node_modules/@comis/skills/dist/tools/builtin/file/safe-path-wrapper.js +0 -3
- package/node_modules/@comis/skills/dist/tools/builtin/file-tools/shared/edit-diff.js +54 -3
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/__pycache__/comis_tools.cpython-312.pyc +0 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/comis-agent-cli.js +4 -4
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/comis-agent-entry.js +2 -2
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/comis-agent-manifest.json +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/comis_tools.d.ts +32 -16
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/comis_tools.js +104 -17
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/comis_tools.py +316 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/index.d.ts +8 -3
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/index.js +17 -6
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/jailed-script-runner.d.ts +143 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/jailed-script-runner.js +459 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-durable.d.ts +139 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-durable.js +191 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-executor-cores.d.ts +9 -6
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-executor-cores.js +101 -16
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-preflight.d.ts +79 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-preflight.js +157 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-repair.d.ts +110 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-repair.js +295 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-replay-respawn.d.ts +54 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-replay-respawn.js +144 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-sdk-runtime.d.ts +4 -4
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-sdk-runtime.js +8 -8
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-tool.d.ts +176 -53
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/orchestrate-tool.js +338 -181
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/result-ref-store.d.ts +37 -7
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/result-ref-store.js +37 -9
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/savings-estimate.d.ts +43 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/savings-estimate.js +44 -0
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/worktree-lifecycle.d.ts +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/orchestrate/worktree-lifecycle.js +6 -6
- package/node_modules/@comis/skills/dist/tools/builtin/process-tool.d.ts +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/sandbox/bwrap-provider.d.ts +41 -8
- package/node_modules/@comis/skills/dist/tools/builtin/sandbox/bwrap-provider.js +71 -27
- package/node_modules/@comis/skills/dist/tools/builtin/sandbox/detect-provider.d.ts +8 -8
- package/node_modules/@comis/skills/dist/tools/builtin/sandbox/detect-provider.js +7 -7
- package/node_modules/@comis/skills/dist/tools/builtin/sandbox/seccomp-profile.d.ts +4 -4
- package/node_modules/@comis/skills/dist/tools/builtin/sandbox/seccomp-profile.js +4 -4
- package/node_modules/@comis/skills/dist/tools/builtin/sandbox/types.d.ts +29 -14
- package/node_modules/@comis/skills/dist/tools/builtin/sleep-tool.d.ts +3 -3
- package/node_modules/@comis/skills/dist/tools/builtin/sleep-tool.js +7 -7
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/egress-relay-init.d.ts +11 -12
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/egress-relay-init.js +9 -10
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/index.js +68 -74
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/platforms/claude-code/profile.d.ts +7 -6
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/platforms/claude-code/profile.js +19 -18
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/platforms/codex/profile.d.ts +2 -2
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/platforms/codex/profile.js +7 -7
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/platforms/index.d.ts +9 -8
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/platforms/index.js +10 -9
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/platforms/terminal-platform-profile.d.ts +18 -17
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/platforms/terminal-platform-profile.js +6 -6
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-attention-emitter.d.ts +12 -12
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-attention-emitter.js +12 -12
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-auto-answer.d.ts +11 -11
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-auto-answer.js +21 -21
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-busy-predicate.d.ts +11 -11
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-busy-predicate.js +10 -10
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-caps.d.ts +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-caps.js +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-classifier.d.ts +26 -27
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-classifier.js +34 -35
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-dialog-detector.d.ts +12 -13
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-dialog-detector.js +23 -24
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-drive-journal.d.ts +25 -26
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-drive-journal.js +25 -26
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-drive-outcome.d.ts +25 -24
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-drive-outcome.js +25 -25
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-drive-promote.d.ts +29 -30
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-drive-promote.js +29 -30
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-egress-proxy.d.ts +4 -4
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-egress-proxy.js +5 -5
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-egress-relay.d.ts +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-egress-relay.js +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-env-scrub.d.ts +6 -6
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-env-scrub.js +11 -11
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-events-attention.d.ts +17 -17
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-events-attention.js +5 -5
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-heartbeat-digest.d.ts +6 -6
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-heartbeat-digest.js +7 -7
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-ipc.d.ts +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-ipc.js +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-key-grammar.d.ts +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-key-grammar.js +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-loop-guard.d.ts +6 -6
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-loop-guard.js +5 -5
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-notify-policy.d.ts +14 -13
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-notify-policy.js +14 -13
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-read-digest.d.ts +16 -18
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-read-digest.js +17 -18
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-reap-untasked.d.ts +4 -5
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-reaper.d.ts +8 -7
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-reaper.js +8 -7
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-reattach-match.d.ts +33 -34
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-reattach-match.js +29 -30
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-render.d.ts +18 -18
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-render.js +15 -15
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-scope-args.d.ts +2 -2
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-scope-args.js +8 -7
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-send-guards.js +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-session-owner.d.ts +3 -3
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-session-owner.js +3 -3
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-session-reattach.d.ts +61 -61
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-session-reattach.js +60 -60
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-session-registry.d.ts +13 -13
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-session-registry.js +30 -30
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-session-types.d.ts +17 -17
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-session-types.js +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-settle.d.ts +10 -10
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-settle.js +14 -14
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-spawn-plan.d.ts +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-spawn-plan.js +2 -2
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-spend-ceiling.d.ts +18 -19
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-spend-ceiling.js +20 -21
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-status-tool.d.ts +8 -9
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-status-tool.js +9 -10
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-status-view.d.ts +18 -18
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-status-view.js +13 -13
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-tmux-backend.d.ts +11 -12
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-tmux-backend.js +12 -13
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-tools-stubs.d.ts +8 -9
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-tools-stubs.js +8 -9
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-tools.d.ts +6 -6
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-tools.js +21 -21
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-wait-reply.d.ts +24 -23
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-wait-reply.js +20 -19
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-backend-attach.d.ts +12 -12
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-backend-attach.js +14 -14
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-classify.d.ts +14 -14
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-classify.js +20 -20
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-defaults.d.ts +4 -4
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-defaults.js +4 -4
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-entry.d.ts +7 -7
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-entry.js +32 -32
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-launch.d.ts +8 -8
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-launch.js +10 -10
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-main.d.ts +11 -11
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-main.js +23 -22
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-reattach.d.ts +6 -7
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-reattach.js +8 -9
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-stdio-pump.d.ts +2 -2
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-stdio-pump.js +2 -2
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-supervisor.d.ts +13 -14
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-supervisor.js +32 -33
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-types.d.ts +28 -28
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-worker-types.js +1 -1
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-workspace.d.ts +6 -7
- package/node_modules/@comis/skills/dist/tools/builtin/terminal-driver/terminal-workspace.js +6 -7
- package/node_modules/@comis/skills/dist/tools/builtin/web-fetch-tool.js +3 -3
- package/node_modules/@comis/skills/dist/tools/builtin/web-search-tool/index.js +3 -3
- package/node_modules/@comis/skills/dist/tools/index.d.ts +3 -2
- package/node_modules/@comis/skills/dist/tools/index.js +49 -38
- package/node_modules/@comis/skills/dist/tools/integrations/edge-tts-adapter.js +3 -3
- package/node_modules/@comis/skills/dist/tools/integrations/image-gen/image-gen-factory.d.ts +5 -6
- package/node_modules/@comis/skills/dist/tools/integrations/image-gen/image-gen-factory.js +5 -6
- package/node_modules/@comis/skills/dist/tools/integrations/local-stt-adapter.d.ts +14 -14
- package/node_modules/@comis/skills/dist/tools/integrations/local-stt-adapter.js +45 -45
- package/node_modules/@comis/skills/dist/tools/integrations/local-stt-probe.d.ts +7 -7
- package/node_modules/@comis/skills/dist/tools/integrations/local-stt-probe.js +11 -11
- package/node_modules/@comis/skills/dist/tools/integrations/local-tts-adapter.d.ts +5 -5
- package/node_modules/@comis/skills/dist/tools/integrations/local-tts-adapter.js +16 -16
- package/node_modules/@comis/skills/dist/tools/integrations/media-adapter-shared.d.ts +4 -4
- package/node_modules/@comis/skills/dist/tools/integrations/media-adapter-shared.js +4 -4
- package/node_modules/@comis/skills/dist/tools/integrations/media-handler-audio.js +4 -4
- package/node_modules/@comis/skills/dist/tools/integrations/media-handler-image.js +1 -1
- package/node_modules/@comis/skills/dist/tools/integrations/openai-stt-adapter.d.ts +1 -1
- package/node_modules/@comis/skills/dist/tools/integrations/openai-stt-adapter.js +3 -3
- package/node_modules/@comis/skills/dist/tools/integrations/openai-tts-adapter.js +1 -1
- package/node_modules/@comis/skills/dist/tools/integrations/pinned-fetch.d.ts +1 -1
- package/node_modules/@comis/skills/dist/tools/integrations/pinned-fetch.js +3 -3
- package/node_modules/@comis/skills/dist/tools/integrations/stt-factory.d.ts +2 -2
- package/node_modules/@comis/skills/dist/tools/integrations/stt-factory.js +7 -7
- package/node_modules/@comis/skills/dist/tools/integrations/tts-factory.d.ts +1 -1
- package/node_modules/@comis/skills/dist/tools/integrations/tts-factory.js +2 -2
- package/node_modules/@comis/skills/dist/tools/integrations/video-gen/classify-fal-video-error.d.ts +2 -2
- package/node_modules/@comis/skills/dist/tools/integrations/video-gen/fal-adapter.d.ts +6 -6
- package/node_modules/@comis/skills/dist/tools/integrations/video-gen/fal-adapter.js +32 -33
- package/node_modules/@comis/skills/dist/tools/integrations/video-gen/rate-limiter.js +2 -2
- package/node_modules/@comis/skills/dist/tools/integrations/video-gen/video-gen-factory.d.ts +3 -3
- package/node_modules/@comis/skills/dist/tools/media/ssrf-fetcher.d.ts +33 -4
- package/node_modules/@comis/skills/dist/tools/media/ssrf-fetcher.js +161 -39
- package/node_modules/@comis/skills/package.json +1 -1
- package/node_modules/@comis/web/dist/assets/{agent-detail-DTS1F-Ms.js → agent-detail-DyWC3FcQ.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{agent-editor-Ciyu1WDy.js → agent-editor-BEysejQV.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{agent-list-A1K8cnDs.js → agent-list-C3o2qKcC.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{billing-view-DeTSrDbU.js → billing-view-DicgbA0L.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{cache-health-BCWNSCJc.js → cache-health-CtKWyIsn.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{channel-detail-Dc9p_ikD.js → channel-detail-3L1l9zMD.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{channel-list-Ky4JkuxX.js → channel-list-trLI3xWS.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{chat-console-Dz_CizN8.js → chat-console-DsLKVxLB.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{config-editor-CMnaLKV1.js → config-editor-DJTsg_PF.js} +2 -2
- package/node_modules/@comis/web/dist/assets/{context-dag-browser-B4SfvEGD.js → context-dag-browser-CrwJ3vlZ.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{context-engine-D56GG59R.js → context-engine-BFkq8-KO.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{delivery-view-G4cBmG5M.js → delivery-view-Dwv3P_p-.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{diagnostics-view-Bf57kGOT.js → diagnostics-view-GknYBim7.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{ic-chat-message-CkDdrYHc.js → ic-chat-message-BpTf2pkH.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{ic-connection-dot-mggqNsPH.js → ic-connection-dot-DHLyVo60.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{ic-empty-state-f_kVNpuc.js → ic-empty-state-CqbUDzjw.js} +1 -1
- package/node_modules/@comis/web/dist/assets/ic-graph-canvas-Dllu1VH-.js +359 -0
- package/node_modules/@comis/web/dist/assets/{ic-tool-call-D1ykqLeH.js → ic-tool-call-BPInA28o.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{incident-view-Cd2e4cao.js → incident-view-CEJRF7CK.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{index-dqPriKJN.js → index-CZJxmgnn.js} +16 -16
- package/node_modules/@comis/web/dist/assets/{mcp-management-8zV6Sh-J.js → mcp-management-PP55pB8E.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{media-config-fz862yVg.js → media-config-6TEq89-c.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{media-test-tDL7lri1.js → media-test-DZwdURy9.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{memory-inspector-aSmZ-bVd.js → memory-inspector-3XZBzVWc.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{message-center-DWfIgL7i.js → message-center-DQ3JR8lQ.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{models-H5of-8R4.js → models-D9nphNYy.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{observe-view-ExySKnkt.js → observe-view-BHCiRVen.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{pipeline-builder-p1GmDJy5.js → pipeline-builder-G7RhzfhZ.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{pipeline-history-DQEU-Ieu.js → pipeline-history-CJF_3Zqw.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{pipeline-history-detail-Bu51TMIX.js → pipeline-history-detail-Bxp-uFDB.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{pipeline-list-DaYyj89m.js → pipeline-list-D1TODVHR.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{pipeline-monitor-DV_7bRn2.js → pipeline-monitor-Dps90mZy.js} +2 -2
- package/node_modules/@comis/web/dist/assets/{scheduler-D0YVlb55.js → scheduler-aCuH_2-E.js} +29 -4
- package/node_modules/@comis/web/dist/assets/{security-78aeYyN2.js → security-Cvdhapvi.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{session-detail-D1yJ9diX.js → session-detail-BmjoBs8U.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{session-list-CxPzhPnX.js → session-list-4CBdQUNc.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{setup-wizard-SjMlBTNp.js → setup-wizard-DpNqhoYY.js} +2 -2
- package/node_modules/@comis/web/dist/assets/{skills-M6MQLY5D.js → skills-DNIjoBum.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{spend-governance-C0hIl9wq.js → spend-governance-BIprv4ad.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{subagents-CLCo4cfc.js → subagents-XTaqiG7-.js} +1 -1
- package/node_modules/@comis/web/dist/assets/{workspace-manager-BzHAmYW2.js → workspace-manager-n4R9h9N8.js} +1 -1
- package/node_modules/@comis/web/dist/index.html +1 -1
- package/node_modules/@comis/web/package.json +1 -1
- package/package.json +21 -19
- package/node_modules/@comis/web/dist/assets/ic-graph-canvas-CBDFKlf5.js +0 -359
|
@@ -6,19 +6,18 @@
|
|
|
6
6
|
* Each constant uses verbose UPPER_SNAKE_CASE naming and includes
|
|
7
7
|
* a JSDoc comment explaining its purpose and which layer consumes it.
|
|
8
8
|
*
|
|
9
|
-
* Constants are NOT exposed in user config
|
|
10
|
-
*
|
|
9
|
+
* Constants are NOT exposed in user config — budget components are
|
|
10
|
+
* internal. Users control the pipeline via
|
|
11
11
|
* ContextEngineConfigSchema (enabled, thinkingKeepTurns).
|
|
12
12
|
*
|
|
13
13
|
* @module
|
|
14
14
|
*/
|
|
15
15
|
// ---------------------------------------------------------------------------
|
|
16
|
-
// Output Headroom (Layer 0: reasoning-aware output floor
|
|
16
|
+
// Output Headroom (Layer 0: reasoning-aware output floor)
|
|
17
17
|
// ---------------------------------------------------------------------------
|
|
18
18
|
/** Minimum visible output tokens guaranteed on every LLM dispatch — the
|
|
19
19
|
* non-reasoning floor (the answer/tool-call body that must survive after the
|
|
20
|
-
* thinking block). Used by: output-headroom.ts + config-resolver.ts clamp.
|
|
21
|
-
* Design ref: design/small-model-context-fidelity.md §4 Fix 3 item 1. */
|
|
20
|
+
* thinking block). Used by: output-headroom.ts + config-resolver.ts clamp. */
|
|
22
21
|
export const MIN_VISIBLE_OUTPUT_TOKENS = 768;
|
|
23
22
|
// ---------------------------------------------------------------------------
|
|
24
23
|
// Token Budget Algebra (Layer 0: budget computation)
|
|
@@ -122,8 +121,8 @@ export function resolveToolMaskingTier(toolName) {
|
|
|
122
121
|
* 3.5 better matches Anthropic's tokenizer (measured 38.8% overcount at 4.0
|
|
123
122
|
* against production dashboard data). Aligned with estimateBlockTokens().
|
|
124
123
|
*
|
|
125
|
-
* Ratios are Latin-calibrated and stay flat here;
|
|
126
|
-
*
|
|
124
|
+
* Ratios are Latin-calibrated and stay flat here; call sites with
|
|
125
|
+
* source text in scope modulate the divisor by
|
|
127
126
|
* scriptTokenFactor(text) from @comis/core (dense scripts — Hebrew/Arabic/
|
|
128
127
|
* CJK/etc — carry ~2-3× tokens per char). Sites without text in scope are
|
|
129
128
|
* marked flat-by-design at the call site. */
|
|
@@ -141,7 +140,7 @@ export const SYSTEM_PROMPT_HASH_LENGTH = 16;
|
|
|
141
140
|
/**
|
|
142
141
|
* Warn if bootstrap content exceeds this percentage of estimated total prompt input.
|
|
143
142
|
*
|
|
144
|
-
*
|
|
143
|
+
* The denominator is `systemPromptChars + toolDefOverheadChars` (system prompt + tool schemas),
|
|
145
144
|
* not raw system prompt alone. Threshold lowered from 85→40: fires only when bootstrap is
|
|
146
145
|
* genuinely disproportionate to the full assembled input, eliminating the 100% false-alarm
|
|
147
146
|
* rate on small-model turns (compact-secure system prompt ~2.8K vs ~12K bootstrap).
|
|
@@ -213,10 +212,10 @@ export const DEFAULT_COMPACTION_PREFIX_ANCHOR_TURNS = 2;
|
|
|
213
212
|
* Below this threshold, compaction is skipped since savings are negligible.
|
|
214
213
|
* Used by: llm-compaction layer. */
|
|
215
214
|
export const MIN_MIDDLE_MESSAGES_FOR_COMPACTION = 3;
|
|
216
|
-
/**
|
|
215
|
+
/** Reserved token allowance for the summarizer prompt
|
|
217
216
|
* TEMPLATE around the input span — the SDK generateSummary instruction
|
|
218
217
|
* template (order of a few hundred tokens), reserved with margin. The
|
|
219
|
-
* threaded previousSummary is NOT covered by this constant (
|
|
218
|
+
* threaded previousSummary is NOT covered by this constant (it
|
|
220
219
|
* can itself be ~target-sized — 1_200 leaf / 2_000 condense defaults, and
|
|
221
220
|
* `condensedTargetTokens` allows 10_000 — so a flat reserve cannot cover it
|
|
222
221
|
* by its own arithmetic); both LCD clamp sites subtract the ACTUAL
|
|
@@ -231,22 +230,22 @@ export const MIN_MIDDLE_MESSAGES_FOR_COMPACTION = 3;
|
|
|
231
230
|
* (leaf chunk clamp), lcd-condense-trigger (condense prefix clamp). */
|
|
232
231
|
export const SUMMARIZER_PROMPT_OVERHEAD_TOKENS = 2_048;
|
|
233
232
|
// ---------------------------------------------------------------------------
|
|
234
|
-
// LCD Leaf Summarization Escalation
|
|
233
|
+
// LCD Leaf Summarization Escalation
|
|
235
234
|
// ---------------------------------------------------------------------------
|
|
236
235
|
/** Bounded token target for the deterministic Level-3 leaf-summary truncation —
|
|
237
|
-
* the guaranteed-shrink floor
|
|
236
|
+
* the guaranteed-shrink floor. When both LLM summarization
|
|
238
237
|
* levels fail to reduce the chunk (oversized output or throws), Level 3 builds a
|
|
239
238
|
* count-only note capped at this size so the leaf summary ALWAYS ends up strictly
|
|
240
239
|
* smaller than the chunk it replaces (the escalation terminator — never loops).
|
|
241
240
|
* Used by: lcd-leaf-summarizer (Level-3 deterministic truncation). */
|
|
242
241
|
export const LEAF_FALLBACK_TARGET_TOKENS = 512;
|
|
243
242
|
/** Marker string prefixed onto the deterministic Level-3 leaf truncation output so
|
|
244
|
-
* a fallback (non-LLM) leaf summary is identifiable downstream (
|
|
245
|
-
* taint-escapes it; the assembler/store record `fallback: true`). The two LLM
|
|
243
|
+
* a fallback (non-LLM) leaf summary is identifiable downstream (the summarizer
|
|
244
|
+
* wrapper taint-escapes it; the assembler/store record `fallback: true`). The two LLM
|
|
246
245
|
* levels never emit this marker — its presence means the deterministic floor ran.
|
|
247
246
|
* Used by: lcd-leaf-summarizer (Level-3 marker). */
|
|
248
247
|
export const LEAF_FALLBACK_SUMMARY_MARKER = "[lcd-leaf-fallback]";
|
|
249
|
-
/**
|
|
248
|
+
/** Hard cap on the number of leaf passes one afterTurn drain may fire (the
|
|
250
249
|
* infinite-loop backstop). The drain loops `runOneLeafPass` — re-resolving the
|
|
251
250
|
* model-facing view each iteration so utilization reflects the prior pass's
|
|
252
251
|
* compaction — and terminates on the FIRST of: utilization ≤ contextThreshold
|
|
@@ -259,10 +258,10 @@ export const LEAF_FALLBACK_SUMMARY_MARKER = "[lcd-leaf-fallback]";
|
|
|
259
258
|
* is enough to drain a few back-to-back large turns' backlog under threshold in one
|
|
260
259
|
* turn while bounding worst-case added latency; a sustained over-threshold load that
|
|
261
260
|
* the cap cannot fully drain in one turn simply continues draining on the next
|
|
262
|
-
* afterTurn (the leaf gate stays armed) rather than stalling at one pass forever
|
|
263
|
-
*
|
|
261
|
+
* afterTurn (the leaf gate stays armed) rather than stalling at one pass forever.
|
|
262
|
+
* Used by: lcd-compaction-trigger (the drain loop cap). */
|
|
264
263
|
export const LCD_MAX_LEAF_PASSES_PER_TURN = 4;
|
|
265
|
-
/** TRUSTED-HEADER marker
|
|
264
|
+
/** TRUSTED-HEADER marker appended to a fallback summary's
|
|
266
265
|
* `summaryRefToMessage` header — OUTSIDE the `wrapExternalContent` untrusted
|
|
267
266
|
* region — so the model is honestly told the summary is an emergency, degraded
|
|
268
267
|
* truncation (the breaker/spend-cap floor or the deterministic Level-3 floor
|
|
@@ -273,17 +272,17 @@ export const LCD_MAX_LEAF_PASSES_PER_TURN = 4;
|
|
|
273
272
|
* Distinct concern from {@link LEAF_FALLBACK_SUMMARY_MARKER} (the in-CONTENT
|
|
274
273
|
* Level-3 prefix); this is the header equivalent. Used by: lcd-assembler. */
|
|
275
274
|
export const LCD_FALLBACK_HEADER_MARKER = "fallback=emergency-truncation";
|
|
276
|
-
/**
|
|
275
|
+
/** Per-tool-RESULT character cap for tool results sitting in the LCD `dag`
|
|
277
276
|
* assembler's UNCONDITIONAL fresh tail. The dag assembly path runs NEITHER the
|
|
278
277
|
* pipeline observation masker NOR the dead-content evictor (those are wired only
|
|
279
278
|
* in the pipeline branch), and the fresh tail is concatenated verbatim and
|
|
280
|
-
* UNCONDITIONALLY (`[...budgeted, ...freshTail]
|
|
279
|
+
* UNCONDITIONALLY (`[...budgeted, ...freshTail]`) — so a turn whose last
|
|
281
280
|
* `freshTailTurns` steps carry a huge tool output (a 200K-char file read, a giant
|
|
282
281
|
* command dump) can overflow the model window before any budget pass sees it.
|
|
283
282
|
* This cap bounds each oversized fresh-tail tool RESULT's total text via the
|
|
284
283
|
* shared `createToolResultSizeGuard()` (head+tail+honest marker — NOT hand-rolled)
|
|
285
|
-
* while every result that fits passes through byte-identical (
|
|
286
|
-
* what fits).
|
|
284
|
+
* while every result that fits passes through byte-identical (verbatim
|
|
285
|
+
* fresh-tail fidelity preserved for what fits).
|
|
287
286
|
*
|
|
288
287
|
* Value = {@link TOOL_RESULT_HARD_CAP_CHARS} (100_000), the same absolute
|
|
289
288
|
* per-result ceiling the pipeline microcompaction guard enforces — chosen for
|
|
@@ -295,10 +294,10 @@ export const LCD_FALLBACK_HEADER_MARKER = "fallback=emergency-truncation";
|
|
|
295
294
|
* per result at {@link CHARS_PER_TOKEN_RATIO}, so even a fresh tail of several
|
|
296
295
|
* capped results fits any modern window's fresh-tail allowance — masking is
|
|
297
296
|
* acceptable ONLY because the LCD store keeps the full content losslessly and
|
|
298
|
-
* `ctx_expand` recovers it. Used by: lcd-assembler (
|
|
297
|
+
* `ctx_expand` recovers it. Used by: lcd-assembler (fresh-tail bounding). */
|
|
299
298
|
export const LCD_FRESH_TAIL_MAX_TOOL_RESULT_CHARS = TOOL_RESULT_HARD_CAP_CHARS;
|
|
300
299
|
// ---------------------------------------------------------------------------
|
|
301
|
-
// LCD Condensation Escalation
|
|
300
|
+
// LCD Condensation Escalation — the depth>0 summary-of-summaries
|
|
302
301
|
// ---------------------------------------------------------------------------
|
|
303
302
|
/** Bounded token target for the deterministic Level-3 CONDENSATION truncation —
|
|
304
303
|
* the guaranteed-shrink floor mirroring {@link LEAF_FALLBACK_TARGET_TOKENS}. When
|
|
@@ -310,7 +309,7 @@ export const LCD_FRESH_TAIL_MAX_TOOL_RESULT_CHARS = TOOL_RESULT_HARD_CAP_CHARS;
|
|
|
310
309
|
export const CONDENSED_FALLBACK_TARGET_TOKENS = 512;
|
|
311
310
|
/** Marker string prefixed onto the deterministic Level-3 condensation truncation
|
|
312
311
|
* output so a fallback (non-LLM) condensed summary is identifiable downstream
|
|
313
|
-
* (
|
|
312
|
+
* (the summarizer wrapper taint-escapes it; the store records `fallback: true`). The two LLM
|
|
314
313
|
* levels never emit this marker — its presence means the deterministic floor ran.
|
|
315
314
|
* Distinct from the leaf marker so the two tiers' floors are separable in logs +
|
|
316
315
|
* the synthetic-session gate. Used by: lcd-condense (Level-3 marker). */
|
|
@@ -156,15 +156,15 @@ function getCallbackSnapshot(state) {
|
|
|
156
156
|
* @returns ContextEngine with a `transformContext` function for the SDK hook
|
|
157
157
|
*/
|
|
158
158
|
export function createContextEngine(config, deps) {
|
|
159
|
-
// Pass-through when disabled (
|
|
159
|
+
// Pass-through when disabled (zero overhead by contract)
|
|
160
160
|
if (!config.enabled) {
|
|
161
161
|
return { transformContext: async (msgs) => msgs, lastBreakpointIndex: undefined, lastTrimOffset: 0 };
|
|
162
162
|
}
|
|
163
|
-
// DAG/LCD mode (the default
|
|
163
|
+
// DAG/LCD mode (the default): when a ContextStorePort +
|
|
164
164
|
// conversationId are wired (the daemon injects the concrete createLcdStore
|
|
165
165
|
// unconditionally), return the LCD assembly engine -- history reconstructed
|
|
166
|
-
// from the store via the codec, verbatim fresh tail, transcript repair last
|
|
167
|
-
//
|
|
166
|
+
// from the store via the codec, verbatim fresh tail, transcript repair last.
|
|
167
|
+
// With NO store wired (unit tests / non-daemon
|
|
168
168
|
// callers) it must NOT crash and must NOT no-op: it WARN-logs
|
|
169
169
|
// (errorKind: "config") and falls through to the pipeline assembly below --
|
|
170
170
|
// the storeless safety net that makes the dag-default flip non-breaking
|
|
@@ -199,13 +199,13 @@ export function createContextEngine(config, deps) {
|
|
|
199
199
|
// Build layers array based on model capabilities
|
|
200
200
|
const layers = [];
|
|
201
201
|
// Thinking block cleaner: skip entirely for non-thinking providers
|
|
202
|
-
// (zero overhead
|
|
202
|
+
// (zero overhead for models that never emit thinking blocks)
|
|
203
203
|
let thinkingCleaner;
|
|
204
204
|
if (model.reasoning) {
|
|
205
205
|
thinkingCleaner = createThinkingBlockCleaner(config.thinkingKeepTurns, (stats) => { callbackState.thinking = stats; }, deps.getThinkingKeepTurnsOverride);
|
|
206
206
|
layers.push(thinkingCleaner);
|
|
207
207
|
}
|
|
208
|
-
// Signature replay scrubber
|
|
208
|
+
// Signature replay scrubber: strip signed thinking blocks
|
|
209
209
|
// from EVERY assistant message (latest included) before the next API call.
|
|
210
210
|
// Always-on (not gated by model.reasoning): Gemini's thoughtSignature on
|
|
211
211
|
// toolCall blocks requires this even for non-reasoning models.
|
|
@@ -217,7 +217,7 @@ export function createContextEngine(config, deps) {
|
|
|
217
217
|
deps.onSignatureReplayScrubbed?.(stats);
|
|
218
218
|
},
|
|
219
219
|
}));
|
|
220
|
-
// Signature surrogate guard
|
|
220
|
+
// Signature surrogate guard: scrub thinkingSignature from blocks
|
|
221
221
|
// whose text contains unpaired UTF-16 surrogates so pi-ai's
|
|
222
222
|
// sanitizeSurrogates() does not produce a sanitized-text-with-original-
|
|
223
223
|
// signature mismatch on replay. Always active — cost is one walk over
|
|
@@ -282,7 +282,7 @@ export function createContextEngine(config, deps) {
|
|
|
282
282
|
if (deps.objective) {
|
|
283
283
|
layers.push(createObjectiveReinforcementLayer(deps.objective));
|
|
284
284
|
}
|
|
285
|
-
// Transcript repair
|
|
285
|
+
// Transcript repair -- the ABSOLUTE FINAL pipeline layer, mirroring the
|
|
286
286
|
// DAG/LCD path where `sanitizeToolUseResultPairing` runs last (lcd-assembler).
|
|
287
287
|
// The pipeline previously had NO final pairing repair: its layers only AVOID
|
|
288
288
|
// CREATING orphans during windowing/eviction; none DROPS a PRE-EXISTING orphan
|
|
@@ -330,7 +330,7 @@ export function createContextEngine(config, deps) {
|
|
|
330
330
|
}
|
|
331
331
|
// Create session-scoped circuit breaker
|
|
332
332
|
const breaker = createLayerCircuitBreaker(LAYER_CIRCUIT_BREAKER_THRESHOLD, deps.logger);
|
|
333
|
-
// Log
|
|
333
|
+
// Log the active layer set + config once at startup (INFO)
|
|
334
334
|
deps.logger.info({
|
|
335
335
|
thinkingKeepTurns: config.thinkingKeepTurns,
|
|
336
336
|
historyTurns,
|
|
@@ -377,7 +377,7 @@ export function createContextEngine(config, deps) {
|
|
|
377
377
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
378
378
|
const initialChars = estimateContextCharsWithDualRatio(messages);
|
|
379
379
|
/* eslint-enable @typescript-eslint/no-explicit-any */
|
|
380
|
-
// flat-by-design: pipeline cold-start aggregate (same window as llm-compaction trigger; anchor self-corrects)
|
|
380
|
+
// flat-by-design: pipeline cold-start aggregate (same window as llm-compaction trigger; anchor self-corrects)
|
|
381
381
|
const charBasedTokens = Math.ceil(initialChars / CHARS_PER_TOKEN_RATIO);
|
|
382
382
|
const anchor = deps.getTokenAnchor?.() ?? null;
|
|
383
383
|
tokensLoaded = estimateWithAnchor(anchor, messages, charBasedTokens);
|
|
@@ -426,7 +426,7 @@ export function createContextEngine(config, deps) {
|
|
|
426
426
|
catch {
|
|
427
427
|
// Estimation failure should not block the pipeline
|
|
428
428
|
}
|
|
429
|
-
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
429
|
+
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
430
430
|
const resultTokens = Math.ceil(resultChars / CHARS_PER_TOKEN_RATIO);
|
|
431
431
|
const budgetUtilization = budget.availableHistoryTokens > 0
|
|
432
432
|
? resultTokens / budget.availableHistoryTokens
|
|
@@ -440,7 +440,7 @@ export function createContextEngine(config, deps) {
|
|
|
440
440
|
// compacted context are likely the system-adjacent prefix that's still cached.
|
|
441
441
|
if (snap.compaction !== null) {
|
|
442
442
|
const prevFence = engine.lastBreakpointIndex;
|
|
443
|
-
//
|
|
443
|
+
// `result` IS the compacted array the fence indexes into; never gate this on the compaction stats OBJECT (e.g. Array.isArray(snap.compaction) is always false and would silently reset the fence to -1).
|
|
444
444
|
const compactedLength = result.length;
|
|
445
445
|
engine.lastBreakpointIndex = compactedLength > 0
|
|
446
446
|
? Math.max(0, Math.floor(compactedLength / 3))
|
|
@@ -490,13 +490,13 @@ export function createContextEngine(config, deps) {
|
|
|
490
490
|
// Re-read detection failure should not block the pipeline
|
|
491
491
|
}
|
|
492
492
|
// Build metrics
|
|
493
|
-
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
493
|
+
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
494
494
|
const tokensMasked = snap.masker ? Math.ceil(snap.masker.totalChars / CHARS_PER_TOKEN_RATIO) : 0;
|
|
495
495
|
const tokensCompacted = snap.compaction
|
|
496
|
-
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
496
|
+
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
497
497
|
? Math.max(0, tokensLoaded - Math.ceil(resultChars / CHARS_PER_TOKEN_RATIO))
|
|
498
498
|
: 0;
|
|
499
|
-
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
499
|
+
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
500
500
|
const tokensEvicted = snap.evictor ? Math.ceil(snap.evictor.evictedChars / CHARS_PER_TOKEN_RATIO) : 0;
|
|
501
501
|
const durationMs = systemNowMs() - pipelineStart;
|
|
502
502
|
const metrics = {
|
|
@@ -561,9 +561,9 @@ export function createContextEngine(config, deps) {
|
|
|
561
561
|
deps.eventBus.emit("context:overflow", {
|
|
562
562
|
agentId,
|
|
563
563
|
sessionKey,
|
|
564
|
-
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
564
|
+
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
565
565
|
contextTokens: Math.ceil(snap.overflow.contextChars / CHARS_PER_TOKEN_RATIO),
|
|
566
|
-
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
566
|
+
// flat-by-design: aggregate observability stat — numbers-only log, not budget math
|
|
567
567
|
budgetTokens: Math.ceil(snap.overflow.budgetChars / CHARS_PER_TOKEN_RATIO),
|
|
568
568
|
recoveryAction: snap.overflow.recoveryAction,
|
|
569
569
|
timestamp,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Context-engine error types
|
|
2
|
+
* Context-engine error types.
|
|
3
3
|
*
|
|
4
4
|
* These named error classes cross the transformContext boundary so the executor
|
|
5
5
|
* can map them to the correct finishReason without inspecting string messages.
|
|
@@ -8,28 +8,28 @@ import type { ContextWindowCapInfo } from "./types-core.js";
|
|
|
8
8
|
/**
|
|
9
9
|
* Stable prefix of every ContextExhaustionError message.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* When this error is thrown by the pre-flight during a MID-TURN
|
|
12
12
|
* continuation, the pi-ai SDK converts the throw into a turn_end with
|
|
13
13
|
* stopReason:"error" and a STRING errorMessage — the `instanceof` is lost, so
|
|
14
14
|
* the top-level handleEnvelopeException mapping never runs. The bridge recovers
|
|
15
15
|
* the signal at that boundary via `isContextExhaustionErrorMessage()`. Sharing
|
|
16
16
|
* this prefix between the constructor and the predicate keeps the contract from
|
|
17
|
-
* drifting (no magic literal in the bridge).
|
|
17
|
+
* drifting (no magic literal in the bridge).
|
|
18
18
|
*/
|
|
19
19
|
export declare const CONTEXT_EXHAUSTION_MESSAGE_PREFIX: "Context exhausted: assembled";
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
21
|
+
* WHY the fit failed, so the degraded reply can point at the right knob.
|
|
22
|
+
* The generic "narrow the ask" advice is actively misleading when the
|
|
23
|
+
* offender is a persisted oversized message in HISTORY (the ask may be
|
|
24
|
+
* tiny).
|
|
25
25
|
*
|
|
26
26
|
* - `oversized_input`: the CURRENT user message alone cannot fit — "narrow
|
|
27
27
|
* the ask" / "shorten the message" is the correct remedy.
|
|
28
28
|
* - `oversized_history_message`: a SINGLE earlier message alone cannot fit —
|
|
29
|
-
* only clearing the session (or raising the window) helps; with the
|
|
30
|
-
* assembly bound in place this cause should no longer occur, but
|
|
31
|
-
* classification stays for robustness (e.g. an operator-cranked cap).
|
|
32
|
-
* - `fixed_overhead_exceeds_window
|
|
29
|
+
* only clearing the session (or raising the window) helps; with the
|
|
30
|
+
* fresh-tail assembly bound in place this cause should no longer occur, but
|
|
31
|
+
* the classification stays for robustness (e.g. an operator-cranked cap).
|
|
32
|
+
* - `fixed_overhead_exceeds_window`: the
|
|
33
33
|
* NON-EVICTABLE fixed overhead — the system prompt + tool schemas (S =
|
|
34
34
|
* getSystemTokensEstimate) — ALONE exceeds the bound, so the turn is
|
|
35
35
|
* infeasible regardless of history, thinking level, OR message size. The
|
|
@@ -39,38 +39,37 @@ export declare const CONTEXT_EXHAUSTION_MESSAGE_PREFIX: "Context exhausted: asse
|
|
|
39
39
|
* text. The window-aware tool-budget fit pass (executor-tool-assembly.ts
|
|
40
40
|
* enforceToolBudgetFit) defers tools to prevent this on adequate windows; the
|
|
41
41
|
* degenerate window<prompt case still throws, and this cause makes it HONEST
|
|
42
|
-
* (it
|
|
42
|
+
* (classifying it as `oversized_input` would wrongly blame the message).
|
|
43
43
|
* - `aggregate`: the conversation + tools collectively overflow — compaction /
|
|
44
|
-
* cap-raise / fewer tools advice applies (the
|
|
44
|
+
* cap-raise / fewer tools advice applies (the default classification).
|
|
45
45
|
*/
|
|
46
46
|
export type ContextExhaustionCause = "oversized_input" | "oversized_history_message" | "fixed_overhead_exceeds_window" | "aggregate";
|
|
47
47
|
/**
|
|
48
48
|
* Recover the {@link ContextExhaustionCause} from an exhaustion message string
|
|
49
49
|
* that crossed a type-stripping boundary (`result.errorContext.originalError`
|
|
50
|
-
* on the top-level path, `lastLlmErrorMessage` on the
|
|
50
|
+
* on the top-level path, `lastLlmErrorMessage` on the mid-turn path).
|
|
51
51
|
* Pure; tolerant of undefined/untagged input (→ "aggregate").
|
|
52
52
|
*/
|
|
53
53
|
export declare function parseContextExhaustionCause(message: string | undefined): ContextExhaustionCause;
|
|
54
54
|
/** Returns the capped-window suffix for the exhaustion message, or "" when
|
|
55
55
|
* uncapped/unknown. Exported for reuse by the pre-flight WARN hint.
|
|
56
|
-
*
|
|
56
|
+
* Branched by source — the served bind gets the Ollama remedy and
|
|
57
57
|
* the capabilityClass bind gets the pin remedy ("raise it (0 = uncapped)" is
|
|
58
58
|
* the WRONG knob for both: served lives in Ollama, and the executor's class
|
|
59
|
-
* cap reads only the operator's capabilityClass pin
|
|
59
|
+
* cap reads only the operator's capabilityClass pin). A budget-knob
|
|
60
60
|
* bind with served provenance names the full chain (configured → served → cap). */
|
|
61
61
|
export declare function describeWindowCap(effectiveWindow: number, capInfo?: ContextWindowCapInfo): string;
|
|
62
62
|
/** Thrown by lcd-assembler.transformContext when assembled input cannot fit in the
|
|
63
63
|
* effective window even after eviction, preamble trimming, and thinking down-shift.
|
|
64
|
-
* Caught by the executor and mapped to finishReason: "context_exhausted".
|
|
65
|
-
* Design ref: design/small-model-context-fidelity.md §4 Fix 3 item 2d. */
|
|
64
|
+
* Caught by the executor and mapped to finishReason: "context_exhausted". */
|
|
66
65
|
export declare class ContextExhaustionError extends Error {
|
|
67
66
|
readonly effectiveWindow: number;
|
|
68
67
|
readonly assembledTokens: number;
|
|
69
|
-
/**
|
|
68
|
+
/** Why the fit failed (default "aggregate" — the unmarked shape). */
|
|
70
69
|
readonly exhaustionCause: ContextExhaustionCause;
|
|
71
70
|
name: "ContextExhaustionError";
|
|
72
71
|
constructor(effectiveWindow: number, assembledTokens: number, capInfo?: ContextWindowCapInfo,
|
|
73
|
-
/**
|
|
72
|
+
/** Why the fit failed (default "aggregate" — the unmarked shape). */
|
|
74
73
|
exhaustionCause?: ContextExhaustionCause);
|
|
75
74
|
}
|
|
76
75
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: Apache-2.0
|
|
2
2
|
/**
|
|
3
|
-
* Context-engine error types
|
|
3
|
+
* Context-engine error types.
|
|
4
4
|
*
|
|
5
5
|
* These named error classes cross the transformContext boundary so the executor
|
|
6
6
|
* can map them to the correct finishReason without inspecting string messages.
|
|
@@ -8,28 +8,28 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* Stable prefix of every ContextExhaustionError message.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* When this error is thrown by the pre-flight during a MID-TURN
|
|
12
12
|
* continuation, the pi-ai SDK converts the throw into a turn_end with
|
|
13
13
|
* stopReason:"error" and a STRING errorMessage — the `instanceof` is lost, so
|
|
14
14
|
* the top-level handleEnvelopeException mapping never runs. The bridge recovers
|
|
15
15
|
* the signal at that boundary via `isContextExhaustionErrorMessage()`. Sharing
|
|
16
16
|
* this prefix between the constructor and the predicate keeps the contract from
|
|
17
|
-
* drifting (no magic literal in the bridge).
|
|
17
|
+
* drifting (no magic literal in the bridge).
|
|
18
18
|
*/
|
|
19
19
|
export const CONTEXT_EXHAUSTION_MESSAGE_PREFIX = "Context exhausted: assembled";
|
|
20
20
|
/**
|
|
21
21
|
* The `[cause: …]` tag appended to the exhaustion message. Like
|
|
22
22
|
* {@link CONTEXT_EXHAUSTION_MESSAGE_PREFIX}, the tag is a SHARED CONTRACT
|
|
23
23
|
* between the constructor and {@link parseContextExhaustionCause}: the error
|
|
24
|
-
* crosses the SDK's turn_end-error boundary as a bare STRING
|
|
24
|
+
* crosses the SDK's turn_end-error boundary as a bare STRING, so the
|
|
25
25
|
* cause must survive inside the message text. "aggregate" is the unmarked
|
|
26
|
-
* default —
|
|
26
|
+
* default — untagged messages parse as aggregate.
|
|
27
27
|
*/
|
|
28
28
|
const CAUSE_TAG_PATTERN = /\[cause: (oversized_input|oversized_history_message|fixed_overhead_exceeds_window)\]/;
|
|
29
29
|
/**
|
|
30
30
|
* Recover the {@link ContextExhaustionCause} from an exhaustion message string
|
|
31
31
|
* that crossed a type-stripping boundary (`result.errorContext.originalError`
|
|
32
|
-
* on the top-level path, `lastLlmErrorMessage` on the
|
|
32
|
+
* on the top-level path, `lastLlmErrorMessage` on the mid-turn path).
|
|
33
33
|
* Pure; tolerant of undefined/untagged input (→ "aggregate").
|
|
34
34
|
*/
|
|
35
35
|
export function parseContextExhaustionCause(message) {
|
|
@@ -40,11 +40,11 @@ export function parseContextExhaustionCause(message) {
|
|
|
40
40
|
* Maps a WindowCapSource onto the exact knob an operator must turn — the
|
|
41
41
|
* message must name the KNOB, not just the number, so an operator (or an
|
|
42
42
|
* LLM agent reading the log) can fix it without reading budget-capacity-cap.ts
|
|
43
|
-
* (
|
|
44
|
-
*
|
|
45
|
-
*
|
|
43
|
+
* (a log line reporting "effective window 32000" against a configured
|
|
44
|
+
* contextWindow of 131072 with no link between them is undiagnosable).
|
|
45
|
+
* The cap-class entries are `contextEngine.budget.*` config keys; the
|
|
46
46
|
* `served` entry names the OLLAMA knobs (env / Modelfile); the
|
|
47
|
-
* `capabilityClass` entry
|
|
47
|
+
* `capabilityClass` entry names the operator's
|
|
48
48
|
* `providers.entries.<id>.capabilities.capabilityClass` PIN — the executor's
|
|
49
49
|
* DEFAULT_EFFECTIVE_CAP_BY_CLASS cap never reads the budget knobs, so
|
|
50
50
|
* "raise contextEngine.budget.effectiveContextCapSmall" is a DEAD lever on
|
|
@@ -59,10 +59,10 @@ const CAP_KNOB_BY_SOURCE = {
|
|
|
59
59
|
};
|
|
60
60
|
/** Returns the capped-window suffix for the exhaustion message, or "" when
|
|
61
61
|
* uncapped/unknown. Exported for reuse by the pre-flight WARN hint.
|
|
62
|
-
*
|
|
62
|
+
* Branched by source — the served bind gets the Ollama remedy and
|
|
63
63
|
* the capabilityClass bind gets the pin remedy ("raise it (0 = uncapped)" is
|
|
64
64
|
* the WRONG knob for both: served lives in Ollama, and the executor's class
|
|
65
|
-
* cap reads only the operator's capabilityClass pin
|
|
65
|
+
* cap reads only the operator's capabilityClass pin). A budget-knob
|
|
66
66
|
* bind with served provenance names the full chain (configured → served → cap). */
|
|
67
67
|
export function describeWindowCap(effectiveWindow, capInfo) {
|
|
68
68
|
if (capInfo === undefined || capInfo.windowCapSource === "none")
|
|
@@ -74,7 +74,7 @@ export function describeWindowCap(effectiveWindow, capInfo) {
|
|
|
74
74
|
}
|
|
75
75
|
const knob = CAP_KNOB_BY_SOURCE[capInfo.windowCapSource];
|
|
76
76
|
const servedClause = capInfo.servedWindowTokens !== undefined ? `, Ollama serves ${capInfo.servedWindowTokens},` : "";
|
|
77
|
-
//
|
|
77
|
+
// The remedy must match the lever that actually moves the window —
|
|
78
78
|
// the budget knobs are numeric ("raise it, 0 = uncapped"); the capability
|
|
79
79
|
// pin is a class name (raise/remove the pin; the budget knob is inert here).
|
|
80
80
|
const remedy = capInfo.windowCapSource === "capabilityClass"
|
|
@@ -85,20 +85,19 @@ export function describeWindowCap(effectiveWindow, capInfo) {
|
|
|
85
85
|
}
|
|
86
86
|
/** Thrown by lcd-assembler.transformContext when assembled input cannot fit in the
|
|
87
87
|
* effective window even after eviction, preamble trimming, and thinking down-shift.
|
|
88
|
-
* Caught by the executor and mapped to finishReason: "context_exhausted".
|
|
89
|
-
* Design ref: design/small-model-context-fidelity.md §4 Fix 3 item 2d. */
|
|
88
|
+
* Caught by the executor and mapped to finishReason: "context_exhausted". */
|
|
90
89
|
export class ContextExhaustionError extends Error {
|
|
91
90
|
effectiveWindow;
|
|
92
91
|
assembledTokens;
|
|
93
92
|
exhaustionCause;
|
|
94
93
|
name = "ContextExhaustionError";
|
|
95
94
|
constructor(effectiveWindow, assembledTokens, capInfo,
|
|
96
|
-
/**
|
|
95
|
+
/** Why the fit failed (default "aggregate" — the unmarked shape). */
|
|
97
96
|
exhaustionCause = "aggregate") {
|
|
98
97
|
super(`${CONTEXT_EXHAUSTION_MESSAGE_PREFIX} ${assembledTokens} tokens leaves no room in effective window ${effectiveWindow}` +
|
|
99
98
|
describeWindowCap(effectiveWindow, capInfo) +
|
|
100
|
-
// The tag must survive the
|
|
101
|
-
// unmarked
|
|
99
|
+
// The tag must survive the turn_end string boundary; "aggregate" stays
|
|
100
|
+
// unmarked — the parser treats an untagged message as aggregate.
|
|
102
101
|
(exhaustionCause === "aggregate" ? "" : ` [cause: ${exhaustionCause}]`));
|
|
103
102
|
this.effectiveWindow = effectiveWindow;
|
|
104
103
|
this.assembledTokens = assembledTokens;
|
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
* check (lcd-preflight.ts) and the protected-fresh-tail total bound
|
|
4
4
|
* (lcd-fresh-tail-bound.ts `boundFreshTailTotalToResidual`).
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
* `ceil(chars / (CHARS_PER_TOKEN_RATIO × scriptTokenFactor))` (≈3.5:1)
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* (large residual — e.g. OpenAI gpt-5-nano S=1145 → residual
|
|
11
|
-
* insufficient and the bounded fresh tail still
|
|
12
|
-
* exhaustion. Single-sourcing the estimator here
|
|
13
|
-
* ANY system-prompt size, with no fudge
|
|
6
|
+
* The two consumers MUST share one estimator. With different estimators — e.g.
|
|
7
|
+
* `ceil(chars / (CHARS_PER_TOKEN_RATIO × scriptTokenFactor))` (≈3.5:1) in the
|
|
8
|
+
* pre-flight but a ≈4:1 `estimateMessageTokens` plus a ×0.83 fudge in the
|
|
9
|
+
* fresh-tail bound — the ABSOLUTE gap scales with the residual, so on a SMALL
|
|
10
|
+
* system prompt (large residual — e.g. OpenAI gpt-5-nano S=1145 → residual
|
|
11
|
+
* ~6279) the fudge is insufficient and the bounded fresh tail still measures
|
|
12
|
+
* over the pre-flight bound → exhaustion. Single-sourcing the estimator here
|
|
13
|
+
* makes the bound == the measure for ANY system-prompt size, with no fudge
|
|
14
|
+
* factor and no possibility of future drift.
|
|
14
15
|
*
|
|
15
16
|
* Pure leaf — depends only on the chars/token ratio constant, the script factor, and
|
|
16
17
|
* the `AgentMessage` type. No cycle risk (imports nothing from lcd-preflight /
|
|
@@ -21,17 +22,17 @@
|
|
|
21
22
|
import type { AgentMessage } from "@earendil-works/pi-agent-core";
|
|
22
23
|
/**
|
|
23
24
|
* The exact text of one message that the factored estimate counts: string content,
|
|
24
|
-
* or the `text ?? content` field of each array block (the
|
|
25
|
+
* or the `text ?? content` field of each array block (the multi-part /
|
|
25
26
|
* tool-result shape — NOT text+content summed). The concatenation feeds
|
|
26
27
|
* scriptTokenFactor so the factor is computed over precisely the chars whose length
|
|
27
|
-
* is divided (
|
|
28
|
+
* is divided (identity-by-construction).
|
|
28
29
|
*/
|
|
29
30
|
export declare function messageText(m: AgentMessage): string;
|
|
30
31
|
/**
|
|
31
32
|
* The factored token estimate for one message: `ceil(chars / (CHARS_PER_TOKEN_RATIO
|
|
32
33
|
* × scriptTokenFactor(text)))`. This is the pre-flight's per-message formula
|
|
33
34
|
* (lcd-preflight.ts freshTailMsgTokens) — the authority for "does the fresh tail fit
|
|
34
|
-
* the window".
|
|
35
|
+
* the window". Dense scripts carry ~2-3× tokens/char; ASCII factor 1.0 →
|
|
35
36
|
* the bare `ceil(chars / 3.5)` form.
|
|
36
37
|
*/
|
|
37
38
|
export declare function factoredMessageTokens(m: AgentMessage): number;
|
|
@@ -2,10 +2,10 @@ import { scriptTokenFactor } from "@comis/core";
|
|
|
2
2
|
import { CHARS_PER_TOKEN_RATIO } from "./constants.js";
|
|
3
3
|
/**
|
|
4
4
|
* The exact text of one message that the factored estimate counts: string content,
|
|
5
|
-
* or the `text ?? content` field of each array block (the
|
|
5
|
+
* or the `text ?? content` field of each array block (the multi-part /
|
|
6
6
|
* tool-result shape — NOT text+content summed). The concatenation feeds
|
|
7
7
|
* scriptTokenFactor so the factor is computed over precisely the chars whose length
|
|
8
|
-
* is divided (
|
|
8
|
+
* is divided (identity-by-construction).
|
|
9
9
|
*/
|
|
10
10
|
export function messageText(m) {
|
|
11
11
|
const content = m.content;
|
|
@@ -29,7 +29,7 @@ export function messageText(m) {
|
|
|
29
29
|
* The factored token estimate for one message: `ceil(chars / (CHARS_PER_TOKEN_RATIO
|
|
30
30
|
* × scriptTokenFactor(text)))`. This is the pre-flight's per-message formula
|
|
31
31
|
* (lcd-preflight.ts freshTailMsgTokens) — the authority for "does the fresh tail fit
|
|
32
|
-
* the window".
|
|
32
|
+
* the window". Dense scripts carry ~2-3× tokens/char; ASCII factor 1.0 →
|
|
33
33
|
* the bare `ceil(chars / 3.5)` form.
|
|
34
34
|
*/
|
|
35
35
|
export function factoredMessageTokens(m) {
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* The relevance-first eviction seam, extracted from `lcd-assembler.ts`
|
|
3
3
|
* so the assembler stays under the 800-line file-size cap (the "keep the body THIN" rule;
|
|
4
4
|
* mirrors `recall-provenance.ts` / `lcd-store-provenance.ts` extractions). The assembler
|
|
5
5
|
* CALLS {@link evictUnderArbiter} on the relevance-first path and keeps the verbatim
|
|
6
|
-
* `evictHistoryUnderBudget` call on the frontier/mid path (byte-identical
|
|
6
|
+
* `evictHistoryUnderBudget` call on the frontier/mid path (a locked byte-identical contract).
|
|
7
7
|
*
|
|
8
8
|
* This module wraps the pure {@link marginArbitrate} allocator with the assembly-path
|
|
9
|
-
* glue: it separates the
|
|
9
|
+
* glue: it separates the security-pinned items out of the relevance-evictable
|
|
10
10
|
* band as unconditional floors (mirroring `lcd-preflight.ts:114-121`), passes EMPTY LTM/KG
|
|
11
|
-
* candidate lanes (the
|
|
11
|
+
* candidate lanes (the assembler holds no cross-session LTM; the recall
|
|
12
12
|
* path owns LTM ranking), and builds the relevance query for the arbiter.
|
|
13
13
|
*
|
|
14
14
|
* Architecture cuts: lives in `context-engine/`, imports only `@comis/core` types +
|
|
15
15
|
* in-package context-engine modules — never `@comis/memory` (agent↛memory) and never the
|
|
16
|
-
* `rag/` layer (
|
|
16
|
+
* `rag/` layer (the context-engine ↮ rag cut). The relevance scorer is INJECTED
|
|
17
|
+
* (`deps.relevanceScorer`); on the
|
|
17
18
|
* assembly path the LTM/KG lanes are empty so the scorer is never actually invoked.
|
|
18
19
|
*
|
|
19
20
|
* @module
|
|
@@ -29,31 +30,31 @@ export interface ArbiterSeamResult {
|
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
31
32
|
* Run the margin arbiter at the eviction seam for a relevance-first class, and emit the
|
|
32
|
-
* content-free `context:arbitrated`
|
|
33
|
+
* content-free `context:arbitrated` observability event.
|
|
33
34
|
*
|
|
34
|
-
*
|
|
35
|
+
* Security-pinned items (detected fail-closed by `isSecurityRelevantMessage`
|
|
35
36
|
* against `deps.securityPinMarkers`) are excluded from the relevance-evictable band and
|
|
36
37
|
* passed as UNCONDITIONAL floors. When no markers are threaded, nothing is pinned here
|
|
37
38
|
* (the pre-flight harder-eviction remains the backstop).
|
|
38
39
|
*
|
|
39
|
-
*
|
|
40
|
-
* `discretionaryPoolTokens` AND CONSUMED via `poolTokensUsed
|
|
41
|
-
* weight + the kept LTM/KG ids
|
|
42
|
-
* NEVER message/memory/query content (AGENTS.md §2.2/§2.7;
|
|
40
|
+
* The event carries per-tier kept COUNTS + the discretionary pool TOKENS (OFFERED via
|
|
41
|
+
* `discretionaryPoolTokens` AND CONSUMED via `poolTokensUsed`) + the floor-token
|
|
42
|
+
* weight + the kept LTM/KG ids + the relevanceFirst BOOLEAN + a timestamp ONLY —
|
|
43
|
+
* NEVER message/memory/query content (AGENTS.md §2.2/§2.7; ids are opaque
|
|
43
44
|
* memory keys). Reuses the caller's entry-clock read `startMs` (no new ambient clock —
|
|
44
45
|
* the globals gate). Frontier/mid never call this → the event never fires for them.
|
|
45
46
|
*
|
|
46
47
|
* @param deps - the context-engine deps (relevanceScorer, securityPinMarkers, eventBus).
|
|
47
48
|
* @param evictable - the evictable history band (T0/T1/T2) with supplied tokens.
|
|
48
|
-
* @param poolTokens - the discretionary pool (budget.availableHistoryTokens
|
|
49
|
+
* @param poolTokens - the discretionary pool (budget.availableHistoryTokens).
|
|
49
50
|
* @param liveMessages - the live message array (source of the relevance query).
|
|
50
51
|
* @param startMs - the assembler's entry-clock read, reused for the event timestamp.
|
|
51
52
|
* @returns the kept history (the event is emitted as a side effect).
|
|
52
53
|
*/
|
|
53
54
|
export declare function evictUnderArbiter(deps: ContextEngineDeps, evictable: BudgetItem[], poolTokens: number, liveMessages: AgentMessage[], startMs: number): ArbiterSeamResult;
|
|
54
55
|
/**
|
|
55
|
-
* Emit the EXISTING content-free `context:evicted` event from the LCD eviction seam
|
|
56
|
-
* parity with the pipeline engine) when eviction actually dropped history — shared by BOTH
|
|
56
|
+
* Emit the EXISTING content-free `context:evicted` event from the LCD eviction seam
|
|
57
|
+
* (parity with the pipeline engine) when eviction actually dropped history — shared by BOTH
|
|
57
58
|
* the recency and the arbiter paths. `evictedChars` is derived ONLY from each dropped item's
|
|
58
59
|
* pre-computed `tokens` (× CHARS_PER_TOKEN_RATIO) — the message text is NEVER read or emitted
|
|
59
60
|
* (AGENTS.md §2.2 / the lossless store). Reuses the caller's entry-clock `startMs` (no new
|