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
@@ -1,17 +1,13 @@
1
1
  import { z } from "zod";
2
2
  export declare const MatrixxConfigSchema: z.ZodObject<{
3
3
  $schema: z.ZodOptional<z.ZodString>;
4
- profile: z.ZodOptional<z.ZodEnum<{
4
+ global_model: z.ZodOptional<z.ZodString>;
5
+ default_tier: z.ZodOptional<z.ZodEnum<{
5
6
  free: "free";
6
- budget: "budget";
7
- economy: "economy";
8
- balanced: "balanced";
9
- performance: "performance";
10
- go: "go";
11
- "xiaomi-ultimate": "xiaomi-ultimate";
12
- "go-ultimate": "go-ultimate";
13
- "go-trio": "go-trio";
14
- "go-duo": "go-duo";
7
+ fast: "fast";
8
+ standard: "standard";
9
+ premium: "premium";
10
+ frontier: "frontier";
15
11
  }>>;
16
12
  new_task_system_enabled: z.ZodOptional<z.ZodBoolean>;
17
13
  default_run_agent: z.ZodOptional<z.ZodString>;
@@ -30,13 +26,16 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
30
26
  cipher: "cipher";
31
27
  sentinel: "sentinel";
32
28
  sati: "sati";
29
+ "bdd-contract": "bdd-contract";
33
30
  }>>>;
34
31
  disabled_skills: z.ZodOptional<z.ZodArray<z.ZodEnum<{
32
+ "bdd-contract": "bdd-contract";
35
33
  playwright: "playwright";
36
34
  "agent-browser": "agent-browser";
37
35
  "dev-browser": "dev-browser";
38
36
  "frontend-ui-ux": "frontend-ui-ux";
39
37
  "git-master": "git-master";
38
+ "docker-master": "docker-master";
40
39
  "dsl-core": "dsl-core";
41
40
  "dsl-grammar": "dsl-grammar";
42
41
  "dsl-codegen": "dsl-codegen";
@@ -62,6 +61,11 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
62
61
  "quality-gate": "quality-gate";
63
62
  "software-dev": "software-dev";
64
63
  "matrixx-self-config": "matrixx-self-config";
64
+ "ulw-research": "ulw-research";
65
+ "remove-ai-slops": "remove-ai-slops";
66
+ "bdd-backend": "bdd-backend";
67
+ "bdd-frontend": "bdd-frontend";
68
+ "bdd-tests": "bdd-tests";
65
69
  }>>>;
66
70
  disabled_hooks: z.ZodOptional<z.ZodArray<z.ZodEnum<{
67
71
  architect: "architect";
@@ -98,9 +102,9 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
98
102
  "edit-error-recovery": "edit-error-recovery";
99
103
  "delegate-task-retry": "delegate-task-retry";
100
104
  "prometheus-md-only": "prometheus-md-only";
105
+ "plan-persister": "plan-persister";
101
106
  "mouse-notepad": "mouse-notepad";
102
107
  "unstable-agent-babysitter": "unstable-agent-babysitter";
103
- "task-reminder": "task-reminder";
104
108
  "task-resume-info": "task-resume-info";
105
109
  "stop-continuation-guard": "stop-continuation-guard";
106
110
  "tasks-todowrite-disabler": "tasks-todowrite-disabler";
@@ -108,6 +112,7 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
108
112
  "anthropic-effort": "anthropic-effort";
109
113
  "hashline-read-enhancer": "hashline-read-enhancer";
110
114
  "secret-leak-guard": "secret-leak-guard";
115
+ "env-context-injector": "env-context-injector";
111
116
  "env-file-write-guard": "env-file-write-guard";
112
117
  "json-error-recovery": "json-error-recovery";
113
118
  "bash-file-read-guard": "bash-file-read-guard";
@@ -121,6 +126,10 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
121
126
  "design-intent-preserver": "design-intent-preserver";
122
127
  }>>>;
123
128
  disabled_commands: z.ZodOptional<z.ZodArray<z.ZodEnum<{
129
+ "bdd-contract": "bdd-contract";
130
+ "bdd-backend": "bdd-backend";
131
+ "bdd-frontend": "bdd-frontend";
132
+ "bdd-tests": "bdd-tests";
124
133
  "init-deep": "init-deep";
125
134
  "matrix-loop": "matrix-loop";
126
135
  "ulw-loop": "ulw-loop";
@@ -130,11 +139,24 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
130
139
  "stop-continuation": "stop-continuation";
131
140
  profile: "profile";
132
141
  "end-ultrawork": "end-ultrawork";
142
+ handoff: "handoff";
143
+ research: "research";
144
+ assembly: "assembly";
145
+ ultrawork: "ultrawork";
146
+ "bdd-pipeline": "bdd-pipeline";
147
+ "dcp-profile": "dcp-profile";
133
148
  }>>>;
134
149
  disabled_tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
135
150
  agents: z.ZodOptional<z.ZodObject<{
136
151
  build: z.ZodOptional<z.ZodObject<{
137
152
  model: z.ZodOptional<z.ZodString>;
153
+ tier: z.ZodOptional<z.ZodEnum<{
154
+ free: "free";
155
+ fast: "fast";
156
+ standard: "standard";
157
+ premium: "premium";
158
+ frontier: "frontier";
159
+ }>>;
138
160
  variant: z.ZodOptional<z.ZodString>;
139
161
  category: z.ZodOptional<z.ZodString>;
140
162
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -215,6 +237,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
215
237
  }, z.core.$strip>>;
216
238
  plan: z.ZodOptional<z.ZodObject<{
217
239
  model: z.ZodOptional<z.ZodString>;
240
+ tier: z.ZodOptional<z.ZodEnum<{
241
+ free: "free";
242
+ fast: "fast";
243
+ standard: "standard";
244
+ premium: "premium";
245
+ frontier: "frontier";
246
+ }>>;
218
247
  variant: z.ZodOptional<z.ZodString>;
219
248
  category: z.ZodOptional<z.ZodString>;
220
249
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -295,6 +324,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
295
324
  }, z.core.$strip>>;
296
325
  morpheus: z.ZodOptional<z.ZodObject<{
297
326
  model: z.ZodOptional<z.ZodString>;
327
+ tier: z.ZodOptional<z.ZodEnum<{
328
+ free: "free";
329
+ fast: "fast";
330
+ standard: "standard";
331
+ premium: "premium";
332
+ frontier: "frontier";
333
+ }>>;
298
334
  variant: z.ZodOptional<z.ZodString>;
299
335
  category: z.ZodOptional<z.ZodString>;
300
336
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -375,6 +411,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
375
411
  }, z.core.$strip>>;
376
412
  keymaker: z.ZodOptional<z.ZodObject<{
377
413
  model: z.ZodOptional<z.ZodString>;
414
+ tier: z.ZodOptional<z.ZodEnum<{
415
+ free: "free";
416
+ fast: "fast";
417
+ standard: "standard";
418
+ premium: "premium";
419
+ frontier: "frontier";
420
+ }>>;
378
421
  variant: z.ZodOptional<z.ZodString>;
379
422
  category: z.ZodOptional<z.ZodString>;
380
423
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -455,6 +498,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
455
498
  }, z.core.$strip>>;
456
499
  mouse: z.ZodOptional<z.ZodObject<{
457
500
  model: z.ZodOptional<z.ZodString>;
501
+ tier: z.ZodOptional<z.ZodEnum<{
502
+ free: "free";
503
+ fast: "fast";
504
+ standard: "standard";
505
+ premium: "premium";
506
+ frontier: "frontier";
507
+ }>>;
458
508
  variant: z.ZodOptional<z.ZodString>;
459
509
  category: z.ZodOptional<z.ZodString>;
460
510
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -535,6 +585,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
535
585
  }, z.core.$strip>>;
536
586
  "OpenCode-Builder": z.ZodOptional<z.ZodObject<{
537
587
  model: z.ZodOptional<z.ZodString>;
588
+ tier: z.ZodOptional<z.ZodEnum<{
589
+ free: "free";
590
+ fast: "fast";
591
+ standard: "standard";
592
+ premium: "premium";
593
+ frontier: "frontier";
594
+ }>>;
538
595
  variant: z.ZodOptional<z.ZodString>;
539
596
  category: z.ZodOptional<z.ZodString>;
540
597
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -615,6 +672,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
615
672
  }, z.core.$strip>>;
616
673
  oracle: z.ZodOptional<z.ZodObject<{
617
674
  model: z.ZodOptional<z.ZodString>;
675
+ tier: z.ZodOptional<z.ZodEnum<{
676
+ free: "free";
677
+ fast: "fast";
678
+ standard: "standard";
679
+ premium: "premium";
680
+ frontier: "frontier";
681
+ }>>;
618
682
  variant: z.ZodOptional<z.ZodString>;
619
683
  category: z.ZodOptional<z.ZodString>;
620
684
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -695,6 +759,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
695
759
  }, z.core.$strip>>;
696
760
  seraph: z.ZodOptional<z.ZodObject<{
697
761
  model: z.ZodOptional<z.ZodString>;
762
+ tier: z.ZodOptional<z.ZodEnum<{
763
+ free: "free";
764
+ fast: "fast";
765
+ standard: "standard";
766
+ premium: "premium";
767
+ frontier: "frontier";
768
+ }>>;
698
769
  variant: z.ZodOptional<z.ZodString>;
699
770
  category: z.ZodOptional<z.ZodString>;
700
771
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -775,6 +846,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
775
846
  }, z.core.$strip>>;
776
847
  smith: z.ZodOptional<z.ZodObject<{
777
848
  model: z.ZodOptional<z.ZodString>;
849
+ tier: z.ZodOptional<z.ZodEnum<{
850
+ free: "free";
851
+ fast: "fast";
852
+ standard: "standard";
853
+ premium: "premium";
854
+ frontier: "frontier";
855
+ }>>;
778
856
  variant: z.ZodOptional<z.ZodString>;
779
857
  category: z.ZodOptional<z.ZodString>;
780
858
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -855,6 +933,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
855
933
  }, z.core.$strip>>;
856
934
  merovingian: z.ZodOptional<z.ZodObject<{
857
935
  model: z.ZodOptional<z.ZodString>;
936
+ tier: z.ZodOptional<z.ZodEnum<{
937
+ free: "free";
938
+ fast: "fast";
939
+ standard: "standard";
940
+ premium: "premium";
941
+ frontier: "frontier";
942
+ }>>;
858
943
  variant: z.ZodOptional<z.ZodString>;
859
944
  category: z.ZodOptional<z.ZodString>;
860
945
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -935,6 +1020,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
935
1020
  }, z.core.$strip>>;
936
1021
  operator: z.ZodOptional<z.ZodObject<{
937
1022
  model: z.ZodOptional<z.ZodString>;
1023
+ tier: z.ZodOptional<z.ZodEnum<{
1024
+ free: "free";
1025
+ fast: "fast";
1026
+ standard: "standard";
1027
+ premium: "premium";
1028
+ frontier: "frontier";
1029
+ }>>;
938
1030
  variant: z.ZodOptional<z.ZodString>;
939
1031
  category: z.ZodOptional<z.ZodString>;
940
1032
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1015,6 +1107,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
1015
1107
  }, z.core.$strip>>;
1016
1108
  trinity: z.ZodOptional<z.ZodObject<{
1017
1109
  model: z.ZodOptional<z.ZodString>;
1110
+ tier: z.ZodOptional<z.ZodEnum<{
1111
+ free: "free";
1112
+ fast: "fast";
1113
+ standard: "standard";
1114
+ premium: "premium";
1115
+ frontier: "frontier";
1116
+ }>>;
1018
1117
  variant: z.ZodOptional<z.ZodString>;
1019
1118
  category: z.ZodOptional<z.ZodString>;
1020
1119
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1095,6 +1194,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
1095
1194
  }, z.core.$strip>>;
1096
1195
  construct: z.ZodOptional<z.ZodObject<{
1097
1196
  model: z.ZodOptional<z.ZodString>;
1197
+ tier: z.ZodOptional<z.ZodEnum<{
1198
+ free: "free";
1199
+ fast: "fast";
1200
+ standard: "standard";
1201
+ premium: "premium";
1202
+ frontier: "frontier";
1203
+ }>>;
1098
1204
  variant: z.ZodOptional<z.ZodString>;
1099
1205
  category: z.ZodOptional<z.ZodString>;
1100
1206
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1175,6 +1281,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
1175
1281
  }, z.core.$strip>>;
1176
1282
  architect: z.ZodOptional<z.ZodObject<{
1177
1283
  model: z.ZodOptional<z.ZodString>;
1284
+ tier: z.ZodOptional<z.ZodEnum<{
1285
+ free: "free";
1286
+ fast: "fast";
1287
+ standard: "standard";
1288
+ premium: "premium";
1289
+ frontier: "frontier";
1290
+ }>>;
1178
1291
  variant: z.ZodOptional<z.ZodString>;
1179
1292
  category: z.ZodOptional<z.ZodString>;
1180
1293
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1255,6 +1368,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
1255
1368
  }, z.core.$strip>>;
1256
1369
  cipher: z.ZodOptional<z.ZodObject<{
1257
1370
  model: z.ZodOptional<z.ZodString>;
1371
+ tier: z.ZodOptional<z.ZodEnum<{
1372
+ free: "free";
1373
+ fast: "fast";
1374
+ standard: "standard";
1375
+ premium: "premium";
1376
+ frontier: "frontier";
1377
+ }>>;
1258
1378
  variant: z.ZodOptional<z.ZodString>;
1259
1379
  category: z.ZodOptional<z.ZodString>;
1260
1380
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1335,6 +1455,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
1335
1455
  }, z.core.$strip>>;
1336
1456
  sentinel: z.ZodOptional<z.ZodObject<{
1337
1457
  model: z.ZodOptional<z.ZodString>;
1458
+ tier: z.ZodOptional<z.ZodEnum<{
1459
+ free: "free";
1460
+ fast: "fast";
1461
+ standard: "standard";
1462
+ premium: "premium";
1463
+ frontier: "frontier";
1464
+ }>>;
1338
1465
  variant: z.ZodOptional<z.ZodString>;
1339
1466
  category: z.ZodOptional<z.ZodString>;
1340
1467
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1415,6 +1542,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
1415
1542
  }, z.core.$strip>>;
1416
1543
  sati: z.ZodOptional<z.ZodObject<{
1417
1544
  model: z.ZodOptional<z.ZodString>;
1545
+ tier: z.ZodOptional<z.ZodEnum<{
1546
+ free: "free";
1547
+ fast: "fast";
1548
+ standard: "standard";
1549
+ premium: "premium";
1550
+ frontier: "frontier";
1551
+ }>>;
1418
1552
  variant: z.ZodOptional<z.ZodString>;
1419
1553
  category: z.ZodOptional<z.ZodString>;
1420
1554
  skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1497,6 +1631,13 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
1497
1631
  categories: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1498
1632
  description: z.ZodOptional<z.ZodString>;
1499
1633
  model: z.ZodOptional<z.ZodString>;
1634
+ tier: z.ZodOptional<z.ZodEnum<{
1635
+ free: "free";
1636
+ fast: "fast";
1637
+ standard: "standard";
1638
+ premium: "premium";
1639
+ frontier: "frontier";
1640
+ }>>;
1500
1641
  variant: z.ZodOptional<z.ZodString>;
1501
1642
  temperature: z.ZodOptional<z.ZodNumber>;
1502
1643
  top_p: z.ZodOptional<z.ZodNumber>;
@@ -1524,15 +1665,8 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
1524
1665
  is_unstable_agent: z.ZodOptional<z.ZodBoolean>;
1525
1666
  disable: z.ZodOptional<z.ZodBoolean>;
1526
1667
  fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
1668
+ complexity_downgrades: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1527
1669
  }, z.core.$strip>>>;
1528
- claude_code: z.ZodOptional<z.ZodObject<{
1529
- mcp: z.ZodOptional<z.ZodBoolean>;
1530
- commands: z.ZodOptional<z.ZodBoolean>;
1531
- skills: z.ZodOptional<z.ZodBoolean>;
1532
- agents: z.ZodOptional<z.ZodBoolean>;
1533
- plugins: z.ZodOptional<z.ZodBoolean>;
1534
- plugins_override: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1535
- }, z.core.$strip>>;
1536
1670
  morpheus_agent: z.ZodOptional<z.ZodObject<{
1537
1671
  disabled: z.ZodOptional<z.ZodBoolean>;
1538
1672
  default_builder_enabled: z.ZodOptional<z.ZodBoolean>;
@@ -1552,6 +1686,12 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
1552
1686
  safe_hook_creation: z.ZodOptional<z.ZodBoolean>;
1553
1687
  hashline_edit: z.ZodOptional<z.ZodBoolean>;
1554
1688
  }, z.core.$strip>>;
1689
+ dcp: z.ZodOptional<z.ZodObject<{
1690
+ enabled: z.ZodDefault<z.ZodBoolean>;
1691
+ switch_script: z.ZodOptional<z.ZodString>;
1692
+ profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1693
+ default_profile: z.ZodOptional<z.ZodString>;
1694
+ }, z.core.$strip>>;
1555
1695
  auto_update: z.ZodOptional<z.ZodBoolean>;
1556
1696
  skills: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
1557
1697
  sources: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
@@ -1636,6 +1776,16 @@ export declare const MatrixxConfigSchema: z.ZodObject<{
1636
1776
  claude_code_compat: z.ZodDefault<z.ZodBoolean>;
1637
1777
  }, z.core.$strip>>;
1638
1778
  }, z.core.$strip>>;
1779
+ assembly: z.ZodOptional<z.ZodObject<{
1780
+ providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1781
+ providerID: z.ZodString;
1782
+ modelID: z.ZodString;
1783
+ }, z.core.$strip>>>;
1784
+ default_voters: z.ZodOptional<z.ZodNumber>;
1785
+ default_rounds: z.ZodOptional<z.ZodNumber>;
1786
+ timeout_ms: z.ZodOptional<z.ZodNumber>;
1787
+ enabled: z.ZodDefault<z.ZodBoolean>;
1788
+ }, z.core.$strip>>;
1639
1789
  security: z.ZodOptional<z.ZodObject<{
1640
1790
  secret_scanning: z.ZodOptional<z.ZodObject<{
1641
1791
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -12,10 +12,6 @@ declare const EnvFileGuardConfigSchema: z.ZodObject<{
12
12
  blocked_patterns: z.ZodDefault<z.ZodArray<z.ZodString>>;
13
13
  allowed_paths: z.ZodOptional<z.ZodArray<z.ZodString>>;
14
14
  }, z.core.$strip>;
15
- declare const DependencyAuditConfigSchema: z.ZodObject<{
16
- enabled: z.ZodDefault<z.ZodBoolean>;
17
- on_package_change: z.ZodDefault<z.ZodBoolean>;
18
- }, z.core.$strip>;
19
15
  export declare const SecurityConfigSchema: z.ZodObject<{
20
16
  secret_scanning: z.ZodOptional<z.ZodObject<{
21
17
  enabled: z.ZodDefault<z.ZodBoolean>;
@@ -38,5 +34,4 @@ export declare const SecurityConfigSchema: z.ZodObject<{
38
34
  export type SecurityConfig = z.infer<typeof SecurityConfigSchema>;
39
35
  export type SecretScanningConfig = z.infer<typeof SecretScanningConfigSchema>;
40
36
  export type EnvFileGuardConfig = z.infer<typeof EnvFileGuardConfigSchema>;
41
- export type DependencyAuditConfig = z.infer<typeof DependencyAuditConfigSchema>;
42
37
  export {};
@@ -2,13 +2,16 @@ export { type AnyMcpName, AnyMcpNameSchema, type McpName, McpNameSchema } from "
2
2
  export * from "./schema/agent-definitions";
3
3
  export * from "./schema/agent-names";
4
4
  export * from "./schema/agent-overrides";
5
+ export * from "./schema/assembly";
5
6
  export * from "./schema/babysitting";
6
7
  export * from "./schema/background-task";
7
8
  export * from "./schema/browser-automation";
8
9
  export * from "./schema/categories";
9
- export * from "./schema/claude-code";
10
+ export * from "./schema/commands";
10
11
  export * from "./schema/commands";
11
12
  export * from "./schema/comment-checker";
13
+ export * from "./schema/dcp";
14
+ export * from "./schema/experimental";
12
15
  export * from "./schema/experimental";
13
16
  export * from "./schema/hooks";
14
17
  export * from "./schema/matrix-loop";
@@ -22,8 +22,10 @@ export declare function createHooks(args: {
22
22
  unstableAgentBabysitter: ReturnType<typeof import("./plugin/unstable-agent-babysitter").createUnstableAgentBabysitter> | null;
23
23
  backgroundNotificationHook: ReturnType<typeof import("./hooks").createBackgroundNotificationHook> | null;
24
24
  architectHook: ReturnType<typeof import("./hooks").createArchitectHook> | null;
25
+ planPersister: ReturnType<typeof import("./hooks").createPlanPersister> | null;
25
26
  keywordDetector: ReturnType<typeof import("./hooks").createKeywordDetectorHook> | null;
26
27
  contextInjectorMessagesTransform: ReturnType<typeof import("./features/context-injector").createContextInjectorMessagesTransformHook>;
28
+ envContextInjector: ReturnType<typeof import("./hooks").createEnvContextInjectorHook> | null;
27
29
  thinkingBlockValidator: ReturnType<typeof import("./hooks").createThinkingBlockValidatorHook> | null;
28
30
  toolPairValidator: ReturnType<typeof import("./hooks").createToolPairValidatorHook> | null;
29
31
  designIntentPreserver: ReturnType<typeof import("./hooks").createDesignIntentPreserverHook> | null;
@@ -0,0 +1 @@
1
+ export { _resetAssemblyStateForTesting, clearAssemblyState, disableAssembly, enableAssembly, isAssemblyDisabled, } from "./manager";
@@ -0,0 +1,6 @@
1
+ export declare function isAssemblyDisabled(sessionID: string): boolean;
2
+ export declare function disableAssembly(sessionID: string): void;
3
+ export declare function enableAssembly(sessionID: string): void;
4
+ export declare function clearAssemblyState(sessionID: string): void;
5
+ /** @internal */
6
+ export declare function _resetAssemblyStateForTesting(): void;
@@ -0,0 +1,6 @@
1
+ import type { EventProperties } from "./manager";
2
+ export declare function formatDuration(start: Date, end?: Date): string;
3
+ export declare function getErrorText(error: unknown): string;
4
+ export declare function isAbortedSessionError(error: unknown): boolean;
5
+ export declare function isRecord(value: unknown): value is Record<string, unknown>;
6
+ export declare function getSessionErrorMessage(properties: EventProperties): string | undefined;
@@ -2,7 +2,7 @@ import type { PluginInput } from "@opencode-ai/plugin";
2
2
  import type { BackgroundTaskConfig, TmuxConfig } from "../../config/schema";
3
3
  import { TaskHistory } from "./task-history";
4
4
  import type { BackgroundTask, LaunchInput, ResumeInput } from "./types";
5
- interface EventProperties {
5
+ export interface EventProperties {
6
6
  sessionID?: string;
7
7
  info?: {
8
8
  id?: string;
@@ -96,6 +96,11 @@ export declare class BackgroundManager {
96
96
  * Cleans up the parent entry if no pending tasks remain.
97
97
  */
98
98
  private cleanupPendingByParent;
99
+ /**
100
+ * Fire-and-forget session abort. Logs failures at debug level instead of
101
+ * swallowing errors silently — useful for diagnosing zombie sessions.
102
+ */
103
+ private abortSessionQuietly;
99
104
  cancelTask(taskId: string, options?: {
100
105
  source?: string;
101
106
  reason?: string;
@@ -130,11 +135,6 @@ export declare class BackgroundManager {
130
135
  */
131
136
  private tryCompleteTask;
132
137
  private notifyParentSession;
133
- private formatDuration;
134
- private isAbortedSessionError;
135
- private getErrorText;
136
- private isRecord;
137
- private getSessionErrorMessage;
138
138
  private hasRunningTasks;
139
139
  private pruneStaleTasksAndNotifications;
140
140
  private checkAndInterruptStaleTasks;
@@ -147,7 +147,5 @@ export declare class BackgroundManager {
147
147
  shutdown(): void;
148
148
  private enqueueNotificationForParent;
149
149
  }
150
- export declare function getMessageDir(sessionID: string): string | null;
151
- export declare function _resetMessageDirCacheForTesting(): void;
152
150
  export declare function _resetPruneThrottleForTesting(): void;
153
151
  export {};
@@ -0,0 +1,5 @@
1
+ import { type StoredMessage } from "../hook-message-injector";
2
+ export declare function getMessageDir(sessionID: string): string | null;
3
+ export declare function _resetMessageDirCacheForTesting(): void;
4
+ export declare function isCompactionAgent(agent: string | undefined): boolean;
5
+ export declare function findNearestMessageExcludingCompaction(messageDir: string): StoredMessage | null;
@@ -0,0 +1,17 @@
1
+ import type { BackgroundTask } from "./types";
2
+ export declare function buildCompletionNotification(task: Pick<BackgroundTask, "id" | "description" | "error" | "status">, allComplete: boolean, completedTasks: Pick<BackgroundTask, "id" | "description">[], remainingCount: number, duration: string, errorInfo: string): string;
3
+ export declare function resolveAgentAndModel(client: {
4
+ session: {
5
+ messages: (args: {
6
+ path: {
7
+ id: string;
8
+ };
9
+ }) => Promise<unknown>;
10
+ };
11
+ }, task: Pick<BackgroundTask, "parentSessionID" | "parentAgent">, enableParentSessionNotifications: boolean): Promise<{
12
+ agent: string | undefined;
13
+ model: {
14
+ providerID: string;
15
+ modelID: string;
16
+ } | undefined;
17
+ }>;