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
package/src/lsp/config.ts
CHANGED
|
@@ -336,7 +336,7 @@ function getConfigSources(cwd: string): ConfigSource[] {
|
|
|
336
336
|
sources.push(fileConfigSource(path.join(cwd, filename)));
|
|
337
337
|
}
|
|
338
338
|
|
|
339
|
-
// Project config directories (.
|
|
339
|
+
// Project config directories (.jeopi/, .pi/, .claude/)
|
|
340
340
|
const projectDirs = getConfigDirPaths("", { user: false, project: true, cwd });
|
|
341
341
|
for (const dir of projectDirs) {
|
|
342
342
|
for (const filename of filenames) {
|
|
@@ -344,7 +344,7 @@ function getConfigSources(cwd: string): ConfigSource[] {
|
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
-
// User config directories (~/.
|
|
347
|
+
// User config directories (~/.jeopi/agent/, ~/.pi/agent/, ~/.claude/)
|
|
348
348
|
const userDirs = getConfigDirPaths("", { user: true, project: false });
|
|
349
349
|
for (const dir of userDirs) {
|
|
350
350
|
for (const filename of filenames) {
|
|
@@ -374,8 +374,8 @@ function getConfigSources(cwd: string): ConfigSource[] {
|
|
|
374
374
|
*
|
|
375
375
|
* Priority (highest to lowest):
|
|
376
376
|
* 1. Project root: lsp.json/.lsp.json/lsp.yml/.lsp.yml/lsp.yaml/.lsp.yaml
|
|
377
|
-
* 2. Project config dirs: .
|
|
378
|
-
* 3. User config dirs: ~/.
|
|
377
|
+
* 2. Project config dirs: .jeopi/lsp.*, .pi/lsp.*, .claude/lsp.* (+ hidden variants)
|
|
378
|
+
* 3. User config dirs: ~/.jeopi/agent/lsp.*, ~/.pi/agent/lsp.*, ~/.claude/lsp.* (+ hidden variants)
|
|
379
379
|
* 4. User home root: ~/lsp.*, ~/.lsp.*
|
|
380
380
|
* 5. Auto-detect from project markers + available binaries
|
|
381
381
|
*
|
package/src/lsp/index.ts
CHANGED
|
@@ -2060,7 +2060,7 @@ export class LspTool implements AgentTool<typeof lspSchema, LspToolDetails, Them
|
|
|
2060
2060
|
|
|
2061
2061
|
if (action === "reload" && (isWorkspace || !resolvedFile)) {
|
|
2062
2062
|
// `reload *` is the user's explicit request to re-read config from
|
|
2063
|
-
// disk. Drop the per-cwd cache entry so `.
|
|
2063
|
+
// disk. Drop the per-cwd cache entry so `.jeopi/lsp.json`, root markers,
|
|
2064
2064
|
// and plugin configs added after the first LSP call become visible —
|
|
2065
2065
|
// otherwise `getConfig` returns the first observation for the rest of
|
|
2066
2066
|
// the process lifetime (#3546).
|
package/src/main.ts
CHANGED
|
@@ -747,7 +747,7 @@ export async function createSessionManager(
|
|
|
747
747
|
|
|
748
748
|
/** Discover SYSTEM.md file if no CLI system prompt was provided */
|
|
749
749
|
function discoverSystemPromptFile(): string | undefined {
|
|
750
|
-
// Check project-local first (.
|
|
750
|
+
// Check project-local first (.jeopi/SYSTEM.md, .pi/SYSTEM.md legacy)
|
|
751
751
|
const projectPath = findConfigFile("SYSTEM.md", { user: false });
|
|
752
752
|
if (projectPath) {
|
|
753
753
|
return projectPath;
|
package/src/mcp/config-writer.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* MCP Configuration File Writer
|
|
3
3
|
*
|
|
4
|
-
* Utilities for reading/writing .
|
|
4
|
+
* Utilities for reading/writing .jeopi/mcp.json files at user or project level.
|
|
5
5
|
*/
|
|
6
6
|
import * as fs from "node:fs";
|
|
7
7
|
import * as path from "node:path";
|
|
@@ -270,7 +270,7 @@ export interface SetMcpServerEnabledOptions {
|
|
|
270
270
|
projectPath: string;
|
|
271
271
|
/**
|
|
272
272
|
* Absolute path to the loaded row's source mcp.json. Provide ONLY for
|
|
273
|
-
* formats this codebase owns (native `.
|
|
273
|
+
* formats this codebase owns (native `.jeopi/mcp.json` and `mcp-json`
|
|
274
274
|
* `mcp.json`/`.mcp.json`). Tool-owned configs (opencode.json, claude.json,
|
|
275
275
|
* settings.json …) MUST be omitted; we never mutate another tool's file.
|
|
276
276
|
*/
|
package/src/memories/index.ts
CHANGED
|
@@ -17,6 +17,7 @@ import readPathTemplate from "../prompts/memories/read-path.md" with { type: "te
|
|
|
17
17
|
import stageOneInputTemplate from "../prompts/memories/stage_one_input.md" with { type: "text" };
|
|
18
18
|
import stageOneSystemTemplate from "../prompts/memories/stage_one_system.md" with { type: "text" };
|
|
19
19
|
import type { AgentSession } from "../session/agent-session";
|
|
20
|
+
import { okfTimestamp, parseOkfDocument, renderOkfDocument, stripOkfFrontmatter } from "./okf";
|
|
20
21
|
import {
|
|
21
22
|
claimStage1Jobs,
|
|
22
23
|
clearMemoryData as clearMemoryDataInDb,
|
|
@@ -186,7 +187,7 @@ async function readMemoryToolDeveloperInstructionsSnapshot(
|
|
|
186
187
|
|
|
187
188
|
let summary = "";
|
|
188
189
|
try {
|
|
189
|
-
summary = (await Bun.file(path.join(memoryRoot, "memory_summary.md")).text()).trim();
|
|
190
|
+
summary = stripOkfFrontmatter(await Bun.file(path.join(memoryRoot, "memory_summary.md")).text()).trim();
|
|
190
191
|
} catch {
|
|
191
192
|
// Missing or unreadable summary — injection is best-effort; fall through
|
|
192
193
|
// so any captured lessons still surface on their own.
|
|
@@ -790,10 +791,18 @@ async function syncPhase2Artifacts(memoryRoot: string, outputs: Stage1OutputRow[
|
|
|
790
791
|
const stem = formatRolloutFilename(row.threadId, row.rolloutSlug);
|
|
791
792
|
const filename = `${stem}.md`;
|
|
792
793
|
keepFiles.add(filename);
|
|
793
|
-
const
|
|
794
|
-
|
|
794
|
+
const document = renderOkfDocument(
|
|
795
|
+
{
|
|
796
|
+
type: "Session Summary",
|
|
797
|
+
title: `Rollout ${stem}`,
|
|
798
|
+
description: "Summary of one jeopi session rollout, feeding memory consolidation.",
|
|
799
|
+
tags: ["jeopi", "memory", "rollout"],
|
|
800
|
+
timestamp: okfTimestamp(row.sourceUpdatedAt),
|
|
801
|
+
extra: { thread_id: row.threadId, updated_at: row.sourceUpdatedAt },
|
|
802
|
+
},
|
|
803
|
+
row.rolloutSummary,
|
|
795
804
|
);
|
|
796
|
-
await Bun.write(path.join(summariesDir, filename),
|
|
805
|
+
await Bun.write(path.join(summariesDir, filename), document);
|
|
797
806
|
}
|
|
798
807
|
|
|
799
808
|
const currentFiles = await fs.readdir(summariesDir).catch(() => [] as string[]);
|
|
@@ -804,7 +813,17 @@ async function syncPhase2Artifacts(memoryRoot: string, outputs: Stage1OutputRow[
|
|
|
804
813
|
}
|
|
805
814
|
|
|
806
815
|
const rawBody = buildRawMemoriesMarkdown(outputs);
|
|
807
|
-
|
|
816
|
+
const rawDocument = renderOkfDocument(
|
|
817
|
+
{
|
|
818
|
+
type: "Raw Memories",
|
|
819
|
+
title: "jeopi Raw Memories",
|
|
820
|
+
description: "Per-thread raw memory extracts feeding the consolidation pass.",
|
|
821
|
+
tags: ["jeopi", "memory", "raw"],
|
|
822
|
+
timestamp: okfTimestamp(),
|
|
823
|
+
},
|
|
824
|
+
rawBody,
|
|
825
|
+
);
|
|
826
|
+
await Bun.write(path.join(memoryRoot, "raw_memories.md"), rawDocument);
|
|
808
827
|
}
|
|
809
828
|
|
|
810
829
|
async function cleanupConsolidatedArtifacts(memoryRoot: string): Promise<void> {
|
|
@@ -837,7 +856,18 @@ async function readRolloutSummaries(memoryRoot: string): Promise<string> {
|
|
|
837
856
|
.text()
|
|
838
857
|
.catch(() => "");
|
|
839
858
|
if (!text.trim()) continue;
|
|
840
|
-
|
|
859
|
+
// OKF atoms carry thread identity in frontmatter; rebuild the plain
|
|
860
|
+
// header the consolidation prompt has always seen. Legacy files (no
|
|
861
|
+
// frontmatter) already carry that header inline and pass verbatim.
|
|
862
|
+
const { frontmatter, body } = parseOkfDocument(text);
|
|
863
|
+
const threadId = typeof frontmatter?.thread_id === "string" ? frontmatter.thread_id : undefined;
|
|
864
|
+
const updatedAt = typeof frontmatter?.updated_at === "number" ? frontmatter.updated_at : undefined;
|
|
865
|
+
const content =
|
|
866
|
+
threadId !== undefined
|
|
867
|
+
? [`thread_id: ${threadId}`, `updated_at: ${updatedAt ?? ""}`, "", body.trim()].join("\n")
|
|
868
|
+
: body.trim();
|
|
869
|
+
if (!content.trim()) continue;
|
|
870
|
+
blocks.push(`--- ${name} ---\n${content.trim()}`);
|
|
841
871
|
}
|
|
842
872
|
if (blocks.length === 0) return "No rollout summaries yet.";
|
|
843
873
|
return blocks.join("\n\n");
|
|
@@ -860,7 +890,7 @@ async function runConsolidationModel(options: {
|
|
|
860
890
|
}>;
|
|
861
891
|
}> {
|
|
862
892
|
const { memoryRoot, model, apiKey } = options;
|
|
863
|
-
const rawMemories = await Bun.file(path.join(memoryRoot, "raw_memories.md")).text();
|
|
893
|
+
const rawMemories = stripOkfFrontmatter(await Bun.file(path.join(memoryRoot, "raw_memories.md")).text());
|
|
864
894
|
const rolloutSummaries = await readRolloutSummaries(memoryRoot);
|
|
865
895
|
const input = prompt.render(consolidationTemplate, {
|
|
866
896
|
raw_memories: truncateByApproxTokens(rawMemories, 20_000),
|
|
@@ -938,8 +968,35 @@ async function applyConsolidation(
|
|
|
938
968
|
}>;
|
|
939
969
|
},
|
|
940
970
|
): Promise<void> {
|
|
941
|
-
|
|
942
|
-
await Bun.write(
|
|
971
|
+
const timestamp = okfTimestamp();
|
|
972
|
+
await Bun.write(
|
|
973
|
+
path.join(memoryRoot, "MEMORY.md"),
|
|
974
|
+
renderOkfDocument(
|
|
975
|
+
{
|
|
976
|
+
type: "Memory",
|
|
977
|
+
title: "jeopi Consolidated Memory",
|
|
978
|
+
description: "Long-term consolidated memory jeopi maintains for this project.",
|
|
979
|
+
tags: ["jeopi", "memory", "consolidated"],
|
|
980
|
+
timestamp,
|
|
981
|
+
},
|
|
982
|
+
// The model occasionally emits its own frontmatter; strip it so the
|
|
983
|
+
// atom never carries a nested fence.
|
|
984
|
+
stripOkfFrontmatter(consolidated.memoryMd.trim()),
|
|
985
|
+
),
|
|
986
|
+
);
|
|
987
|
+
await Bun.write(
|
|
988
|
+
path.join(memoryRoot, "memory_summary.md"),
|
|
989
|
+
renderOkfDocument(
|
|
990
|
+
{
|
|
991
|
+
type: "Memory Summary",
|
|
992
|
+
title: "jeopi Memory Summary",
|
|
993
|
+
description: "Prompt-time memory guidance injected at jeopi session start.",
|
|
994
|
+
tags: ["jeopi", "memory", "summary"],
|
|
995
|
+
timestamp,
|
|
996
|
+
},
|
|
997
|
+
stripOkfFrontmatter(consolidated.memorySummary.trim()),
|
|
998
|
+
),
|
|
999
|
+
);
|
|
943
1000
|
const skillsDir = path.join(memoryRoot, "skills");
|
|
944
1001
|
await fs.mkdir(skillsDir, { recursive: true });
|
|
945
1002
|
const keep = new Set<string>();
|
|
@@ -1341,23 +1398,37 @@ async function appendLearnedLine(filePath: string, line: string): Promise<void>
|
|
|
1341
1398
|
} catch (err) {
|
|
1342
1399
|
if (!isEnoent(err)) throw err;
|
|
1343
1400
|
}
|
|
1401
|
+
// The `- ` filter keeps only lesson lines, so a legacy file (no
|
|
1402
|
+
// frontmatter) and an OKF atom (frontmatter re-rendered below) both fold
|
|
1403
|
+
// into the same newest-first list.
|
|
1344
1404
|
const prior = existing
|
|
1345
1405
|
.split("\n")
|
|
1346
1406
|
.map(l => l.trim())
|
|
1347
1407
|
.filter(l => l.startsWith("- ") && l !== line);
|
|
1348
1408
|
const lessons = [line, ...prior].slice(0, MAX_LEARNED_LESSONS);
|
|
1349
|
-
|
|
1409
|
+
const document = renderOkfDocument(
|
|
1410
|
+
{
|
|
1411
|
+
type: "Lessons",
|
|
1412
|
+
title: "jeopi Learned Lessons",
|
|
1413
|
+
description: "Lessons captured via the learn tool, newest first.",
|
|
1414
|
+
tags: ["jeopi", "memory", "lessons"],
|
|
1415
|
+
timestamp: okfTimestamp(),
|
|
1416
|
+
},
|
|
1417
|
+
lessons.join("\n"),
|
|
1418
|
+
);
|
|
1419
|
+
await Bun.write(filePath, document);
|
|
1350
1420
|
}
|
|
1351
1421
|
|
|
1352
1422
|
/**
|
|
1353
1423
|
* Read `learned.md`, neutralizing each line on read too — a hand-edited or
|
|
1354
1424
|
* pre-existing file bypasses write-time normalization and the block renders
|
|
1355
1425
|
* unescaped into the system prompt. Returns "" when absent/unreadable.
|
|
1426
|
+
* OKF frontmatter is stripped so only lesson lines reach the prompt.
|
|
1356
1427
|
*/
|
|
1357
1428
|
async function readLearnedLessons(memoryRoot: string): Promise<string> {
|
|
1358
1429
|
let raw = "";
|
|
1359
1430
|
try {
|
|
1360
|
-
raw = (await Bun.file(path.join(memoryRoot, LEARNED_LESSONS_FILE)).text()).trim();
|
|
1431
|
+
raw = stripOkfFrontmatter(await Bun.file(path.join(memoryRoot, LEARNED_LESSONS_FILE)).text()).trim();
|
|
1361
1432
|
} catch {
|
|
1362
1433
|
return "";
|
|
1363
1434
|
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Open Knowledge Format (OKF v0.1) support for jeopi memory documents.
|
|
3
|
+
*
|
|
4
|
+
* OKF (https://github.com/google/open-knowledge-format — the format jeo-skills'
|
|
5
|
+
* `okf` skill validates and consumes) stores knowledge atoms as
|
|
6
|
+
* YAML-frontmatter Markdown: required `type` / `title` / `description`,
|
|
7
|
+
* optional `resource` / `tags` / `timestamp`. jeopi's local memory backend
|
|
8
|
+
* writes its artifacts (`MEMORY.md`, `memory_summary.md`, `raw_memories.md`,
|
|
9
|
+
* `rollout_summaries/*.md`, `learned.md`) as OKF atoms so any OKF consumer can
|
|
10
|
+
* read a jeopi memory root as a knowledge bundle.
|
|
11
|
+
*
|
|
12
|
+
* Prompt-injection read paths strip the frontmatter via
|
|
13
|
+
* {@link stripOkfFrontmatter} so the model-facing text stays unchanged;
|
|
14
|
+
* legacy files without frontmatter pass through verbatim.
|
|
15
|
+
*/
|
|
16
|
+
import { YAML } from "bun";
|
|
17
|
+
|
|
18
|
+
/** OKF v0.1 frontmatter fields. Only `type`/`title`/`description` are required. */
|
|
19
|
+
export interface OkfFields {
|
|
20
|
+
type: string;
|
|
21
|
+
title: string;
|
|
22
|
+
description: string;
|
|
23
|
+
resource?: string;
|
|
24
|
+
tags?: readonly string[];
|
|
25
|
+
/** ISO 8601 datetime, e.g. `2026-07-02T10:00:00Z`. */
|
|
26
|
+
timestamp?: string;
|
|
27
|
+
/** Producer-specific extension fields (e.g. `thread_id`). */
|
|
28
|
+
extra?: Record<string, string | number>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const FENCE = "---";
|
|
32
|
+
|
|
33
|
+
function yamlScalar(value: string | number): string {
|
|
34
|
+
if (typeof value === "number") return String(value);
|
|
35
|
+
return JSON.stringify(value);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** Render an OKF atom: YAML frontmatter followed by the markdown body. */
|
|
39
|
+
export function renderOkfDocument(fields: OkfFields, body: string): string {
|
|
40
|
+
const lines: string[] = [FENCE];
|
|
41
|
+
lines.push(`type: ${yamlScalar(fields.type)}`);
|
|
42
|
+
lines.push(`title: ${yamlScalar(fields.title)}`);
|
|
43
|
+
lines.push(`description: ${yamlScalar(fields.description)}`);
|
|
44
|
+
if (fields.resource) lines.push(`resource: ${yamlScalar(fields.resource)}`);
|
|
45
|
+
if (fields.tags?.length) lines.push(`tags: [${fields.tags.join(", ")}]`);
|
|
46
|
+
if (fields.timestamp) lines.push(`timestamp: ${fields.timestamp}`);
|
|
47
|
+
for (const [key, value] of Object.entries(fields.extra ?? {})) {
|
|
48
|
+
lines.push(`${key}: ${yamlScalar(value)}`);
|
|
49
|
+
}
|
|
50
|
+
lines.push(FENCE, "");
|
|
51
|
+
const trimmedBody = body.trim();
|
|
52
|
+
return trimmedBody ? `${lines.join("\n")}\n${trimmedBody}\n` : `${lines.join("\n")}`;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/** Locate the closing fence line of a leading frontmatter block, or -1. */
|
|
56
|
+
function findFrontmatterEnd(lines: string[]): number {
|
|
57
|
+
if (lines[0]?.trim() !== FENCE) return -1;
|
|
58
|
+
for (let index = 1; index < lines.length; index++) {
|
|
59
|
+
if (lines[index].trim() === FENCE) return index;
|
|
60
|
+
}
|
|
61
|
+
return -1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/** Parsed frontmatter (undefined when absent/unparseable) plus the body. */
|
|
65
|
+
export interface OkfDocumentParts {
|
|
66
|
+
frontmatter: Record<string, unknown> | undefined;
|
|
67
|
+
body: string;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Split an OKF document into frontmatter and body. Tolerant by design: text
|
|
72
|
+
* without a leading fence (legacy jeopi memory files, hand-edited files)
|
|
73
|
+
* returns the whole text as body with `frontmatter: undefined`, and a
|
|
74
|
+
* malformed YAML block still strips so prompt paths never leak fences.
|
|
75
|
+
*/
|
|
76
|
+
export function parseOkfDocument(text: string): OkfDocumentParts {
|
|
77
|
+
const lines = text.split("\n");
|
|
78
|
+
const end = findFrontmatterEnd(lines);
|
|
79
|
+
if (end === -1) return { frontmatter: undefined, body: text };
|
|
80
|
+
const body = lines.slice(end + 1).join("\n");
|
|
81
|
+
let frontmatter: Record<string, unknown> | undefined;
|
|
82
|
+
try {
|
|
83
|
+
const parsed = YAML.parse(lines.slice(1, end).join("\n"));
|
|
84
|
+
if (parsed !== null && typeof parsed === "object" && !Array.isArray(parsed)) {
|
|
85
|
+
frontmatter = parsed as Record<string, unknown>;
|
|
86
|
+
}
|
|
87
|
+
} catch {
|
|
88
|
+
// Malformed YAML — treat as fenceless body strip.
|
|
89
|
+
}
|
|
90
|
+
return { frontmatter, body };
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/** Body of an OKF document with any leading frontmatter removed. */
|
|
94
|
+
export function stripOkfFrontmatter(text: string): string {
|
|
95
|
+
return parseOkfDocument(text).body;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Validate a document against the OKF v0.1 rules the jeo-skills `okf` linter
|
|
100
|
+
* enforces: a leading `---` fence, a closing fence, and non-empty
|
|
101
|
+
* `type` / `title` / `description` fields. Returns an empty array when valid.
|
|
102
|
+
*/
|
|
103
|
+
export function validateOkfDocument(text: string): string[] {
|
|
104
|
+
const errors: string[] = [];
|
|
105
|
+
const lines = text.split("\n");
|
|
106
|
+
if (lines[0]?.trim() !== FENCE) {
|
|
107
|
+
return ["missing leading frontmatter fence (---)"];
|
|
108
|
+
}
|
|
109
|
+
const end = findFrontmatterEnd(lines);
|
|
110
|
+
if (end === -1) {
|
|
111
|
+
return ["unclosed frontmatter"];
|
|
112
|
+
}
|
|
113
|
+
const { frontmatter } = parseOkfDocument(text);
|
|
114
|
+
if (!frontmatter) {
|
|
115
|
+
return ["frontmatter is not a YAML mapping"];
|
|
116
|
+
}
|
|
117
|
+
for (const field of ["type", "title", "description"] as const) {
|
|
118
|
+
const value = frontmatter[field];
|
|
119
|
+
if (typeof value !== "string" || value.trim() === "") {
|
|
120
|
+
errors.push(`missing required field '${field}'`);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
return errors;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/** Format a unix-seconds timestamp as the ISO 8601 string OKF expects. */
|
|
127
|
+
export function okfTimestamp(unixSeconds: number = Math.floor(Date.now() / 1000)): string {
|
|
128
|
+
return new Date(unixSeconds * 1000).toISOString().replace(/\.\d{3}Z$/, "Z");
|
|
129
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* jeo TUI identity contract: a name label on its own line leads assistant
|
|
3
|
+
* segments with visible prose (jeo-code's `agentLabel()` ported to jeopi).
|
|
4
|
+
* Tool-call-only blocks stay unlabeled, and an empty `ui.agentLabel` disables
|
|
5
|
+
* the label entirely.
|
|
6
|
+
*/
|
|
7
|
+
import { afterEach, beforeAll, describe, expect, it } from "bun:test";
|
|
8
|
+
import type { AssistantMessage } from "jeopi-ai";
|
|
9
|
+
import { Settings } from "../../../config/settings";
|
|
10
|
+
import { getThemeByName, setThemeInstance, type Theme } from "../../theme/theme";
|
|
11
|
+
import { AssistantMessageComponent, setAssistantAgentLabel } from "../assistant-message";
|
|
12
|
+
|
|
13
|
+
const strip = (lines: readonly string[]): string =>
|
|
14
|
+
lines
|
|
15
|
+
.join("\n")
|
|
16
|
+
.replace(/\x1b\]8;[^\x1b\x07]*(?:\x07|\x1b\\)/g, "")
|
|
17
|
+
.replace(/\x1b\[[0-9;]*m/g, "");
|
|
18
|
+
|
|
19
|
+
function assistantMessage(content: AssistantMessage["content"]): AssistantMessage {
|
|
20
|
+
return {
|
|
21
|
+
role: "assistant",
|
|
22
|
+
content,
|
|
23
|
+
stopReason: "stop",
|
|
24
|
+
usage: {
|
|
25
|
+
input: 0,
|
|
26
|
+
output: 0,
|
|
27
|
+
cacheRead: 0,
|
|
28
|
+
cacheWrite: 0,
|
|
29
|
+
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0, total: 0 },
|
|
30
|
+
},
|
|
31
|
+
timestamp: Date.now(),
|
|
32
|
+
} as AssistantMessage;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
describe("assistant agent label (jeo identity)", () => {
|
|
36
|
+
let uiTheme: Theme;
|
|
37
|
+
|
|
38
|
+
beforeAll(async () => {
|
|
39
|
+
await Settings.init({ inMemory: true });
|
|
40
|
+
const loaded = await getThemeByName("dark");
|
|
41
|
+
if (!loaded) throw new Error("theme unavailable");
|
|
42
|
+
uiTheme = loaded;
|
|
43
|
+
setThemeInstance(uiTheme);
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
afterEach(() => {
|
|
47
|
+
setAssistantAgentLabel("jeo");
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
it("leads a reply with the label on its own line", () => {
|
|
51
|
+
const component = new AssistantMessageComponent(
|
|
52
|
+
assistantMessage([{ type: "text", text: "The fix is in place." }]),
|
|
53
|
+
);
|
|
54
|
+
const lines = strip(component.render(80)).split("\n");
|
|
55
|
+
const labelLine = lines.findIndex(line => line.trim() === "jeo");
|
|
56
|
+
const proseLine = lines.findIndex(line => line.includes("The fix is in place."));
|
|
57
|
+
expect(labelLine).toBeGreaterThanOrEqual(0);
|
|
58
|
+
expect(proseLine).toBeGreaterThan(labelLine);
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
it("leads a visible thinking block with the label too", () => {
|
|
62
|
+
const component = new AssistantMessageComponent(
|
|
63
|
+
assistantMessage([{ type: "thinking", thinking: "Considering the edge cases first." }]),
|
|
64
|
+
false,
|
|
65
|
+
);
|
|
66
|
+
const text = strip(component.render(80));
|
|
67
|
+
expect(text).toContain("jeo");
|
|
68
|
+
expect(text).toContain("Considering the edge cases first.");
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
it("leaves tool-call-only blocks unlabeled", () => {
|
|
72
|
+
const component = new AssistantMessageComponent(
|
|
73
|
+
assistantMessage([
|
|
74
|
+
{ type: "toolCall", id: "call-1", name: "read", arguments: { path: "a.ts" } },
|
|
75
|
+
] as AssistantMessage["content"]),
|
|
76
|
+
);
|
|
77
|
+
expect(strip(component.render(80))).not.toContain("jeo");
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
it("an empty label disables the identity line", () => {
|
|
81
|
+
setAssistantAgentLabel("");
|
|
82
|
+
const component = new AssistantMessageComponent(assistantMessage([{ type: "text", text: "Done." }]));
|
|
83
|
+
const lines = strip(component.render(80)).split("\n");
|
|
84
|
+
expect(lines.some(line => line.trim() === "jeo")).toBe(false);
|
|
85
|
+
expect(lines.some(line => line.includes("Done."))).toBe(true);
|
|
86
|
+
});
|
|
87
|
+
});
|
|
@@ -163,6 +163,24 @@ export function resetThinkingSpeedTracker(): void {
|
|
|
163
163
|
sharedSpeedTracker.reset();
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
+
/**
|
|
167
|
+
* Agent identity label led on its own line before each assistant segment —
|
|
168
|
+
* jeo-code's TUI identity ported to jeopi: a bold accent `jeo` name leads
|
|
169
|
+
* thought blocks and replies so the transcript reads as jeo speaking.
|
|
170
|
+
* Configured from `ui.agentLabel` at session start; "" disables the label.
|
|
171
|
+
*/
|
|
172
|
+
let assistantAgentLabel = "jeo";
|
|
173
|
+
|
|
174
|
+
/** Set the assistant identity label ("" disables). Called from interactive-mode startup. */
|
|
175
|
+
export function setAssistantAgentLabel(label: string): void {
|
|
176
|
+
assistantAgentLabel = label.trim();
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/** Current assistant identity label ("" when disabled). */
|
|
180
|
+
export function getAssistantAgentLabel(): string {
|
|
181
|
+
return assistantAgentLabel;
|
|
182
|
+
}
|
|
183
|
+
|
|
166
184
|
/**
|
|
167
185
|
* Linear-interpolate two `#rrggbb` colors in sRGB space. `t` clamps to [0,1]:
|
|
168
186
|
* `t = 0` → `from`, `t = 1` → `to`. Drives the streaming speed badge, fading
|
|
@@ -728,6 +746,15 @@ export class AssistantMessageComponent extends Container {
|
|
|
728
746
|
resolveThinkingDisplay(c, this.proseOnlyThinking).visible),
|
|
729
747
|
);
|
|
730
748
|
|
|
749
|
+
// jeo identity: a bold accent name label on its own line leads every
|
|
750
|
+
// assistant segment with visible prose or a live thinking pulse —
|
|
751
|
+
// mirrors jeo-code's TUI (`agentLabel()` leading thought blocks and the
|
|
752
|
+
// final reply). Tool-call-only blocks stay unlabeled; their cards carry
|
|
753
|
+
// their own identity.
|
|
754
|
+
if (assistantAgentLabel && (hasVisibleContent || this.#shouldAnimateThinking(message))) {
|
|
755
|
+
this.#contentContainer.addChild(new Text(theme.fg("accent", theme.bold(assistantAgentLabel)), 1, 0));
|
|
756
|
+
}
|
|
757
|
+
|
|
731
758
|
// Render content in order
|
|
732
759
|
let thinkingIndex = 0;
|
|
733
760
|
for (let i = 0; i < message.content.length; i++) {
|
|
@@ -266,7 +266,7 @@ export class ExtensionDashboard implements Component {
|
|
|
266
266
|
if (!sm) return;
|
|
267
267
|
|
|
268
268
|
// MCP toggles route through the canonical denylist in
|
|
269
|
-
// `~/.
|
|
269
|
+
// `~/.jeopi/agent/mcp.json` so `/mcp list`, the MCP runtime, and this
|
|
270
270
|
// dashboard agree on every server's enabled state (issue #3827).
|
|
271
271
|
if (extensionId.startsWith("mcp:")) {
|
|
272
272
|
void this.#toggleMcpExtension(extensionId, enabled, sm);
|
|
@@ -32,8 +32,8 @@ interface GenerateCandidateOptions {
|
|
|
32
32
|
type SaveCandidateResult = { kind: "saved" | "aborted" | "rejected" } | { kind: "amend"; feedback: string };
|
|
33
33
|
|
|
34
34
|
const MAX_ATTEMPTS = 3;
|
|
35
|
-
const PROJECT_OPTION = "This project (.
|
|
36
|
-
const GLOBAL_OPTION = "Global — all projects (~/.
|
|
35
|
+
const PROJECT_OPTION = "This project (.jeopi/rules)";
|
|
36
|
+
const GLOBAL_OPTION = "Global — all projects (~/.jeopi/agent/rules)";
|
|
37
37
|
const AMEND_OPTION = "Amend with feedback…";
|
|
38
38
|
|
|
39
39
|
export class OmfgController {
|
|
@@ -281,7 +281,7 @@ export class SSHCommandController {
|
|
|
281
281
|
|
|
282
282
|
// Show user-level hosts
|
|
283
283
|
if (userHosts.length > 0) {
|
|
284
|
-
lines.push(theme.fg("accent", "User level") + theme.fg("muted", ` (~/.
|
|
284
|
+
lines.push(theme.fg("accent", "User level") + theme.fg("muted", ` (~/.jeopi/agent/ssh.json):`));
|
|
285
285
|
for (const name of userHosts) {
|
|
286
286
|
const config = userConfig.hosts![name];
|
|
287
287
|
const details = this.#formatHostDetails(config);
|
|
@@ -292,7 +292,7 @@ export class SSHCommandController {
|
|
|
292
292
|
|
|
293
293
|
// Show project-level hosts
|
|
294
294
|
if (projectHosts.length > 0) {
|
|
295
|
-
lines.push(theme.fg("accent", "Project level") + theme.fg("muted", ` (.
|
|
295
|
+
lines.push(theme.fg("accent", "Project level") + theme.fg("muted", ` (.jeopi/ssh.json):`));
|
|
296
296
|
for (const name of projectHosts) {
|
|
297
297
|
const config = projectConfig.hosts![name];
|
|
298
298
|
const details = this.#formatHostDetails(config);
|
|
@@ -122,7 +122,7 @@ import { getEditorCommand, openInEditor } from "../utils/external-editor";
|
|
|
122
122
|
import { getSessionAccentAnsi, getSessionAccentHex } from "../utils/session-color";
|
|
123
123
|
import { messageHasDisplayableThinking } from "../utils/thinking-display";
|
|
124
124
|
import { popTerminalTitle, pushTerminalTitle, setSessionTerminalTitle } from "../utils/title-generator";
|
|
125
|
-
import type
|
|
125
|
+
import { type AssistantMessageComponent, setAssistantAgentLabel } from "./components/assistant-message";
|
|
126
126
|
import type { BashExecutionComponent } from "./components/bash-execution";
|
|
127
127
|
import { ChatBlock, type ChatBlockHost } from "./components/chat-block";
|
|
128
128
|
import { CustomEditor } from "./components/custom-editor";
|
|
@@ -677,6 +677,8 @@ export class InteractiveMode implements InteractiveModeContext {
|
|
|
677
677
|
|
|
678
678
|
this.hideThinkingBlock = settings.get("hideThinkingBlock");
|
|
679
679
|
this.proseOnlyThinking = settings.get("proseOnlyThinking");
|
|
680
|
+
// jeo TUI identity: the accent name label leading assistant segments.
|
|
681
|
+
setAssistantAgentLabel(settings.get("ui.agentLabel") ?? "jeo");
|
|
680
682
|
|
|
681
683
|
const hookCommands: SlashCommand[] = (
|
|
682
684
|
this.session.extensionRunner?.getRegisteredCommands(BUILTIN_SLASH_COMMAND_RESERVED_NAMES) ?? []
|
|
@@ -15,33 +15,43 @@ Crystallize the request into a seed before any planning:
|
|
|
15
15
|
1. Read the relevant code first so questions are grounded in the repo, not generic.
|
|
16
16
|
2. If the request is ambiguous, ask the user (via `ask`, batched — not one at a time) until you can state: **goal**, **constraints**, **out-of-scope**, and **acceptance criteria**. Acceptance criteria MUST be concrete and mechanically checkable (a command, a test, an observable behavior) — "works well" or "is clean" is not a criterion; push back and sharpen it instead of accepting it.
|
|
17
17
|
3. Freeze the seed: write `local://jeo-seed.md` with those four sections. The seed is immutable for the rest of the run — scope changes require a new interview round, never silent drift.
|
|
18
|
-
4. If the request is already concrete, write the seed directly and say so; do not manufacture interview rounds.
|
|
18
|
+
4. If the request is already concrete, write the seed directly and say so; do not manufacture interview rounds. At most two batched `ask` rounds — if ambiguity survives both, record the residual as an explicit assumption in the seed instead of looping.
|
|
19
19
|
|
|
20
20
|
## Phase 2 — Plan
|
|
21
21
|
|
|
22
|
-
Spawn a `plan` agent with the seed (pass `local://jeo-seed.md` in the assignment). The plan MUST name concrete files, sequencing, and per-criterion verification steps.
|
|
22
|
+
Spawn a `plan` agent with the seed (pass `local://jeo-seed.md` in the assignment — by reference, never inlined). The plan MUST name concrete files, sequencing, and per-criterion verification steps. Persist the returned plan to `local://jeo-plan.md` so the critic and executors read it by reference.
|
|
23
23
|
|
|
24
|
-
## Phase 3 — Critic gate (blocking)
|
|
24
|
+
## Phase 3 — Critic gate (blocking, runtime-enforced)
|
|
25
25
|
|
|
26
|
-
Spawn a `critic` agent with the seed and
|
|
26
|
+
Spawn a `critic` agent with the seed and plan paths. This gate is real — and it is enforced by the runtime, not just this prompt: after a non-okay verdict, the `task` tool refuses to spawn non-read-only agents and `write`/`edit` lock the working tree until a fresh critic returns `okay` (or the user sends a new message).
|
|
27
27
|
|
|
28
|
-
- `okay` → proceed to Phase 4.
|
|
29
|
-
- `iterate` →
|
|
28
|
+
- `okay` → the gate opens; proceed to Phase 4.
|
|
29
|
+
- `iterate` → revise the plan against `required_fixes`, then re-submit to a fresh `critic`. Convergence contract: the revised plan addresses **every** required fix explicitly (or names why one is rejected, with evidence); re-submitting an unchanged plan is prohibited. Maximum two iterations — the runtime closes the loop after three consecutive non-okay verdicts; stop and report the surviving gaps to the user instead of executing anyway.
|
|
30
30
|
- `reject` → stop. Report the disqualifying evidence and return to Phase 1 or ask the user.
|
|
31
31
|
|
|
32
|
-
You NEVER execute a plan whose latest critic verdict is not `okay
|
|
32
|
+
You NEVER execute a plan whose latest critic verdict is not `okay` — and the runtime will not let you.
|
|
33
33
|
|
|
34
34
|
## Phase 4 — Execute
|
|
35
35
|
|
|
36
|
-
Decompose the approved plan into bounded tasks and delegate via `task` (parallel where files are independent, serial where they depend). Each assignment carries: its slice of the plan, the seed's constraints, and the acceptance criterion it serves. Each task is a bounded subgoal — verify one before starting the next; when a task fails, extract what the failure proved and feed that fact into the next attempt's assignment instead of retrying unchanged.
|
|
36
|
+
Decompose the approved plan into bounded tasks and delegate via `task` (parallel where files are independent, serial where they depend). Each assignment carries: its slice of the plan, the seed's constraints, and the acceptance criterion it serves. Each task is a bounded subgoal — verify one before starting the next; when a task fails, extract what the failure proved and feed that fact into the next attempt's assignment instead of retrying unchanged. At most two retries per task; a third failure means the subgoal is mis-scoped — split it or report it, never grind.
|
|
37
37
|
|
|
38
38
|
## Phase 5 — Verify (artifact gate)
|
|
39
39
|
|
|
40
|
-
- Run the repo's real checks once as a global signal (typecheck/tests/build as the repo defines them).
|
|
40
|
+
- Run the repo's real checks once as a global signal (typecheck/tests/build as the repo defines them). Once — a green suite is not re-run for reassurance.
|
|
41
41
|
- Then walk the seed's acceptance criteria one by one: for each, cite the exact command or observation that proves it, and the changed files serving it.
|
|
42
42
|
- A criterion with no supporting artifact is NOT met — mark it `unresolved` with what is missing; never imply success.
|
|
43
43
|
- Optionally spawn `architect` on the final diff for a structural verdict when the change is substantial.
|
|
44
44
|
|
|
45
|
+
## Loop engineering (token discipline)
|
|
46
|
+
|
|
47
|
+
Every loop in this pipeline is bounded, converging, and honest about what it dropped:
|
|
48
|
+
|
|
49
|
+
- **Reference, don't repeat.** The seed and plan live in `local://` files; every assignment and critic submission passes paths, never pasted bodies. One copy of the plan exists per run.
|
|
50
|
+
- **Delta-only iteration.** Each critic re-submission carries a short delta note — which required fix changed what — so the critic re-reads the plan file, not a re-narrated history.
|
|
51
|
+
- **Every round must change state.** A loop iteration that incorporates no new fact (a fix applied, a lesson from a failure, a user answer) is a prohibited no-op retry.
|
|
52
|
+
- **Hard bounds.** Interview ≤2 ask rounds; critic ≤2 iterations (runtime stop at 3 strikes); per-task retries ≤2; suite runs once. When a bound is hit, the loop's exit is a report to the user, not a silent continuation.
|
|
53
|
+
- **No silent caps.** If bounding dropped coverage (a criterion unverified, a subgoal unsplit), name it in the report — silent truncation reads as "covered everything" when it didn't.
|
|
54
|
+
|
|
45
55
|
## Report
|
|
46
56
|
|
|
47
|
-
End with: seed summary, plan verdict history, per-criterion status (met + evidence / unresolved + reason), changed files, and open risks.
|
|
57
|
+
End with: seed summary, plan verdict history (every verdict, in order), per-criterion status (met + evidence / unresolved + reason), changed files, and open risks.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
## Auto-Learn (experimental)
|
|
2
2
|
|
|
3
|
-
You can grow a library of reusable **managed skills** with the `manage_skill` tool. Managed skills are `SKILL.md` files kept in an isolated directory (`~/.
|
|
3
|
+
You can grow a library of reusable **managed skills** with the `manage_skill` tool. Managed skills are `SKILL.md` files kept in an isolated directory (`~/.jeopi/agent/managed-skills`); they are surfaced to you in future sessions like any other skill.
|
|
4
4
|
|
|
5
5
|
- Use `manage_skill` to `create`, `update`, or `delete` a managed skill when you discover a repeatable procedure worth codifying — a setup sequence, a debugging recipe, a project-specific workflow.
|
|
6
|
-
- **Isolation rule:** managed skills are the ONLY skills you may write. NEVER edit user-authored skills under `~/.
|
|
6
|
+
- **Isolation rule:** managed skills are the ONLY skills you may write. NEVER edit user-authored skills under `~/.jeopi/agent/skills` or `.jeopi/skills`.
|
|
7
7
|
- Capture sparingly and specifically. A skill earns its place only if it will be reused; prefer enhancing an existing managed skill over creating a near-duplicate.
|