jeopi-cli 16.2.13 → 16.2.14
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 +11 -3
- package/README.md +1 -1
- package/dist/cli.js +2940 -2913
- package/examples/custom-tools/README.md +1 -1
- package/examples/extensions/README.md +1 -1
- package/examples/extensions/pirate.ts +1 -1
- package/examples/extensions/plan-mode.ts +1 -1
- package/examples/extensions/tools.ts +1 -1
- package/examples/hooks/README.md +1 -1
- package/examples/sdk/01-minimal.ts +1 -1
- package/examples/sdk/04-skills.ts +1 -1
- package/examples/sdk/06-extensions.ts +3 -3
- package/examples/sdk/09-api-keys-and-oauth.ts +2 -2
- package/examples/sdk/12-redis-sessions.ts +1 -1
- package/examples/sdk/13-sql-sessions.ts +1 -1
- package/examples/sdk/README.md +1 -1
- package/package.json +39 -39
- package/scripts/jeopi +1 -1
- package/src/advisor/__tests__/config.test.ts +4 -4
- package/src/advisor/watchdog.ts +8 -8
- package/src/autolearn/managed-skills.ts +3 -3
- package/src/autoresearch/storage.ts +1 -1
- package/src/cli/agents-cli.ts +2 -2
- package/src/cli/args.ts +2 -2
- package/src/cli/auth-broker-cli.ts +1 -1
- package/src/cli/commands/migrate-legacy.ts +24 -0
- package/src/cli/config-cli.ts +20 -5
- package/src/cli/models-cli.ts +1 -1
- package/src/cli/ssh-cli.ts +2 -2
- package/src/cli/worktree-cli.ts +3 -3
- package/src/commands/agents.ts +2 -2
- package/src/commands/config.ts +1 -1
- package/src/commands/launch.ts +1 -1
- package/src/commands/models.ts +1 -1
- package/src/commands/ttsr.ts +2 -2
- package/src/commands/worktree.ts +3 -3
- package/src/config/mcp-schema.json +1 -1
- package/src/config/prompt-templates.ts +2 -2
- package/src/config/settings-schema.ts +15 -3
- package/src/config.ts +10 -10
- package/src/discovery/builtin.ts +9 -9
- package/src/discovery/helpers.ts +11 -11
- package/src/discovery/omp-extension-roots.ts +4 -4
- package/src/discovery/omp-plugins.ts +2 -2
- package/src/eval/py/runtime.ts +1 -1
- package/src/export/custom-share.ts +1 -1
- package/src/extensibility/custom-tools/loader.ts +3 -3
- package/src/extensibility/extensions/loader.ts +2 -2
- package/src/extensibility/hooks/loader.ts +1 -1
- package/src/extensibility/plugins/loader.ts +3 -3
- package/src/extensibility/plugins/types.ts +1 -1
- package/src/internal-urls/docs-index.generated.txt +1 -1
- package/src/lsp/config.ts +4 -4
- package/src/lsp/index.ts +1 -1
- package/src/main.ts +1 -1
- package/src/mcp/config-writer.ts +2 -2
- package/src/memories/index.ts +82 -11
- package/src/memories/okf.ts +129 -0
- package/src/modes/components/__tests__/assistant-agent-label.test.ts +87 -0
- package/src/modes/components/assistant-message.ts +27 -0
- package/src/modes/components/extensions/extension-dashboard.ts +1 -1
- package/src/modes/controllers/omfg-controller.ts +2 -2
- package/src/modes/controllers/ssh-command-controller.ts +2 -2
- package/src/modes/interactive-mode.ts +3 -1
- package/src/prompts/agents/jeo.md +20 -10
- package/src/prompts/system/autolearn-guidance.md +2 -2
- package/src/prompts/system/system-prompt.md +10 -1
- package/src/prompts/tools/learn.md +1 -1
- package/src/prompts/tools/manage-skill.md +1 -1
- package/src/sdk.ts +7 -5
- package/src/secrets/index.ts +2 -2
- package/src/session/agent-session.ts +85 -5
- package/src/session/auth-broker-config.ts +2 -2
- package/src/session/snapcompact-savings-journal.ts +1 -1
- package/src/slash-commands/helpers/mcp.ts +1 -1
- package/src/task/commands.ts +1 -1
- package/src/task/critic-gate.test.ts +181 -0
- package/src/task/critic-gate.ts +148 -0
- package/src/task/discovery.ts +5 -5
- package/src/task/executor.ts +1 -1
- package/src/task/index.ts +35 -2
- package/src/tools/acp-bridge.ts +2 -2
- package/src/tools/browser/launch.ts +1 -1
- package/src/tools/index.ts +6 -1
- package/src/tools/plan-mode-guard.ts +16 -0
- package/src/tools/report-tool-issue.ts +2 -2
- package/src/utils/changelog.ts +2 -2
- package/dist/types/advisor/__tests__/advisor.test.d.ts +0 -1
- package/dist/types/advisor/__tests__/config.test.d.ts +0 -1
- package/dist/types/advisor/__tests__/emission-guard.test.d.ts +0 -1
- package/dist/types/advisor/advise-tool.d.ts +0 -106
- package/dist/types/advisor/config.d.ts +0 -90
- package/dist/types/advisor/emission-guard.d.ts +0 -73
- package/dist/types/advisor/index.d.ts +0 -6
- package/dist/types/advisor/runtime.d.ts +0 -76
- package/dist/types/advisor/transcript-recorder.d.ts +0 -63
- package/dist/types/advisor/watchdog.d.ts +0 -38
- package/dist/types/async/index.d.ts +0 -1
- package/dist/types/async/job-manager.d.ts +0 -121
- package/dist/types/auto-thinking/classifier.d.ts +0 -37
- package/dist/types/autolearn/controller.d.ts +0 -25
- package/dist/types/autolearn/managed-skills.d.ts +0 -45
- package/dist/types/autoresearch/dashboard.d.ts +0 -4
- package/dist/types/autoresearch/git.d.ts +0 -36
- package/dist/types/autoresearch/helpers.d.ts +0 -24
- package/dist/types/autoresearch/index.d.ts +0 -2
- package/dist/types/autoresearch/state.d.ts +0 -17
- package/dist/types/autoresearch/storage.d.ts +0 -142
- package/dist/types/autoresearch/tools/init-experiment.d.ts +0 -27
- package/dist/types/autoresearch/tools/log-experiment.d.ts +0 -21
- package/dist/types/autoresearch/tools/run-experiment.d.ts +0 -7
- package/dist/types/autoresearch/tools/update-notes.d.ts +0 -11
- package/dist/types/autoresearch/types.d.ts +0 -154
- package/dist/types/capability/context-file.d.ts +0 -17
- package/dist/types/capability/extension-module.d.ts +0 -15
- package/dist/types/capability/extension.d.ts +0 -28
- package/dist/types/capability/fs.d.ts +0 -20
- package/dist/types/capability/hook.d.ts +0 -19
- package/dist/types/capability/index.d.ts +0 -80
- package/dist/types/capability/instruction.d.ts +0 -17
- package/dist/types/capability/mcp.d.ts +0 -47
- package/dist/types/capability/prompt.d.ts +0 -15
- package/dist/types/capability/rule-buckets.d.ts +0 -30
- package/dist/types/capability/rule.d.ts +0 -73
- package/dist/types/capability/settings.d.ts +0 -15
- package/dist/types/capability/skill.d.ts +0 -43
- package/dist/types/capability/slash-command.d.ts +0 -17
- package/dist/types/capability/ssh.d.ts +0 -23
- package/dist/types/capability/system-prompt.d.ts +0 -15
- package/dist/types/capability/tool.d.ts +0 -19
- package/dist/types/capability/types.d.ts +0 -154
- package/dist/types/cli/agents-cli.d.ts +0 -12
- package/dist/types/cli/args.d.ts +0 -80
- package/dist/types/cli/auth-broker-cli.d.ts +0 -25
- package/dist/types/cli/auth-gateway-cli.d.ts +0 -26
- package/dist/types/cli/bench-cli.d.ts +0 -85
- package/dist/types/cli/classify-install-target.d.ts +0 -12
- package/dist/types/cli/claude-trace-cli.d.ts +0 -54
- package/dist/types/cli/commands/init-xdg.d.ts +0 -1
- package/dist/types/cli/completion-gen.d.ts +0 -80
- package/dist/types/cli/config-cli.d.ts +0 -22
- package/dist/types/cli/dry-balance-cli.d.ts +0 -113
- package/dist/types/cli/extension-flags.d.ts +0 -36
- package/dist/types/cli/file-processor.d.ts +0 -11
- package/dist/types/cli/flag-tables.d.ts +0 -144
- package/dist/types/cli/gallery-cli.d.ts +0 -49
- package/dist/types/cli/gallery-fixtures/agentic.d.ts +0 -2
- package/dist/types/cli/gallery-fixtures/codeintel.d.ts +0 -3
- package/dist/types/cli/gallery-fixtures/edit.d.ts +0 -3
- package/dist/types/cli/gallery-fixtures/fs.d.ts +0 -2
- package/dist/types/cli/gallery-fixtures/index.d.ts +0 -4
- package/dist/types/cli/gallery-fixtures/interaction.d.ts +0 -3
- package/dist/types/cli/gallery-fixtures/memory.d.ts +0 -2
- package/dist/types/cli/gallery-fixtures/misc.d.ts +0 -3
- package/dist/types/cli/gallery-fixtures/search.d.ts +0 -3
- package/dist/types/cli/gallery-fixtures/shell.d.ts +0 -3
- package/dist/types/cli/gallery-fixtures/types.d.ts +0 -55
- package/dist/types/cli/gallery-fixtures/web.d.ts +0 -2
- package/dist/types/cli/gallery-screenshot.d.ts +0 -35
- package/dist/types/cli/gc-cli.d.ts +0 -58
- package/dist/types/cli/grep-cli.d.ts +0 -17
- package/dist/types/cli/grievances-cli.d.ts +0 -37
- package/dist/types/cli/initial-message.d.ts +0 -17
- package/dist/types/cli/models-cli.d.ts +0 -62
- package/dist/types/cli/plugin-cli.d.ts +0 -32
- package/dist/types/cli/profile-alias.d.ts +0 -29
- package/dist/types/cli/profile-bootstrap.d.ts +0 -55
- package/dist/types/cli/read-cli.d.ts +0 -11
- package/dist/types/cli/session-picker.d.ts +0 -11
- package/dist/types/cli/setup-cli.d.ts +0 -24
- package/dist/types/cli/setup-model-picker.d.ts +0 -14
- package/dist/types/cli/shell-cli.d.ts +0 -8
- package/dist/types/cli/ssh-cli.d.ts +0 -21
- package/dist/types/cli/startup-cwd.d.ts +0 -2
- package/dist/types/cli/stats-cli.d.ts +0 -17
- package/dist/types/cli/tiny-models-cli.d.ts +0 -11
- package/dist/types/cli/ttsr-cli.d.ts +0 -39
- package/dist/types/cli/update-cli.d.ts +0 -105
- package/dist/types/cli/usage-cli.d.ts +0 -95
- package/dist/types/cli/web-search-cli.d.ts +0 -20
- package/dist/types/cli/worktree-cli.d.ts +0 -26
- package/dist/types/cli-commands.d.ts +0 -33
- package/dist/types/cli.d.ts +0 -3
- package/dist/types/collab/crypto.d.ts +0 -7
- package/dist/types/collab/display-name.d.ts +0 -3
- package/dist/types/collab/guest.d.ts +0 -52
- package/dist/types/collab/host.d.ts +0 -43
- package/dist/types/collab/protocol.d.ts +0 -143
- package/dist/types/collab/relay-client.d.ts +0 -22
- package/dist/types/collab/replication-shrink.d.ts +0 -39
- package/dist/types/commands/acp.d.ts +0 -12
- package/dist/types/commands/agents.d.ts +0 -31
- package/dist/types/commands/auth-broker.d.ts +0 -51
- package/dist/types/commands/auth-gateway.d.ts +0 -32
- package/dist/types/commands/bench.d.ts +0 -37
- package/dist/types/commands/commit.d.ts +0 -27
- package/dist/types/commands/complete.d.ts +0 -6
- package/dist/types/commands/completions.d.ts +0 -13
- package/dist/types/commands/config.d.ts +0 -30
- package/dist/types/commands/dry-balance.d.ts +0 -31
- package/dist/types/commands/gallery.d.ts +0 -47
- package/dist/types/commands/gc.d.ts +0 -37
- package/dist/types/commands/grep.d.ts +0 -42
- package/dist/types/commands/grievances.d.ts +0 -40
- package/dist/types/commands/install.d.ts +0 -51
- package/dist/types/commands/join.d.ts +0 -12
- package/dist/types/commands/launch.d.ts +0 -148
- package/dist/types/commands/models.d.ts +0 -33
- package/dist/types/commands/plugin.d.ts +0 -52
- package/dist/types/commands/read.d.ts +0 -15
- package/dist/types/commands/say.d.ts +0 -24
- package/dist/types/commands/setup.d.ts +0 -31
- package/dist/types/commands/shell.d.ts +0 -21
- package/dist/types/commands/ssh.d.ts +0 -48
- package/dist/types/commands/stats.d.ts +0 -25
- package/dist/types/commands/tiny-models.d.ts +0 -22
- package/dist/types/commands/token.d.ts +0 -34
- package/dist/types/commands/ttsr.d.ts +0 -57
- package/dist/types/commands/update.d.ts +0 -20
- package/dist/types/commands/usage.d.ts +0 -34
- package/dist/types/commands/web-search.d.ts +0 -33
- package/dist/types/commands/worktree.d.ts +0 -31
- package/dist/types/commit/agentic/agent.d.ts +0 -31
- package/dist/types/commit/agentic/fallback.d.ts +0 -5
- package/dist/types/commit/agentic/index.d.ts +0 -2
- package/dist/types/commit/agentic/state.d.ts +0 -58
- package/dist/types/commit/agentic/tools/analyze-file.d.ts +0 -18
- package/dist/types/commit/agentic/tools/git-file-diff.d.ts +0 -9
- package/dist/types/commit/agentic/tools/git-hunk.d.ts +0 -8
- package/dist/types/commit/agentic/tools/git-overview.d.ts +0 -8
- package/dist/types/commit/agentic/tools/index.d.ts +0 -16
- package/dist/types/commit/agentic/tools/propose-changelog.d.ts +0 -27
- package/dist/types/commit/agentic/tools/propose-commit.d.ts +0 -15
- package/dist/types/commit/agentic/tools/recent-commits.d.ts +0 -6
- package/dist/types/commit/agentic/tools/schemas.d.ts +0 -6
- package/dist/types/commit/agentic/tools/split-commit.d.ts +0 -32
- package/dist/types/commit/agentic/topo-sort.d.ts +0 -4
- package/dist/types/commit/agentic/trivial.d.ts +0 -7
- package/dist/types/commit/agentic/validation.d.ts +0 -20
- package/dist/types/commit/analysis/conventional.d.ts +0 -22
- package/dist/types/commit/analysis/index.d.ts +0 -4
- package/dist/types/commit/analysis/scope.d.ts +0 -6
- package/dist/types/commit/analysis/summary.d.ts +0 -19
- package/dist/types/commit/analysis/validation.d.ts +0 -8
- package/dist/types/commit/changelog/detect.d.ts +0 -2
- package/dist/types/commit/changelog/generate.d.ts +0 -29
- package/dist/types/commit/changelog/index.d.ts +0 -30
- package/dist/types/commit/changelog/parse.d.ts +0 -2
- package/dist/types/commit/cli.d.ts +0 -3
- package/dist/types/commit/git/diff.d.ts +0 -5
- package/dist/types/commit/index.d.ts +0 -4
- package/dist/types/commit/map-reduce/index.d.ts +0 -28
- package/dist/types/commit/map-reduce/map-phase.d.ts +0 -17
- package/dist/types/commit/map-reduce/reduce-phase.d.ts +0 -13
- package/dist/types/commit/map-reduce/utils.d.ts +0 -2
- package/dist/types/commit/message.d.ts +0 -2
- package/dist/types/commit/model-selection.d.ts +0 -26
- package/dist/types/commit/pipeline.d.ts +0 -5
- package/dist/types/commit/shared-llm.d.ts +0 -27
- package/dist/types/commit/types.d.ts +0 -78
- package/dist/types/commit/utils/exclusions.d.ts +0 -4
- package/dist/types/commit/utils.d.ts +0 -20
- package/dist/types/config/api-key-resolver.d.ts +0 -43
- package/dist/types/config/append-only-context-mode.d.ts +0 -9
- package/dist/types/config/config-file.d.ts +0 -62
- package/dist/types/config/file-lock.d.ts +0 -29
- package/dist/types/config/inline-tool-descriptors-mode.d.ts +0 -12
- package/dist/types/config/keybindings.d.ts +0 -362
- package/dist/types/config/model-discovery.d.ts +0 -68
- package/dist/types/config/model-registry.d.ts +0 -251
- package/dist/types/config/model-resolver.d.ts +0 -300
- package/dist/types/config/model-roles.d.ts +0 -29
- package/dist/types/config/models-config-schema.d.ts +0 -697
- package/dist/types/config/models-config.d.ts +0 -436
- package/dist/types/config/prompt-templates.d.ts +0 -32
- package/dist/types/config/provider-globals.d.ts +0 -7
- package/dist/types/config/resolve-config-value.d.ts +0 -17
- package/dist/types/config/service-tier.d.ts +0 -49
- package/dist/types/config/settings-schema.d.ts +0 -5648
- package/dist/types/config/settings.d.ts +0 -181
- package/dist/types/config.d.ts +0 -92
- package/dist/types/cursor.d.ts +0 -22
- package/dist/types/dap/client.d.ts +0 -38
- package/dist/types/dap/config.d.ts +0 -19
- package/dist/types/dap/index.d.ts +0 -4
- package/dist/types/dap/session.d.ts +0 -108
- package/dist/types/dap/types.d.ts +0 -534
- package/dist/types/debug/index.d.ts +0 -15
- package/dist/types/debug/log-formatting.d.ts +0 -4
- package/dist/types/debug/log-viewer.d.ts +0 -69
- package/dist/types/debug/profiler.d.ts +0 -24
- package/dist/types/debug/protocol-probe.d.ts +0 -38
- package/dist/types/debug/raw-sse-buffer.d.ts +0 -44
- package/dist/types/debug/raw-sse.d.ts +0 -19
- package/dist/types/debug/remote-debugger.d.ts +0 -45
- package/dist/types/debug/report-bundle.d.ts +0 -58
- package/dist/types/debug/system-info.d.ts +0 -26
- package/dist/types/debug/terminal-info.d.ts +0 -33
- package/dist/types/discovery/agents-md.d.ts +0 -1
- package/dist/types/discovery/agents.d.ts +0 -12
- package/dist/types/discovery/at-imports.d.ts +0 -15
- package/dist/types/discovery/builtin-defaults.d.ts +0 -1
- package/dist/types/discovery/builtin-rules/index.d.ts +0 -7
- package/dist/types/discovery/builtin.d.ts +0 -1
- package/dist/types/discovery/claude-plugins.d.ts +0 -1
- package/dist/types/discovery/claude.d.ts +0 -1
- package/dist/types/discovery/cline.d.ts +0 -1
- package/dist/types/discovery/codex.d.ts +0 -1
- package/dist/types/discovery/cursor.d.ts +0 -16
- package/dist/types/discovery/gemini.d.ts +0 -1
- package/dist/types/discovery/github.d.ts +0 -1
- package/dist/types/discovery/helpers.d.ts +0 -276
- package/dist/types/discovery/index.d.ts +0 -53
- package/dist/types/discovery/mcp-json.d.ts +0 -1
- package/dist/types/discovery/omp-extension-roots.d.ts +0 -43
- package/dist/types/discovery/omp-plugins.d.ts +0 -1
- package/dist/types/discovery/opencode.d.ts +0 -1
- package/dist/types/discovery/plugin-dir-roots.d.ts +0 -15
- package/dist/types/discovery/ssh.d.ts +0 -1
- package/dist/types/discovery/substitute-plugin-root.d.ts +0 -1
- package/dist/types/discovery/vscode.d.ts +0 -1
- package/dist/types/discovery/windsurf.d.ts +0 -13
- package/dist/types/edit/apply-patch/index.d.ts +0 -35
- package/dist/types/edit/apply-patch/parser.d.ts +0 -34
- package/dist/types/edit/diff.d.ts +0 -60
- package/dist/types/edit/file-snapshot-store.d.ts +0 -64
- package/dist/types/edit/hashline/block-resolver.d.ts +0 -9
- package/dist/types/edit/hashline/diff.d.ts +0 -29
- package/dist/types/edit/hashline/execute.d.ts +0 -28
- package/dist/types/edit/hashline/filesystem.d.ts +0 -43
- package/dist/types/edit/hashline/index.d.ts +0 -5
- package/dist/types/edit/hashline/noop-loop-guard.d.ts +0 -72
- package/dist/types/edit/hashline/params.d.ts +0 -7
- package/dist/types/edit/index.d.ts +0 -83
- package/dist/types/edit/modes/apply-patch.d.ts +0 -23
- package/dist/types/edit/modes/patch.d.ts +0 -101
- package/dist/types/edit/modes/replace.d.ts +0 -141
- package/dist/types/edit/normalize.d.ts +0 -31
- package/dist/types/edit/notebook.d.ts +0 -23
- package/dist/types/edit/read-file.d.ts +0 -2
- package/dist/types/edit/renderer.d.ts +0 -118
- package/dist/types/edit/snapshot-details.d.ts +0 -33
- package/dist/types/edit/streaming.d.ts +0 -105
- package/dist/types/eval/__tests__/agent-bridge.test.d.ts +0 -1
- package/dist/types/eval/__tests__/bridge-timeout.test.d.ts +0 -1
- package/dist/types/eval/__tests__/budget-bridge.test.d.ts +0 -1
- package/dist/types/eval/__tests__/completion-bridge.test.d.ts +0 -1
- package/dist/types/eval/__tests__/helpers-local-roots.test.d.ts +0 -1
- package/dist/types/eval/__tests__/idle-timeout.test.d.ts +0 -1
- package/dist/types/eval/__tests__/js-context-manager.test.d.ts +0 -1
- package/dist/types/eval/__tests__/julia-prelude.test.d.ts +0 -1
- package/dist/types/eval/__tests__/kernel-spawn.test.d.ts +0 -1
- package/dist/types/eval/__tests__/prelude-agent.test.d.ts +0 -1
- package/dist/types/eval/agent-bridge.d.ts +0 -48
- package/dist/types/eval/backend-helpers.d.ts +0 -23
- package/dist/types/eval/backend.d.ts +0 -60
- package/dist/types/eval/bridge-timeout.d.ts +0 -27
- package/dist/types/eval/budget-bridge.d.ts +0 -29
- package/dist/types/eval/completion-bridge.d.ts +0 -38
- package/dist/types/eval/concurrency-bridge.d.ts +0 -26
- package/dist/types/eval/executor-base.d.ts +0 -118
- package/dist/types/eval/idle-timeout.d.ts +0 -26
- package/dist/types/eval/index.d.ts +0 -6
- package/dist/types/eval/jl/executor.d.ts +0 -44
- package/dist/types/eval/jl/index.d.ts +0 -11
- package/dist/types/eval/jl/kernel.d.ts +0 -28
- package/dist/types/eval/jl/prelude.d.ts +0 -1
- package/dist/types/eval/jl/runtime.d.ts +0 -22
- package/dist/types/eval/js/context-manager.d.ts +0 -40
- package/dist/types/eval/js/executor.d.ts +0 -38
- package/dist/types/eval/js/index.d.ts +0 -11
- package/dist/types/eval/js/shared/helpers.d.ts +0 -32
- package/dist/types/eval/js/shared/indirect-eval.d.ts +0 -14
- package/dist/types/eval/js/shared/local-module-loader.d.ts +0 -16
- package/dist/types/eval/js/shared/prelude.d.ts +0 -1
- package/dist/types/eval/js/shared/rewrite-imports.d.ts +0 -25
- package/dist/types/eval/js/shared/runtime.d.ts +0 -59
- package/dist/types/eval/js/shared/types.d.ts +0 -24
- package/dist/types/eval/js/tool-bridge.d.ts +0 -20
- package/dist/types/eval/js/worker-core.d.ts +0 -6
- package/dist/types/eval/js/worker-entry.d.ts +0 -1
- package/dist/types/eval/js/worker-protocol.d.ts +0 -83
- package/dist/types/eval/kernel-base.d.ts +0 -105
- package/dist/types/eval/py/__tests__/prelude.test.d.ts +0 -1
- package/dist/types/eval/py/__tests__/runner-shell-output.test.d.ts +0 -1
- package/dist/types/eval/py/display.d.ts +0 -25
- package/dist/types/eval/py/executor.d.ts +0 -107
- package/dist/types/eval/py/index.d.ts +0 -11
- package/dist/types/eval/py/kernel.d.ts +0 -17
- package/dist/types/eval/py/prelude.d.ts +0 -1
- package/dist/types/eval/py/runtime.d.ts +0 -40
- package/dist/types/eval/py/spawn-options.d.ts +0 -58
- package/dist/types/eval/py/tool-bridge.d.ts +0 -16
- package/dist/types/eval/rb/executor.d.ts +0 -77
- package/dist/types/eval/rb/index.d.ts +0 -11
- package/dist/types/eval/rb/kernel.d.ts +0 -31
- package/dist/types/eval/rb/prelude.d.ts +0 -1
- package/dist/types/eval/rb/runtime.d.ts +0 -23
- package/dist/types/eval/runtime-env.d.ts +0 -24
- package/dist/types/eval/session-id.d.ts +0 -3
- package/dist/types/eval/types.d.ts +0 -52
- package/dist/types/exa/index.d.ts +0 -2
- package/dist/types/exa/mcp-client.d.ts +0 -53
- package/dist/types/exa/types.d.ts +0 -72
- package/dist/types/exec/bash-cwd-sync.d.ts +0 -16
- package/dist/types/exec/bash-executor.d.ts +0 -45
- package/dist/types/exec/exec.d.ts +0 -25
- package/dist/types/exec/non-interactive-env.d.ts +0 -3
- package/dist/types/export/custom-share.d.ts +0 -19
- package/dist/types/export/html/index.d.ts +0 -78
- package/dist/types/export/html/web-palette.d.ts +0 -117
- package/dist/types/export/share.d.ts +0 -55
- package/dist/types/export/ttsr.d.ts +0 -67
- package/dist/types/extensibility/custom-commands/bundled/ci-green/index.d.ts +0 -9
- package/dist/types/extensibility/custom-commands/bundled/review/index.d.ts +0 -10
- package/dist/types/extensibility/custom-commands/index.d.ts +0 -2
- package/dist/types/extensibility/custom-commands/loader.d.ts +0 -29
- package/dist/types/extensibility/custom-commands/types.d.ts +0 -112
- package/dist/types/extensibility/custom-tools/index.d.ts +0 -6
- package/dist/types/extensibility/custom-tools/loader.d.ts +0 -89
- package/dist/types/extensibility/custom-tools/types.d.ts +0 -242
- package/dist/types/extensibility/custom-tools/wrapper.d.ts +0 -23
- package/dist/types/extensibility/extensions/compact-handler.d.ts +0 -26
- package/dist/types/extensibility/extensions/get-commands-handler.d.ts +0 -29
- package/dist/types/extensibility/extensions/index.d.ts +0 -8
- package/dist/types/extensibility/extensions/loader.d.ts +0 -59
- package/dist/types/extensibility/extensions/model-api.d.ts +0 -17
- package/dist/types/extensibility/extensions/runner.d.ts +0 -161
- package/dist/types/extensibility/extensions/types.d.ts +0 -962
- package/dist/types/extensibility/extensions/wrapper.d.ts +0 -54
- package/dist/types/extensibility/hooks/index.d.ts +0 -6
- package/dist/types/extensibility/hooks/loader.d.ts +0 -65
- package/dist/types/extensibility/hooks/runner.d.ts +0 -126
- package/dist/types/extensibility/hooks/tool-wrapper.d.ts +0 -25
- package/dist/types/extensibility/hooks/types.d.ts +0 -442
- package/dist/types/extensibility/legacy-pi-ai-shim.d.ts +0 -35
- package/dist/types/extensibility/legacy-pi-coding-agent-shim.d.ts +0 -115
- package/dist/types/extensibility/plugins/doctor.d.ts +0 -3
- package/dist/types/extensibility/plugins/git-url.d.ts +0 -44
- package/dist/types/extensibility/plugins/index.d.ts +0 -7
- package/dist/types/extensibility/plugins/installer.d.ts +0 -5
- package/dist/types/extensibility/plugins/legacy-pi-bundled-keys.d.ts +0 -10
- package/dist/types/extensibility/plugins/legacy-pi-bundled-registry.d.ts +0 -10
- package/dist/types/extensibility/plugins/legacy-pi-compat.d.ts +0 -79
- package/dist/types/extensibility/plugins/loader.d.ts +0 -59
- package/dist/types/extensibility/plugins/manager.d.ts +0 -76
- package/dist/types/extensibility/plugins/marketplace/cache.d.ts +0 -41
- package/dist/types/extensibility/plugins/marketplace/fetcher.d.ts +0 -48
- package/dist/types/extensibility/plugins/marketplace/index.d.ts +0 -6
- package/dist/types/extensibility/plugins/marketplace/manager.d.ts +0 -57
- package/dist/types/extensibility/plugins/marketplace/registry.d.ts +0 -34
- package/dist/types/extensibility/plugins/marketplace/source-resolver.d.ts +0 -28
- package/dist/types/extensibility/plugins/marketplace/types.d.ts +0 -131
- package/dist/types/extensibility/plugins/marketplace-auto-update.d.ts +0 -8
- package/dist/types/extensibility/plugins/parser.d.ts +0 -52
- package/dist/types/extensibility/plugins/runtime-config.d.ts +0 -3
- package/dist/types/extensibility/plugins/types.d.ts +0 -149
- package/dist/types/extensibility/session-handler-types.d.ts +0 -23
- package/dist/types/extensibility/shared-events.d.ts +0 -301
- package/dist/types/extensibility/skills.d.ts +0 -97
- package/dist/types/extensibility/slash-commands.d.ts +0 -38
- package/dist/types/extensibility/tool-event-input.d.ts +0 -9
- package/dist/types/extensibility/tool-proxy.d.ts +0 -4
- package/dist/types/extensibility/typebox.d.ts +0 -177
- package/dist/types/extensibility/utils.d.ts +0 -24
- package/dist/types/goals/guided-setup.d.ts +0 -18
- package/dist/types/goals/index.d.ts +0 -3
- package/dist/types/goals/runtime.d.ts +0 -69
- package/dist/types/goals/state.d.ts +0 -35
- package/dist/types/goals/tools/goal-tool.d.ts +0 -53
- package/dist/types/hindsight/backend.d.ts +0 -13
- package/dist/types/hindsight/bank.d.ts +0 -63
- package/dist/types/hindsight/client.d.ts +0 -224
- package/dist/types/hindsight/config.d.ts +0 -51
- package/dist/types/hindsight/content.d.ts +0 -69
- package/dist/types/hindsight/index.d.ts +0 -8
- package/dist/types/hindsight/mental-models.d.ts +0 -134
- package/dist/types/hindsight/state.d.ts +0 -105
- package/dist/types/hindsight/transcript.d.ts +0 -28
- package/dist/types/index.d.ts +0 -43
- package/dist/types/internal-urls/__tests__/ssh-protocol.test.d.ts +0 -1
- package/dist/types/internal-urls/agent-protocol.d.ts +0 -13
- package/dist/types/internal-urls/artifact-protocol.d.ts +0 -7
- package/dist/types/internal-urls/docs-index.d.ts +0 -19
- package/dist/types/internal-urls/filesystem-resource.d.ts +0 -9
- package/dist/types/internal-urls/history-protocol.d.ts +0 -14
- package/dist/types/internal-urls/index.d.ts +0 -25
- package/dist/types/internal-urls/issue-pr-protocol.d.ts +0 -17
- package/dist/types/internal-urls/json-query.d.ts +0 -30
- package/dist/types/internal-urls/local-protocol.d.ts +0 -79
- package/dist/types/internal-urls/mcp-protocol.d.ts +0 -12
- package/dist/types/internal-urls/memory-protocol.d.ts +0 -24
- package/dist/types/internal-urls/omp-protocol.d.ts +0 -13
- package/dist/types/internal-urls/parse.d.ts +0 -19
- package/dist/types/internal-urls/registry-helpers.d.ts +0 -12
- package/dist/types/internal-urls/router.d.ts +0 -21
- package/dist/types/internal-urls/rule-protocol.d.ts +0 -7
- package/dist/types/internal-urls/skill-protocol.d.ts +0 -14
- package/dist/types/internal-urls/ssh-protocol.d.ts +0 -10
- package/dist/types/internal-urls/types.d.ts +0 -165
- package/dist/types/internal-urls/vault-protocol.d.ts +0 -93
- package/dist/types/irc/bus.d.ts +0 -85
- package/dist/types/jsonrpc/message-framing.d.ts +0 -35
- package/dist/types/lib/xai-http.d.ts +0 -40
- package/dist/types/lsp/client.d.ts +0 -84
- package/dist/types/lsp/clients/biome-client.d.ts +0 -16
- package/dist/types/lsp/clients/index.d.ts +0 -19
- package/dist/types/lsp/clients/lsp-linter-client.d.ts +0 -16
- package/dist/types/lsp/clients/swiftlint-client.d.ts +0 -20
- package/dist/types/lsp/config.d.ts +0 -65
- package/dist/types/lsp/diagnostics-ledger.d.ts +0 -10
- package/dist/types/lsp/edits.d.ts +0 -32
- package/dist/types/lsp/format-options.d.ts +0 -32
- package/dist/types/lsp/index.d.ts +0 -120
- package/dist/types/lsp/lspmux.d.ts +0 -58
- package/dist/types/lsp/render.d.ts +0 -32
- package/dist/types/lsp/startup-events.d.ts +0 -11
- package/dist/types/lsp/types.d.ts +0 -300
- package/dist/types/lsp/utils.d.ts +0 -116
- package/dist/types/main.d.ts +0 -70
- package/dist/types/markit/converters/docx.d.ts +0 -6
- package/dist/types/markit/converters/epub.d.ts +0 -15
- package/dist/types/markit/converters/pdf/columns.d.ts +0 -35
- package/dist/types/markit/converters/pdf/extract.d.ts +0 -10
- package/dist/types/markit/converters/pdf/grid.d.ts +0 -25
- package/dist/types/markit/converters/pdf/headers.d.ts +0 -24
- package/dist/types/markit/converters/pdf/index.d.ts +0 -6
- package/dist/types/markit/converters/pdf/render.d.ts +0 -24
- package/dist/types/markit/converters/pdf/types.d.ts +0 -75
- package/dist/types/markit/converters/pptx.d.ts +0 -57
- package/dist/types/markit/converters/xlsx.d.ts +0 -25
- package/dist/types/markit/index.d.ts +0 -2
- package/dist/types/markit/registry.d.ts +0 -16
- package/dist/types/markit/types.d.ts +0 -30
- package/dist/types/mcp/client.d.ts +0 -83
- package/dist/types/mcp/config-writer.d.ts +0 -101
- package/dist/types/mcp/config.d.ts +0 -75
- package/dist/types/mcp/index.d.ts +0 -18
- package/dist/types/mcp/json-rpc.d.ts +0 -32
- package/dist/types/mcp/loader.d.ts +0 -44
- package/dist/types/mcp/manager.d.ts +0 -215
- package/dist/types/mcp/oauth-credentials.d.ts +0 -17
- package/dist/types/mcp/oauth-discovery.d.ts +0 -35
- package/dist/types/mcp/oauth-flow.d.ts +0 -145
- package/dist/types/mcp/render.d.ts +0 -25
- package/dist/types/mcp/smithery-auth.d.ts +0 -16
- package/dist/types/mcp/smithery-connect.d.ts +0 -38
- package/dist/types/mcp/smithery-registry.d.ts +0 -51
- package/dist/types/mcp/startup-events.d.ts +0 -28
- package/dist/types/mcp/timeout.d.ts +0 -9
- package/dist/types/mcp/tool-bridge.d.ts +0 -95
- package/dist/types/mcp/tool-cache.d.ts +0 -8
- package/dist/types/mcp/transports/http.d.ts +0 -45
- package/dist/types/mcp/transports/index.d.ts +0 -6
- package/dist/types/mcp/transports/sse.d.ts +0 -20
- package/dist/types/mcp/transports/stdio.d.ts +0 -108
- package/dist/types/mcp/transports/stdio.test.d.ts +0 -1
- package/dist/types/mcp/types.d.ts +0 -340
- package/dist/types/memories/index.d.ts +0 -54
- package/dist/types/memories/storage.d.ts +0 -110
- package/dist/types/memory-backend/index.d.ts +0 -7
- package/dist/types/memory-backend/local-backend.d.ts +0 -10
- package/dist/types/memory-backend/off-backend.d.ts +0 -7
- package/dist/types/memory-backend/resolve.d.ts +0 -16
- package/dist/types/memory-backend/runtime.d.ts +0 -4
- package/dist/types/memory-backend/types.d.ts +0 -132
- package/dist/types/mnemopi/backend.d.ts +0 -4
- package/dist/types/mnemopi/config.d.ts +0 -60
- package/dist/types/mnemopi/embed-client.d.ts +0 -53
- package/dist/types/mnemopi/embed-protocol.d.ts +0 -52
- package/dist/types/mnemopi/embed-worker.d.ts +0 -12
- package/dist/types/mnemopi/index.d.ts +0 -3
- package/dist/types/mnemopi/state.d.ts +0 -130
- package/dist/types/modes/acp/acp-agent.d.ts +0 -60
- package/dist/types/modes/acp/acp-client-bridge.d.ts +0 -9
- package/dist/types/modes/acp/acp-event-mapper.d.ts +0 -33
- package/dist/types/modes/acp/acp-mode.d.ts +0 -5
- package/dist/types/modes/acp/index.d.ts +0 -2
- package/dist/types/modes/acp/terminal-auth.d.ts +0 -6
- package/dist/types/modes/components/__tests__/move-overlay.test.d.ts +0 -1
- package/dist/types/modes/components/__tests__/skill-message.test.d.ts +0 -1
- package/dist/types/modes/components/advisor-config.d.ts +0 -59
- package/dist/types/modes/components/advisor-message.d.ts +0 -9
- package/dist/types/modes/components/agent-dashboard.d.ts +0 -22
- package/dist/types/modes/components/agent-hub.d.ts +0 -77
- package/dist/types/modes/components/agent-transcript-viewer.d.ts +0 -40
- package/dist/types/modes/components/assistant-message.d.ts +0 -53
- package/dist/types/modes/components/background-tan-message.d.ts +0 -9
- package/dist/types/modes/components/bash-execution.d.ts +0 -29
- package/dist/types/modes/components/bordered-loader.d.ts +0 -11
- package/dist/types/modes/components/btw-panel.d.ts +0 -19
- package/dist/types/modes/components/cache-invalidation-marker.d.ts +0 -52
- package/dist/types/modes/components/chat-block.d.ts +0 -64
- package/dist/types/modes/components/chat-transcript-builder.d.ts +0 -45
- package/dist/types/modes/components/collab-prompt-message.d.ts +0 -10
- package/dist/types/modes/components/compaction-summary-message.d.ts +0 -46
- package/dist/types/modes/components/copy-selector.d.ts +0 -22
- package/dist/types/modes/components/countdown-timer.d.ts +0 -14
- package/dist/types/modes/components/custom-editor.d.ts +0 -163
- package/dist/types/modes/components/custom-editor.test.d.ts +0 -1
- package/dist/types/modes/components/custom-message.d.ts +0 -15
- package/dist/types/modes/components/diff.d.ts +0 -11
- package/dist/types/modes/components/dynamic-border.d.ts +0 -14
- package/dist/types/modes/components/error-banner.d.ts +0 -11
- package/dist/types/modes/components/eval-execution.d.ts +0 -23
- package/dist/types/modes/components/execution-shared.d.ts +0 -46
- package/dist/types/modes/components/extensions/extension-dashboard.d.ts +0 -43
- package/dist/types/modes/components/extensions/extension-list.d.ts +0 -52
- package/dist/types/modes/components/extensions/index.d.ts +0 -8
- package/dist/types/modes/components/extensions/inspector-panel.d.ts +0 -8
- package/dist/types/modes/components/extensions/state-manager.d.ts +0 -50
- package/dist/types/modes/components/extensions/types.d.ts +0 -147
- package/dist/types/modes/components/footer.d.ts +0 -30
- package/dist/types/modes/components/history-search.d.ts +0 -7
- package/dist/types/modes/components/hook-editor.d.ts +0 -24
- package/dist/types/modes/components/hook-input.d.ts +0 -19
- package/dist/types/modes/components/hook-message.d.ts +0 -15
- package/dist/types/modes/components/hook-selector.d.ts +0 -68
- package/dist/types/modes/components/index.d.ts +0 -38
- package/dist/types/modes/components/keybinding-hints.d.ts +0 -40
- package/dist/types/modes/components/late-diagnostics-message.d.ts +0 -20
- package/dist/types/modes/components/login-dialog.d.ts +0 -32
- package/dist/types/modes/components/logout-account-selector.d.ts +0 -8
- package/dist/types/modes/components/mcp-add-wizard.d.ts +0 -38
- package/dist/types/modes/components/message-frame.d.ts +0 -44
- package/dist/types/modes/components/model-selector.d.ts +0 -36
- package/dist/types/modes/components/move-overlay.d.ts +0 -23
- package/dist/types/modes/components/oauth-selector.d.ts +0 -23
- package/dist/types/modes/components/omfg-panel.d.ts +0 -19
- package/dist/types/modes/components/overlay-box.d.ts +0 -17
- package/dist/types/modes/components/plan-review-overlay.d.ts +0 -61
- package/dist/types/modes/components/plan-toc.d.ts +0 -41
- package/dist/types/modes/components/plugin-selector.d.ts +0 -27
- package/dist/types/modes/components/plugin-settings.d.ts +0 -103
- package/dist/types/modes/components/queue-mode-selector.d.ts +0 -10
- package/dist/types/modes/components/read-tool-group.d.ts +0 -38
- package/dist/types/modes/components/reset-usage-selector.d.ts +0 -12
- package/dist/types/modes/components/segment-track.d.ts +0 -27
- package/dist/types/modes/components/select-list-mouse-routing.d.ts +0 -2
- package/dist/types/modes/components/selector-helpers.d.ts +0 -53
- package/dist/types/modes/components/session-selector.d.ts +0 -94
- package/dist/types/modes/components/settings-defs.d.ts +0 -60
- package/dist/types/modes/components/settings-selector.d.ts +0 -70
- package/dist/types/modes/components/show-images-selector.d.ts +0 -10
- package/dist/types/modes/components/skill-message.d.ts +0 -9
- package/dist/types/modes/components/snapcompact-shape-preview.d.ts +0 -31
- package/dist/types/modes/components/status-line/component.d.ts +0 -94
- package/dist/types/modes/components/status-line/component.test.d.ts +0 -1
- package/dist/types/modes/components/status-line/context-thresholds.d.ts +0 -10
- package/dist/types/modes/components/status-line/git-utils.d.ts +0 -22
- package/dist/types/modes/components/status-line/index.d.ts +0 -5
- package/dist/types/modes/components/status-line/presets.d.ts +0 -3
- package/dist/types/modes/components/status-line/segments.d.ts +0 -5
- package/dist/types/modes/components/status-line/separators.d.ts +0 -3
- package/dist/types/modes/components/status-line/token-rate.d.ts +0 -10
- package/dist/types/modes/components/status-line/types.d.ts +0 -150
- package/dist/types/modes/components/theme-selector.d.ts +0 -11
- package/dist/types/modes/components/thinking-selector.d.ts +0 -11
- package/dist/types/modes/components/tiny-title-download-progress.d.ts +0 -11
- package/dist/types/modes/components/todo-reminder.d.ts +0 -15
- package/dist/types/modes/components/tool-execution.d.ts +0 -124
- package/dist/types/modes/components/transcript-container.d.ts +0 -88
- package/dist/types/modes/components/tree-selector.d.ts +0 -31
- package/dist/types/modes/components/ttsr-notification.d.ts +0 -17
- package/dist/types/modes/components/usage-row.d.ts +0 -3
- package/dist/types/modes/components/user-message-selector.d.ts +0 -28
- package/dist/types/modes/components/user-message.d.ts +0 -9
- package/dist/types/modes/components/visual-truncate.d.ts +0 -19
- package/dist/types/modes/components/welcome.d.ts +0 -76
- package/dist/types/modes/controllers/btw-controller.d.ts +0 -14
- package/dist/types/modes/controllers/command-controller-shared.d.ts +0 -47
- package/dist/types/modes/controllers/command-controller.d.ts +0 -55
- package/dist/types/modes/controllers/event-controller.d.ts +0 -28
- package/dist/types/modes/controllers/extension-ui-controller.d.ts +0 -88
- package/dist/types/modes/controllers/input-controller.d.ts +0 -71
- package/dist/types/modes/controllers/mcp-command-controller.d.ts +0 -27
- package/dist/types/modes/controllers/omfg-controller.d.ts +0 -10
- package/dist/types/modes/controllers/omfg-rule.d.ts +0 -26
- package/dist/types/modes/controllers/selector-controller.d.ts +0 -61
- package/dist/types/modes/controllers/session-focus-controller.d.ts +0 -31
- package/dist/types/modes/controllers/ssh-command-controller.d.ts +0 -10
- package/dist/types/modes/controllers/streaming-reveal.d.ts +0 -45
- package/dist/types/modes/controllers/tan-command-controller.d.ts +0 -6
- package/dist/types/modes/controllers/todo-command-controller.d.ts +0 -7
- package/dist/types/modes/controllers/tool-args-reveal.d.ts +0 -77
- package/dist/types/modes/emoji-autocomplete.d.ts +0 -16
- package/dist/types/modes/gradient-highlight.d.ts +0 -32
- package/dist/types/modes/image-references.d.ts +0 -28
- package/dist/types/modes/index.d.ts +0 -10
- package/dist/types/modes/interactive-mode.d.ts +0 -399
- package/dist/types/modes/internal-url-autocomplete.d.ts +0 -43
- package/dist/types/modes/loop-limit.d.ts +0 -35
- package/dist/types/modes/magic-keywords.d.ts +0 -26
- package/dist/types/modes/markdown-prose.d.ts +0 -27
- package/dist/types/modes/oauth-manual-input.d.ts +0 -15
- package/dist/types/modes/orchestrate.d.ts +0 -15
- package/dist/types/modes/print-mode.d.ts +0 -29
- package/dist/types/modes/prompt-action-autocomplete.d.ts +0 -46
- package/dist/types/modes/rpc/host-tools.d.ts +0 -16
- package/dist/types/modes/rpc/host-uris.d.ts +0 -38
- package/dist/types/modes/rpc/rpc-client.d.ts +0 -300
- package/dist/types/modes/rpc/rpc-mode.d.ts +0 -145
- package/dist/types/modes/rpc/rpc-subagents.d.ts +0 -24
- package/dist/types/modes/rpc/rpc-types.d.ts +0 -699
- package/dist/types/modes/running-subagent-badge.d.ts +0 -6
- package/dist/types/modes/runtime-init.d.ts +0 -25
- package/dist/types/modes/session-observer-registry.d.ts +0 -35
- package/dist/types/modes/session-teardown.d.ts +0 -63
- package/dist/types/modes/session-teardown.test.d.ts +0 -1
- package/dist/types/modes/setup-version.d.ts +0 -11
- package/dist/types/modes/setup-wizard/index.d.ts +0 -22
- package/dist/types/modes/setup-wizard/lazy.d.ts +0 -2
- package/dist/types/modes/setup-wizard/scenes/glyph.d.ts +0 -2
- package/dist/types/modes/setup-wizard/scenes/outro.d.ts +0 -2
- package/dist/types/modes/setup-wizard/scenes/providers.d.ts +0 -2
- package/dist/types/modes/setup-wizard/scenes/sign-in.d.ts +0 -22
- package/dist/types/modes/setup-wizard/scenes/splash.d.ts +0 -11
- package/dist/types/modes/setup-wizard/scenes/theme.d.ts +0 -2
- package/dist/types/modes/setup-wizard/scenes/types.d.ts +0 -52
- package/dist/types/modes/setup-wizard/scenes/web-search.d.ts +0 -23
- package/dist/types/modes/setup-wizard/startup-splash.d.ts +0 -7
- package/dist/types/modes/setup-wizard/wizard-overlay.d.ts +0 -15
- package/dist/types/modes/shared.d.ts +0 -15
- package/dist/types/modes/skill-command.d.ts +0 -32
- package/dist/types/modes/theme/defaults/index.d.ts +0 -9436
- package/dist/types/modes/theme/mermaid-cache.d.ts +0 -26
- package/dist/types/modes/theme/mermaid-rendering.test.d.ts +0 -1
- package/dist/types/modes/theme/shimmer.d.ts +0 -40
- package/dist/types/modes/theme/theme.d.ts +0 -360
- package/dist/types/modes/turn-budget.d.ts +0 -18
- package/dist/types/modes/types.d.ts +0 -399
- package/dist/types/modes/ultrathink.d.ts +0 -15
- package/dist/types/modes/utils/context-usage.d.ts +0 -64
- package/dist/types/modes/utils/copy-targets.d.ts +0 -75
- package/dist/types/modes/utils/hotkeys-markdown.d.ts +0 -5
- package/dist/types/modes/utils/interactive-context-helpers.d.ts +0 -14
- package/dist/types/modes/utils/keybinding-matchers.d.ts +0 -32
- package/dist/types/modes/utils/tools-markdown.d.ts +0 -5
- package/dist/types/modes/utils/transcript-render-helpers.d.ts +0 -54
- package/dist/types/modes/utils/ui-helpers.d.ts +0 -55
- package/dist/types/modes/workflow.d.ts +0 -15
- package/dist/types/plan-mode/approved-plan-prompt.test.d.ts +0 -1
- package/dist/types/plan-mode/approved-plan.d.ts +0 -68
- package/dist/types/plan-mode/plan-handoff.d.ts +0 -20
- package/dist/types/plan-mode/plan-protection.d.ts +0 -12
- package/dist/types/plan-mode/state.d.ts +0 -6
- package/dist/types/registry/agent-lifecycle.d.ts +0 -66
- package/dist/types/registry/agent-registry.d.ts +0 -97
- package/dist/types/sdk.d.ts +0 -370
- package/dist/types/secrets/index.d.ts +0 -9
- package/dist/types/secrets/obfuscator.d.ts +0 -63
- package/dist/types/secrets/regex.d.ts +0 -2
- package/dist/types/session/agent-session.d.ts +0 -1417
- package/dist/types/session/agent-storage.d.ts +0 -97
- package/dist/types/session/artifacts.d.ts +0 -61
- package/dist/types/session/auth-broker-config.d.ts +0 -45
- package/dist/types/session/auth-storage.d.ts +0 -7
- package/dist/types/session/blob-store.d.ts +0 -68
- package/dist/types/session/client-bridge.d.ts +0 -88
- package/dist/types/session/codex-auto-reset.d.ts +0 -111
- package/dist/types/session/compact-modes.d.ts +0 -60
- package/dist/types/session/exit-diagnostics.d.ts +0 -48
- package/dist/types/session/history-storage.d.ts +0 -30
- package/dist/types/session/indexed-session-storage.d.ts +0 -65
- package/dist/types/session/messages.d.ts +0 -220
- package/dist/types/session/messages.test.d.ts +0 -1
- package/dist/types/session/provider-image-budget.d.ts +0 -3
- package/dist/types/session/redis-session-storage.d.ts +0 -51
- package/dist/types/session/session-context.d.ts +0 -44
- package/dist/types/session/session-dump-format.d.ts +0 -30
- package/dist/types/session/session-entries.d.ts +0 -197
- package/dist/types/session/session-history-format.d.ts +0 -49
- package/dist/types/session/session-listing.d.ts +0 -78
- package/dist/types/session/session-loader.d.ts +0 -29
- package/dist/types/session/session-manager.d.ts +0 -306
- package/dist/types/session/session-migrations.d.ts +0 -12
- package/dist/types/session/session-paths.d.ts +0 -25
- package/dist/types/session/session-persistence.d.ts +0 -12
- package/dist/types/session/session-storage.d.ts +0 -101
- package/dist/types/session/session-title-slot.d.ts +0 -19
- package/dist/types/session/settings-stream-fn.d.ts +0 -21
- package/dist/types/session/shake-types.d.ts +0 -24
- package/dist/types/session/snapcompact-inline.d.ts +0 -145
- package/dist/types/session/snapcompact-savings-journal.d.ts +0 -46
- package/dist/types/session/sql-session-storage.d.ts +0 -72
- package/dist/types/session/streaming-output.d.ts +0 -229
- package/dist/types/session/tool-choice-queue.d.ts +0 -94
- package/dist/types/session/turn-persistence.d.ts +0 -88
- package/dist/types/session/unexpected-stop-classifier.d.ts +0 -13
- package/dist/types/session/yield-queue.d.ts +0 -37
- package/dist/types/slash-commands/acp-builtins.d.ts +0 -34
- package/dist/types/slash-commands/available-commands.d.ts +0 -34
- package/dist/types/slash-commands/builtin-registry.d.ts +0 -36
- package/dist/types/slash-commands/helpers/active-oauth-account.d.ts +0 -14
- package/dist/types/slash-commands/helpers/collab-qrcode.d.ts +0 -13
- package/dist/types/slash-commands/helpers/context-report.d.ts +0 -7
- package/dist/types/slash-commands/helpers/format.d.ts +0 -10
- package/dist/types/slash-commands/helpers/logout.d.ts +0 -15
- package/dist/types/slash-commands/helpers/marketplace-manager.d.ts +0 -8
- package/dist/types/slash-commands/helpers/mcp.d.ts +0 -3
- package/dist/types/slash-commands/helpers/parse.d.ts +0 -33
- package/dist/types/slash-commands/helpers/reset-usage.d.ts +0 -27
- package/dist/types/slash-commands/helpers/ssh.d.ts +0 -3
- package/dist/types/slash-commands/helpers/stats-dashboard.d.ts +0 -13
- package/dist/types/slash-commands/helpers/todo.d.ts +0 -3
- package/dist/types/slash-commands/helpers/usage-report.d.ts +0 -7
- package/dist/types/slash-commands/marketplace-install-parser.d.ts +0 -33
- package/dist/types/slash-commands/types.d.ts +0 -127
- package/dist/types/ssh/__tests__/connection-manager-args.test.d.ts +0 -1
- package/dist/types/ssh/__tests__/file-transfer-posix-guard.test.d.ts +0 -1
- package/dist/types/ssh/config-writer.d.ts +0 -49
- package/dist/types/ssh/connection-manager.d.ts +0 -90
- package/dist/types/ssh/file-transfer.d.ts +0 -79
- package/dist/types/ssh/ssh-executor.d.ts +0 -37
- package/dist/types/ssh/sshfs-mount.d.ts +0 -6
- package/dist/types/ssh/utils.d.ts +0 -24
- package/dist/types/startup-splash.d.ts +0 -12
- package/dist/types/stt/asr-client.d.ts +0 -68
- package/dist/types/stt/asr-protocol.d.ts +0 -97
- package/dist/types/stt/asr-worker.d.ts +0 -2
- package/dist/types/stt/downloader.d.ts +0 -47
- package/dist/types/stt/endpointer.d.ts +0 -59
- package/dist/types/stt/index.d.ts +0 -8
- package/dist/types/stt/models.d.ts +0 -120
- package/dist/types/stt/recorder.d.ts +0 -30
- package/dist/types/stt/stt-controller.d.ts +0 -24
- package/dist/types/stt/submit-trigger.d.ts +0 -30
- package/dist/types/stt/transcriber.d.ts +0 -14
- package/dist/types/stt/wav.d.ts +0 -29
- package/dist/types/subprocess/worker-client.d.ts +0 -149
- package/dist/types/subprocess/worker-runtime.d.ts +0 -107
- package/dist/types/system-prompt.d.ts +0 -128
- package/dist/types/system-prompt.test.d.ts +0 -1
- package/dist/types/task/agents.d.ts +0 -28
- package/dist/types/task/commands.d.ts +0 -35
- package/dist/types/task/discovery.d.ts +0 -17
- package/dist/types/task/executor.d.ts +0 -214
- package/dist/types/task/index.d.ts +0 -79
- package/dist/types/task/isolation-runner.d.ts +0 -128
- package/dist/types/task/name-generator.d.ts +0 -16
- package/dist/types/task/omp-command.d.ts +0 -7
- package/dist/types/task/output-manager.d.ts +0 -20
- package/dist/types/task/parallel.d.ts +0 -55
- package/dist/types/task/persisted-revive.d.ts +0 -36
- package/dist/types/task/provider-concurrency.d.ts +0 -40
- package/dist/types/task/render.d.ts +0 -34
- package/dist/types/task/render.test.d.ts +0 -1
- package/dist/types/task/renderer.d.ts +0 -13
- package/dist/types/task/repair-args.d.ts +0 -53
- package/dist/types/task/spawn-policy.d.ts +0 -17
- package/dist/types/task/spawn-policy.test.d.ts +0 -1
- package/dist/types/task/subprocess-tool-registry.d.ts +0 -72
- package/dist/types/task/types.d.ts +0 -384
- package/dist/types/task/worktree.d.ts +0 -135
- package/dist/types/task/yield-assembly.d.ts +0 -28
- package/dist/types/telemetry-export.d.ts +0 -43
- package/dist/types/thinking.d.ts +0 -96
- package/dist/types/tiny/device.d.ts +0 -78
- package/dist/types/tiny/dtype.d.ts +0 -85
- package/dist/types/tiny/models.d.ts +0 -230
- package/dist/types/tiny/text.d.ts +0 -44
- package/dist/types/tiny/title-client.d.ts +0 -68
- package/dist/types/tiny/title-protocol.d.ts +0 -78
- package/dist/types/tiny/worker.d.ts +0 -2
- package/dist/types/tool-discovery/mode.d.ts +0 -8
- package/dist/types/tool-discovery/tool-index.d.ts +0 -57
- package/dist/types/tools/__tests__/eval-description.test.d.ts +0 -1
- package/dist/types/tools/__tests__/json-tree.test.d.ts +0 -1
- package/dist/types/tools/acp-bridge.d.ts +0 -29
- package/dist/types/tools/approval.d.ts +0 -46
- package/dist/types/tools/ask.d.ts +0 -119
- package/dist/types/tools/ast-edit.d.ts +0 -84
- package/dist/types/tools/ast-grep.d.ts +0 -74
- package/dist/types/tools/auto-generated-guard.d.ts +0 -17
- package/dist/types/tools/bash-command-fixup.d.ts +0 -11
- package/dist/types/tools/bash-interactive.d.ts +0 -16
- package/dist/types/tools/bash-interceptor.d.ts +0 -24
- package/dist/types/tools/bash-pty-selection.d.ts +0 -7
- package/dist/types/tools/bash-skill-urls.d.ts +0 -31
- package/dist/types/tools/bash.d.ts +0 -148
- package/dist/types/tools/browser/aria/aria-snapshot.d.ts +0 -39
- package/dist/types/tools/browser/attach.d.ts +0 -34
- package/dist/types/tools/browser/cmux/cmux-tab.d.ts +0 -212
- package/dist/types/tools/browser/cmux/rpc.d.ts +0 -70
- package/dist/types/tools/browser/cmux/socket-client.d.ts +0 -19
- package/dist/types/tools/browser/launch.d.ts +0 -67
- package/dist/types/tools/browser/readable.d.ts +0 -17
- package/dist/types/tools/browser/registry.d.ts +0 -58
- package/dist/types/tools/browser/render.d.ts +0 -52
- package/dist/types/tools/browser/run-cancellation.d.ts +0 -4
- package/dist/types/tools/browser/tab-protocol.d.ts +0 -146
- package/dist/types/tools/browser/tab-supervisor.d.ts +0 -104
- package/dist/types/tools/browser/tab-worker-entry.d.ts +0 -1
- package/dist/types/tools/browser/tab-worker.d.ts +0 -56
- package/dist/types/tools/browser.d.ts +0 -96
- package/dist/types/tools/builtin-names.d.ts +0 -6
- package/dist/types/tools/checkpoint.d.ts +0 -72
- package/dist/types/tools/conflict-detect.d.ts +0 -221
- package/dist/types/tools/context.d.ts +0 -19
- package/dist/types/tools/debug.d.ts +0 -156
- package/dist/types/tools/eval-backends.d.ts +0 -15
- package/dist/types/tools/eval-render.d.ts +0 -58
- package/dist/types/tools/eval.d.ts +0 -66
- package/dist/types/tools/fetch.d.ts +0 -99
- package/dist/types/tools/file-recorder.d.ts +0 -13
- package/dist/types/tools/fs-cache-invalidation.d.ts +0 -15
- package/dist/types/tools/gh-cache-invalidation.d.ts +0 -6
- package/dist/types/tools/gh-format.d.ts +0 -6
- package/dist/types/tools/gh-renderer.d.ts +0 -25
- package/dist/types/tools/gh.d.ts +0 -331
- package/dist/types/tools/github-cache.d.ts +0 -123
- package/dist/types/tools/glob.d.ts +0 -94
- package/dist/types/tools/grep.d.ts +0 -98
- package/dist/types/tools/grouped-file-output.d.ts +0 -70
- package/dist/types/tools/image-gen.d.ts +0 -66
- package/dist/types/tools/index.d.ts +0 -368
- package/dist/types/tools/inspect-image-renderer.d.ts +0 -26
- package/dist/types/tools/inspect-image.d.ts +0 -32
- package/dist/types/tools/irc.d.ts +0 -112
- package/dist/types/tools/job.d.ts +0 -73
- package/dist/types/tools/json-tree.d.ts +0 -23
- package/dist/types/tools/jtd-to-json-schema.d.ts +0 -29
- package/dist/types/tools/jtd-to-typescript.d.ts +0 -26
- package/dist/types/tools/jtd-utils.d.ts +0 -42
- package/dist/types/tools/learn.d.ts +0 -44
- package/dist/types/tools/list-limit.d.ts +0 -12
- package/dist/types/tools/manage-skill.d.ts +0 -31
- package/dist/types/tools/match-line-format.d.ts +0 -11
- package/dist/types/tools/memory-edit.d.ts +0 -31
- package/dist/types/tools/memory-recall.d.ts +0 -23
- package/dist/types/tools/memory-reflect.d.ts +0 -25
- package/dist/types/tools/memory-render.d.ts +0 -63
- package/dist/types/tools/memory-retain.d.ts +0 -29
- package/dist/types/tools/output-meta.d.ts +0 -211
- package/dist/types/tools/output-schema-validator.d.ts +0 -77
- package/dist/types/tools/path-utils.d.ts +0 -260
- package/dist/types/tools/plan-mode-guard.d.ts +0 -33
- package/dist/types/tools/read.d.ts +0 -87
- package/dist/types/tools/render-utils.d.ts +0 -218
- package/dist/types/tools/renderers.d.ts +0 -45
- package/dist/types/tools/report-tool-issue.d.ts +0 -127
- package/dist/types/tools/resolve.d.ts +0 -94
- package/dist/types/tools/review.d.ts +0 -59
- package/dist/types/tools/search-tool-bm25.d.ts +0 -65
- package/dist/types/tools/sqlite-reader.d.ts +0 -114
- package/dist/types/tools/ssh.d.ts +0 -73
- package/dist/types/tools/todo.d.ts +0 -126
- package/dist/types/tools/tool-errors.d.ts +0 -33
- package/dist/types/tools/tool-result.d.ts +0 -34
- package/dist/types/tools/tool-timeouts.d.ts +0 -51
- package/dist/types/tools/tts.d.ts +0 -42
- package/dist/types/tools/write.d.ts +0 -66
- package/dist/types/tools/yield.d.ts +0 -39
- package/dist/types/tts/downloader.d.ts +0 -20
- package/dist/types/tts/index.d.ts +0 -8
- package/dist/types/tts/models.d.ts +0 -82
- package/dist/types/tts/player.d.ts +0 -32
- package/dist/types/tts/runtime.d.ts +0 -6
- package/dist/types/tts/streaming-player.d.ts +0 -41
- package/dist/types/tts/tts-client.d.ts +0 -68
- package/dist/types/tts/tts-protocol.d.ts +0 -95
- package/dist/types/tts/tts-worker.d.ts +0 -2
- package/dist/types/tts/vocalizer.d.ts +0 -41
- package/dist/types/tts/wav.d.ts +0 -8
- package/dist/types/tui/code-cell.d.ts +0 -47
- package/dist/types/tui/file-list.d.ts +0 -22
- package/dist/types/tui/hyperlink.d.ts +0 -61
- package/dist/types/tui/index.d.ts +0 -12
- package/dist/types/tui/output-block.d.ts +0 -59
- package/dist/types/tui/status-line.d.ts +0 -21
- package/dist/types/tui/tree-list.d.ts +0 -20
- package/dist/types/tui/types.d.ts +0 -13
- package/dist/types/tui/utils.d.ts +0 -36
- package/dist/types/tui/width-aware-text.d.ts +0 -23
- package/dist/types/utils/active-repo-context.d.ts +0 -8
- package/dist/types/utils/block-context.d.ts +0 -35
- package/dist/types/utils/changelog.d.ts +0 -33
- package/dist/types/utils/clipboard.d.ts +0 -37
- package/dist/types/utils/command-args.d.ts +0 -9
- package/dist/types/utils/commit-message-generator.d.ts +0 -7
- package/dist/types/utils/edit-mode.d.ts +0 -13
- package/dist/types/utils/enhanced-paste.d.ts +0 -20
- package/dist/types/utils/event-bus.d.ts +0 -6
- package/dist/types/utils/external-editor.d.ts +0 -27
- package/dist/types/utils/file-display-mode.d.ts +0 -27
- package/dist/types/utils/file-mentions.d.ts +0 -13
- package/dist/types/utils/git.d.ts +0 -453
- package/dist/types/utils/image-loading.d.ts +0 -67
- package/dist/types/utils/image-resize.d.ts +0 -42
- package/dist/types/utils/image-vision-fallback.d.ts +0 -28
- package/dist/types/utils/ipc.d.ts +0 -22
- package/dist/types/utils/jj.d.ts +0 -74
- package/dist/types/utils/lang-from-path.d.ts +0 -8
- package/dist/types/utils/markit-cache.d.ts +0 -23
- package/dist/types/utils/markit.d.ts +0 -20
- package/dist/types/utils/mupdf-wasm-embed.d.ts +0 -1
- package/dist/types/utils/open.d.ts +0 -2
- package/dist/types/utils/prompt-path.d.ts +0 -1
- package/dist/types/utils/qrcode.d.ts +0 -48
- package/dist/types/utils/session-color.d.ts +0 -27
- package/dist/types/utils/shell-snapshot.d.ts +0 -15
- package/dist/types/utils/sixel.d.ts +0 -21
- package/dist/types/utils/thinking-display.d.ts +0 -7
- package/dist/types/utils/title-generator.d.ts +0 -33
- package/dist/types/utils/tool-choice.d.ts +0 -15
- package/dist/types/utils/tools-manager.d.ts +0 -12
- package/dist/types/utils/turndown.d.ts +0 -15
- package/dist/types/utils/zip.d.ts +0 -119
- package/dist/types/web/kagi.d.ts +0 -99
- package/dist/types/web/parallel.d.ts +0 -67
- package/dist/types/web/scrapers/artifacthub.d.ts +0 -6
- package/dist/types/web/scrapers/arxiv.d.ts +0 -5
- package/dist/types/web/scrapers/aur.d.ts +0 -5
- package/dist/types/web/scrapers/biorxiv.d.ts +0 -5
- package/dist/types/web/scrapers/bluesky.d.ts +0 -5
- package/dist/types/web/scrapers/brew.d.ts +0 -5
- package/dist/types/web/scrapers/cheatsh.d.ts +0 -8
- package/dist/types/web/scrapers/chocolatey.d.ts +0 -5
- package/dist/types/web/scrapers/choosealicense.d.ts +0 -2
- package/dist/types/web/scrapers/cisa-kev.d.ts +0 -5
- package/dist/types/web/scrapers/clojars.d.ts +0 -5
- package/dist/types/web/scrapers/coingecko.d.ts +0 -5
- package/dist/types/web/scrapers/crates-io.d.ts +0 -5
- package/dist/types/web/scrapers/crossref.d.ts +0 -2
- package/dist/types/web/scrapers/devto.d.ts +0 -5
- package/dist/types/web/scrapers/discogs.d.ts +0 -8
- package/dist/types/web/scrapers/discourse.d.ts +0 -5
- package/dist/types/web/scrapers/dockerhub.d.ts +0 -5
- package/dist/types/web/scrapers/docs-rs.d.ts +0 -2
- package/dist/types/web/scrapers/fdroid.d.ts +0 -5
- package/dist/types/web/scrapers/firefox-addons.d.ts +0 -2
- package/dist/types/web/scrapers/flathub.d.ts +0 -2
- package/dist/types/web/scrapers/github-gist.d.ts +0 -5
- package/dist/types/web/scrapers/github.d.ts +0 -34
- package/dist/types/web/scrapers/gitlab.d.ts +0 -5
- package/dist/types/web/scrapers/go-pkg.d.ts +0 -5
- package/dist/types/web/scrapers/hackage.d.ts +0 -5
- package/dist/types/web/scrapers/hackernews.d.ts +0 -2
- package/dist/types/web/scrapers/hex.d.ts +0 -5
- package/dist/types/web/scrapers/huggingface.d.ts +0 -2
- package/dist/types/web/scrapers/iacr.d.ts +0 -5
- package/dist/types/web/scrapers/index.d.ts +0 -84
- package/dist/types/web/scrapers/jetbrains-marketplace.d.ts +0 -2
- package/dist/types/web/scrapers/lemmy.d.ts +0 -2
- package/dist/types/web/scrapers/lobsters.d.ts +0 -5
- package/dist/types/web/scrapers/mastodon.d.ts +0 -5
- package/dist/types/web/scrapers/maven.d.ts +0 -6
- package/dist/types/web/scrapers/mdn.d.ts +0 -2
- package/dist/types/web/scrapers/metacpan.d.ts +0 -5
- package/dist/types/web/scrapers/musicbrainz.d.ts +0 -5
- package/dist/types/web/scrapers/npm.d.ts +0 -5
- package/dist/types/web/scrapers/nuget.d.ts +0 -5
- package/dist/types/web/scrapers/nvd.d.ts +0 -5
- package/dist/types/web/scrapers/ollama.d.ts +0 -2
- package/dist/types/web/scrapers/open-vsx.d.ts +0 -5
- package/dist/types/web/scrapers/opencorporates.d.ts +0 -5
- package/dist/types/web/scrapers/openlibrary.d.ts +0 -5
- package/dist/types/web/scrapers/orcid.d.ts +0 -5
- package/dist/types/web/scrapers/osv.d.ts +0 -5
- package/dist/types/web/scrapers/packagist.d.ts +0 -5
- package/dist/types/web/scrapers/pub-dev.d.ts +0 -5
- package/dist/types/web/scrapers/pubmed.d.ts +0 -5
- package/dist/types/web/scrapers/pypi.d.ts +0 -5
- package/dist/types/web/scrapers/rawg.d.ts +0 -2
- package/dist/types/web/scrapers/readthedocs.d.ts +0 -5
- package/dist/types/web/scrapers/reddit.d.ts +0 -5
- package/dist/types/web/scrapers/repology.d.ts +0 -5
- package/dist/types/web/scrapers/rfc.d.ts +0 -5
- package/dist/types/web/scrapers/rubygems.d.ts +0 -5
- package/dist/types/web/scrapers/searchcode.d.ts +0 -2
- package/dist/types/web/scrapers/sec-edgar.d.ts +0 -5
- package/dist/types/web/scrapers/semantic-scholar.d.ts +0 -2
- package/dist/types/web/scrapers/snapcraft.d.ts +0 -2
- package/dist/types/web/scrapers/sourcegraph.d.ts +0 -2
- package/dist/types/web/scrapers/spdx.d.ts +0 -5
- package/dist/types/web/scrapers/spotify.d.ts +0 -8
- package/dist/types/web/scrapers/stackoverflow.d.ts +0 -6
- package/dist/types/web/scrapers/terraform.d.ts +0 -5
- package/dist/types/web/scrapers/tldr.d.ts +0 -7
- package/dist/types/web/scrapers/twitter.d.ts +0 -5
- package/dist/types/web/scrapers/types.d.ts +0 -90
- package/dist/types/web/scrapers/utils.d.ts +0 -26
- package/dist/types/web/scrapers/vimeo.d.ts +0 -5
- package/dist/types/web/scrapers/vscode-marketplace.d.ts +0 -5
- package/dist/types/web/scrapers/w3c.d.ts +0 -2
- package/dist/types/web/scrapers/wikidata.d.ts +0 -5
- package/dist/types/web/scrapers/wikipedia.d.ts +0 -5
- package/dist/types/web/scrapers/youtube.d.ts +0 -5
- package/dist/types/web/search/index.d.ts +0 -74
- package/dist/types/web/search/provider.d.ts +0 -30
- package/dist/types/web/search/providers/anthropic.d.ts +0 -33
- package/dist/types/web/search/providers/base.d.ts +0 -83
- package/dist/types/web/search/providers/brave.d.ts +0 -28
- package/dist/types/web/search/providers/codex.d.ts +0 -36
- package/dist/types/web/search/providers/duckduckgo.d.ts +0 -14
- package/dist/types/web/search/providers/exa.d.ts +0 -70
- package/dist/types/web/search/providers/firecrawl.d.ts +0 -28
- package/dist/types/web/search/providers/gemini.d.ts +0 -62
- package/dist/types/web/search/providers/jina.d.ts +0 -31
- package/dist/types/web/search/providers/kagi.d.ts +0 -30
- package/dist/types/web/search/providers/kimi.d.ts +0 -32
- package/dist/types/web/search/providers/parallel.d.ts +0 -16
- package/dist/types/web/search/providers/perplexity-auth.d.ts +0 -37
- package/dist/types/web/search/providers/perplexity.d.ts +0 -58
- package/dist/types/web/search/providers/searxng.d.ts +0 -45
- package/dist/types/web/search/providers/synthetic.d.ts +0 -25
- package/dist/types/web/search/providers/tavily.d.ts +0 -30
- package/dist/types/web/search/providers/tinyfish.d.ts +0 -29
- package/dist/types/web/search/providers/utils.d.ts +0 -52
- package/dist/types/web/search/providers/xai.d.ts +0 -13
- package/dist/types/web/search/providers/zai.d.ts +0 -29
- package/dist/types/web/search/render.d.ts +0 -34
- package/dist/types/web/search/types.d.ts +0 -431
- package/dist/types/web/search/utils.d.ts +0 -4
- package/dist/types/workspace-tree.d.ts +0 -42
|
@@ -1,453 +0,0 @@
|
|
|
1
|
-
import type { FileDiff, FileHunks, NumstatEntry } from "../commit/types";
|
|
2
|
-
export interface GitCommandResult {
|
|
3
|
-
exitCode: number;
|
|
4
|
-
stdout: string;
|
|
5
|
-
stderr: string;
|
|
6
|
-
}
|
|
7
|
-
export interface GitRepository {
|
|
8
|
-
commonDir: string;
|
|
9
|
-
gitDir: string;
|
|
10
|
-
gitEntryPath: string;
|
|
11
|
-
headPath: string;
|
|
12
|
-
repoRoot: string;
|
|
13
|
-
isReftable?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface GitStatusSummary {
|
|
16
|
-
staged: number;
|
|
17
|
-
unstaged: number;
|
|
18
|
-
untracked: number;
|
|
19
|
-
}
|
|
20
|
-
export type HunkSelection = {
|
|
21
|
-
path: string;
|
|
22
|
-
hunks: {
|
|
23
|
-
type: "all";
|
|
24
|
-
} | {
|
|
25
|
-
type: "indices";
|
|
26
|
-
indices: number[];
|
|
27
|
-
} | {
|
|
28
|
-
type: "lines";
|
|
29
|
-
start: number;
|
|
30
|
-
end: number;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export interface StageHunksOptions {
|
|
34
|
-
readonly diffCached?: boolean;
|
|
35
|
-
readonly rawDiff?: string;
|
|
36
|
-
readonly signal?: AbortSignal;
|
|
37
|
-
}
|
|
38
|
-
export interface HunkSelectionValidationError {
|
|
39
|
-
readonly path: string;
|
|
40
|
-
readonly message: string;
|
|
41
|
-
}
|
|
42
|
-
export interface DiffOptions {
|
|
43
|
-
readonly allowFailure?: boolean;
|
|
44
|
-
readonly base?: string;
|
|
45
|
-
readonly binary?: boolean;
|
|
46
|
-
readonly cached?: boolean;
|
|
47
|
-
readonly env?: Record<string, string | undefined>;
|
|
48
|
-
readonly files?: readonly string[];
|
|
49
|
-
readonly head?: string;
|
|
50
|
-
readonly nameOnly?: boolean;
|
|
51
|
-
readonly noIndex?: {
|
|
52
|
-
left: string;
|
|
53
|
-
right: string;
|
|
54
|
-
};
|
|
55
|
-
readonly numstat?: boolean;
|
|
56
|
-
readonly signal?: AbortSignal;
|
|
57
|
-
readonly stat?: boolean;
|
|
58
|
-
}
|
|
59
|
-
export interface StatusOptions {
|
|
60
|
-
readonly pathspecs?: readonly string[];
|
|
61
|
-
readonly porcelainV1?: boolean;
|
|
62
|
-
readonly signal?: AbortSignal;
|
|
63
|
-
readonly untrackedFiles?: "all" | "no" | "normal";
|
|
64
|
-
readonly z?: boolean;
|
|
65
|
-
}
|
|
66
|
-
export interface CommitAuthor {
|
|
67
|
-
readonly date?: string;
|
|
68
|
-
readonly email: string;
|
|
69
|
-
readonly name: string;
|
|
70
|
-
}
|
|
71
|
-
export interface CommitDetails {
|
|
72
|
-
readonly author: CommitAuthor;
|
|
73
|
-
readonly message: string;
|
|
74
|
-
}
|
|
75
|
-
export interface CommitOptions {
|
|
76
|
-
readonly allowEmpty?: boolean;
|
|
77
|
-
readonly author?: CommitAuthor;
|
|
78
|
-
readonly files?: readonly string[];
|
|
79
|
-
readonly signal?: AbortSignal;
|
|
80
|
-
}
|
|
81
|
-
export interface PushOptions {
|
|
82
|
-
readonly forceWithLease?: boolean;
|
|
83
|
-
readonly refspec?: string;
|
|
84
|
-
readonly remote?: string;
|
|
85
|
-
readonly signal?: AbortSignal;
|
|
86
|
-
}
|
|
87
|
-
export interface PatchOptions {
|
|
88
|
-
readonly cached?: boolean;
|
|
89
|
-
readonly check?: boolean;
|
|
90
|
-
readonly env?: Record<string, string | undefined>;
|
|
91
|
-
readonly reverse?: boolean;
|
|
92
|
-
readonly threeWay?: boolean;
|
|
93
|
-
readonly signal?: AbortSignal;
|
|
94
|
-
}
|
|
95
|
-
export interface RestoreOptions {
|
|
96
|
-
readonly files?: readonly string[];
|
|
97
|
-
readonly signal?: AbortSignal;
|
|
98
|
-
readonly source?: string;
|
|
99
|
-
readonly staged?: boolean;
|
|
100
|
-
readonly worktree?: boolean;
|
|
101
|
-
}
|
|
102
|
-
export interface FetchOptions {
|
|
103
|
-
readonly signal?: AbortSignal;
|
|
104
|
-
/** Deadline for the network transfer. Defaults to {@link GIT_NETWORK_TIMEOUT_MS}. */
|
|
105
|
-
readonly timeoutMs?: number;
|
|
106
|
-
}
|
|
107
|
-
export interface CloneOptions {
|
|
108
|
-
readonly ref?: string;
|
|
109
|
-
readonly sha?: string;
|
|
110
|
-
readonly signal?: AbortSignal;
|
|
111
|
-
/** Deadline for the network transfer. Defaults to {@link GIT_NETWORK_TIMEOUT_MS}. */
|
|
112
|
-
readonly timeoutMs?: number;
|
|
113
|
-
}
|
|
114
|
-
interface GitHeadBase extends GitRepository {
|
|
115
|
-
headContent: string;
|
|
116
|
-
}
|
|
117
|
-
export interface GitRefHead extends GitHeadBase {
|
|
118
|
-
branchName: string | null;
|
|
119
|
-
commit: string | null;
|
|
120
|
-
kind: "ref";
|
|
121
|
-
ref: string;
|
|
122
|
-
}
|
|
123
|
-
export interface GitDetachedHead extends GitHeadBase {
|
|
124
|
-
commit: string | null;
|
|
125
|
-
kind: "detached";
|
|
126
|
-
}
|
|
127
|
-
export type GitHeadState = GitRefHead | GitDetachedHead;
|
|
128
|
-
export interface GitWorktreeEntry {
|
|
129
|
-
branch?: string;
|
|
130
|
-
detached: boolean;
|
|
131
|
-
head?: string;
|
|
132
|
-
path: string;
|
|
133
|
-
}
|
|
134
|
-
export declare class GitCommandError extends Error {
|
|
135
|
-
readonly args: readonly string[];
|
|
136
|
-
readonly result: GitCommandResult;
|
|
137
|
-
constructor(args: readonly string[], result: GitCommandResult);
|
|
138
|
-
}
|
|
139
|
-
/** Default deadline for git and gh subprocesses spawned by the coding agent. */
|
|
140
|
-
export declare const GIT_COMMAND_TIMEOUT_MS: number;
|
|
141
|
-
/**
|
|
142
|
-
* Default deadline for git subprocesses that perform network transfers
|
|
143
|
-
* (`clone`/`fetch`). Large-repo transfers legitimately outlive
|
|
144
|
-
* {@link GIT_COMMAND_TIMEOUT_MS}, so they get a wider deadline; local plumbing
|
|
145
|
-
* commands keep the short one.
|
|
146
|
-
*/
|
|
147
|
-
export declare const GIT_NETWORK_TIMEOUT_MS: number;
|
|
148
|
-
/** Maximum captured stdout or stderr bytes retained from git and gh subprocesses. */
|
|
149
|
-
export declare const GIT_COMMAND_OUTPUT_LIMIT_BYTES: number;
|
|
150
|
-
interface CommandOptions {
|
|
151
|
-
readonly env?: Record<string, string | undefined>;
|
|
152
|
-
readonly maxOutputBytes?: number;
|
|
153
|
-
readonly readOnly?: boolean;
|
|
154
|
-
readonly signal?: AbortSignal;
|
|
155
|
-
readonly stdin?: string | Uint8Array | ArrayBuffer | SharedArrayBuffer;
|
|
156
|
-
readonly timeoutMs?: number;
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* Serialize an async block that mutates a git repository against other
|
|
160
|
-
* in-process callers operating on the same repository. The lock is keyed by
|
|
161
|
-
* the primary repo root so worktrees of the same repo share a single queue.
|
|
162
|
-
* Failures in one block do not poison the queue for the next caller.
|
|
163
|
-
*
|
|
164
|
-
* Not reentrant: do NOT nest acquisitions for the same repo. Helpers in this
|
|
165
|
-
* module never auto-acquire — callers wrap the critical section themselves.
|
|
166
|
-
*/
|
|
167
|
-
export declare function withRepoLock<T>(cwd: string, fn: () => Promise<T>, signal?: AbortSignal): Promise<T>;
|
|
168
|
-
export declare function createHunkSelectionValidator(rawDiff: string): (selections: readonly HunkSelection[]) => HunkSelectionValidationError[];
|
|
169
|
-
export declare function validateHunkSelections(rawDiff: string, selections: readonly HunkSelection[]): HunkSelectionValidationError[];
|
|
170
|
-
declare function parseStatusPorcelain(text: string): GitStatusSummary;
|
|
171
|
-
/** Run `git diff` with the given options. Returns raw diff text. */
|
|
172
|
-
export declare const diff: ((cwd: string, options?: DiffOptions) => Promise<string>) & {
|
|
173
|
-
/** List changed file paths. */
|
|
174
|
-
changedFiles(cwd: string, options?: Pick<DiffOptions, "cached" | "files" | "signal">): Promise<string[]>;
|
|
175
|
-
/** Parsed per-file add/remove counts. */
|
|
176
|
-
numstat(cwd: string, options?: Pick<DiffOptions, "cached" | "signal">): Promise<NumstatEntry[]>;
|
|
177
|
-
/** Parsed diff hunks for the given files. */
|
|
178
|
-
hunks(cwd: string, files: readonly string[], options?: {
|
|
179
|
-
cached?: boolean;
|
|
180
|
-
signal?: AbortSignal;
|
|
181
|
-
}): Promise<FileHunks[]>;
|
|
182
|
-
/** Check whether a diff exists (uses `--quiet` for efficiency). */
|
|
183
|
-
has(cwd: string, options?: Pick<DiffOptions, "cached" | "files" | "signal">): Promise<boolean>;
|
|
184
|
-
/** Diff between two tree-ish objects (`git diff-tree`). */
|
|
185
|
-
tree(cwd: string, base: string, headRef: string, options?: {
|
|
186
|
-
binary?: boolean;
|
|
187
|
-
signal?: AbortSignal;
|
|
188
|
-
allowFailure?: boolean;
|
|
189
|
-
}): Promise<string>;
|
|
190
|
-
/** Parse raw diff text into per-file diffs. */
|
|
191
|
-
parseFiles(text: string): FileDiff[];
|
|
192
|
-
/** Parse raw diff text into per-file hunks. */
|
|
193
|
-
parseHunks(text: string): FileHunks[];
|
|
194
|
-
};
|
|
195
|
-
/** Run `git status --porcelain`. Returns raw status text. */
|
|
196
|
-
export declare const status: ((cwd: string, options?: StatusOptions) => Promise<string>) & {
|
|
197
|
-
/** Parsed status counts (staged, unstaged, untracked). */
|
|
198
|
-
summary(cwd: string, signal?: AbortSignal): Promise<GitStatusSummary | null>;
|
|
199
|
-
/** Parse porcelain status text into counts. */
|
|
200
|
-
parse: typeof parseStatusPorcelain;
|
|
201
|
-
};
|
|
202
|
-
export declare const stage: {
|
|
203
|
-
/** Stage files. Empty array stages all (`git add -A`). */
|
|
204
|
-
files(cwd: string, files?: readonly string[], signal?: AbortSignal): Promise<void>;
|
|
205
|
-
/** Selectively stage hunks from the provided diff or the current working tree diff. */
|
|
206
|
-
hunks(cwd: string, selections: HunkSelection[], options?: StageHunksOptions): Promise<void>;
|
|
207
|
-
/** Unstage files. Empty array unstages all (`git reset`). */
|
|
208
|
-
reset(cwd: string, files?: readonly string[], signal?: AbortSignal): Promise<void>;
|
|
209
|
-
};
|
|
210
|
-
/** Create a commit with the given message (passed via stdin). */
|
|
211
|
-
export declare function commit(cwd: string, message: string, options?: CommitOptions): Promise<GitCommandResult>;
|
|
212
|
-
/** Push the current branch (branch-scoped: never follows tags). */
|
|
213
|
-
export declare function push(cwd: string, options?: PushOptions): Promise<void>;
|
|
214
|
-
/** Checkout a ref. */
|
|
215
|
-
export declare function checkout(cwd: string, ref: string, signal?: AbortSignal): Promise<void>;
|
|
216
|
-
/** Fetch a specific refspec from a remote. Network transfer: defaults to the {@link GIT_NETWORK_TIMEOUT_MS} deadline. */
|
|
217
|
-
export declare function fetch(cwd: string, remote: string, source: string, target: string, options?: FetchOptions): Promise<void>;
|
|
218
|
-
/** Read a tree-ish into the index. */
|
|
219
|
-
export declare function readTree(cwd: string, treeish: string, options?: Pick<CommandOptions, "env" | "signal">): Promise<void>;
|
|
220
|
-
/** Write the current index as a tree and return its object id. */
|
|
221
|
-
export declare function writeTree(cwd: string, options?: Pick<CommandOptions, "env" | "signal">): Promise<string>;
|
|
222
|
-
/** Run `git show` on a revision. */
|
|
223
|
-
export declare const show: ((cwd: string, revision: string, options?: {
|
|
224
|
-
format?: string;
|
|
225
|
-
signal?: AbortSignal;
|
|
226
|
-
}) => Promise<string>) & {
|
|
227
|
-
/** Get the path prefix of the current directory relative to the repo root. */
|
|
228
|
-
prefix(cwd: string, signal?: AbortSignal): Promise<string>;
|
|
229
|
-
};
|
|
230
|
-
/** Read commit message and author metadata for replay/rewrite flows. */
|
|
231
|
-
export declare function commitDetails(cwd: string, revision: string, signal?: AbortSignal): Promise<CommitDetails>;
|
|
232
|
-
export declare const log: {
|
|
233
|
-
/** Recent commit subjects (one-line each). */
|
|
234
|
-
subjects(cwd: string, count: number, signal?: AbortSignal): Promise<string[]>;
|
|
235
|
-
/** Recent commits as `<short-sha> <subject>` onelines. */
|
|
236
|
-
onelines(cwd: string, count: number, signal?: AbortSignal): Promise<string[]>;
|
|
237
|
-
};
|
|
238
|
-
export declare const revList: {
|
|
239
|
-
/** Commits in `base..head`, oldest first. */
|
|
240
|
-
range(cwd: string, base: string, head: string, signal?: AbortSignal): Promise<string[]>;
|
|
241
|
-
};
|
|
242
|
-
export declare const branch: {
|
|
243
|
-
/** Current branch name, or null if detached/unavailable. */
|
|
244
|
-
current(cwd: string, signal?: AbortSignal): Promise<string | null>;
|
|
245
|
-
/** Default branch name (from remote HEAD refs). */
|
|
246
|
-
default(cwd: string, signal?: AbortSignal): Promise<string | null>;
|
|
247
|
-
/** Create a new branch at the given start point. */
|
|
248
|
-
create(cwd: string, name: string, startPoint?: string, signal?: AbortSignal): Promise<void>;
|
|
249
|
-
/** Force-move a branch to a new start point. */
|
|
250
|
-
force(cwd: string, name: string, startPoint: string, signal?: AbortSignal): Promise<void>;
|
|
251
|
-
/** Delete a branch. Throws on failure. */
|
|
252
|
-
delete(cwd: string, name: string, options?: {
|
|
253
|
-
force?: boolean;
|
|
254
|
-
signal?: AbortSignal;
|
|
255
|
-
}): Promise<void>;
|
|
256
|
-
/** Delete a branch. Returns false on failure instead of throwing. */
|
|
257
|
-
tryDelete(cwd: string, name: string, options?: {
|
|
258
|
-
force?: boolean;
|
|
259
|
-
signal?: AbortSignal;
|
|
260
|
-
}): Promise<boolean>;
|
|
261
|
-
/** Create and checkout a new branch. */
|
|
262
|
-
checkoutNew(cwd: string, name: string, signal?: AbortSignal): Promise<void>;
|
|
263
|
-
/** List branches. Pass `{ all: true }` to include remotes. */
|
|
264
|
-
list(cwd: string, options?: {
|
|
265
|
-
all?: boolean;
|
|
266
|
-
signal?: AbortSignal;
|
|
267
|
-
}): Promise<string[]>;
|
|
268
|
-
};
|
|
269
|
-
export declare const remote: {
|
|
270
|
-
/** List remote names. */
|
|
271
|
-
list(cwd: string, signal?: AbortSignal): Promise<string[]>;
|
|
272
|
-
/** Get the URL for a remote. */
|
|
273
|
-
url(cwd: string, name: string, signal?: AbortSignal): Promise<string | undefined>;
|
|
274
|
-
/**
|
|
275
|
-
* Add a remote pointing at `url`. Idempotent: if a remote named `name`
|
|
276
|
-
* already exists with the same URL (e.g. an in-process race or a leftover
|
|
277
|
-
* remote from a previous run), this is treated as success. Throws when the
|
|
278
|
-
* remote exists with a different URL — that's a real conflict the caller
|
|
279
|
-
* needs to resolve, not paper over.
|
|
280
|
-
*/
|
|
281
|
-
add(cwd: string, name: string, url: string, signal?: AbortSignal): Promise<void>;
|
|
282
|
-
};
|
|
283
|
-
export declare const ref: {
|
|
284
|
-
/** Check if a ref exists. */
|
|
285
|
-
exists(cwd: string, refName: string, signal?: AbortSignal): Promise<boolean>;
|
|
286
|
-
/** Resolve a ref to its commit SHA. */
|
|
287
|
-
resolve(cwd: string, refName: string, signal?: AbortSignal): Promise<string | null>;
|
|
288
|
-
/** Tags pointing at a ref. */
|
|
289
|
-
tags(cwd: string, refName?: string, signal?: AbortSignal): Promise<string[]>;
|
|
290
|
-
};
|
|
291
|
-
export declare const config: {
|
|
292
|
-
get(cwd: string, key: string, signal?: AbortSignal): Promise<string | undefined>;
|
|
293
|
-
set(cwd: string, key: string, value: string, signal?: AbortSignal): Promise<void>;
|
|
294
|
-
getBranch(cwd: string, branchName: string, key: string, signal?: AbortSignal): Promise<string | undefined>;
|
|
295
|
-
setBranch(cwd: string, branchName: string, key: string, value: string, signal?: AbortSignal): Promise<void>;
|
|
296
|
-
};
|
|
297
|
-
export declare const worktree: {
|
|
298
|
-
add(cwd: string, worktreePath: string, refName: string, options?: {
|
|
299
|
-
detach?: boolean;
|
|
300
|
-
signal?: AbortSignal;
|
|
301
|
-
}): Promise<void>;
|
|
302
|
-
remove(cwd: string, worktreePath: string, options?: {
|
|
303
|
-
force?: boolean;
|
|
304
|
-
signal?: AbortSignal;
|
|
305
|
-
}): Promise<void>;
|
|
306
|
-
tryRemove(cwd: string, worktreePath: string, options?: {
|
|
307
|
-
force?: boolean;
|
|
308
|
-
signal?: AbortSignal;
|
|
309
|
-
}): Promise<boolean>;
|
|
310
|
-
list(cwd: string, signal?: AbortSignal): Promise<GitWorktreeEntry[]>;
|
|
311
|
-
prune(cwd: string, signal?: AbortSignal): Promise<void>;
|
|
312
|
-
};
|
|
313
|
-
export declare const patch: {
|
|
314
|
-
/** Apply a patch file. */
|
|
315
|
-
apply(cwd: string, patchPath: string, options?: PatchOptions): Promise<void>;
|
|
316
|
-
/** Apply a patch from a string (writes to a temp file). */
|
|
317
|
-
applyText(cwd: string, patchText: string, options?: PatchOptions): Promise<void>;
|
|
318
|
-
/** Check if a patch file can be applied cleanly. */
|
|
319
|
-
canApply(cwd: string, patchPath: string, options?: Omit<PatchOptions, "check">): Promise<boolean>;
|
|
320
|
-
/** Check if a patch string can be applied cleanly. */
|
|
321
|
-
canApplyText(cwd: string, patchText: string, options?: Omit<PatchOptions, "check">): Promise<boolean>;
|
|
322
|
-
/** Join patch parts into a single patch string. */
|
|
323
|
-
join(parts: string[]): string;
|
|
324
|
-
};
|
|
325
|
-
export declare const cherryPick: ((cwd: string, revision: string, signal?: AbortSignal) => Promise<void>) & {
|
|
326
|
-
abort(cwd: string, signal?: AbortSignal): Promise<void>;
|
|
327
|
-
};
|
|
328
|
-
export declare const stash: {
|
|
329
|
-
/** Stash working tree + index changes. Returns true when git created a new stash entry. */
|
|
330
|
-
push(cwd: string, message?: string): Promise<boolean>;
|
|
331
|
-
/** Pop the most recent stash entry, optionally restoring its staged state. */
|
|
332
|
-
pop(cwd: string, options?: {
|
|
333
|
-
index?: boolean;
|
|
334
|
-
}): Promise<void>;
|
|
335
|
-
/**
|
|
336
|
-
* Return the working-tree patch that `stash@{0}` would apply, in a form
|
|
337
|
-
* that `git apply --check` can consume. Empty string when no stash entry
|
|
338
|
-
* exists or the stash contains no diffable working-tree changes.
|
|
339
|
-
*/
|
|
340
|
-
showPatch(cwd: string): Promise<string>;
|
|
341
|
-
/** Return untracked paths stored in the top stash entry. */
|
|
342
|
-
untrackedFiles(cwd: string): Promise<string[]>;
|
|
343
|
-
/**
|
|
344
|
-
* Attempt to restore the top stash entry. On success returns `true` and
|
|
345
|
-
* git drops the stash entry. On conflict returns `false`, leaves the stash
|
|
346
|
-
* entry preserved for manual resolution, and guarantees the failed restore
|
|
347
|
-
* leaves no unmerged index entries or partially-restored untracked files.
|
|
348
|
-
*
|
|
349
|
-
* The historical raw `pop` catches the failure in a `finally` block and
|
|
350
|
-
* only logs — it leaves `.git/index` with stage 1/2/3 unmerged entries
|
|
351
|
-
* that survive indefinitely, corrupting every subsequent overlay-isolated
|
|
352
|
-
* task that reads through this repo's `.git/`. See issue #4175.
|
|
353
|
-
*/
|
|
354
|
-
tryPop(cwd: string, options?: {
|
|
355
|
-
index?: boolean;
|
|
356
|
-
}): Promise<boolean>;
|
|
357
|
-
};
|
|
358
|
-
export declare function clone(url: string, targetDir: string, options?: CloneOptions): Promise<void>;
|
|
359
|
-
export declare function restore(cwd: string, options?: RestoreOptions): Promise<void>;
|
|
360
|
-
/**
|
|
361
|
-
* Run `git reset` with options. Default is a soft reset (no flag); pass `hard: true` for a destructive reset.
|
|
362
|
-
*
|
|
363
|
-
* NOTE: stage.reset() handles the per-file unstaging case. This helper exists for tree-wide resets.
|
|
364
|
-
*/
|
|
365
|
-
export declare function reset(cwd: string, options?: {
|
|
366
|
-
hard?: boolean;
|
|
367
|
-
mixed?: boolean;
|
|
368
|
-
soft?: boolean;
|
|
369
|
-
target?: string;
|
|
370
|
-
signal?: AbortSignal;
|
|
371
|
-
}): Promise<void>;
|
|
372
|
-
export declare function clean(cwd: string, options?: {
|
|
373
|
-
ignoredOnly?: boolean;
|
|
374
|
-
includeIgnored?: boolean;
|
|
375
|
-
literalPathspecs?: boolean;
|
|
376
|
-
paths?: readonly string[];
|
|
377
|
-
signal?: AbortSignal;
|
|
378
|
-
}): Promise<void>;
|
|
379
|
-
export declare const ls: {
|
|
380
|
-
/** List files tracked or untracked by git. */
|
|
381
|
-
files(cwd: string, options?: {
|
|
382
|
-
others?: boolean;
|
|
383
|
-
excludeStandard?: boolean;
|
|
384
|
-
signal?: AbortSignal;
|
|
385
|
-
}): Promise<string[]>;
|
|
386
|
-
/** List untracked files (excludes ignored). */
|
|
387
|
-
untracked(cwd: string, signal?: AbortSignal): Promise<string[]>;
|
|
388
|
-
/** List submodule paths (recursive). */
|
|
389
|
-
submodules(cwd: string, signal?: AbortSignal): Promise<string[]>;
|
|
390
|
-
};
|
|
391
|
-
export declare const head: {
|
|
392
|
-
/** Full HEAD state (branch, commit, repo info). */
|
|
393
|
-
resolve(cwd: string, signal?: AbortSignal): Promise<GitHeadState | null>;
|
|
394
|
-
/** Full HEAD state (synchronous). */
|
|
395
|
-
resolveSync(cwd: string): GitHeadState | null;
|
|
396
|
-
/** Current HEAD commit SHA. */
|
|
397
|
-
sha(cwd: string, signal?: AbortSignal): Promise<string | null>;
|
|
398
|
-
/** Abbreviated HEAD commit SHA. */
|
|
399
|
-
short(cwd: string, length?: number, signal?: AbortSignal): Promise<string | null>;
|
|
400
|
-
};
|
|
401
|
-
export declare const repo: {
|
|
402
|
-
/** Resolve the repository root (may be a worktree root). */
|
|
403
|
-
root(cwd: string, signal?: AbortSignal): Promise<string | null>;
|
|
404
|
-
/** Resolve the primary checkout root, or the shared common dir for bare-repo worktrees. */
|
|
405
|
-
primaryRoot(cwd: string, signal?: AbortSignal): Promise<string | null>;
|
|
406
|
-
/**
|
|
407
|
-
* Sync sibling of {@link primaryRoot}. Resolves only via on-disk `.git`/
|
|
408
|
-
* `commondir` walking — no subprocess fallback — so it stays usable from
|
|
409
|
-
* paths where async I/O is impractical (e.g. `computeBankScope`). Returns
|
|
410
|
-
* `null` when `cwd` is outside a repository. Bare-repo worktrees resolve to
|
|
411
|
-
* the shared common dir (`foo.git`) because they have no primary checkout.
|
|
412
|
-
*/
|
|
413
|
-
primaryRootSync(cwd: string): string | null;
|
|
414
|
-
/**
|
|
415
|
-
* Linked-worktree metadata for `cwd`, or `null` when `cwd` is the primary
|
|
416
|
-
* checkout (or outside a repository). `root` is the worktree's own checkout
|
|
417
|
-
* root; `primaryRoot` is the shared main checkout that names the project.
|
|
418
|
-
* Resolves purely via on-disk `.git`/`commondir` walking — no subprocess —
|
|
419
|
-
* so the status line may call it on every render.
|
|
420
|
-
*/
|
|
421
|
-
linkedWorktreeSync(cwd: string): {
|
|
422
|
-
root: string;
|
|
423
|
-
primaryRoot: string;
|
|
424
|
-
} | null;
|
|
425
|
-
/** Full GitRepository metadata (sync). */
|
|
426
|
-
resolveSync(cwd: string): GitRepository | null;
|
|
427
|
-
/** Full GitRepository metadata. */
|
|
428
|
-
resolve(cwd: string): Promise<GitRepository | null>;
|
|
429
|
-
/** Check if the repository uses the reftable reference storage format (sync). */
|
|
430
|
-
isReftableSync(repository: GitRepository): boolean;
|
|
431
|
-
/** Check if the repository uses the reftable reference storage format. */
|
|
432
|
-
isReftable(repository: GitRepository): Promise<boolean>;
|
|
433
|
-
};
|
|
434
|
-
export interface GhCommandResult {
|
|
435
|
-
exitCode: number;
|
|
436
|
-
stdout: string;
|
|
437
|
-
stderr: string;
|
|
438
|
-
}
|
|
439
|
-
export interface GhCommandOptions {
|
|
440
|
-
repoProvided?: boolean;
|
|
441
|
-
trimOutput?: boolean;
|
|
442
|
-
}
|
|
443
|
-
export declare const github: {
|
|
444
|
-
/** Check if `gh` CLI is installed. */
|
|
445
|
-
available(): boolean;
|
|
446
|
-
/** Run a raw `gh` CLI command. Does not throw on non-zero exit. */
|
|
447
|
-
run(cwd: string, args: string[], signal?: AbortSignal, options?: GhCommandOptions): Promise<GhCommandResult>;
|
|
448
|
-
/** Run `gh` and parse stdout as JSON. Throws on non-zero exit or invalid JSON. */
|
|
449
|
-
json<T>(cwd: string, args: string[], signal?: AbortSignal, options?: GhCommandOptions): Promise<T>;
|
|
450
|
-
/** Run `gh` and return stdout as text. Throws on non-zero exit. */
|
|
451
|
-
text(cwd: string, args: string[], signal?: AbortSignal, options?: GhCommandOptions): Promise<string>;
|
|
452
|
-
};
|
|
453
|
-
export {};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import type { ImageContent, Model } from "jeopi-ai";
|
|
2
|
-
import { type ImageResizeOptions } from "./image-resize";
|
|
3
|
-
export declare const MAX_IMAGE_INPUT_BYTES: number;
|
|
4
|
-
export declare const SUPPORTED_INPUT_IMAGE_MIME_TYPES: Set<string>;
|
|
5
|
-
/**
|
|
6
|
-
* Ollama and its local-backend family decode image input through llama.cpp /
|
|
7
|
-
* `stb_image`, which is compiled without WebP support, so a WebP upload fails
|
|
8
|
-
* with an opaque HTTP 400. Detect those models so the resize pipeline encodes
|
|
9
|
-
* to PNG/JPEG instead — the automatic equivalent of `OMP_NO_WEBP=1`.
|
|
10
|
-
*/
|
|
11
|
-
export declare function modelLacksWebpSupport(model: Pick<Model, "provider" | "api" | "imageInputDecoder"> | undefined): boolean;
|
|
12
|
-
/**
|
|
13
|
-
* `true` when `model` cannot decode WebP, otherwise `undefined` so the
|
|
14
|
-
* `OMP_NO_WEBP` env fallback in {@link resizeImage} still applies. Feed straight
|
|
15
|
-
* into {@link ImageResizeOptions.excludeWebP}.
|
|
16
|
-
*/
|
|
17
|
-
export declare function webpExclusionForModel(model: Pick<Model, "provider" | "api"> | undefined): true | undefined;
|
|
18
|
-
export interface LoadImageInputOptions {
|
|
19
|
-
path: string;
|
|
20
|
-
cwd: string;
|
|
21
|
-
autoResize: boolean;
|
|
22
|
-
maxBytes?: number;
|
|
23
|
-
resolvedPath?: string;
|
|
24
|
-
detectedMimeType?: string;
|
|
25
|
-
/** Force non-WebP output (e.g. for Ollama). Leave unset to honor `OMP_NO_WEBP`. */
|
|
26
|
-
excludeWebP?: boolean;
|
|
27
|
-
}
|
|
28
|
-
/** Options for loading an in-memory chat image attachment as a vision-model input. */
|
|
29
|
-
export interface LoadImageAttachmentInputOptions {
|
|
30
|
-
image: ImageContent;
|
|
31
|
-
label: string;
|
|
32
|
-
uri: string;
|
|
33
|
-
autoResize: boolean;
|
|
34
|
-
maxBytes?: number;
|
|
35
|
-
/** Force non-WebP output (e.g. for Ollama). Leave unset to honor `OMP_NO_WEBP`. */
|
|
36
|
-
excludeWebP?: boolean;
|
|
37
|
-
}
|
|
38
|
-
export interface LoadedImageInput {
|
|
39
|
-
resolvedPath: string;
|
|
40
|
-
mimeType: string;
|
|
41
|
-
data: string;
|
|
42
|
-
textNote: string;
|
|
43
|
-
dimensionNote?: string;
|
|
44
|
-
bytes: number;
|
|
45
|
-
}
|
|
46
|
-
export declare class ImageInputTooLargeError extends Error {
|
|
47
|
-
readonly bytes: number;
|
|
48
|
-
readonly maxBytes: number;
|
|
49
|
-
constructor(bytes: number, maxBytes: number);
|
|
50
|
-
}
|
|
51
|
-
export declare function ensureSupportedImageInput(image: ImageContent): Promise<ImageContent | null>;
|
|
52
|
-
export interface NormalizeModelContextImagesOptions {
|
|
53
|
-
/** Model the images are bound for; used to derive encoder constraints (WebP exclusion for Ollama). */
|
|
54
|
-
model?: Model;
|
|
55
|
-
resize?: ImageResizeOptions;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Normalize image blocks before they enter agent/model context. This keeps
|
|
59
|
-
* provider request construction from having to resize an unbounded batch of
|
|
60
|
-
* large images on the streaming hot path. Images are processed sequentially on
|
|
61
|
-
* purpose: `resizeImage` may fan out multiple encoders for one image, so the
|
|
62
|
-
* outer image batch must stay bounded.
|
|
63
|
-
*/
|
|
64
|
-
export declare function normalizeModelContextImages(images: ImageContent[] | undefined, options?: NormalizeModelContextImagesOptions): Promise<ImageContent[] | undefined>;
|
|
65
|
-
export declare function loadImageInput(options: LoadImageInputOptions): Promise<LoadedImageInput | null>;
|
|
66
|
-
/** Loads a chat attachment image through the same size and encoder policy as file-backed image inputs. */
|
|
67
|
-
export declare function loadImageAttachmentInput(options: LoadImageAttachmentInputOptions): Promise<LoadedImageInput | null>;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { ImageContent } from "jeopi-ai";
|
|
2
|
-
export interface ImageResizeOptions {
|
|
3
|
-
maxWidth?: number;
|
|
4
|
-
maxHeight?: number;
|
|
5
|
-
/** Smallest allowed edge length (px). Inputs below this are scaled up. */
|
|
6
|
-
minDimension?: number;
|
|
7
|
-
maxBytes?: number;
|
|
8
|
-
jpegQuality?: number;
|
|
9
|
-
excludeWebP?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface ResizedImage {
|
|
12
|
-
buffer: Uint8Array;
|
|
13
|
-
mimeType: string;
|
|
14
|
-
originalWidth: number;
|
|
15
|
-
originalHeight: number;
|
|
16
|
-
width: number;
|
|
17
|
-
height: number;
|
|
18
|
-
wasResized: boolean;
|
|
19
|
-
decodeFailed?: boolean;
|
|
20
|
-
get data(): string;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Resize and recompress an image to fit within the specified max dimensions and file size.
|
|
24
|
-
*
|
|
25
|
-
* Strategy:
|
|
26
|
-
* 1. Probe metadata. If already within all limits, return original.
|
|
27
|
-
* 2. Resize to fit max dimensions and encode at high quality across PNG/JPEG (+ WebP) — return smallest.
|
|
28
|
-
* 3. If still too large, walk a lossy JPEG/WebP quality ladder.
|
|
29
|
-
* 4. If still too large, walk a dimension-scale ladder × quality ladder.
|
|
30
|
-
* 5. If still too large, return the smallest variant produced.
|
|
31
|
-
*
|
|
32
|
-
* Set OMP_NO_WEBP to exclude WebP from encoding (llama.cpp STB doesn't decode it).
|
|
33
|
-
*
|
|
34
|
-
* Backed by `Bun.Image`: a chainable native pipeline that runs decode/transform/encode
|
|
35
|
-
* off the JS thread when the terminal (`.bytes()`) is awaited.
|
|
36
|
-
*/
|
|
37
|
-
export declare function resizeImage(img: ImageContent, options?: ImageResizeOptions): Promise<ResizedImage>;
|
|
38
|
-
/**
|
|
39
|
-
* Format a dimension note for resized images.
|
|
40
|
-
* This helps the model understand the coordinate mapping.
|
|
41
|
-
*/
|
|
42
|
-
export declare function formatDimensionNote(result: ResizedImage): string | undefined;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { type AgentTelemetryConfig } from "jeopi-agent-core";
|
|
2
|
-
import type { Api, completeSimple, ImageContent, Model, TextContent } from "jeopi-ai";
|
|
3
|
-
import type { ModelRegistry } from "../config/model-registry";
|
|
4
|
-
import type { Settings } from "../config/settings";
|
|
5
|
-
import { type LocalProtocolOptions } from "../internal-urls";
|
|
6
|
-
/** Registry surface needed to resolve a vision model and authorize requests. */
|
|
7
|
-
export type VisionFallbackRegistry = Pick<ModelRegistry, "getAvailable" | "getApiKey" | "resolver">;
|
|
8
|
-
export interface DescribeAttachedImagesDeps {
|
|
9
|
-
/** Active (text-only) model the prompt is destined for. */
|
|
10
|
-
activeModel: Model<Api>;
|
|
11
|
-
modelRegistry: VisionFallbackRegistry;
|
|
12
|
-
settings: Settings;
|
|
13
|
-
/** Inputs for resolving the session-scoped `local://` root. */
|
|
14
|
-
localProtocolOptions: LocalProtocolOptions;
|
|
15
|
-
/** `provider/id` of the active model; a last-resort vision-model candidate (filtered to image-capable). */
|
|
16
|
-
activeModelString?: string;
|
|
17
|
-
telemetryConfig?: AgentTelemetryConfig;
|
|
18
|
-
sessionId?: string;
|
|
19
|
-
/** Test seam: overrides the underlying completeSimple call. */
|
|
20
|
-
completeImpl?: typeof completeSimple;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Save each attached image under `local://` and replace it with a descriptive
|
|
24
|
-
* text block. Returns one {@link TextContent} per input image, in order. Never
|
|
25
|
-
* throws for an individual image: a failed description falls back to a note while
|
|
26
|
-
* the saved-path block is still emitted.
|
|
27
|
-
*/
|
|
28
|
-
export declare function describeAttachedImagesForTextModel(images: readonly ImageContent[], deps: DescribeAttachedImagesDeps, signal?: AbortSignal): Promise<TextContent[]>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Narrow a value to a thenable so a rejection handler can be attached.
|
|
3
|
-
*
|
|
4
|
-
* Mirrors the local helper in `mcp/transports/stdio.ts` (kept separate because
|
|
5
|
-
* that copy serves the FileSink stdin-write path and is battle-tested there).
|
|
6
|
-
* This shared copy is the home for the IPC `send()` sites.
|
|
7
|
-
*/
|
|
8
|
-
export declare function isThenable(value: unknown): value is PromiseLike<unknown>;
|
|
9
|
-
/**
|
|
10
|
-
* Send a message to a Bun subprocess over IPC, neutralizing both the
|
|
11
|
-
* synchronous throw ("cannot be used after the process has exited") and any
|
|
12
|
-
* asynchronous rejection (EPIPE from a pipe that broke between exit being
|
|
13
|
-
* observed and the next `send()`). The dead worker is detected separately via
|
|
14
|
-
* `onExit`/`onError` and respawned or disabled by the owning client; an
|
|
15
|
-
* un-awaited EPIPE rejection must not escape as a fatal unhandled rejection
|
|
16
|
-
* that takes down the whole session. See issue #2997.
|
|
17
|
-
*
|
|
18
|
-
* `label` prefixes the debug log on synchronous failure (e.g. "tts").
|
|
19
|
-
*/
|
|
20
|
-
export declare function safeSend(proc: {
|
|
21
|
-
send(message: unknown): unknown;
|
|
22
|
-
}, message: unknown, label: string): void;
|