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.
Files changed (1115) hide show
  1. package/CHANGELOG.md +11 -3
  2. package/README.md +1 -1
  3. package/dist/cli.js +2940 -2913
  4. package/examples/custom-tools/README.md +1 -1
  5. package/examples/extensions/README.md +1 -1
  6. package/examples/extensions/pirate.ts +1 -1
  7. package/examples/extensions/plan-mode.ts +1 -1
  8. package/examples/extensions/tools.ts +1 -1
  9. package/examples/hooks/README.md +1 -1
  10. package/examples/sdk/01-minimal.ts +1 -1
  11. package/examples/sdk/04-skills.ts +1 -1
  12. package/examples/sdk/06-extensions.ts +3 -3
  13. package/examples/sdk/09-api-keys-and-oauth.ts +2 -2
  14. package/examples/sdk/12-redis-sessions.ts +1 -1
  15. package/examples/sdk/13-sql-sessions.ts +1 -1
  16. package/examples/sdk/README.md +1 -1
  17. package/package.json +39 -39
  18. package/scripts/jeopi +1 -1
  19. package/src/advisor/__tests__/config.test.ts +4 -4
  20. package/src/advisor/watchdog.ts +8 -8
  21. package/src/autolearn/managed-skills.ts +3 -3
  22. package/src/autoresearch/storage.ts +1 -1
  23. package/src/cli/agents-cli.ts +2 -2
  24. package/src/cli/args.ts +2 -2
  25. package/src/cli/auth-broker-cli.ts +1 -1
  26. package/src/cli/commands/migrate-legacy.ts +24 -0
  27. package/src/cli/config-cli.ts +20 -5
  28. package/src/cli/models-cli.ts +1 -1
  29. package/src/cli/ssh-cli.ts +2 -2
  30. package/src/cli/worktree-cli.ts +3 -3
  31. package/src/commands/agents.ts +2 -2
  32. package/src/commands/config.ts +1 -1
  33. package/src/commands/launch.ts +1 -1
  34. package/src/commands/models.ts +1 -1
  35. package/src/commands/ttsr.ts +2 -2
  36. package/src/commands/worktree.ts +3 -3
  37. package/src/config/mcp-schema.json +1 -1
  38. package/src/config/prompt-templates.ts +2 -2
  39. package/src/config/settings-schema.ts +15 -3
  40. package/src/config.ts +10 -10
  41. package/src/discovery/builtin.ts +9 -9
  42. package/src/discovery/helpers.ts +11 -11
  43. package/src/discovery/omp-extension-roots.ts +4 -4
  44. package/src/discovery/omp-plugins.ts +2 -2
  45. package/src/eval/py/runtime.ts +1 -1
  46. package/src/export/custom-share.ts +1 -1
  47. package/src/extensibility/custom-tools/loader.ts +3 -3
  48. package/src/extensibility/extensions/loader.ts +2 -2
  49. package/src/extensibility/hooks/loader.ts +1 -1
  50. package/src/extensibility/plugins/loader.ts +3 -3
  51. package/src/extensibility/plugins/types.ts +1 -1
  52. package/src/internal-urls/docs-index.generated.txt +1 -1
  53. package/src/lsp/config.ts +4 -4
  54. package/src/lsp/index.ts +1 -1
  55. package/src/main.ts +1 -1
  56. package/src/mcp/config-writer.ts +2 -2
  57. package/src/memories/index.ts +82 -11
  58. package/src/memories/okf.ts +129 -0
  59. package/src/modes/components/__tests__/assistant-agent-label.test.ts +87 -0
  60. package/src/modes/components/assistant-message.ts +27 -0
  61. package/src/modes/components/extensions/extension-dashboard.ts +1 -1
  62. package/src/modes/controllers/omfg-controller.ts +2 -2
  63. package/src/modes/controllers/ssh-command-controller.ts +2 -2
  64. package/src/modes/interactive-mode.ts +3 -1
  65. package/src/prompts/agents/jeo.md +20 -10
  66. package/src/prompts/system/autolearn-guidance.md +2 -2
  67. package/src/prompts/system/system-prompt.md +10 -1
  68. package/src/prompts/tools/learn.md +1 -1
  69. package/src/prompts/tools/manage-skill.md +1 -1
  70. package/src/sdk.ts +7 -5
  71. package/src/secrets/index.ts +2 -2
  72. package/src/session/agent-session.ts +85 -5
  73. package/src/session/auth-broker-config.ts +2 -2
  74. package/src/session/snapcompact-savings-journal.ts +1 -1
  75. package/src/slash-commands/helpers/mcp.ts +1 -1
  76. package/src/task/commands.ts +1 -1
  77. package/src/task/critic-gate.test.ts +181 -0
  78. package/src/task/critic-gate.ts +148 -0
  79. package/src/task/discovery.ts +5 -5
  80. package/src/task/executor.ts +1 -1
  81. package/src/task/index.ts +35 -2
  82. package/src/tools/acp-bridge.ts +2 -2
  83. package/src/tools/browser/launch.ts +1 -1
  84. package/src/tools/index.ts +6 -1
  85. package/src/tools/plan-mode-guard.ts +16 -0
  86. package/src/tools/report-tool-issue.ts +2 -2
  87. package/src/utils/changelog.ts +2 -2
  88. package/dist/types/advisor/__tests__/advisor.test.d.ts +0 -1
  89. package/dist/types/advisor/__tests__/config.test.d.ts +0 -1
  90. package/dist/types/advisor/__tests__/emission-guard.test.d.ts +0 -1
  91. package/dist/types/advisor/advise-tool.d.ts +0 -106
  92. package/dist/types/advisor/config.d.ts +0 -90
  93. package/dist/types/advisor/emission-guard.d.ts +0 -73
  94. package/dist/types/advisor/index.d.ts +0 -6
  95. package/dist/types/advisor/runtime.d.ts +0 -76
  96. package/dist/types/advisor/transcript-recorder.d.ts +0 -63
  97. package/dist/types/advisor/watchdog.d.ts +0 -38
  98. package/dist/types/async/index.d.ts +0 -1
  99. package/dist/types/async/job-manager.d.ts +0 -121
  100. package/dist/types/auto-thinking/classifier.d.ts +0 -37
  101. package/dist/types/autolearn/controller.d.ts +0 -25
  102. package/dist/types/autolearn/managed-skills.d.ts +0 -45
  103. package/dist/types/autoresearch/dashboard.d.ts +0 -4
  104. package/dist/types/autoresearch/git.d.ts +0 -36
  105. package/dist/types/autoresearch/helpers.d.ts +0 -24
  106. package/dist/types/autoresearch/index.d.ts +0 -2
  107. package/dist/types/autoresearch/state.d.ts +0 -17
  108. package/dist/types/autoresearch/storage.d.ts +0 -142
  109. package/dist/types/autoresearch/tools/init-experiment.d.ts +0 -27
  110. package/dist/types/autoresearch/tools/log-experiment.d.ts +0 -21
  111. package/dist/types/autoresearch/tools/run-experiment.d.ts +0 -7
  112. package/dist/types/autoresearch/tools/update-notes.d.ts +0 -11
  113. package/dist/types/autoresearch/types.d.ts +0 -154
  114. package/dist/types/capability/context-file.d.ts +0 -17
  115. package/dist/types/capability/extension-module.d.ts +0 -15
  116. package/dist/types/capability/extension.d.ts +0 -28
  117. package/dist/types/capability/fs.d.ts +0 -20
  118. package/dist/types/capability/hook.d.ts +0 -19
  119. package/dist/types/capability/index.d.ts +0 -80
  120. package/dist/types/capability/instruction.d.ts +0 -17
  121. package/dist/types/capability/mcp.d.ts +0 -47
  122. package/dist/types/capability/prompt.d.ts +0 -15
  123. package/dist/types/capability/rule-buckets.d.ts +0 -30
  124. package/dist/types/capability/rule.d.ts +0 -73
  125. package/dist/types/capability/settings.d.ts +0 -15
  126. package/dist/types/capability/skill.d.ts +0 -43
  127. package/dist/types/capability/slash-command.d.ts +0 -17
  128. package/dist/types/capability/ssh.d.ts +0 -23
  129. package/dist/types/capability/system-prompt.d.ts +0 -15
  130. package/dist/types/capability/tool.d.ts +0 -19
  131. package/dist/types/capability/types.d.ts +0 -154
  132. package/dist/types/cli/agents-cli.d.ts +0 -12
  133. package/dist/types/cli/args.d.ts +0 -80
  134. package/dist/types/cli/auth-broker-cli.d.ts +0 -25
  135. package/dist/types/cli/auth-gateway-cli.d.ts +0 -26
  136. package/dist/types/cli/bench-cli.d.ts +0 -85
  137. package/dist/types/cli/classify-install-target.d.ts +0 -12
  138. package/dist/types/cli/claude-trace-cli.d.ts +0 -54
  139. package/dist/types/cli/commands/init-xdg.d.ts +0 -1
  140. package/dist/types/cli/completion-gen.d.ts +0 -80
  141. package/dist/types/cli/config-cli.d.ts +0 -22
  142. package/dist/types/cli/dry-balance-cli.d.ts +0 -113
  143. package/dist/types/cli/extension-flags.d.ts +0 -36
  144. package/dist/types/cli/file-processor.d.ts +0 -11
  145. package/dist/types/cli/flag-tables.d.ts +0 -144
  146. package/dist/types/cli/gallery-cli.d.ts +0 -49
  147. package/dist/types/cli/gallery-fixtures/agentic.d.ts +0 -2
  148. package/dist/types/cli/gallery-fixtures/codeintel.d.ts +0 -3
  149. package/dist/types/cli/gallery-fixtures/edit.d.ts +0 -3
  150. package/dist/types/cli/gallery-fixtures/fs.d.ts +0 -2
  151. package/dist/types/cli/gallery-fixtures/index.d.ts +0 -4
  152. package/dist/types/cli/gallery-fixtures/interaction.d.ts +0 -3
  153. package/dist/types/cli/gallery-fixtures/memory.d.ts +0 -2
  154. package/dist/types/cli/gallery-fixtures/misc.d.ts +0 -3
  155. package/dist/types/cli/gallery-fixtures/search.d.ts +0 -3
  156. package/dist/types/cli/gallery-fixtures/shell.d.ts +0 -3
  157. package/dist/types/cli/gallery-fixtures/types.d.ts +0 -55
  158. package/dist/types/cli/gallery-fixtures/web.d.ts +0 -2
  159. package/dist/types/cli/gallery-screenshot.d.ts +0 -35
  160. package/dist/types/cli/gc-cli.d.ts +0 -58
  161. package/dist/types/cli/grep-cli.d.ts +0 -17
  162. package/dist/types/cli/grievances-cli.d.ts +0 -37
  163. package/dist/types/cli/initial-message.d.ts +0 -17
  164. package/dist/types/cli/models-cli.d.ts +0 -62
  165. package/dist/types/cli/plugin-cli.d.ts +0 -32
  166. package/dist/types/cli/profile-alias.d.ts +0 -29
  167. package/dist/types/cli/profile-bootstrap.d.ts +0 -55
  168. package/dist/types/cli/read-cli.d.ts +0 -11
  169. package/dist/types/cli/session-picker.d.ts +0 -11
  170. package/dist/types/cli/setup-cli.d.ts +0 -24
  171. package/dist/types/cli/setup-model-picker.d.ts +0 -14
  172. package/dist/types/cli/shell-cli.d.ts +0 -8
  173. package/dist/types/cli/ssh-cli.d.ts +0 -21
  174. package/dist/types/cli/startup-cwd.d.ts +0 -2
  175. package/dist/types/cli/stats-cli.d.ts +0 -17
  176. package/dist/types/cli/tiny-models-cli.d.ts +0 -11
  177. package/dist/types/cli/ttsr-cli.d.ts +0 -39
  178. package/dist/types/cli/update-cli.d.ts +0 -105
  179. package/dist/types/cli/usage-cli.d.ts +0 -95
  180. package/dist/types/cli/web-search-cli.d.ts +0 -20
  181. package/dist/types/cli/worktree-cli.d.ts +0 -26
  182. package/dist/types/cli-commands.d.ts +0 -33
  183. package/dist/types/cli.d.ts +0 -3
  184. package/dist/types/collab/crypto.d.ts +0 -7
  185. package/dist/types/collab/display-name.d.ts +0 -3
  186. package/dist/types/collab/guest.d.ts +0 -52
  187. package/dist/types/collab/host.d.ts +0 -43
  188. package/dist/types/collab/protocol.d.ts +0 -143
  189. package/dist/types/collab/relay-client.d.ts +0 -22
  190. package/dist/types/collab/replication-shrink.d.ts +0 -39
  191. package/dist/types/commands/acp.d.ts +0 -12
  192. package/dist/types/commands/agents.d.ts +0 -31
  193. package/dist/types/commands/auth-broker.d.ts +0 -51
  194. package/dist/types/commands/auth-gateway.d.ts +0 -32
  195. package/dist/types/commands/bench.d.ts +0 -37
  196. package/dist/types/commands/commit.d.ts +0 -27
  197. package/dist/types/commands/complete.d.ts +0 -6
  198. package/dist/types/commands/completions.d.ts +0 -13
  199. package/dist/types/commands/config.d.ts +0 -30
  200. package/dist/types/commands/dry-balance.d.ts +0 -31
  201. package/dist/types/commands/gallery.d.ts +0 -47
  202. package/dist/types/commands/gc.d.ts +0 -37
  203. package/dist/types/commands/grep.d.ts +0 -42
  204. package/dist/types/commands/grievances.d.ts +0 -40
  205. package/dist/types/commands/install.d.ts +0 -51
  206. package/dist/types/commands/join.d.ts +0 -12
  207. package/dist/types/commands/launch.d.ts +0 -148
  208. package/dist/types/commands/models.d.ts +0 -33
  209. package/dist/types/commands/plugin.d.ts +0 -52
  210. package/dist/types/commands/read.d.ts +0 -15
  211. package/dist/types/commands/say.d.ts +0 -24
  212. package/dist/types/commands/setup.d.ts +0 -31
  213. package/dist/types/commands/shell.d.ts +0 -21
  214. package/dist/types/commands/ssh.d.ts +0 -48
  215. package/dist/types/commands/stats.d.ts +0 -25
  216. package/dist/types/commands/tiny-models.d.ts +0 -22
  217. package/dist/types/commands/token.d.ts +0 -34
  218. package/dist/types/commands/ttsr.d.ts +0 -57
  219. package/dist/types/commands/update.d.ts +0 -20
  220. package/dist/types/commands/usage.d.ts +0 -34
  221. package/dist/types/commands/web-search.d.ts +0 -33
  222. package/dist/types/commands/worktree.d.ts +0 -31
  223. package/dist/types/commit/agentic/agent.d.ts +0 -31
  224. package/dist/types/commit/agentic/fallback.d.ts +0 -5
  225. package/dist/types/commit/agentic/index.d.ts +0 -2
  226. package/dist/types/commit/agentic/state.d.ts +0 -58
  227. package/dist/types/commit/agentic/tools/analyze-file.d.ts +0 -18
  228. package/dist/types/commit/agentic/tools/git-file-diff.d.ts +0 -9
  229. package/dist/types/commit/agentic/tools/git-hunk.d.ts +0 -8
  230. package/dist/types/commit/agentic/tools/git-overview.d.ts +0 -8
  231. package/dist/types/commit/agentic/tools/index.d.ts +0 -16
  232. package/dist/types/commit/agentic/tools/propose-changelog.d.ts +0 -27
  233. package/dist/types/commit/agentic/tools/propose-commit.d.ts +0 -15
  234. package/dist/types/commit/agentic/tools/recent-commits.d.ts +0 -6
  235. package/dist/types/commit/agentic/tools/schemas.d.ts +0 -6
  236. package/dist/types/commit/agentic/tools/split-commit.d.ts +0 -32
  237. package/dist/types/commit/agentic/topo-sort.d.ts +0 -4
  238. package/dist/types/commit/agentic/trivial.d.ts +0 -7
  239. package/dist/types/commit/agentic/validation.d.ts +0 -20
  240. package/dist/types/commit/analysis/conventional.d.ts +0 -22
  241. package/dist/types/commit/analysis/index.d.ts +0 -4
  242. package/dist/types/commit/analysis/scope.d.ts +0 -6
  243. package/dist/types/commit/analysis/summary.d.ts +0 -19
  244. package/dist/types/commit/analysis/validation.d.ts +0 -8
  245. package/dist/types/commit/changelog/detect.d.ts +0 -2
  246. package/dist/types/commit/changelog/generate.d.ts +0 -29
  247. package/dist/types/commit/changelog/index.d.ts +0 -30
  248. package/dist/types/commit/changelog/parse.d.ts +0 -2
  249. package/dist/types/commit/cli.d.ts +0 -3
  250. package/dist/types/commit/git/diff.d.ts +0 -5
  251. package/dist/types/commit/index.d.ts +0 -4
  252. package/dist/types/commit/map-reduce/index.d.ts +0 -28
  253. package/dist/types/commit/map-reduce/map-phase.d.ts +0 -17
  254. package/dist/types/commit/map-reduce/reduce-phase.d.ts +0 -13
  255. package/dist/types/commit/map-reduce/utils.d.ts +0 -2
  256. package/dist/types/commit/message.d.ts +0 -2
  257. package/dist/types/commit/model-selection.d.ts +0 -26
  258. package/dist/types/commit/pipeline.d.ts +0 -5
  259. package/dist/types/commit/shared-llm.d.ts +0 -27
  260. package/dist/types/commit/types.d.ts +0 -78
  261. package/dist/types/commit/utils/exclusions.d.ts +0 -4
  262. package/dist/types/commit/utils.d.ts +0 -20
  263. package/dist/types/config/api-key-resolver.d.ts +0 -43
  264. package/dist/types/config/append-only-context-mode.d.ts +0 -9
  265. package/dist/types/config/config-file.d.ts +0 -62
  266. package/dist/types/config/file-lock.d.ts +0 -29
  267. package/dist/types/config/inline-tool-descriptors-mode.d.ts +0 -12
  268. package/dist/types/config/keybindings.d.ts +0 -362
  269. package/dist/types/config/model-discovery.d.ts +0 -68
  270. package/dist/types/config/model-registry.d.ts +0 -251
  271. package/dist/types/config/model-resolver.d.ts +0 -300
  272. package/dist/types/config/model-roles.d.ts +0 -29
  273. package/dist/types/config/models-config-schema.d.ts +0 -697
  274. package/dist/types/config/models-config.d.ts +0 -436
  275. package/dist/types/config/prompt-templates.d.ts +0 -32
  276. package/dist/types/config/provider-globals.d.ts +0 -7
  277. package/dist/types/config/resolve-config-value.d.ts +0 -17
  278. package/dist/types/config/service-tier.d.ts +0 -49
  279. package/dist/types/config/settings-schema.d.ts +0 -5648
  280. package/dist/types/config/settings.d.ts +0 -181
  281. package/dist/types/config.d.ts +0 -92
  282. package/dist/types/cursor.d.ts +0 -22
  283. package/dist/types/dap/client.d.ts +0 -38
  284. package/dist/types/dap/config.d.ts +0 -19
  285. package/dist/types/dap/index.d.ts +0 -4
  286. package/dist/types/dap/session.d.ts +0 -108
  287. package/dist/types/dap/types.d.ts +0 -534
  288. package/dist/types/debug/index.d.ts +0 -15
  289. package/dist/types/debug/log-formatting.d.ts +0 -4
  290. package/dist/types/debug/log-viewer.d.ts +0 -69
  291. package/dist/types/debug/profiler.d.ts +0 -24
  292. package/dist/types/debug/protocol-probe.d.ts +0 -38
  293. package/dist/types/debug/raw-sse-buffer.d.ts +0 -44
  294. package/dist/types/debug/raw-sse.d.ts +0 -19
  295. package/dist/types/debug/remote-debugger.d.ts +0 -45
  296. package/dist/types/debug/report-bundle.d.ts +0 -58
  297. package/dist/types/debug/system-info.d.ts +0 -26
  298. package/dist/types/debug/terminal-info.d.ts +0 -33
  299. package/dist/types/discovery/agents-md.d.ts +0 -1
  300. package/dist/types/discovery/agents.d.ts +0 -12
  301. package/dist/types/discovery/at-imports.d.ts +0 -15
  302. package/dist/types/discovery/builtin-defaults.d.ts +0 -1
  303. package/dist/types/discovery/builtin-rules/index.d.ts +0 -7
  304. package/dist/types/discovery/builtin.d.ts +0 -1
  305. package/dist/types/discovery/claude-plugins.d.ts +0 -1
  306. package/dist/types/discovery/claude.d.ts +0 -1
  307. package/dist/types/discovery/cline.d.ts +0 -1
  308. package/dist/types/discovery/codex.d.ts +0 -1
  309. package/dist/types/discovery/cursor.d.ts +0 -16
  310. package/dist/types/discovery/gemini.d.ts +0 -1
  311. package/dist/types/discovery/github.d.ts +0 -1
  312. package/dist/types/discovery/helpers.d.ts +0 -276
  313. package/dist/types/discovery/index.d.ts +0 -53
  314. package/dist/types/discovery/mcp-json.d.ts +0 -1
  315. package/dist/types/discovery/omp-extension-roots.d.ts +0 -43
  316. package/dist/types/discovery/omp-plugins.d.ts +0 -1
  317. package/dist/types/discovery/opencode.d.ts +0 -1
  318. package/dist/types/discovery/plugin-dir-roots.d.ts +0 -15
  319. package/dist/types/discovery/ssh.d.ts +0 -1
  320. package/dist/types/discovery/substitute-plugin-root.d.ts +0 -1
  321. package/dist/types/discovery/vscode.d.ts +0 -1
  322. package/dist/types/discovery/windsurf.d.ts +0 -13
  323. package/dist/types/edit/apply-patch/index.d.ts +0 -35
  324. package/dist/types/edit/apply-patch/parser.d.ts +0 -34
  325. package/dist/types/edit/diff.d.ts +0 -60
  326. package/dist/types/edit/file-snapshot-store.d.ts +0 -64
  327. package/dist/types/edit/hashline/block-resolver.d.ts +0 -9
  328. package/dist/types/edit/hashline/diff.d.ts +0 -29
  329. package/dist/types/edit/hashline/execute.d.ts +0 -28
  330. package/dist/types/edit/hashline/filesystem.d.ts +0 -43
  331. package/dist/types/edit/hashline/index.d.ts +0 -5
  332. package/dist/types/edit/hashline/noop-loop-guard.d.ts +0 -72
  333. package/dist/types/edit/hashline/params.d.ts +0 -7
  334. package/dist/types/edit/index.d.ts +0 -83
  335. package/dist/types/edit/modes/apply-patch.d.ts +0 -23
  336. package/dist/types/edit/modes/patch.d.ts +0 -101
  337. package/dist/types/edit/modes/replace.d.ts +0 -141
  338. package/dist/types/edit/normalize.d.ts +0 -31
  339. package/dist/types/edit/notebook.d.ts +0 -23
  340. package/dist/types/edit/read-file.d.ts +0 -2
  341. package/dist/types/edit/renderer.d.ts +0 -118
  342. package/dist/types/edit/snapshot-details.d.ts +0 -33
  343. package/dist/types/edit/streaming.d.ts +0 -105
  344. package/dist/types/eval/__tests__/agent-bridge.test.d.ts +0 -1
  345. package/dist/types/eval/__tests__/bridge-timeout.test.d.ts +0 -1
  346. package/dist/types/eval/__tests__/budget-bridge.test.d.ts +0 -1
  347. package/dist/types/eval/__tests__/completion-bridge.test.d.ts +0 -1
  348. package/dist/types/eval/__tests__/helpers-local-roots.test.d.ts +0 -1
  349. package/dist/types/eval/__tests__/idle-timeout.test.d.ts +0 -1
  350. package/dist/types/eval/__tests__/js-context-manager.test.d.ts +0 -1
  351. package/dist/types/eval/__tests__/julia-prelude.test.d.ts +0 -1
  352. package/dist/types/eval/__tests__/kernel-spawn.test.d.ts +0 -1
  353. package/dist/types/eval/__tests__/prelude-agent.test.d.ts +0 -1
  354. package/dist/types/eval/agent-bridge.d.ts +0 -48
  355. package/dist/types/eval/backend-helpers.d.ts +0 -23
  356. package/dist/types/eval/backend.d.ts +0 -60
  357. package/dist/types/eval/bridge-timeout.d.ts +0 -27
  358. package/dist/types/eval/budget-bridge.d.ts +0 -29
  359. package/dist/types/eval/completion-bridge.d.ts +0 -38
  360. package/dist/types/eval/concurrency-bridge.d.ts +0 -26
  361. package/dist/types/eval/executor-base.d.ts +0 -118
  362. package/dist/types/eval/idle-timeout.d.ts +0 -26
  363. package/dist/types/eval/index.d.ts +0 -6
  364. package/dist/types/eval/jl/executor.d.ts +0 -44
  365. package/dist/types/eval/jl/index.d.ts +0 -11
  366. package/dist/types/eval/jl/kernel.d.ts +0 -28
  367. package/dist/types/eval/jl/prelude.d.ts +0 -1
  368. package/dist/types/eval/jl/runtime.d.ts +0 -22
  369. package/dist/types/eval/js/context-manager.d.ts +0 -40
  370. package/dist/types/eval/js/executor.d.ts +0 -38
  371. package/dist/types/eval/js/index.d.ts +0 -11
  372. package/dist/types/eval/js/shared/helpers.d.ts +0 -32
  373. package/dist/types/eval/js/shared/indirect-eval.d.ts +0 -14
  374. package/dist/types/eval/js/shared/local-module-loader.d.ts +0 -16
  375. package/dist/types/eval/js/shared/prelude.d.ts +0 -1
  376. package/dist/types/eval/js/shared/rewrite-imports.d.ts +0 -25
  377. package/dist/types/eval/js/shared/runtime.d.ts +0 -59
  378. package/dist/types/eval/js/shared/types.d.ts +0 -24
  379. package/dist/types/eval/js/tool-bridge.d.ts +0 -20
  380. package/dist/types/eval/js/worker-core.d.ts +0 -6
  381. package/dist/types/eval/js/worker-entry.d.ts +0 -1
  382. package/dist/types/eval/js/worker-protocol.d.ts +0 -83
  383. package/dist/types/eval/kernel-base.d.ts +0 -105
  384. package/dist/types/eval/py/__tests__/prelude.test.d.ts +0 -1
  385. package/dist/types/eval/py/__tests__/runner-shell-output.test.d.ts +0 -1
  386. package/dist/types/eval/py/display.d.ts +0 -25
  387. package/dist/types/eval/py/executor.d.ts +0 -107
  388. package/dist/types/eval/py/index.d.ts +0 -11
  389. package/dist/types/eval/py/kernel.d.ts +0 -17
  390. package/dist/types/eval/py/prelude.d.ts +0 -1
  391. package/dist/types/eval/py/runtime.d.ts +0 -40
  392. package/dist/types/eval/py/spawn-options.d.ts +0 -58
  393. package/dist/types/eval/py/tool-bridge.d.ts +0 -16
  394. package/dist/types/eval/rb/executor.d.ts +0 -77
  395. package/dist/types/eval/rb/index.d.ts +0 -11
  396. package/dist/types/eval/rb/kernel.d.ts +0 -31
  397. package/dist/types/eval/rb/prelude.d.ts +0 -1
  398. package/dist/types/eval/rb/runtime.d.ts +0 -23
  399. package/dist/types/eval/runtime-env.d.ts +0 -24
  400. package/dist/types/eval/session-id.d.ts +0 -3
  401. package/dist/types/eval/types.d.ts +0 -52
  402. package/dist/types/exa/index.d.ts +0 -2
  403. package/dist/types/exa/mcp-client.d.ts +0 -53
  404. package/dist/types/exa/types.d.ts +0 -72
  405. package/dist/types/exec/bash-cwd-sync.d.ts +0 -16
  406. package/dist/types/exec/bash-executor.d.ts +0 -45
  407. package/dist/types/exec/exec.d.ts +0 -25
  408. package/dist/types/exec/non-interactive-env.d.ts +0 -3
  409. package/dist/types/export/custom-share.d.ts +0 -19
  410. package/dist/types/export/html/index.d.ts +0 -78
  411. package/dist/types/export/html/web-palette.d.ts +0 -117
  412. package/dist/types/export/share.d.ts +0 -55
  413. package/dist/types/export/ttsr.d.ts +0 -67
  414. package/dist/types/extensibility/custom-commands/bundled/ci-green/index.d.ts +0 -9
  415. package/dist/types/extensibility/custom-commands/bundled/review/index.d.ts +0 -10
  416. package/dist/types/extensibility/custom-commands/index.d.ts +0 -2
  417. package/dist/types/extensibility/custom-commands/loader.d.ts +0 -29
  418. package/dist/types/extensibility/custom-commands/types.d.ts +0 -112
  419. package/dist/types/extensibility/custom-tools/index.d.ts +0 -6
  420. package/dist/types/extensibility/custom-tools/loader.d.ts +0 -89
  421. package/dist/types/extensibility/custom-tools/types.d.ts +0 -242
  422. package/dist/types/extensibility/custom-tools/wrapper.d.ts +0 -23
  423. package/dist/types/extensibility/extensions/compact-handler.d.ts +0 -26
  424. package/dist/types/extensibility/extensions/get-commands-handler.d.ts +0 -29
  425. package/dist/types/extensibility/extensions/index.d.ts +0 -8
  426. package/dist/types/extensibility/extensions/loader.d.ts +0 -59
  427. package/dist/types/extensibility/extensions/model-api.d.ts +0 -17
  428. package/dist/types/extensibility/extensions/runner.d.ts +0 -161
  429. package/dist/types/extensibility/extensions/types.d.ts +0 -962
  430. package/dist/types/extensibility/extensions/wrapper.d.ts +0 -54
  431. package/dist/types/extensibility/hooks/index.d.ts +0 -6
  432. package/dist/types/extensibility/hooks/loader.d.ts +0 -65
  433. package/dist/types/extensibility/hooks/runner.d.ts +0 -126
  434. package/dist/types/extensibility/hooks/tool-wrapper.d.ts +0 -25
  435. package/dist/types/extensibility/hooks/types.d.ts +0 -442
  436. package/dist/types/extensibility/legacy-pi-ai-shim.d.ts +0 -35
  437. package/dist/types/extensibility/legacy-pi-coding-agent-shim.d.ts +0 -115
  438. package/dist/types/extensibility/plugins/doctor.d.ts +0 -3
  439. package/dist/types/extensibility/plugins/git-url.d.ts +0 -44
  440. package/dist/types/extensibility/plugins/index.d.ts +0 -7
  441. package/dist/types/extensibility/plugins/installer.d.ts +0 -5
  442. package/dist/types/extensibility/plugins/legacy-pi-bundled-keys.d.ts +0 -10
  443. package/dist/types/extensibility/plugins/legacy-pi-bundled-registry.d.ts +0 -10
  444. package/dist/types/extensibility/plugins/legacy-pi-compat.d.ts +0 -79
  445. package/dist/types/extensibility/plugins/loader.d.ts +0 -59
  446. package/dist/types/extensibility/plugins/manager.d.ts +0 -76
  447. package/dist/types/extensibility/plugins/marketplace/cache.d.ts +0 -41
  448. package/dist/types/extensibility/plugins/marketplace/fetcher.d.ts +0 -48
  449. package/dist/types/extensibility/plugins/marketplace/index.d.ts +0 -6
  450. package/dist/types/extensibility/plugins/marketplace/manager.d.ts +0 -57
  451. package/dist/types/extensibility/plugins/marketplace/registry.d.ts +0 -34
  452. package/dist/types/extensibility/plugins/marketplace/source-resolver.d.ts +0 -28
  453. package/dist/types/extensibility/plugins/marketplace/types.d.ts +0 -131
  454. package/dist/types/extensibility/plugins/marketplace-auto-update.d.ts +0 -8
  455. package/dist/types/extensibility/plugins/parser.d.ts +0 -52
  456. package/dist/types/extensibility/plugins/runtime-config.d.ts +0 -3
  457. package/dist/types/extensibility/plugins/types.d.ts +0 -149
  458. package/dist/types/extensibility/session-handler-types.d.ts +0 -23
  459. package/dist/types/extensibility/shared-events.d.ts +0 -301
  460. package/dist/types/extensibility/skills.d.ts +0 -97
  461. package/dist/types/extensibility/slash-commands.d.ts +0 -38
  462. package/dist/types/extensibility/tool-event-input.d.ts +0 -9
  463. package/dist/types/extensibility/tool-proxy.d.ts +0 -4
  464. package/dist/types/extensibility/typebox.d.ts +0 -177
  465. package/dist/types/extensibility/utils.d.ts +0 -24
  466. package/dist/types/goals/guided-setup.d.ts +0 -18
  467. package/dist/types/goals/index.d.ts +0 -3
  468. package/dist/types/goals/runtime.d.ts +0 -69
  469. package/dist/types/goals/state.d.ts +0 -35
  470. package/dist/types/goals/tools/goal-tool.d.ts +0 -53
  471. package/dist/types/hindsight/backend.d.ts +0 -13
  472. package/dist/types/hindsight/bank.d.ts +0 -63
  473. package/dist/types/hindsight/client.d.ts +0 -224
  474. package/dist/types/hindsight/config.d.ts +0 -51
  475. package/dist/types/hindsight/content.d.ts +0 -69
  476. package/dist/types/hindsight/index.d.ts +0 -8
  477. package/dist/types/hindsight/mental-models.d.ts +0 -134
  478. package/dist/types/hindsight/state.d.ts +0 -105
  479. package/dist/types/hindsight/transcript.d.ts +0 -28
  480. package/dist/types/index.d.ts +0 -43
  481. package/dist/types/internal-urls/__tests__/ssh-protocol.test.d.ts +0 -1
  482. package/dist/types/internal-urls/agent-protocol.d.ts +0 -13
  483. package/dist/types/internal-urls/artifact-protocol.d.ts +0 -7
  484. package/dist/types/internal-urls/docs-index.d.ts +0 -19
  485. package/dist/types/internal-urls/filesystem-resource.d.ts +0 -9
  486. package/dist/types/internal-urls/history-protocol.d.ts +0 -14
  487. package/dist/types/internal-urls/index.d.ts +0 -25
  488. package/dist/types/internal-urls/issue-pr-protocol.d.ts +0 -17
  489. package/dist/types/internal-urls/json-query.d.ts +0 -30
  490. package/dist/types/internal-urls/local-protocol.d.ts +0 -79
  491. package/dist/types/internal-urls/mcp-protocol.d.ts +0 -12
  492. package/dist/types/internal-urls/memory-protocol.d.ts +0 -24
  493. package/dist/types/internal-urls/omp-protocol.d.ts +0 -13
  494. package/dist/types/internal-urls/parse.d.ts +0 -19
  495. package/dist/types/internal-urls/registry-helpers.d.ts +0 -12
  496. package/dist/types/internal-urls/router.d.ts +0 -21
  497. package/dist/types/internal-urls/rule-protocol.d.ts +0 -7
  498. package/dist/types/internal-urls/skill-protocol.d.ts +0 -14
  499. package/dist/types/internal-urls/ssh-protocol.d.ts +0 -10
  500. package/dist/types/internal-urls/types.d.ts +0 -165
  501. package/dist/types/internal-urls/vault-protocol.d.ts +0 -93
  502. package/dist/types/irc/bus.d.ts +0 -85
  503. package/dist/types/jsonrpc/message-framing.d.ts +0 -35
  504. package/dist/types/lib/xai-http.d.ts +0 -40
  505. package/dist/types/lsp/client.d.ts +0 -84
  506. package/dist/types/lsp/clients/biome-client.d.ts +0 -16
  507. package/dist/types/lsp/clients/index.d.ts +0 -19
  508. package/dist/types/lsp/clients/lsp-linter-client.d.ts +0 -16
  509. package/dist/types/lsp/clients/swiftlint-client.d.ts +0 -20
  510. package/dist/types/lsp/config.d.ts +0 -65
  511. package/dist/types/lsp/diagnostics-ledger.d.ts +0 -10
  512. package/dist/types/lsp/edits.d.ts +0 -32
  513. package/dist/types/lsp/format-options.d.ts +0 -32
  514. package/dist/types/lsp/index.d.ts +0 -120
  515. package/dist/types/lsp/lspmux.d.ts +0 -58
  516. package/dist/types/lsp/render.d.ts +0 -32
  517. package/dist/types/lsp/startup-events.d.ts +0 -11
  518. package/dist/types/lsp/types.d.ts +0 -300
  519. package/dist/types/lsp/utils.d.ts +0 -116
  520. package/dist/types/main.d.ts +0 -70
  521. package/dist/types/markit/converters/docx.d.ts +0 -6
  522. package/dist/types/markit/converters/epub.d.ts +0 -15
  523. package/dist/types/markit/converters/pdf/columns.d.ts +0 -35
  524. package/dist/types/markit/converters/pdf/extract.d.ts +0 -10
  525. package/dist/types/markit/converters/pdf/grid.d.ts +0 -25
  526. package/dist/types/markit/converters/pdf/headers.d.ts +0 -24
  527. package/dist/types/markit/converters/pdf/index.d.ts +0 -6
  528. package/dist/types/markit/converters/pdf/render.d.ts +0 -24
  529. package/dist/types/markit/converters/pdf/types.d.ts +0 -75
  530. package/dist/types/markit/converters/pptx.d.ts +0 -57
  531. package/dist/types/markit/converters/xlsx.d.ts +0 -25
  532. package/dist/types/markit/index.d.ts +0 -2
  533. package/dist/types/markit/registry.d.ts +0 -16
  534. package/dist/types/markit/types.d.ts +0 -30
  535. package/dist/types/mcp/client.d.ts +0 -83
  536. package/dist/types/mcp/config-writer.d.ts +0 -101
  537. package/dist/types/mcp/config.d.ts +0 -75
  538. package/dist/types/mcp/index.d.ts +0 -18
  539. package/dist/types/mcp/json-rpc.d.ts +0 -32
  540. package/dist/types/mcp/loader.d.ts +0 -44
  541. package/dist/types/mcp/manager.d.ts +0 -215
  542. package/dist/types/mcp/oauth-credentials.d.ts +0 -17
  543. package/dist/types/mcp/oauth-discovery.d.ts +0 -35
  544. package/dist/types/mcp/oauth-flow.d.ts +0 -145
  545. package/dist/types/mcp/render.d.ts +0 -25
  546. package/dist/types/mcp/smithery-auth.d.ts +0 -16
  547. package/dist/types/mcp/smithery-connect.d.ts +0 -38
  548. package/dist/types/mcp/smithery-registry.d.ts +0 -51
  549. package/dist/types/mcp/startup-events.d.ts +0 -28
  550. package/dist/types/mcp/timeout.d.ts +0 -9
  551. package/dist/types/mcp/tool-bridge.d.ts +0 -95
  552. package/dist/types/mcp/tool-cache.d.ts +0 -8
  553. package/dist/types/mcp/transports/http.d.ts +0 -45
  554. package/dist/types/mcp/transports/index.d.ts +0 -6
  555. package/dist/types/mcp/transports/sse.d.ts +0 -20
  556. package/dist/types/mcp/transports/stdio.d.ts +0 -108
  557. package/dist/types/mcp/transports/stdio.test.d.ts +0 -1
  558. package/dist/types/mcp/types.d.ts +0 -340
  559. package/dist/types/memories/index.d.ts +0 -54
  560. package/dist/types/memories/storage.d.ts +0 -110
  561. package/dist/types/memory-backend/index.d.ts +0 -7
  562. package/dist/types/memory-backend/local-backend.d.ts +0 -10
  563. package/dist/types/memory-backend/off-backend.d.ts +0 -7
  564. package/dist/types/memory-backend/resolve.d.ts +0 -16
  565. package/dist/types/memory-backend/runtime.d.ts +0 -4
  566. package/dist/types/memory-backend/types.d.ts +0 -132
  567. package/dist/types/mnemopi/backend.d.ts +0 -4
  568. package/dist/types/mnemopi/config.d.ts +0 -60
  569. package/dist/types/mnemopi/embed-client.d.ts +0 -53
  570. package/dist/types/mnemopi/embed-protocol.d.ts +0 -52
  571. package/dist/types/mnemopi/embed-worker.d.ts +0 -12
  572. package/dist/types/mnemopi/index.d.ts +0 -3
  573. package/dist/types/mnemopi/state.d.ts +0 -130
  574. package/dist/types/modes/acp/acp-agent.d.ts +0 -60
  575. package/dist/types/modes/acp/acp-client-bridge.d.ts +0 -9
  576. package/dist/types/modes/acp/acp-event-mapper.d.ts +0 -33
  577. package/dist/types/modes/acp/acp-mode.d.ts +0 -5
  578. package/dist/types/modes/acp/index.d.ts +0 -2
  579. package/dist/types/modes/acp/terminal-auth.d.ts +0 -6
  580. package/dist/types/modes/components/__tests__/move-overlay.test.d.ts +0 -1
  581. package/dist/types/modes/components/__tests__/skill-message.test.d.ts +0 -1
  582. package/dist/types/modes/components/advisor-config.d.ts +0 -59
  583. package/dist/types/modes/components/advisor-message.d.ts +0 -9
  584. package/dist/types/modes/components/agent-dashboard.d.ts +0 -22
  585. package/dist/types/modes/components/agent-hub.d.ts +0 -77
  586. package/dist/types/modes/components/agent-transcript-viewer.d.ts +0 -40
  587. package/dist/types/modes/components/assistant-message.d.ts +0 -53
  588. package/dist/types/modes/components/background-tan-message.d.ts +0 -9
  589. package/dist/types/modes/components/bash-execution.d.ts +0 -29
  590. package/dist/types/modes/components/bordered-loader.d.ts +0 -11
  591. package/dist/types/modes/components/btw-panel.d.ts +0 -19
  592. package/dist/types/modes/components/cache-invalidation-marker.d.ts +0 -52
  593. package/dist/types/modes/components/chat-block.d.ts +0 -64
  594. package/dist/types/modes/components/chat-transcript-builder.d.ts +0 -45
  595. package/dist/types/modes/components/collab-prompt-message.d.ts +0 -10
  596. package/dist/types/modes/components/compaction-summary-message.d.ts +0 -46
  597. package/dist/types/modes/components/copy-selector.d.ts +0 -22
  598. package/dist/types/modes/components/countdown-timer.d.ts +0 -14
  599. package/dist/types/modes/components/custom-editor.d.ts +0 -163
  600. package/dist/types/modes/components/custom-editor.test.d.ts +0 -1
  601. package/dist/types/modes/components/custom-message.d.ts +0 -15
  602. package/dist/types/modes/components/diff.d.ts +0 -11
  603. package/dist/types/modes/components/dynamic-border.d.ts +0 -14
  604. package/dist/types/modes/components/error-banner.d.ts +0 -11
  605. package/dist/types/modes/components/eval-execution.d.ts +0 -23
  606. package/dist/types/modes/components/execution-shared.d.ts +0 -46
  607. package/dist/types/modes/components/extensions/extension-dashboard.d.ts +0 -43
  608. package/dist/types/modes/components/extensions/extension-list.d.ts +0 -52
  609. package/dist/types/modes/components/extensions/index.d.ts +0 -8
  610. package/dist/types/modes/components/extensions/inspector-panel.d.ts +0 -8
  611. package/dist/types/modes/components/extensions/state-manager.d.ts +0 -50
  612. package/dist/types/modes/components/extensions/types.d.ts +0 -147
  613. package/dist/types/modes/components/footer.d.ts +0 -30
  614. package/dist/types/modes/components/history-search.d.ts +0 -7
  615. package/dist/types/modes/components/hook-editor.d.ts +0 -24
  616. package/dist/types/modes/components/hook-input.d.ts +0 -19
  617. package/dist/types/modes/components/hook-message.d.ts +0 -15
  618. package/dist/types/modes/components/hook-selector.d.ts +0 -68
  619. package/dist/types/modes/components/index.d.ts +0 -38
  620. package/dist/types/modes/components/keybinding-hints.d.ts +0 -40
  621. package/dist/types/modes/components/late-diagnostics-message.d.ts +0 -20
  622. package/dist/types/modes/components/login-dialog.d.ts +0 -32
  623. package/dist/types/modes/components/logout-account-selector.d.ts +0 -8
  624. package/dist/types/modes/components/mcp-add-wizard.d.ts +0 -38
  625. package/dist/types/modes/components/message-frame.d.ts +0 -44
  626. package/dist/types/modes/components/model-selector.d.ts +0 -36
  627. package/dist/types/modes/components/move-overlay.d.ts +0 -23
  628. package/dist/types/modes/components/oauth-selector.d.ts +0 -23
  629. package/dist/types/modes/components/omfg-panel.d.ts +0 -19
  630. package/dist/types/modes/components/overlay-box.d.ts +0 -17
  631. package/dist/types/modes/components/plan-review-overlay.d.ts +0 -61
  632. package/dist/types/modes/components/plan-toc.d.ts +0 -41
  633. package/dist/types/modes/components/plugin-selector.d.ts +0 -27
  634. package/dist/types/modes/components/plugin-settings.d.ts +0 -103
  635. package/dist/types/modes/components/queue-mode-selector.d.ts +0 -10
  636. package/dist/types/modes/components/read-tool-group.d.ts +0 -38
  637. package/dist/types/modes/components/reset-usage-selector.d.ts +0 -12
  638. package/dist/types/modes/components/segment-track.d.ts +0 -27
  639. package/dist/types/modes/components/select-list-mouse-routing.d.ts +0 -2
  640. package/dist/types/modes/components/selector-helpers.d.ts +0 -53
  641. package/dist/types/modes/components/session-selector.d.ts +0 -94
  642. package/dist/types/modes/components/settings-defs.d.ts +0 -60
  643. package/dist/types/modes/components/settings-selector.d.ts +0 -70
  644. package/dist/types/modes/components/show-images-selector.d.ts +0 -10
  645. package/dist/types/modes/components/skill-message.d.ts +0 -9
  646. package/dist/types/modes/components/snapcompact-shape-preview.d.ts +0 -31
  647. package/dist/types/modes/components/status-line/component.d.ts +0 -94
  648. package/dist/types/modes/components/status-line/component.test.d.ts +0 -1
  649. package/dist/types/modes/components/status-line/context-thresholds.d.ts +0 -10
  650. package/dist/types/modes/components/status-line/git-utils.d.ts +0 -22
  651. package/dist/types/modes/components/status-line/index.d.ts +0 -5
  652. package/dist/types/modes/components/status-line/presets.d.ts +0 -3
  653. package/dist/types/modes/components/status-line/segments.d.ts +0 -5
  654. package/dist/types/modes/components/status-line/separators.d.ts +0 -3
  655. package/dist/types/modes/components/status-line/token-rate.d.ts +0 -10
  656. package/dist/types/modes/components/status-line/types.d.ts +0 -150
  657. package/dist/types/modes/components/theme-selector.d.ts +0 -11
  658. package/dist/types/modes/components/thinking-selector.d.ts +0 -11
  659. package/dist/types/modes/components/tiny-title-download-progress.d.ts +0 -11
  660. package/dist/types/modes/components/todo-reminder.d.ts +0 -15
  661. package/dist/types/modes/components/tool-execution.d.ts +0 -124
  662. package/dist/types/modes/components/transcript-container.d.ts +0 -88
  663. package/dist/types/modes/components/tree-selector.d.ts +0 -31
  664. package/dist/types/modes/components/ttsr-notification.d.ts +0 -17
  665. package/dist/types/modes/components/usage-row.d.ts +0 -3
  666. package/dist/types/modes/components/user-message-selector.d.ts +0 -28
  667. package/dist/types/modes/components/user-message.d.ts +0 -9
  668. package/dist/types/modes/components/visual-truncate.d.ts +0 -19
  669. package/dist/types/modes/components/welcome.d.ts +0 -76
  670. package/dist/types/modes/controllers/btw-controller.d.ts +0 -14
  671. package/dist/types/modes/controllers/command-controller-shared.d.ts +0 -47
  672. package/dist/types/modes/controllers/command-controller.d.ts +0 -55
  673. package/dist/types/modes/controllers/event-controller.d.ts +0 -28
  674. package/dist/types/modes/controllers/extension-ui-controller.d.ts +0 -88
  675. package/dist/types/modes/controllers/input-controller.d.ts +0 -71
  676. package/dist/types/modes/controllers/mcp-command-controller.d.ts +0 -27
  677. package/dist/types/modes/controllers/omfg-controller.d.ts +0 -10
  678. package/dist/types/modes/controllers/omfg-rule.d.ts +0 -26
  679. package/dist/types/modes/controllers/selector-controller.d.ts +0 -61
  680. package/dist/types/modes/controllers/session-focus-controller.d.ts +0 -31
  681. package/dist/types/modes/controllers/ssh-command-controller.d.ts +0 -10
  682. package/dist/types/modes/controllers/streaming-reveal.d.ts +0 -45
  683. package/dist/types/modes/controllers/tan-command-controller.d.ts +0 -6
  684. package/dist/types/modes/controllers/todo-command-controller.d.ts +0 -7
  685. package/dist/types/modes/controllers/tool-args-reveal.d.ts +0 -77
  686. package/dist/types/modes/emoji-autocomplete.d.ts +0 -16
  687. package/dist/types/modes/gradient-highlight.d.ts +0 -32
  688. package/dist/types/modes/image-references.d.ts +0 -28
  689. package/dist/types/modes/index.d.ts +0 -10
  690. package/dist/types/modes/interactive-mode.d.ts +0 -399
  691. package/dist/types/modes/internal-url-autocomplete.d.ts +0 -43
  692. package/dist/types/modes/loop-limit.d.ts +0 -35
  693. package/dist/types/modes/magic-keywords.d.ts +0 -26
  694. package/dist/types/modes/markdown-prose.d.ts +0 -27
  695. package/dist/types/modes/oauth-manual-input.d.ts +0 -15
  696. package/dist/types/modes/orchestrate.d.ts +0 -15
  697. package/dist/types/modes/print-mode.d.ts +0 -29
  698. package/dist/types/modes/prompt-action-autocomplete.d.ts +0 -46
  699. package/dist/types/modes/rpc/host-tools.d.ts +0 -16
  700. package/dist/types/modes/rpc/host-uris.d.ts +0 -38
  701. package/dist/types/modes/rpc/rpc-client.d.ts +0 -300
  702. package/dist/types/modes/rpc/rpc-mode.d.ts +0 -145
  703. package/dist/types/modes/rpc/rpc-subagents.d.ts +0 -24
  704. package/dist/types/modes/rpc/rpc-types.d.ts +0 -699
  705. package/dist/types/modes/running-subagent-badge.d.ts +0 -6
  706. package/dist/types/modes/runtime-init.d.ts +0 -25
  707. package/dist/types/modes/session-observer-registry.d.ts +0 -35
  708. package/dist/types/modes/session-teardown.d.ts +0 -63
  709. package/dist/types/modes/session-teardown.test.d.ts +0 -1
  710. package/dist/types/modes/setup-version.d.ts +0 -11
  711. package/dist/types/modes/setup-wizard/index.d.ts +0 -22
  712. package/dist/types/modes/setup-wizard/lazy.d.ts +0 -2
  713. package/dist/types/modes/setup-wizard/scenes/glyph.d.ts +0 -2
  714. package/dist/types/modes/setup-wizard/scenes/outro.d.ts +0 -2
  715. package/dist/types/modes/setup-wizard/scenes/providers.d.ts +0 -2
  716. package/dist/types/modes/setup-wizard/scenes/sign-in.d.ts +0 -22
  717. package/dist/types/modes/setup-wizard/scenes/splash.d.ts +0 -11
  718. package/dist/types/modes/setup-wizard/scenes/theme.d.ts +0 -2
  719. package/dist/types/modes/setup-wizard/scenes/types.d.ts +0 -52
  720. package/dist/types/modes/setup-wizard/scenes/web-search.d.ts +0 -23
  721. package/dist/types/modes/setup-wizard/startup-splash.d.ts +0 -7
  722. package/dist/types/modes/setup-wizard/wizard-overlay.d.ts +0 -15
  723. package/dist/types/modes/shared.d.ts +0 -15
  724. package/dist/types/modes/skill-command.d.ts +0 -32
  725. package/dist/types/modes/theme/defaults/index.d.ts +0 -9436
  726. package/dist/types/modes/theme/mermaid-cache.d.ts +0 -26
  727. package/dist/types/modes/theme/mermaid-rendering.test.d.ts +0 -1
  728. package/dist/types/modes/theme/shimmer.d.ts +0 -40
  729. package/dist/types/modes/theme/theme.d.ts +0 -360
  730. package/dist/types/modes/turn-budget.d.ts +0 -18
  731. package/dist/types/modes/types.d.ts +0 -399
  732. package/dist/types/modes/ultrathink.d.ts +0 -15
  733. package/dist/types/modes/utils/context-usage.d.ts +0 -64
  734. package/dist/types/modes/utils/copy-targets.d.ts +0 -75
  735. package/dist/types/modes/utils/hotkeys-markdown.d.ts +0 -5
  736. package/dist/types/modes/utils/interactive-context-helpers.d.ts +0 -14
  737. package/dist/types/modes/utils/keybinding-matchers.d.ts +0 -32
  738. package/dist/types/modes/utils/tools-markdown.d.ts +0 -5
  739. package/dist/types/modes/utils/transcript-render-helpers.d.ts +0 -54
  740. package/dist/types/modes/utils/ui-helpers.d.ts +0 -55
  741. package/dist/types/modes/workflow.d.ts +0 -15
  742. package/dist/types/plan-mode/approved-plan-prompt.test.d.ts +0 -1
  743. package/dist/types/plan-mode/approved-plan.d.ts +0 -68
  744. package/dist/types/plan-mode/plan-handoff.d.ts +0 -20
  745. package/dist/types/plan-mode/plan-protection.d.ts +0 -12
  746. package/dist/types/plan-mode/state.d.ts +0 -6
  747. package/dist/types/registry/agent-lifecycle.d.ts +0 -66
  748. package/dist/types/registry/agent-registry.d.ts +0 -97
  749. package/dist/types/sdk.d.ts +0 -370
  750. package/dist/types/secrets/index.d.ts +0 -9
  751. package/dist/types/secrets/obfuscator.d.ts +0 -63
  752. package/dist/types/secrets/regex.d.ts +0 -2
  753. package/dist/types/session/agent-session.d.ts +0 -1417
  754. package/dist/types/session/agent-storage.d.ts +0 -97
  755. package/dist/types/session/artifacts.d.ts +0 -61
  756. package/dist/types/session/auth-broker-config.d.ts +0 -45
  757. package/dist/types/session/auth-storage.d.ts +0 -7
  758. package/dist/types/session/blob-store.d.ts +0 -68
  759. package/dist/types/session/client-bridge.d.ts +0 -88
  760. package/dist/types/session/codex-auto-reset.d.ts +0 -111
  761. package/dist/types/session/compact-modes.d.ts +0 -60
  762. package/dist/types/session/exit-diagnostics.d.ts +0 -48
  763. package/dist/types/session/history-storage.d.ts +0 -30
  764. package/dist/types/session/indexed-session-storage.d.ts +0 -65
  765. package/dist/types/session/messages.d.ts +0 -220
  766. package/dist/types/session/messages.test.d.ts +0 -1
  767. package/dist/types/session/provider-image-budget.d.ts +0 -3
  768. package/dist/types/session/redis-session-storage.d.ts +0 -51
  769. package/dist/types/session/session-context.d.ts +0 -44
  770. package/dist/types/session/session-dump-format.d.ts +0 -30
  771. package/dist/types/session/session-entries.d.ts +0 -197
  772. package/dist/types/session/session-history-format.d.ts +0 -49
  773. package/dist/types/session/session-listing.d.ts +0 -78
  774. package/dist/types/session/session-loader.d.ts +0 -29
  775. package/dist/types/session/session-manager.d.ts +0 -306
  776. package/dist/types/session/session-migrations.d.ts +0 -12
  777. package/dist/types/session/session-paths.d.ts +0 -25
  778. package/dist/types/session/session-persistence.d.ts +0 -12
  779. package/dist/types/session/session-storage.d.ts +0 -101
  780. package/dist/types/session/session-title-slot.d.ts +0 -19
  781. package/dist/types/session/settings-stream-fn.d.ts +0 -21
  782. package/dist/types/session/shake-types.d.ts +0 -24
  783. package/dist/types/session/snapcompact-inline.d.ts +0 -145
  784. package/dist/types/session/snapcompact-savings-journal.d.ts +0 -46
  785. package/dist/types/session/sql-session-storage.d.ts +0 -72
  786. package/dist/types/session/streaming-output.d.ts +0 -229
  787. package/dist/types/session/tool-choice-queue.d.ts +0 -94
  788. package/dist/types/session/turn-persistence.d.ts +0 -88
  789. package/dist/types/session/unexpected-stop-classifier.d.ts +0 -13
  790. package/dist/types/session/yield-queue.d.ts +0 -37
  791. package/dist/types/slash-commands/acp-builtins.d.ts +0 -34
  792. package/dist/types/slash-commands/available-commands.d.ts +0 -34
  793. package/dist/types/slash-commands/builtin-registry.d.ts +0 -36
  794. package/dist/types/slash-commands/helpers/active-oauth-account.d.ts +0 -14
  795. package/dist/types/slash-commands/helpers/collab-qrcode.d.ts +0 -13
  796. package/dist/types/slash-commands/helpers/context-report.d.ts +0 -7
  797. package/dist/types/slash-commands/helpers/format.d.ts +0 -10
  798. package/dist/types/slash-commands/helpers/logout.d.ts +0 -15
  799. package/dist/types/slash-commands/helpers/marketplace-manager.d.ts +0 -8
  800. package/dist/types/slash-commands/helpers/mcp.d.ts +0 -3
  801. package/dist/types/slash-commands/helpers/parse.d.ts +0 -33
  802. package/dist/types/slash-commands/helpers/reset-usage.d.ts +0 -27
  803. package/dist/types/slash-commands/helpers/ssh.d.ts +0 -3
  804. package/dist/types/slash-commands/helpers/stats-dashboard.d.ts +0 -13
  805. package/dist/types/slash-commands/helpers/todo.d.ts +0 -3
  806. package/dist/types/slash-commands/helpers/usage-report.d.ts +0 -7
  807. package/dist/types/slash-commands/marketplace-install-parser.d.ts +0 -33
  808. package/dist/types/slash-commands/types.d.ts +0 -127
  809. package/dist/types/ssh/__tests__/connection-manager-args.test.d.ts +0 -1
  810. package/dist/types/ssh/__tests__/file-transfer-posix-guard.test.d.ts +0 -1
  811. package/dist/types/ssh/config-writer.d.ts +0 -49
  812. package/dist/types/ssh/connection-manager.d.ts +0 -90
  813. package/dist/types/ssh/file-transfer.d.ts +0 -79
  814. package/dist/types/ssh/ssh-executor.d.ts +0 -37
  815. package/dist/types/ssh/sshfs-mount.d.ts +0 -6
  816. package/dist/types/ssh/utils.d.ts +0 -24
  817. package/dist/types/startup-splash.d.ts +0 -12
  818. package/dist/types/stt/asr-client.d.ts +0 -68
  819. package/dist/types/stt/asr-protocol.d.ts +0 -97
  820. package/dist/types/stt/asr-worker.d.ts +0 -2
  821. package/dist/types/stt/downloader.d.ts +0 -47
  822. package/dist/types/stt/endpointer.d.ts +0 -59
  823. package/dist/types/stt/index.d.ts +0 -8
  824. package/dist/types/stt/models.d.ts +0 -120
  825. package/dist/types/stt/recorder.d.ts +0 -30
  826. package/dist/types/stt/stt-controller.d.ts +0 -24
  827. package/dist/types/stt/submit-trigger.d.ts +0 -30
  828. package/dist/types/stt/transcriber.d.ts +0 -14
  829. package/dist/types/stt/wav.d.ts +0 -29
  830. package/dist/types/subprocess/worker-client.d.ts +0 -149
  831. package/dist/types/subprocess/worker-runtime.d.ts +0 -107
  832. package/dist/types/system-prompt.d.ts +0 -128
  833. package/dist/types/system-prompt.test.d.ts +0 -1
  834. package/dist/types/task/agents.d.ts +0 -28
  835. package/dist/types/task/commands.d.ts +0 -35
  836. package/dist/types/task/discovery.d.ts +0 -17
  837. package/dist/types/task/executor.d.ts +0 -214
  838. package/dist/types/task/index.d.ts +0 -79
  839. package/dist/types/task/isolation-runner.d.ts +0 -128
  840. package/dist/types/task/name-generator.d.ts +0 -16
  841. package/dist/types/task/omp-command.d.ts +0 -7
  842. package/dist/types/task/output-manager.d.ts +0 -20
  843. package/dist/types/task/parallel.d.ts +0 -55
  844. package/dist/types/task/persisted-revive.d.ts +0 -36
  845. package/dist/types/task/provider-concurrency.d.ts +0 -40
  846. package/dist/types/task/render.d.ts +0 -34
  847. package/dist/types/task/render.test.d.ts +0 -1
  848. package/dist/types/task/renderer.d.ts +0 -13
  849. package/dist/types/task/repair-args.d.ts +0 -53
  850. package/dist/types/task/spawn-policy.d.ts +0 -17
  851. package/dist/types/task/spawn-policy.test.d.ts +0 -1
  852. package/dist/types/task/subprocess-tool-registry.d.ts +0 -72
  853. package/dist/types/task/types.d.ts +0 -384
  854. package/dist/types/task/worktree.d.ts +0 -135
  855. package/dist/types/task/yield-assembly.d.ts +0 -28
  856. package/dist/types/telemetry-export.d.ts +0 -43
  857. package/dist/types/thinking.d.ts +0 -96
  858. package/dist/types/tiny/device.d.ts +0 -78
  859. package/dist/types/tiny/dtype.d.ts +0 -85
  860. package/dist/types/tiny/models.d.ts +0 -230
  861. package/dist/types/tiny/text.d.ts +0 -44
  862. package/dist/types/tiny/title-client.d.ts +0 -68
  863. package/dist/types/tiny/title-protocol.d.ts +0 -78
  864. package/dist/types/tiny/worker.d.ts +0 -2
  865. package/dist/types/tool-discovery/mode.d.ts +0 -8
  866. package/dist/types/tool-discovery/tool-index.d.ts +0 -57
  867. package/dist/types/tools/__tests__/eval-description.test.d.ts +0 -1
  868. package/dist/types/tools/__tests__/json-tree.test.d.ts +0 -1
  869. package/dist/types/tools/acp-bridge.d.ts +0 -29
  870. package/dist/types/tools/approval.d.ts +0 -46
  871. package/dist/types/tools/ask.d.ts +0 -119
  872. package/dist/types/tools/ast-edit.d.ts +0 -84
  873. package/dist/types/tools/ast-grep.d.ts +0 -74
  874. package/dist/types/tools/auto-generated-guard.d.ts +0 -17
  875. package/dist/types/tools/bash-command-fixup.d.ts +0 -11
  876. package/dist/types/tools/bash-interactive.d.ts +0 -16
  877. package/dist/types/tools/bash-interceptor.d.ts +0 -24
  878. package/dist/types/tools/bash-pty-selection.d.ts +0 -7
  879. package/dist/types/tools/bash-skill-urls.d.ts +0 -31
  880. package/dist/types/tools/bash.d.ts +0 -148
  881. package/dist/types/tools/browser/aria/aria-snapshot.d.ts +0 -39
  882. package/dist/types/tools/browser/attach.d.ts +0 -34
  883. package/dist/types/tools/browser/cmux/cmux-tab.d.ts +0 -212
  884. package/dist/types/tools/browser/cmux/rpc.d.ts +0 -70
  885. package/dist/types/tools/browser/cmux/socket-client.d.ts +0 -19
  886. package/dist/types/tools/browser/launch.d.ts +0 -67
  887. package/dist/types/tools/browser/readable.d.ts +0 -17
  888. package/dist/types/tools/browser/registry.d.ts +0 -58
  889. package/dist/types/tools/browser/render.d.ts +0 -52
  890. package/dist/types/tools/browser/run-cancellation.d.ts +0 -4
  891. package/dist/types/tools/browser/tab-protocol.d.ts +0 -146
  892. package/dist/types/tools/browser/tab-supervisor.d.ts +0 -104
  893. package/dist/types/tools/browser/tab-worker-entry.d.ts +0 -1
  894. package/dist/types/tools/browser/tab-worker.d.ts +0 -56
  895. package/dist/types/tools/browser.d.ts +0 -96
  896. package/dist/types/tools/builtin-names.d.ts +0 -6
  897. package/dist/types/tools/checkpoint.d.ts +0 -72
  898. package/dist/types/tools/conflict-detect.d.ts +0 -221
  899. package/dist/types/tools/context.d.ts +0 -19
  900. package/dist/types/tools/debug.d.ts +0 -156
  901. package/dist/types/tools/eval-backends.d.ts +0 -15
  902. package/dist/types/tools/eval-render.d.ts +0 -58
  903. package/dist/types/tools/eval.d.ts +0 -66
  904. package/dist/types/tools/fetch.d.ts +0 -99
  905. package/dist/types/tools/file-recorder.d.ts +0 -13
  906. package/dist/types/tools/fs-cache-invalidation.d.ts +0 -15
  907. package/dist/types/tools/gh-cache-invalidation.d.ts +0 -6
  908. package/dist/types/tools/gh-format.d.ts +0 -6
  909. package/dist/types/tools/gh-renderer.d.ts +0 -25
  910. package/dist/types/tools/gh.d.ts +0 -331
  911. package/dist/types/tools/github-cache.d.ts +0 -123
  912. package/dist/types/tools/glob.d.ts +0 -94
  913. package/dist/types/tools/grep.d.ts +0 -98
  914. package/dist/types/tools/grouped-file-output.d.ts +0 -70
  915. package/dist/types/tools/image-gen.d.ts +0 -66
  916. package/dist/types/tools/index.d.ts +0 -368
  917. package/dist/types/tools/inspect-image-renderer.d.ts +0 -26
  918. package/dist/types/tools/inspect-image.d.ts +0 -32
  919. package/dist/types/tools/irc.d.ts +0 -112
  920. package/dist/types/tools/job.d.ts +0 -73
  921. package/dist/types/tools/json-tree.d.ts +0 -23
  922. package/dist/types/tools/jtd-to-json-schema.d.ts +0 -29
  923. package/dist/types/tools/jtd-to-typescript.d.ts +0 -26
  924. package/dist/types/tools/jtd-utils.d.ts +0 -42
  925. package/dist/types/tools/learn.d.ts +0 -44
  926. package/dist/types/tools/list-limit.d.ts +0 -12
  927. package/dist/types/tools/manage-skill.d.ts +0 -31
  928. package/dist/types/tools/match-line-format.d.ts +0 -11
  929. package/dist/types/tools/memory-edit.d.ts +0 -31
  930. package/dist/types/tools/memory-recall.d.ts +0 -23
  931. package/dist/types/tools/memory-reflect.d.ts +0 -25
  932. package/dist/types/tools/memory-render.d.ts +0 -63
  933. package/dist/types/tools/memory-retain.d.ts +0 -29
  934. package/dist/types/tools/output-meta.d.ts +0 -211
  935. package/dist/types/tools/output-schema-validator.d.ts +0 -77
  936. package/dist/types/tools/path-utils.d.ts +0 -260
  937. package/dist/types/tools/plan-mode-guard.d.ts +0 -33
  938. package/dist/types/tools/read.d.ts +0 -87
  939. package/dist/types/tools/render-utils.d.ts +0 -218
  940. package/dist/types/tools/renderers.d.ts +0 -45
  941. package/dist/types/tools/report-tool-issue.d.ts +0 -127
  942. package/dist/types/tools/resolve.d.ts +0 -94
  943. package/dist/types/tools/review.d.ts +0 -59
  944. package/dist/types/tools/search-tool-bm25.d.ts +0 -65
  945. package/dist/types/tools/sqlite-reader.d.ts +0 -114
  946. package/dist/types/tools/ssh.d.ts +0 -73
  947. package/dist/types/tools/todo.d.ts +0 -126
  948. package/dist/types/tools/tool-errors.d.ts +0 -33
  949. package/dist/types/tools/tool-result.d.ts +0 -34
  950. package/dist/types/tools/tool-timeouts.d.ts +0 -51
  951. package/dist/types/tools/tts.d.ts +0 -42
  952. package/dist/types/tools/write.d.ts +0 -66
  953. package/dist/types/tools/yield.d.ts +0 -39
  954. package/dist/types/tts/downloader.d.ts +0 -20
  955. package/dist/types/tts/index.d.ts +0 -8
  956. package/dist/types/tts/models.d.ts +0 -82
  957. package/dist/types/tts/player.d.ts +0 -32
  958. package/dist/types/tts/runtime.d.ts +0 -6
  959. package/dist/types/tts/streaming-player.d.ts +0 -41
  960. package/dist/types/tts/tts-client.d.ts +0 -68
  961. package/dist/types/tts/tts-protocol.d.ts +0 -95
  962. package/dist/types/tts/tts-worker.d.ts +0 -2
  963. package/dist/types/tts/vocalizer.d.ts +0 -41
  964. package/dist/types/tts/wav.d.ts +0 -8
  965. package/dist/types/tui/code-cell.d.ts +0 -47
  966. package/dist/types/tui/file-list.d.ts +0 -22
  967. package/dist/types/tui/hyperlink.d.ts +0 -61
  968. package/dist/types/tui/index.d.ts +0 -12
  969. package/dist/types/tui/output-block.d.ts +0 -59
  970. package/dist/types/tui/status-line.d.ts +0 -21
  971. package/dist/types/tui/tree-list.d.ts +0 -20
  972. package/dist/types/tui/types.d.ts +0 -13
  973. package/dist/types/tui/utils.d.ts +0 -36
  974. package/dist/types/tui/width-aware-text.d.ts +0 -23
  975. package/dist/types/utils/active-repo-context.d.ts +0 -8
  976. package/dist/types/utils/block-context.d.ts +0 -35
  977. package/dist/types/utils/changelog.d.ts +0 -33
  978. package/dist/types/utils/clipboard.d.ts +0 -37
  979. package/dist/types/utils/command-args.d.ts +0 -9
  980. package/dist/types/utils/commit-message-generator.d.ts +0 -7
  981. package/dist/types/utils/edit-mode.d.ts +0 -13
  982. package/dist/types/utils/enhanced-paste.d.ts +0 -20
  983. package/dist/types/utils/event-bus.d.ts +0 -6
  984. package/dist/types/utils/external-editor.d.ts +0 -27
  985. package/dist/types/utils/file-display-mode.d.ts +0 -27
  986. package/dist/types/utils/file-mentions.d.ts +0 -13
  987. package/dist/types/utils/git.d.ts +0 -453
  988. package/dist/types/utils/image-loading.d.ts +0 -67
  989. package/dist/types/utils/image-resize.d.ts +0 -42
  990. package/dist/types/utils/image-vision-fallback.d.ts +0 -28
  991. package/dist/types/utils/ipc.d.ts +0 -22
  992. package/dist/types/utils/jj.d.ts +0 -74
  993. package/dist/types/utils/lang-from-path.d.ts +0 -8
  994. package/dist/types/utils/markit-cache.d.ts +0 -23
  995. package/dist/types/utils/markit.d.ts +0 -20
  996. package/dist/types/utils/mupdf-wasm-embed.d.ts +0 -1
  997. package/dist/types/utils/open.d.ts +0 -2
  998. package/dist/types/utils/prompt-path.d.ts +0 -1
  999. package/dist/types/utils/qrcode.d.ts +0 -48
  1000. package/dist/types/utils/session-color.d.ts +0 -27
  1001. package/dist/types/utils/shell-snapshot.d.ts +0 -15
  1002. package/dist/types/utils/sixel.d.ts +0 -21
  1003. package/dist/types/utils/thinking-display.d.ts +0 -7
  1004. package/dist/types/utils/title-generator.d.ts +0 -33
  1005. package/dist/types/utils/tool-choice.d.ts +0 -15
  1006. package/dist/types/utils/tools-manager.d.ts +0 -12
  1007. package/dist/types/utils/turndown.d.ts +0 -15
  1008. package/dist/types/utils/zip.d.ts +0 -119
  1009. package/dist/types/web/kagi.d.ts +0 -99
  1010. package/dist/types/web/parallel.d.ts +0 -67
  1011. package/dist/types/web/scrapers/artifacthub.d.ts +0 -6
  1012. package/dist/types/web/scrapers/arxiv.d.ts +0 -5
  1013. package/dist/types/web/scrapers/aur.d.ts +0 -5
  1014. package/dist/types/web/scrapers/biorxiv.d.ts +0 -5
  1015. package/dist/types/web/scrapers/bluesky.d.ts +0 -5
  1016. package/dist/types/web/scrapers/brew.d.ts +0 -5
  1017. package/dist/types/web/scrapers/cheatsh.d.ts +0 -8
  1018. package/dist/types/web/scrapers/chocolatey.d.ts +0 -5
  1019. package/dist/types/web/scrapers/choosealicense.d.ts +0 -2
  1020. package/dist/types/web/scrapers/cisa-kev.d.ts +0 -5
  1021. package/dist/types/web/scrapers/clojars.d.ts +0 -5
  1022. package/dist/types/web/scrapers/coingecko.d.ts +0 -5
  1023. package/dist/types/web/scrapers/crates-io.d.ts +0 -5
  1024. package/dist/types/web/scrapers/crossref.d.ts +0 -2
  1025. package/dist/types/web/scrapers/devto.d.ts +0 -5
  1026. package/dist/types/web/scrapers/discogs.d.ts +0 -8
  1027. package/dist/types/web/scrapers/discourse.d.ts +0 -5
  1028. package/dist/types/web/scrapers/dockerhub.d.ts +0 -5
  1029. package/dist/types/web/scrapers/docs-rs.d.ts +0 -2
  1030. package/dist/types/web/scrapers/fdroid.d.ts +0 -5
  1031. package/dist/types/web/scrapers/firefox-addons.d.ts +0 -2
  1032. package/dist/types/web/scrapers/flathub.d.ts +0 -2
  1033. package/dist/types/web/scrapers/github-gist.d.ts +0 -5
  1034. package/dist/types/web/scrapers/github.d.ts +0 -34
  1035. package/dist/types/web/scrapers/gitlab.d.ts +0 -5
  1036. package/dist/types/web/scrapers/go-pkg.d.ts +0 -5
  1037. package/dist/types/web/scrapers/hackage.d.ts +0 -5
  1038. package/dist/types/web/scrapers/hackernews.d.ts +0 -2
  1039. package/dist/types/web/scrapers/hex.d.ts +0 -5
  1040. package/dist/types/web/scrapers/huggingface.d.ts +0 -2
  1041. package/dist/types/web/scrapers/iacr.d.ts +0 -5
  1042. package/dist/types/web/scrapers/index.d.ts +0 -84
  1043. package/dist/types/web/scrapers/jetbrains-marketplace.d.ts +0 -2
  1044. package/dist/types/web/scrapers/lemmy.d.ts +0 -2
  1045. package/dist/types/web/scrapers/lobsters.d.ts +0 -5
  1046. package/dist/types/web/scrapers/mastodon.d.ts +0 -5
  1047. package/dist/types/web/scrapers/maven.d.ts +0 -6
  1048. package/dist/types/web/scrapers/mdn.d.ts +0 -2
  1049. package/dist/types/web/scrapers/metacpan.d.ts +0 -5
  1050. package/dist/types/web/scrapers/musicbrainz.d.ts +0 -5
  1051. package/dist/types/web/scrapers/npm.d.ts +0 -5
  1052. package/dist/types/web/scrapers/nuget.d.ts +0 -5
  1053. package/dist/types/web/scrapers/nvd.d.ts +0 -5
  1054. package/dist/types/web/scrapers/ollama.d.ts +0 -2
  1055. package/dist/types/web/scrapers/open-vsx.d.ts +0 -5
  1056. package/dist/types/web/scrapers/opencorporates.d.ts +0 -5
  1057. package/dist/types/web/scrapers/openlibrary.d.ts +0 -5
  1058. package/dist/types/web/scrapers/orcid.d.ts +0 -5
  1059. package/dist/types/web/scrapers/osv.d.ts +0 -5
  1060. package/dist/types/web/scrapers/packagist.d.ts +0 -5
  1061. package/dist/types/web/scrapers/pub-dev.d.ts +0 -5
  1062. package/dist/types/web/scrapers/pubmed.d.ts +0 -5
  1063. package/dist/types/web/scrapers/pypi.d.ts +0 -5
  1064. package/dist/types/web/scrapers/rawg.d.ts +0 -2
  1065. package/dist/types/web/scrapers/readthedocs.d.ts +0 -5
  1066. package/dist/types/web/scrapers/reddit.d.ts +0 -5
  1067. package/dist/types/web/scrapers/repology.d.ts +0 -5
  1068. package/dist/types/web/scrapers/rfc.d.ts +0 -5
  1069. package/dist/types/web/scrapers/rubygems.d.ts +0 -5
  1070. package/dist/types/web/scrapers/searchcode.d.ts +0 -2
  1071. package/dist/types/web/scrapers/sec-edgar.d.ts +0 -5
  1072. package/dist/types/web/scrapers/semantic-scholar.d.ts +0 -2
  1073. package/dist/types/web/scrapers/snapcraft.d.ts +0 -2
  1074. package/dist/types/web/scrapers/sourcegraph.d.ts +0 -2
  1075. package/dist/types/web/scrapers/spdx.d.ts +0 -5
  1076. package/dist/types/web/scrapers/spotify.d.ts +0 -8
  1077. package/dist/types/web/scrapers/stackoverflow.d.ts +0 -6
  1078. package/dist/types/web/scrapers/terraform.d.ts +0 -5
  1079. package/dist/types/web/scrapers/tldr.d.ts +0 -7
  1080. package/dist/types/web/scrapers/twitter.d.ts +0 -5
  1081. package/dist/types/web/scrapers/types.d.ts +0 -90
  1082. package/dist/types/web/scrapers/utils.d.ts +0 -26
  1083. package/dist/types/web/scrapers/vimeo.d.ts +0 -5
  1084. package/dist/types/web/scrapers/vscode-marketplace.d.ts +0 -5
  1085. package/dist/types/web/scrapers/w3c.d.ts +0 -2
  1086. package/dist/types/web/scrapers/wikidata.d.ts +0 -5
  1087. package/dist/types/web/scrapers/wikipedia.d.ts +0 -5
  1088. package/dist/types/web/scrapers/youtube.d.ts +0 -5
  1089. package/dist/types/web/search/index.d.ts +0 -74
  1090. package/dist/types/web/search/provider.d.ts +0 -30
  1091. package/dist/types/web/search/providers/anthropic.d.ts +0 -33
  1092. package/dist/types/web/search/providers/base.d.ts +0 -83
  1093. package/dist/types/web/search/providers/brave.d.ts +0 -28
  1094. package/dist/types/web/search/providers/codex.d.ts +0 -36
  1095. package/dist/types/web/search/providers/duckduckgo.d.ts +0 -14
  1096. package/dist/types/web/search/providers/exa.d.ts +0 -70
  1097. package/dist/types/web/search/providers/firecrawl.d.ts +0 -28
  1098. package/dist/types/web/search/providers/gemini.d.ts +0 -62
  1099. package/dist/types/web/search/providers/jina.d.ts +0 -31
  1100. package/dist/types/web/search/providers/kagi.d.ts +0 -30
  1101. package/dist/types/web/search/providers/kimi.d.ts +0 -32
  1102. package/dist/types/web/search/providers/parallel.d.ts +0 -16
  1103. package/dist/types/web/search/providers/perplexity-auth.d.ts +0 -37
  1104. package/dist/types/web/search/providers/perplexity.d.ts +0 -58
  1105. package/dist/types/web/search/providers/searxng.d.ts +0 -45
  1106. package/dist/types/web/search/providers/synthetic.d.ts +0 -25
  1107. package/dist/types/web/search/providers/tavily.d.ts +0 -30
  1108. package/dist/types/web/search/providers/tinyfish.d.ts +0 -29
  1109. package/dist/types/web/search/providers/utils.d.ts +0 -52
  1110. package/dist/types/web/search/providers/xai.d.ts +0 -13
  1111. package/dist/types/web/search/providers/zai.d.ts +0 -29
  1112. package/dist/types/web/search/render.d.ts +0 -34
  1113. package/dist/types/web/search/types.d.ts +0 -431
  1114. package/dist/types/web/search/utils.d.ts +0 -4
  1115. package/dist/types/workspace-tree.d.ts +0 -42
