@skj1724/oh-my-opencode 3.11.8 → 3.17.4

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 (366) hide show
  1. package/README.ja.md +8 -4
  2. package/README.ko.md +8 -4
  3. package/README.md +20 -10
  4. package/README.ru.md +8 -4
  5. package/README.zh-cn.md +8 -4
  6. package/bin/oh-my-opencode.js +11 -0
  7. package/bin/platform.js +13 -13
  8. package/bin/platform.test.ts +15 -0
  9. package/dist/agents/atlas/agent.d.ts +1 -1
  10. package/dist/agents/atlas/default-prompt-sections.d.ts +6 -0
  11. package/dist/agents/atlas/default.d.ts +0 -9
  12. package/dist/agents/atlas/gemini-prompt-sections.d.ts +6 -0
  13. package/dist/agents/atlas/gpt-prompt-sections.d.ts +6 -0
  14. package/dist/agents/atlas/gpt.d.ts +0 -9
  15. package/dist/agents/atlas/shared-prompt.d.ts +9 -0
  16. package/dist/agents/dynamic-agent-category-skills-guide.d.ts +2 -0
  17. package/dist/agents/dynamic-agent-core-sections.d.ts +17 -0
  18. package/dist/agents/dynamic-agent-policy-sections.d.ts +6 -0
  19. package/dist/agents/dynamic-agent-prompt-builder.d.ts +5 -35
  20. package/dist/agents/dynamic-agent-prompt-types.d.ts +20 -0
  21. package/dist/agents/dynamic-agent-tool-categorization.d.ts +3 -0
  22. package/dist/agents/gpt-apply-patch-guard.d.ts +2 -0
  23. package/dist/agents/hephaestus/agent.d.ts +1 -1
  24. package/dist/agents/hephaestus/gpt-5-3-codex.d.ts +1 -2
  25. package/dist/agents/hephaestus/gpt-5-4.d.ts +22 -1
  26. package/dist/agents/hephaestus/gpt.d.ts +1 -1
  27. package/dist/agents/metis.d.ts +9 -9
  28. package/dist/agents/momus.d.ts +2 -2
  29. package/dist/agents/prometheus/behavioral-summary.d.ts +1 -1
  30. package/dist/agents/prometheus/identity-constraints.d.ts +4 -3
  31. package/dist/agents/prometheus/interview-mode.d.ts +3 -3
  32. package/dist/agents/prometheus/plan-generation.d.ts +4 -4
  33. package/dist/agents/prometheus/plan-template.d.ts +1 -1
  34. package/dist/agents/sisyphus/default.d.ts +2 -2
  35. package/dist/agents/sisyphus/gemini.d.ts +10 -10
  36. package/dist/agents/sisyphus/gpt-5-4.d.ts +18 -18
  37. package/dist/agents/sisyphus/index.d.ts +1 -1
  38. package/dist/agents/sisyphus.d.ts +1 -1
  39. package/dist/agents/types.d.ts +1 -0
  40. package/dist/cli/config-manager/backup-config.d.ts +6 -0
  41. package/dist/cli/config-manager/version-compatibility.d.ts +9 -0
  42. package/dist/cli/config-manager.d.ts +4 -0
  43. package/dist/cli/doctor/checks/system.d.ts +15 -2
  44. package/dist/cli/doctor/constants.d.ts +1 -1
  45. package/dist/cli/doctor/spawn-with-timeout.d.ts +8 -0
  46. package/dist/cli/index.js +27570 -18945
  47. package/dist/cli/install-validators.d.ts +1 -0
  48. package/dist/cli/mcp-oauth/login.d.ts +6 -1
  49. package/dist/cli/minimum-opencode-version.d.ts +1 -0
  50. package/dist/cli/model-fallback-types.d.ts +4 -0
  51. package/dist/cli/provider-model-id-transform.d.ts +1 -1
  52. package/dist/cli/run/continuation-state.d.ts +2 -1
  53. package/dist/cli/run/event-state.d.ts +0 -2
  54. package/dist/cli/run/types.d.ts +0 -1
  55. package/dist/cli/types.d.ts +4 -0
  56. package/dist/config/schema/agent-definitions.d.ts +3 -0
  57. package/dist/config/schema/agent-names.d.ts +2 -0
  58. package/dist/config/schema/agent-overrides.d.ts +330 -15
  59. package/dist/config/schema/background-task.d.ts +2 -1
  60. package/dist/config/schema/categories.d.ts +44 -2
  61. package/dist/config/schema/commands.d.ts +1 -0
  62. package/dist/config/schema/experimental.d.ts +1 -0
  63. package/dist/config/schema/fallback-models.d.ts +67 -1
  64. package/dist/config/schema/hooks.d.ts +3 -0
  65. package/dist/config/schema/oh-my-opencode-config.d.ts +345 -17
  66. package/dist/config/schema/sisyphus-agent.d.ts +1 -0
  67. package/dist/config/schema/tmux.d.ts +11 -0
  68. package/dist/create-hooks.d.ts +8 -0
  69. package/dist/create-managers.d.ts +16 -0
  70. package/dist/create-runtime-tmux-config.d.ts +10 -0
  71. package/dist/create-tools.d.ts +3 -2
  72. package/dist/features/background-agent/abort-with-timeout.d.ts +2 -0
  73. package/dist/features/background-agent/background-task-notification-template.d.ts +10 -4
  74. package/dist/features/background-agent/compaction-aware-message-resolver.d.ts +5 -2
  75. package/dist/features/background-agent/constants.d.ts +1 -0
  76. package/dist/features/background-agent/fallback-retry-handler.d.ts +1 -1
  77. package/dist/features/background-agent/index.d.ts +2 -0
  78. package/dist/features/background-agent/manager.d.ts +10 -0
  79. package/dist/features/background-agent/process-cleanup.d.ts +1 -1
  80. package/dist/features/background-agent/session-existence.d.ts +3 -0
  81. package/dist/features/background-agent/spawner.d.ts +3 -0
  82. package/dist/features/background-agent/subagent-spawn-limits.d.ts +1 -8
  83. package/dist/features/background-agent/task-poller.d.ts +2 -0
  84. package/dist/features/background-agent/types.d.ts +2 -0
  85. package/dist/features/background-agent/wait-for-task-session.d.ts +17 -0
  86. package/dist/features/boulder-state/storage.d.ts +8 -1
  87. package/dist/features/boulder-state/types.d.ts +1 -0
  88. package/dist/features/builtin-commands/commands.d.ts +5 -1
  89. package/dist/features/builtin-commands/templates/handoff.d.ts +1 -1
  90. package/dist/features/builtin-commands/templates/init-deep.d.ts +1 -1
  91. package/dist/features/builtin-commands/templates/ralph-loop.d.ts +3 -3
  92. package/dist/features/builtin-commands/templates/remove-ai-slops.d.ts +1 -0
  93. package/dist/features/builtin-commands/templates/start-work.d.ts +1 -1
  94. package/dist/features/builtin-commands/types.d.ts +1 -1
  95. package/dist/features/builtin-skills/skills/ai-slop-remover.d.ts +2 -0
  96. package/dist/features/builtin-skills/skills/git-master-sections/commit-workflow.d.ts +1 -0
  97. package/dist/features/builtin-skills/skills/git-master-sections/history-search-workflow.d.ts +1 -0
  98. package/dist/features/builtin-skills/skills/git-master-sections/overview.d.ts +1 -0
  99. package/dist/features/builtin-skills/skills/git-master-sections/quick-reference.d.ts +1 -0
  100. package/dist/features/builtin-skills/skills/git-master-sections/rebase-workflow.d.ts +1 -0
  101. package/dist/features/builtin-skills/skills/index.d.ts +2 -0
  102. package/dist/features/builtin-skills/skills/playwright-cli.d.ts +1 -1
  103. package/dist/features/builtin-skills/skills/review-work.d.ts +2 -0
  104. package/dist/features/claude-code-agent-loader/agent-definitions-loader.d.ts +3 -0
  105. package/dist/features/claude-code-agent-loader/index.d.ts +3 -0
  106. package/dist/features/claude-code-agent-loader/json-agent-loader.d.ts +2 -0
  107. package/dist/features/claude-code-agent-loader/loader.d.ts +2 -0
  108. package/dist/features/claude-code-agent-loader/opencode-config-agents-reader.d.ts +2 -0
  109. package/dist/features/claude-code-agent-loader/types.d.ts +9 -1
  110. package/dist/features/claude-code-mcp-loader/configure-allowed-env-vars.d.ts +5 -0
  111. package/dist/features/claude-code-mcp-loader/env-expander.d.ts +5 -2
  112. package/dist/features/claude-code-mcp-loader/index.d.ts +1 -0
  113. package/dist/features/claude-code-mcp-loader/scope-filter.d.ts +2 -0
  114. package/dist/features/claude-code-mcp-loader/types.d.ts +8 -4
  115. package/dist/features/claude-code-plugin-loader/discovery.d.ts +2 -1
  116. package/dist/features/claude-code-plugin-loader/loader.d.ts +16 -0
  117. package/dist/features/claude-code-plugin-loader/scope-filter.d.ts +2 -0
  118. package/dist/features/claude-code-plugin-loader/types.d.ts +21 -0
  119. package/dist/features/claude-code-session-state/state.d.ts +3 -0
  120. package/dist/features/context-injector/collector.d.ts +1 -0
  121. package/dist/features/mcp-oauth/provider.d.ts +1 -0
  122. package/dist/features/mcp-oauth/refresh-mutex.d.ts +26 -0
  123. package/dist/features/opencode-skill-loader/async-loader.d.ts +2 -2
  124. package/dist/features/skill-mcp-manager/connection.d.ts +3 -4
  125. package/dist/features/skill-mcp-manager/error-redaction.d.ts +10 -0
  126. package/dist/features/skill-mcp-manager/http-client.d.ts +17 -3
  127. package/dist/features/skill-mcp-manager/manager.d.ts +5 -3
  128. package/dist/features/skill-mcp-manager/oauth-handler.d.ts +12 -4
  129. package/dist/features/skill-mcp-manager/stdio-client.d.ts +16 -3
  130. package/dist/features/skill-mcp-manager/types.d.ts +25 -6
  131. package/dist/features/team-mode/index.d.ts +2 -0
  132. package/dist/features/team-mode/team-worktree/cleanup.d.ts +3 -0
  133. package/dist/features/team-mode/team-worktree/index.d.ts +2 -0
  134. package/dist/features/team-mode/team-worktree/manager.d.ts +15 -0
  135. package/dist/features/team-mode/types.d.ts +210 -0
  136. package/dist/features/tmux-subagent/manager.d.ts +16 -13
  137. package/dist/features/tmux-subagent/polling-manager.d.ts +5 -0
  138. package/dist/features/tmux-subagent/types.d.ts +2 -0
  139. package/dist/features/tool-metadata-store/index.d.ts +7 -0
  140. package/dist/features/tool-metadata-store/publish-tool-metadata.d.ts +9 -0
  141. package/dist/features/tool-metadata-store/recover-tool-metadata.d.ts +3 -0
  142. package/dist/features/tool-metadata-store/resolve-tool-call-id.d.ts +6 -0
  143. package/dist/features/tool-metadata-store/task-metadata-contract.d.ts +10 -0
  144. package/dist/hooks/agent-usage-reminder/constants.d.ts +1 -1
  145. package/dist/hooks/anthropic-context-window-limit-recovery/message-builder.d.ts +4 -1
  146. package/dist/hooks/anthropic-context-window-limit-recovery/recovery-hook.d.ts +10 -0
  147. package/dist/hooks/anthropic-context-window-limit-recovery/recovery-hook.test-support.d.ts +29 -0
  148. package/dist/hooks/anthropic-context-window-limit-recovery/session-timeout-map.d.ts +2 -0
  149. package/dist/hooks/anthropic-context-window-limit-recovery/state.d.ts +2 -0
  150. package/dist/hooks/anthropic-context-window-limit-recovery/types.d.ts +1 -0
  151. package/dist/hooks/atlas/background-launch-session-tracking.d.ts +11 -0
  152. package/dist/hooks/atlas/boulder-continuation-injector.d.ts +2 -1
  153. package/dist/hooks/atlas/session-last-agent.d.ts +10 -1
  154. package/dist/hooks/atlas/subagent-session-id.d.ts +1 -0
  155. package/dist/hooks/atlas/system-reminder-templates.d.ts +2 -2
  156. package/dist/hooks/atlas/task-context.d.ts +7 -0
  157. package/dist/hooks/atlas/types.d.ts +2 -0
  158. package/dist/hooks/auto-slash-command/executor.d.ts +1 -0
  159. package/dist/hooks/auto-slash-command/hook.d.ts +1 -0
  160. package/dist/hooks/auto-update-checker/checker/sync-package-json.d.ts +1 -1
  161. package/dist/hooks/auto-update-checker/constants.d.ts +19 -3
  162. package/dist/hooks/auto-update-checker/hook/background-update-check.d.ts +29 -1
  163. package/dist/hooks/auto-update-checker/hook.d.ts +22 -1
  164. package/dist/hooks/bash-file-read-guard.d.ts +2 -0
  165. package/dist/hooks/claude-code-hooks/claude-code-hooks-hook.d.ts +1 -0
  166. package/dist/hooks/claude-code-hooks/config-loader.d.ts +1 -0
  167. package/dist/hooks/claude-code-hooks/config.d.ts +1 -0
  168. package/dist/hooks/claude-code-hooks/handlers/session-event-handler.d.ts +3 -1
  169. package/dist/hooks/claude-code-hooks/session-hook-state.d.ts +1 -0
  170. package/dist/hooks/claude-code-hooks/tool-input-cache.d.ts +2 -0
  171. package/dist/hooks/claude-code-hooks/transcript.d.ts +1 -3
  172. package/dist/hooks/comment-checker/cli-runner.d.ts +4 -1
  173. package/dist/hooks/comment-checker/hook.d.ts +1 -0
  174. package/dist/hooks/comment-checker/pending-calls.d.ts +1 -0
  175. package/dist/hooks/directory-agents-injector/hook.d.ts +7 -7
  176. package/dist/hooks/directory-readme-injector/hook.d.ts +7 -7
  177. package/dist/hooks/edit-error-recovery/hook.d.ts +1 -1
  178. package/dist/hooks/index.d.ts +4 -1
  179. package/dist/hooks/json-error-recovery/hook.d.ts +1 -1
  180. package/dist/hooks/keyword-detector/hook.d.ts +2 -1
  181. package/dist/hooks/keyword-detector/ultrawork/default.d.ts +3 -4
  182. package/dist/hooks/keyword-detector/ultrawork/gemini.d.ts +11 -12
  183. package/dist/hooks/keyword-detector/ultrawork/gpt.d.ts +4 -5
  184. package/dist/hooks/keyword-detector/ultrawork/planner.d.ts +1 -2
  185. package/dist/hooks/legacy-plugin-toast/auto-migrate-runner.d.ts +2 -0
  186. package/dist/hooks/legacy-plugin-toast/auto-migrate.d.ts +7 -0
  187. package/dist/hooks/legacy-plugin-toast/hook.d.ts +18 -0
  188. package/dist/hooks/legacy-plugin-toast/index.d.ts +1 -0
  189. package/dist/hooks/legacy-plugin-toast/plugin-entry-migrator.d.ts +1 -0
  190. package/dist/hooks/model-fallback/chat-message-fallback-handler.d.ts +23 -0
  191. package/dist/hooks/model-fallback/controller-accessor.d.ts +8 -0
  192. package/dist/hooks/model-fallback/fallback-state-controller.d.ts +26 -0
  193. package/dist/hooks/model-fallback/hook.d.ts +21 -16
  194. package/dist/hooks/model-fallback/index.d.ts +2 -0
  195. package/dist/hooks/model-fallback/next-fallback.d.ts +14 -0
  196. package/dist/hooks/preemptive-compaction-trigger.d.ts +13 -0
  197. package/dist/hooks/preemptive-compaction-types.d.ts +53 -0
  198. package/dist/hooks/preemptive-compaction.d.ts +3 -15
  199. package/dist/hooks/ralph-loop/completion-promise-detector-test-input.d.ts +11 -0
  200. package/dist/hooks/ralph-loop/constants.d.ts +1 -0
  201. package/dist/hooks/ralph-loop/oracle-verification-detector.d.ts +8 -0
  202. package/dist/hooks/read-image-resizer/image-resizer.d.ts +3 -1
  203. package/dist/hooks/read-image-resizer/png-fallback-resizer.d.ts +2 -0
  204. package/dist/hooks/rules-injector/constants.d.ts +1 -0
  205. package/dist/hooks/rules-injector/finder.d.ts +1 -1
  206. package/dist/hooks/rules-injector/hook.d.ts +2 -0
  207. package/dist/hooks/rules-injector/injector.d.ts +14 -0
  208. package/dist/hooks/rules-injector/rule-file-finder.d.ts +9 -1
  209. package/dist/hooks/runtime-fallback/auto-retry-signal.d.ts +4 -0
  210. package/dist/hooks/runtime-fallback/error-classifier.d.ts +1 -5
  211. package/dist/hooks/runtime-fallback/fallback-models.d.ts +1 -1
  212. package/dist/hooks/runtime-fallback/retry-model-payload.d.ts +5 -1
  213. package/dist/hooks/session-notification-event-properties.d.ts +5 -0
  214. package/dist/hooks/session-recovery/types.d.ts +2 -0
  215. package/dist/hooks/start-work/context-info-builder.d.ts +12 -0
  216. package/dist/hooks/start-work/start-work-hook.d.ts +6 -0
  217. package/dist/hooks/start-work/worktree-block.d.ts +1 -0
  218. package/dist/hooks/todo-continuation-enforcer/pending-question-detection.d.ts +1 -1
  219. package/dist/hooks/todo-continuation-enforcer/resolve-message-info.d.ts +2 -2
  220. package/dist/hooks/todo-continuation-enforcer/session-state.d.ts +4 -3
  221. package/dist/hooks/todo-continuation-enforcer/token-limit-detection.d.ts +4 -0
  222. package/dist/hooks/todo-continuation-enforcer/types.d.ts +14 -0
  223. package/dist/hooks/todo-description-override/description.d.ts +1 -1
  224. package/dist/hooks/tool-pair-validator/hook.d.ts +28 -0
  225. package/dist/hooks/tool-pair-validator/index.d.ts +1 -0
  226. package/dist/hooks/unstable-agent-babysitter/task-message-analyzer.d.ts +1 -0
  227. package/dist/hooks/unstable-agent-babysitter/unstable-agent-babysitter-hook.d.ts +2 -0
  228. package/dist/hooks/write-existing-file-guard/hook.d.ts +12 -0
  229. package/dist/hooks/write-existing-file-guard/session-read-permissions.d.ts +3 -0
  230. package/dist/hooks/write-existing-file-guard/tool-execute-before-handler.d.ts +15 -0
  231. package/dist/index.d.ts +3 -3
  232. package/dist/index.js +84801 -95412
  233. package/dist/mcp/websearch.d.ts +2 -2
  234. package/dist/oh-my-opencode.schema.json +1059 -8
  235. package/dist/openclaw/config.d.ts +1 -1
  236. package/dist/openclaw/dispatcher.d.ts +9 -13
  237. package/dist/openclaw/gateway-url-validation.d.ts +1 -0
  238. package/dist/openclaw/reply-listener-discord.d.ts +4 -0
  239. package/dist/openclaw/reply-listener-injection.d.ts +10 -0
  240. package/dist/openclaw/reply-listener-log.d.ts +2 -0
  241. package/dist/openclaw/reply-listener-paths.d.ts +7 -0
  242. package/dist/openclaw/reply-listener-process.d.ts +4 -0
  243. package/dist/openclaw/reply-listener-spawn.d.ts +5 -0
  244. package/dist/openclaw/reply-listener-startup.d.ts +12 -0
  245. package/dist/openclaw/reply-listener-state.d.ts +29 -0
  246. package/dist/openclaw/reply-listener-telegram.d.ts +4 -0
  247. package/dist/openclaw/reply-listener.d.ts +5 -18
  248. package/dist/openclaw/runtime-dispatch.d.ts +17 -0
  249. package/dist/openclaw/types.d.ts +4 -0
  250. package/dist/plugin/chat-params.d.ts +1 -0
  251. package/dist/plugin/command-execute-before.d.ts +19 -0
  252. package/dist/plugin/hooks/create-core-hooks.d.ts +5 -0
  253. package/dist/plugin/hooks/create-session-hooks.d.ts +4 -1
  254. package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +2 -1
  255. package/dist/plugin/hooks/create-transform-hooks.d.ts +4 -1
  256. package/dist/plugin/tool-registry.d.ts +26 -1
  257. package/dist/plugin/types.d.ts +1 -0
  258. package/dist/plugin-handlers/agent-priority-order.d.ts +11 -0
  259. package/dist/shared/agent-display-names.d.ts +23 -2
  260. package/dist/shared/agent-tool-restrictions.d.ts +0 -5
  261. package/dist/shared/archive-entry-validator.d.ts +6 -0
  262. package/dist/shared/background-output-consumption.d.ts +5 -0
  263. package/dist/shared/compaction-marker.d.ts +13 -0
  264. package/dist/shared/connected-providers-cache.d.ts +2 -1
  265. package/dist/shared/contains-path.d.ts +2 -0
  266. package/dist/shared/external-plugin-detector.d.ts +14 -0
  267. package/dist/shared/index.d.ts +9 -0
  268. package/dist/shared/internal-initiator-marker.d.ts +1 -0
  269. package/dist/shared/is-abort-error.d.ts +1 -0
  270. package/dist/shared/json-file-cache-store.d.ts +16 -0
  271. package/dist/shared/jsonc-parser.d.ts +1 -0
  272. package/dist/shared/legacy-plugin-warning.d.ts +7 -0
  273. package/dist/shared/load-opencode-plugins.d.ts +1 -0
  274. package/dist/shared/log-legacy-plugin-startup-warning.d.ts +10 -0
  275. package/dist/shared/migrate-legacy-config-file.d.ts +1 -0
  276. package/dist/shared/migrate-legacy-plugin-entry.d.ts +1 -0
  277. package/dist/shared/migration/migrations-sidecar.d.ts +41 -0
  278. package/dist/shared/model-capabilities/bundled-snapshot.d.ts +2 -0
  279. package/dist/shared/model-capabilities/get-model-capabilities.d.ts +2 -0
  280. package/dist/shared/model-capabilities/index.d.ts +3 -0
  281. package/dist/shared/model-capabilities/runtime-model-readers.d.ts +11 -0
  282. package/dist/shared/{model-capabilities.d.ts → model-capabilities/types.d.ts} +35 -32
  283. package/dist/shared/model-suggestion-retry.d.ts +0 -9
  284. package/dist/shared/opencode-provider-auth.d.ts +3 -0
  285. package/dist/shared/parse-tools-config.d.ts +6 -0
  286. package/dist/shared/permission-compat.d.ts +1 -1
  287. package/dist/shared/plugin-entry-migrator.d.ts +3 -0
  288. package/dist/shared/plugin-identity.d.ts +6 -3
  289. package/dist/shared/posthog-activity-state.d.ts +8 -0
  290. package/dist/shared/posthog.d.ts +14 -0
  291. package/dist/shared/resolve-agent-definition-paths.d.ts +1 -0
  292. package/dist/shared/ripgrep-cli.d.ts +8 -0
  293. package/dist/shared/session-category-registry.d.ts +0 -24
  294. package/dist/shared/session-cursor.d.ts +6 -0
  295. package/dist/shared/session-prompt-params-state.d.ts +1 -0
  296. package/dist/shared/shell-env.d.ts +6 -2
  297. package/dist/shared/skill-path-resolver.d.ts +0 -8
  298. package/dist/shared/task-system-enabled.d.ts +6 -0
  299. package/dist/shared/tmux/tmux-utils/server-health.d.ts +1 -0
  300. package/dist/shared/tmux/tmux-utils/session-spawn.d.ts +3 -0
  301. package/dist/shared/tmux/tmux-utils/window-spawn.d.ts +3 -0
  302. package/dist/shared/tmux/tmux-utils.d.ts +3 -1
  303. package/dist/shared/write-file-atomically.d.ts +1 -0
  304. package/dist/shared/zip-entry-listing/powershell-zip-entry-listing.d.ts +4 -0
  305. package/dist/shared/zip-entry-listing/python-zip-entry-listing.d.ts +3 -0
  306. package/dist/shared/zip-entry-listing/read-zip-symlink-target.d.ts +1 -0
  307. package/dist/shared/zip-entry-listing/tar-zip-entry-listing.d.ts +3 -0
  308. package/dist/shared/zip-entry-listing/zipinfo-zip-entry-listing.d.ts +4 -0
  309. package/dist/shared/zip-entry-listing.d.ts +4 -0
  310. package/dist/testing/module-mock-lifecycle.d.ts +21 -0
  311. package/dist/tools/background-task/constants.d.ts +3 -3
  312. package/dist/tools/call-omo-agent/agent-resolver.d.ts +17 -0
  313. package/dist/tools/call-omo-agent/background-executor.d.ts +2 -1
  314. package/dist/tools/call-omo-agent/constants.d.ts +1 -1
  315. package/dist/tools/call-omo-agent/sync-executor.d.ts +4 -4
  316. package/dist/tools/call-omo-agent/tools.d.ts +2 -1
  317. package/dist/tools/delegate-task/anthropic-categories.d.ts +2 -0
  318. package/dist/tools/delegate-task/builtin-categories.d.ts +4 -0
  319. package/dist/tools/delegate-task/builtin-category-definition.d.ts +7 -0
  320. package/dist/tools/delegate-task/constants.d.ts +1 -12
  321. package/dist/tools/delegate-task/delegated-model-config.d.ts +3 -0
  322. package/dist/tools/delegate-task/executor-types.d.ts +4 -1
  323. package/dist/tools/delegate-task/fallback-entry-resolution.d.ts +12 -0
  324. package/dist/tools/delegate-task/fallback-entry-settings.d.ts +7 -0
  325. package/dist/tools/delegate-task/google-categories.d.ts +2 -0
  326. package/dist/tools/delegate-task/kimi-categories.d.ts +2 -0
  327. package/dist/tools/delegate-task/openai-categories.d.ts +2 -0
  328. package/dist/tools/delegate-task/prompt-builder.d.ts +1 -1
  329. package/dist/tools/delegate-task/resolve-metadata-model.d.ts +8 -0
  330. package/dist/tools/delegate-task/subagent-discovery.d.ts +15 -0
  331. package/dist/tools/delegate-task/sync-continuation.d.ts +2 -2
  332. package/dist/tools/delegate-task/sync-prompt-sender.d.ts +2 -0
  333. package/dist/tools/delegate-task/sync-task-fallback.d.ts +12 -0
  334. package/dist/tools/delegate-task/task-id.d.ts +2 -0
  335. package/dist/tools/delegate-task/tool-argument-preparation.d.ts +2 -0
  336. package/dist/tools/delegate-task/tool-description.d.ts +9 -0
  337. package/dist/tools/delegate-task/types.d.ts +5 -2
  338. package/dist/tools/glob/constants.d.ts +1 -1
  339. package/dist/tools/grep/cli.d.ts +3 -2
  340. package/dist/tools/grep/constants.d.ts +0 -9
  341. package/dist/tools/hashline-edit/tool-description.d.ts +1 -1
  342. package/dist/tools/look-at/constants.d.ts +1 -1
  343. package/dist/tools/look-at/look-at-input-preparer.d.ts +22 -0
  344. package/dist/tools/look-at/look-at-prompt.d.ts +2 -0
  345. package/dist/tools/look-at/look-at-session-runner.d.ts +12 -0
  346. package/dist/tools/lsp/infer-extension.d.ts +1 -0
  347. package/dist/tools/session-manager/file-storage.d.ts +8 -0
  348. package/dist/tools/session-manager/sdk-storage.d.ts +8 -0
  349. package/dist/tools/session-manager/sdk-unavailable.d.ts +1 -0
  350. package/dist/tools/session-manager/storage.d.ts +1 -1
  351. package/dist/tools/session-manager/tools.d.ts +19 -1
  352. package/dist/tools/skill/constants.d.ts +2 -2
  353. package/dist/tools/skill/description-formatter.d.ts +3 -0
  354. package/dist/tools/skill/mcp-capability-formatter.d.ts +3 -0
  355. package/dist/tools/skill/native-skills.d.ts +12 -0
  356. package/dist/tools/skill/scope-priority.d.ts +4 -0
  357. package/dist/tools/skill/skill-body.d.ts +2 -0
  358. package/dist/tools/skill/skill-matcher.d.ts +5 -0
  359. package/dist/tools/skill/types.d.ts +30 -2
  360. package/dist/tools/skill-mcp/parse-skill-mcp-arguments.d.ts +1 -0
  361. package/dist/tools/skill-mcp/tools.d.ts +1 -1
  362. package/package.json +26 -25
  363. package/postinstall.mjs +75 -1
  364. package/dist/hooks/openclaw.d.ts +0 -11
  365. package/dist/plugin-dispose.d.ts +0 -10
  366. /package/dist/{tools/delegate-task → shared}/model-string-parser.d.ts +0 -0
