wotann 0.5.0 → 0.5.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/background-agent.d.ts.map +1 -1
- package/dist/agents/background-agent.js +2 -1
- package/dist/agents/background-agent.js.map +1 -1
- package/dist/agents/file-scope-policy.d.ts +116 -0
- package/dist/agents/file-scope-policy.d.ts.map +1 -0
- package/dist/agents/file-scope-policy.js +190 -0
- package/dist/agents/file-scope-policy.js.map +1 -0
- package/dist/agents/yaml-manifest.d.ts +125 -0
- package/dist/agents/yaml-manifest.d.ts.map +1 -0
- package/dist/agents/yaml-manifest.js +901 -0
- package/dist/agents/yaml-manifest.js.map +1 -0
- package/dist/auth/login.d.ts +3 -3
- package/dist/auth/login.d.ts.map +1 -1
- package/dist/auth/login.js +80 -23
- package/dist/auth/login.js.map +1 -1
- package/dist/autopilot/completion-oracle.d.ts.map +1 -1
- package/dist/autopilot/completion-oracle.js +3 -1
- package/dist/autopilot/completion-oracle.js.map +1 -1
- package/dist/autopilot/run-manifest.d.ts +90 -0
- package/dist/autopilot/run-manifest.d.ts.map +1 -0
- package/dist/autopilot/run-manifest.js +261 -0
- package/dist/autopilot/run-manifest.js.map +1 -0
- package/dist/browser/adaptive-selectors.d.ts +170 -0
- package/dist/browser/adaptive-selectors.d.ts.map +1 -0
- package/dist/browser/adaptive-selectors.js +317 -0
- package/dist/browser/adaptive-selectors.js.map +1 -0
- package/dist/browser/humanize-input.d.ts +76 -0
- package/dist/browser/humanize-input.d.ts.map +1 -0
- package/dist/browser/humanize-input.js +386 -0
- package/dist/browser/humanize-input.js.map +1 -0
- package/dist/channels/teams.d.ts +41 -19
- package/dist/channels/teams.d.ts.map +1 -1
- package/dist/channels/teams.js +121 -24
- package/dist/channels/teams.js.map +1 -1
- package/dist/channels/terminal-mention.d.ts.map +1 -1
- package/dist/channels/terminal-mention.js +4 -1
- package/dist/channels/terminal-mention.js.map +1 -1
- package/dist/cli/commands/blast-radius.d.ts +47 -0
- package/dist/cli/commands/blast-radius.d.ts.map +1 -0
- package/dist/cli/commands/blast-radius.js +123 -0
- package/dist/cli/commands/blast-radius.js.map +1 -0
- package/dist/cli/commands/evolve.d.ts +92 -0
- package/dist/cli/commands/evolve.d.ts.map +1 -0
- package/dist/cli/commands/evolve.js +336 -0
- package/dist/cli/commands/evolve.js.map +1 -0
- package/dist/cli/commands/learning.d.ts +54 -0
- package/dist/cli/commands/learning.d.ts.map +1 -0
- package/dist/cli/commands/learning.js +380 -0
- package/dist/cli/commands/learning.js.map +1 -0
- package/dist/cli/commands/persona.d.ts +42 -0
- package/dist/cli/commands/persona.d.ts.map +1 -0
- package/dist/cli/commands/persona.js +198 -0
- package/dist/cli/commands/persona.js.map +1 -0
- package/dist/cli/commands/stuck.d.ts.map +1 -1
- package/dist/cli/commands/stuck.js +5 -2
- package/dist/cli/commands/stuck.js.map +1 -1
- package/dist/cli/commands.d.ts.map +1 -1
- package/dist/cli/commands.js +5 -2
- package/dist/cli/commands.js.map +1 -1
- package/dist/cli/orphan-wires/agent-manifest-cmd.d.ts +17 -0
- package/dist/cli/orphan-wires/agent-manifest-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/agent-manifest-cmd.js +99 -0
- package/dist/cli/orphan-wires/agent-manifest-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/arena-cmd.d.ts +26 -0
- package/dist/cli/orphan-wires/arena-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/arena-cmd.js +167 -0
- package/dist/cli/orphan-wires/arena-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/artifact-cmd.d.ts +17 -0
- package/dist/cli/orphan-wires/artifact-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/artifact-cmd.js +175 -0
- package/dist/cli/orphan-wires/artifact-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/demo-cmd.d.ts +25 -0
- package/dist/cli/orphan-wires/demo-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/demo-cmd.js +164 -0
- package/dist/cli/orphan-wires/demo-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/extras-cmd.d.ts +20 -0
- package/dist/cli/orphan-wires/extras-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/extras-cmd.js +289 -0
- package/dist/cli/orphan-wires/extras-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/harness-introspect-cmd.d.ts +15 -0
- package/dist/cli/orphan-wires/harness-introspect-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/harness-introspect-cmd.js +36 -0
- package/dist/cli/orphan-wires/harness-introspect-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/index.d.ts.map +1 -1
- package/dist/cli/orphan-wires/index.js +30 -0
- package/dist/cli/orphan-wires/index.js.map +1 -1
- package/dist/cli/orphan-wires/integrations-cmd.d.ts +38 -0
- package/dist/cli/orphan-wires/integrations-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/integrations-cmd.js +345 -0
- package/dist/cli/orphan-wires/integrations-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/mcp-scaffold-cmd.d.ts +18 -0
- package/dist/cli/orphan-wires/mcp-scaffold-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/mcp-scaffold-cmd.js +127 -0
- package/dist/cli/orphan-wires/mcp-scaffold-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/memory-consolidate-cmd.d.ts +21 -0
- package/dist/cli/orphan-wires/memory-consolidate-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/memory-consolidate-cmd.js +86 -0
- package/dist/cli/orphan-wires/memory-consolidate-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/patch-cmd.d.ts +29 -0
- package/dist/cli/orphan-wires/patch-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/patch-cmd.js +150 -0
- package/dist/cli/orphan-wires/patch-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/redteam-scan-cmd.d.ts +28 -0
- package/dist/cli/orphan-wires/redteam-scan-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/redteam-scan-cmd.js +169 -0
- package/dist/cli/orphan-wires/redteam-scan-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/scrape-adapt-cmd.d.ts +21 -0
- package/dist/cli/orphan-wires/scrape-adapt-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/scrape-adapt-cmd.js +70 -0
- package/dist/cli/orphan-wires/scrape-adapt-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/shell-tier-cmd.d.ts +20 -0
- package/dist/cli/orphan-wires/shell-tier-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/shell-tier-cmd.js +74 -0
- package/dist/cli/orphan-wires/shell-tier-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/sub-recipes-cmd.d.ts +18 -0
- package/dist/cli/orphan-wires/sub-recipes-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/sub-recipes-cmd.js +87 -0
- package/dist/cli/orphan-wires/sub-recipes-cmd.js.map +1 -0
- package/dist/cli/orphan-wires/webapp-test-cmd.d.ts +20 -0
- package/dist/cli/orphan-wires/webapp-test-cmd.d.ts.map +1 -0
- package/dist/cli/orphan-wires/webapp-test-cmd.js +115 -0
- package/dist/cli/orphan-wires/webapp-test-cmd.js.map +1 -0
- package/dist/cli/thin-client.d.ts +17 -10
- package/dist/cli/thin-client.d.ts.map +1 -1
- package/dist/cli/thin-client.js +108 -26
- package/dist/cli/thin-client.js.map +1 -1
- package/dist/computer-use/action-history-compactor.d.ts +92 -0
- package/dist/computer-use/action-history-compactor.d.ts.map +1 -0
- package/dist/computer-use/action-history-compactor.js +204 -0
- package/dist/computer-use/action-history-compactor.js.map +1 -0
- package/dist/computer-use/action-repertoire.d.ts +8 -0
- package/dist/computer-use/action-repertoire.d.ts.map +1 -1
- package/dist/computer-use/action-repertoire.js +19 -0
- package/dist/computer-use/action-repertoire.js.map +1 -1
- package/dist/computer-use/computer-agent.d.ts +232 -2
- package/dist/computer-use/computer-agent.d.ts.map +1 -1
- package/dist/computer-use/computer-agent.js +558 -19
- package/dist/computer-use/computer-agent.js.map +1 -1
- package/dist/computer-use/coordinate-scaling.d.ts +104 -0
- package/dist/computer-use/coordinate-scaling.d.ts.map +1 -0
- package/dist/computer-use/coordinate-scaling.js +175 -0
- package/dist/computer-use/coordinate-scaling.js.map +1 -0
- package/dist/computer-use/driver-contract.d.ts +158 -0
- package/dist/computer-use/driver-contract.d.ts.map +1 -0
- package/dist/computer-use/driver-contract.js +471 -0
- package/dist/computer-use/driver-contract.js.map +1 -0
- package/dist/computer-use/perception-engine.d.ts +39 -0
- package/dist/computer-use/perception-engine.d.ts.map +1 -1
- package/dist/computer-use/perception-engine.js +27 -27
- package/dist/computer-use/perception-engine.js.map +1 -1
- package/dist/computer-use/platform-bindings.d.ts.map +1 -1
- package/dist/computer-use/platform-bindings.js +216 -2
- package/dist/computer-use/platform-bindings.js.map +1 -1
- package/dist/computer-use/safe-execute.d.ts +86 -0
- package/dist/computer-use/safe-execute.d.ts.map +1 -0
- package/dist/computer-use/safe-execute.js +152 -0
- package/dist/computer-use/safe-execute.js.map +1 -0
- package/dist/context/branch-summarization.d.ts +97 -0
- package/dist/context/branch-summarization.d.ts.map +1 -0
- package/dist/context/branch-summarization.js +170 -0
- package/dist/context/branch-summarization.js.map +1 -0
- package/dist/context/compaction.d.ts +16 -1
- package/dist/context/compaction.d.ts.map +1 -1
- package/dist/context/compaction.js +50 -2
- package/dist/context/compaction.js.map +1 -1
- package/dist/context/inspector.d.ts +2 -2
- package/dist/context/inspector.d.ts.map +1 -1
- package/dist/context/inspector.js +4 -3
- package/dist/context/inspector.js.map +1 -1
- package/dist/core/agent-bridge.d.ts.map +1 -1
- package/dist/core/agent-bridge.js +200 -69
- package/dist/core/agent-bridge.js.map +1 -1
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +7 -0
- package/dist/core/config.js.map +1 -1
- package/dist/core/mode-model-preference.d.ts +95 -0
- package/dist/core/mode-model-preference.d.ts.map +1 -0
- package/dist/core/mode-model-preference.js +170 -0
- package/dist/core/mode-model-preference.js.map +1 -0
- package/dist/core/prompt-override.d.ts.map +1 -1
- package/dist/core/prompt-override.js +1 -0
- package/dist/core/prompt-override.js.map +1 -1
- package/dist/core/runtime-intelligence.d.ts +11 -0
- package/dist/core/runtime-intelligence.d.ts.map +1 -1
- package/dist/core/runtime-intelligence.js +18 -3
- package/dist/core/runtime-intelligence.js.map +1 -1
- package/dist/core/runtime-tool-dispatch.js +1 -1
- package/dist/core/runtime-tool-dispatch.js.map +1 -1
- package/dist/core/runtime.d.ts +186 -13
- package/dist/core/runtime.d.ts.map +1 -1
- package/dist/core/runtime.js +717 -228
- package/dist/core/runtime.js.map +1 -1
- package/dist/core/session-rewind.d.ts +67 -0
- package/dist/core/session-rewind.d.ts.map +1 -0
- package/dist/core/session-rewind.js +120 -0
- package/dist/core/session-rewind.js.map +1 -0
- package/dist/core/types.d.ts +19 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/daemon/file-watcher.d.ts +84 -0
- package/dist/daemon/file-watcher.d.ts.map +1 -0
- package/dist/daemon/file-watcher.js +193 -0
- package/dist/daemon/file-watcher.js.map +1 -0
- package/dist/daemon/jsonl-mode.d.ts +11 -0
- package/dist/daemon/jsonl-mode.d.ts.map +1 -0
- package/dist/daemon/jsonl-mode.js +77 -0
- package/dist/daemon/jsonl-mode.js.map +1 -0
- package/dist/daemon/kairos-ipc.d.ts +4 -1
- package/dist/daemon/kairos-ipc.d.ts.map +1 -1
- package/dist/daemon/kairos-ipc.js +38 -22
- package/dist/daemon/kairos-ipc.js.map +1 -1
- package/dist/daemon/kairos-rpc.d.ts +5 -1
- package/dist/daemon/kairos-rpc.d.ts.map +1 -1
- package/dist/daemon/kairos-rpc.js +1262 -114
- package/dist/daemon/kairos-rpc.js.map +1 -1
- package/dist/daemon/kairos.d.ts +35 -4
- package/dist/daemon/kairos.d.ts.map +1 -1
- package/dist/daemon/kairos.js +204 -24
- package/dist/daemon/kairos.js.map +1 -1
- package/dist/daemon/rpc-handlers/intelligence-rpc.d.ts.map +1 -1
- package/dist/daemon/rpc-handlers/intelligence-rpc.js +15 -3
- package/dist/daemon/rpc-handlers/intelligence-rpc.js.map +1 -1
- package/dist/daemon/transport/jsonl.d.ts +7 -0
- package/dist/daemon/transport/jsonl.d.ts.map +1 -0
- package/dist/daemon/transport/jsonl.js +38 -0
- package/dist/daemon/transport/jsonl.js.map +1 -0
- package/dist/daemon/transport/socket-path.d.ts +28 -0
- package/dist/daemon/transport/socket-path.d.ts.map +1 -0
- package/dist/daemon/transport/socket-path.js +36 -0
- package/dist/daemon/transport/socket-path.js.map +1 -0
- package/dist/design/theme-presets.d.ts +77 -0
- package/dist/design/theme-presets.d.ts.map +1 -0
- package/dist/design/theme-presets.js +274 -0
- package/dist/design/theme-presets.js.map +1 -0
- package/dist/desktop/companion-server.d.ts +67 -4
- package/dist/desktop/companion-server.d.ts.map +1 -1
- package/dist/desktop/companion-server.js +617 -70
- package/dist/desktop/companion-server.js.map +1 -1
- package/dist/desktop/web-artifacts-builder.d.ts +108 -0
- package/dist/desktop/web-artifacts-builder.d.ts.map +1 -0
- package/dist/desktop/web-artifacts-builder.js +184 -0
- package/dist/desktop/web-artifacts-builder.js.map +1 -0
- package/dist/hooks/built-in.d.ts.map +1 -1
- package/dist/hooks/built-in.js +15 -10
- package/dist/hooks/built-in.js.map +1 -1
- package/dist/index.js +1301 -167
- package/dist/index.js.map +1 -1
- package/dist/integrations/integration-manifest.d.ts +140 -0
- package/dist/integrations/integration-manifest.d.ts.map +1 -0
- package/dist/integrations/integration-manifest.js +268 -0
- package/dist/integrations/integration-manifest.js.map +1 -0
- package/dist/intelligence/apply-patch-dsl.d.ts +112 -0
- package/dist/intelligence/apply-patch-dsl.d.ts.map +1 -0
- package/dist/intelligence/apply-patch-dsl.js +264 -0
- package/dist/intelligence/apply-patch-dsl.js.map +1 -0
- package/dist/intelligence/apply-patch-executor.d.ts +147 -0
- package/dist/intelligence/apply-patch-executor.d.ts.map +1 -0
- package/dist/intelligence/apply-patch-executor.js +418 -0
- package/dist/intelligence/apply-patch-executor.js.map +1 -0
- package/dist/intelligence/blast-radius.d.ts +67 -0
- package/dist/intelligence/blast-radius.d.ts.map +1 -0
- package/dist/intelligence/blast-radius.js +536 -0
- package/dist/intelligence/blast-radius.js.map +1 -0
- package/dist/intelligence/code-graph.d.ts +58 -7
- package/dist/intelligence/code-graph.d.ts.map +1 -1
- package/dist/intelligence/code-graph.js +347 -16
- package/dist/intelligence/code-graph.js.map +1 -1
- package/dist/intelligence/codebase-health.d.ts.map +1 -1
- package/dist/intelligence/codebase-health.js +4 -3
- package/dist/intelligence/codebase-health.js.map +1 -1
- package/dist/intelligence/codemaps.d.ts +30 -1
- package/dist/intelligence/codemaps.d.ts.map +1 -1
- package/dist/intelligence/codemaps.js +99 -16
- package/dist/intelligence/codemaps.js.map +1 -1
- package/dist/intelligence/consecutive-error-counter.d.ts +89 -0
- package/dist/intelligence/consecutive-error-counter.d.ts.map +1 -0
- package/dist/intelligence/consecutive-error-counter.js +151 -0
- package/dist/intelligence/consecutive-error-counter.js.map +1 -0
- package/dist/intelligence/eval-frameworks/redteam-plugin-catalog.d.ts +87 -0
- package/dist/intelligence/eval-frameworks/redteam-plugin-catalog.d.ts.map +1 -0
- package/dist/intelligence/eval-frameworks/redteam-plugin-catalog.js +882 -0
- package/dist/intelligence/eval-frameworks/redteam-plugin-catalog.js.map +1 -0
- package/dist/intelligence/extractors/mineru.d.ts +108 -0
- package/dist/intelligence/extractors/mineru.d.ts.map +1 -0
- package/dist/intelligence/extractors/mineru.js +352 -0
- package/dist/intelligence/extractors/mineru.js.map +1 -0
- package/dist/intelligence/harness-introspect.d.ts +124 -0
- package/dist/intelligence/harness-introspect.d.ts.map +1 -0
- package/dist/intelligence/harness-introspect.js +349 -0
- package/dist/intelligence/harness-introspect.js.map +1 -0
- package/dist/intelligence/multi-patch-voter.d.ts +59 -1
- package/dist/intelligence/multi-patch-voter.d.ts.map +1 -1
- package/dist/intelligence/multi-patch-voter.js +191 -27
- package/dist/intelligence/multi-patch-voter.js.map +1 -1
- package/dist/intelligence/multimodal-extract.d.ts +44 -0
- package/dist/intelligence/multimodal-extract.d.ts.map +1 -1
- package/dist/intelligence/multimodal-extract.js +40 -1
- package/dist/intelligence/multimodal-extract.js.map +1 -1
- package/dist/intelligence/research-loops/budgeted-research.d.ts +7 -0
- package/dist/intelligence/research-loops/budgeted-research.d.ts.map +1 -1
- package/dist/intelligence/research-loops/budgeted-research.js +18 -0
- package/dist/intelligence/research-loops/budgeted-research.js.map +1 -1
- package/dist/intelligence/research-loops/constraint-guided-explorer.d.ts +124 -0
- package/dist/intelligence/research-loops/constraint-guided-explorer.d.ts.map +1 -0
- package/dist/intelligence/research-loops/constraint-guided-explorer.js +177 -0
- package/dist/intelligence/research-loops/constraint-guided-explorer.js.map +1 -0
- package/dist/intelligence/research-loops/results-collector.d.ts +62 -0
- package/dist/intelligence/research-loops/results-collector.d.ts.map +1 -0
- package/dist/intelligence/research-loops/results-collector.js +128 -0
- package/dist/intelligence/research-loops/results-collector.js.map +1 -0
- package/dist/intelligence/research-loops/results-log.d.ts +94 -0
- package/dist/intelligence/research-loops/results-log.d.ts.map +1 -0
- package/dist/intelligence/research-loops/results-log.js +178 -0
- package/dist/intelligence/research-loops/results-log.js.map +1 -0
- package/dist/intelligence/research-loops/strategies/base-strategy.d.ts +111 -0
- package/dist/intelligence/research-loops/strategies/base-strategy.d.ts.map +1 -0
- package/dist/intelligence/research-loops/strategies/base-strategy.js +72 -0
- package/dist/intelligence/research-loops/strategies/base-strategy.js.map +1 -0
- package/dist/intelligence/research-loops/strategies/dual-confidence.d.ts +57 -0
- package/dist/intelligence/research-loops/strategies/dual-confidence.d.ts.map +1 -0
- package/dist/intelligence/research-loops/strategies/dual-confidence.js +172 -0
- package/dist/intelligence/research-loops/strategies/dual-confidence.js.map +1 -0
- package/dist/intelligence/research-loops/strategies/langgraph-agent.d.ts +68 -0
- package/dist/intelligence/research-loops/strategies/langgraph-agent.d.ts.map +1 -0
- package/dist/intelligence/research-loops/strategies/langgraph-agent.js +221 -0
- package/dist/intelligence/research-loops/strategies/langgraph-agent.js.map +1 -0
- package/dist/intelligence/research-loops/strategies/parallel-constrained.d.ts +42 -0
- package/dist/intelligence/research-loops/strategies/parallel-constrained.d.ts.map +1 -0
- package/dist/intelligence/research-loops/strategies/parallel-constrained.js +132 -0
- package/dist/intelligence/research-loops/strategies/parallel-constrained.js.map +1 -0
- package/dist/intelligence/research-loops/strategies/recursive-decomposition.d.ts +55 -0
- package/dist/intelligence/research-loops/strategies/recursive-decomposition.d.ts.map +1 -0
- package/dist/intelligence/research-loops/strategies/recursive-decomposition.js +187 -0
- package/dist/intelligence/research-loops/strategies/recursive-decomposition.js.map +1 -0
- package/dist/intelligence/research-loops/strategy-registry.d.ts +43 -0
- package/dist/intelligence/research-loops/strategy-registry.d.ts.map +1 -0
- package/dist/intelligence/research-loops/strategy-registry.js +62 -0
- package/dist/intelligence/research-loops/strategy-registry.js.map +1 -0
- package/dist/intelligence/research-strategies.d.ts +133 -0
- package/dist/intelligence/research-strategies.d.ts.map +1 -0
- package/dist/intelligence/research-strategies.js +204 -0
- package/dist/intelligence/research-strategies.js.map +1 -0
- package/dist/lib.d.ts +49 -0
- package/dist/lib.d.ts.map +1 -1
- package/dist/lib.js +133 -0
- package/dist/lib.js.map +1 -1
- package/dist/loop/tool-description-reset.d.ts +113 -0
- package/dist/loop/tool-description-reset.d.ts.map +1 -0
- package/dist/loop/tool-description-reset.js +136 -0
- package/dist/loop/tool-description-reset.js.map +1 -0
- package/dist/lsp/server-registry.d.ts.map +1 -1
- package/dist/lsp/server-registry.js +2 -1
- package/dist/lsp/server-registry.js.map +1 -1
- package/dist/lsp/symbol-operations.d.ts.map +1 -1
- package/dist/lsp/symbol-operations.js +2 -1
- package/dist/lsp/symbol-operations.js.map +1 -1
- package/dist/marketplace/acp-agent-registry.d.ts.map +1 -1
- package/dist/marketplace/acp-agent-registry.js +2 -1
- package/dist/marketplace/acp-agent-registry.js.map +1 -1
- package/dist/marketplace/marketplace-source-git.d.ts +135 -0
- package/dist/marketplace/marketplace-source-git.d.ts.map +1 -0
- package/dist/marketplace/marketplace-source-git.js +211 -0
- package/dist/marketplace/marketplace-source-git.js.map +1 -0
- package/dist/marketplace/registry.d.ts +87 -0
- package/dist/marketplace/registry.d.ts.map +1 -1
- package/dist/marketplace/registry.js +113 -2
- package/dist/marketplace/registry.js.map +1 -1
- package/dist/mcp/chrome-devtools.d.ts +62 -2
- package/dist/mcp/chrome-devtools.d.ts.map +1 -1
- package/dist/mcp/chrome-devtools.js +183 -1
- package/dist/mcp/chrome-devtools.js.map +1 -1
- package/dist/mcp/health-probe.d.ts +1 -0
- package/dist/mcp/health-probe.d.ts.map +1 -1
- package/dist/mcp/health-probe.js +32 -1
- package/dist/mcp/health-probe.js.map +1 -1
- package/dist/mcp/mcp-scaffolder.d.ts +166 -0
- package/dist/mcp/mcp-scaffolder.d.ts.map +1 -0
- package/dist/mcp/mcp-scaffolder.js +526 -0
- package/dist/mcp/mcp-scaffolder.js.map +1 -0
- package/dist/mcp/mcp-server.d.ts.map +1 -1
- package/dist/mcp/mcp-server.js +55 -0
- package/dist/mcp/mcp-server.js.map +1 -1
- package/dist/mcp/memory-mcp.d.ts +163 -0
- package/dist/mcp/memory-mcp.d.ts.map +1 -0
- package/dist/mcp/memory-mcp.js +368 -0
- package/dist/mcp/memory-mcp.js.map +1 -0
- package/dist/mcp/tool-loader.d.ts.map +1 -1
- package/dist/mcp/tool-loader.js +13 -0
- package/dist/mcp/tool-loader.js.map +1 -1
- package/dist/meet/meeting-runtime.d.ts.map +1 -1
- package/dist/meet/meeting-runtime.js +3 -1
- package/dist/meet/meeting-runtime.js.map +1 -1
- package/dist/memory/incremental-indexer.d.ts.map +1 -1
- package/dist/memory/incremental-indexer.js +5 -1
- package/dist/memory/incremental-indexer.js.map +1 -1
- package/dist/memory/qmd-integration.d.ts.map +1 -1
- package/dist/memory/qmd-integration.js +47 -15
- package/dist/memory/qmd-integration.js.map +1 -1
- package/dist/memory/two-phase-consolidator.d.ts +118 -0
- package/dist/memory/two-phase-consolidator.d.ts.map +1 -0
- package/dist/memory/two-phase-consolidator.js +265 -0
- package/dist/memory/two-phase-consolidator.js.map +1 -0
- package/dist/middleware/doom-loop.d.ts +21 -0
- package/dist/middleware/doom-loop.d.ts.map +1 -1
- package/dist/middleware/doom-loop.js +49 -6
- package/dist/middleware/doom-loop.js.map +1 -1
- package/dist/middleware/loop-detection.d.ts +176 -6
- package/dist/middleware/loop-detection.d.ts.map +1 -1
- package/dist/middleware/loop-detection.js +341 -6
- package/dist/middleware/loop-detection.js.map +1 -1
- package/dist/middleware/pipeline.d.ts +9 -1
- package/dist/middleware/pipeline.d.ts.map +1 -1
- package/dist/middleware/pipeline.js +116 -1
- package/dist/middleware/pipeline.js.map +1 -1
- package/dist/middleware/tool-flow-gate.d.ts +20 -0
- package/dist/middleware/tool-flow-gate.d.ts.map +1 -1
- package/dist/middleware/tool-flow-gate.js +93 -0
- package/dist/middleware/tool-flow-gate.js.map +1 -1
- package/dist/mobile/ios-app.d.ts +18 -1
- package/dist/mobile/ios-app.d.ts.map +1 -1
- package/dist/mobile/ios-app.js +108 -8
- package/dist/mobile/ios-app.js.map +1 -1
- package/dist/orchestration/adversarial-cut.d.ts +85 -0
- package/dist/orchestration/adversarial-cut.d.ts.map +1 -0
- package/dist/orchestration/adversarial-cut.js +222 -0
- package/dist/orchestration/adversarial-cut.js.map +1 -0
- package/dist/orchestration/agent-kanban.d.ts +147 -0
- package/dist/orchestration/agent-kanban.d.ts.map +1 -0
- package/dist/orchestration/agent-kanban.js +414 -0
- package/dist/orchestration/agent-kanban.js.map +1 -0
- package/dist/orchestration/autonomous.d.ts +111 -0
- package/dist/orchestration/autonomous.d.ts.map +1 -1
- package/dist/orchestration/autonomous.js +183 -6
- package/dist/orchestration/autonomous.js.map +1 -1
- package/dist/orchestration/elo-tournament.d.ts +90 -0
- package/dist/orchestration/elo-tournament.d.ts.map +1 -0
- package/dist/orchestration/elo-tournament.js +203 -0
- package/dist/orchestration/elo-tournament.js.map +1 -0
- package/dist/orchestration/multi-model-arena.d.ts +138 -0
- package/dist/orchestration/multi-model-arena.d.ts.map +1 -0
- package/dist/orchestration/multi-model-arena.js +298 -0
- package/dist/orchestration/multi-model-arena.js.map +1 -0
- package/dist/orchestration/review-pipeline.d.ts +78 -0
- package/dist/orchestration/review-pipeline.d.ts.map +1 -0
- package/dist/orchestration/review-pipeline.js +202 -0
- package/dist/orchestration/review-pipeline.js.map +1 -0
- package/dist/orchestration/unified-state-thread.d.ts +186 -0
- package/dist/orchestration/unified-state-thread.d.ts.map +1 -0
- package/dist/orchestration/unified-state-thread.js +327 -0
- package/dist/orchestration/unified-state-thread.js.map +1 -0
- package/dist/plugins/manager.d.ts.map +1 -1
- package/dist/plugins/manager.js +2 -1
- package/dist/plugins/manager.js.map +1 -1
- package/dist/prompt/engine.d.ts +7 -0
- package/dist/prompt/engine.d.ts.map +1 -1
- package/dist/prompt/engine.js.map +1 -1
- package/dist/prompt/modules/caveman.d.ts +51 -0
- package/dist/prompt/modules/caveman.d.ts.map +1 -0
- package/dist/prompt/modules/caveman.js +97 -0
- package/dist/prompt/modules/caveman.js.map +1 -0
- package/dist/prompt/modules/index.d.ts +1 -0
- package/dist/prompt/modules/index.d.ts.map +1 -1
- package/dist/prompt/modules/index.js +3 -0
- package/dist/prompt/modules/index.js.map +1 -1
- package/dist/providers/account-pool.d.ts.map +1 -1
- package/dist/providers/account-pool.js +1 -0
- package/dist/providers/account-pool.js.map +1 -1
- package/dist/providers/anthropic-adapter.d.ts.map +1 -1
- package/dist/providers/anthropic-adapter.js +33 -0
- package/dist/providers/anthropic-adapter.js.map +1 -1
- package/dist/providers/cloud-offload/config-loader.d.ts +20 -0
- package/dist/providers/cloud-offload/config-loader.d.ts.map +1 -0
- package/dist/providers/cloud-offload/config-loader.js +148 -0
- package/dist/providers/cloud-offload/config-loader.js.map +1 -0
- package/dist/providers/codex-adapter.d.ts.map +1 -1
- package/dist/providers/codex-adapter.js +136 -4
- package/dist/providers/codex-adapter.js.map +1 -1
- package/dist/providers/discovery.d.ts.map +1 -1
- package/dist/providers/discovery.js +20 -0
- package/dist/providers/discovery.js.map +1 -1
- package/dist/providers/effort-cascade.d.ts +113 -0
- package/dist/providers/effort-cascade.d.ts.map +1 -0
- package/dist/providers/effort-cascade.js +215 -0
- package/dist/providers/effort-cascade.js.map +1 -0
- package/dist/providers/fallback-chain.d.ts.map +1 -1
- package/dist/providers/fallback-chain.js +1 -0
- package/dist/providers/fallback-chain.js.map +1 -1
- package/dist/providers/health-check.d.ts.map +1 -1
- package/dist/providers/health-check.js +8 -0
- package/dist/providers/health-check.js.map +1 -1
- package/dist/providers/model-defaults.d.ts +1 -1
- package/dist/providers/model-defaults.d.ts.map +1 -1
- package/dist/providers/model-defaults.js +13 -1
- package/dist/providers/model-defaults.js.map +1 -1
- package/dist/providers/model-discovery.d.ts.map +1 -1
- package/dist/providers/model-discovery.js +1 -0
- package/dist/providers/model-discovery.js.map +1 -1
- package/dist/providers/ollama-adapter.d.ts.map +1 -1
- package/dist/providers/ollama-adapter.js +21 -1
- package/dist/providers/ollama-adapter.js.map +1 -1
- package/dist/providers/openai-compat-adapter.d.ts.map +1 -1
- package/dist/providers/openai-compat-adapter.js +25 -0
- package/dist/providers/openai-compat-adapter.js.map +1 -1
- package/dist/providers/preset-library.d.ts.map +1 -1
- package/dist/providers/preset-library.js +9 -0
- package/dist/providers/preset-library.js.map +1 -1
- package/dist/providers/provider-service.d.ts.map +1 -1
- package/dist/providers/provider-service.js +40 -1
- package/dist/providers/provider-service.js.map +1 -1
- package/dist/providers/registry.d.ts.map +1 -1
- package/dist/providers/registry.js +7 -0
- package/dist/providers/registry.js.map +1 -1
- package/dist/providers/sticky-rotation.d.ts +100 -0
- package/dist/providers/sticky-rotation.d.ts.map +1 -0
- package/dist/providers/sticky-rotation.js +134 -0
- package/dist/providers/sticky-rotation.js.map +1 -0
- package/dist/providers/tool-parsers/parsers.d.ts.map +1 -1
- package/dist/providers/tool-parsers/parsers.js +17 -4
- package/dist/providers/tool-parsers/parsers.js.map +1 -1
- package/dist/providers/types.d.ts +25 -0
- package/dist/providers/types.d.ts.map +1 -1
- package/dist/recipes/final-output.d.ts +74 -0
- package/dist/recipes/final-output.d.ts.map +1 -0
- package/dist/recipes/final-output.js +232 -0
- package/dist/recipes/final-output.js.map +1 -0
- package/dist/recipes/recipe-loader.d.ts.map +1 -1
- package/dist/recipes/recipe-loader.js +29 -0
- package/dist/recipes/recipe-loader.js.map +1 -1
- package/dist/recipes/recipe-runtime.d.ts.map +1 -1
- package/dist/recipes/recipe-runtime.js +31 -0
- package/dist/recipes/recipe-runtime.js.map +1 -1
- package/dist/recipes/recipe-types.d.ts +28 -0
- package/dist/recipes/recipe-types.d.ts.map +1 -1
- package/dist/recipes/sop-crystallizer.d.ts +90 -0
- package/dist/recipes/sop-crystallizer.d.ts.map +1 -0
- package/dist/recipes/sop-crystallizer.js +238 -0
- package/dist/recipes/sop-crystallizer.js.map +1 -0
- package/dist/recipes/sub-recipe-orchestrator.d.ts +126 -0
- package/dist/recipes/sub-recipe-orchestrator.d.ts.map +1 -0
- package/dist/recipes/sub-recipe-orchestrator.js +225 -0
- package/dist/recipes/sub-recipe-orchestrator.js.map +1 -0
- package/dist/sandbox/extended-backends.d.ts.map +1 -1
- package/dist/sandbox/extended-backends.js +7 -2
- package/dist/sandbox/extended-backends.js.map +1 -1
- package/dist/sandbox/seatbelt-policy.d.ts +132 -0
- package/dist/sandbox/seatbelt-policy.d.ts.map +1 -0
- package/dist/sandbox/seatbelt-policy.js +562 -0
- package/dist/sandbox/seatbelt-policy.js.map +1 -0
- package/dist/sandbox/terminal-backends.d.ts.map +1 -1
- package/dist/sandbox/terminal-backends.js +3 -1
- package/dist/sandbox/terminal-backends.js.map +1 -1
- package/dist/security/auto-mode-ruleset.d.ts +142 -0
- package/dist/security/auto-mode-ruleset.d.ts.map +1 -0
- package/dist/security/auto-mode-ruleset.js +264 -0
- package/dist/security/auto-mode-ruleset.js.map +1 -0
- package/dist/security/bash-arity-policy.d.ts +70 -0
- package/dist/security/bash-arity-policy.d.ts.map +1 -0
- package/dist/security/bash-arity-policy.js +189 -0
- package/dist/security/bash-arity-policy.js.map +1 -0
- package/dist/security/command-sanitizer.d.ts.map +1 -1
- package/dist/security/command-sanitizer.js +24 -0
- package/dist/security/command-sanitizer.js.map +1 -1
- package/dist/security/credential-broker.d.ts +136 -0
- package/dist/security/credential-broker.d.ts.map +1 -0
- package/dist/security/credential-broker.js +284 -0
- package/dist/security/credential-broker.js.map +1 -0
- package/dist/security/invisible-text-sanitizer.d.ts +114 -0
- package/dist/security/invisible-text-sanitizer.d.ts.map +1 -0
- package/dist/security/invisible-text-sanitizer.js +221 -0
- package/dist/security/invisible-text-sanitizer.js.map +1 -0
- package/dist/security/osv-check.d.ts +174 -0
- package/dist/security/osv-check.d.ts.map +1 -0
- package/dist/security/osv-check.js +409 -0
- package/dist/security/osv-check.js.map +1 -0
- package/dist/security/process-hardening.d.ts +114 -0
- package/dist/security/process-hardening.d.ts.map +1 -0
- package/dist/security/process-hardening.js +132 -0
- package/dist/security/process-hardening.js.map +1 -0
- package/dist/security/shell-escalation-tiers.d.ts +73 -0
- package/dist/security/shell-escalation-tiers.d.ts.map +1 -0
- package/dist/security/shell-escalation-tiers.js +439 -0
- package/dist/security/shell-escalation-tiers.js.map +1 -0
- package/dist/session/fork.d.ts +100 -0
- package/dist/session/fork.d.ts.map +1 -0
- package/dist/session/fork.js +223 -0
- package/dist/session/fork.js.map +1 -0
- package/dist/skills/activation-telemetry.d.ts +154 -0
- package/dist/skills/activation-telemetry.d.ts.map +1 -0
- package/dist/skills/activation-telemetry.js +274 -0
- package/dist/skills/activation-telemetry.js.map +1 -0
- package/dist/skills/agentskills-registry.d.ts +12 -1
- package/dist/skills/agentskills-registry.d.ts.map +1 -1
- package/dist/skills/agentskills-registry.js +11 -0
- package/dist/skills/agentskills-registry.js.map +1 -1
- package/dist/skills/description-optimizer.d.ts +101 -0
- package/dist/skills/description-optimizer.d.ts.map +1 -0
- package/dist/skills/description-optimizer.js +304 -0
- package/dist/skills/description-optimizer.js.map +1 -0
- package/dist/skills/history-deduper.d.ts +109 -0
- package/dist/skills/history-deduper.d.ts.map +1 -0
- package/dist/skills/history-deduper.js +222 -0
- package/dist/skills/history-deduper.js.map +1 -0
- package/dist/skills/loader.d.ts.map +1 -1
- package/dist/skills/loader.js +2 -1
- package/dist/skills/loader.js.map +1 -1
- package/dist/skills/skill-source-adapter.d.ts +16 -0
- package/dist/skills/skill-source-adapter.d.ts.map +1 -1
- package/dist/skills/skill-source-adapter.js +0 -0
- package/dist/skills/skill-source-adapter.js.map +1 -1
- package/dist/skills/skill-standard.d.ts +29 -4
- package/dist/skills/skill-standard.d.ts.map +1 -1
- package/dist/skills/skill-standard.js +139 -66
- package/dist/skills/skill-standard.js.map +1 -1
- package/dist/skills/sop-completion-gate.d.ts +137 -0
- package/dist/skills/sop-completion-gate.d.ts.map +1 -0
- package/dist/skills/sop-completion-gate.js +159 -0
- package/dist/skills/sop-completion-gate.js.map +1 -0
- package/dist/skills/sop-template.d.ts +85 -0
- package/dist/skills/sop-template.d.ts.map +1 -0
- package/dist/skills/sop-template.js +106 -0
- package/dist/skills/sop-template.js.map +1 -0
- package/dist/skills/wotann-skills-registry.d.ts +1 -1
- package/dist/skills/wotann-skills-registry.d.ts.map +1 -1
- package/dist/skills/wotann-skills-registry.js +503 -0
- package/dist/skills/wotann-skills-registry.js.map +1 -1
- package/dist/snippets/prompt-corpus.d.ts +10 -0
- package/dist/snippets/prompt-corpus.d.ts.map +1 -0
- package/dist/snippets/prompt-corpus.js +158 -0
- package/dist/snippets/prompt-corpus.js.map +1 -0
- package/dist/snippets/snippet-store.d.ts +27 -0
- package/dist/snippets/snippet-store.d.ts.map +1 -1
- package/dist/snippets/snippet-store.js +109 -6
- package/dist/snippets/snippet-store.js.map +1 -1
- package/dist/storage/sqlite-node-backend.d.ts +47 -36
- package/dist/storage/sqlite-node-backend.d.ts.map +1 -1
- package/dist/storage/sqlite-node-backend.js +250 -94
- package/dist/storage/sqlite-node-backend.js.map +1 -1
- package/dist/testing/webapp-server-lifecycle.d.ts +74 -0
- package/dist/testing/webapp-server-lifecycle.d.ts.map +1 -0
- package/dist/testing/webapp-server-lifecycle.js +272 -0
- package/dist/testing/webapp-server-lifecycle.js.map +1 -0
- package/dist/tools/markitdown-bridge.d.ts +19 -0
- package/dist/tools/markitdown-bridge.d.ts.map +1 -1
- package/dist/tools/markitdown-bridge.js +167 -2
- package/dist/tools/markitdown-bridge.js.map +1 -1
- package/dist/tools/pdf-processor.d.ts.map +1 -1
- package/dist/tools/pdf-processor.js +7 -3
- package/dist/tools/pdf-processor.js.map +1 -1
- package/dist/tools/pptx-processor.d.ts +51 -0
- package/dist/tools/pptx-processor.d.ts.map +1 -0
- package/dist/tools/pptx-processor.js +334 -0
- package/dist/tools/pptx-processor.js.map +1 -0
- package/dist/ui/App.d.ts.map +1 -1
- package/dist/ui/App.js +1661 -149
- package/dist/ui/App.js.map +1 -1
- package/dist/ui/agent-tools.d.ts +60 -0
- package/dist/ui/agent-tools.d.ts.map +1 -0
- package/dist/ui/agent-tools.js +468 -0
- package/dist/ui/agent-tools.js.map +1 -0
- package/dist/ui/alt-buffer-mode.d.ts +68 -0
- package/dist/ui/alt-buffer-mode.d.ts.map +1 -0
- package/dist/ui/alt-buffer-mode.js +114 -0
- package/dist/ui/alt-buffer-mode.js.map +1 -0
- package/dist/ui/alt-buffer.d.ts +57 -10
- package/dist/ui/alt-buffer.d.ts.map +1 -1
- package/dist/ui/alt-buffer.js +54 -12
- package/dist/ui/alt-buffer.js.map +1 -1
- package/dist/ui/components/AgentStatusPanel.d.ts.map +1 -1
- package/dist/ui/components/AgentStatusPanel.js +14 -6
- package/dist/ui/components/AgentStatusPanel.js.map +1 -1
- package/dist/ui/components/AuditLogPanel.js +3 -3
- package/dist/ui/components/AuditLogPanel.js.map +1 -1
- package/dist/ui/components/AutomationsPanel.js +3 -3
- package/dist/ui/components/AutomationsPanel.js.map +1 -1
- package/dist/ui/components/ChatView.d.ts +9 -1
- package/dist/ui/components/ChatView.d.ts.map +1 -1
- package/dist/ui/components/ChatView.js +503 -14
- package/dist/ui/components/ChatView.js.map +1 -1
- package/dist/ui/components/CommandPaletteCommands.d.ts +2 -0
- package/dist/ui/components/CommandPaletteCommands.d.ts.map +1 -1
- package/dist/ui/components/CommandPaletteCommands.js +18 -2
- package/dist/ui/components/CommandPaletteCommands.js.map +1 -1
- package/dist/ui/components/ContextHUD.d.ts.map +1 -1
- package/dist/ui/components/ContextHUD.js +3 -3
- package/dist/ui/components/ContextHUD.js.map +1 -1
- package/dist/ui/components/DispatchInbox.js +3 -3
- package/dist/ui/components/DispatchInbox.js.map +1 -1
- package/dist/ui/components/GdprPanel.d.ts.map +1 -1
- package/dist/ui/components/GdprPanel.js +2 -3
- package/dist/ui/components/GdprPanel.js.map +1 -1
- package/dist/ui/components/HistoryPicker.js +3 -3
- package/dist/ui/components/HistoryPicker.js.map +1 -1
- package/dist/ui/components/ModelPicker.d.ts +9 -6
- package/dist/ui/components/ModelPicker.d.ts.map +1 -1
- package/dist/ui/components/ModelPicker.js +12 -9
- package/dist/ui/components/ModelPicker.js.map +1 -1
- package/dist/ui/components/OptionPicker.js +3 -3
- package/dist/ui/components/OptionPicker.js.map +1 -1
- package/dist/ui/components/PermissionPrompt.js +3 -3
- package/dist/ui/components/PermissionPrompt.js.map +1 -1
- package/dist/ui/components/PromptInput.d.ts.map +1 -1
- package/dist/ui/components/PromptInput.js +65 -10
- package/dist/ui/components/PromptInput.js.map +1 -1
- package/dist/ui/components/ProviderSetupOverlay.d.ts +19 -0
- package/dist/ui/components/ProviderSetupOverlay.d.ts.map +1 -0
- package/dist/ui/components/ProviderSetupOverlay.js +124 -0
- package/dist/ui/components/ProviderSetupOverlay.js.map +1 -0
- package/dist/ui/components/StartupScreen.d.ts.map +1 -1
- package/dist/ui/components/StartupScreen.js +10 -1
- package/dist/ui/components/StartupScreen.js.map +1 -1
- package/dist/ui/components/StatusBar.d.ts.map +1 -1
- package/dist/ui/components/StatusBar.js +3 -3
- package/dist/ui/components/StatusBar.js.map +1 -1
- package/dist/ui/components/TrustPanel.js +3 -3
- package/dist/ui/components/TrustPanel.js.map +1 -1
- package/dist/ui/components/UnifiedStatusBar.d.ts.map +1 -1
- package/dist/ui/components/UnifiedStatusBar.js +76 -5
- package/dist/ui/components/UnifiedStatusBar.js.map +1 -1
- package/dist/ui/computer-action-parser.d.ts +6 -0
- package/dist/ui/computer-action-parser.d.ts.map +1 -0
- package/dist/ui/computer-action-parser.js +119 -0
- package/dist/ui/computer-action-parser.js.map +1 -0
- package/dist/ui/helpers.d.ts +1 -1
- package/dist/ui/helpers.d.ts.map +1 -1
- package/dist/ui/helpers.js +1 -1
- package/dist/ui/helpers.js.map +1 -1
- package/dist/ui/keybindings.d.ts +12 -2
- package/dist/ui/keybindings.d.ts.map +1 -1
- package/dist/ui/keybindings.js +36 -4
- package/dist/ui/keybindings.js.map +1 -1
- package/dist/ui/markdown-stream.d.ts +99 -0
- package/dist/ui/markdown-stream.d.ts.map +1 -0
- package/dist/ui/markdown-stream.js +314 -0
- package/dist/ui/markdown-stream.js.map +1 -0
- package/dist/ui/terminal-keyboard-protocol.d.ts +23 -0
- package/dist/ui/terminal-keyboard-protocol.d.ts.map +1 -0
- package/dist/ui/terminal-keyboard-protocol.js +72 -0
- package/dist/ui/terminal-keyboard-protocol.js.map +1 -0
- package/dist/ui/theme/context.d.ts +39 -0
- package/dist/ui/theme/context.d.ts.map +1 -0
- package/dist/ui/theme/context.js +42 -0
- package/dist/ui/theme/context.js.map +1 -0
- package/dist/utils/platform.d.ts +115 -0
- package/dist/utils/platform.d.ts.map +1 -0
- package/dist/utils/platform.js +146 -0
- package/dist/utils/platform.js.map +1 -0
- package/dist/verification/auto-verify-policy.d.ts +107 -0
- package/dist/verification/auto-verify-policy.d.ts.map +1 -0
- package/dist/verification/auto-verify-policy.js +309 -0
- package/dist/verification/auto-verify-policy.js.map +1 -0
- package/package.json +4 -1
- package/skills/anthropic-finance/audit-spreadsheet.md +165 -0
- package/skills/anthropic-finance/clean-data-xls.md +59 -0
- package/skills/anthropic-finance/competitive-analysis.md +288 -0
- package/skills/anthropic-finance/compliance-rules-engine.md +56 -0
- package/skills/anthropic-finance/dd-checklist.md +126 -0
- package/skills/anthropic-finance/independent-recompute.md +47 -0
- package/skills/anthropic-finance/reconcile-root-cause.md +48 -0
- package/skills/anthropic-finance/roll-forward.md +42 -0
- package/skills/anthropic-finance/untrusted-doc-parse.md +57 -0
- package/skills/anthropic-finance/variance-commentary.md +43 -0
- package/skills/doubt-driven-development.md +95 -0
- package/skills/mattpocock/diagnose.md +126 -0
- package/skills/mattpocock/grill-with-docs.md +97 -0
- package/skills/mattpocock/improve-codebase-architecture.md +80 -0
- package/skills/mattpocock/prototype.md +39 -0
- package/skills/mattpocock/review.md +87 -0
- package/skills/mattpocock/tdd.md +118 -0
- package/skills/mattpocock/zoom-out.md +17 -0
- package/skills/scientific/citation-management/SKILL.md +1113 -0
- package/skills/scientific/citation-management/assets/bibtex_template.bib +264 -0
- package/skills/scientific/citation-management/assets/citation_checklist.md +386 -0
- package/skills/scientific/citation-management/references/bibtex_formatting.md +908 -0
- package/skills/scientific/citation-management/references/citation_validation.md +794 -0
- package/skills/scientific/citation-management/references/google_scholar_search.md +725 -0
- package/skills/scientific/citation-management/references/metadata_extraction.md +870 -0
- package/skills/scientific/citation-management/references/pubmed_search.md +839 -0
- package/skills/scientific/citation-management/scripts/doi_to_bibtex.py +204 -0
- package/skills/scientific/citation-management/scripts/extract_metadata.py +569 -0
- package/skills/scientific/citation-management/scripts/format_bibtex.py +349 -0
- package/skills/scientific/citation-management/scripts/generate_schematic.py +139 -0
- package/skills/scientific/citation-management/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/citation-management/scripts/search_google_scholar.py +282 -0
- package/skills/scientific/citation-management/scripts/search_pubmed.py +398 -0
- package/skills/scientific/citation-management/scripts/validate_citations.py +497 -0
- package/skills/scientific/database-lookup/SKILL.md +480 -0
- package/skills/scientific/database-lookup/references/addgene.md +38 -0
- package/skills/scientific/database-lookup/references/alphafold.md +40 -0
- package/skills/scientific/database-lookup/references/alphavantage.md +261 -0
- package/skills/scientific/database-lookup/references/bea.md +409 -0
- package/skills/scientific/database-lookup/references/bindingdb.md +85 -0
- package/skills/scientific/database-lookup/references/biogrid.md +110 -0
- package/skills/scientific/database-lookup/references/bls.md +235 -0
- package/skills/scientific/database-lookup/references/brenda.md +71 -0
- package/skills/scientific/database-lookup/references/cbioportal.md +206 -0
- package/skills/scientific/database-lookup/references/census.md +251 -0
- package/skills/scientific/database-lookup/references/chebi.md +103 -0
- package/skills/scientific/database-lookup/references/chembl.md +80 -0
- package/skills/scientific/database-lookup/references/clinicaltrials.md +77 -0
- package/skills/scientific/database-lookup/references/clinpgx.md +64 -0
- package/skills/scientific/database-lookup/references/clinvar.md +91 -0
- package/skills/scientific/database-lookup/references/cod.md +121 -0
- package/skills/scientific/database-lookup/references/cosmic.md +59 -0
- package/skills/scientific/database-lookup/references/dailymed.md +65 -0
- package/skills/scientific/database-lookup/references/datacommons.md +237 -0
- package/skills/scientific/database-lookup/references/dbsnp.md +143 -0
- package/skills/scientific/database-lookup/references/disgenet.md +52 -0
- package/skills/scientific/database-lookup/references/drugbank.md +54 -0
- package/skills/scientific/database-lookup/references/ecb.md +191 -0
- package/skills/scientific/database-lookup/references/emdb.md +37 -0
- package/skills/scientific/database-lookup/references/ena.md +372 -0
- package/skills/scientific/database-lookup/references/encode.md +47 -0
- package/skills/scientific/database-lookup/references/ensembl.md +539 -0
- package/skills/scientific/database-lookup/references/epa.md +232 -0
- package/skills/scientific/database-lookup/references/eurostat.md +237 -0
- package/skills/scientific/database-lookup/references/fda.md +64 -0
- package/skills/scientific/database-lookup/references/federal-reserve.md +216 -0
- package/skills/scientific/database-lookup/references/fred.md +297 -0
- package/skills/scientific/database-lookup/references/gene-ontology.md +147 -0
- package/skills/scientific/database-lookup/references/geo.md +130 -0
- package/skills/scientific/database-lookup/references/gnomad.md +93 -0
- package/skills/scientific/database-lookup/references/gtex.md +136 -0
- package/skills/scientific/database-lookup/references/gwas-catalog.md +46 -0
- package/skills/scientific/database-lookup/references/hca.md +35 -0
- package/skills/scientific/database-lookup/references/hpo.md +48 -0
- package/skills/scientific/database-lookup/references/human-protein-atlas.md +57 -0
- package/skills/scientific/database-lookup/references/interpro.md +120 -0
- package/skills/scientific/database-lookup/references/jaspar.md +50 -0
- package/skills/scientific/database-lookup/references/kegg.md +78 -0
- package/skills/scientific/database-lookup/references/lincs-l1000.md +68 -0
- package/skills/scientific/database-lookup/references/materials-project.md +123 -0
- package/skills/scientific/database-lookup/references/metabolomics-workbench.md +98 -0
- package/skills/scientific/database-lookup/references/monarch.md +46 -0
- package/skills/scientific/database-lookup/references/mousemine.md +40 -0
- package/skills/scientific/database-lookup/references/nasa-exoplanet-archive.md +112 -0
- package/skills/scientific/database-lookup/references/nasa.md +121 -0
- package/skills/scientific/database-lookup/references/ncbi-gene.md +64 -0
- package/skills/scientific/database-lookup/references/ncbi-protein.md +104 -0
- package/skills/scientific/database-lookup/references/ncbi-taxonomy.md +121 -0
- package/skills/scientific/database-lookup/references/nist.md +105 -0
- package/skills/scientific/database-lookup/references/noaa.md +199 -0
- package/skills/scientific/database-lookup/references/omim.md +114 -0
- package/skills/scientific/database-lookup/references/opentargets.md +459 -0
- package/skills/scientific/database-lookup/references/openweathermap.md +255 -0
- package/skills/scientific/database-lookup/references/pdb.md +121 -0
- package/skills/scientific/database-lookup/references/pride.md +74 -0
- package/skills/scientific/database-lookup/references/pubchem.md +145 -0
- package/skills/scientific/database-lookup/references/quickgo.md +45 -0
- package/skills/scientific/database-lookup/references/reactome.md +140 -0
- package/skills/scientific/database-lookup/references/rummageo.md +32 -0
- package/skills/scientific/database-lookup/references/sdss.md +130 -0
- package/skills/scientific/database-lookup/references/sec-edgar.md +315 -0
- package/skills/scientific/database-lookup/references/simbad.md +131 -0
- package/skills/scientific/database-lookup/references/sra.md +149 -0
- package/skills/scientific/database-lookup/references/string.md +283 -0
- package/skills/scientific/database-lookup/references/tcga-gdc.md +58 -0
- package/skills/scientific/database-lookup/references/treasury.md +215 -0
- package/skills/scientific/database-lookup/references/ucsc-genome.md +135 -0
- package/skills/scientific/database-lookup/references/uniprot.md +283 -0
- package/skills/scientific/database-lookup/references/usgs.md +260 -0
- package/skills/scientific/database-lookup/references/uspto.md +130 -0
- package/skills/scientific/database-lookup/references/who.md +283 -0
- package/skills/scientific/database-lookup/references/worldbank.md +239 -0
- package/skills/scientific/database-lookup/references/zinc.md +202 -0
- package/skills/scientific/hypothesis-generation/SKILL.md +297 -0
- package/skills/scientific/hypothesis-generation/assets/FORMATTING_GUIDE.md +672 -0
- package/skills/scientific/hypothesis-generation/assets/hypothesis_generation.sty +307 -0
- package/skills/scientific/hypothesis-generation/assets/hypothesis_report_template.tex +572 -0
- package/skills/scientific/hypothesis-generation/references/experimental_design_patterns.md +329 -0
- package/skills/scientific/hypothesis-generation/references/hypothesis_quality_criteria.md +198 -0
- package/skills/scientific/hypothesis-generation/references/literature_search_strategies.md +622 -0
- package/skills/scientific/hypothesis-generation/scripts/generate_schematic.py +139 -0
- package/skills/scientific/hypothesis-generation/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/literature-review/SKILL.md +699 -0
- package/skills/scientific/literature-review/assets/review_template.md +412 -0
- package/skills/scientific/literature-review/references/citation_styles.md +166 -0
- package/skills/scientific/literature-review/references/database_strategies.md +455 -0
- package/skills/scientific/literature-review/scripts/generate_pdf.py +176 -0
- package/skills/scientific/literature-review/scripts/generate_schematic.py +139 -0
- package/skills/scientific/literature-review/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/literature-review/scripts/search_databases.py +303 -0
- package/skills/scientific/literature-review/scripts/verify_citations.py +222 -0
- package/skills/scientific/markdown-mermaid-writing/SKILL.md +327 -0
- package/skills/scientific/markdown-mermaid-writing/assets/examples/example-research-report.md +221 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/architecture.md +108 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/block.md +177 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/c4.md +136 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/class.md +246 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/complex_examples.md +384 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/er.md +222 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/flowchart.md +177 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/gantt.md +138 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/git_graph.md +74 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/kanban.md +107 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/mindmap.md +74 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/packet.md +55 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/pie.md +52 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/quadrant.md +66 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/radar.md +59 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/requirement.md +88 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/sankey.md +71 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/sequence.md +174 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/state.md +150 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/timeline.md +96 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/treemap.md +66 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/user_journey.md +108 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/xy_chart.md +53 -0
- package/skills/scientific/markdown-mermaid-writing/references/diagrams/zenuml.md +71 -0
- package/skills/scientific/markdown-mermaid-writing/references/markdown_style_guide.md +733 -0
- package/skills/scientific/markdown-mermaid-writing/references/mermaid_style_guide.md +458 -0
- package/skills/scientific/markdown-mermaid-writing/templates/decision_record.md +211 -0
- package/skills/scientific/markdown-mermaid-writing/templates/how_to_guide.md +275 -0
- package/skills/scientific/markdown-mermaid-writing/templates/issue.md +303 -0
- package/skills/scientific/markdown-mermaid-writing/templates/kanban.md +223 -0
- package/skills/scientific/markdown-mermaid-writing/templates/presentation.md +312 -0
- package/skills/scientific/markdown-mermaid-writing/templates/project_documentation.md +412 -0
- package/skills/scientific/markdown-mermaid-writing/templates/pull_request.md +319 -0
- package/skills/scientific/markdown-mermaid-writing/templates/research_paper.md +304 -0
- package/skills/scientific/markdown-mermaid-writing/templates/status_report.md +185 -0
- package/skills/scientific/paper-lookup/SKILL.md +193 -0
- package/skills/scientific/paper-lookup/references/arxiv.md +161 -0
- package/skills/scientific/paper-lookup/references/biorxiv.md +118 -0
- package/skills/scientific/paper-lookup/references/core.md +150 -0
- package/skills/scientific/paper-lookup/references/crossref.md +181 -0
- package/skills/scientific/paper-lookup/references/medrxiv.md +104 -0
- package/skills/scientific/paper-lookup/references/openalex.md +174 -0
- package/skills/scientific/paper-lookup/references/pmc.md +152 -0
- package/skills/scientific/paper-lookup/references/pubmed.md +124 -0
- package/skills/scientific/paper-lookup/references/semantic-scholar.md +203 -0
- package/skills/scientific/paper-lookup/references/unpaywall.md +127 -0
- package/skills/scientific/peer-review/SKILL.md +569 -0
- package/skills/scientific/peer-review/references/common_issues.md +552 -0
- package/skills/scientific/peer-review/references/reporting_standards.md +290 -0
- package/skills/scientific/peer-review/scripts/generate_schematic.py +139 -0
- package/skills/scientific/peer-review/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/scholar-evaluation/SKILL.md +298 -0
- package/skills/scientific/scholar-evaluation/references/evaluation_framework.md +663 -0
- package/skills/scientific/scholar-evaluation/scripts/calculate_scores.py +378 -0
- package/skills/scientific/scholar-evaluation/scripts/generate_schematic.py +139 -0
- package/skills/scientific/scholar-evaluation/scripts/generate_schematic_ai.py +817 -0
- package/skills/scientific/scientific-brainstorming/SKILL.md +189 -0
- package/skills/scientific/scientific-brainstorming/references/brainstorming_methods.md +326 -0
- package/skills/scientific/scientific-critical-thinking/SKILL.md +570 -0
- package/skills/scientific/scientific-critical-thinking/references/common_biases.md +364 -0
- package/skills/scientific/scientific-critical-thinking/references/evidence_hierarchy.md +484 -0
- package/skills/scientific/scientific-critical-thinking/references/experimental_design.md +496 -0
- package/skills/scientific/scientific-critical-thinking/references/logical_fallacies.md +478 -0
- package/skills/scientific/scientific-critical-thinking/references/scientific_method.md +169 -0
- package/skills/scientific/scientific-critical-thinking/references/statistical_pitfalls.md +506 -0
- package/skills/scientific/scientific-critical-thinking/scripts/generate_schematic.py +139 -0
- package/skills/scientific/scientific-critical-thinking/scripts/generate_schematic_ai.py +817 -0
- package/skills/wotann-imports/incremental-implementation.md +241 -0
- package/skills/wotann-imports/security-threat-model.md +81 -0
- package/skills/wotann-imports/triage.md +103 -0
- package/dist/build/deploy-targets/coolify.d.ts +0 -148
- package/dist/build/deploy-targets/coolify.d.ts.map +0 -1
- package/dist/build/deploy-targets/coolify.js +0 -339
- package/dist/build/deploy-targets/coolify.js.map +0 -1
- package/dist/build/deploy-targets/dokploy.d.ts +0 -139
- package/dist/build/deploy-targets/dokploy.d.ts.map +0 -1
- package/dist/build/deploy-targets/dokploy.js +0 -339
- package/dist/build/deploy-targets/dokploy.js.map +0 -1
- package/dist/claude/hardening/error-handler.d.ts +0 -52
- package/dist/claude/hardening/error-handler.d.ts.map +0 -1
- package/dist/claude/hardening/error-handler.js +0 -158
- package/dist/claude/hardening/error-handler.js.map +0 -1
- package/dist/cli/onboarding.d.ts +0 -34
- package/dist/cli/onboarding.d.ts.map +0 -1
- package/dist/cli/onboarding.js +0 -150
- package/dist/cli/onboarding.js.map +0 -1
- package/dist/core/agent-profiles.d.ts +0 -65
- package/dist/core/agent-profiles.d.ts.map +0 -1
- package/dist/core/agent-profiles.js +0 -137
- package/dist/core/agent-profiles.js.map +0 -1
- package/dist/desktop/supabase-relay.d.ts +0 -86
- package/dist/desktop/supabase-relay.d.ts.map +0 -1
- package/dist/desktop/supabase-relay.js +0 -335
- package/dist/desktop/supabase-relay.js.map +0 -1
- package/dist/intelligence/kg-builder.d.ts +0 -181
- package/dist/intelligence/kg-builder.d.ts.map +0 -1
- package/dist/intelligence/kg-builder.js +0 -807
- package/dist/intelligence/kg-builder.js.map +0 -1
- package/dist/orchestration/jean-orchestrator.d.ts +0 -79
- package/dist/orchestration/jean-orchestrator.d.ts.map +0 -1
- package/dist/orchestration/jean-orchestrator.js +0 -253
- package/dist/orchestration/jean-orchestrator.js.map +0 -1
- package/dist/orchestration/jean-registries/command-registry.d.ts +0 -85
- package/dist/orchestration/jean-registries/command-registry.d.ts.map +0 -1
- package/dist/orchestration/jean-registries/command-registry.js +0 -120
- package/dist/orchestration/jean-registries/command-registry.js.map +0 -1
- package/dist/orchestration/jean-registries/event-registry.d.ts +0 -80
- package/dist/orchestration/jean-registries/event-registry.d.ts.map +0 -1
- package/dist/orchestration/jean-registries/event-registry.js +0 -147
- package/dist/orchestration/jean-registries/event-registry.js.map +0 -1
- package/dist/orchestration/jean-registries/process-registry.d.ts +0 -71
- package/dist/orchestration/jean-registries/process-registry.d.ts.map +0 -1
- package/dist/orchestration/jean-registries/process-registry.js +0 -104
- package/dist/orchestration/jean-registries/process-registry.js.map +0 -1
- package/dist/orchestration/jean-registries/result-registry.d.ts +0 -71
- package/dist/orchestration/jean-registries/result-registry.d.ts.map +0 -1
- package/dist/orchestration/jean-registries/result-registry.js +0 -97
- package/dist/orchestration/jean-registries/result-registry.js.map +0 -1
- package/dist/providers/bedrock-signer.d.ts +0 -23
- package/dist/providers/bedrock-signer.d.ts.map +0 -1
- package/dist/providers/bedrock-signer.js +0 -439
- package/dist/providers/bedrock-signer.js.map +0 -1
- package/dist/providers/harness-profiles.d.ts +0 -70
- package/dist/providers/harness-profiles.d.ts.map +0 -1
- package/dist/providers/harness-profiles.js +0 -210
- package/dist/providers/harness-profiles.js.map +0 -1
- package/dist/providers/vertex-oauth.d.ts +0 -21
- package/dist/providers/vertex-oauth.d.ts.map +0 -1
- package/dist/providers/vertex-oauth.js +0 -393
- package/dist/providers/vertex-oauth.js.map +0 -1
- package/dist/sandbox/backends/cloud-auth.d.ts +0 -50
- package/dist/sandbox/backends/cloud-auth.d.ts.map +0 -1
- package/dist/sandbox/backends/cloud-auth.js +0 -93
- package/dist/sandbox/backends/cloud-auth.js.map +0 -1
- package/dist/security/anti-distillation.d.ts +0 -46
- package/dist/security/anti-distillation.d.ts.map +0 -1
- package/dist/security/anti-distillation.js +0 -358
- package/dist/security/anti-distillation.js.map +0 -1
- package/dist/security/multi-encoding-decoder.d.ts +0 -47
- package/dist/security/multi-encoding-decoder.d.ts.map +0 -1
- package/dist/security/multi-encoding-decoder.js +0 -336
- package/dist/security/multi-encoding-decoder.js.map +0 -1
- package/dist/ui/accessibility.d.ts +0 -157
- package/dist/ui/accessibility.d.ts.map +0 -1
- package/dist/ui/accessibility.js +0 -232
- package/dist/ui/accessibility.js.map +0 -1
- package/dist/ui/animations.d.ts +0 -102
- package/dist/ui/animations.d.ts.map +0 -1
- package/dist/ui/animations.js +0 -277
- package/dist/ui/animations.js.map +0 -1
- package/dist/ui/components/Sparkline.d.ts +0 -81
- package/dist/ui/components/Sparkline.d.ts.map +0 -1
- package/dist/ui/components/Sparkline.js +0 -102
- package/dist/ui/components/Sparkline.js.map +0 -1
- package/dist/ui/input/mouse.d.ts +0 -139
- package/dist/ui/input/mouse.d.ts.map +0 -1
- package/dist/ui/input/mouse.js +0 -239
- package/dist/ui/input/mouse.js.map +0 -1
- package/dist/ui/sound.d.ts +0 -85
- package/dist/ui/sound.d.ts.map +0 -1
- package/dist/ui/sound.js +0 -126
- package/dist/ui/sound.js.map +0 -1
|
@@ -1,35 +1,465 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Chat view: rich message display with role badges, code blocks,
|
|
4
|
+
* tool call formatting, timestamps, and streaming indicator.
|
|
5
|
+
*
|
|
6
|
+
* V9 design polish:
|
|
7
|
+
* - Role badges pull glyphs + colors from design tokens. Each role
|
|
8
|
+
* has its own muted-vs-bold balance so the chat scans cleanly.
|
|
9
|
+
* - The streaming indicator uses the Spinner primitive — same dot
|
|
10
|
+
* animation as PromptInput / StatusBar, so all "we're working"
|
|
11
|
+
* surfaces share a single pulse.
|
|
12
|
+
* - Code-block container uses the rounded-card border style instead
|
|
13
|
+
* of the bare "single" so embedded code feels like a proper card,
|
|
14
|
+
* not a sliced rectangle.
|
|
15
|
+
* - Empty state — no messages — gets a friendly hint instead of a
|
|
16
|
+
* totally blank chat zone, matching the polish of other surfaces.
|
|
17
|
+
*/
|
|
18
|
+
import { useEffect, useState } from "react";
|
|
2
19
|
import { Box, Text } from "ink";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
20
|
+
import { glyph, rune } from "../theme/tokens.js";
|
|
21
|
+
import { useThemeTone } from "../theme/context.js";
|
|
5
22
|
import { Spinner } from "./primitives/index.js";
|
|
23
|
+
/**
|
|
24
|
+
* Cycle through varied "model is working" phrasing so the spinner
|
|
25
|
+
* doesn't feel frozen during a long reasoning window. Mirrors Claude
|
|
26
|
+
* Code's pattern of "Pondering / Reflecting / Brewing" — the user can
|
|
27
|
+
* SEE that the UI is alive even when the provider isn't shipping
|
|
28
|
+
* tokens yet. Phrases are short, present-continuous, and intentionally
|
|
29
|
+
* varied in connotation (some literal, some playful) so the screen
|
|
30
|
+
* doesn't read like a static loop.
|
|
31
|
+
*/
|
|
32
|
+
const THINKING_PHRASES = [
|
|
33
|
+
"Thinking",
|
|
34
|
+
"Reasoning",
|
|
35
|
+
"Pondering",
|
|
36
|
+
"Reflecting",
|
|
37
|
+
"Cogitating",
|
|
38
|
+
"Brewing",
|
|
39
|
+
"Plotting",
|
|
40
|
+
"Mulling",
|
|
41
|
+
"Considering",
|
|
42
|
+
"Working",
|
|
43
|
+
"Processing",
|
|
44
|
+
];
|
|
45
|
+
/**
|
|
46
|
+
* `useElapsedSeconds(active)` — counts whole seconds since `active`
|
|
47
|
+
* flipped to true. Resets when `active` goes false. We use this to
|
|
48
|
+
* surface a "Thinking 5s" reference next to the spinner so the user
|
|
49
|
+
* has a sense of "is this stuck or just slow."
|
|
50
|
+
*/
|
|
51
|
+
function useElapsedSeconds(active) {
|
|
52
|
+
const [seconds, setSeconds] = useState(0);
|
|
53
|
+
useEffect(() => {
|
|
54
|
+
if (!active) {
|
|
55
|
+
setSeconds(0);
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
const startedAt = Date.now();
|
|
59
|
+
const id = setInterval(() => {
|
|
60
|
+
setSeconds(Math.floor((Date.now() - startedAt) / 1000));
|
|
61
|
+
}, 1000);
|
|
62
|
+
return () => clearInterval(id);
|
|
63
|
+
}, [active]);
|
|
64
|
+
return seconds;
|
|
65
|
+
}
|
|
66
|
+
function useCyclingPhrase(active, intervalMs = 2200) {
|
|
67
|
+
const [index, setIndex] = useState(0);
|
|
68
|
+
useEffect(() => {
|
|
69
|
+
if (!active) {
|
|
70
|
+
setIndex(0);
|
|
71
|
+
return undefined;
|
|
72
|
+
}
|
|
73
|
+
const id = setInterval(() => {
|
|
74
|
+
setIndex((i) => (i + 1) % THINKING_PHRASES.length);
|
|
75
|
+
}, intervalMs);
|
|
76
|
+
return () => clearInterval(id);
|
|
77
|
+
}, [active, intervalMs]);
|
|
78
|
+
return THINKING_PHRASES[index] ?? "Thinking";
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* BlinkingTail — cursor-style trailing glyph that toggles visibility
|
|
82
|
+
* every ~500ms. The streaming-text trail used to be a static `▌` that
|
|
83
|
+
* looked dead even though new tokens were arriving every few hundred
|
|
84
|
+
* ms; the blink + bold-on/dim-off rhythm matches a real typing cursor
|
|
85
|
+
* and gives the eye a "this is alive" anchor while text streams.
|
|
86
|
+
*/
|
|
87
|
+
function BlinkingTail({ tone }) {
|
|
88
|
+
const [visible, setVisible] = useState(true);
|
|
89
|
+
useEffect(() => {
|
|
90
|
+
const id = setInterval(() => setVisible((v) => !v), 500);
|
|
91
|
+
return () => clearInterval(id);
|
|
92
|
+
}, []);
|
|
93
|
+
return (_jsx(Text, { color: tone.primary, bold: visible, dimColor: !visible, children: visible ? "▌" : " " }));
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Hand-rolled fenced-block highlighter — three-pass tokenizer over
|
|
97
|
+
* each line: comments → muted, string literals → success-green,
|
|
98
|
+
* keywords → primaryMuted bold. No external dep. Languages with
|
|
99
|
+
* keyword tables: typescript / javascript / python / bash / rust /
|
|
100
|
+
* go / json. Unknown langs fall back to "strings + comments only".
|
|
101
|
+
*
|
|
102
|
+
* Note: `RegExp.prototype.exec` is the standard JavaScript regex
|
|
103
|
+
* matching API — entirely unrelated to `child_process.exec` shell
|
|
104
|
+
* spawning. There's no shell invocation in this module.
|
|
105
|
+
*/
|
|
106
|
+
const LANG_KEYWORDS = {
|
|
107
|
+
typescript: [
|
|
108
|
+
"const",
|
|
109
|
+
"let",
|
|
110
|
+
"var",
|
|
111
|
+
"function",
|
|
112
|
+
"return",
|
|
113
|
+
"if",
|
|
114
|
+
"else",
|
|
115
|
+
"for",
|
|
116
|
+
"while",
|
|
117
|
+
"do",
|
|
118
|
+
"switch",
|
|
119
|
+
"case",
|
|
120
|
+
"default",
|
|
121
|
+
"break",
|
|
122
|
+
"continue",
|
|
123
|
+
"try",
|
|
124
|
+
"catch",
|
|
125
|
+
"finally",
|
|
126
|
+
"throw",
|
|
127
|
+
"new",
|
|
128
|
+
"this",
|
|
129
|
+
"super",
|
|
130
|
+
"class",
|
|
131
|
+
"extends",
|
|
132
|
+
"implements",
|
|
133
|
+
"interface",
|
|
134
|
+
"type",
|
|
135
|
+
"enum",
|
|
136
|
+
"import",
|
|
137
|
+
"from",
|
|
138
|
+
"export",
|
|
139
|
+
"default",
|
|
140
|
+
"async",
|
|
141
|
+
"await",
|
|
142
|
+
"yield",
|
|
143
|
+
"of",
|
|
144
|
+
"in",
|
|
145
|
+
"true",
|
|
146
|
+
"false",
|
|
147
|
+
"null",
|
|
148
|
+
"undefined",
|
|
149
|
+
"void",
|
|
150
|
+
"typeof",
|
|
151
|
+
"instanceof",
|
|
152
|
+
"as",
|
|
153
|
+
"is",
|
|
154
|
+
"readonly",
|
|
155
|
+
"private",
|
|
156
|
+
"protected",
|
|
157
|
+
"public",
|
|
158
|
+
"static",
|
|
159
|
+
"abstract",
|
|
160
|
+
"namespace",
|
|
161
|
+
],
|
|
162
|
+
javascript: [
|
|
163
|
+
"const",
|
|
164
|
+
"let",
|
|
165
|
+
"var",
|
|
166
|
+
"function",
|
|
167
|
+
"return",
|
|
168
|
+
"if",
|
|
169
|
+
"else",
|
|
170
|
+
"for",
|
|
171
|
+
"while",
|
|
172
|
+
"do",
|
|
173
|
+
"switch",
|
|
174
|
+
"case",
|
|
175
|
+
"default",
|
|
176
|
+
"break",
|
|
177
|
+
"continue",
|
|
178
|
+
"try",
|
|
179
|
+
"catch",
|
|
180
|
+
"finally",
|
|
181
|
+
"throw",
|
|
182
|
+
"new",
|
|
183
|
+
"this",
|
|
184
|
+
"super",
|
|
185
|
+
"class",
|
|
186
|
+
"extends",
|
|
187
|
+
"import",
|
|
188
|
+
"from",
|
|
189
|
+
"export",
|
|
190
|
+
"default",
|
|
191
|
+
"async",
|
|
192
|
+
"await",
|
|
193
|
+
"yield",
|
|
194
|
+
"of",
|
|
195
|
+
"in",
|
|
196
|
+
"true",
|
|
197
|
+
"false",
|
|
198
|
+
"null",
|
|
199
|
+
"undefined",
|
|
200
|
+
"typeof",
|
|
201
|
+
"instanceof",
|
|
202
|
+
],
|
|
203
|
+
python: [
|
|
204
|
+
"def",
|
|
205
|
+
"class",
|
|
206
|
+
"return",
|
|
207
|
+
"if",
|
|
208
|
+
"elif",
|
|
209
|
+
"else",
|
|
210
|
+
"for",
|
|
211
|
+
"while",
|
|
212
|
+
"break",
|
|
213
|
+
"continue",
|
|
214
|
+
"try",
|
|
215
|
+
"except",
|
|
216
|
+
"finally",
|
|
217
|
+
"raise",
|
|
218
|
+
"with",
|
|
219
|
+
"as",
|
|
220
|
+
"import",
|
|
221
|
+
"from",
|
|
222
|
+
"lambda",
|
|
223
|
+
"True",
|
|
224
|
+
"False",
|
|
225
|
+
"None",
|
|
226
|
+
"and",
|
|
227
|
+
"or",
|
|
228
|
+
"not",
|
|
229
|
+
"is",
|
|
230
|
+
"in",
|
|
231
|
+
"pass",
|
|
232
|
+
"yield",
|
|
233
|
+
"global",
|
|
234
|
+
"nonlocal",
|
|
235
|
+
"async",
|
|
236
|
+
"await",
|
|
237
|
+
],
|
|
238
|
+
bash: [
|
|
239
|
+
"if",
|
|
240
|
+
"then",
|
|
241
|
+
"else",
|
|
242
|
+
"elif",
|
|
243
|
+
"fi",
|
|
244
|
+
"for",
|
|
245
|
+
"in",
|
|
246
|
+
"do",
|
|
247
|
+
"done",
|
|
248
|
+
"while",
|
|
249
|
+
"case",
|
|
250
|
+
"esac",
|
|
251
|
+
"function",
|
|
252
|
+
"return",
|
|
253
|
+
"echo",
|
|
254
|
+
"export",
|
|
255
|
+
"local",
|
|
256
|
+
"readonly",
|
|
257
|
+
"set",
|
|
258
|
+
"unset",
|
|
259
|
+
],
|
|
260
|
+
sh: ["if", "then", "else", "elif", "fi", "for", "in", "do", "done", "while", "case", "esac"],
|
|
261
|
+
rust: [
|
|
262
|
+
"fn",
|
|
263
|
+
"let",
|
|
264
|
+
"mut",
|
|
265
|
+
"const",
|
|
266
|
+
"static",
|
|
267
|
+
"if",
|
|
268
|
+
"else",
|
|
269
|
+
"match",
|
|
270
|
+
"for",
|
|
271
|
+
"while",
|
|
272
|
+
"loop",
|
|
273
|
+
"return",
|
|
274
|
+
"break",
|
|
275
|
+
"continue",
|
|
276
|
+
"struct",
|
|
277
|
+
"enum",
|
|
278
|
+
"trait",
|
|
279
|
+
"impl",
|
|
280
|
+
"pub",
|
|
281
|
+
"use",
|
|
282
|
+
"mod",
|
|
283
|
+
"as",
|
|
284
|
+
"in",
|
|
285
|
+
"self",
|
|
286
|
+
"Self",
|
|
287
|
+
"super",
|
|
288
|
+
"where",
|
|
289
|
+
"async",
|
|
290
|
+
"await",
|
|
291
|
+
"move",
|
|
292
|
+
"ref",
|
|
293
|
+
"true",
|
|
294
|
+
"false",
|
|
295
|
+
],
|
|
296
|
+
go: [
|
|
297
|
+
"func",
|
|
298
|
+
"var",
|
|
299
|
+
"const",
|
|
300
|
+
"type",
|
|
301
|
+
"struct",
|
|
302
|
+
"interface",
|
|
303
|
+
"package",
|
|
304
|
+
"import",
|
|
305
|
+
"if",
|
|
306
|
+
"else",
|
|
307
|
+
"for",
|
|
308
|
+
"range",
|
|
309
|
+
"switch",
|
|
310
|
+
"case",
|
|
311
|
+
"default",
|
|
312
|
+
"break",
|
|
313
|
+
"continue",
|
|
314
|
+
"return",
|
|
315
|
+
"go",
|
|
316
|
+
"defer",
|
|
317
|
+
"select",
|
|
318
|
+
"chan",
|
|
319
|
+
"map",
|
|
320
|
+
"true",
|
|
321
|
+
"false",
|
|
322
|
+
"nil",
|
|
323
|
+
],
|
|
324
|
+
json: ["true", "false", "null"],
|
|
325
|
+
};
|
|
326
|
+
const CODE_KEYWORD_RX_CACHE = new Map();
|
|
327
|
+
function keywordRegex(lang) {
|
|
328
|
+
const keywords = LANG_KEYWORDS[lang.toLowerCase()];
|
|
329
|
+
if (!keywords || keywords.length === 0)
|
|
330
|
+
return null;
|
|
331
|
+
const cached = CODE_KEYWORD_RX_CACHE.get(lang);
|
|
332
|
+
if (cached)
|
|
333
|
+
return cached;
|
|
334
|
+
const rx = new RegExp(`\\b(${keywords.join("|")})\\b`, "g");
|
|
335
|
+
CODE_KEYWORD_RX_CACHE.set(lang, rx);
|
|
336
|
+
return rx;
|
|
337
|
+
}
|
|
338
|
+
function highlightCodeBlock(code, lang, tone) {
|
|
339
|
+
const lines = code.split("\n");
|
|
340
|
+
const kwRx = keywordRegex(lang);
|
|
341
|
+
const out = [];
|
|
342
|
+
for (let lineIdx = 0; lineIdx < lines.length; lineIdx++) {
|
|
343
|
+
const line = lines[lineIdx] ?? "";
|
|
344
|
+
const lineKey = `cb-${lineIdx}`;
|
|
345
|
+
const trailingNewline = lineIdx < lines.length - 1 ? "\n" : "";
|
|
346
|
+
const trimmed = line.trimStart();
|
|
347
|
+
const isComment = trimmed.startsWith("//") ||
|
|
348
|
+
(trimmed.startsWith("#") &&
|
|
349
|
+
["bash", "sh", "zsh", "python", "yaml", "ruby"].includes(lang.toLowerCase()));
|
|
350
|
+
if (isComment) {
|
|
351
|
+
out.push(_jsxs(Text, { color: tone.muted, dimColor: true, children: [line, trailingNewline] }, lineKey));
|
|
352
|
+
continue;
|
|
353
|
+
}
|
|
354
|
+
// String spans first so quoted text doesn't get mid-word colored
|
|
355
|
+
// by the keyword pass — i.e. `"return"` stays a string, doesn't
|
|
356
|
+
// light up the bare-word "return" inside.
|
|
357
|
+
const stringRx = /(['"`])(?:\\.|(?!\1)[^\\])*\1/g;
|
|
358
|
+
let cursor = 0;
|
|
359
|
+
let m;
|
|
360
|
+
let tokenIdx = 0;
|
|
361
|
+
while ((m = stringRx.exec(line)) !== null) {
|
|
362
|
+
const before = line.slice(cursor, m.index);
|
|
363
|
+
if (before)
|
|
364
|
+
out.push(highlightKeywords(before, kwRx, tone, `${lineKey}-pre-${tokenIdx}`));
|
|
365
|
+
out.push(_jsx(Text, { color: tone.success, children: m[0] }, `${lineKey}-str-${tokenIdx}`));
|
|
366
|
+
cursor = m.index + m[0].length;
|
|
367
|
+
tokenIdx++;
|
|
368
|
+
}
|
|
369
|
+
const tail = line.slice(cursor);
|
|
370
|
+
if (tail)
|
|
371
|
+
out.push(highlightKeywords(tail, kwRx, tone, `${lineKey}-tail`));
|
|
372
|
+
if (trailingNewline)
|
|
373
|
+
out.push(_jsx(Text, { children: trailingNewline }, `${lineKey}-nl`));
|
|
374
|
+
}
|
|
375
|
+
return out;
|
|
376
|
+
}
|
|
377
|
+
function highlightKeywords(text, rx, tone, keyPrefix) {
|
|
378
|
+
if (!rx)
|
|
379
|
+
return _jsx(Text, { children: text }, keyPrefix);
|
|
380
|
+
rx.lastIndex = 0;
|
|
381
|
+
const out = [];
|
|
382
|
+
let cursor = 0;
|
|
383
|
+
let m;
|
|
384
|
+
let i = 0;
|
|
385
|
+
while ((m = rx.exec(text)) !== null) {
|
|
386
|
+
const before = text.slice(cursor, m.index);
|
|
387
|
+
if (before)
|
|
388
|
+
out.push(_jsx(Text, { children: before }, `${keyPrefix}-pre-${i}`));
|
|
389
|
+
out.push(_jsx(Text, { color: tone.primaryMuted, bold: true, children: m[0] }, `${keyPrefix}-kw-${i}`));
|
|
390
|
+
cursor = m.index + m[0].length;
|
|
391
|
+
i++;
|
|
392
|
+
}
|
|
393
|
+
const tail = text.slice(cursor);
|
|
394
|
+
if (tail)
|
|
395
|
+
out.push(_jsx(Text, { children: tail }, `${keyPrefix}-tail`));
|
|
396
|
+
return out;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* `renderInlineCode(text)` — splits a string by single-backtick spans
|
|
400
|
+
* and renders the inside with the muted-primary tone so inline code
|
|
401
|
+
* (like `setActiveProvider`) stands out from prose without needing a
|
|
402
|
+
* full syntax highlighter. Falls through to a plain Text node when
|
|
403
|
+
* the input has zero backticks (the common case) so we don't pay
|
|
404
|
+
* the split-cost on every chunk.
|
|
405
|
+
*/
|
|
406
|
+
function renderInlineCode(text, tone) {
|
|
407
|
+
if (!text.includes("`"))
|
|
408
|
+
return text;
|
|
409
|
+
// Only single-backtick spans; ChatView's outer formatContent already
|
|
410
|
+
// peeled off triple-backtick fenced blocks.
|
|
411
|
+
const parts = text.split(/(`[^`\n]+`)/g);
|
|
412
|
+
return parts.map((segment, i) => {
|
|
413
|
+
if (segment.startsWith("`") && segment.endsWith("`") && segment.length > 2) {
|
|
414
|
+
return (_jsx(Text, { color: tone.primaryMuted, bold: true, children: segment.slice(1, -1) }, `code-${i}`));
|
|
415
|
+
}
|
|
416
|
+
return _jsx(Text, { children: segment }, `txt-${i}`);
|
|
417
|
+
});
|
|
418
|
+
}
|
|
6
419
|
const ROLE_CONFIG = {
|
|
7
420
|
user: { icon: glyph.pointer, accent: "info", label: "You" },
|
|
8
421
|
assistant: { icon: glyph.badgeAssistant, accent: "primary", label: "WOTANN" },
|
|
9
|
-
|
|
422
|
+
// System messages used a heavy `●` + warning yellow which made every
|
|
423
|
+
// routine "Provider switched" / "Memory captured" notification look
|
|
424
|
+
// like a problem demanding attention. Dropped to a thin corner-arrow
|
|
425
|
+
// lead character + muted gray so they read as gentle annotations
|
|
426
|
+
// instead of alerts. Box-style outputs (help tables, mode pickers)
|
|
427
|
+
// override to warning hue inside formatContent so authoritative
|
|
428
|
+
// surfaces still pop.
|
|
429
|
+
system: { icon: "↳", accent: "muted", label: "System" },
|
|
10
430
|
tool: { icon: glyph.bullet, accent: "primaryMuted", label: "Tool" },
|
|
11
431
|
};
|
|
12
432
|
function formatContent(content, role, tone) {
|
|
13
|
-
// System messages
|
|
433
|
+
// System messages: softer tone (muted) with a leading lead-character
|
|
434
|
+
// when not a structured ASCII-box. Box outputs (help, mode tables)
|
|
435
|
+
// keep their warning hue so the hierarchy stays — they're authoritative
|
|
436
|
+
// surfaces, not gentle nudges.
|
|
14
437
|
if (role === "system") {
|
|
15
|
-
// Check if it's a structured command output (contains box-drawing chars or bullet points)
|
|
16
438
|
if (content.includes("╭") || content.includes("│")) {
|
|
17
439
|
return _jsx(Text, { color: tone.warning, children: content });
|
|
18
440
|
}
|
|
19
|
-
return _jsx(Text, { color: tone.
|
|
441
|
+
return (_jsx(Box, { children: _jsx(Text, { color: tone.muted, children: content }) }));
|
|
20
442
|
}
|
|
21
443
|
// Split content into code blocks and text
|
|
22
444
|
const parts = [];
|
|
23
445
|
const segments = content.split(/(```[\s\S]*?```)/g);
|
|
24
446
|
segments.forEach((segment, i) => {
|
|
25
447
|
if (segment.startsWith("```") && segment.endsWith("```")) {
|
|
26
|
-
// Code block
|
|
448
|
+
// Code block — extract the language tag (```typescript → typescript)
|
|
449
|
+
// and surface it as a small label above the code. Mirrors Claude
|
|
450
|
+
// Code's pattern of "labeled fenced blocks" so users can scan a
|
|
451
|
+
// long answer for the language they care about.
|
|
452
|
+
const langMatch = segment.match(/^```(\w+)?\n?/);
|
|
453
|
+
const lang = langMatch?.[1] ?? "";
|
|
27
454
|
const code = segment.replace(/^```\w*\n?/, "").replace(/\n?```$/, "");
|
|
28
|
-
parts.push(
|
|
455
|
+
parts.push(_jsxs(Box, { flexDirection: "column", marginY: 0, children: [lang && (_jsx(Box, { paddingX: 1, children: _jsx(Text, { color: tone.primaryMuted, bold: true, children: lang }) })), _jsx(Box, { flexDirection: "column", paddingX: 1, borderStyle: "round", borderColor: tone.border, children: _jsx(Text, { color: tone.text, children: highlightCodeBlock(code, lang, tone) }) })] }, i));
|
|
29
456
|
}
|
|
30
457
|
else if (segment.trim()) {
|
|
31
|
-
// Regular text —
|
|
32
|
-
|
|
458
|
+
// Regular text — render in primary text color for assistant
|
|
459
|
+
// messages, role-default for others. Inline `backticks` get
|
|
460
|
+
// highlighted via renderInlineCode so terms like `setActiveProvider`
|
|
461
|
+
// visually pop without needing full syntax highlighting.
|
|
462
|
+
parts.push(_jsx(Text, { wrap: "wrap", color: role === "assistant" ? tone.text : undefined, children: renderInlineCode(segment, tone) }, i));
|
|
33
463
|
}
|
|
34
464
|
});
|
|
35
465
|
return _jsx(Box, { flexDirection: "column", children: parts });
|
|
@@ -39,11 +469,70 @@ function MessageBubble({ message, tone, }) {
|
|
|
39
469
|
const accentColor = tone[config.accent];
|
|
40
470
|
return (_jsxs(Box, { flexDirection: "column", marginBottom: 1, children: [_jsxs(Box, { gap: 1, children: [_jsxs(Text, { color: accentColor, bold: true, children: [config.icon, " ", config.label] }), message.model && _jsxs(Text, { color: tone.muted, children: ["(", message.model, ")"] }), message.toolName && (_jsxs(Box, { children: [_jsx(Text, { color: tone.primaryMuted, children: "[" }), _jsx(Text, { color: tone.primary, children: message.toolName }), _jsx(Text, { color: tone.primaryMuted, children: "]" })] })), message.tokensUsed && message.tokensUsed > 0 && (_jsxs(Text, { color: tone.muted, children: [message.tokensUsed.toLocaleString(), "t"] }))] }), _jsx(Box, { paddingLeft: 3, children: formatContent(message.content, message.role, tone) })] }));
|
|
41
471
|
}
|
|
42
|
-
export function ChatView({ messages, isStreaming, streamingContent, currentModel, }) {
|
|
43
|
-
const tone =
|
|
472
|
+
export function ChatView({ messages, isStreaming, streamingContent, streamingThinking, currentModel, }) {
|
|
473
|
+
const { tone } = useThemeTone();
|
|
44
474
|
// Empty state — encourage the user with a tiny help hint instead of
|
|
45
475
|
// an utterly blank chat pane.
|
|
46
476
|
const showEmpty = messages.length === 0 && !isStreaming;
|
|
47
|
-
return (_jsxs(Box, { flexDirection: "column", flexGrow: 1, paddingX: 1, children: [showEmpty && (_jsxs(Box, { flexDirection: "column", paddingY: 1, paddingX: 1, gap: 1, children: [_jsxs(Box, { gap: 1, children: [_jsx(Text, { color: tone.rune, bold: true, children: rune.ask }), _jsx(Text, { color: tone.text, bold: true, children: "Ready when you are." })] }), _jsx(Text, { color: tone.muted, children: "Type a question, drop a path with @file, or press / for commands." })] })), messages.map((msg, i) => (_jsx(MessageBubble, { message: msg, tone: tone }, `msg-${i}-${msg.role}`))), isStreaming && streamingContent && (_jsxs(Box, { flexDirection: "column", marginBottom: 1,
|
|
477
|
+
return (_jsxs(Box, { flexDirection: "column", flexGrow: 1, paddingX: 1, children: [showEmpty && (_jsxs(Box, { flexDirection: "column", paddingY: 1, paddingX: 1, gap: 1, children: [_jsxs(Box, { gap: 1, children: [_jsx(Text, { color: tone.rune, bold: true, children: rune.ask }), _jsx(Text, { color: tone.text, bold: true, children: "Ready when you are." })] }), _jsx(Text, { color: tone.muted, children: "Type a question, drop a path with @file, or press / for commands." })] })), messages.map((msg, i) => (_jsx(MessageBubble, { message: msg, tone: tone }, `msg-${i}-${msg.role}`))), isStreaming && streamingContent && (_jsxs(Box, { flexDirection: "column", marginBottom: 1, marginTop: 1, borderStyle: "single", borderLeft: true, borderTop: false, borderRight: false, borderBottom: false, borderColor: tone.success, paddingLeft: 1, children: [_jsx(StreamingHeader, { tone: tone, currentModel: currentModel, streamingContent: streamingContent }), _jsxs(Box, { paddingLeft: 2, children: [_jsx(Text, { wrap: "wrap", color: tone.text, children: renderInlineCode(streamingContent, tone) }), _jsx(BlinkingTail, { tone: tone })] })] })), _jsx(ThinkingSurface, { active: isStreaming && !streamingContent, thinking: streamingThinking ?? "", tone: tone })] }));
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* Streaming header — assistant badge + model + spinner + chars/sec rate.
|
|
481
|
+
* The rate readout uses character count as a token proxy (avoids
|
|
482
|
+
* pulling in a tokenizer just for a status indicator) and updates
|
|
483
|
+
* every ~500ms so it feels live without thrashing the render loop.
|
|
484
|
+
*
|
|
485
|
+
* Why this matters: for non-thinking models (Claude Opus 4.7 default,
|
|
486
|
+
* Gemini, openai chat-completions without reasoning), the user
|
|
487
|
+
* otherwise gets ZERO progress signal beyond the streaming text
|
|
488
|
+
* itself. Once you've stared at "Thinking…" for 3 seconds you start
|
|
489
|
+
* to suspect a hang. A live "27 ch/s" readout removes all doubt.
|
|
490
|
+
*/
|
|
491
|
+
function StreamingHeader({ tone, currentModel, streamingContent, }) {
|
|
492
|
+
const [snapshot, setSnapshot] = useState({ chars: 0, t: Date.now() });
|
|
493
|
+
const [rate, setRate] = useState(null);
|
|
494
|
+
useEffect(() => {
|
|
495
|
+
const id = setInterval(() => {
|
|
496
|
+
const now = Date.now();
|
|
497
|
+
const dt = (now - snapshot.t) / 1000;
|
|
498
|
+
const dchars = streamingContent.length - snapshot.chars;
|
|
499
|
+
if (dt > 0.4) {
|
|
500
|
+
setRate(dchars / dt);
|
|
501
|
+
setSnapshot({ chars: streamingContent.length, t: now });
|
|
502
|
+
}
|
|
503
|
+
}, 500);
|
|
504
|
+
return () => clearInterval(id);
|
|
505
|
+
}, [streamingContent, snapshot]);
|
|
506
|
+
return (_jsxs(Box, { gap: 1, children: [_jsxs(Text, { color: tone.primary, bold: true, children: [glyph.badgeAssistant, " WOTANN"] }), currentModel && _jsxs(Text, { color: tone.muted, children: ["(", currentModel, ")"] }), _jsx(Spinner, { tone: tone, accent: "primary" }), rate !== null && rate > 0 && (_jsxs(_Fragment, { children: [_jsx(Text, { color: tone.border, children: "\u00B7" }), _jsxs(Text, { color: tone.muted, children: [Math.round(rate), " ch/s"] })] }))] }));
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* The "we're waiting on the model" surface. Pulled out of ChatView so
|
|
510
|
+
* the cycling phrase + elapsed-seconds hooks don't fire on every
|
|
511
|
+
* message render and so the surface can re-render independently
|
|
512
|
+
* without dragging the rest of the chat with it.
|
|
513
|
+
*
|
|
514
|
+
* Two-tier display:
|
|
515
|
+
* - Tier 1 (always): cycling phrase + elapsed seconds + thinking-
|
|
516
|
+
* char counter. Works for every provider regardless of whether
|
|
517
|
+
* they stream reasoning deltas.
|
|
518
|
+
* - Tier 2 (when reasoning deltas arrive): tail-rendered last 6
|
|
519
|
+
* lines of the chain-of-thought. Only fills for codex/gpt-5.5
|
|
520
|
+
* reasoning_summary_text.delta and anthropic thinking_delta.
|
|
521
|
+
*
|
|
522
|
+
* Premium polish: when no thinking text is streaming, the elapsed
|
|
523
|
+
* counter promotes from "5s" → "5s · drafting" → "5s · drafting (8s)"
|
|
524
|
+
* so the surface keeps evolving even on a non-reasoning model.
|
|
525
|
+
*/
|
|
526
|
+
function ThinkingSurface({ active, thinking, tone, }) {
|
|
527
|
+
const phrase = useCyclingPhrase(active);
|
|
528
|
+
const seconds = useElapsedSeconds(active);
|
|
529
|
+
if (!active)
|
|
530
|
+
return null;
|
|
531
|
+
const elapsedLabel = seconds < 1 ? "" : `${seconds}s`;
|
|
532
|
+
const hasThinkingText = thinking.trim().length > 0;
|
|
533
|
+
// Char-count cue for thinking deltas — gives the user a sense of
|
|
534
|
+
// depth even when the tail-rendered text doesn't fit on screen.
|
|
535
|
+
const thinkingChars = thinking.length;
|
|
536
|
+
return (_jsxs(Box, { flexDirection: "column", paddingLeft: 1, gap: 1, marginTop: 1, children: [_jsxs(Box, { gap: 1, children: [_jsx(Spinner, { tone: tone, accent: "primary", label: `${phrase}…` }), elapsedLabel && _jsxs(Text, { color: tone.muted, children: ["\u00B7 ", elapsedLabel] }), hasThinkingText && (_jsxs(_Fragment, { children: [_jsx(Text, { color: tone.border, children: "\u00B7" }), _jsxs(Text, { color: tone.muted, children: [thinkingChars, " ch reasoning"] })] })), !hasThinkingText && seconds >= 5 && (_jsxs(_Fragment, { children: [_jsx(Text, { color: tone.border, children: "\u00B7" }), _jsx(Text, { color: tone.muted, dimColor: true, children: seconds >= 15 ? "drafting (slow)" : "drafting" })] }))] }), hasThinkingText && (_jsx(Box, { paddingLeft: 2, children: _jsx(Text, { dimColor: true, wrap: "wrap", children: thinking.split("\n").slice(-6).join("\n") }) }))] }));
|
|
48
537
|
}
|
|
49
538
|
//# sourceMappingURL=ChatView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatView.js","sourceRoot":"","sources":["../../../src/ui/components/ChatView.tsx"],"names":[],"mappings":";AAkBA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAa,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAehD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AE,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,UAAU,GAC1C,IACN,CACJ,IACG,EACL,eAAe,IAAI,CAClB,KAAC,GAAG,IAAC,WAAW,EAAE,CAAC,YACjB,KAAC,IAAI,IAAC,QAAQ,QAAC,IAAI,EAAC,MAAM,YAIvB,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,GACrC,GACH,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -38,6 +38,8 @@ export interface R09CommandDeps {
|
|
|
38
38
|
readonly onCycleMode: () => void;
|
|
39
39
|
/** Open the magic-commands sub-palette (registers + displays). */
|
|
40
40
|
readonly onOpenMagic: () => void;
|
|
41
|
+
/** Open the interactive provider setup overlay. */
|
|
42
|
+
readonly onOpenProviderSetup?: () => void;
|
|
41
43
|
}
|
|
42
44
|
/**
|
|
43
45
|
* Build the 19 R-09 command specs. Pure function so callers can inspect
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommandPaletteCommands.d.ts","sourceRoot":"","sources":["../../../src/ui/components/CommandPaletteCommands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGvE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,mEAAmE;IACnE,QAAQ,CAAC,mBAAmB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,gDAAgD;IAChD,QAAQ,CAAC,cAAc,EAAE,MAAM,IAAI,CAAC;IACpC,4EAA4E;IAC5E,QAAQ,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC;IACjC,kEAAkE;IAClE,QAAQ,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"CommandPaletteCommands.d.ts","sourceRoot":"","sources":["../../../src/ui/components/CommandPaletteCommands.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGvE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,mEAAmE;IACnE,QAAQ,CAAC,mBAAmB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,gDAAgD;IAChD,QAAQ,CAAC,cAAc,EAAE,MAAM,IAAI,CAAC;IACpC,4EAA4E;IAC5E,QAAQ,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC;IACjC,kEAAkE;IAClE,QAAQ,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC;IACjC,mDAAmD;IACnD,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3C;AAWD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,cAAc,GAAG,SAAS,OAAO,EAAE,CAuPzE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,mBAAmB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,GAC7C,SAAS,OAAO,EAAE,CAapB;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAKlD;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,cAAc,GAAG,MAAM,IAAI,CAM/F"}
|
|
@@ -96,10 +96,26 @@ export function buildR09Commands(deps) {
|
|
|
96
96
|
{
|
|
97
97
|
id: "r09.settings",
|
|
98
98
|
label: "Settings",
|
|
99
|
-
description: "
|
|
99
|
+
description: "Show TUI settings shortcuts for providers, themes, and keybindings",
|
|
100
100
|
keywords: ["settings", "config", "preferences", "providers"],
|
|
101
101
|
handler: () => {
|
|
102
|
-
deps.appendSystemMessage(
|
|
102
|
+
deps.appendSystemMessage([
|
|
103
|
+
"TUI settings shortcuts:",
|
|
104
|
+
" • Ctrl+O opens the provider/model picker.",
|
|
105
|
+
" • Ctrl+T cycles themes.",
|
|
106
|
+
" • Ctrl+P opens this command palette.",
|
|
107
|
+
" • Run Provider Setup from this palette to configure NVIDIA, Copilot, Hugging Face, and local providers.",
|
|
108
|
+
"Press Ctrl+O here to pick any discovered provider/model for the active session.",
|
|
109
|
+
].join("\n"));
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
id: "r09.provider-setup",
|
|
114
|
+
label: "Provider Setup",
|
|
115
|
+
description: "Configure NVIDIA, Copilot, Hugging Face, Ollama, and API-key providers",
|
|
116
|
+
keywords: ["provider", "providers", "nvidia", "huggingface", "copilot", "ollama", "api key"],
|
|
117
|
+
handler: () => {
|
|
118
|
+
deps.onOpenProviderSetup?.();
|
|
103
119
|
},
|
|
104
120
|
},
|
|
105
121
|
{
|