@@ -0,0 +1,148 @@
1
+ /**
2
+ * Critic gate — the hard, code-enforced counterpart of the prompt rule
3
+ * "You NEVER execute a plan whose latest critic verdict is not `okay`".
4
+ *
5
+ * When a `critic` subagent completes with a schema-validated verdict, the
6
+ * parent session records it here. While the latest verdict is `iterate` or
7
+ * `reject` the runtime — not the prompt — blocks execution:
8
+ *
9
+ * - `task` refuses to spawn non-read-only agents (read-only lanes such as
10
+ * `plan`, `explore`, and `critic` itself stay open so the plan can be
11
+ * revised and re-gated).
12
+ * - Working-tree mutations through `write`/`edit`/patch are rejected; the
13
+ * `local://` artifact sandbox stays writable for seeds, plans, and notes.
14
+ *
15
+ * The gate clears in exactly two ways: a subsequent critic verdict of `okay`,
16
+ * or the next user-authored prompt (the user regaining control is the only
17
+ * override — mirroring jeo-code's `approve` hard gate, scoped to a turn-chain
18
+ * instead of a state file).
19
+ *
20
+ * A strike counter bounds the iterate loop: after
21
+ * {@link CRITIC_GATE_MAX_STRIKES} consecutive non-okay verdicts without user
22
+ * input, even re-submitting to `critic` is refused — the agent must stop and
23
+ * report the surviving gaps instead of burning tokens on convergence-free
24
+ * re-planning.
25
+ */
26
+
27
+ /** Agent name whose structured verdicts drive the gate. */
28
+ export const CRITIC_AGENT_NAME = "critic";
29
+
30
+ /** Consecutive non-okay verdicts allowed before the gate forces a stop-and-report. */
31
+ export const CRITIC_GATE_MAX_STRIKES = 3;
32
+
33
+ /** Non-okay verdicts that engage the gate. */
34
+ export type CriticGateVerdict = "iterate" | "reject";
35
+
36
+ /** Gate state held by the parent session while the latest verdict is not `okay`. */
37
+ export interface CriticGateState {
38
+ /** Latest non-okay verdict. */
39
+ verdict: CriticGateVerdict;
40
+ /** Agent id of the critic run that produced the verdict. */
41
+ agentId: string;
42
+ /** Epoch ms when the verdict was recorded. */
43
+ at: number;
44
+ /** `required_fixes` from the critic's structured output (empty for reject without fixes). */
45
+ requiredFixes: string[];
46
+ /** Consecutive non-okay verdicts since the last okay/user prompt. */
47
+ strikes: number;
48
+ }
49
+
50
+ /** Verdict parsed from a critic subagent's validated structured output. */
51
+ export interface ParsedCriticVerdict {
52
+ verdict: "okay" | CriticGateVerdict;
53
+ requiredFixes: string[];
54
+ summary?: string;
55
+ }
56
+
57
+ /**
58
+ * Parse a critic verdict from the subagent's final output payload (the
59
+ * JSON-serialized, schema-validated yield data). Returns undefined when the
60
+ * payload is not a critic-shaped verdict — the gate then stays untouched.
61
+ */
62
+ export function parseCriticVerdict(output: string): ParsedCriticVerdict | undefined {
63
+ let data: unknown;
64
+ try {
65
+ data = JSON.parse(output);
66
+ } catch {
67
+ return undefined;
68
+ }
69
+ if (data === null || typeof data !== "object") return undefined;
70
+ const record = data as Record<string, unknown>;
71
+ const verdict = record.verdict;
72
+ if (verdict !== "okay" && verdict !== "iterate" && verdict !== "reject") return undefined;
73
+ const rawFixes = record.required_fixes;
74
+ const requiredFixes = Array.isArray(rawFixes)
75
+ ? rawFixes.filter((fix): fix is string => typeof fix === "string")
76
+ : [];
77
+ const summary = typeof record.summary === "string" ? record.summary : undefined;
78
+ return { verdict, requiredFixes, summary };
79
+ }
80
+
81
+ /**
82
+ * Fold a new verdict into the gate state. `okay` clears the gate; a non-okay
83
+ * verdict engages it and increments the consecutive-strike counter.
84
+ */
85
+ export function updateCriticGateState(
86
+ previous: CriticGateState | undefined,
87
+ parsed: ParsedCriticVerdict,
88
+ agentId: string,
89
+ now: number = Date.now(),
90
+ ): CriticGateState | undefined {
91
+ if (parsed.verdict === "okay") return undefined;
92
+ return {
93
+ verdict: parsed.verdict,
94
+ agentId,
95
+ at: now,
96
+ requiredFixes: parsed.requiredFixes,
97
+ strikes: (previous?.strikes ?? 0) + 1,
98
+ };
99
+ }
100
+
101
+ function formatRequiredFixes(state: CriticGateState): string {
102
+ if (state.requiredFixes.length === 0) return "";
103
+ const bullets = state.requiredFixes.map(fix => `- ${fix}`).join("\n");
104
+ return `\nUnresolved required fixes:\n${bullets}`;
105
+ }
106
+
107
+ function gateSummaryLine(state: CriticGateState): string {
108
+ return `Critic gate engaged: the latest critic verdict (from \`${state.agentId}\`) was \`${state.verdict}\`, not \`okay\`.`;
109
+ }
110
+
111
+ /**
112
+ * Decide whether a spawn is allowed under the current gate state. Returns the
113
+ * rejection message when blocked, undefined when allowed.
114
+ *
115
+ * Read-only agents (plan revision, exploration, re-gating via critic) stay
116
+ * allowed — except that once the strike budget is exhausted, even a fresh
117
+ * critic run is refused so the loop terminates at the user instead of cycling.
118
+ */
119
+ export function evaluateCriticGateSpawn(
120
+ state: CriticGateState | undefined,
121
+ agentName: string,
122
+ agentIsReadOnly: boolean,
123
+ ): string | undefined {
124
+ if (!state) return undefined;
125
+ if (agentName === CRITIC_AGENT_NAME && state.strikes >= CRITIC_GATE_MAX_STRIKES) {
126
+ return (
127
+ `Critic gate: ${state.strikes} consecutive non-okay critic verdicts without user input — the iterate loop is closed. ` +
128
+ `Do NOT re-submit to critic. Stop and report the surviving gaps to the user; the gate clears on the next user message.${formatRequiredFixes(state)}`
129
+ );
130
+ }
131
+ if (agentIsReadOnly) return undefined;
132
+ return (
133
+ `${gateSummaryLine(state)} Spawning non-read-only agent "${agentName}" is blocked by the runtime, not just the prompt. ` +
134
+ `To proceed: revise the plan (read-only \`plan\` agent), re-submit to a fresh \`critic\`, and execute only after an \`okay\` verdict — or stop and report to the user (the gate clears on the next user message).${formatRequiredFixes(state)}`
135
+ );
136
+ }
137
+
138
+ /**
139
+ * Error text for a working-tree mutation attempted while the gate is engaged.
140
+ * The `local://` sandbox is exempt (seeds/plans/notes live there); callers
141
+ * check that before invoking this.
142
+ */
143
+ export function criticGateWriteMessage(state: CriticGateState): string {
144
+ return (
145
+ `${gateSummaryLine(state)} The working tree is locked until a critic returns \`okay\` for the revised plan ` +
146
+ `(or the user sends a new message). Write plans and notes to local:// files instead.${formatRequiredFixes(state)}`
147
+ );
148
+ }
@@ -2,8 +2,8 @@
2
2
  * Agent discovery from filesystem.
