jeopi-cli 16.2.14 → 16.2.17
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/CHANGELOG.md +28 -0
- package/dist/cli.js +2562 -2561
- package/dist/types/advisor/__tests__/advisor.test.d.ts +1 -0
- package/dist/types/advisor/__tests__/config.test.d.ts +1 -0
- package/dist/types/advisor/__tests__/emission-guard.test.d.ts +1 -0
- package/dist/types/advisor/advise-tool.d.ts +106 -0
- package/dist/types/advisor/config.d.ts +90 -0
- package/dist/types/advisor/emission-guard.d.ts +73 -0
- package/dist/types/advisor/index.d.ts +6 -0
- package/dist/types/advisor/runtime.d.ts +76 -0
- package/dist/types/advisor/transcript-recorder.d.ts +63 -0
- package/dist/types/advisor/watchdog.d.ts +38 -0
- package/dist/types/async/index.d.ts +1 -0
- package/dist/types/async/job-manager.d.ts +121 -0
- package/dist/types/auto-thinking/classifier.d.ts +37 -0
- package/dist/types/autolearn/controller.d.ts +25 -0
- package/dist/types/autolearn/managed-skills.d.ts +45 -0
- package/dist/types/autoresearch/dashboard.d.ts +4 -0
- package/dist/types/autoresearch/git.d.ts +36 -0
- package/dist/types/autoresearch/helpers.d.ts +24 -0
- package/dist/types/autoresearch/index.d.ts +2 -0
- package/dist/types/autoresearch/state.d.ts +17 -0
- package/dist/types/autoresearch/storage.d.ts +142 -0
- package/dist/types/autoresearch/tools/init-experiment.d.ts +27 -0
- package/dist/types/autoresearch/tools/log-experiment.d.ts +21 -0
- package/dist/types/autoresearch/tools/run-experiment.d.ts +7 -0
- package/dist/types/autoresearch/tools/update-notes.d.ts +11 -0
- package/dist/types/autoresearch/types.d.ts +154 -0
- package/dist/types/capability/context-file.d.ts +17 -0
- package/dist/types/capability/extension-module.d.ts +15 -0
- package/dist/types/capability/extension.d.ts +28 -0
- package/dist/types/capability/fs.d.ts +20 -0
- package/dist/types/capability/hook.d.ts +19 -0
- package/dist/types/capability/index.d.ts +80 -0
- package/dist/types/capability/instruction.d.ts +17 -0
- package/dist/types/capability/mcp.d.ts +47 -0
- package/dist/types/capability/prompt.d.ts +15 -0
- package/dist/types/capability/rule-buckets.d.ts +30 -0
- package/dist/types/capability/rule.d.ts +73 -0
- package/dist/types/capability/settings.d.ts +15 -0
- package/dist/types/capability/skill.d.ts +43 -0
- package/dist/types/capability/slash-command.d.ts +17 -0
- package/dist/types/capability/ssh.d.ts +23 -0
- package/dist/types/capability/system-prompt.d.ts +15 -0
- package/dist/types/capability/tool.d.ts +19 -0
- package/dist/types/capability/types.d.ts +154 -0
- package/dist/types/cli/agents-cli.d.ts +12 -0
- package/dist/types/cli/args.d.ts +80 -0
- package/dist/types/cli/auth-broker-cli.d.ts +25 -0
- package/dist/types/cli/auth-gateway-cli.d.ts +26 -0
- package/dist/types/cli/bench-cli.d.ts +85 -0
- package/dist/types/cli/classify-install-target.d.ts +12 -0
- package/dist/types/cli/claude-trace-cli.d.ts +54 -0
- package/dist/types/cli/commands/init-xdg.d.ts +1 -0
- package/dist/types/cli/commands/migrate-legacy.d.ts +1 -0
- package/dist/types/cli/completion-gen.d.ts +80 -0
- package/dist/types/cli/config-cli.d.ts +22 -0
- package/dist/types/cli/dry-balance-cli.d.ts +113 -0
- package/dist/types/cli/extension-flags.d.ts +36 -0
- package/dist/types/cli/file-processor.d.ts +11 -0
- package/dist/types/cli/flag-tables.d.ts +144 -0
- package/dist/types/cli/gallery-cli.d.ts +49 -0
- package/dist/types/cli/gallery-fixtures/agentic.d.ts +2 -0
- package/dist/types/cli/gallery-fixtures/codeintel.d.ts +3 -0
- package/dist/types/cli/gallery-fixtures/edit.d.ts +3 -0
- package/dist/types/cli/gallery-fixtures/fs.d.ts +2 -0
- package/dist/types/cli/gallery-fixtures/index.d.ts +4 -0
- package/dist/types/cli/gallery-fixtures/interaction.d.ts +3 -0
- package/dist/types/cli/gallery-fixtures/memory.d.ts +2 -0
- package/dist/types/cli/gallery-fixtures/misc.d.ts +3 -0
- package/dist/types/cli/gallery-fixtures/search.d.ts +3 -0
- package/dist/types/cli/gallery-fixtures/shell.d.ts +3 -0
- package/dist/types/cli/gallery-fixtures/types.d.ts +55 -0
- package/dist/types/cli/gallery-fixtures/web.d.ts +2 -0
- package/dist/types/cli/gallery-screenshot.d.ts +35 -0
- package/dist/types/cli/gc-cli.d.ts +58 -0
- package/dist/types/cli/grep-cli.d.ts +17 -0
- package/dist/types/cli/grievances-cli.d.ts +37 -0
- package/dist/types/cli/initial-message.d.ts +17 -0
- package/dist/types/cli/models-cli.d.ts +62 -0
- package/dist/types/cli/plugin-cli.d.ts +32 -0
- package/dist/types/cli/profile-alias.d.ts +29 -0
- package/dist/types/cli/profile-bootstrap.d.ts +55 -0
- package/dist/types/cli/read-cli.d.ts +11 -0
- package/dist/types/cli/session-picker.d.ts +11 -0
- package/dist/types/cli/setup-cli.d.ts +24 -0
- package/dist/types/cli/setup-model-picker.d.ts +14 -0
- package/dist/types/cli/shell-cli.d.ts +8 -0
- package/dist/types/cli/ssh-cli.d.ts +21 -0
- package/dist/types/cli/startup-cwd.d.ts +2 -0
- package/dist/types/cli/stats-cli.d.ts +17 -0
- package/dist/types/cli/tiny-models-cli.d.ts +11 -0
- package/dist/types/cli/ttsr-cli.d.ts +39 -0
- package/dist/types/cli/update-cli.d.ts +105 -0
- package/dist/types/cli/usage-cli.d.ts +95 -0
- package/dist/types/cli/web-search-cli.d.ts +20 -0
- package/dist/types/cli/worktree-cli.d.ts +26 -0
- package/dist/types/cli-commands.d.ts +33 -0
- package/dist/types/cli.d.ts +3 -0
- package/dist/types/collab/crypto.d.ts +7 -0
- package/dist/types/collab/display-name.d.ts +3 -0
- package/dist/types/collab/guest.d.ts +52 -0
- package/dist/types/collab/host.d.ts +43 -0
- package/dist/types/collab/protocol.d.ts +143 -0
- package/dist/types/collab/relay-client.d.ts +22 -0
- package/dist/types/collab/replication-shrink.d.ts +39 -0
- package/dist/types/commands/acp.d.ts +12 -0
- package/dist/types/commands/agents.d.ts +31 -0
- package/dist/types/commands/auth-broker.d.ts +51 -0
- package/dist/types/commands/auth-gateway.d.ts +32 -0
- package/dist/types/commands/bench.d.ts +37 -0
- package/dist/types/commands/commit.d.ts +27 -0
- package/dist/types/commands/complete.d.ts +6 -0
- package/dist/types/commands/completions.d.ts +13 -0
- package/dist/types/commands/config.d.ts +30 -0
- package/dist/types/commands/dry-balance.d.ts +31 -0
- package/dist/types/commands/gallery.d.ts +47 -0
- package/dist/types/commands/gc.d.ts +37 -0
- package/dist/types/commands/grep.d.ts +42 -0
- package/dist/types/commands/grievances.d.ts +40 -0
- package/dist/types/commands/install.d.ts +51 -0
- package/dist/types/commands/join.d.ts +12 -0
- package/dist/types/commands/launch.d.ts +148 -0
- package/dist/types/commands/models.d.ts +33 -0
- package/dist/types/commands/plugin.d.ts +52 -0
- package/dist/types/commands/read.d.ts +15 -0
- package/dist/types/commands/say.d.ts +24 -0
- package/dist/types/commands/setup.d.ts +31 -0
- package/dist/types/commands/shell.d.ts +21 -0
- package/dist/types/commands/ssh.d.ts +48 -0
- package/dist/types/commands/stats.d.ts +25 -0
- package/dist/types/commands/tiny-models.d.ts +22 -0
- package/dist/types/commands/token.d.ts +34 -0
- package/dist/types/commands/ttsr.d.ts +57 -0
- package/dist/types/commands/update.d.ts +20 -0
- package/dist/types/commands/usage.d.ts +34 -0
- package/dist/types/commands/web-search.d.ts +33 -0
- package/dist/types/commands/worktree.d.ts +31 -0
- package/dist/types/commit/agentic/agent.d.ts +31 -0
- package/dist/types/commit/agentic/fallback.d.ts +5 -0
- package/dist/types/commit/agentic/index.d.ts +2 -0
- package/dist/types/commit/agentic/state.d.ts +58 -0
- package/dist/types/commit/agentic/tools/analyze-file.d.ts +18 -0
- package/dist/types/commit/agentic/tools/git-file-diff.d.ts +9 -0
- package/dist/types/commit/agentic/tools/git-hunk.d.ts +8 -0
- package/dist/types/commit/agentic/tools/git-overview.d.ts +8 -0
- package/dist/types/commit/agentic/tools/index.d.ts +16 -0
- package/dist/types/commit/agentic/tools/propose-changelog.d.ts +27 -0
- package/dist/types/commit/agentic/tools/propose-commit.d.ts +15 -0
- package/dist/types/commit/agentic/tools/recent-commits.d.ts +6 -0
- package/dist/types/commit/agentic/tools/schemas.d.ts +6 -0
- package/dist/types/commit/agentic/tools/split-commit.d.ts +32 -0
- package/dist/types/commit/agentic/topo-sort.d.ts +4 -0
- package/dist/types/commit/agentic/trivial.d.ts +7 -0
- package/dist/types/commit/agentic/validation.d.ts +20 -0
- package/dist/types/commit/analysis/conventional.d.ts +22 -0
- package/dist/types/commit/analysis/index.d.ts +4 -0
- package/dist/types/commit/analysis/scope.d.ts +6 -0
- package/dist/types/commit/analysis/summary.d.ts +19 -0
- package/dist/types/commit/analysis/validation.d.ts +8 -0
- package/dist/types/commit/changelog/detect.d.ts +2 -0
- package/dist/types/commit/changelog/generate.d.ts +29 -0
- package/dist/types/commit/changelog/index.d.ts +30 -0
- package/dist/types/commit/changelog/parse.d.ts +2 -0
- package/dist/types/commit/cli.d.ts +3 -0
- package/dist/types/commit/git/diff.d.ts +5 -0
- package/dist/types/commit/index.d.ts +4 -0
- package/dist/types/commit/map-reduce/index.d.ts +28 -0
- package/dist/types/commit/map-reduce/map-phase.d.ts +17 -0
- package/dist/types/commit/map-reduce/reduce-phase.d.ts +13 -0
- package/dist/types/commit/map-reduce/utils.d.ts +2 -0
- package/dist/types/commit/message.d.ts +2 -0
- package/dist/types/commit/model-selection.d.ts +26 -0
- package/dist/types/commit/pipeline.d.ts +5 -0
- package/dist/types/commit/shared-llm.d.ts +27 -0
- package/dist/types/commit/types.d.ts +78 -0
- package/dist/types/commit/utils/exclusions.d.ts +4 -0
- package/dist/types/commit/utils.d.ts +20 -0
- package/dist/types/config/api-key-resolver.d.ts +43 -0
- package/dist/types/config/append-only-context-mode.d.ts +9 -0
- package/dist/types/config/config-file.d.ts +62 -0
- package/dist/types/config/file-lock.d.ts +29 -0
- package/dist/types/config/inline-tool-descriptors-mode.d.ts +12 -0
- package/dist/types/config/keybindings.d.ts +362 -0
- package/dist/types/config/model-discovery.d.ts +68 -0
- package/dist/types/config/model-registry.d.ts +251 -0
- package/dist/types/config/model-resolver.d.ts +300 -0
- package/dist/types/config/model-roles.d.ts +29 -0
- package/dist/types/config/models-config-schema.d.ts +697 -0
- package/dist/types/config/models-config.d.ts +436 -0
- package/dist/types/config/prompt-templates.d.ts +32 -0
- package/dist/types/config/provider-globals.d.ts +7 -0
- package/dist/types/config/resolve-config-value.d.ts +17 -0
- package/dist/types/config/service-tier.d.ts +49 -0
- package/dist/types/config/settings-schema.d.ts +5658 -0
- package/dist/types/config/settings.d.ts +181 -0
- package/dist/types/config.d.ts +92 -0
- package/dist/types/cursor.d.ts +22 -0
- package/dist/types/dap/client.d.ts +38 -0
- package/dist/types/dap/config.d.ts +19 -0
- package/dist/types/dap/index.d.ts +4 -0
- package/dist/types/dap/session.d.ts +108 -0
- package/dist/types/dap/types.d.ts +534 -0
- package/dist/types/debug/index.d.ts +15 -0
- package/dist/types/debug/log-formatting.d.ts +4 -0
- package/dist/types/debug/log-viewer.d.ts +69 -0
- package/dist/types/debug/profiler.d.ts +24 -0
- package/dist/types/debug/protocol-probe.d.ts +38 -0
- package/dist/types/debug/raw-sse-buffer.d.ts +44 -0
- package/dist/types/debug/raw-sse.d.ts +19 -0
- package/dist/types/debug/remote-debugger.d.ts +45 -0
- package/dist/types/debug/report-bundle.d.ts +58 -0
- package/dist/types/debug/system-info.d.ts +26 -0
- package/dist/types/debug/terminal-info.d.ts +33 -0
- package/dist/types/discovery/agents-md.d.ts +1 -0
- package/dist/types/discovery/agents.d.ts +12 -0
- package/dist/types/discovery/at-imports.d.ts +15 -0
- package/dist/types/discovery/builtin-defaults.d.ts +1 -0
- package/dist/types/discovery/builtin-rules/index.d.ts +7 -0
- package/dist/types/discovery/builtin.d.ts +1 -0
- package/dist/types/discovery/claude-plugins.d.ts +1 -0
- package/dist/types/discovery/claude.d.ts +1 -0
- package/dist/types/discovery/cline.d.ts +1 -0
- package/dist/types/discovery/codex.d.ts +1 -0
- package/dist/types/discovery/cursor.d.ts +16 -0
- package/dist/types/discovery/gemini.d.ts +1 -0
- package/dist/types/discovery/github.d.ts +1 -0
- package/dist/types/discovery/helpers.d.ts +276 -0
- package/dist/types/discovery/index.d.ts +53 -0
- package/dist/types/discovery/mcp-json.d.ts +1 -0
- package/dist/types/discovery/omp-extension-roots.d.ts +43 -0
- package/dist/types/discovery/omp-plugins.d.ts +1 -0
- package/dist/types/discovery/opencode.d.ts +1 -0
- package/dist/types/discovery/plugin-dir-roots.d.ts +15 -0
- package/dist/types/discovery/ssh.d.ts +1 -0
- package/dist/types/discovery/substitute-plugin-root.d.ts +1 -0
- package/dist/types/discovery/vscode.d.ts +1 -0
- package/dist/types/discovery/windsurf.d.ts +13 -0
- package/dist/types/edit/apply-patch/index.d.ts +35 -0
- package/dist/types/edit/apply-patch/parser.d.ts +34 -0
- package/dist/types/edit/diff.d.ts +60 -0
- package/dist/types/edit/file-snapshot-store.d.ts +64 -0
- package/dist/types/edit/hashline/block-resolver.d.ts +9 -0
- package/dist/types/edit/hashline/diff.d.ts +29 -0
- package/dist/types/edit/hashline/execute.d.ts +28 -0
- package/dist/types/edit/hashline/filesystem.d.ts +43 -0
- package/dist/types/edit/hashline/index.d.ts +5 -0
- package/dist/types/edit/hashline/noop-loop-guard.d.ts +72 -0
- package/dist/types/edit/hashline/params.d.ts +7 -0
- package/dist/types/edit/index.d.ts +83 -0
- package/dist/types/edit/modes/apply-patch.d.ts +23 -0
- package/dist/types/edit/modes/patch.d.ts +101 -0
- package/dist/types/edit/modes/replace.d.ts +141 -0
- package/dist/types/edit/normalize.d.ts +31 -0
- package/dist/types/edit/notebook.d.ts +23 -0
- package/dist/types/edit/read-file.d.ts +2 -0
- package/dist/types/edit/renderer.d.ts +118 -0
- package/dist/types/edit/snapshot-details.d.ts +33 -0
- package/dist/types/edit/streaming.d.ts +105 -0
- package/dist/types/eval/__tests__/agent-bridge.test.d.ts +1 -0
- package/dist/types/eval/__tests__/bridge-timeout.test.d.ts +1 -0
- package/dist/types/eval/__tests__/budget-bridge.test.d.ts +1 -0
- package/dist/types/eval/__tests__/completion-bridge.test.d.ts +1 -0
- package/dist/types/eval/__tests__/helpers-local-roots.test.d.ts +1 -0
- package/dist/types/eval/__tests__/idle-timeout.test.d.ts +1 -0
- package/dist/types/eval/__tests__/js-context-manager.test.d.ts +1 -0
- package/dist/types/eval/__tests__/julia-prelude.test.d.ts +1 -0
- package/dist/types/eval/__tests__/kernel-spawn.test.d.ts +1 -0
- package/dist/types/eval/__tests__/prelude-agent.test.d.ts +1 -0
- package/dist/types/eval/agent-bridge.d.ts +48 -0
- package/dist/types/eval/backend-helpers.d.ts +23 -0
- package/dist/types/eval/backend.d.ts +60 -0
- package/dist/types/eval/bridge-timeout.d.ts +27 -0
- package/dist/types/eval/budget-bridge.d.ts +29 -0
- package/dist/types/eval/completion-bridge.d.ts +38 -0
- package/dist/types/eval/concurrency-bridge.d.ts +26 -0
- package/dist/types/eval/executor-base.d.ts +118 -0
- package/dist/types/eval/idle-timeout.d.ts +26 -0
- package/dist/types/eval/index.d.ts +6 -0
- package/dist/types/eval/jl/executor.d.ts +44 -0
- package/dist/types/eval/jl/index.d.ts +11 -0
- package/dist/types/eval/jl/kernel.d.ts +28 -0
- package/dist/types/eval/jl/prelude.d.ts +1 -0
- package/dist/types/eval/jl/runtime.d.ts +22 -0
- package/dist/types/eval/js/context-manager.d.ts +40 -0
- package/dist/types/eval/js/executor.d.ts +38 -0
- package/dist/types/eval/js/index.d.ts +11 -0
- package/dist/types/eval/js/shared/helpers.d.ts +32 -0
- package/dist/types/eval/js/shared/indirect-eval.d.ts +14 -0
- package/dist/types/eval/js/shared/local-module-loader.d.ts +16 -0
- package/dist/types/eval/js/shared/prelude.d.ts +1 -0
- package/dist/types/eval/js/shared/rewrite-imports.d.ts +25 -0
- package/dist/types/eval/js/shared/runtime.d.ts +59 -0
- package/dist/types/eval/js/shared/types.d.ts +24 -0
- package/dist/types/eval/js/tool-bridge.d.ts +20 -0
- package/dist/types/eval/js/worker-core.d.ts +6 -0
- package/dist/types/eval/js/worker-entry.d.ts +1 -0
- package/dist/types/eval/js/worker-protocol.d.ts +83 -0
- package/dist/types/eval/kernel-base.d.ts +105 -0
- package/dist/types/eval/py/__tests__/prelude.test.d.ts +1 -0
- package/dist/types/eval/py/__tests__/runner-shell-output.test.d.ts +1 -0
- package/dist/types/eval/py/display.d.ts +25 -0
- package/dist/types/eval/py/executor.d.ts +107 -0
- package/dist/types/eval/py/index.d.ts +11 -0
- package/dist/types/eval/py/kernel.d.ts +17 -0
- package/dist/types/eval/py/prelude.d.ts +1 -0
- package/dist/types/eval/py/runtime.d.ts +40 -0
- package/dist/types/eval/py/spawn-options.d.ts +58 -0
- package/dist/types/eval/py/tool-bridge.d.ts +16 -0
- package/dist/types/eval/rb/executor.d.ts +77 -0
- package/dist/types/eval/rb/index.d.ts +11 -0
- package/dist/types/eval/rb/kernel.d.ts +31 -0
- package/dist/types/eval/rb/prelude.d.ts +1 -0
- package/dist/types/eval/rb/runtime.d.ts +23 -0
- package/dist/types/eval/runtime-env.d.ts +24 -0
- package/dist/types/eval/session-id.d.ts +3 -0
- package/dist/types/eval/types.d.ts +52 -0
- package/dist/types/exa/index.d.ts +2 -0
- package/dist/types/exa/mcp-client.d.ts +53 -0
- package/dist/types/exa/types.d.ts +72 -0
- package/dist/types/exec/bash-cwd-sync.d.ts +16 -0
- package/dist/types/exec/bash-executor.d.ts +45 -0
- package/dist/types/exec/exec.d.ts +25 -0
- package/dist/types/exec/non-interactive-env.d.ts +3 -0
- package/dist/types/export/custom-share.d.ts +19 -0
- package/dist/types/export/html/index.d.ts +78 -0
- package/dist/types/export/html/web-palette.d.ts +117 -0
- package/dist/types/export/share.d.ts +55 -0
- package/dist/types/export/ttsr.d.ts +67 -0
- package/dist/types/extensibility/custom-commands/bundled/ci-green/index.d.ts +9 -0
- package/dist/types/extensibility/custom-commands/bundled/review/index.d.ts +10 -0
- package/dist/types/extensibility/custom-commands/index.d.ts +2 -0
- package/dist/types/extensibility/custom-commands/loader.d.ts +29 -0
- package/dist/types/extensibility/custom-commands/types.d.ts +112 -0
- package/dist/types/extensibility/custom-tools/index.d.ts +6 -0
- package/dist/types/extensibility/custom-tools/loader.d.ts +89 -0
- package/dist/types/extensibility/custom-tools/types.d.ts +242 -0
- package/dist/types/extensibility/custom-tools/wrapper.d.ts +23 -0
- package/dist/types/extensibility/extensions/compact-handler.d.ts +26 -0
- package/dist/types/extensibility/extensions/get-commands-handler.d.ts +29 -0
- package/dist/types/extensibility/extensions/index.d.ts +8 -0
- package/dist/types/extensibility/extensions/loader.d.ts +59 -0
- package/dist/types/extensibility/extensions/model-api.d.ts +17 -0
- package/dist/types/extensibility/extensions/runner.d.ts +161 -0
- package/dist/types/extensibility/extensions/types.d.ts +962 -0
- package/dist/types/extensibility/extensions/wrapper.d.ts +54 -0
- package/dist/types/extensibility/hooks/index.d.ts +6 -0
- package/dist/types/extensibility/hooks/loader.d.ts +65 -0
- package/dist/types/extensibility/hooks/runner.d.ts +126 -0
- package/dist/types/extensibility/hooks/tool-wrapper.d.ts +25 -0
- package/dist/types/extensibility/hooks/types.d.ts +442 -0
- package/dist/types/extensibility/legacy-pi-ai-shim.d.ts +35 -0
- package/dist/types/extensibility/legacy-pi-coding-agent-shim.d.ts +115 -0
- package/dist/types/extensibility/plugins/doctor.d.ts +3 -0
- package/dist/types/extensibility/plugins/git-url.d.ts +44 -0
- package/dist/types/extensibility/plugins/index.d.ts +7 -0
- package/dist/types/extensibility/plugins/installer.d.ts +5 -0
- package/dist/types/extensibility/plugins/legacy-pi-bundled-keys.d.ts +10 -0
- package/dist/types/extensibility/plugins/legacy-pi-bundled-registry.d.ts +10 -0
- package/dist/types/extensibility/plugins/legacy-pi-compat.d.ts +79 -0
- package/dist/types/extensibility/plugins/loader.d.ts +59 -0
- package/dist/types/extensibility/plugins/manager.d.ts +76 -0
- package/dist/types/extensibility/plugins/marketplace/cache.d.ts +41 -0
- package/dist/types/extensibility/plugins/marketplace/fetcher.d.ts +48 -0
- package/dist/types/extensibility/plugins/marketplace/index.d.ts +6 -0
- package/dist/types/extensibility/plugins/marketplace/manager.d.ts +57 -0
- package/dist/types/extensibility/plugins/marketplace/registry.d.ts +34 -0
- package/dist/types/extensibility/plugins/marketplace/source-resolver.d.ts +28 -0
- package/dist/types/extensibility/plugins/marketplace/types.d.ts +131 -0
- package/dist/types/extensibility/plugins/marketplace-auto-update.d.ts +8 -0
- package/dist/types/extensibility/plugins/parser.d.ts +52 -0
- package/dist/types/extensibility/plugins/runtime-config.d.ts +3 -0
- package/dist/types/extensibility/plugins/types.d.ts +161 -0
- package/dist/types/extensibility/session-handler-types.d.ts +23 -0
- package/dist/types/extensibility/shared-events.d.ts +301 -0
- package/dist/types/extensibility/skills.d.ts +97 -0
- package/dist/types/extensibility/slash-commands.d.ts +38 -0
- package/dist/types/extensibility/tool-event-input.d.ts +9 -0
- package/dist/types/extensibility/tool-proxy.d.ts +4 -0
- package/dist/types/extensibility/typebox.d.ts +177 -0
- package/dist/types/extensibility/utils.d.ts +24 -0
- package/dist/types/goals/guided-setup.d.ts +18 -0
- package/dist/types/goals/index.d.ts +3 -0
- package/dist/types/goals/runtime.d.ts +69 -0
- package/dist/types/goals/state.d.ts +35 -0
- package/dist/types/goals/tools/goal-tool.d.ts +53 -0
- package/dist/types/hindsight/backend.d.ts +13 -0
- package/dist/types/hindsight/bank.d.ts +63 -0
- package/dist/types/hindsight/client.d.ts +224 -0
- package/dist/types/hindsight/config.d.ts +51 -0
- package/dist/types/hindsight/content.d.ts +69 -0
- package/dist/types/hindsight/index.d.ts +8 -0
- package/dist/types/hindsight/mental-models.d.ts +134 -0
- package/dist/types/hindsight/state.d.ts +105 -0
- package/dist/types/hindsight/transcript.d.ts +28 -0
- package/dist/types/index.d.ts +43 -0
- package/dist/types/internal-urls/__tests__/ssh-protocol.test.d.ts +1 -0
- package/dist/types/internal-urls/agent-protocol.d.ts +13 -0
- package/dist/types/internal-urls/artifact-protocol.d.ts +7 -0
- package/dist/types/internal-urls/docs-index.d.ts +19 -0
- package/dist/types/internal-urls/filesystem-resource.d.ts +9 -0
- package/dist/types/internal-urls/history-protocol.d.ts +14 -0
- package/dist/types/internal-urls/index.d.ts +25 -0
- package/dist/types/internal-urls/issue-pr-protocol.d.ts +17 -0
- package/dist/types/internal-urls/json-query.d.ts +30 -0
- package/dist/types/internal-urls/local-protocol.d.ts +79 -0
- package/dist/types/internal-urls/mcp-protocol.d.ts +12 -0
- package/dist/types/internal-urls/memory-protocol.d.ts +24 -0
- package/dist/types/internal-urls/omp-protocol.d.ts +13 -0
- package/dist/types/internal-urls/parse.d.ts +19 -0
- package/dist/types/internal-urls/registry-helpers.d.ts +12 -0
- package/dist/types/internal-urls/router.d.ts +21 -0
- package/dist/types/internal-urls/rule-protocol.d.ts +7 -0
- package/dist/types/internal-urls/skill-protocol.d.ts +14 -0
- package/dist/types/internal-urls/ssh-protocol.d.ts +10 -0
- package/dist/types/internal-urls/types.d.ts +165 -0
- package/dist/types/internal-urls/vault-protocol.d.ts +93 -0
- package/dist/types/irc/bus.d.ts +85 -0
- package/dist/types/jsonrpc/message-framing.d.ts +35 -0
- package/dist/types/lib/xai-http.d.ts +40 -0
- package/dist/types/lsp/client.d.ts +84 -0
- package/dist/types/lsp/clients/biome-client.d.ts +16 -0
- package/dist/types/lsp/clients/index.d.ts +19 -0
- package/dist/types/lsp/clients/lsp-linter-client.d.ts +16 -0
- package/dist/types/lsp/clients/swiftlint-client.d.ts +20 -0
- package/dist/types/lsp/config.d.ts +65 -0
- package/dist/types/lsp/diagnostics-ledger.d.ts +10 -0
- package/dist/types/lsp/edits.d.ts +32 -0
- package/dist/types/lsp/format-options.d.ts +32 -0
- package/dist/types/lsp/index.d.ts +120 -0
- package/dist/types/lsp/lspmux.d.ts +58 -0
- package/dist/types/lsp/render.d.ts +32 -0
- package/dist/types/lsp/startup-events.d.ts +11 -0
- package/dist/types/lsp/types.d.ts +300 -0
- package/dist/types/lsp/utils.d.ts +116 -0
- package/dist/types/main.d.ts +70 -0
- package/dist/types/markit/converters/docx.d.ts +6 -0
- package/dist/types/markit/converters/epub.d.ts +15 -0
- package/dist/types/markit/converters/pdf/columns.d.ts +35 -0
- package/dist/types/markit/converters/pdf/extract.d.ts +10 -0
- package/dist/types/markit/converters/pdf/grid.d.ts +25 -0
- package/dist/types/markit/converters/pdf/headers.d.ts +24 -0
- package/dist/types/markit/converters/pdf/index.d.ts +6 -0
- package/dist/types/markit/converters/pdf/render.d.ts +24 -0
- package/dist/types/markit/converters/pdf/types.d.ts +75 -0
- package/dist/types/markit/converters/pptx.d.ts +57 -0
- package/dist/types/markit/converters/xlsx.d.ts +25 -0
- package/dist/types/markit/index.d.ts +2 -0
- package/dist/types/markit/registry.d.ts +16 -0
- package/dist/types/markit/types.d.ts +30 -0
- package/dist/types/mcp/client.d.ts +83 -0
- package/dist/types/mcp/config-writer.d.ts +101 -0
- package/dist/types/mcp/config.d.ts +75 -0
- package/dist/types/mcp/index.d.ts +18 -0
- package/dist/types/mcp/json-rpc.d.ts +32 -0
- package/dist/types/mcp/loader.d.ts +44 -0
- package/dist/types/mcp/manager.d.ts +215 -0
- package/dist/types/mcp/oauth-credentials.d.ts +17 -0
- package/dist/types/mcp/oauth-discovery.d.ts +35 -0
- package/dist/types/mcp/oauth-flow.d.ts +145 -0
- package/dist/types/mcp/render.d.ts +25 -0
- package/dist/types/mcp/smithery-auth.d.ts +16 -0
- package/dist/types/mcp/smithery-connect.d.ts +38 -0
- package/dist/types/mcp/smithery-registry.d.ts +51 -0
- package/dist/types/mcp/startup-events.d.ts +28 -0
- package/dist/types/mcp/timeout.d.ts +9 -0
- package/dist/types/mcp/tool-bridge.d.ts +95 -0
- package/dist/types/mcp/tool-cache.d.ts +8 -0
- package/dist/types/mcp/transports/http.d.ts +45 -0
- package/dist/types/mcp/transports/index.d.ts +6 -0
- package/dist/types/mcp/transports/sse.d.ts +20 -0
- package/dist/types/mcp/transports/stdio.d.ts +108 -0
- package/dist/types/mcp/transports/stdio.test.d.ts +1 -0
- package/dist/types/mcp/types.d.ts +340 -0
- package/dist/types/memories/index.d.ts +54 -0
- package/dist/types/memories/okf.d.ts +36 -0
- package/dist/types/memories/storage.d.ts +110 -0
- package/dist/types/memory-backend/index.d.ts +7 -0
- package/dist/types/memory-backend/local-backend.d.ts +10 -0
- package/dist/types/memory-backend/off-backend.d.ts +7 -0
- package/dist/types/memory-backend/resolve.d.ts +16 -0
- package/dist/types/memory-backend/runtime.d.ts +4 -0
- package/dist/types/memory-backend/types.d.ts +132 -0
- package/dist/types/mnemopi/backend.d.ts +4 -0
- package/dist/types/mnemopi/config.d.ts +60 -0
- package/dist/types/mnemopi/embed-client.d.ts +53 -0
- package/dist/types/mnemopi/embed-protocol.d.ts +52 -0
- package/dist/types/mnemopi/embed-worker.d.ts +12 -0
- package/dist/types/mnemopi/index.d.ts +3 -0
- package/dist/types/mnemopi/state.d.ts +130 -0
- package/dist/types/modes/acp/acp-agent.d.ts +60 -0
- package/dist/types/modes/acp/acp-client-bridge.d.ts +9 -0
- package/dist/types/modes/acp/acp-event-mapper.d.ts +33 -0
- package/dist/types/modes/acp/acp-mode.d.ts +5 -0
- package/dist/types/modes/acp/index.d.ts +2 -0
- package/dist/types/modes/acp/terminal-auth.d.ts +6 -0
- package/dist/types/modes/components/__tests__/assistant-agent-label.test.d.ts +1 -0
- package/dist/types/modes/components/__tests__/move-overlay.test.d.ts +1 -0
- package/dist/types/modes/components/__tests__/skill-message.test.d.ts +1 -0
- package/dist/types/modes/components/advisor-config.d.ts +59 -0
- package/dist/types/modes/components/advisor-message.d.ts +9 -0
- package/dist/types/modes/components/agent-dashboard.d.ts +22 -0
- package/dist/types/modes/components/agent-hub.d.ts +77 -0
- package/dist/types/modes/components/agent-transcript-viewer.d.ts +40 -0
- package/dist/types/modes/components/assistant-message.d.ts +57 -0
- package/dist/types/modes/components/background-tan-message.d.ts +9 -0
- package/dist/types/modes/components/bash-execution.d.ts +29 -0
- package/dist/types/modes/components/bordered-loader.d.ts +11 -0
- package/dist/types/modes/components/btw-panel.d.ts +19 -0
- package/dist/types/modes/components/cache-invalidation-marker.d.ts +52 -0
- package/dist/types/modes/components/chat-block.d.ts +64 -0
- package/dist/types/modes/components/chat-transcript-builder.d.ts +45 -0
- package/dist/types/modes/components/collab-prompt-message.d.ts +10 -0
- package/dist/types/modes/components/compaction-summary-message.d.ts +46 -0
- package/dist/types/modes/components/copy-selector.d.ts +22 -0
- package/dist/types/modes/components/countdown-timer.d.ts +14 -0
- package/dist/types/modes/components/custom-editor.d.ts +163 -0
- package/dist/types/modes/components/custom-editor.test.d.ts +1 -0
- package/dist/types/modes/components/custom-message.d.ts +15 -0
- package/dist/types/modes/components/diff.d.ts +11 -0
- package/dist/types/modes/components/dynamic-border.d.ts +14 -0
- package/dist/types/modes/components/error-banner.d.ts +11 -0
- package/dist/types/modes/components/eval-execution.d.ts +23 -0
- package/dist/types/modes/components/execution-shared.d.ts +46 -0
- package/dist/types/modes/components/extensions/extension-dashboard.d.ts +43 -0
- package/dist/types/modes/components/extensions/extension-list.d.ts +52 -0
- package/dist/types/modes/components/extensions/index.d.ts +8 -0
- package/dist/types/modes/components/extensions/inspector-panel.d.ts +8 -0
- package/dist/types/modes/components/extensions/state-manager.d.ts +50 -0
- package/dist/types/modes/components/extensions/types.d.ts +147 -0
- package/dist/types/modes/components/footer.d.ts +30 -0
- package/dist/types/modes/components/history-search.d.ts +7 -0
- package/dist/types/modes/components/hook-editor.d.ts +24 -0
- package/dist/types/modes/components/hook-input.d.ts +19 -0
- package/dist/types/modes/components/hook-message.d.ts +15 -0
- package/dist/types/modes/components/hook-selector.d.ts +68 -0
- package/dist/types/modes/components/index.d.ts +38 -0
- package/dist/types/modes/components/keybinding-hints.d.ts +40 -0
- package/dist/types/modes/components/late-diagnostics-message.d.ts +20 -0
- package/dist/types/modes/components/login-dialog.d.ts +32 -0
- package/dist/types/modes/components/logout-account-selector.d.ts +8 -0
- package/dist/types/modes/components/mcp-add-wizard.d.ts +38 -0
- package/dist/types/modes/components/message-frame.d.ts +44 -0
- package/dist/types/modes/components/model-selector.d.ts +36 -0
- package/dist/types/modes/components/move-overlay.d.ts +23 -0
- package/dist/types/modes/components/oauth-selector.d.ts +23 -0
- package/dist/types/modes/components/omfg-panel.d.ts +19 -0
- package/dist/types/modes/components/overlay-box.d.ts +17 -0
- package/dist/types/modes/components/plan-review-overlay.d.ts +61 -0
- package/dist/types/modes/components/plan-toc.d.ts +41 -0
- package/dist/types/modes/components/plugin-selector.d.ts +27 -0
- package/dist/types/modes/components/plugin-settings.d.ts +103 -0
- package/dist/types/modes/components/queue-mode-selector.d.ts +10 -0
- package/dist/types/modes/components/read-tool-group.d.ts +38 -0
- package/dist/types/modes/components/reset-usage-selector.d.ts +12 -0
- package/dist/types/modes/components/segment-track.d.ts +27 -0
- package/dist/types/modes/components/select-list-mouse-routing.d.ts +2 -0
- package/dist/types/modes/components/selector-helpers.d.ts +53 -0
- package/dist/types/modes/components/session-selector.d.ts +94 -0
- package/dist/types/modes/components/settings-defs.d.ts +60 -0
- package/dist/types/modes/components/settings-selector.d.ts +70 -0
- package/dist/types/modes/components/show-images-selector.d.ts +10 -0
- package/dist/types/modes/components/skill-message.d.ts +9 -0
- package/dist/types/modes/components/snapcompact-shape-preview.d.ts +31 -0
- package/dist/types/modes/components/status-line/component.d.ts +94 -0
- package/dist/types/modes/components/status-line/component.test.d.ts +1 -0
- package/dist/types/modes/components/status-line/context-thresholds.d.ts +10 -0
- package/dist/types/modes/components/status-line/git-utils.d.ts +22 -0
- package/dist/types/modes/components/status-line/index.d.ts +5 -0
- package/dist/types/modes/components/status-line/presets.d.ts +3 -0
- package/dist/types/modes/components/status-line/segments.d.ts +5 -0
- package/dist/types/modes/components/status-line/separators.d.ts +3 -0
- package/dist/types/modes/components/status-line/token-rate.d.ts +10 -0
- package/dist/types/modes/components/status-line/types.d.ts +150 -0
- package/dist/types/modes/components/theme-selector.d.ts +11 -0
- package/dist/types/modes/components/thinking-selector.d.ts +11 -0
- package/dist/types/modes/components/tiny-title-download-progress.d.ts +11 -0
- package/dist/types/modes/components/todo-reminder.d.ts +15 -0
- package/dist/types/modes/components/tool-execution.d.ts +124 -0
- package/dist/types/modes/components/transcript-container.d.ts +88 -0
- package/dist/types/modes/components/tree-selector.d.ts +31 -0
- package/dist/types/modes/components/ttsr-notification.d.ts +17 -0
- package/dist/types/modes/components/usage-row.d.ts +3 -0
- package/dist/types/modes/components/user-message-selector.d.ts +28 -0
- package/dist/types/modes/components/user-message.d.ts +9 -0
- package/dist/types/modes/components/visual-truncate.d.ts +19 -0
- package/dist/types/modes/components/welcome.d.ts +76 -0
- package/dist/types/modes/controllers/btw-controller.d.ts +14 -0
- package/dist/types/modes/controllers/command-controller-shared.d.ts +47 -0
- package/dist/types/modes/controllers/command-controller.d.ts +55 -0
- package/dist/types/modes/controllers/event-controller.d.ts +28 -0
- package/dist/types/modes/controllers/extension-ui-controller.d.ts +88 -0
- package/dist/types/modes/controllers/input-controller.d.ts +71 -0
- package/dist/types/modes/controllers/mcp-command-controller.d.ts +27 -0
- package/dist/types/modes/controllers/omfg-controller.d.ts +10 -0
- package/dist/types/modes/controllers/omfg-rule.d.ts +26 -0
- package/dist/types/modes/controllers/selector-controller.d.ts +61 -0
- package/dist/types/modes/controllers/session-focus-controller.d.ts +31 -0
- package/dist/types/modes/controllers/ssh-command-controller.d.ts +10 -0
- package/dist/types/modes/controllers/streaming-reveal.d.ts +45 -0
- package/dist/types/modes/controllers/tan-command-controller.d.ts +6 -0
- package/dist/types/modes/controllers/todo-command-controller.d.ts +7 -0
- package/dist/types/modes/controllers/tool-args-reveal.d.ts +77 -0
- package/dist/types/modes/emoji-autocomplete.d.ts +16 -0
- package/dist/types/modes/gradient-highlight.d.ts +32 -0
- package/dist/types/modes/image-references.d.ts +28 -0
- package/dist/types/modes/index.d.ts +10 -0
- package/dist/types/modes/interactive-mode.d.ts +399 -0
- package/dist/types/modes/internal-url-autocomplete.d.ts +43 -0
- package/dist/types/modes/loop-limit.d.ts +35 -0
- package/dist/types/modes/magic-keywords.d.ts +26 -0
- package/dist/types/modes/markdown-prose.d.ts +27 -0
- package/dist/types/modes/oauth-manual-input.d.ts +15 -0
- package/dist/types/modes/orchestrate.d.ts +15 -0
- package/dist/types/modes/print-mode.d.ts +29 -0
- package/dist/types/modes/prompt-action-autocomplete.d.ts +46 -0
- package/dist/types/modes/rpc/host-tools.d.ts +16 -0
- package/dist/types/modes/rpc/host-uris.d.ts +38 -0
- package/dist/types/modes/rpc/rpc-client.d.ts +300 -0
- package/dist/types/modes/rpc/rpc-mode.d.ts +145 -0
- package/dist/types/modes/rpc/rpc-subagents.d.ts +24 -0
- package/dist/types/modes/rpc/rpc-types.d.ts +699 -0
- package/dist/types/modes/running-subagent-badge.d.ts +6 -0
- package/dist/types/modes/runtime-init.d.ts +25 -0
- package/dist/types/modes/session-observer-registry.d.ts +35 -0
- package/dist/types/modes/session-teardown.d.ts +63 -0
- package/dist/types/modes/session-teardown.test.d.ts +1 -0
- package/dist/types/modes/setup-version.d.ts +11 -0
- package/dist/types/modes/setup-wizard/index.d.ts +22 -0
- package/dist/types/modes/setup-wizard/lazy.d.ts +2 -0
- package/dist/types/modes/setup-wizard/scenes/glyph.d.ts +2 -0
- package/dist/types/modes/setup-wizard/scenes/outro.d.ts +2 -0
- package/dist/types/modes/setup-wizard/scenes/providers.d.ts +2 -0
- package/dist/types/modes/setup-wizard/scenes/sign-in.d.ts +22 -0
- package/dist/types/modes/setup-wizard/scenes/splash.d.ts +11 -0
- package/dist/types/modes/setup-wizard/scenes/theme.d.ts +2 -0
- package/dist/types/modes/setup-wizard/scenes/types.d.ts +52 -0
- package/dist/types/modes/setup-wizard/scenes/web-search.d.ts +23 -0
- package/dist/types/modes/setup-wizard/startup-splash.d.ts +7 -0
- package/dist/types/modes/setup-wizard/wizard-overlay.d.ts +15 -0
- package/dist/types/modes/shared.d.ts +15 -0
- package/dist/types/modes/skill-command.d.ts +32 -0
- package/dist/types/modes/theme/defaults/index.d.ts +9436 -0
- package/dist/types/modes/theme/mermaid-cache.d.ts +26 -0
- package/dist/types/modes/theme/mermaid-rendering.test.d.ts +1 -0
- package/dist/types/modes/theme/shimmer.d.ts +40 -0
- package/dist/types/modes/theme/theme.d.ts +360 -0
- package/dist/types/modes/turn-budget.d.ts +18 -0
- package/dist/types/modes/types.d.ts +399 -0
- package/dist/types/modes/ultrathink.d.ts +15 -0
- package/dist/types/modes/utils/context-usage.d.ts +64 -0
- package/dist/types/modes/utils/copy-targets.d.ts +75 -0
- package/dist/types/modes/utils/hotkeys-markdown.d.ts +5 -0
- package/dist/types/modes/utils/interactive-context-helpers.d.ts +14 -0
- package/dist/types/modes/utils/keybinding-matchers.d.ts +32 -0
- package/dist/types/modes/utils/tools-markdown.d.ts +5 -0
- package/dist/types/modes/utils/transcript-render-helpers.d.ts +54 -0
- package/dist/types/modes/utils/ui-helpers.d.ts +55 -0
- package/dist/types/modes/workflow.d.ts +15 -0
- package/dist/types/plan-mode/approved-plan-prompt.test.d.ts +1 -0
- package/dist/types/plan-mode/approved-plan.d.ts +68 -0
- package/dist/types/plan-mode/plan-handoff.d.ts +20 -0
- package/dist/types/plan-mode/plan-protection.d.ts +12 -0
- package/dist/types/plan-mode/state.d.ts +6 -0
- package/dist/types/registry/agent-lifecycle.d.ts +66 -0
- package/dist/types/registry/agent-registry.d.ts +97 -0
- package/dist/types/sdk.d.ts +370 -0
- package/dist/types/secrets/index.d.ts +9 -0
- package/dist/types/secrets/obfuscator.d.ts +63 -0
- package/dist/types/secrets/regex.d.ts +2 -0
- package/dist/types/session/agent-session.d.ts +1420 -0
- package/dist/types/session/agent-storage.d.ts +97 -0
- package/dist/types/session/artifacts.d.ts +61 -0
- package/dist/types/session/auth-broker-config.d.ts +45 -0
- package/dist/types/session/auth-storage.d.ts +7 -0
- package/dist/types/session/blob-store.d.ts +68 -0
- package/dist/types/session/client-bridge.d.ts +88 -0
- package/dist/types/session/codex-auto-reset.d.ts +111 -0
- package/dist/types/session/compact-modes.d.ts +60 -0
- package/dist/types/session/exit-diagnostics.d.ts +48 -0
- package/dist/types/session/history-storage.d.ts +30 -0
- package/dist/types/session/indexed-session-storage.d.ts +65 -0
- package/dist/types/session/messages.d.ts +220 -0
- package/dist/types/session/messages.test.d.ts +1 -0
- package/dist/types/session/provider-image-budget.d.ts +3 -0
- package/dist/types/session/redis-session-storage.d.ts +51 -0
- package/dist/types/session/session-context.d.ts +44 -0
- package/dist/types/session/session-dump-format.d.ts +30 -0
- package/dist/types/session/session-entries.d.ts +197 -0
- package/dist/types/session/session-history-format.d.ts +49 -0
- package/dist/types/session/session-listing.d.ts +78 -0
- package/dist/types/session/session-loader.d.ts +29 -0
- package/dist/types/session/session-manager.d.ts +306 -0
- package/dist/types/session/session-migrations.d.ts +12 -0
- package/dist/types/session/session-paths.d.ts +25 -0
- package/dist/types/session/session-persistence.d.ts +12 -0
- package/dist/types/session/session-storage.d.ts +101 -0
- package/dist/types/session/session-title-slot.d.ts +19 -0
- package/dist/types/session/settings-stream-fn.d.ts +21 -0
- package/dist/types/session/shake-types.d.ts +24 -0
- package/dist/types/session/snapcompact-inline.d.ts +145 -0
- package/dist/types/session/snapcompact-savings-journal.d.ts +46 -0
- package/dist/types/session/sql-session-storage.d.ts +72 -0
- package/dist/types/session/streaming-output.d.ts +229 -0
- package/dist/types/session/tool-choice-queue.d.ts +94 -0
- package/dist/types/session/turn-persistence.d.ts +88 -0
- package/dist/types/session/unexpected-stop-classifier.d.ts +13 -0
- package/dist/types/session/yield-queue.d.ts +37 -0
- package/dist/types/slash-commands/acp-builtins.d.ts +34 -0
- package/dist/types/slash-commands/available-commands.d.ts +34 -0
- package/dist/types/slash-commands/builtin-registry.d.ts +36 -0
- package/dist/types/slash-commands/helpers/active-oauth-account.d.ts +14 -0
- package/dist/types/slash-commands/helpers/collab-qrcode.d.ts +13 -0
- package/dist/types/slash-commands/helpers/context-report.d.ts +7 -0
- package/dist/types/slash-commands/helpers/format.d.ts +10 -0
- package/dist/types/slash-commands/helpers/logout.d.ts +15 -0
- package/dist/types/slash-commands/helpers/marketplace-manager.d.ts +8 -0
- package/dist/types/slash-commands/helpers/mcp.d.ts +3 -0
- package/dist/types/slash-commands/helpers/parse.d.ts +33 -0
- package/dist/types/slash-commands/helpers/reset-usage.d.ts +27 -0
- package/dist/types/slash-commands/helpers/ssh.d.ts +3 -0
- package/dist/types/slash-commands/helpers/stats-dashboard.d.ts +13 -0
- package/dist/types/slash-commands/helpers/todo.d.ts +3 -0
- package/dist/types/slash-commands/helpers/usage-report.d.ts +7 -0
- package/dist/types/slash-commands/marketplace-install-parser.d.ts +33 -0
- package/dist/types/slash-commands/types.d.ts +127 -0
- package/dist/types/ssh/__tests__/connection-manager-args.test.d.ts +1 -0
- package/dist/types/ssh/__tests__/file-transfer-posix-guard.test.d.ts +1 -0
- package/dist/types/ssh/config-writer.d.ts +49 -0
- package/dist/types/ssh/connection-manager.d.ts +90 -0
- package/dist/types/ssh/file-transfer.d.ts +79 -0
- package/dist/types/ssh/ssh-executor.d.ts +37 -0
- package/dist/types/ssh/sshfs-mount.d.ts +6 -0
- package/dist/types/ssh/utils.d.ts +24 -0
- package/dist/types/startup-splash.d.ts +12 -0
- package/dist/types/stt/asr-client.d.ts +68 -0
- package/dist/types/stt/asr-protocol.d.ts +97 -0
- package/dist/types/stt/asr-worker.d.ts +2 -0
- package/dist/types/stt/downloader.d.ts +47 -0
- package/dist/types/stt/endpointer.d.ts +59 -0
- package/dist/types/stt/index.d.ts +8 -0
- package/dist/types/stt/models.d.ts +120 -0
- package/dist/types/stt/recorder.d.ts +30 -0
- package/dist/types/stt/stt-controller.d.ts +24 -0
- package/dist/types/stt/submit-trigger.d.ts +30 -0
- package/dist/types/stt/transcriber.d.ts +14 -0
- package/dist/types/stt/wav.d.ts +29 -0
- package/dist/types/subprocess/worker-client.d.ts +149 -0
- package/dist/types/subprocess/worker-runtime.d.ts +107 -0
- package/dist/types/system-prompt.d.ts +128 -0
- package/dist/types/system-prompt.test.d.ts +1 -0
- package/dist/types/task/agents.d.ts +28 -0
- package/dist/types/task/commands.d.ts +35 -0
- package/dist/types/task/critic-gate.d.ts +76 -0
- package/dist/types/task/critic-gate.test.d.ts +1 -0
- package/dist/types/task/discovery.d.ts +17 -0
- package/dist/types/task/executor.d.ts +214 -0
- package/dist/types/task/index.d.ts +79 -0
- package/dist/types/task/isolation-runner.d.ts +128 -0
- package/dist/types/task/name-generator.d.ts +16 -0
- package/dist/types/task/omp-command.d.ts +7 -0
- package/dist/types/task/output-manager.d.ts +20 -0
- package/dist/types/task/parallel.d.ts +55 -0
- package/dist/types/task/persisted-revive.d.ts +36 -0
- package/dist/types/task/provider-concurrency.d.ts +40 -0
- package/dist/types/task/render.d.ts +34 -0
- package/dist/types/task/render.test.d.ts +1 -0
- package/dist/types/task/renderer.d.ts +13 -0
- package/dist/types/task/repair-args.d.ts +53 -0
- package/dist/types/task/spawn-policy.d.ts +17 -0
- package/dist/types/task/spawn-policy.test.d.ts +1 -0
- package/dist/types/task/subprocess-tool-registry.d.ts +72 -0
- package/dist/types/task/types.d.ts +384 -0
- package/dist/types/task/worktree.d.ts +135 -0
- package/dist/types/task/yield-assembly.d.ts +28 -0
- package/dist/types/telemetry-export.d.ts +43 -0
- package/dist/types/thinking.d.ts +96 -0
- package/dist/types/tiny/device.d.ts +78 -0
- package/dist/types/tiny/dtype.d.ts +85 -0
- package/dist/types/tiny/models.d.ts +230 -0
- package/dist/types/tiny/text.d.ts +44 -0
- package/dist/types/tiny/title-client.d.ts +68 -0
- package/dist/types/tiny/title-protocol.d.ts +78 -0
- package/dist/types/tiny/worker.d.ts +2 -0
- package/dist/types/tool-discovery/mode.d.ts +8 -0
- package/dist/types/tool-discovery/tool-index.d.ts +57 -0
- package/dist/types/tools/__tests__/eval-description.test.d.ts +1 -0
- package/dist/types/tools/__tests__/json-tree.test.d.ts +1 -0
- package/dist/types/tools/acp-bridge.d.ts +29 -0
- package/dist/types/tools/approval.d.ts +46 -0
- package/dist/types/tools/ask.d.ts +119 -0
- package/dist/types/tools/ast-edit.d.ts +84 -0
- package/dist/types/tools/ast-grep.d.ts +74 -0
- package/dist/types/tools/auto-generated-guard.d.ts +17 -0
- package/dist/types/tools/bash-command-fixup.d.ts +11 -0
- package/dist/types/tools/bash-interactive.d.ts +16 -0
- package/dist/types/tools/bash-interceptor.d.ts +24 -0
- package/dist/types/tools/bash-pty-selection.d.ts +7 -0
- package/dist/types/tools/bash-skill-urls.d.ts +31 -0
- package/dist/types/tools/bash.d.ts +148 -0
- package/dist/types/tools/browser/aria/aria-snapshot.d.ts +39 -0
- package/dist/types/tools/browser/attach.d.ts +34 -0
- package/dist/types/tools/browser/cmux/cmux-tab.d.ts +212 -0
- package/dist/types/tools/browser/cmux/rpc.d.ts +70 -0
- package/dist/types/tools/browser/cmux/socket-client.d.ts +19 -0
- package/dist/types/tools/browser/launch.d.ts +67 -0
- package/dist/types/tools/browser/readable.d.ts +17 -0
- package/dist/types/tools/browser/registry.d.ts +58 -0
- package/dist/types/tools/browser/render.d.ts +52 -0
- package/dist/types/tools/browser/run-cancellation.d.ts +4 -0
- package/dist/types/tools/browser/tab-protocol.d.ts +146 -0
- package/dist/types/tools/browser/tab-supervisor.d.ts +104 -0
- package/dist/types/tools/browser/tab-worker-entry.d.ts +1 -0
- package/dist/types/tools/browser/tab-worker.d.ts +56 -0
- package/dist/types/tools/browser.d.ts +96 -0
- package/dist/types/tools/builtin-names.d.ts +6 -0
- package/dist/types/tools/checkpoint.d.ts +72 -0
- package/dist/types/tools/conflict-detect.d.ts +221 -0
- package/dist/types/tools/context.d.ts +19 -0
- package/dist/types/tools/debug.d.ts +156 -0
- package/dist/types/tools/eval-backends.d.ts +15 -0
- package/dist/types/tools/eval-render.d.ts +58 -0
- package/dist/types/tools/eval.d.ts +66 -0
- package/dist/types/tools/fetch.d.ts +99 -0
- package/dist/types/tools/file-recorder.d.ts +13 -0
- package/dist/types/tools/fs-cache-invalidation.d.ts +15 -0
- package/dist/types/tools/gh-cache-invalidation.d.ts +6 -0
- package/dist/types/tools/gh-format.d.ts +6 -0
- package/dist/types/tools/gh-renderer.d.ts +25 -0
- package/dist/types/tools/gh.d.ts +331 -0
- package/dist/types/tools/github-cache.d.ts +123 -0
- package/dist/types/tools/glob.d.ts +94 -0
- package/dist/types/tools/grep.d.ts +98 -0
- package/dist/types/tools/grouped-file-output.d.ts +70 -0
- package/dist/types/tools/image-gen.d.ts +66 -0
- package/dist/types/tools/index.d.ts +373 -0
- package/dist/types/tools/inspect-image-renderer.d.ts +26 -0
- package/dist/types/tools/inspect-image.d.ts +32 -0
- package/dist/types/tools/irc.d.ts +112 -0
- package/dist/types/tools/job.d.ts +73 -0
- package/dist/types/tools/json-tree.d.ts +23 -0
- package/dist/types/tools/jtd-to-json-schema.d.ts +29 -0
- package/dist/types/tools/jtd-to-typescript.d.ts +26 -0
- package/dist/types/tools/jtd-utils.d.ts +42 -0
- package/dist/types/tools/learn.d.ts +44 -0
- package/dist/types/tools/list-limit.d.ts +12 -0
- package/dist/types/tools/manage-skill.d.ts +31 -0
- package/dist/types/tools/match-line-format.d.ts +11 -0
- package/dist/types/tools/memory-edit.d.ts +31 -0
- package/dist/types/tools/memory-recall.d.ts +23 -0
- package/dist/types/tools/memory-reflect.d.ts +25 -0
- package/dist/types/tools/memory-render.d.ts +63 -0
- package/dist/types/tools/memory-retain.d.ts +29 -0
- package/dist/types/tools/output-meta.d.ts +211 -0
- package/dist/types/tools/output-schema-validator.d.ts +77 -0
- package/dist/types/tools/path-utils.d.ts +260 -0
- package/dist/types/tools/plan-mode-guard.d.ts +41 -0
- package/dist/types/tools/read.d.ts +87 -0
- package/dist/types/tools/render-utils.d.ts +218 -0
- package/dist/types/tools/renderers.d.ts +45 -0
- package/dist/types/tools/report-tool-issue.d.ts +127 -0
- package/dist/types/tools/resolve.d.ts +94 -0
- package/dist/types/tools/review.d.ts +59 -0
- package/dist/types/tools/search-tool-bm25.d.ts +65 -0
- package/dist/types/tools/sqlite-reader.d.ts +114 -0
- package/dist/types/tools/ssh.d.ts +73 -0
- package/dist/types/tools/todo.d.ts +126 -0
- package/dist/types/tools/tool-errors.d.ts +33 -0
- package/dist/types/tools/tool-result.d.ts +34 -0
- package/dist/types/tools/tool-timeouts.d.ts +51 -0
- package/dist/types/tools/tts.d.ts +42 -0
- package/dist/types/tools/write.d.ts +66 -0
- package/dist/types/tools/yield.d.ts +39 -0
- package/dist/types/tts/downloader.d.ts +20 -0
- package/dist/types/tts/index.d.ts +8 -0
- package/dist/types/tts/models.d.ts +82 -0
- package/dist/types/tts/player.d.ts +32 -0
- package/dist/types/tts/runtime.d.ts +6 -0
- package/dist/types/tts/streaming-player.d.ts +41 -0
- package/dist/types/tts/tts-client.d.ts +68 -0
- package/dist/types/tts/tts-protocol.d.ts +95 -0
- package/dist/types/tts/tts-worker.d.ts +2 -0
- package/dist/types/tts/vocalizer.d.ts +41 -0
- package/dist/types/tts/wav.d.ts +8 -0
- package/dist/types/tui/code-cell.d.ts +47 -0
- package/dist/types/tui/file-list.d.ts +22 -0
- package/dist/types/tui/hyperlink.d.ts +61 -0
- package/dist/types/tui/index.d.ts +12 -0
- package/dist/types/tui/output-block.d.ts +59 -0
- package/dist/types/tui/status-line.d.ts +21 -0
- package/dist/types/tui/tree-list.d.ts +20 -0
- package/dist/types/tui/types.d.ts +13 -0
- package/dist/types/tui/utils.d.ts +36 -0
- package/dist/types/tui/width-aware-text.d.ts +23 -0
- package/dist/types/utils/active-repo-context.d.ts +8 -0
- package/dist/types/utils/block-context.d.ts +35 -0
- package/dist/types/utils/changelog.d.ts +33 -0
- package/dist/types/utils/clipboard.d.ts +37 -0
- package/dist/types/utils/command-args.d.ts +9 -0
- package/dist/types/utils/commit-message-generator.d.ts +7 -0
- package/dist/types/utils/edit-mode.d.ts +13 -0
- package/dist/types/utils/enhanced-paste.d.ts +20 -0
- package/dist/types/utils/event-bus.d.ts +6 -0
- package/dist/types/utils/external-editor.d.ts +27 -0
- package/dist/types/utils/file-display-mode.d.ts +27 -0
- package/dist/types/utils/file-mentions.d.ts +13 -0
- package/dist/types/utils/git.d.ts +453 -0
- package/dist/types/utils/image-loading.d.ts +67 -0
- package/dist/types/utils/image-resize.d.ts +42 -0
- package/dist/types/utils/image-vision-fallback.d.ts +28 -0
- package/dist/types/utils/ipc.d.ts +22 -0
- package/dist/types/utils/jj.d.ts +74 -0
- package/dist/types/utils/lang-from-path.d.ts +8 -0
- package/dist/types/utils/markit-cache.d.ts +23 -0
- package/dist/types/utils/markit.d.ts +20 -0
- package/dist/types/utils/mupdf-wasm-embed.d.ts +1 -0
- package/dist/types/utils/open.d.ts +2 -0
- package/dist/types/utils/prompt-path.d.ts +1 -0
- package/dist/types/utils/qrcode.d.ts +48 -0
- package/dist/types/utils/session-color.d.ts +27 -0
- package/dist/types/utils/shell-snapshot.d.ts +15 -0
- package/dist/types/utils/sixel.d.ts +21 -0
- package/dist/types/utils/thinking-display.d.ts +7 -0
- package/dist/types/utils/title-generator.d.ts +33 -0
- package/dist/types/utils/tool-choice.d.ts +15 -0
- package/dist/types/utils/tools-manager.d.ts +12 -0
- package/dist/types/utils/turndown.d.ts +15 -0
- package/dist/types/utils/zip.d.ts +119 -0
- package/dist/types/web/kagi.d.ts +99 -0
- package/dist/types/web/parallel.d.ts +67 -0
- package/dist/types/web/scrapers/artifacthub.d.ts +6 -0
- package/dist/types/web/scrapers/arxiv.d.ts +5 -0
- package/dist/types/web/scrapers/aur.d.ts +5 -0
- package/dist/types/web/scrapers/biorxiv.d.ts +5 -0
- package/dist/types/web/scrapers/bluesky.d.ts +5 -0
- package/dist/types/web/scrapers/brew.d.ts +5 -0
- package/dist/types/web/scrapers/cheatsh.d.ts +8 -0
- package/dist/types/web/scrapers/chocolatey.d.ts +5 -0
- package/dist/types/web/scrapers/choosealicense.d.ts +2 -0
- package/dist/types/web/scrapers/cisa-kev.d.ts +5 -0
- package/dist/types/web/scrapers/clojars.d.ts +5 -0
- package/dist/types/web/scrapers/coingecko.d.ts +5 -0
- package/dist/types/web/scrapers/crates-io.d.ts +5 -0
- package/dist/types/web/scrapers/crossref.d.ts +2 -0
- package/dist/types/web/scrapers/devto.d.ts +5 -0
- package/dist/types/web/scrapers/discogs.d.ts +8 -0
- package/dist/types/web/scrapers/discourse.d.ts +5 -0
- package/dist/types/web/scrapers/dockerhub.d.ts +5 -0
- package/dist/types/web/scrapers/docs-rs.d.ts +2 -0
- package/dist/types/web/scrapers/fdroid.d.ts +5 -0
- package/dist/types/web/scrapers/firefox-addons.d.ts +2 -0
- package/dist/types/web/scrapers/flathub.d.ts +2 -0
- package/dist/types/web/scrapers/github-gist.d.ts +5 -0
- package/dist/types/web/scrapers/github.d.ts +34 -0
- package/dist/types/web/scrapers/gitlab.d.ts +5 -0
- package/dist/types/web/scrapers/go-pkg.d.ts +5 -0
- package/dist/types/web/scrapers/hackage.d.ts +5 -0
- package/dist/types/web/scrapers/hackernews.d.ts +2 -0
- package/dist/types/web/scrapers/hex.d.ts +5 -0
- package/dist/types/web/scrapers/huggingface.d.ts +2 -0
- package/dist/types/web/scrapers/iacr.d.ts +5 -0
- package/dist/types/web/scrapers/index.d.ts +84 -0
- package/dist/types/web/scrapers/jetbrains-marketplace.d.ts +2 -0
- package/dist/types/web/scrapers/lemmy.d.ts +2 -0
- package/dist/types/web/scrapers/lobsters.d.ts +5 -0
- package/dist/types/web/scrapers/mastodon.d.ts +5 -0
- package/dist/types/web/scrapers/maven.d.ts +6 -0
- package/dist/types/web/scrapers/mdn.d.ts +2 -0
- package/dist/types/web/scrapers/metacpan.d.ts +5 -0
- package/dist/types/web/scrapers/musicbrainz.d.ts +5 -0
- package/dist/types/web/scrapers/npm.d.ts +5 -0
- package/dist/types/web/scrapers/nuget.d.ts +5 -0
- package/dist/types/web/scrapers/nvd.d.ts +5 -0
- package/dist/types/web/scrapers/ollama.d.ts +2 -0
- package/dist/types/web/scrapers/open-vsx.d.ts +5 -0
- package/dist/types/web/scrapers/opencorporates.d.ts +5 -0
- package/dist/types/web/scrapers/openlibrary.d.ts +5 -0
- package/dist/types/web/scrapers/orcid.d.ts +5 -0
- package/dist/types/web/scrapers/osv.d.ts +5 -0
- package/dist/types/web/scrapers/packagist.d.ts +5 -0
- package/dist/types/web/scrapers/pub-dev.d.ts +5 -0
- package/dist/types/web/scrapers/pubmed.d.ts +5 -0
- package/dist/types/web/scrapers/pypi.d.ts +5 -0
- package/dist/types/web/scrapers/rawg.d.ts +2 -0
- package/dist/types/web/scrapers/readthedocs.d.ts +5 -0
- package/dist/types/web/scrapers/reddit.d.ts +5 -0
- package/dist/types/web/scrapers/repology.d.ts +5 -0
- package/dist/types/web/scrapers/rfc.d.ts +5 -0
- package/dist/types/web/scrapers/rubygems.d.ts +5 -0
- package/dist/types/web/scrapers/searchcode.d.ts +2 -0
- package/dist/types/web/scrapers/sec-edgar.d.ts +5 -0
- package/dist/types/web/scrapers/semantic-scholar.d.ts +2 -0
- package/dist/types/web/scrapers/snapcraft.d.ts +2 -0
- package/dist/types/web/scrapers/sourcegraph.d.ts +2 -0
- package/dist/types/web/scrapers/spdx.d.ts +5 -0
- package/dist/types/web/scrapers/spotify.d.ts +8 -0
- package/dist/types/web/scrapers/stackoverflow.d.ts +6 -0
- package/dist/types/web/scrapers/terraform.d.ts +5 -0
- package/dist/types/web/scrapers/tldr.d.ts +7 -0
- package/dist/types/web/scrapers/twitter.d.ts +5 -0
- package/dist/types/web/scrapers/types.d.ts +90 -0
- package/dist/types/web/scrapers/utils.d.ts +26 -0
- package/dist/types/web/scrapers/vimeo.d.ts +5 -0
- package/dist/types/web/scrapers/vscode-marketplace.d.ts +5 -0
- package/dist/types/web/scrapers/w3c.d.ts +2 -0
- package/dist/types/web/scrapers/wikidata.d.ts +5 -0
- package/dist/types/web/scrapers/wikipedia.d.ts +5 -0
- package/dist/types/web/scrapers/youtube.d.ts +5 -0
- package/dist/types/web/search/index.d.ts +74 -0
- package/dist/types/web/search/provider.d.ts +30 -0
- package/dist/types/web/search/providers/anthropic.d.ts +33 -0
- package/dist/types/web/search/providers/base.d.ts +83 -0
- package/dist/types/web/search/providers/brave.d.ts +28 -0
- package/dist/types/web/search/providers/codex.d.ts +36 -0
- package/dist/types/web/search/providers/duckduckgo.d.ts +14 -0
- package/dist/types/web/search/providers/exa.d.ts +70 -0
- package/dist/types/web/search/providers/firecrawl.d.ts +28 -0
- package/dist/types/web/search/providers/gemini.d.ts +62 -0
- package/dist/types/web/search/providers/jina.d.ts +31 -0
- package/dist/types/web/search/providers/kagi.d.ts +30 -0
- package/dist/types/web/search/providers/kimi.d.ts +32 -0
- package/dist/types/web/search/providers/parallel.d.ts +16 -0
- package/dist/types/web/search/providers/perplexity-auth.d.ts +37 -0
- package/dist/types/web/search/providers/perplexity.d.ts +58 -0
- package/dist/types/web/search/providers/searxng.d.ts +45 -0
- package/dist/types/web/search/providers/synthetic.d.ts +25 -0
- package/dist/types/web/search/providers/tavily.d.ts +30 -0
- package/dist/types/web/search/providers/tinyfish.d.ts +29 -0
- package/dist/types/web/search/providers/utils.d.ts +52 -0
- package/dist/types/web/search/providers/xai.d.ts +13 -0
- package/dist/types/web/search/providers/zai.d.ts +29 -0
- package/dist/types/web/search/render.d.ts +34 -0
- package/dist/types/web/search/types.d.ts +431 -0
- package/dist/types/web/search/utils.d.ts +4 -0
- package/dist/types/workspace-tree.d.ts +42 -0
- package/package.json +39 -39
- package/src/autolearn/managed-skills.ts +1 -1
- package/src/autoresearch/storage.ts +1 -1
- package/src/capability/types.ts +2 -2
- package/src/cli/args.ts +1 -1
- package/src/cli/auth-broker-cli.ts +4 -4
- package/src/cli/auth-gateway-cli.ts +4 -4
- package/src/cli/claude-trace-cli.ts +1 -1
- package/src/cli/flag-tables.ts +1 -1
- package/src/cli/gallery-fixtures/misc.ts +7 -7
- package/src/cli/gallery-screenshot.ts +2 -2
- package/src/cli/grievances-cli.ts +1 -1
- package/src/cli/plugin-cli.ts +2 -2
- package/src/cli/profile-alias.ts +8 -8
- package/src/cli/read-cli.ts +1 -1
- package/src/cli/update-cli.ts +27 -27
- package/src/cli.ts +5 -5
- package/src/commands/auth-broker.ts +1 -1
- package/src/commands/dry-balance.ts +6 -6
- package/src/commands/launch.ts +1 -1
- package/src/commands/say.ts +1 -1
- package/src/commands/token.ts +5 -5
- package/src/commit/agentic/prompts/system.md +1 -1
- package/src/commit/cli.ts +1 -1
- package/src/commit/index.ts +1 -1
- package/src/commit/pipeline.ts +1 -1
- package/src/commit/types.ts +1 -1
- package/src/config/mcp-schema.json +5 -5
- package/src/config/models-config-schema.ts +1 -1
- package/src/config/settings-schema.ts +6 -6
- package/src/config/settings.ts +1 -1
- package/src/dap/session.ts +2 -2
- package/src/debug/protocol-probe.ts +1 -1
- package/src/debug/raw-sse-buffer.ts +3 -3
- package/src/debug/raw-sse.ts +2 -2
- package/src/discovery/helpers.ts +2 -2
- package/src/discovery/substitute-plugin-root.ts +3 -3
- package/src/eval/rb/runner.rb +6 -6
- package/src/extensibility/extensions/loader.ts +6 -2
- package/src/extensibility/plugins/installer.ts +2 -2
- package/src/extensibility/plugins/legacy-pi-bundled-keys.ts +3 -0
- package/src/extensibility/plugins/legacy-pi-bundled-registry.ts +11 -0
- package/src/extensibility/plugins/loader.ts +14 -7
- package/src/extensibility/plugins/manager.ts +13 -10
- package/src/extensibility/plugins/types.ts +16 -3
- package/src/mcp/client.ts +1 -1
- package/src/mcp/manager.ts +1 -1
- package/src/mcp/oauth-flow.ts +1 -1
- package/src/mcp/timeout.ts +2 -2
- package/src/mcp/transports/http.ts +1 -1
- package/src/modes/controllers/mcp-command-controller.ts +2 -2
- package/src/modes/setup-wizard/index.ts +1 -1
- package/src/sdk.ts +1 -1
- package/src/session/agent-session.ts +1 -1
- package/src/session/auth-broker-config.ts +4 -4
- package/src/system-prompt.test.ts +15 -15
- package/src/tools/browser/tab-protocol.ts +1 -1
- package/src/tools/grep.ts +2 -2
- package/src/tools/read.ts +1 -1
- package/src/utils/image-loading.ts +4 -4
- package/src/utils/image-resize.ts +5 -5
- package/src/web/search/index.ts +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { AssistantMessage } from "jeopi-ai";
|
|
2
|
+
import type { AssistantMessageComponent } from "../components/assistant-message";
|
|
3
|
+
export declare const STREAMING_REVEAL_FRAME_MS: number;
|
|
4
|
+
export declare const MIN_STEP = 3;
|
|
5
|
+
export declare const CATCHUP_FRAMES = 8;
|
|
6
|
+
type StreamingRevealComponent = Pick<AssistantMessageComponent, "updateContent">;
|
|
7
|
+
type GraphemeSlicer = (index: number, text: string, units: number) => string;
|
|
8
|
+
type StreamingRevealControllerOptions = {
|
|
9
|
+
getSmoothStreaming(): boolean;
|
|
10
|
+
getHideThinkingBlock(): boolean;
|
|
11
|
+
getProseOnlyThinking(): boolean;
|
|
12
|
+
requestRender(): void;
|
|
13
|
+
};
|
|
14
|
+
/** Memoizes per-block grapheme counts across reveal ticks. Streaming blocks only
|
|
15
|
+
* grow by appending, and an append can only alter the final grapheme cluster of
|
|
16
|
+
* the previous text, so only the suffix from that cluster needs re-segmenting. */
|
|
17
|
+
export declare class BlockUnitCounter {
|
|
18
|
+
#private;
|
|
19
|
+
count(index: number, text: string): number;
|
|
20
|
+
reset(): void;
|
|
21
|
+
/** Slice `text` to its first `units` graphemes. Memoized across reveal ticks:
|
|
22
|
+
* streaming blocks grow only by appending and the reveal target advances
|
|
23
|
+
* monotonically, so a previously sliced prefix is reused and only the suffix
|
|
24
|
+
* from the boundary cluster is re-segmented. Only an exact (text, units) hit
|
|
25
|
+
* skips segmentation entirely — an append can extend the boundary cluster, so
|
|
26
|
+
* the incremental path still re-segments from that cluster's start. */
|
|
27
|
+
slice(index: number, text: string, units: number): string;
|
|
28
|
+
}
|
|
29
|
+
export declare function visibleUnits(message: AssistantMessage, hideThinking: boolean, proseOnly?: boolean): number;
|
|
30
|
+
export declare function buildDisplayMessage(target: AssistantMessage, revealed: number, hideThinking: boolean, proseOnly?: boolean, countOf?: (index: number, text: string) => number, sliceOf?: GraphemeSlicer): AssistantMessage;
|
|
31
|
+
export declare function nextStep(backlog: number): number;
|
|
32
|
+
export declare class StreamingRevealController {
|
|
33
|
+
#private;
|
|
34
|
+
constructor(options: StreamingRevealControllerOptions);
|
|
35
|
+
begin(component: StreamingRevealComponent, message: AssistantMessage): void;
|
|
36
|
+
setTarget(message: AssistantMessage): void;
|
|
37
|
+
stop(): void;
|
|
38
|
+
/**
|
|
39
|
+
* Re-read cached visibility flags (hideThinkingBlock, proseOnlyThinking)
|
|
40
|
+
* and re-render the current target. Called when the thinking level changes
|
|
41
|
+
* mid-stream so the reveal controller doesn't keep rendering with stale values.
|
|
42
|
+
*/
|
|
43
|
+
resyncVisibility(): void;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/** Minimal component surface the reveal pushes frames into. */
|
|
2
|
+
type ToolArgsRevealComponent = {
|
|
3
|
+
updateArgs(args: unknown, toolCallId?: string): void;
|
|
4
|
+
};
|
|
5
|
+
/** String fields the streamed-args decode reads incrementally for `toolName`. */
|
|
6
|
+
export declare function streamingStringKeysForTool(toolName: string, rawInput: boolean): readonly string[] | undefined;
|
|
7
|
+
type ToolArgsRevealControllerOptions = {
|
|
8
|
+
getSmoothStreaming(): boolean;
|
|
9
|
+
requestRender(): void;
|
|
10
|
+
};
|
|
11
|
+
type ToolArgsRevealTarget = {
|
|
12
|
+
rawInput: boolean;
|
|
13
|
+
exposeRawPartialJson: boolean;
|
|
14
|
+
streamingStringKeys?: readonly string[];
|
|
15
|
+
};
|
|
16
|
+
type StreamedToolArgsSource = {
|
|
17
|
+
/** Custom-tool raw text stream (`customWireName` tools): never JSON-parsed. */
|
|
18
|
+
rawInput: boolean;
|
|
19
|
+
/** Provider-parsed arguments, spread UNDER the fresh decode: a dialect
|
|
20
|
+
* projector may carry keys a raw re-parse cannot recover, but any key the
|
|
21
|
+
* fresh parse does recover wins — provider parses lag the stream by up to
|
|
22
|
+
* STREAMING_JSON_PARSE_MIN_GROWTH bytes mid-stream. */
|
|
23
|
+
fullArgs?: Record<string, unknown>;
|
|
24
|
+
/** See {@link streamingStringKeysForTool}. */
|
|
25
|
+
streamingStringKeys?: readonly string[];
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* One-shot decode of a streamed tool-call argument buffer into display args —
|
|
29
|
+
* the same decode the live reveal applies frame-by-frame, for paths that see
|
|
30
|
+
* the buffer once (transcript rebuilds on theme change, settings, focus
|
|
31
|
+
* replay). Keeps a rebuilt preview identical to the live preview: parsed
|
|
32
|
+
* fields come from a fresh parse of the full buffer, `streamingStringKeys`
|
|
33
|
+
* fields from the incremental string decoder (which also wins ties in the
|
|
34
|
+
* live path), never from the provider's throttled `arguments`.
|
|
35
|
+
*/
|
|
36
|
+
export declare function decodeStreamedToolArgs(partialJson: string, source: StreamedToolArgsSource): Record<string, unknown>;
|
|
37
|
+
/**
|
|
38
|
+
* Paces streamed tool-call arguments the same way StreamingRevealController
|
|
39
|
+
* paces assistant text: providers that deliver `partialJson` in large batches
|
|
40
|
+
* (or throttle their partial parses) would otherwise make write/edit/bash
|
|
41
|
+
* streaming previews jump in chunks. Each pending tool call reveals its raw
|
|
42
|
+
* argument stream at the shared 30fps cadence with the same adaptive
|
|
43
|
+
* catch-up step. JSON prefixes are parsed only when enough new bytes arrive to
|
|
44
|
+
* change renderer-visible fields, while raw-prefix consumers still receive
|
|
45
|
+
* fresh `__partialJson` on every reveal frame.
|
|
46
|
+
*
|
|
47
|
+
* Reveal units are UTF-16 code units of the raw stream, not graphemes —
|
|
48
|
+
* the prefix goes through a JSON parser rather than straight to the screen,
|
|
49
|
+
* so only surrogate-pair integrity matters (see {@link clampSliceEnd}).
|
|
50
|
+
*/
|
|
51
|
+
export declare class ToolArgsRevealController {
|
|
52
|
+
#private;
|
|
53
|
+
constructor(options: ToolArgsRevealControllerOptions);
|
|
54
|
+
/**
|
|
55
|
+
* Record the latest streamed argument text for a tool call and return the
|
|
56
|
+
* args to render right now. With smoothing disabled nothing is paced — the
|
|
57
|
+
* full received buffer decodes in one step — but the entry still runs the
|
|
58
|
+
* incremental string decoder + parse throttle, so streamed text fields
|
|
59
|
+
* (write `content`, edit bodies, eval `code`) stay fresh between the
|
|
60
|
+
* provider's own throttled full-JSON parses instead of lagging up to
|
|
61
|
+
* STREAMING_JSON_PARSE_MIN_GROWTH bytes behind.
|
|
62
|
+
*/
|
|
63
|
+
setTarget(id: string, partialJson: string, target: ToolArgsRevealTarget): Record<string, unknown>;
|
|
64
|
+
/** Attach the component future ticks push frames into. */
|
|
65
|
+
bind(id: string, component: ToolArgsRevealComponent): void;
|
|
66
|
+
/** Final arguments arrived (the JSON closed): drop the reveal so the
|
|
67
|
+
* caller's final-args render wins immediately, mirroring how assistant
|
|
68
|
+
* text snaps to the full message at message_end. */
|
|
69
|
+
finish(id: string): void;
|
|
70
|
+
/** Snap every live entry to its full received stream and clear. Used at
|
|
71
|
+
* message_end (abort/error mid-stream) so sealed components freeze showing
|
|
72
|
+
* everything that arrived rather than a mid-reveal prefix. */
|
|
73
|
+
flushAll(): void;
|
|
74
|
+
/** Clear without pushing (teardown). */
|
|
75
|
+
stop(): void;
|
|
76
|
+
}
|
|
77
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { AutocompleteItem } from "jeopi-tui";
|
|
2
|
+
export declare function getEmojiSuggestions(textBeforeCursor: string): {
|
|
3
|
+
items: AutocompleteItem[];
|
|
4
|
+
prefix: string;
|
|
5
|
+
} | null;
|
|
6
|
+
export declare function applyEmojiCompletion(lines: string[], cursorLine: number, cursorCol: number, item: AutocompleteItem, prefix: string): {
|
|
7
|
+
lines: string[];
|
|
8
|
+
cursorLine: number;
|
|
9
|
+
cursorCol: number;
|
|
10
|
+
};
|
|
11
|
+
export declare function tryEmojiInlineReplace(textBeforeCursor: string): {
|
|
12
|
+
replaceLen: number;
|
|
13
|
+
insert: string;
|
|
14
|
+
} | null;
|
|
15
|
+
export declare function isEmojiPrefix(prefix: string): boolean;
|
|
16
|
+
export declare function expandEmoticons(text: string): string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/** A gradient keyword highlighter.
|
|
2
|
+
*
|
|
3
|
+
* - `resetTo` is the SGR foreground sequence re-emitted after each painted
|
|
4
|
+
* keyword so surrounding text keeps its color; it defaults to a plain
|
|
5
|
+
* foreground reset (editor / default-colored text).
|
|
6
|
+
* - `phase` ∈ [0, 1) rotates the gradient stops cyclically; pass `Date.now()`-
|
|
7
|
+
* derived values to animate a shimmer. Defaults to `0` (the static
|
|
8
|
+
* sent-bubble palette). */
|
|
9
|
+
export type KeywordHighlighter = (text: string, resetTo?: string, phase?: number) => string;
|
|
10
|
+
/** Declarative spec for {@link createGradientHighlighter}. */
|
|
11
|
+
export interface GradientHighlightSpec {
|
|
12
|
+
/** Cheap, stateless presence probe used to skip the boundary regex on most lines. Must be non-global. */
|
|
13
|
+
probe: RegExp;
|
|
14
|
+
/** Global, word-bounded match regex walked by `.replace`. */
|
|
15
|
+
highlight: RegExp;
|
|
16
|
+
/** Number of color stops swept across the gradient. */
|
|
17
|
+
stops: number;
|
|
18
|
+
/** Maps a normalized position `t` in [0, 1) to an HSL hue in degrees. */
|
|
19
|
+
hue: (t: number) => number;
|
|
20
|
+
/** HSL saturation percentage. Default 90. */
|
|
21
|
+
saturation?: number;
|
|
22
|
+
/** HSL lightness percentage. Default 62. */
|
|
23
|
+
lightness?: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Build a stateless highlighter that paints each standalone match of `highlight`
|
|
27
|
+
* with a smooth HSL gradient for editor display. The returned function adds only
|
|
28
|
+
* zero-width SGR escapes — the visible width is unchanged — and returns the input
|
|
29
|
+
* untouched when `probe` does not match. The palette is compiled lazily and
|
|
30
|
+
* memoized per active color mode.
|
|
31
|
+
*/
|
|
32
|
+
export declare function createGradientHighlighter(spec: GradientHighlightSpec): KeywordHighlighter;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ImageContent } from "jeopi-ai";
|
|
2
|
+
import { type BlobPutResult } from "../session/blob-store";
|
|
3
|
+
/** Matches `[Image #N]`/`[Image #N, WxH]` and `[Paste #N, +X lines]`/`[Paste #N, Y chars]` tokens.
|
|
4
|
+
* Group 1 is the kind (`Image`/`Paste`), group 2 the 1-based index. The optional metadata
|
|
5
|
+
* tail (`, …`) is captured loosely (no `]`/newline) so future label tweaks keep matching. */
|
|
6
|
+
export declare const PLACEHOLDER_REGEX: RegExp;
|
|
7
|
+
/** Renumber every `[Image #N]` marker in `text` by `offset` (added to the
|
|
8
|
+
* existing index), preserving the optional `, WxH` tail. Paste markers are
|
|
9
|
+
* left untouched. Used when restoring queued image-messages back into a draft
|
|
10
|
+
* that already holds pending images so the merged text's positional markers
|
|
11
|
+
* still line up with `pendingImages`. */
|
|
12
|
+
export declare function shiftImageMarkers(text: string, offset: number): string;
|
|
13
|
+
type ImageBlobWriter = (data: Buffer, options?: {
|
|
14
|
+
extension?: string;
|
|
15
|
+
}) => Promise<BlobPutResult>;
|
|
16
|
+
type ImageBlobWriterSync = (data: Buffer, options?: {
|
|
17
|
+
extension?: string;
|
|
18
|
+
}) => BlobPutResult;
|
|
19
|
+
export type PlaceholderKind = "image" | "paste";
|
|
20
|
+
export interface PlaceholderRenderers {
|
|
21
|
+
renderText: (text: string) => string;
|
|
22
|
+
renderReference: (label: string, kind: PlaceholderKind, index: number) => string;
|
|
23
|
+
}
|
|
24
|
+
export declare function renderPlaceholders(text: string, renderers: PlaceholderRenderers): string;
|
|
25
|
+
export declare function imageReferenceHyperlink(label: string, index: number, imageLinks: readonly (string | undefined)[] | undefined, renderLabel: (text: string) => string): string;
|
|
26
|
+
export declare function materializeImageReferenceLinks(images: readonly ImageContent[] | undefined, putBlob: ImageBlobWriter): Promise<(string | undefined)[] | undefined>;
|
|
27
|
+
export declare function materializeImageReferenceLinksSync(images: readonly ImageContent[] | undefined, putBlob: ImageBlobWriterSync): (string | undefined)[] | undefined;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interactive mode and embeddable RPC client exports for the coding agent.
|
|
3
|
+
*
|
|
4
|
+
* Branch-specific runners live in their concrete modules so importing this
|
|
5
|
+
* barrel does not pull print, RPC server, or ACP server mode into the normal
|
|
6
|
+
* TUI graph.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./interactive-mode";
|
|
9
|
+
export * from "./rpc/rpc-client";
|
|
10
|
+
export * from "./rpc/rpc-types";
|
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
import { type Agent, type AgentMessage } from "jeopi-agent-core";
|
|
2
|
+
import type { CompactionOutcome } from "jeopi-agent-core/compaction";
|
|
3
|
+
import type { AssistantMessage, ImageContent, Message, Usage, UsageReport } from "jeopi-ai";
|
|
4
|
+
import type { Component, EditorTheme } from "jeopi-tui";
|
|
5
|
+
import { Container, Loader, Spacer, Text, TUI } from "jeopi-tui";
|
|
6
|
+
import type { CollabGuestLink } from "../collab/guest";
|
|
7
|
+
import type { CollabHost } from "../collab/host";
|
|
8
|
+
import { KeybindingsManager } from "../config/keybindings";
|
|
9
|
+
import { Settings } from "../config/settings";
|
|
10
|
+
import type { ExtensionUIContext, ExtensionUIDialogOptions, ExtensionUISelectItem, ExtensionWidgetContent, ExtensionWidgetOptions } from "../extensibility/extensions";
|
|
11
|
+
import type { CompactOptions } from "../extensibility/extensions/types";
|
|
12
|
+
import type { Skill } from "../extensibility/skills";
|
|
13
|
+
import type { MCPManager } from "../mcp";
|
|
14
|
+
import { type PlanApprovalDetails } from "../plan-mode/approved-plan";
|
|
15
|
+
import { type AgentSession } from "../session/agent-session";
|
|
16
|
+
import type { CompactMode } from "../session/compact-modes";
|
|
17
|
+
import { HistoryStorage } from "../session/history-storage";
|
|
18
|
+
import type { SessionContext } from "../session/session-context";
|
|
19
|
+
import type { SessionManager } from "../session/session-manager";
|
|
20
|
+
import type { ShakeMode } from "../session/shake-types";
|
|
21
|
+
import type { LspStartupServerInfo } from "../tools";
|
|
22
|
+
import type { EventBus } from "../utils/event-bus";
|
|
23
|
+
import { type AssistantMessageComponent } from "./components/assistant-message";
|
|
24
|
+
import type { BashExecutionComponent } from "./components/bash-execution";
|
|
25
|
+
import { CustomEditor } from "./components/custom-editor";
|
|
26
|
+
import type { EvalExecutionComponent } from "./components/eval-execution";
|
|
27
|
+
import type { HookEditorComponent } from "./components/hook-editor";
|
|
28
|
+
import type { HookInputComponent } from "./components/hook-input";
|
|
29
|
+
import type { HookSelectorComponent, HookSelectorSlider } from "./components/hook-selector";
|
|
30
|
+
import { StatusLineComponent } from "./components/status-line";
|
|
31
|
+
import type { ToolExecutionHandle } from "./components/tool-execution";
|
|
32
|
+
import { TranscriptContainer } from "./components/transcript-container";
|
|
33
|
+
import { EventController } from "./controllers/event-controller";
|
|
34
|
+
import { type LoopLimitRuntime } from "./loop-limit";
|
|
35
|
+
import { OAuthManualInputManager } from "./oauth-manual-input";
|
|
36
|
+
import type { ObservableSession } from "./session-observer-registry";
|
|
37
|
+
import type { Theme } from "./theme/theme";
|
|
38
|
+
import type { CompactionQueuedMessage, InteractiveModeContext, InteractiveModeInitOptions, InteractiveSelectorDialogOptions, SubmittedUserInput, TodoItem, TodoPhase } from "./types";
|
|
39
|
+
/**
|
|
40
|
+
* Editor max-height cap for a terminal of `terminalRows` rows.
|
|
41
|
+
*
|
|
42
|
+
* Roomy terminals get the comfortable [6, 18] band. Small terminals shrink the
|
|
43
|
+
* cap so the editor leaves at least EDITOR_MIN_CHROME_ROWS rows for the
|
|
44
|
+
* transcript + status line. The editor is bordered, so it never renders fewer
|
|
45
|
+
* than EDITOR_MIN_RENDERED_ROWS rows; once the terminal is too small for both
|
|
46
|
+
* (terminalRows < EDITOR_MIN_RENDERED_ROWS + EDITOR_MIN_CHROME_ROWS) the cap is
|
|
47
|
+
* pinned to that floor — returning a smaller number would not shrink the editor
|
|
48
|
+
* any further, it would only misreport the rows it actually occupies.
|
|
49
|
+
*/
|
|
50
|
+
export declare function computeEditorMaxHeight(terminalRows: number): number;
|
|
51
|
+
/** Options for creating an InteractiveMode instance (for future API use) */
|
|
52
|
+
export interface InteractiveModeOptions {
|
|
53
|
+
/** Providers that were migrated during startup */
|
|
54
|
+
migratedProviders?: string[];
|
|
55
|
+
/** Warning message if model fallback occurred */
|
|
56
|
+
modelFallbackMessage?: string;
|
|
57
|
+
/** Initial message to send */
|
|
58
|
+
initialMessage?: string;
|
|
59
|
+
/** Initial images to include with the message */
|
|
60
|
+
initialImages?: ImageContent[];
|
|
61
|
+
/** Additional initial messages to queue */
|
|
62
|
+
initialMessages?: string[];
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Build the anchored subagent HUD block: a bold accent "Subagents" header plus
|
|
66
|
+
* one hooked row per running agent in the same `Id: description` shape the
|
|
67
|
+
* inline task rows use (muted task preview when no description was given).
|
|
68
|
+
* Only detached background spawns are listed: a sync task call blocks the
|
|
69
|
+
* parent turn and its inline tool block already renders progress live, and
|
|
70
|
+
* eval `agent()` spawns are rendered by their own eval cell tree.
|
|
71
|
+
* Returns an empty array when nothing is running so the container can clear.
|
|
72
|
+
*/
|
|
73
|
+
export declare function renderSubagentHudLines(sessions: ObservableSession[], columns: number): string[];
|
|
74
|
+
export declare class InteractiveMode implements InteractiveModeContext {
|
|
75
|
+
#private;
|
|
76
|
+
session: AgentSession;
|
|
77
|
+
sessionManager: SessionManager;
|
|
78
|
+
settings: Settings;
|
|
79
|
+
keybindings: KeybindingsManager;
|
|
80
|
+
agent: Agent;
|
|
81
|
+
historyStorage?: HistoryStorage;
|
|
82
|
+
ui: TUI;
|
|
83
|
+
chatContainer: TranscriptContainer;
|
|
84
|
+
pendingMessagesContainer: Container;
|
|
85
|
+
statusContainer: Container;
|
|
86
|
+
todoContainer: Container;
|
|
87
|
+
subagentContainer: Container;
|
|
88
|
+
btwContainer: Container;
|
|
89
|
+
omfgContainer: Container;
|
|
90
|
+
errorBannerContainer: Container;
|
|
91
|
+
modelCycleContainer: Container;
|
|
92
|
+
editor: CustomEditor;
|
|
93
|
+
editorContainer: Container;
|
|
94
|
+
hookWidgetContainerAbove: Container;
|
|
95
|
+
hookWidgetContainerBelow: Container;
|
|
96
|
+
statusLine: StatusLineComponent;
|
|
97
|
+
isInitialized: boolean;
|
|
98
|
+
initialChatRendered: boolean;
|
|
99
|
+
isBashMode: boolean;
|
|
100
|
+
toolOutputExpanded: boolean;
|
|
101
|
+
todoExpanded: boolean;
|
|
102
|
+
planModeEnabled: boolean;
|
|
103
|
+
planModePaused: boolean;
|
|
104
|
+
goalModeEnabled: boolean;
|
|
105
|
+
goalModePaused: boolean;
|
|
106
|
+
planModePlanFilePath: string | undefined;
|
|
107
|
+
loopModeEnabled: boolean;
|
|
108
|
+
loopPrompt: string | undefined;
|
|
109
|
+
loopLimit: LoopLimitRuntime | undefined;
|
|
110
|
+
todoPhases: TodoPhase[];
|
|
111
|
+
hideThinkingBlock: boolean;
|
|
112
|
+
/** Whether the visible session has produced thinking content the user can reveal. */
|
|
113
|
+
get hasDisplayableThinkingContent(): boolean;
|
|
114
|
+
/** Record received reasoning content so Ctrl+T can reveal it even when model metadata says thinking is off. */
|
|
115
|
+
noteDisplayableThinkingContent(message: AgentMessage): boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Effective thinking-block visibility: hidden when the user's setting is on,
|
|
118
|
+
* or while thinking is "off" before the session has actually produced
|
|
119
|
+
* displayable thinking content. Some providers return thinking blocks without
|
|
120
|
+
* advertising reasoning support, so observed content unlocks the visibility
|
|
121
|
+
* toggle.
|
|
122
|
+
*/
|
|
123
|
+
get effectiveHideThinkingBlock(): boolean;
|
|
124
|
+
proseOnlyThinking: boolean;
|
|
125
|
+
compactionQueuedMessages: CompactionQueuedMessage[];
|
|
126
|
+
pendingTools: Map<string, ToolExecutionHandle>;
|
|
127
|
+
pendingBashComponents: BashExecutionComponent[];
|
|
128
|
+
bashComponent: BashExecutionComponent | undefined;
|
|
129
|
+
pendingPythonComponents: EvalExecutionComponent[];
|
|
130
|
+
pythonComponent: EvalExecutionComponent | undefined;
|
|
131
|
+
isPythonMode: boolean;
|
|
132
|
+
streamingComponent: AssistantMessageComponent | undefined;
|
|
133
|
+
streamingMessage: AssistantMessage | undefined;
|
|
134
|
+
lastAssistantUsage: Usage | undefined;
|
|
135
|
+
loadingAnimation: Loader | undefined;
|
|
136
|
+
autoCompactionLoader: Loader | undefined;
|
|
137
|
+
retryLoader: Loader | undefined;
|
|
138
|
+
unsubscribe?: () => void;
|
|
139
|
+
onInputCallback?: (input: SubmittedUserInput) => void;
|
|
140
|
+
optimisticUserMessageSignature: string | undefined;
|
|
141
|
+
locallySubmittedUserSignatures: Set<string>;
|
|
142
|
+
lastSigintTime: number;
|
|
143
|
+
lastEscapeTime: number;
|
|
144
|
+
lastLeftTapTime: number;
|
|
145
|
+
shutdownRequested: boolean;
|
|
146
|
+
/** True once `shutdown()` has begun teardown. Surfaced to the input
|
|
147
|
+
* controller so a Ctrl+C arriving while teardown is in flight can hard-
|
|
148
|
+
* abort the remaining work instead of stacking another no-op call. */
|
|
149
|
+
get isShuttingDown(): boolean;
|
|
150
|
+
hookSelector: HookSelectorComponent | undefined;
|
|
151
|
+
hookInput: HookInputComponent | undefined;
|
|
152
|
+
hookEditor: HookEditorComponent | undefined;
|
|
153
|
+
lastStatusSpacer: Spacer | undefined;
|
|
154
|
+
lastStatusText: Text | undefined;
|
|
155
|
+
fileSlashCommands: Set<string>;
|
|
156
|
+
skillCommands: Map<string, Skill>;
|
|
157
|
+
oauthManualInput: OAuthManualInputManager;
|
|
158
|
+
collabHost?: CollabHost;
|
|
159
|
+
collabGuest?: CollabGuestLink;
|
|
160
|
+
readonly lspServers: LspStartupServerInfo[] | undefined;
|
|
161
|
+
mcpManager?: MCPManager;
|
|
162
|
+
get eventController(): EventController;
|
|
163
|
+
get eventBus(): EventBus | undefined;
|
|
164
|
+
get viewSession(): AgentSession;
|
|
165
|
+
get focusedAgentId(): string | undefined;
|
|
166
|
+
focusAgentSession(id: string): Promise<void>;
|
|
167
|
+
focusParentSession(): Promise<void>;
|
|
168
|
+
unfocusSession(): Promise<void>;
|
|
169
|
+
clearTransientSessionUi(): void;
|
|
170
|
+
constructor(session: AgentSession, version: string, changelogMarkdown?: string | undefined, setToolUIContext?: (uiContext: ExtensionUIContext, hasUI: boolean) => void, lspServers?: LspStartupServerInfo[] | undefined, mcpManager?: MCPManager, eventBus?: EventBus);
|
|
171
|
+
playWelcomeIntro(): void;
|
|
172
|
+
init(options?: InteractiveModeInitOptions): Promise<void>;
|
|
173
|
+
/** Reload the title-generation system prompt override for the provided working
|
|
174
|
+
* directory and stash it on the session so first-input titling
|
|
175
|
+
* ({@link input-controller}) and replan-driven refresh
|
|
176
|
+
* ({@link AgentSession.#refreshTitleAfterReplan}) share one source
|
|
177
|
+
* ({@link discoverTitleSystemPromptFile}; issue #3734). */
|
|
178
|
+
refreshTitleSystemPrompt(cwd?: string): Promise<void>;
|
|
179
|
+
/** Reload slash commands and autocomplete for the provided working directory. */
|
|
180
|
+
refreshSlashCommandState(cwd?: string): Promise<void>;
|
|
181
|
+
/**
|
|
182
|
+
* Re-point the process and every cwd-derived cache at `newCwd` after the
|
|
183
|
+
* active session's working directory changed (`/move` relocation or resuming
|
|
184
|
+
* a session from another project). The SessionManager's cwd MUST already
|
|
185
|
+
* reflect `newCwd` before this is called.
|
|
186
|
+
*/
|
|
187
|
+
applyCwdChange(newCwd: string): Promise<void>;
|
|
188
|
+
getUserInput(): Promise<SubmittedUserInput>;
|
|
189
|
+
disableLoopMode(message?: string): void;
|
|
190
|
+
/**
|
|
191
|
+
* Pause the loop without exiting it: drops the captured prompt and any
|
|
192
|
+
* pending auto-resubmit. Loop mode stays enabled — the next prompt the
|
|
193
|
+
* user submits becomes the new loop prompt and resumes iteration.
|
|
194
|
+
*/
|
|
195
|
+
pauseLoop(): void;
|
|
196
|
+
handleLoopCommand(args?: string): Promise<string | undefined>;
|
|
197
|
+
recordLocalSubmission(text: string, imageCount?: number): () => void;
|
|
198
|
+
withLocalSubmission<T>(text: string, fn: () => Promise<T>, options?: {
|
|
199
|
+
imageCount?: number;
|
|
200
|
+
}): Promise<T>;
|
|
201
|
+
clearOptimisticUserMessage(): void;
|
|
202
|
+
replaceOptimisticUserMessage(message: AgentMessage, options?: {
|
|
203
|
+
imageLinks?: readonly (string | undefined)[];
|
|
204
|
+
}): void;
|
|
205
|
+
startPendingSubmission(input: {
|
|
206
|
+
text: string;
|
|
207
|
+
images?: ImageContent[];
|
|
208
|
+
imageLinks?: (string | undefined)[];
|
|
209
|
+
customType?: string;
|
|
210
|
+
display?: boolean;
|
|
211
|
+
streamingBehavior?: "steer" | "followUp";
|
|
212
|
+
}): SubmittedUserInput;
|
|
213
|
+
cancelPendingSubmission(): boolean;
|
|
214
|
+
markPendingSubmissionStarted(input: SubmittedUserInput): boolean;
|
|
215
|
+
finishPendingSubmission(input: SubmittedUserInput): void;
|
|
216
|
+
updateEditorBorderColor(): void;
|
|
217
|
+
/** Refresh the running-subagents status badge from the active local or collab registry. */
|
|
218
|
+
syncRunningSubagentBadge(): void;
|
|
219
|
+
rebuildChatFromMessages(): void;
|
|
220
|
+
/**
|
|
221
|
+
* Render the ctrl+p model-role cycle chip track into its own anchored
|
|
222
|
+
* container (just above the editor), mirroring the todo HUD: the container is
|
|
223
|
+
* cleared and rebuilt in place on every cycle, so rapid presses or concurrent
|
|
224
|
+
* chat activity can never stack duplicate tracks into the scrollback.
|
|
225
|
+
*/
|
|
226
|
+
showModelCycleTrack(track: string): void;
|
|
227
|
+
/** Apply any deferred model switch after the current stream ends. */
|
|
228
|
+
flushPendingModelSwitch(): Promise<void>;
|
|
229
|
+
showPlanReview(planContent: string, title: string, options: string[], dialogOptions?: {
|
|
230
|
+
helpText?: string;
|
|
231
|
+
disabledIndices?: number[];
|
|
232
|
+
onExternalEditor?: () => void;
|
|
233
|
+
onPlanEdited?: (content: string) => void;
|
|
234
|
+
onFeedbackChange?: (feedback: string) => void;
|
|
235
|
+
initialIndex?: number;
|
|
236
|
+
}, extra?: {
|
|
237
|
+
slider?: HookSelectorSlider;
|
|
238
|
+
}): Promise<string | undefined>;
|
|
239
|
+
handlePlanModeCommand(initialPrompt?: string): Promise<void>;
|
|
240
|
+
handleGoalModeCommand(rest?: string): Promise<void>;
|
|
241
|
+
handleGuidedGoalCommand(rest?: string): Promise<void>;
|
|
242
|
+
/** Manually (re-)open the plan-review overlay — bound to `/plan-review`. Lets
|
|
243
|
+
* the operator pull the review back up after dismissing it, or review a plan
|
|
244
|
+
* the agent wrote without calling `resolve`. There is no fixed plan filename:
|
|
245
|
+
* `getPlanReferencePath()` is empty until a plan is actually approved (and does
|
|
246
|
+
* not survive a restart), so this drives off the newest `local://<slug>-plan.md`
|
|
247
|
+
* the agent wrote — the files persist in the session artifacts dir, so the scan
|
|
248
|
+
* works before any review and across restarts. */
|
|
249
|
+
openPlanReview(): Promise<void>;
|
|
250
|
+
handlePlanApproval(details: PlanApprovalDetails): Promise<void>;
|
|
251
|
+
stop(): void;
|
|
252
|
+
shutdown(): Promise<void>;
|
|
253
|
+
checkShutdownRequested(): Promise<void>;
|
|
254
|
+
setToolUIContext(uiContext: ExtensionUIContext, hasUI: boolean): void;
|
|
255
|
+
initializeHookRunner(uiContext: ExtensionUIContext, hasUI: boolean): void;
|
|
256
|
+
setEditorComponent(factory: ((tui: TUI, theme: EditorTheme, keybindings: KeybindingsManager) => CustomEditor) | undefined): void;
|
|
257
|
+
present(content: Component | readonly Component[]): void;
|
|
258
|
+
resetTranscript(): void;
|
|
259
|
+
showStatus(message: string, options?: {
|
|
260
|
+
dim?: boolean;
|
|
261
|
+
}): void;
|
|
262
|
+
showError(message: string): void;
|
|
263
|
+
showPinnedError(message: string): void;
|
|
264
|
+
clearPinnedError(): void;
|
|
265
|
+
showWarning(message: string): void;
|
|
266
|
+
ensureLoadingAnimation(): void;
|
|
267
|
+
setWorkingMessage(message?: string): void;
|
|
268
|
+
applyPendingWorkingMessage(): void;
|
|
269
|
+
showNewVersionNotification(newVersion: string): void;
|
|
270
|
+
clearEditor(): void;
|
|
271
|
+
updatePendingMessagesDisplay(): void;
|
|
272
|
+
queueCompactionMessage(text: string, mode: "steer" | "followUp", images?: ImageContent[]): void;
|
|
273
|
+
flushCompactionQueue(options?: {
|
|
274
|
+
willRetry?: boolean;
|
|
275
|
+
}): Promise<void>;
|
|
276
|
+
flushPendingBashComponents(): void;
|
|
277
|
+
isKnownSlashCommand(text: string): boolean;
|
|
278
|
+
addMessageToChat(message: AgentMessage, options?: {
|
|
279
|
+
populateHistory?: boolean;
|
|
280
|
+
imageLinks?: readonly (string | undefined)[];
|
|
281
|
+
}): Component[];
|
|
282
|
+
renderSessionContext(sessionContext: SessionContext, options?: {
|
|
283
|
+
updateFooter?: boolean;
|
|
284
|
+
populateHistory?: boolean;
|
|
285
|
+
}): void;
|
|
286
|
+
renderInitialMessages(options?: {
|
|
287
|
+
preserveExistingChat?: boolean;
|
|
288
|
+
clearTerminalHistory?: boolean;
|
|
289
|
+
}): void;
|
|
290
|
+
getUserMessageText(message: Message): string;
|
|
291
|
+
findLastAssistantMessage(): AssistantMessage | undefined;
|
|
292
|
+
extractAssistantText(message: AssistantMessage): string;
|
|
293
|
+
handleExportCommand(text: string): Promise<void>;
|
|
294
|
+
handleDumpCommand(): Promise<void>;
|
|
295
|
+
handleAdvisorDumpCommand(isRaw?: boolean): void;
|
|
296
|
+
handleDebugTranscriptCommand(): Promise<void>;
|
|
297
|
+
handleShareCommand(): Promise<void>;
|
|
298
|
+
handleTodoCommand(args: string): Promise<void>;
|
|
299
|
+
handleSessionCommand(): Promise<void>;
|
|
300
|
+
handleAdvisorStatusCommand(): Promise<void>;
|
|
301
|
+
handleJobsCommand(): Promise<void>;
|
|
302
|
+
handleUsageCommand(reports?: UsageReport[] | null): Promise<void>;
|
|
303
|
+
handleChangelogCommand(showFull?: boolean): Promise<void>;
|
|
304
|
+
handleHotkeysCommand(): void;
|
|
305
|
+
handleToolsCommand(): void;
|
|
306
|
+
handleContextCommand(): void;
|
|
307
|
+
handleClearCommand(): Promise<void>;
|
|
308
|
+
handleFreshCommand(): Promise<void>;
|
|
309
|
+
handleDropCommand(): Promise<void>;
|
|
310
|
+
handleForkCommand(): Promise<void>;
|
|
311
|
+
handleMoveCommand(targetPath?: string): Promise<void>;
|
|
312
|
+
handleRenameCommand(title: string): Promise<void>;
|
|
313
|
+
handleMemoryCommand(text: string): Promise<void>;
|
|
314
|
+
handleSTTToggle(): Promise<void>;
|
|
315
|
+
showDebugSelector(): Promise<void>;
|
|
316
|
+
showAgentHub(options?: {
|
|
317
|
+
requireContent?: boolean;
|
|
318
|
+
}): void;
|
|
319
|
+
resetObserverRegistry(): void;
|
|
320
|
+
handleBashCommand(command: string, excludeFromContext?: boolean): Promise<void>;
|
|
321
|
+
handlePythonCommand(code: string, excludeFromContext?: boolean): Promise<void>;
|
|
322
|
+
handleMCPCommand(text: string): Promise<void>;
|
|
323
|
+
handleSSHCommand(text: string): Promise<void>;
|
|
324
|
+
handleCompactCommand(customInstructions?: string, mode?: CompactMode, beforeFlush?: (outcome: CompactionOutcome) => void | Promise<void>): Promise<CompactionOutcome>;
|
|
325
|
+
handleHandoffCommand(customInstructions?: string): Promise<void>;
|
|
326
|
+
handleShakeCommand(mode: ShakeMode): Promise<void>;
|
|
327
|
+
executeCompaction(customInstructionsOrOptions?: string | CompactOptions, isAuto?: boolean): Promise<CompactionOutcome>;
|
|
328
|
+
openInBrowser(urlOrPath: string): void;
|
|
329
|
+
showSettingsSelector(): void;
|
|
330
|
+
showAdvisorConfigure(): void;
|
|
331
|
+
showHistorySearch(): void;
|
|
332
|
+
showExtensionsDashboard(): void;
|
|
333
|
+
showAgentsDashboard(): void;
|
|
334
|
+
showModelSelector(options?: {
|
|
335
|
+
temporaryOnly?: boolean;
|
|
336
|
+
}): void;
|
|
337
|
+
showPluginSelector(mode?: "install" | "uninstall"): void;
|
|
338
|
+
showUserMessageSelector(): void;
|
|
339
|
+
showCopySelector(): void;
|
|
340
|
+
showTreeSelector(): void;
|
|
341
|
+
showSessionSelector(): void;
|
|
342
|
+
handleResumeSession(sessionPath: string): Promise<void>;
|
|
343
|
+
handleSessionDeleteCommand(): Promise<void>;
|
|
344
|
+
showOAuthSelector(mode: "login" | "logout", providerId?: string): Promise<void>;
|
|
345
|
+
showResetUsageSelector(): Promise<void>;
|
|
346
|
+
showProviderSetup(): Promise<void>;
|
|
347
|
+
showHookConfirm(title: string, message: string): Promise<boolean>;
|
|
348
|
+
handleCtrlC(): void;
|
|
349
|
+
handleCtrlD(): void;
|
|
350
|
+
handleCtrlZ(): void;
|
|
351
|
+
handleDequeue(): void;
|
|
352
|
+
handleImagePaste(): Promise<boolean>;
|
|
353
|
+
handleBtwCommand(question: string): Promise<void>;
|
|
354
|
+
handleTanCommand(work: string): Promise<void>;
|
|
355
|
+
hasActiveBtw(): boolean;
|
|
356
|
+
handleBtwEscape(): boolean;
|
|
357
|
+
canBranchBtw(): boolean;
|
|
358
|
+
handleBtwBranchKey(): Promise<boolean>;
|
|
359
|
+
canCopyBtw(): boolean;
|
|
360
|
+
handleBtwCopyKey(): Promise<boolean>;
|
|
361
|
+
handleBtwBranch(question: string, assistantMessage: AssistantMessage): Promise<void>;
|
|
362
|
+
handleOmfgCommand(complaint: string): Promise<void>;
|
|
363
|
+
hasActiveOmfg(): boolean;
|
|
364
|
+
handleOmfgEscape(): boolean;
|
|
365
|
+
cycleThinkingLevel(): void;
|
|
366
|
+
cycleRoleModel(direction?: "forward" | "backward"): Promise<void>;
|
|
367
|
+
toggleToolOutputExpansion(): void;
|
|
368
|
+
setToolsExpanded(expanded: boolean): void;
|
|
369
|
+
toggleThinkingBlockVisibility(): void;
|
|
370
|
+
toggleTodoExpansion(): void;
|
|
371
|
+
setTodos(todos: TodoItem[] | TodoPhase[]): void;
|
|
372
|
+
reloadTodos(): Promise<void>;
|
|
373
|
+
openExternalEditor(): void;
|
|
374
|
+
registerExtensionShortcuts(): void;
|
|
375
|
+
initHooksAndCustomTools(): Promise<void>;
|
|
376
|
+
emitCustomToolSessionEvent(reason: "start" | "switch" | "branch" | "tree" | "shutdown", previousSessionFile?: string): Promise<void>;
|
|
377
|
+
setHookWidget(key: string, content: ExtensionWidgetContent, options?: ExtensionWidgetOptions): void;
|
|
378
|
+
setHookStatus(key: string, text: string | undefined): void;
|
|
379
|
+
showHookSelector(title: string, options: ExtensionUISelectItem[], dialogOptions?: InteractiveSelectorDialogOptions, extra?: {
|
|
380
|
+
slider?: HookSelectorSlider;
|
|
381
|
+
}): Promise<string | undefined>;
|
|
382
|
+
hideHookSelector(): void;
|
|
383
|
+
showHookInput(title: string, placeholder?: string): Promise<string | undefined>;
|
|
384
|
+
hideHookInput(): void;
|
|
385
|
+
showHookEditor(title: string, prefill?: string, dialogOptions?: ExtensionUIDialogOptions, editorOptions?: {
|
|
386
|
+
promptStyle?: boolean;
|
|
387
|
+
}): Promise<string | undefined>;
|
|
388
|
+
hideHookEditor(): void;
|
|
389
|
+
showHookNotify(message: string, type?: "info" | "warning" | "error"): void;
|
|
390
|
+
showHookCustom<T>(factory: (tui: TUI, theme: Theme, keybindings: KeybindingsManager, done: (result: T) => void) => (Component & {
|
|
391
|
+
dispose?(): void;
|
|
392
|
+
}) | Promise<Component & {
|
|
393
|
+
dispose?(): void;
|
|
394
|
+
}>, options?: {
|
|
395
|
+
overlay?: boolean;
|
|
396
|
+
}): Promise<T>;
|
|
397
|
+
showExtensionError(extensionPath: string, error: string): void;
|
|
398
|
+
showToolError(toolName: string, error: string): void;
|
|
399
|
+
}
|