opencode-matrixx 2.1.0 → 2.3.0

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 (280) hide show
  1. package/README.md +150 -43
  2. package/dist/agents/bdd-contract.d.ts +7 -0
  3. package/dist/agents/builtin-agents/architect-agent.d.ts +1 -0
  4. package/dist/agents/builtin-agents/general-agents.d.ts +1 -0
  5. package/dist/agents/builtin-agents/{hephaestus-agent.d.ts → keymaker-agent.d.ts} +2 -0
  6. package/dist/agents/builtin-agents/model-resolution.d.ts +2 -1
  7. package/dist/agents/builtin-agents/morpheus-agent.d.ts +2 -0
  8. package/dist/agents/builtin-agents.d.ts +1 -1
  9. package/dist/agents/dynamic-agent-prompt-builder.d.ts +2 -1
  10. package/dist/agents/env-context.d.ts +1 -1
  11. package/dist/agents/index.d.ts +1 -1
  12. package/dist/agents/merovingian.d.ts +2 -2
  13. package/dist/agents/mouse/agent.d.ts +5 -2
  14. package/dist/agents/mouse/deepseek.d.ts +16 -0
  15. package/dist/agents/mouse/index.d.ts +3 -0
  16. package/dist/agents/mouse/mimo.d.ts +15 -0
  17. package/dist/agents/mouse/qwen.d.ts +16 -0
  18. package/dist/agents/mouse/shared.d.ts +7 -0
  19. package/dist/agents/types.d.ts +4 -1
  20. package/dist/config/index.d.ts +3 -4
  21. package/dist/config/presets.d.ts +4 -0
  22. package/dist/config/resolve-tiers.d.ts +32 -0
  23. package/dist/config/schema/agent-names.d.ts +9 -17
  24. package/dist/config/schema/agent-overrides.d.ts +133 -0
  25. package/dist/config/schema/assembly.d.ts +13 -0
  26. package/dist/config/schema/categories.d.ts +16 -1
  27. package/dist/config/schema/commands.d.ts +10 -0
  28. package/dist/config/schema/dcp.d.ts +16 -0
  29. package/dist/config/schema/hooks.d.ts +2 -1
  30. package/dist/config/schema/matrixx-config.d.ts +169 -19
  31. package/dist/config/schema/security.d.ts +0 -5
  32. package/dist/config/schema.d.ts +4 -1
  33. package/dist/create-hooks.d.ts +2 -0
  34. package/dist/features/assembly-state/index.d.ts +1 -0
  35. package/dist/features/assembly-state/manager.d.ts +6 -0
  36. package/dist/features/background-agent/error-helpers.d.ts +6 -0
  37. package/dist/features/background-agent/manager.d.ts +6 -8
  38. package/dist/features/background-agent/message-dir.d.ts +5 -0
  39. package/dist/features/background-agent/notification-builder.d.ts +17 -0
  40. package/dist/features/bdd/schema.d.ts +434 -0
  41. package/dist/features/bdd/types.d.ts +2 -0
  42. package/dist/features/builtin-commands/templates/assembly.d.ts +1 -0
  43. package/dist/features/builtin-commands/templates/bdd-backend.d.ts +1 -0
  44. package/dist/features/builtin-commands/templates/bdd-contract.d.ts +1 -0
  45. package/dist/features/builtin-commands/templates/bdd-frontend.d.ts +1 -0
  46. package/dist/features/builtin-commands/templates/bdd-pipeline.d.ts +1 -0
  47. package/dist/features/builtin-commands/templates/bdd-tests.d.ts +1 -0
  48. package/dist/features/builtin-commands/templates/dcp-profile.d.ts +1 -0
  49. package/dist/features/builtin-commands/templates/research.d.ts +1 -0
  50. package/dist/features/builtin-commands/templates/ultrawork.d.ts +1 -0
  51. package/dist/features/builtin-commands/types.d.ts +2 -2
  52. package/dist/features/builtin-skills/lazy-skill-helper.d.ts +17 -0
  53. package/dist/features/builtin-skills/skills/bdd-backend.d.ts +3 -0
  54. package/dist/features/builtin-skills/skills/bdd-contract.d.ts +3 -0
  55. package/dist/features/builtin-skills/skills/bdd-frontend.d.ts +3 -0
  56. package/dist/features/builtin-skills/skills/bdd-tests.d.ts +3 -0
  57. package/dist/features/builtin-skills/skills/docker-master.d.ts +2 -0
  58. package/dist/features/builtin-skills/skills/index.d.ts +7 -0
  59. package/dist/features/builtin-skills/skills/remove-ai-slops.d.ts +2 -0
  60. package/dist/features/builtin-skills/skills/ulw-research.d.ts +2 -0
  61. package/dist/features/command-loader/loader.d.ts +3 -0
  62. package/dist/features/hook-message-injector/injector.d.ts +1 -2
  63. package/dist/features/mission-state/constants.d.ts +10 -0
  64. package/dist/features/mission-state/index.d.ts +2 -0
  65. package/dist/features/mission-state/plan-storage.d.ts +48 -0
  66. package/dist/features/mission-state/rehydrate.d.ts +21 -0
  67. package/dist/features/mission-state/types.d.ts +46 -0
  68. package/dist/features/opencode-skill-loader/loader.d.ts +1 -3
  69. package/dist/features/opencode-skill-loader/skill-definition-record.d.ts +1 -1
  70. package/dist/features/opencode-skill-loader/types.d.ts +1 -1
  71. package/dist/features/skill-mcp-manager/connection-type.d.ts +2 -3
  72. package/dist/features/skill-mcp-manager/connection.d.ts +3 -4
  73. package/dist/features/skill-mcp-manager/manager.d.ts +2 -3
  74. package/dist/features/skill-mcp-manager/oauth-handler.d.ts +3 -3
  75. package/dist/features/skill-mcp-manager/types.d.ts +16 -4
  76. package/dist/features/tmux-subagent/index.d.ts +0 -2
  77. package/dist/features/ultrawork-state/index.d.ts +1 -0
  78. package/dist/features/ultrawork-state/manager.d.ts +6 -0
  79. package/dist/hooks/auto-update-checker/cache.d.ts +0 -2
  80. package/dist/hooks/auto-update-checker/index.d.ts +1 -1
  81. package/dist/hooks/env-context-injector/index.d.ts +23 -0
  82. package/dist/hooks/index.d.ts +2 -0
  83. package/dist/hooks/interactive-bash-session/parser.d.ts +0 -6
  84. package/dist/hooks/plan-persister/hook.d.ts +20 -0
  85. package/dist/hooks/plan-persister/index.d.ts +2 -0
  86. package/dist/index.js +44832 -26999
  87. package/dist/plugin/hooks/create-continuation-hooks.d.ts +2 -1
  88. package/dist/plugin/hooks/create-core-hooks.d.ts +1 -0
  89. package/dist/plugin/hooks/create-transform-hooks.d.ts +2 -1
  90. package/dist/plugin-config.d.ts +1 -1
  91. package/dist/plugin-handlers/agent-config-handler.d.ts +2 -0
  92. package/dist/plugin-handlers/plugin-components-loader.d.ts +1 -1
  93. package/dist/plugin-handlers/prometheus-agent-config-builder.d.ts +1 -0
  94. package/dist/shared/index.d.ts +2 -1
  95. package/dist/shared/merge-categories.d.ts +4 -0
  96. package/dist/shared/model-resolution-pipeline.d.ts +1 -24
  97. package/dist/shared/model-resolution-types.d.ts +4 -0
  98. package/dist/shared/model-resolver.d.ts +4 -2
  99. package/dist/shared/model-tiers.d.ts +31 -0
  100. package/dist/shared/opencode-config-dir.d.ts +1 -2
  101. package/dist/shared/session-directory-resolver.d.ts +0 -6
  102. package/dist/shared/tier-resolver.d.ts +26 -0
  103. package/dist/shared/tool-guards.d.ts +16 -0
  104. package/dist/tools/assembly/assembly-executor.d.ts +17 -0
  105. package/dist/tools/assembly/constants.d.ts +6 -0
  106. package/dist/tools/assembly/index.d.ts +2 -0
  107. package/dist/tools/assembly/provider-selector.d.ts +3 -0
  108. package/dist/tools/assembly/synthesizer.d.ts +3 -0
  109. package/dist/tools/assembly/tool-description.d.ts +2 -0
  110. package/dist/tools/assembly/tools.d.ts +10 -0
  111. package/dist/tools/assembly/types.d.ts +25 -0
  112. package/dist/tools/assembly/voter-spawner.d.ts +3 -0
  113. package/dist/tools/bdd-create-contract/constants.d.ts +1 -0
  114. package/dist/tools/bdd-create-contract/index.d.ts +3 -0
  115. package/dist/tools/bdd-create-contract/tools.d.ts +3 -0
  116. package/dist/tools/bdd-create-contract/types.d.ts +12 -0
  117. package/dist/tools/bdd-parse-gherkin/constants.d.ts +1 -0
  118. package/dist/tools/bdd-parse-gherkin/index.d.ts +3 -0
  119. package/dist/tools/bdd-parse-gherkin/tools.d.ts +5 -0
  120. package/dist/tools/bdd-parse-gherkin/types.d.ts +9 -0
  121. package/dist/tools/bdd-pipeline/analysis-report-sections.d.ts +10 -0
  122. package/dist/tools/bdd-pipeline/analysis-report.d.ts +9 -0
  123. package/dist/tools/bdd-pipeline/constants.d.ts +4 -0
  124. package/dist/tools/bdd-pipeline/feature-resolver.d.ts +5 -0
  125. package/dist/{features/run-continuation-state → tools/bdd-pipeline}/index.d.ts +1 -1
  126. package/dist/tools/bdd-pipeline/pipeline-runner.d.ts +6 -0
  127. package/dist/tools/bdd-pipeline/subagent-runner.d.ts +14 -0
  128. package/dist/tools/bdd-pipeline/tools.d.ts +5 -0
  129. package/dist/tools/bdd-pipeline/types.d.ts +74 -0
  130. package/dist/tools/bdd-validate-contract/index.d.ts +1 -0
  131. package/dist/tools/bdd-validate-contract/tools.d.ts +21 -0
  132. package/dist/tools/delegate-task/categories.d.ts +7 -0
  133. package/dist/tools/delegate-task/category-resolver.d.ts +6 -0
  134. package/dist/tools/delegate-task/complexity-constants.d.ts +24 -0
  135. package/dist/tools/delegate-task/complexity-scorer.d.ts +31 -0
  136. package/dist/tools/delegate-task/complexity-types.d.ts +10 -0
  137. package/dist/tools/delegate-task/executor-types.d.ts +1 -0
  138. package/dist/tools/delegate-task/index.d.ts +3 -0
  139. package/dist/tools/delegate-task/types.d.ts +8 -0
  140. package/dist/tools/handoff/constants.d.ts +0 -3
  141. package/dist/tools/index.d.ts +5 -0
  142. package/dist/tools/task/todo-sync.d.ts +1 -1
  143. package/package.json +22 -32
  144. package/bin/matrixx.js +0 -80
  145. package/bin/platform.js +0 -38
  146. package/bin/platform.test.ts +0 -148
  147. package/dist/agents/builtin-agents/environment-context.d.ts +0 -2
  148. package/dist/cli/cli-installer.d.ts +0 -2
  149. package/dist/cli/cli-program.d.ts +0 -1
  150. package/dist/cli/config-manager/add-plugin-to-opencode-config.d.ts +0 -2
  151. package/dist/cli/config-manager/add-provider-config.d.ts +0 -2
  152. package/dist/cli/config-manager/antigravity-provider-configuration.d.ts +0 -122
  153. package/dist/cli/config-manager/auth-plugins.d.ts +0 -3
  154. package/dist/cli/config-manager/bun-install.d.ts +0 -7
  155. package/dist/cli/config-manager/config-context.d.ts +0 -13
  156. package/dist/cli/config-manager/deep-merge-record.d.ts +0 -1
  157. package/dist/cli/config-manager/detect-current-config.d.ts +0 -2
  158. package/dist/cli/config-manager/ensure-config-directory-exists.d.ts +0 -1
  159. package/dist/cli/config-manager/format-error-with-suggestion.d.ts +0 -1
  160. package/dist/cli/config-manager/generate-matrixx-config.d.ts +0 -2
  161. package/dist/cli/config-manager/jsonc-provider-editor.d.ts +0 -1
  162. package/dist/cli/config-manager/npm-dist-tags.d.ts +0 -7
  163. package/dist/cli/config-manager/opencode-binary.d.ts +0 -2
  164. package/dist/cli/config-manager/opencode-config-format.d.ts +0 -6
  165. package/dist/cli/config-manager/parse-opencode-config-file.d.ts +0 -10
  166. package/dist/cli/config-manager/plugin-name-with-version.d.ts +0 -1
  167. package/dist/cli/config-manager/write-matrixx-config.d.ts +0 -2
  168. package/dist/cli/config-manager.d.ts +0 -14
  169. package/dist/cli/doctor/checks/config.d.ts +0 -2
  170. package/dist/cli/doctor/checks/dependencies.d.ts +0 -4
  171. package/dist/cli/doctor/checks/index.d.ts +0 -7
  172. package/dist/cli/doctor/checks/model-resolution-cache.d.ts +0 -2
  173. package/dist/cli/doctor/checks/model-resolution-config.d.ts +0 -2
  174. package/dist/cli/doctor/checks/model-resolution-details.d.ts +0 -6
  175. package/dist/cli/doctor/checks/model-resolution-effective-model.d.ts +0 -3
  176. package/dist/cli/doctor/checks/model-resolution-types.d.ts +0 -37
  177. package/dist/cli/doctor/checks/model-resolution-variant.d.ts +0 -5
  178. package/dist/cli/doctor/checks/model-resolution.d.ts +0 -6
  179. package/dist/cli/doctor/checks/system-binary.d.ts +0 -8
  180. package/dist/cli/doctor/checks/system-loaded-version.d.ts +0 -10
  181. package/dist/cli/doctor/checks/system-plugin.d.ts +0 -15
  182. package/dist/cli/doctor/checks/system.d.ts +0 -3
  183. package/dist/cli/doctor/checks/tools-gh.d.ts +0 -11
  184. package/dist/cli/doctor/checks/tools-lsp.d.ts +0 -6
  185. package/dist/cli/doctor/checks/tools-mcp.d.ts +0 -3
  186. package/dist/cli/doctor/checks/tools.d.ts +0 -3
  187. package/dist/cli/doctor/constants.d.ts +0 -31
  188. package/dist/cli/doctor/format-default.d.ts +0 -2
  189. package/dist/cli/doctor/format-shared.d.ts +0 -6
  190. package/dist/cli/doctor/format-status.d.ts +0 -2
  191. package/dist/cli/doctor/format-verbose.d.ts +0 -2
  192. package/dist/cli/doctor/formatter.d.ts +0 -3
  193. package/dist/cli/doctor/index.d.ts +0 -5
  194. package/dist/cli/doctor/runner.d.ts +0 -5
  195. package/dist/cli/doctor/types.d.ts +0 -96
  196. package/dist/cli/fallback-chain-resolution.d.ts +0 -10
  197. package/dist/cli/get-local-version/formatter.d.ts +0 -3
  198. package/dist/cli/get-local-version/get-local-version.d.ts +0 -2
  199. package/dist/cli/get-local-version/index.d.ts +0 -2
  200. package/dist/cli/get-local-version/types.d.ts +0 -13
  201. package/dist/cli/index.d.ts +0 -2
  202. package/dist/cli/index.js +0 -30691
  203. package/dist/cli/install-validators.d.ts +0 -31
  204. package/dist/cli/install.d.ts +0 -2
  205. package/dist/cli/mcp-oauth/index.d.ts +0 -6
  206. package/dist/cli/mcp-oauth/login.d.ts +0 -7
  207. package/dist/cli/mcp-oauth/logout.d.ts +0 -5
  208. package/dist/cli/mcp-oauth/status.d.ts +0 -1
  209. package/dist/cli/model-fallback-types.d.ts +0 -25
  210. package/dist/cli/model-fallback.d.ts +0 -4
  211. package/dist/cli/provider-availability.d.ts +0 -4
  212. package/dist/cli/provider-model-id-transform.d.ts +0 -1
  213. package/dist/cli/run/agent-resolver.d.ts +0 -5
  214. package/dist/cli/run/completion.d.ts +0 -2
  215. package/dist/cli/run/event-formatting.d.ts +0 -3
  216. package/dist/cli/run/event-handlers.d.ts +0 -10
  217. package/dist/cli/run/event-state.d.ts +0 -13
  218. package/dist/cli/run/event-stream-processor.d.ts +0 -3
  219. package/dist/cli/run/events.d.ts +0 -4
  220. package/dist/cli/run/index.d.ts +0 -9
  221. package/dist/cli/run/json-output.d.ts +0 -12
  222. package/dist/cli/run/on-complete-hook.d.ts +0 -7
  223. package/dist/cli/run/opencode-bin-path.d.ts +0 -3
  224. package/dist/cli/run/opencode-binary-resolver.d.ts +0 -4
  225. package/dist/cli/run/poll-for-completion.d.ts +0 -9
  226. package/dist/cli/run/runner.d.ts +0 -5
  227. package/dist/cli/run/server-connection.d.ts +0 -6
  228. package/dist/cli/run/session-resolver.d.ts +0 -6
  229. package/dist/cli/run/types.d.ts +0 -119
  230. package/dist/cli/tui-install-prompts.d.ts +0 -2
  231. package/dist/cli/tui-installer.d.ts +0 -2
  232. package/dist/cli/types.d.ts +0 -36
  233. package/dist/config/profiles.d.ts +0 -4
  234. package/dist/config/schema/claude-code.d.ts +0 -10
  235. package/dist/features/background-agent/background-task-notification-template.d.ts +0 -11
  236. package/dist/features/background-agent/opencode-client.d.ts +0 -2
  237. package/dist/features/background-agent/task-poller.d.ts +0 -21
  238. package/dist/features/claude-code-command-loader/loader.d.ts +0 -6
  239. package/dist/features/claude-code-mcp-loader/index.d.ts +0 -10
  240. package/dist/features/claude-code-mcp-loader/loader.d.ts +0 -3
  241. package/dist/features/claude-code-mcp-loader/transformer.d.ts +0 -2
  242. package/dist/features/claude-code-mcp-loader/types.d.ts +0 -39
  243. package/dist/features/claude-code-plugin-loader/agent-loader.d.ts +0 -3
  244. package/dist/features/claude-code-plugin-loader/command-loader.d.ts +0 -3
  245. package/dist/features/claude-code-plugin-loader/discovery.d.ts +0 -2
  246. package/dist/features/claude-code-plugin-loader/hook-loader.d.ts +0 -2
  247. package/dist/features/claude-code-plugin-loader/index.d.ts +0 -10
  248. package/dist/features/claude-code-plugin-loader/loader.d.ts +0 -20
  249. package/dist/features/claude-code-plugin-loader/mcp-server-loader.d.ts +0 -3
  250. package/dist/features/claude-code-plugin-loader/plugin-path-resolver.d.ts +0 -1
  251. package/dist/features/claude-code-plugin-loader/skill-loader.d.ts +0 -3
  252. package/dist/features/claude-code-plugin-loader/types.d.ts +0 -187
  253. package/dist/features/claude-tasks/index.d.ts +0 -3
  254. package/dist/features/claude-tasks/session-storage.d.ts +0 -10
  255. package/dist/features/mcp-oauth/index.d.ts +0 -3
  256. package/dist/features/mcp-oauth/schema.d.ts +0 -5
  257. package/dist/features/run-continuation-state/constants.d.ts +0 -1
  258. package/dist/features/run-continuation-state/storage.d.ts +0 -6
  259. package/dist/features/run-continuation-state/types.d.ts +0 -13
  260. package/dist/features/tmux-subagent/cleanup.d.ts +0 -1
  261. package/dist/features/tmux-subagent/polling.d.ts +0 -1
  262. package/dist/hooks/session-recovery/recover-empty-content-message-sdk.d.ts +0 -13
  263. package/dist/hooks/task-reminder/hook.d.ts +0 -19
  264. package/dist/hooks/task-reminder/index.d.ts +0 -1
  265. package/dist/shared/claude-config-dir.d.ts +0 -1
  266. package/dist/tools/delegate-agent/background-agent-executor.d.ts +0 -5
  267. package/dist/tools/delegate-agent/message-storage-directory.d.ts +0 -1
  268. package/dist/tools/delegate-agent/subagent-session-creator.d.ts +0 -10
  269. package/dist/tools/delegate-agent/tool-context-with-metadata.d.ts +0 -10
  270. package/postinstall.mjs +0 -43
  271. /package/dist/features/{claude-code-agent-loader → agent-loader}/index.d.ts +0 -0
  272. /package/dist/features/{claude-code-agent-loader → agent-loader}/loader.d.ts +0 -0
  273. /package/dist/features/{claude-code-agent-loader → agent-loader}/types.d.ts +0 -0
  274. /package/dist/features/{claude-code-command-loader → command-loader}/index.d.ts +0 -0
  275. /package/dist/features/{claude-code-command-loader → command-loader}/types.d.ts +0 -0
  276. /package/dist/features/{claude-code-session-state → session-state}/index.d.ts +0 -0
  277. /package/dist/features/{claude-code-session-state → session-state}/state.d.ts +0 -0
  278. /package/dist/features/{claude-code-mcp-loader → skill-mcp-manager}/env-expander.d.ts +0 -0
  279. /package/dist/features/{claude-tasks → task-storage}/storage.d.ts +0 -0
  280. /package/dist/features/{claude-tasks → task-storage}/types.d.ts +0 -0
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  >
2
- > [![Matrixx](./.github/assets/orchestrator-architect.png?v=3)](https://github.com/klpanagi/matrixx)
2
+ > [![Matrixx](./.github/assets/orchestrator-architect.png?v=3)](https://github.com/klpanagi/opencode-matrixx)
3
3
  >
4
4
  > Matrixx is **highly inspired by** [oh-my-opencode](https://github.com/code-yeongyu/oh-my-opencode) — the project that pioneered the "oh-my-zsh for OpenCode" concept.
5
5
  > Full credit to [code-yeongyu](https://github.com/code-yeongyu) for the original vision.
@@ -10,7 +10,7 @@
10
10
  <h1>Matrixx</h1>
11
11
 
12
12
  [![npm](https://img.shields.io/npm/v/opencode-matrixx.svg)](https://www.npmjs.com/package/opencode-matrixx)
13
- [![License: SUL-1.0](https://img.shields.io/badge/license-SUL--1.0-blue.svg)](https://github.com/klpanagi/matrixx/blob/master/LICENSE)
13
+ [![License: SUL-1.0](https://img.shields.io/badge/license-SUL--1.0-blue.svg)](https://github.com/klpanagi/opencode-matrixx/blob/master/LICENSE)
14
14
 
15
15
  **Multi-model agent orchestration for [OpenCode](https://github.com/sst/opencode).**<br/>
16
16
  **14 specialized agents. ~52 lifecycle hooks. 28 tools. One plugin.**
@@ -73,8 +73,8 @@ Create `matrixx.jsonc` in your project root:
73
73
 
74
74
  ```jsonc
75
75
  {
76
- "$schema": "https://raw.githubusercontent.com/klpanagi/matrixx/refs/heads/dev/dist/matrixx.schema.json",
77
- "profile": "balanced"
76
+ "$schema": "https://raw.githubusercontent.com/klpanagi/opencode-matrixx/refs/heads/dev/dist/matrixx.schema.json",
77
+ "agents": {}
78
78
  }
79
79
  ```
80
80
 
@@ -86,39 +86,20 @@ Open OpenCode and start coding. Matrixx activates automatically.
86
86
 
87
87
  ```
88
88
  Install and configure matrixx by following the instructions here:
89
- https://raw.githubusercontent.com/klpanagi/matrixx/refs/heads/dev/docs/guide/installation.md
89
+ https://raw.githubusercontent.com/klpanagi/opencode-matrixx/refs/heads/dev/docs/guide/installation.md
90
90
  ```
91
91
 
92
92
  [Manual installation guide →](docs/guide/installation.md) · [Uninstall →](docs/guide/uninstallation.md)
93
93
 
94
94
  ---
95
95
 
96
- ## Profiles
97
-
98
- Profiles assign models to every agent — one setting, full model lineup.
99
-
100
- | Profile | Best For | Daily Cost |
101
- |---------|----------|------------|
102
- | **free** | Experimentation, prototyping | $0 |
103
- | **budget** | Personal projects, light use | ~$1–3 |
104
- | **economy** | Active development with cost control | ~$3–8 |
105
- | **balanced** | Professional development | ~$8–20 |
106
- | **performance** | Maximum capability | ~$20–50 |
107
- | **go** | OpenCode Go subscription | Go quota |
108
- | **go-duo** | Duo subscription, two users | Go Duo quota |
109
- | **go-trio** | Trio subscription, three users | Go Trio quota |
110
- | **go-ultimate** | Unlimited Go access | Go Ultimate quota |
111
- | **xiaomi-ultimate** | Xiaomi-optimized ultimate | Xiaomi quota |
112
-
113
- Profile defaults merge first; any `agents` or `categories` override takes precedence.
114
-
115
96
  ---
116
97
 
117
98
  ## The Agent Team
118
99
 
119
100
  ### 01. Morpheus — *The Orchestrator*
120
101
 
121
- <img src=".github/assets/morpheus.png" width="140" align="right"/>
102
+ <img src=".github/assets/morpheus.png" width="200" align="right"/>
122
103
 
123
104
  *The one who sees the code for what it truly is.*
124
105
 
@@ -132,7 +113,7 @@ Plans, delegates, and executes. Fires background agents in parallel, leverages L
132
113
 
133
114
  ### 02. Keymaker — *The Craftsman*
134
115
 
135
- <img src=".github/assets/keymaker.png" width="140" align="right"/>
116
+ <img src=".github/assets/keymaker.png" width="200" align="right"/>
136
117
 
137
118
  *Give him a goal, not a recipe.*
138
119
 
@@ -146,7 +127,7 @@ Explores the codebase, matches your patterns, and delivers end-to-end. Keymaker
146
127
 
147
128
  ### 03. Cipher — *The Language Architect*
148
129
 
149
- <img src=".github/assets/cipher.png" width="140" align="right"/>
130
+ <img src=".github/assets/cipher.png" width="200" align="right"/>
150
131
 
151
132
  *Grammars, parsers, and the art of formal languages.*
152
133
 
@@ -160,7 +141,7 @@ Grammars, parsers, type systems, code generators, metamodels. 11 composable skil
160
141
 
161
142
  ### 04. Sentinel — *The Security Auditor*
162
143
 
163
- <img src=".github/assets/sentinel.png" width="140" align="right"/>
144
+ <img src=".github/assets/sentinel.png" width="200" align="right"/>
164
145
 
165
146
  *Reads every line. Changes nothing. Reports everything.*
166
147
 
@@ -174,21 +155,144 @@ Scans for vulnerabilities but never touches code. OWASP Top 10, SAST, DAST, depe
174
155
 
175
156
  ### 05. Sati — *The Frontend Specialist*
176
157
 
177
- **Sati** is the dedicated frontend specialist. She ships production-grade UI work: React/Next.js, Svelte/SvelteKit, accessibility, performance, browser verification via Playwright. Invoke Sati directly with `@sati/` or `task(subagent_type="sati")` for any non-trivial frontend task.
158
+ <img src=".github/assets/sati.png" width="200" align="right"/>
159
+
160
+ *Crafts stunning UI/UX, even without design mockups.*
161
+
162
+ **Role:** Frontend specialist
163
+
164
+ **Model:** Claude Sonnet 4.6 · `temperature: 0.1`
165
+
166
+ React/Next.js, Svelte/SvelteKit, accessibility, performance, design tokens, component architecture, build tooling. Sati ships production-grade UI work with browser verification via Playwright. Invoke directly with `@sati/` or `task(subagent_type="sati")` for any non-trivial frontend task.
167
+
168
+ ---
169
+
170
+ ### 06. Oracle — *The Plan Builder*
171
+
172
+ <img src=".github/assets/oracle.png" width="200" align="right"/>
173
+
174
+ *Architecture demands precision. Oracle delivers it.*
175
+
176
+ **Role:** Strategic planning, architecture decisions, work plan generation
177
+
178
+ **Model:** Claude Sonnet 4.6 · `temperature: 0.1`
179
+
180
+ Creates detailed, structured work plans from complex requests. Decomposes ambiguous requirements into atomic, verifiable steps with clear success criteria. Oracle builds the plan — Morpheus executes it.
181
+
182
+ ---
183
+
184
+ ### 07. Merovingian — *The Consultant*
185
+
186
+ <img src=".github/assets/merovingian.png" width="200" align="right"/>
187
+
188
+ *High-IQ reasoning for problems that refuse to yield.*
189
+
190
+ **Role:** High-IQ consultation, hard debugging, architecture design
191
+
192
+ **Model:** Claude Sonnet 4.6 · `temperature: 0.1`
193
+
194
+ Read-only consultation for hard debugging (after 2+ failed attempts), multi-system tradeoffs, and architecture decisions requiring deep reasoning. Merovingian analyzes — never implements.
195
+
196
+ ---
197
+
198
+ ### 08. Architect — *The Master Orchestrator*
199
+
200
+ <img src=".github/assets/orchestrator-architect.png" width="200" align="right"/>
201
+
202
+ *Where plans become reality.*
203
+
204
+ **Role:** Plan execution orchestrator, session coordination
205
+
206
+ **Model:** Claude Sonnet 4.6 · `temperature: 0.1`
207
+
208
+ Executes Oracle's work plans, coordinates session state, manages task dependencies, and ensures every phase completes before moving to the next. The Architect is the bridge between planning and shipping.
209
+
210
+ ---
211
+
212
+ ### 09. Seraph — *The Pre-Planner*
213
+
214
+ <img src=".github/assets/seraph.png" width="200" align="right"/>
215
+
216
+ *Sees what others miss before work begins.*
217
+
218
+ **Role:** Pre-planning analysis, ambiguity detection, AI failure prevention
219
+
220
+ **Model:** Claude Opus 4.6 · `temperature: 0.3`
178
221
 
179
- ### The Rest of the Team
222
+ Analyzes requests to identify hidden intentions, ambiguities, scope creep, and AI failure points. Seraph intervenes before planning starts — preventing costly mistakes downstream.
180
223
 
181
- | Agent | Role | Model |
182
- |-------|------|-------|
183
- | **Oracle** | Strategic planning, architecture decisions, work plan generation | Claude Sonnet 4.6 |
184
- | **Merovingian** | High-IQ consultation, hard debugging, architecture design | Claude Sonnet 4.6 |
185
- | **Architect** | Plan execution orchestrator, session coordination | Claude Sonnet 4.6 |
186
- | **Seraph** | Pre-planning analysis, ambiguity detection, AI failure prevention | Claude Opus 4.6 |
187
- | **Smith** | Plan validation, completeness review, gap detection | Claude Sonnet 4.6 |
188
- | **Operator** | External documentation, OSS search, library research | Claude Haiku 4.5 |
189
- | **Trinity** | Blazing fast codebase grep, pattern discovery | Claude Haiku 4.5 |
190
- | **Construct** | PDF, image & diagram analysis | Claude Sonnet 4.6 |
191
- | **Sati** | Frontend specialist — components, accessibility, performance, testing | Claude Sonnet 4.6 |
224
+ ---
225
+
226
+ ### 10. Smith — *The Validator*
227
+
228
+ <img src=".github/assets/smith.png" width="200" align="right"/>
229
+
230
+ *Every plan meets Smith's standards — or gets rewritten.*
231
+
232
+ **Role:** Plan validation, completeness review, gap detection
233
+
234
+ **Model:** Claude Sonnet 4.6 · `temperature: 0.1`
235
+
236
+ Evaluates work plans against rigorous clarity, verifiability, and completeness standards. Catches gaps, ambiguities, and missing context before implementation begins. Smith is the last line of defense.
237
+
238
+ ---
239
+
240
+ ### 11. Operator — *The Researcher*
241
+
242
+ <img src=".github/assets/operator.png" width="200" align="right"/>
243
+
244
+ *Finds what you need, where it lives.*
245
+
246
+ **Role:** External documentation, OSS search, library research
247
+
248
+ **Model:** Claude Haiku 4.5 · `temperature: 0.1`
249
+
250
+ Specialized codebase understanding agent for multi-repository analysis, searching remote codebases, retrieving official documentation, and finding implementation examples using GitHub CLI, Context7, and Web Search.
251
+
252
+ ---
253
+
254
+ ### 12. Trinity — *The Search Engine*
255
+
256
+ <img src=".github/assets/trinity.png" width="200" align="right"/>
257
+
258
+ *Finds anything, anywhere, instantly.*
259
+
260
+ **Role:** Blazing fast codebase grep, pattern discovery
261
+
262
+ **Model:** Claude Haiku 4.5 · `temperature: 0.1`
263
+
264
+ Contextual grep for codebases. Answers "Where is X?", "Which file has Y?", "Find the code that does Z". Fires multiple in parallel for broad searches. Quick, medium, or very thorough — you choose.
265
+
266
+ ---
267
+
268
+ ### 13. Construct — *The Media Analyst*
269
+
270
+ <img src=".github/assets/construct.png" width="200" align="right"/>
271
+
272
+ *Sees what's inside — images, PDFs, diagrams.*
273
+
274
+ **Role:** PDF, image & diagram analysis
275
+
276
+ **Model:** Claude Sonnet 4.6 · `temperature: 0.1`
277
+
278
+ Analyzes media files that require interpretation beyond raw text. Extracts specific information or summaries from documents, describes visual content. Use when you need analyzed/extracted data rather than literal file contents.
279
+
280
+ ---
281
+
282
+ ### 14. Mouse — *The Task Executor*
283
+
284
+ *Small, fast, and disposable — the hands that do the work.*
285
+
286
+ **Role:** Category-spawned delegated executor
287
+
288
+ **Model:** Claude Sonnet 4.6 · `temperature: 0.1`
289
+
290
+ Mouse is the worker layer in Matrixx's 3-tier architecture. Spawned automatically when you
291
+ use `task(category="...")`, Mouse executes the task directly without delegating further.
292
+ It cannot spawn sub-agents (`task` tool blocked) — implementation is always done in-house.
293
+ Model-specific prompt variants optimize behavior for Claude, GPT, DeepSeek, Mimo, and Qwen.
294
+
295
+ ---
192
296
 
193
297
  Every agent, model, temperature, and permission is fully customizable. [**Meet the full team →**](docs/agents.md)
194
298
 
@@ -198,13 +302,16 @@ Every agent, model, temperature, and permission is fully customizable. [**Meet t
198
302
 
199
303
  | | |
200
304
  |---|---|
201
- | **Agent Orchestration** | 14 agents (incl. **Sati** frontend specialist, **Sentinel** security auditor, **Cipher** DSL expert), parallel background execution, category-based routing, session continuity |
305
+ || **Agent Orchestration** | 15 agents (incl. **Mouse** dedicated executor, **Sati** frontend specialist, **Sentinel** security auditor, **Cipher** DSL expert), parallel background execution, category-based routing, session continuity |
202
306
  | **Developer Tools** | LSP (goto def, rename, diagnostics), AST-Grep (search & replace), Tmux terminal |
203
307
  | **~52 Lifecycle Hooks** | Context injection, think mode, comment checking, todo enforcement, error recovery, quality gate |
204
- | **31 Built-in Skills** | DSL engineering (11), security (9), browser, git, frontend (7 via **Sati**), software dev pipeline |
308
+ || **33 Built-in Skills** | DSL engineering (11), security (9), browser, git, frontend (7 via **Sati**), saturation research, AI slop detection, software dev pipeline |
205
309
  | **Curated MCPs** | Exa (web search), Context7 (official docs), Grep.app (GitHub code search), Document Reader |
206
310
  | **Claude Code Compat** | Full compatibility — commands, agents, skills, MCPs, hooks from `settings.json` |
207
311
  | **Software Dev Pipeline** | 6-phase TDD workflow (PLAN→BUILD→VERIFY→REVIEW→SECURE→SHIP), 5 team roles, adaptive phases |
312
+ ||| **Assembly Tool** | Multi-model debate that spawns 3-5 parallel voters from different providers, collects independent reasoning, and synthesizes unified decisions with confidence scoring |
313
+ || **Saturation Research** | Multi-round (/research) spawning parallel explore/librarian swarms across code, docs, web, and OSS with adaptive novelty-based convergence (max 5 rounds) |
314
+ || **AI Slop Detection** | remove-ai-slops skill detects and removes 7 categories of AI-generated code smells — verbose comments, redundant error handling, over-engineered patterns, generic AI phrasing, cargo-cult boilerplate |
208
315
 
209
316
  [**Full feature list →**](docs/features.md) · [**Configuration guide →**](docs/configurations.md) · [**Architecture diagram →**](docs/agent-architecture.md)
210
317
 
@@ -0,0 +1,7 @@
1
+ import type { AgentConfig } from "@opencode-ai/sdk";
2
+ import type { AgentPromptMetadata } from "./types";
3
+ export declare const BDD_CONTRACT_PROMPT_METADATA: AgentPromptMetadata;
4
+ export declare function createBddContractAgent(model: string): AgentConfig;
5
+ export declare namespace createBddContractAgent {
6
+ var mode: "all";
7
+ }
@@ -5,6 +5,7 @@ import type { AgentOverrides } from "../types";
5
5
  export declare function maybeCreateArchitectConfig(input: {
6
6
  disabledAgents: string[];
7
7
  agentOverrides: AgentOverrides;
8
+ globalOverrideModel?: string;
8
9
  uiSelectedModel?: string;
9
10
  availableModels: Set<string>;
10
11
  systemDefaultModel?: string;
@@ -7,6 +7,7 @@ export declare function collectPendingBuiltinAgents(input: {
7
7
  agentMetadata: Partial<Record<BuiltinAgentName, AgentPromptMetadata>>;
8
8
  disabledAgents: string[];
9
9
  agentOverrides: AgentOverrides;
10
+ globalOverrideModel?: string;
10
11
  directory?: string;
11
12
  systemDefaultModel?: string;
12
13
  mergedCategories: Record<string, CategoryConfig>;
@@ -5,6 +5,7 @@ import type { AgentOverrides } from "../types";
5
5
  export declare function maybeCreateKeymakerConfig(input: {
6
6
  disabledAgents: string[];
7
7
  agentOverrides: AgentOverrides;
8
+ globalOverrideModel?: string;
8
9
  availableModels: Set<string>;
9
10
  systemDefaultModel?: string;
10
11
  isFirstRunNoCache: boolean;
@@ -14,4 +15,5 @@ export declare function maybeCreateKeymakerConfig(input: {
14
15
  mergedCategories: Record<string, CategoryConfig>;
15
16
  directory?: string;
16
17
  useTaskSystem: boolean;
18
+ availableToolNames: string[];
17
19
  }): AgentConfig | undefined;
@@ -1,4 +1,5 @@
1
1
  export declare function applyModelResolution(input: {
2
+ globalOverrideModel?: string;
2
3
  uiSelectedModel?: string;
3
4
  userModel?: string;
4
5
  requirement?: {
@@ -10,7 +11,7 @@ export declare function applyModelResolution(input: {
10
11
  };
11
12
  availableModels: Set<string>;
12
13
  systemDefaultModel?: string;
13
- }): import("../../shared/model-resolution-pipeline").ModelResolutionResult | undefined;
14
+ }): import("../../shared").ModelResolutionResult | undefined;
14
15
  export declare function getFirstFallbackModel(requirement?: {
15
16
  fallbackChain?: {
16
17
  providers: string[];
@@ -5,6 +5,7 @@ import type { AgentOverrides } from "../types";
5
5
  export declare function maybeCreateMorpheusConfig(input: {
6
6
  disabledAgents: string[];
7
7
  agentOverrides: AgentOverrides;
8
+ globalOverrideModel?: string;
8
9
  uiSelectedModel?: string;
9
10
  availableModels: Set<string>;
10
11
  systemDefaultModel?: string;
@@ -16,4 +17,5 @@ export declare function maybeCreateMorpheusConfig(input: {
16
17
  directory?: string;
17
18
  userCategories?: CategoriesConfig;
18
19
  useTaskSystem: boolean;
20
+ availableToolNames: string[];
19
21
  }): AgentConfig | undefined;
@@ -2,4 +2,4 @@ import type { AgentConfig } from "@opencode-ai/sdk";
2
2
  import type { BrowserAutomationProvider, CategoriesConfig } from "../config/schema";
3
3
  import type { LoadedSkill } from "../features/opencode-skill-loader/types";
4
4
  import type { AgentOverrides } from "./types";
5
- export declare function createBuiltinAgents(disabledAgents?: string[], agentOverrides?: AgentOverrides, directory?: string, systemDefaultModel?: string, categories?: CategoriesConfig, discoveredSkills?: LoadedSkill[], customAgentSummaries?: unknown, browserProvider?: BrowserAutomationProvider, uiSelectedModel?: string, disabledSkills?: Set<string>, useTaskSystem?: boolean): Promise<Record<string, AgentConfig>>;
5
+ export declare function createBuiltinAgents(disabledAgents?: string[], agentOverrides?: AgentOverrides, directory?: string, systemDefaultModel?: string, categories?: CategoriesConfig, discoveredSkills?: LoadedSkill[], customAgentSummaries?: unknown, browserProvider?: BrowserAutomationProvider, uiSelectedModel?: string, disabledSkills?: Set<string>, useTaskSystem?: boolean, globalModel?: string, availableToolNames?: string[]): Promise<Record<string, AgentConfig>>;
@@ -6,7 +6,7 @@ export interface AvailableAgent {
6
6
  }
7
7
  export interface AvailableTool {
8
8
  name: string;
9
- category: "lsp" | "ast" | "search" | "session" | "command" | "other";
9
+ category: "lsp" | "ast" | "search" | "session" | "command" | "sandbox" | "other";
10
10
  }
11
11
  export interface AvailableSkill {
12
12
  name: string;
@@ -33,4 +33,5 @@ export declare function buildCategorySkillsDelegationGuide(categories: Available
33
33
  export declare function buildOracleSection(agents: AvailableAgent[]): string;
34
34
  export declare function buildHardBlocksSection(): string;
35
35
  export declare function buildAntiPatternsSection(): string;
36
+ export declare function buildContextDisciplineSection(hasContextMode?: boolean): string;
36
37
  export declare function buildUltraworkSection(agents: AvailableAgent[], categories: AvailableCategory[], skills: AvailableSkill[]): string;
@@ -2,6 +2,6 @@
2
2
  * Creates Matrixx-specific environment context (time, timezone, locale).
3
3
  * Note: Working directory, platform, and date are already provided by OpenCode's system.ts,
4
4
  * so we only include fields that OpenCode doesn't provide to avoid duplication.
5
- * See: https://github.com/klpanagi/matrixx/issues/379
5
+ * See: https://github.com/klpanagi/opencode-matrixx/issues/379
6
6
  */
7
7
  export declare function createEnvContext(): string;
@@ -2,7 +2,7 @@ export { architectPromptMetadata, createArchitectAgent } from "./architect";
2
2
  export { createBuiltinAgents } from "./builtin-agents";
3
3
  export { createMultimodalLookerAgent, MULTIMODAL_LOOKER_PROMPT_METADATA } from "./construct";
4
4
  export type { AvailableAgent, AvailableCategory, AvailableSkill } from "./dynamic-agent-prompt-builder";
5
- export { createOracleAgent, ORACLE_PROMPT_METADATA } from "./merovingian";
5
+ export { createMerovingianAgent, ORACLE_PROMPT_METADATA } from "./merovingian";
6
6
  export { createMorpheusAgent } from "./morpheus";
7
7
  export { createLibrarianAgent, LIBRARIAN_PROMPT_METADATA } from "./operator";
8
8
  export { ORACLE_BEHAVIORAL_SUMMARY, ORACLE_HIGH_ACCURACY_MODE, ORACLE_IDENTITY_CONSTRAINTS, ORACLE_INTERVIEW_MODE, ORACLE_PERMISSION, ORACLE_PLAN_GENERATION, ORACLE_PLAN_TEMPLATE, ORACLE_SYSTEM_PROMPT, } from "./oracle";
@@ -2,7 +2,7 @@ import type { AgentConfig } from "@opencode-ai/sdk";
2
2
  import type { AgentPromptMetadata } from "./types";
3
3
  export declare const ORACLE_PROMPT_METADATA: AgentPromptMetadata;
4
4
  export declare const ORACLE_PLAN_BUILDER_METADATA: AgentPromptMetadata;
5
- export declare function createOracleAgent(model: string): AgentConfig;
6
- export declare namespace createOracleAgent {
5
+ export declare function createMerovingianAgent(model: string): AgentConfig;
6
+ export declare namespace createMerovingianAgent {
7
7
  var mode: "subagent";
8
8
  }
@@ -6,7 +6,10 @@
6
6
  *
7
7
  * Routing:
8
8
  * 1. GPT models (openai/*, github-copilot/gpt-*) -> gpt.ts (GPT-5.2 optimized)
9
- * 2. Default (Claude, etc.) -> default.ts (Claude-optimized)
9
+ * 2. DeepSeek models (opencode-go/deepseek-*) -> deepseek.ts (DeepSeek-optimized)
10
+ * 3. Mimo models (opencode-go/mimo-*) -> mimo.ts (Mimo-optimized)
11
+ * 4. Qwen models (opencode-go/qwen-*) -> qwen.ts (Qwen-optimized)
12
+ * 5. Default (Anthropic/Claude, etc.) -> default.ts (Claude-optimized)
10
13
  */
11
14
  import type { AgentConfig } from "@opencode-ai/sdk";
12
15
  import type { AgentOverrideConfig } from "../../config/schema";
@@ -14,7 +17,7 @@ export declare const MOUSE_DEFAULTS: {
14
17
  readonly model: "anthropic/claude-sonnet-4-6";
15
18
  readonly temperature: 0.1;
16
19
  };
17
- export type MousePromptSource = "default" | "gpt";
20
+ export type MousePromptSource = "default" | "gpt" | "deepseek" | "mimo" | "qwen";
18
21
  /**
19
22
  * Determines which Mouse prompt to use based on model.
20
23
  */
@@ -0,0 +1,16 @@
1
+ /**
2
+ * DeepSeek-Optimized Mouse System Prompt
3
+ *
4
+ * Optimized for DeepSeek model characteristics:
5
+ * - Strong instruction following — explicit constraints work well
6
+ * - Efficient at code generation — prefers clear, direct instructions
7
+ * - Not overly verbose by default — moderate verbosity controls suffice
8
+ * - Responds well to XML-style structure
9
+ *
10
+ * Key differences from default (Claude) prompt:
11
+ * - No "you're too helpful" framing (not needed for DeepSeek)
12
+ * - More structured, table-based sections (DeepSeek handles tables well)
13
+ * - Moderate verbosity guidance
14
+ * - Verification table for clarity
15
+ */
16
+ export declare function buildDeepSeekMousePrompt(useTaskSystem: boolean, promptAppend?: string): string;
@@ -1,4 +1,7 @@
1
1
  export type { MousePromptSource } from "./agent";
2
2
  export { buildMousePrompt, createMouseAgentWithOverrides, getMousePromptSource, MOUSE_DEFAULTS, } from "./agent";
3
+ export { buildDeepSeekMousePrompt } from "./deepseek";
3
4
  export { buildDefaultMousePrompt } from "./default";
4
5
  export { buildGptMousePrompt } from "./gpt";
6
+ export { buildMimoMousePrompt } from "./mimo";
7
+ export { buildQwenMousePrompt } from "./qwen";
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Mimo-Optimized Mouse System Prompt
3
+ *
4
+ * Optimized for Mimo model characteristics:
5
+ * - Lightweight, cost-efficient model — concise prompts reduce token waste
6
+ * - Fast inference — direct instructions maximize throughput
7
+ * - Good at following explicit, compact instructions
8
+ *
9
+ * Key differences from other prompts:
10
+ * - Extra concise — minimal prose, maximum signal
11
+ * - No extended reasoning sections (Mimo does not deep-reason)
12
+ * - Strong emphasis on tool-first approach
13
+ * - Simple, direct structure
14
+ */
15
+ export declare function buildMimoMousePrompt(useTaskSystem: boolean, promptAppend?: string): string;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Qwen-Optimized Mouse System Prompt
3
+ *
4
+ * Optimized for Qwen model characteristics:
5
+ * - Strong reasoning capabilities — benefits from structured, detailed prompts
6
+ * - Good instruction following with explicit XML-style structure
7
+ * - Works well with specification tables and clear formatting
8
+ * - Benefits from explicit output formatting guidance
9
+ *
10
+ * Key differences from other prompts:
11
+ * - More structured specification sections (Qwen handles detailed specs well)
12
+ * - Explicit output format guidance
13
+ * - Reasoning-first approach: think → verify → act
14
+ * - Balanced verbosity controls
15
+ */
16
+ export declare function buildQwenMousePrompt(useTaskSystem: boolean, promptAppend?: string): string;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Shared utility functions for Mouse prompt variants.
3
+ * Extracted to avoid duplication across model-specific prompt files.
4
+ */
5
+ export declare function buildConstraintsSection(useTaskSystem: boolean): string;
6
+ export declare function buildTodoDisciplineSection(useTaskSystem: boolean): string;
7
+ export declare function buildVerificationTable(useTaskSystem: boolean): string;
@@ -58,7 +58,10 @@ export declare function isGptModel(model: string): boolean;
58
58
  * Matches: "anthropic/claude-*", "google-vertex-anthropic/claude-*", etc.
59
59
  */
60
60
  export declare function isAnthropicModel(model: string): boolean;
61
- export type BuiltinAgentName = "morpheus" | "keymaker" | "oracle" | "merovingian" | "operator" | "trinity" | "construct" | "seraph" | "smith" | "architect" | "cipher" | "sentinel" | "sati";
61
+ export declare function isQwenModel(model: string): boolean;
62
+ export declare function isMimoModel(model: string): boolean;
63
+ export declare function isDeepSeekModel(model: string): boolean;
64
+ export type BuiltinAgentName = "morpheus" | "keymaker" | "oracle" | "merovingian" | "operator" | "trinity" | "construct" | "seraph" | "smith" | "architect" | "cipher" | "sentinel" | "sati" | "bdd-contract";
62
65
  type OverridableAgentName = "build" | BuiltinAgentName;
63
66
  export type AgentName = BuiltinAgentName;
64
67
  export type AgentOverrideConfig = Partial<AgentConfig> & {
@@ -1,4 +1,3 @@
1
- export type { ProfileName } from "./profiles";
2
- export { expandProfile, PROFILE_NAMES } from "./profiles";
3
- export type { AgentDefinitions, AgentName, AgentOverrideConfig, AgentOverrides, BuiltinCommandName, DependencyAuditConfig, EnvFileGuardConfig, ExperimentalConfig, HookName, MatrixLoopConfig, MatrixxConfig, McpName, ModelCapabilitiesConfig, MorpheusAgentConfig, MorpheusConfig, MorpheusTasksConfig, RuntimeFallbackConfig, SecretScanningConfig, SecurityConfig, TmuxConfig, TmuxLayout, } from "./schema";
4
- export { AgentNameSchema, AgentOverrideConfigSchema, AgentOverridesSchema, BuiltinCommandNameSchema, ExperimentalConfigSchema, HookNameSchema, MatrixLoopConfigSchema, MatrixxConfigSchema, McpNameSchema, MorpheusAgentConfigSchema, RuntimeFallbackConfigSchema, SecurityConfigSchema, TmuxConfigSchema, TmuxLayoutSchema, } from "./schema";
1
+ export { expandPreset, PRESET_NAMES, type PresetName } from "./presets";
2
+ export type { AgentDefinitions, AgentName, AgentOverrideConfig, AgentOverrides, BuiltinCommandName, EnvFileGuardConfig, ExperimentalConfig, HookName, MatrixLoopConfig, MatrixxConfig, McpName, ModelCapabilitiesConfig, MorpheusAgentConfig, MorpheusConfig, MorpheusTasksConfig, RuntimeFallbackConfig, SecretScanningConfig, SecurityConfig, TmuxConfig, TmuxLayout, } from "./schema";
3
+ export { AgentOverrideConfigSchema, AgentOverridesSchema, BuiltinCommandNameSchema, ExperimentalConfigSchema, HookNameSchema, MatrixLoopConfigSchema, MatrixxConfigSchema, McpNameSchema, MorpheusAgentConfigSchema, RuntimeFallbackConfigSchema, SecurityConfigSchema, TmuxConfigSchema, TmuxLayoutSchema, } from "./schema";
@@ -0,0 +1,4 @@
1
+ import type { MatrixxConfig } from "./schema/matrixx-config";
2
+ export declare const PRESET_NAMES: readonly ["minimal", "balanced", "performance", "frontier"];
3
+ export type PresetName = (typeof PRESET_NAMES)[number];
4
+ export declare function expandPreset(preset: PresetName): MatrixxConfig;
@@ -0,0 +1,32 @@
1
+ import { type TierResolverContext } from "../shared/tier-resolver";
2
+ import type { MatrixxConfig } from "./schema/matrixx-config";
3
+ interface WithTier {
4
+ model?: string;
5
+ tier?: string;
6
+ }
7
+ /**
8
+ * Walk a merged MatrixxConfig and resolve any `tier: "..."` fields to concrete
9
+ * `model: "..."` strings. The result is a new config object with the `tier`
10
+ * fields cleared (so downstream code never re-resolves them).
11
+ *
12
+ * Precedence (per agent/category):
13
+ * 1. Explicit `model` — kept as-is.
14
+ * 2. Explicit `tier` — resolved against the live provider list.
15
+ * 3. `default_tier` (top-level) — applied to any agent/category without
16
+ * a `model` or `tier` override, then resolved.
17
+ *
18
+ * If a tier cannot be resolved, the entry is left with `tier` set and `model`
19
+ * undefined. The downstream `resolveModelPipeline` will fall through to
20
+ * category defaults and the system default as a last resort.
21
+ */
22
+ export declare function resolveTiersInConfig(config: MatrixxConfig, ctx: TierResolverContext): MatrixxConfig;
23
+ /**
24
+ * Resolve tier fields in a category registry (e.g. `DEFAULT_CATEGORIES`) and
25
+ * return a new object with `tier` cleared and `model` set where the tier
26
+ * resolved. Entries that already have a concrete `model` are passed through.
27
+ * Used at config load time to pre-resolve the built-in defaults so that
28
+ * downstream code (createBuiltinAgents, buildAgent) only ever sees model
29
+ * strings.
30
+ */
31
+ export declare function resolveTiersInCategoryRegistry(registry: Record<string, WithTier | undefined>, ctx: TierResolverContext): Record<string, WithTier>;
32
+ export {};
@@ -13,13 +13,16 @@ export declare const BuiltinAgentNameSchema: z.ZodEnum<{
13
13
  cipher: "cipher";
14
14
  sentinel: "sentinel";
15
15
  sati: "sati";
16
+ "bdd-contract": "bdd-contract";
16
17
  }>;
17
18
  export declare const BuiltinSkillNameSchema: z.ZodEnum<{
19
+ "bdd-contract": "bdd-contract";
18
20
  playwright: "playwright";
19
21
  "agent-browser": "agent-browser";
20
22
  "dev-browser": "dev-browser";
21
23
  "frontend-ui-ux": "frontend-ui-ux";
22
24
  "git-master": "git-master";
25
+ "docker-master": "docker-master";
23
26
  "dsl-core": "dsl-core";
24
27
  "dsl-grammar": "dsl-grammar";
25
28
  "dsl-codegen": "dsl-codegen";
@@ -45,21 +48,10 @@ export declare const BuiltinSkillNameSchema: z.ZodEnum<{
45
48
  "quality-gate": "quality-gate";
46
49
  "software-dev": "software-dev";
47
50
  "matrixx-self-config": "matrixx-self-config";
51
+ "ulw-research": "ulw-research";
52
+ "remove-ai-slops": "remove-ai-slops";
53
+ "bdd-backend": "bdd-backend";
54
+ "bdd-frontend": "bdd-frontend";
55
+ "bdd-tests": "bdd-tests";
48
56
  }>;
49
- export declare const AgentNameSchema: z.ZodEnum<{
50
- morpheus: "morpheus";
51
- keymaker: "keymaker";
52
- oracle: "oracle";
53
- merovingian: "merovingian";
54
- operator: "operator";
55
- trinity: "trinity";
56
- construct: "construct";
57
- seraph: "seraph";
58
- smith: "smith";
59
- architect: "architect";
60
- cipher: "cipher";
61
- sentinel: "sentinel";
62
- sati: "sati";
63
- }>;
64
- export type AgentName = z.infer<typeof AgentNameSchema>;
65
- export type BuiltinSkillName = z.infer<typeof BuiltinSkillNameSchema>;
57
+ export type AgentName = z.infer<typeof BuiltinAgentNameSchema>;