3
3
  *
4
4
  * Discovers agent definitions from OMP-native task-agent roots:
5
- * - ~/.omp/agent/agents/*.md (user-level)
6
- * - .omp/agents/*.md (project-level)
5
+ * - ~/.jeopi/agent/agents/*.md (user-level)
6
+ * - .jeopi/agents/*.md (project-level)
7
7
  *
8
8
  * Claude Code marketplace plugin agents are discovered separately via the
9
9
  * claude-plugins provider. Direct cross-harness roots such as .claude/agents
@@ -15,14 +15,14 @@
15
15
  import * as fs from "node:fs/promises";
16
16
  import * as os from "node:os";
17
17
  import * as path from "node:path";
18
- import { logger } from "jeopi-utils";
18
+ import { CONFIG_DIR_NAME, logger } from "jeopi-utils";
19
19
  import { isProviderEnabled } from "../capability";
20
20
  import { findAllNearestProjectConfigDirs, getConfigDirs } from "../config";
21
21
  import { listClaudePluginRoots } from "../discovery/helpers";
22
22
  import { loadBundledAgents, parseAgent } from "./agents";
23
23
  import type { AgentDefinition, AgentSource } from "./types";
24
24
 
25
- const TASK_AGENT_CONFIG_SOURCE = ".omp";
25
+ const TASK_AGENT_CONFIG_SOURCE = CONFIG_DIR_NAME;
26
26
 
27
27
  /** Result of agent discovery */