@@ -30,4 +30,5 @@ export declare function detectedToInitialValues(detected: DetectedConfig): {
30
30
  zaiCodingPlan: BooleanArg;
31
31
  kimiForCoding: BooleanArg;
32
32
  opencodeGo: BooleanArg;
33
+ vercelAiGateway: BooleanArg;
33
34
  };
@@ -1,6 +1,11 @@
1
+ import { McpOAuthProvider } from "../../features/mcp-oauth/provider";
1
2
  export interface LoginOptions {
2
3
  serverUrl?: string;
3
4
  clientId?: string;
4
5
  scopes?: string[];
5
6
  }
6
- export declare function login(serverName: string, options: LoginOptions): Promise<number>;
7
+ export type McpOAuthProviderLike = Pick<McpOAuthProvider, "login">;
8
+ export interface LoginDependencies {
9
+ createProvider: (options: Required<Pick<LoginOptions, "serverUrl">> & Omit<LoginOptions, "serverUrl">) => McpOAuthProviderLike;
10
+ }
11
+ export declare function login(serverName: string, options: LoginOptions, deps?: LoginDependencies): Promise<number>;
@@ -0,0 +1 @@
1
+ export declare function getUnsupportedOpenCodeVersionMessage(openCodeVersion: string | null): string | null;
@@ -1,3 +1,4 @@
1
+ import type { FallbackModelObject } from "../config/schema/fallback-models";
1
2
  export interface ProviderAvailability {
2
3
  native: {
3
4
  claude: boolean;
@@ -9,15 +10,18 @@ export interface ProviderAvailability {
9
10
  zai: boolean;
10
11
  kimiForCoding: boolean;
11
12
  opencodeGo: boolean;
13
+ vercelAiGateway: boolean;
12
14
  isMaxPlan: boolean;
13
15
  }
14
16
  export interface AgentConfig {
15
17
  model: string;
16
18
  variant?: string;
19
+ fallback_models?: FallbackModelObject[];
17
20
  }
18
21
  export interface CategoryConfig {
19
22
  model: string;
20
23
  variant?: string;
24
+ fallback_models?: FallbackModelObject[];
21
25
  }
22
26
  export interface GeneratedOmoConfig {
23
27
  $schema: string;
@@ -1 +1 @@
1
- export { transformModelForProvider } from "../shared/provider-model-id-transform";
1
+ export declare function transformModelForProvider(provider: string, model: string): string;
@@ -1,3 +1,4 @@
1
+ import type { RunContext } from "./types";
1
2
  export interface ContinuationState {
2
3
  hasActiveBoulder: boolean;
3
4
  hasActiveRalphLoop: boolean;
@@ -6,4 +7,4 @@ export interface ContinuationState {
6
7
  hasActiveHookMarker: boolean;
7
8
  activeHookMarkerReason: string | null;
8
9
  }
9
- export declare function getContinuationState(directory: string, sessionID: string): ContinuationState;
10
+ export declare function getContinuationState(directory: string, sessionID: string, client?: RunContext["client"]): Promise<ContinuationState>;
@@ -17,7 +17,6 @@ export interface EventState {
17
17
  currentModel: string | null;
18
18
  /** Current model variant from the latest assistant message */
19
19
  currentVariant: string | null;
20
- /** Current message role (user/assistant) — used to filter user messages from display */
21
20
  currentMessageRole: string | null;
22
21
  /** Agent profile colors keyed by display name */
23
22
  agentColorsByName: Record<string, string>;
@@ -39,7 +38,6 @@ export interface EventState {
39
38
  textAtLineStart: boolean;
40
39
  /** Whether reasoning stream is currently at line start (for padding) */
41
40
  thinkingAtLineStart: boolean;
42
- /** Current assistant message ID — prevents counter resets on repeated message.updated for same message */
43
41
  currentMessageId: string | null;
44
42
  /** Assistant message start timestamp by message ID */
45
43
  messageStartedAtById: Record<string, number>;
@@ -71,7 +71,6 @@ export interface MessageUpdatedProps {
71
71
  };
72
72
  }
73
73
  export interface MessagePartUpdatedProps {
74
- /** @deprecated Legacy structure — current OpenCode puts sessionID inside part */
75
74
  info?: {
76
75
  sessionID?: string;
77
76
  sessionId?: string;
@@ -10,6 +10,7 @@ export interface InstallArgs {
10
10
  zaiCodingPlan?: BooleanArg;
11
11
  kimiForCoding?: BooleanArg;
12
12
  opencodeGo?: BooleanArg;
13
+ vercelAiGateway?: BooleanArg;
13
14
  skipAuth?: boolean;
14
15
  }
15
16
  export interface InstallConfig {
@@ -22,6 +23,7 @@ export interface InstallConfig {
22
23
  hasZaiCodingPlan: boolean;
23
24
  hasKimiForCoding: boolean;
24
25
  hasOpencodeGo: boolean;
26
+ hasVercelAiGateway: boolean;
25
27
  }
26
28
  export interface ConfigMergeResult {
27
29
  success: boolean;
@@ -30,6 +32,7 @@ export interface ConfigMergeResult {
30
32
  }
31
33
  export interface DetectedConfig {
32
34
  isInstalled: boolean;
35
+ installedVersion: string | null;
33
36
  hasClaude: boolean;
34
37
  isMax20: boolean;
35
38
  hasOpenAI: boolean;
@@ -39,4 +42,5 @@ export interface DetectedConfig {
39
42
  hasZaiCodingPlan: boolean;
40
43
  hasKimiForCoding: boolean;
41
44
  hasOpencodeGo: boolean;
45
+ hasVercelAiGateway: boolean;
42
46
  }
@@ -0,0 +1,3 @@
1
+ import { z } from "zod";
2
+ export declare const AgentDefinitionPathSchema: z.ZodString;
3
+ export declare const AgentDefinitionsConfigSchema: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -18,6 +18,8 @@ export declare const BuiltinSkillNameSchema: z.ZodEnum<{
18
18
  "dev-browser": "dev-browser";
19
19
  "frontend-ui-ux": "frontend-ui-ux";
20
20
  "git-master": "git-master";
21
+ "review-work": "review-work";
22
+ "ai-slop-remover": "ai-slop-remover";
21
23
  }>;
22
24
  export declare const OverridableAgentNameSchema: z.ZodEnum<{
23
25
  sisyphus: "sisyphus";
@@ -1,7 +1,28 @@
1
1
  import { z } from "zod";
2
2
  export declare const AgentOverrideConfigSchema: z.ZodObject<{
3
3
  model: z.ZodOptional<z.ZodString>;
4
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
4
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
5
+ model: z.ZodString;
6
+ variant: z.ZodOptional<z.ZodString>;
7
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
8
+ none: "none";
9
+ minimal: "minimal";
10
+ low: "low";
11
+ medium: "medium";
12
+ high: "high";
13
+ xhigh: "xhigh";
14
+ }>>;
15
+ temperature: z.ZodOptional<z.ZodNumber>;
16
+ top_p: z.ZodOptional<z.ZodNumber>;
17
+ maxTokens: z.ZodOptional<z.ZodNumber>;
18
+ thinking: z.ZodOptional<z.ZodObject<{
19
+ type: z.ZodEnum<{
20
+ enabled: "enabled";
21
+ disabled: "disabled";
22
+ }>;
23
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
24
+ }, z.core.$strip>>;
25
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5
26
  model: z.ZodString;
6
27
  variant: z.ZodOptional<z.ZodString>;
7
28
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -109,7 +130,28 @@ export declare const AgentOverrideConfigSchema: z.ZodObject<{
109
130
  export declare const AgentOverridesSchema: z.ZodObject<{
110
131
  build: z.ZodOptional<z.ZodObject<{
111
132
  model: z.ZodOptional<z.ZodString>;
112
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
133
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
134
+ model: z.ZodString;
135
+ variant: z.ZodOptional<z.ZodString>;
136
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
137
+ none: "none";
138
+ minimal: "minimal";
139
+ low: "low";
140
+ medium: "medium";
141
+ high: "high";
142
+ xhigh: "xhigh";
143
+ }>>;
144
+ temperature: z.ZodOptional<z.ZodNumber>;
145
+ top_p: z.ZodOptional<z.ZodNumber>;
146
+ maxTokens: z.ZodOptional<z.ZodNumber>;
147
+ thinking: z.ZodOptional<z.ZodObject<{
148
+ type: z.ZodEnum<{
149
+ enabled: "enabled";
150
+ disabled: "disabled";
151
+ }>;
152
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
153
+ }, z.core.$strip>>;
154
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
113
155
  model: z.ZodString;
114
156
  variant: z.ZodOptional<z.ZodString>;
115
157
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -216,7 +258,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
216
258
  }, z.core.$strip>>;
217
259
  plan: z.ZodOptional<z.ZodObject<{
218
260
  model: z.ZodOptional<z.ZodString>;
219
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
261
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
262
+ model: z.ZodString;
263
+ variant: z.ZodOptional<z.ZodString>;
264
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
265
+ none: "none";
266
+ minimal: "minimal";
267
+ low: "low";
268
+ medium: "medium";
269
+ high: "high";
270
+ xhigh: "xhigh";
271
+ }>>;
272
+ temperature: z.ZodOptional<z.ZodNumber>;
273
+ top_p: z.ZodOptional<z.ZodNumber>;
274
+ maxTokens: z.ZodOptional<z.ZodNumber>;
275
+ thinking: z.ZodOptional<z.ZodObject<{
276
+ type: z.ZodEnum<{
277
+ enabled: "enabled";
278
+ disabled: "disabled";
279
+ }>;
280
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
281
+ }, z.core.$strip>>;
282
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
220
283
  model: z.ZodString;
221
284
  variant: z.ZodOptional<z.ZodString>;
222
285
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -323,7 +386,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
323
386
  }, z.core.$strip>>;
324
387
  sisyphus: z.ZodOptional<z.ZodObject<{
325
388
  model: z.ZodOptional<z.ZodString>;
326
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
389
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
390
+ model: z.ZodString;
391
+ variant: z.ZodOptional<z.ZodString>;
392
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
393
+ none: "none";
394
+ minimal: "minimal";
395
+ low: "low";
396
+ medium: "medium";
397
+ high: "high";
398
+ xhigh: "xhigh";
399
+ }>>;
400
+ temperature: z.ZodOptional<z.ZodNumber>;
401
+ top_p: z.ZodOptional<z.ZodNumber>;
402
+ maxTokens: z.ZodOptional<z.ZodNumber>;
403
+ thinking: z.ZodOptional<z.ZodObject<{
404
+ type: z.ZodEnum<{
405
+ enabled: "enabled";
406
+ disabled: "disabled";
407
+ }>;
408
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
409
+ }, z.core.$strip>>;
410
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
327
411
  model: z.ZodString;
328
412
  variant: z.ZodOptional<z.ZodString>;
329
413
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -430,7 +514,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
430
514
  }, z.core.$strip>>;
431
515
  hephaestus: z.ZodOptional<z.ZodObject<{
432
516
  model: z.ZodOptional<z.ZodString>;
433
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
517
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
518
+ model: z.ZodString;
519
+ variant: z.ZodOptional<z.ZodString>;
520
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
521
+ none: "none";
522
+ minimal: "minimal";
523
+ low: "low";
524
+ medium: "medium";
525
+ high: "high";
526
+ xhigh: "xhigh";
527
+ }>>;
528
+ temperature: z.ZodOptional<z.ZodNumber>;
529
+ top_p: z.ZodOptional<z.ZodNumber>;
530
+ maxTokens: z.ZodOptional<z.ZodNumber>;
531
+ thinking: z.ZodOptional<z.ZodObject<{
532
+ type: z.ZodEnum<{
533
+ enabled: "enabled";
534
+ disabled: "disabled";
535
+ }>;
536
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
537
+ }, z.core.$strip>>;
538
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
434
539
  model: z.ZodString;
435
540
  variant: z.ZodOptional<z.ZodString>;
436
541
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -538,7 +643,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
538
643
  }, z.core.$strip>>;
539
644
  "sisyphus-junior": z.ZodOptional<z.ZodObject<{
540
645
  model: z.ZodOptional<z.ZodString>;
541
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
646
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
647
+ model: z.ZodString;
648
+ variant: z.ZodOptional<z.ZodString>;
649
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
650
+ none: "none";
651
+ minimal: "minimal";
652
+ low: "low";
653
+ medium: "medium";
654
+ high: "high";
655
+ xhigh: "xhigh";
656
+ }>>;
657
+ temperature: z.ZodOptional<z.ZodNumber>;
658
+ top_p: z.ZodOptional<z.ZodNumber>;
659
+ maxTokens: z.ZodOptional<z.ZodNumber>;
660
+ thinking: z.ZodOptional<z.ZodObject<{
661
+ type: z.ZodEnum<{
662
+ enabled: "enabled";
663
+ disabled: "disabled";
664
+ }>;
665
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
666
+ }, z.core.$strip>>;
667
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
542
668
  model: z.ZodString;
543
669
  variant: z.ZodOptional<z.ZodString>;
544
670
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -645,7 +771,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
645
771
  }, z.core.$strip>>;
646
772
  "OpenCode-Builder": z.ZodOptional<z.ZodObject<{
647
773
  model: z.ZodOptional<z.ZodString>;
648
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
774
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
775
+ model: z.ZodString;
776
+ variant: z.ZodOptional<z.ZodString>;
777
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
778
+ none: "none";
779
+ minimal: "minimal";
780
+ low: "low";
781
+ medium: "medium";
782
+ high: "high";
783
+ xhigh: "xhigh";
784
+ }>>;
785
+ temperature: z.ZodOptional<z.ZodNumber>;
786
+ top_p: z.ZodOptional<z.ZodNumber>;
787
+ maxTokens: z.ZodOptional<z.ZodNumber>;
788
+ thinking: z.ZodOptional<z.ZodObject<{
789
+ type: z.ZodEnum<{
790
+ enabled: "enabled";
791
+ disabled: "disabled";
792
+ }>;
793
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
794
+ }, z.core.$strip>>;
795
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
649
796
  model: z.ZodString;
650
797
  variant: z.ZodOptional<z.ZodString>;
651
798
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -752,7 +899,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
752
899
  }, z.core.$strip>>;
753
900
  prometheus: z.ZodOptional<z.ZodObject<{
754
901
  model: z.ZodOptional<z.ZodString>;
755
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
902
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
903
+ model: z.ZodString;
904
+ variant: z.ZodOptional<z.ZodString>;
905
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
906
+ none: "none";
907
+ minimal: "minimal";
908
+ low: "low";
909
+ medium: "medium";
910
+ high: "high";
911
+ xhigh: "xhigh";
912
+ }>>;
913
+ temperature: z.ZodOptional<z.ZodNumber>;
914
+ top_p: z.ZodOptional<z.ZodNumber>;
915
+ maxTokens: z.ZodOptional<z.ZodNumber>;
916
+ thinking: z.ZodOptional<z.ZodObject<{
917
+ type: z.ZodEnum<{
918
+ enabled: "enabled";
919
+ disabled: "disabled";
920
+ }>;
921
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
922
+ }, z.core.$strip>>;
923
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
756
924
  model: z.ZodString;
757
925
  variant: z.ZodOptional<z.ZodString>;
758
926
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -859,7 +1027,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
859
1027
  }, z.core.$strip>>;
860
1028
  metis: z.ZodOptional<z.ZodObject<{
861
1029
  model: z.ZodOptional<z.ZodString>;
862
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1030
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
1031
+ model: z.ZodString;
1032
+ variant: z.ZodOptional<z.ZodString>;
1033
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
1034
+ none: "none";
1035
+ minimal: "minimal";
1036
+ low: "low";
1037
+ medium: "medium";
1038
+ high: "high";
1039
+ xhigh: "xhigh";
1040
+ }>>;
1041
+ temperature: z.ZodOptional<z.ZodNumber>;
1042
+ top_p: z.ZodOptional<z.ZodNumber>;
1043
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1044
+ thinking: z.ZodOptional<z.ZodObject<{
1045
+ type: z.ZodEnum<{
1046
+ enabled: "enabled";
1047
+ disabled: "disabled";
1048
+ }>;
1049
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
1050
+ }, z.core.$strip>>;
1051
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
863
1052
  model: z.ZodString;
864
1053
  variant: z.ZodOptional<z.ZodString>;
865
1054
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -966,7 +1155,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
966
1155
  }, z.core.$strip>>;
967
1156
  momus: z.ZodOptional<z.ZodObject<{
968
1157
  model: z.ZodOptional<z.ZodString>;
969
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1158
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
1159
+ model: z.ZodString;
1160
+ variant: z.ZodOptional<z.ZodString>;
1161
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
1162
+ none: "none";
1163
+ minimal: "minimal";
1164
+ low: "low";
1165
+ medium: "medium";
1166
+ high: "high";
1167
+ xhigh: "xhigh";
1168
+ }>>;
1169
+ temperature: z.ZodOptional<z.ZodNumber>;
1170
+ top_p: z.ZodOptional<z.ZodNumber>;
1171
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1172
+ thinking: z.ZodOptional<z.ZodObject<{
1173
+ type: z.ZodEnum<{
1174
+ enabled: "enabled";
1175
+ disabled: "disabled";
1176
+ }>;
1177
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
1178
+ }, z.core.$strip>>;
1179
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
970
1180
  model: z.ZodString;
971
1181
  variant: z.ZodOptional<z.ZodString>;
972
1182
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -1073,7 +1283,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
1073
1283
  }, z.core.$strip>>;
1074
1284
  oracle: z.ZodOptional<z.ZodObject<{
1075
1285
  model: z.ZodOptional<z.ZodString>;
1076
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1286
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
1287
+ model: z.ZodString;
1288
+ variant: z.ZodOptional<z.ZodString>;
1289
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
1290
+ none: "none";
1291
+ minimal: "minimal";
1292
+ low: "low";
1293
+ medium: "medium";
1294
+ high: "high";
1295
+ xhigh: "xhigh";
1296
+ }>>;
1297
+ temperature: z.ZodOptional<z.ZodNumber>;
1298
+ top_p: z.ZodOptional<z.ZodNumber>;
1299
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1300
+ thinking: z.ZodOptional<z.ZodObject<{
1301
+ type: z.ZodEnum<{
1302
+ enabled: "enabled";
1303
+ disabled: "disabled";
1304
+ }>;
1305
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
1306
+ }, z.core.$strip>>;
1307
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1077
1308
  model: z.ZodString;
1078
1309
  variant: z.ZodOptional<z.ZodString>;
1079
1310
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -1180,7 +1411,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
1180
1411
  }, z.core.$strip>>;
1181
1412
  librarian: z.ZodOptional<z.ZodObject<{
1182
1413
  model: z.ZodOptional<z.ZodString>;
1183
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1414
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
1415
+ model: z.ZodString;
1416
+ variant: z.ZodOptional<z.ZodString>;
1417
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
1418
+ none: "none";
1419
+ minimal: "minimal";
1420
+ low: "low";
1421
+ medium: "medium";
1422
+ high: "high";
1423
+ xhigh: "xhigh";
1424
+ }>>;
1425
+ temperature: z.ZodOptional<z.ZodNumber>;
1426
+ top_p: z.ZodOptional<z.ZodNumber>;
1427
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1428
+ thinking: z.ZodOptional<z.ZodObject<{
1429
+ type: z.ZodEnum<{
1430
+ enabled: "enabled";
1431
+ disabled: "disabled";
1432
+ }>;
1433
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
1434
+ }, z.core.$strip>>;
1435
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1184
1436
  model: z.ZodString;
1185
1437
  variant: z.ZodOptional<z.ZodString>;
1186
1438
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -1287,7 +1539,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
1287
1539
  }, z.core.$strip>>;
1288
1540
  explore: z.ZodOptional<z.ZodObject<{
1289
1541
  model: z.ZodOptional<z.ZodString>;
1290
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1542
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
1543
+ model: z.ZodString;
1544
+ variant: z.ZodOptional<z.ZodString>;
1545
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
1546
+ none: "none";
1547
+ minimal: "minimal";
1548
+ low: "low";
1549
+ medium: "medium";
1550
+ high: "high";
1551
+ xhigh: "xhigh";
1552
+ }>>;
1553
+ temperature: z.ZodOptional<z.ZodNumber>;
1554
+ top_p: z.ZodOptional<z.ZodNumber>;
1555
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1556
+ thinking: z.ZodOptional<z.ZodObject<{
1557
+ type: z.ZodEnum<{
1558
+ enabled: "enabled";
1559
+ disabled: "disabled";
1560
+ }>;
1561
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
1562
+ }, z.core.$strip>>;
1563
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1291
1564
  model: z.ZodString;
1292
1565
  variant: z.ZodOptional<z.ZodString>;
1293
1566
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -1394,7 +1667,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
1394
1667
  }, z.core.$strip>>;
1395
1668
  "multimodal-looker": z.ZodOptional<z.ZodObject<{
1396
1669
  model: z.ZodOptional<z.ZodString>;
1397
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1670
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
1671
+ model: z.ZodString;
1672
+ variant: z.ZodOptional<z.ZodString>;
1673
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
1674
+ none: "none";
1675
+ minimal: "minimal";
1676
+ low: "low";
1677
+ medium: "medium";
1678
+ high: "high";
1679
+ xhigh: "xhigh";
1680
+ }>>;
1681
+ temperature: z.ZodOptional<z.ZodNumber>;
1682
+ top_p: z.ZodOptional<z.ZodNumber>;
1683
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1684
+ thinking: z.ZodOptional<z.ZodObject<{
1685
+ type: z.ZodEnum<{
1686
+ enabled: "enabled";
1687
+ disabled: "disabled";
1688
+ }>;
1689
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
1690
+ }, z.core.$strip>>;
1691
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1398
1692
  model: z.ZodString;
1399
1693
  variant: z.ZodOptional<z.ZodString>;
1400
1694
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -1501,7 +1795,28 @@ export declare const AgentOverridesSchema: z.ZodObject<{
1501
1795
  }, z.core.$strip>>;
1502
1796
  atlas: z.ZodOptional<z.ZodObject<{
1503
1797
  model: z.ZodOptional<z.ZodString>;
1504
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1798
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
1799
+ model: z.ZodString;
1800
+ variant: z.ZodOptional<z.ZodString>;
1801
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
1802
+ none: "none";
1803
+ minimal: "minimal";
1804
+ low: "low";
1805
+ medium: "medium";
1806
+ high: "high";
1807
+ xhigh: "xhigh";
1808
+ }>>;
1809
+ temperature: z.ZodOptional<z.ZodNumber>;
1810
+ top_p: z.ZodOptional<z.ZodNumber>;
1811
+ maxTokens: z.ZodOptional<z.ZodNumber>;
1812
+ thinking: z.ZodOptional<z.ZodObject<{
1813
+ type: z.ZodEnum<{
1814
+ enabled: "enabled";
1815
+ disabled: "disabled";
1816
+ }>;
1817
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
1818
+ }, z.core.$strip>>;
1819
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1505
1820
  model: z.ZodString;
1506
1821
  variant: z.ZodOptional<z.ZodString>;
1507
1822
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -4,9 +4,10 @@ export declare const BackgroundTaskConfigSchema: z.ZodObject<{
4
4
  providerConcurrency: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
5
5
  modelConcurrency: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
6
6
  maxDepth: z.ZodOptional<z.ZodNumber>;
7
- maxDescendants: z.ZodOptional<z.ZodNumber>;
8
7
  staleTimeoutMs: z.ZodOptional<z.ZodNumber>;
9
8
  messageStalenessTimeoutMs: z.ZodOptional<z.ZodNumber>;
9
+ taskTtlMs: z.ZodOptional<z.ZodNumber>;
10
+ sessionGoneTimeoutMs: z.ZodOptional<z.ZodNumber>;
10
11
  syncPollTimeoutMs: z.ZodOptional<z.ZodNumber>;
11
12
  maxToolCalls: z.ZodOptional<z.ZodNumber>;
12
13
  circuitBreaker: z.ZodOptional<z.ZodObject<{
@@ -2,7 +2,28 @@ import { z } from "zod";
2
2
  export declare const CategoryConfigSchema: z.ZodObject<{
3
3
  description: z.ZodOptional<z.ZodString>;
4
4
  model: z.ZodOptional<z.ZodString>;
5
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
6
+ model: z.ZodString;
7
+ variant: z.ZodOptional<z.ZodString>;
8
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
9
+ none: "none";
10
+ minimal: "minimal";
11
+ low: "low";
12
+ medium: "medium";
13
+ high: "high";
14
+ xhigh: "xhigh";
15
+ }>>;
16
+ temperature: z.ZodOptional<z.ZodNumber>;
17
+ top_p: z.ZodOptional<z.ZodNumber>;
18
+ maxTokens: z.ZodOptional<z.ZodNumber>;
19
+ thinking: z.ZodOptional<z.ZodObject<{
20
+ type: z.ZodEnum<{
21
+ enabled: "enabled";
22
+ disabled: "disabled";
23
+ }>;
24
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6
27
  model: z.ZodString;
7
28
  variant: z.ZodOptional<z.ZodString>;
8
29
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -67,7 +88,28 @@ export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
67
88
  export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
68
89
  description: z.ZodOptional<z.ZodString>;
69
90
  model: z.ZodOptional<z.ZodString>;
70
- fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
91
+ fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodArray<z.ZodObject<{
92
+ model: z.ZodString;
93
+ variant: z.ZodOptional<z.ZodString>;
94
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
95
+ none: "none";
96
+ minimal: "minimal";
97
+ low: "low";
98
+ medium: "medium";
99
+ high: "high";
100
+ xhigh: "xhigh";
101
+ }>>;
102
+ temperature: z.ZodOptional<z.ZodNumber>;
103
+ top_p: z.ZodOptional<z.ZodNumber>;
104
+ maxTokens: z.ZodOptional<z.ZodNumber>;
105
+ thinking: z.ZodOptional<z.ZodObject<{
106
+ type: z.ZodEnum<{
107
+ enabled: "enabled";
108
+ disabled: "disabled";
109
+ }>;
110
+ budgetTokens: z.ZodOptional<z.ZodNumber>;
111
+ }, z.core.$strip>>;
112
+ }, z.core.$strip>>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
71
113
  model: z.ZodString;
72
114
  variant: z.ZodOptional<z.ZodString>;
73
115
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
@@ -7,5 +7,6 @@ export declare const BuiltinCommandNameSchema: z.ZodEnum<{
7
7
  refactor: "refactor";
8
8
  "start-work": "start-work";
9
9
  "stop-continuation": "stop-continuation";
10
+ "remove-ai-slops": "remove-ai-slops";
10
11
  }>;
11
12
  export type BuiltinCommandName = z.infer<typeof BuiltinCommandNameSchema>;