28
28
  export interface DiscoveryResult {
@@ -55,7 +55,7 @@ async function loadAgentsFromDir(dir: string, source: AgentSource): Promise<Agen
55
55
  /**
56
56
  * Discover agents from filesystem and merge with bundled agents.
57
57
  *
58
- * Precedence (highest wins): project .omp, user .omp, Claude plugin agents, then bundled
58
+ * Precedence (highest wins): project .jeopi, user .jeopi, Claude plugin agents, then bundled
59
59
  * @param cwd - Current working directory for project agent discovery
60
60
  */
61
61
  export async function discoverAgents(cwd: string, home: string = os.homedir()): Promise<DiscoveryResult> {
@@ -342,7 +342,7 @@ export interface ExecutorOptions {
342
342
  preloadedExtensionPaths?: string[];
343
343
  /**
344
344
  * Parent's discovered custom-tool source paths. Forwarded to skip the
345
- * `.omp/tools/` FS scan in the subagent; the subagent then re-binds each
345
+ * `.jeopi/tools/` FS scan in the subagent; the subagent then re-binds each
346
346
  * tool against its own `CustomToolAPI` (cwd, exec, pushPendingAction, UI).
347
347
  */
348
348
  preloadedCustomToolPaths?: ToolPathWithSource[];
package/src/task/index.ts CHANGED
@@ -3,8 +3,8 @@
3
3
  *
4
4
  * Discovers agent definitions from:
5
5
  * - Bundled agents (shipped with omp-coding-agent)
6
- * - ~/.omp/agent/agents/*.md (user-level)
7
- * - .omp/agents/*.md (project-level)
6
+ * - ~/.jeopi/agent/agents/*.md (user-level)
7
+ * - .jeopi/agents/*.md (project-level)
8
8
  *
9
9
  * Supports:
10
10
  * - Single agent spawn per call (parallelism = parallel task calls)
@@ -48,6 +48,7 @@ import type { AsyncJobManager } from "../async";
48
48
  import type { LocalProtocolOptions } from "../internal-urls";
49
49
  import { loadOverallPlanReference } from "../plan-mode/plan-handoff";
50
50
  import { AgentRegistry, MAIN_AGENT_ID } from "../registry/agent-registry";
51
+ import { CRITIC_AGENT_NAME, evaluateCriticGateSpawn, parseCriticVerdict, updateCriticGateState } from "./critic-gate";
51
52
  import { type DiscoveryResult, discoverAgents, getAgent } from "./discovery";
52
53
  import { runSubprocess } from "./executor";
53
54
  import {
@@ -1118,6 +1119,21 @@ export class TaskTool implements AgentTool<TaskToolSchemaInstance, TaskToolDetai
1118
1119
  };
1119
1120
  }
1120
1121
 
1122
+ // Critic gate: while the latest critic verdict is non-okay, only
1123
+ // read-only agents may spawn (plan revision / re-gating); execution
1124
+ // lanes are blocked by the runtime, not just the prompt.
1125
+ const criticGateRejection = evaluateCriticGateSpawn(
1126
+ this.session.getCriticGateState?.(),
1127
+ agentName,
1128
+ isReadOnlyAgent(agent),
1129
+ );
1130
+ if (criticGateRejection) {
1131
+ return {
1132
+ content: [{ type: "text", text: criticGateRejection }],
1133
+ details: { projectAgentsDir, results: [], totalDurationMs: 0 },
1134
+ };
1135
+ }
1136
+
1121
1137
  const planModeState = this.session.getPlanModeState?.();
1122
1138
  const planModeBaseTools = ["read", "grep", "glob", "lsp", "web_search"];
1123
1139
  const planModeTools = [
@@ -1388,6 +1404,23 @@ export class TaskTool implements AgentTool<TaskToolSchemaInstance, TaskToolDetai
1388
1404
 
1389
1405
  const result = await runTask();
1390
1406
 
1407
+ // Record critic verdicts into the session's hard execution gate. Only
1408
+ // clean, schema-validated completions move the gate — a failed or
1409
+ // aborted critic run leaves the previous state untouched.
1410
+ if (
1411
+ agent.name === CRITIC_AGENT_NAME &&
1412
+ this.session.setCriticGateState &&
1413
+ result.exitCode === 0 &&
1414
+ !result.aborted
1415
+ ) {
1416
+ const parsed = parseCriticVerdict(result.output);
1417
+ if (parsed) {
1418
+ this.session.setCriticGateState(
1419
+ updateCriticGateState(this.session.getCriticGateState?.(), parsed, result.id),
1420
+ );
1421
+ }
1422
+ }
1423
+
1391
1424
  let mergeSummary = "";
1392
1425
  let changesApplied: boolean | null = null;
1393
1426
  let mergedBranchForNestedPatches = false;
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * When an ACP client (e.g. Zed) advertises the `fs.writeTextFile` capability,
5
5
  * all write-mode tools must route through it so the editor's open buffer is
6
- * updated immediately. Internal artifacts ('/Users/theo/.omp/agent/sessions/-Projects-oh-my-pi/2026-06-10T09-11-41-506Z_019eb0cd-3ec2-7000-92aa-1b82aa4d78f0/local' plan files, other scheme
6
+ * updated immediately. Internal artifacts ('/Users/theo/.jeopi/agent/sessions/-Projects-oh-my-pi/2026-06-10T09-11-41-506Z_019eb0cd-3ec2-7000-92aa-1b82aa4d78f0/local' plan files, other scheme
7
7
  * URLs) are always written directly to disk — those are OMP-owned and should
8
8
  * never be pushed into the editor.
9
9
  */
@@ -16,7 +16,7 @@ import { ToolError } from "./tool-errors";
16
16
  /**
17
17
  * Return `true` when an ACP client bridge write is appropriate for this path.
18
18
  *
19
- * Returns `false` for internal-URL paths (e.g. `'/Users/theo/.omp/agent/sessions/-Projects-oh-my-pi/2026-06-10T09-11-41-506Z_019eb0cd-3ec2-7000-92aa-1b82aa4d78f0/local/PLAN.md'`) and for the
19
+ * Returns `false` for internal-URL paths (e.g. `'/Users/theo/.jeopi/agent/sessions/-Projects-oh-my-pi/2026-06-10T09-11-41-506Z_019eb0cd-3ec2-7000-92aa-1b82aa4d78f0/local/PLAN.md'`) and for the
20
20
  * active plan file while plan mode is enabled — both are OMP-internal artifacts
21
21
  * that must stay off the editor's buffer.
22
22
  */
@@ -101,7 +101,7 @@ async function loadBrowsers(): Promise<typeof BrowsersNs> {
101
101
  /**
102
102
  * Lazily download Chromium on first browser launch via @puppeteer/browsers.
103
103
  * Skipped when a system Chromium (NixOS) or PUPPETEER_EXECUTABLE_PATH is set.
104
- * The browser is cached under ~/.omp/puppeteer (getPuppeteerDir).
104
+ * The browser is cached under ~/.jeopi/puppeteer (getPuppeteerDir).
105
105
  */
106
106
  let chromiumExecutablePromise: Promise<string | undefined> | undefined;
107
107
  async function ensureChromiumExecutable(): Promise<string | undefined> {
@@ -27,6 +27,7 @@ import type { CustomMessage } from "../session/messages";
27
27
  import type { UsageStatistics } from "../session/session-entries";
28
28
  import type { ToolChoiceQueue } from "../session/tool-choice-queue";
29
29
  import { TaskTool } from "../task";
30
+ import type { CriticGateState } from "../task/critic-gate";
30
31
  import type { AgentOutputManager } from "../task/output-manager";
31
32
  import { canSpawnAtDepth } from "../task/types";
32
33
  import { countToolsForAutoDiscovery, resolveEffectiveToolDiscoveryMode } from "../tool-discovery/mode";
@@ -187,7 +188,7 @@ export interface ToolSession {
187
188
  */
188
189
  extensionPaths?: string[];
189
190
  /**
190
- * Pre-discovered custom-tool source paths from `.omp/tools/`, `.claude/tools/`,
191
+ * Pre-discovered custom-tool source paths from `.jeopi/tools/`, `.claude/tools/`,
191
192
  * plugins, etc. Forwarded to subagents so they skip the FS scan but still
192
193
  * re-bind tools to their own session-scoped `CustomToolAPI`.
193
194
  */
@@ -273,6 +274,10 @@ export interface ToolSession {
273
274
  getPlanModeState?: () => PlanModeState | undefined;
274
275
  /** Path of the session's active plan reference (e.g. `local://<title>.md`); defaults to `local://PLAN.md`. */
275
276
  getPlanReferencePath?: () => string;
277
+ /** Critic gate state — engaged after a non-okay `critic` verdict; cleared by an okay verdict or the next user prompt. */
278
+ getCriticGateState?: () => CriticGateState | undefined;
279
+ /** Replace the critic gate state (undefined clears the gate). */
280
+ setCriticGateState?: (state: CriticGateState | undefined) => void;
276
281
  /** Goal mode state (if active or paused) */
277
282
  getGoalModeState?: () => GoalModeState | undefined;
278
283
  /** Goal runtime for the active agent session. */
@@ -7,6 +7,7 @@ import {
7
7
  resolveLocalUrlToPath,
8
8
  resolveVaultUrlToPath,
9
9
  } from "../internal-urls";
10
+ import { criticGateWriteMessage } from "../task/critic-gate";
10
11
  import type { ToolSession } from ".";
11
12
  import { normalizeLocalScheme, resolveToCwd } from "./path-utils";
12
13
  import { ToolError } from "./tool-errors";
@@ -136,6 +137,7 @@ export function enforcePlanModeWrite(
136
137
  targetPath: string,
137
138
  options?: { move?: string; op?: "create" | "update" | "delete" },
138
139
  ): void {
140
+ enforceCriticGateWrite(session, targetPath);
139
141
  const state = session.getPlanModeState?.();
140
142
  if (!state?.enabled) return;
141
143
 
@@ -153,3 +155,17 @@ export function enforcePlanModeWrite(
153
155
  "Plan mode: the working tree is read-only. Write your plan to a local://<slug>-plan.md file instead.",
154
156
  );
155
157
  }
158
+
159
+ /**
160
+ * Critic gate — while the session's latest critic verdict is not `okay`,
161
+ * working-tree mutations are rejected at the runtime level. The `local://`
162
+ * artifact sandbox stays writable (seeds, plans, and scratch notes live
163
+ * there). Runs inside {@link enforcePlanModeWrite} so every mutating tool
164
+ * (`write`, `edit` replace/patch/hashline) hits one choke point.
165
+ */
166
+ export function enforceCriticGateWrite(session: ToolSession, targetPath: string): void {
167
+ const gate = session.getCriticGateState?.();
168
+ if (!gate) return;
169
+ if (targetsLocalSandbox(session, targetPath)) return;
170
+ throw new ToolError(criticGateWriteMessage(gate));
171
+ }
@@ -187,7 +187,7 @@ let cachedDb: Database | null = null;
187
187
 
188
188
  /**
189
189
  * Open (or return the cached handle for) the auto-QA SQLite database at
190
- * `~/.omp/agent/autoqa.db`. Idempotently runs schema creation, the
190
+ * `~/.jeopi/agent/autoqa.db`. Idempotently runs schema creation, the
191
191
  * `pushed`-column migration, and index setup so every consumer — tool
192
192
  * execute path, manual `jeopi grievances push`, future debug scripts —
193
193
  * sees the same prepared schema. Returns `null` only on a hard open
@@ -474,7 +474,7 @@ export function createReportToolIssueTool(session: ToolSession, activeBuiltinNam
474
474
  intent: "omit",
475
475
  async execute(_toolCallId, rawParams) {
476
476
  // Save is unconditional: the row lives in the user's own SQLite
477
- // at ~/.omp/agent/autoqa.db regardless of consent — they always
477
+ // at ~/.jeopi/agent/autoqa.db regardless of consent — they always
478
478
  // own their local data and can inspect or wipe it via `jeopi grievances`.
479
479
  // Consent only gates whether the row is *shipped* to the shared
480
480
  // backend; that decision rides on `dev.autoqa.consent` and is
@@ -106,8 +106,8 @@ export function getNewEntries(entries: ChangelogEntry[], lastVersion: string): C
106
106
  export { getChangelogPath } from "../config";
107
107
 
108
108
  /**
109
- * Last omp version whose changelog the user has seen. Stored as a plain-text
110
- * marker file (`~/.omp/agent/last-changelog-version`) rather than in
109
+ * Last jeopi version whose changelog the user has seen. Stored as a plain-text
110
+ * marker file (`~/.jeopi/agent/last-changelog-version`) rather than in
111
111
  * `config.yml`, so version bumps never dirty user-tracked config files.
112
112
  */
113
113
  export async function readLastChangelogVersion(agentDir?: string): Promise<string | undefined> {
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,106 +0,0 @@
1
- import type { AgentIdentity, AgentTelemetryConfig, AgentTool, AgentToolContext, AgentToolResult, AgentToolUpdateCallback } from "jeopi-agent-core";
2
- declare const adviseSchema: import("arktype/internal/variants/object.ts").ObjectType<{
3
- note: string;
4
- severity?: "blocker" | "concern" | "nit" | undefined;
5
- }, {}>;
6
- export type AdviseParams = typeof adviseSchema.infer;
7
- export type AdvisorSeverity = "nit" | "concern" | "blocker";
8
- export interface AdviseDetails {
9
- note: string;
10
- severity?: AdvisorSeverity;
11
- /** Which configured advisor produced this note (omitted for the default advisor). */
12
- advisor?: string;
13
- }
14
- /** One queued advice note. */
15
- export interface AdvisorNote {
16
- note: string;
17
- severity?: AdvisorSeverity;
18
- /** Which configured advisor produced this note (omitted for the default advisor). */
19
- advisor?: string;
20
- }
21
- /** Details payload on the batched `advisor` custom message rendered in the transcript. */
22
- export interface AdvisorMessageDetails {
23
- notes: AdvisorNote[];
24
- }
25
- /**
26
- * Render a batch of advisor notes as the agent-facing message body: one
27
- * `<advisory>` element per note, severity as an attribute. Shared by the
28
- * non-interrupting YieldQueue dispatcher and the interrupting steer path so both
29
- * build byte-identical content.
30
- */
31
- export declare function formatAdvisorBatchContent(notes: readonly AdvisorNote[]): string;
32
- /**
33
- * Whether advice at this severity should interrupt the running agent (delivered
34
- * via the steering channel, aborting in-flight tools) rather than ride the
35
- * non-interrupting aside queue that lands at the next step boundary. `concern`
36
- * and `blocker` interrupt; a plain `nit` queues.
37
- */
38
- export declare function isInterruptingSeverity(severity: AdvisorSeverity | undefined): boolean;
39
- /** How an advisor note is routed to the primary. */
40
- export type AdvisorDeliveryChannel = "aside" | "steer" | "preserve";
41
- /** Half-open turn-count fence for the post-interrupt cooldown. */
42
- export declare function isAdvisorInterruptImmuneTurnActive(opts: {
43
- completedTurns: number;
44
- immuneTurnStart: number | undefined;
45
- immuneTurns: number;
46
- }): boolean;
47
- /**
48
- * Decide how one advisor note reaches the primary agent.
49
- *
50
- * - A non-interrupting `nit` always rides the non-interrupting aside queue.
51
- * - An interrupting `concern`/`blocker` is normally steered into the agent: into
52
- * the live turn while one is streaming, or (when idle) a triggered turn so the
53
- * advice is acted on immediately.
54
- * - After a deliberate user interrupt (`autoResumeSuppressed`) the advisor must
55
- * not auto-resume the stopped run. While the agent is idle — or still tearing
56
- * the interrupted turn down (`aborting`) — the note is preserved as a visible
57
- * card instead of restarting the run. But once a turn is actively streaming
58
- * again (a resume the user already drove), steering the note in does NOT
59
- * auto-resume anything, so it is delivered live. Parking it during an active
60
- * run instead strands it (it never reaches the running agent) and the withheld
61
- * notes dump as one burst at the next user prompt — the bug this guards.
62
- * - During the post-interrupt immune-turn window, further `concern`/`blocker`
63
- * notes are downgraded to asides; suppression preservation still wins.
64
- */
65
- export declare function resolveAdvisorDeliveryChannel(opts: {
66
- severity: AdvisorSeverity | undefined;
67
- autoResumeSuppressed: boolean;
68
- streaming: boolean;
69
- aborting: boolean;
70
- interruptImmuneTurnActive?: boolean;
71
- }): AdvisorDeliveryChannel;
72
- /**
73
- * Derive the advisor loop's telemetry from the primary session's config so the
74
- * advisor model's GenAI spans and usage/cost hooks (onChatUsage, onCostDelta,
75
- * costEstimator) fire under the same pipeline as every other model call —
76
- * stamped with the advisor's own agent identity. `conversationId` is cleared so
77
- * the advisor loop falls back to its own `-advisor` session id for
78
- * `gen_ai.conversation.id` instead of inheriting the primary's conversation.
79
- *
80
- * Returns undefined when the primary has no telemetry (instrumentation off), so
81
- * the advisor `Agent` stays a zero-overhead no-op as well.
82
- */
83
- export declare function deriveAdvisorTelemetry(primaryTelemetry: AgentTelemetryConfig | undefined, identity: AgentIdentity): AgentTelemetryConfig | undefined;
84
- /**
85
- * The tools an advisor receives by default when its config omits `tools` — the
86
- * read-only investigative set. The full available pool is every built tool the
87
- * session has (the advisor is a full agent); a config's `tools` selects from it.
88
- */
89
- export declare const ADVISOR_DEFAULT_TOOL_NAMES: ReadonlySet<string>;
90
- export declare class AdviseTool implements AgentTool<typeof adviseSchema, AdviseDetails> {
91
- #private;
92
- private readonly onAdvice;
93
- readonly name = "advise";
94
- readonly label = "Advise";
95
- readonly description: string;
96
- readonly parameters: import("arktype/internal/variants/object.ts").ObjectType<{
97
- note: string;
98
- severity?: "blocker" | "concern" | "nit" | undefined;
99
- }, {}>;
100
- readonly intent: "omit";
101
- constructor(onAdvice: (note: string, severity?: AdviseDetails["severity"]) => void);
102
- /** Clear delivered-note memory when the advisor starts a fresh conversation. */
103
- resetDeliveredNotes(): void;
104
- execute(_toolCallId: string, args: AdviseParams, _signal?: AbortSignal, _onUpdate?: AgentToolUpdateCallback<AdviseDetails>, _context?: AgentToolContext): Promise<AgentToolResult<AdviseDetails>>;
105
- }
106
- export {};
@@ -1,90 +0,0 @@
1
- /**
2
- * One advisor declared in a `WATCHDOG.yml` file. `model` is a model selector
3
- * with an optional `:level` thinking suffix (e.g. `x-ai/grok-code-fast:high`),
4
- * resolved exactly like any other model override; `tools` is a subset of
5
- * `BUILTIN_TOOL_NAMES` — any built-in name, including mutating tools such as
6
- * `edit`/`write`/`bash` (the advisor is a full agent). Omitted or empty falls
7
- * back to the default `read`/`grep`/`glob` subset. `instructions` is the
8
- * advisor's specialization, appended to the shared baseline.
9
- */
10
- export interface AdvisorConfig {
11
- name: string;
12
- model?: string;
13
- tools?: string[];
14
- instructions?: string;
15
- }
16
- /**
17
- * The result of walking the `WATCHDOG.yml`/`WATCHDOG.yaml` search path: the
18
- * deduped advisor roster plus the concatenated top-level `instructions` baseline
19
- * that is prepended (alongside `WATCHDOG.md`) to every advisor.
20
- */
21
- export interface DiscoveredAdvisors {
22
- advisors: AdvisorConfig[];
23
- sharedInstructions: string | undefined;
24
- }
25
- /**
26
- * Normalize an advisor name into a filesystem-/id-safe slug used for its
27
- * transcript filename and session id: lowercase, non-alphanumerics collapsed to
28
- * `-`, leading/trailing `-` trimmed. Falls back to `"advisor"` when nothing
29
- * survives; callers dedupe collisions.
30
- */
31
- export declare function slugifyAdvisorName(name: string): string;
32
- /**
33
- * Discover advisor configs from `WATCHDOG.yml`/`WATCHDOG.yaml` files on the same
34
- * user + project search path as `WATCHDOG.md`. Advisors are keyed by slug; a
35
- * more-specific file (project leaf > project ancestor > user) replaces an earlier
36
- * entry with the same slug. Top-level `instructions` across all files concatenate
37
- * into the shared baseline. A malformed file is logged and skipped — never
38
- * thrown — so a bad project config can't kill the session.
39
- */
40
- export declare function discoverAdvisorConfigs(cwd: string, agentDir?: string): Promise<DiscoveredAdvisors>;
41
- /** Which level a `WATCHDOG.yml` lives at: the project root or the user agent dir. */
42
- export type AdvisorConfigScope = "project" | "user";
43
- /**
44
- * The editable contents of a single `WATCHDOG.yml` file: the shared top-level
45
- * `instructions` plus the advisor roster. Unlike {@link DiscoveredAdvisors}, this
46
- * is one file's raw view (no cross-level merge, no `@import` expansion) so the
47
- * config editor round-trips exactly what the user wrote.
48
- */
49
- export interface WatchdogConfigDoc {
50
- instructions?: string;
51
- advisors: AdvisorConfig[];
52
- }
53
- /**
54
- * Resolve the `WATCHDOG.yml` path for a scope: `project` → `<projectDir>/WATCHDOG.yml`
55
- * (discovered by the project-level walk), `user` → `<agentDir>/WATCHDOG.yml` (the
56
- * user-level candidate).
57
- */
58
- export declare function advisorConfigFilePath(scope: AdvisorConfigScope, dirs: {
59
- projectDir: string;
60
- agentDir: string;
61
- }): string;
62
- /**
63
- * Resolve which `WATCHDOG.{yml,yaml}` to edit for a scope: prefer the canonical
64
- * `.yml`, but when only a `.yaml` exists for that scope, edit it in place so an
65
- * existing `.yaml` user isn't shown a blank editor and left with two files at the
66
- * same precedence. Falls back to `.yml` when neither exists.
67
- */
68
- export declare function resolveAdvisorConfigEditPath(scope: AdvisorConfigScope, dirs: {
69
- projectDir: string;
70
- agentDir: string;
71
- }): Promise<string>;
72
- /**
73
- * Load one `WATCHDOG.yml` file for editing — raw, un-merged, un-expanded. Missing,
74
- * unparseable, or schema-invalid files yield an empty doc (never throws) so the
75
- * editor opens cleanly on a fresh or broken file.
76
- */
77
- export declare function loadWatchdogConfigFile(filePath: string): Promise<WatchdogConfigDoc>;
78
- /**
79
- * Serialize an editable doc back to block-style `WATCHDOG.yml` text via Bun's
80
- * `YAML.stringify` (the same API the repo uses for other hand-editable config),
81
- * omitting empty fields. Round-trips through {@link loadWatchdogConfigFile}.
82
- * Returns `""` for an empty doc.
83
- */
84
- export declare function serializeWatchdogConfig(doc: WatchdogConfigDoc): string;
85
- /**
86
- * Write an editable doc to `WATCHDOG.yml`. An empty doc removes the file so
87
- * discovery falls back to the legacy single-advisor path rather than leaving an
88
- * empty config behind.
89
- */
90
- export declare function saveWatchdogConfigFile(filePath: string, doc: WatchdogConfigDoc): Promise<void>;
@@ -1,73 +0,0 @@
1
- /**
2
- * Per-session policy gate for advisor `advise()` calls.
3
- *
4
- * The advisor system prompt tells the watcher model:
5
- *
6
- * > at most one `advise` per update
7
- * > NEVER repeat advice you already gave, and NEVER send the same advice twice
8
- *
9
- * Real advisor models violate this. Issue #3520 captured a session where
10
- * `__advisor.jsonl` recorded 309 `advise` calls covering 92 unique notes —
11
- * 114× `Stop.`, 52× `No issue; continue.`, 41× `Done.` — flooding the primary
12
- * transcript with `<advisory severity="blocker">Stop.</advisory>` after the
13
- * task was already complete. The fix is to make the rules load-bearing in code
14
- * instead of prose: silently drop duplicates, content-free self-talk, and
15
- * over-budget calls at the `enqueueAdvice` boundary so the primary stays
16
- * clean even when the advisor misbehaves.
17
- *
18
- * The gate is intentionally invisible to the advisor model — `AdviseTool`
19
- * still returns `Recorded.` for a suppressed call. Surfacing "suppressed"
20
- * back into advisor context risks the model rephrasing the same useless note
21
- * to bypass the dedupe ("Stop.", then "Halt." then "Stop now.").
22
- */
23
- /**
24
- * Case-insensitive, punctuation-folded normalization. Collapses every run of
25
- * non-letter / non-digit characters into a single space and trims, so
26
- * `"Stop."`, `"*Stop*"`, and `" stop "` all key to `stop`, while
27
- * `"No issue; continue."` keys to `no issue continue`.
28
- *
29
- * Exported for tests.
30
- */
31
- export declare function normalizeAdvisorNote(note: string): string;
32
- /**
33
- * Decides whether an advisor `advise()` call should reach the primary agent.
34
- *
35
- * Enforces — in this order — the noise filter, session-scoped exact-text
36
- * dedupe (FIFO-evicted at {@link DEFAULT_HISTORY_CAPACITY}), and a per-update
37
- * rate limit of one accepted note per advisor model prompt. Suppressed calls
38
- * never consume the per-update budget — a noise call doesn't burn the slot
39
- * for a real concern that follows in the same update.
40
- *
41
- * Reset on advisor reset (compaction, session switch, `/new`) via
42
- * {@link reset}. Per-update gate is cleared at the start of every advisor
43
- * `agent.prompt()` cycle via {@link beginUpdate}.
44
- */
45
- export declare class AdvisorEmissionGuard {
46
- #private;
47
- constructor(opts?: {
48
- capacity?: number;
49
- });
50
- /**
51
- * Drop all dedupe and per-update state. Called from
52
- * `AgentSession#resetAdvisorSessionState()` whenever the advisor runtime is
53
- * reset — same boundary as `yieldQueue.clear("advisor")`, so a re-primed
54
- * advisor can re-raise old issues (the primary transcript was rewritten).
55
- */
56
- reset(): void;
57
- /**
58
- * Clear the per-update rate-limit gate. Called by `AdvisorRuntime` right
59
- * before each `agent.prompt(batch)` invocation so the next advisor model
60
- * cycle starts with a fresh budget of one advise.
61
- */
62
- beginUpdate(): void;
63
- /**
64
- * Whether the proposed note should reach the primary. On `true` the gate
65
- * has already recorded the note (consumed the per-update budget and added
66
- * it to the dedupe history) — caller delivers the note. On `false` the
67
- * caller drops it.
68
- *
69
- * Empty / whitespace-only notes are suppressed; the model's
70
- * tool-args contract still requires a non-empty string but defense-in-depth.
71
- */
72
- accept(note: string): boolean;
73
- }