@zhixuan92/multi-model-agent 3.12.7 → 4.0.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 (187) hide show
  1. package/README.md +10 -4
  2. package/dist/cli/install-skill.d.ts +7 -7
  3. package/dist/cli/install-skill.d.ts.map +1 -1
  4. package/dist/cli/install-skill.js +56 -11
  5. package/dist/cli/install-skill.js.map +1 -1
  6. package/dist/cli/serve.d.ts.map +1 -1
  7. package/dist/cli/serve.js +17 -3
  8. package/dist/cli/serve.js.map +1 -1
  9. package/dist/cli/update-skills.js +3 -3
  10. package/dist/cli/update-skills.js.map +1 -1
  11. package/dist/http/async-dispatch.d.ts +1 -1
  12. package/dist/http/async-dispatch.d.ts.map +1 -1
  13. package/dist/http/async-dispatch.js +3 -38
  14. package/dist/http/async-dispatch.js.map +1 -1
  15. package/dist/http/cwd-validator.d.ts.map +1 -1
  16. package/dist/http/cwd-validator.js +3 -0
  17. package/dist/http/cwd-validator.js.map +1 -1
  18. package/dist/http/execution-context.d.ts +8 -6
  19. package/dist/http/execution-context.d.ts.map +1 -1
  20. package/dist/http/execution-context.js +33 -15
  21. package/dist/http/execution-context.js.map +1 -1
  22. package/dist/http/handler-deps.d.ts +11 -3
  23. package/dist/http/handler-deps.d.ts.map +1 -1
  24. package/dist/http/handlers/control/batch-slice.d.ts +1 -1
  25. package/dist/http/handlers/control/batch-slice.d.ts.map +1 -1
  26. package/dist/http/handlers/control/batch.d.ts +1 -2
  27. package/dist/http/handlers/control/batch.d.ts.map +1 -1
  28. package/dist/http/handlers/control/batch.js +0 -15
  29. package/dist/http/handlers/control/batch.js.map +1 -1
  30. package/dist/http/handlers/control/context-blocks.d.ts +7 -5
  31. package/dist/http/handlers/control/context-blocks.d.ts.map +1 -1
  32. package/dist/http/handlers/control/context-blocks.js +34 -13
  33. package/dist/http/handlers/control/context-blocks.js.map +1 -1
  34. package/dist/http/handlers/control/retry.d.ts +1 -1
  35. package/dist/http/handlers/control/retry.d.ts.map +1 -1
  36. package/dist/http/handlers/control/retry.js +32 -20
  37. package/dist/http/handlers/control/retry.js.map +1 -1
  38. package/dist/http/handlers/introspection/health.d.ts +16 -10
  39. package/dist/http/handlers/introspection/health.d.ts.map +1 -1
  40. package/dist/http/handlers/introspection/health.js +9 -12
  41. package/dist/http/handlers/introspection/health.js.map +1 -1
  42. package/dist/http/handlers/introspection/status.d.ts +1 -1
  43. package/dist/http/handlers/introspection/status.d.ts.map +1 -1
  44. package/dist/http/handlers/introspection/status.js +1 -1
  45. package/dist/http/handlers/introspection/status.js.map +1 -1
  46. package/dist/http/handlers/introspection/tools-list.d.ts +1 -1
  47. package/dist/http/handlers/introspection/tools-list.d.ts.map +1 -1
  48. package/dist/http/handlers/introspection/tools-list.js +1 -1
  49. package/dist/http/handlers/introspection/tools-list.js.map +1 -1
  50. package/dist/http/handlers/tools/audit.d.ts +1 -1
  51. package/dist/http/handlers/tools/audit.d.ts.map +1 -1
  52. package/dist/http/handlers/tools/audit.js +14 -8
  53. package/dist/http/handlers/tools/audit.js.map +1 -1
  54. package/dist/http/handlers/tools/debug.d.ts +1 -1
  55. package/dist/http/handlers/tools/debug.d.ts.map +1 -1
  56. package/dist/http/handlers/tools/debug.js +14 -8
  57. package/dist/http/handlers/tools/debug.js.map +1 -1
  58. package/dist/http/handlers/tools/delegate.d.ts +1 -1
  59. package/dist/http/handlers/tools/delegate.d.ts.map +1 -1
  60. package/dist/http/handlers/tools/delegate.js +14 -21
  61. package/dist/http/handlers/tools/delegate.js.map +1 -1
  62. package/dist/http/handlers/tools/execute-plan.d.ts +1 -1
  63. package/dist/http/handlers/tools/execute-plan.d.ts.map +1 -1
  64. package/dist/http/handlers/tools/execute-plan.js +18 -25
  65. package/dist/http/handlers/tools/execute-plan.js.map +1 -1
  66. package/dist/http/handlers/tools/explore.d.ts +1 -1
  67. package/dist/http/handlers/tools/explore.d.ts.map +1 -1
  68. package/dist/http/handlers/tools/explore.js +20 -13
  69. package/dist/http/handlers/tools/explore.js.map +1 -1
  70. package/dist/http/handlers/tools/investigate.d.ts +1 -1
  71. package/dist/http/handlers/tools/investigate.d.ts.map +1 -1
  72. package/dist/http/handlers/tools/investigate.js +28 -22
  73. package/dist/http/handlers/tools/investigate.js.map +1 -1
  74. package/dist/http/handlers/tools/retry.d.ts +1 -1
  75. package/dist/http/handlers/tools/retry.d.ts.map +1 -1
  76. package/dist/http/handlers/tools/retry.js +65 -17
  77. package/dist/http/handlers/tools/retry.js.map +1 -1
  78. package/dist/http/handlers/tools/review.d.ts +1 -1
  79. package/dist/http/handlers/tools/review.d.ts.map +1 -1
  80. package/dist/http/handlers/tools/review.js +14 -8
  81. package/dist/http/handlers/tools/review.js.map +1 -1
  82. package/dist/http/handlers/tools/verify.d.ts +1 -1
  83. package/dist/http/handlers/tools/verify.d.ts.map +1 -1
  84. package/dist/http/handlers/tools/verify.js +14 -8
  85. package/dist/http/handlers/tools/verify.js.map +1 -1
  86. package/dist/http/middleware/caller-identity.js +1 -1
  87. package/dist/http/middleware/caller-identity.js.map +1 -1
  88. package/dist/http/project-registry.d.ts.map +1 -1
  89. package/dist/http/project-registry.js +0 -2
  90. package/dist/http/project-registry.js.map +1 -1
  91. package/dist/http/request-observability.js +2 -2
  92. package/dist/http/request-observability.js.map +1 -1
  93. package/dist/http/request-pipeline.d.ts +3 -2
  94. package/dist/http/request-pipeline.d.ts.map +1 -1
  95. package/dist/http/request-pipeline.js +1 -1
  96. package/dist/http/request-pipeline.js.map +1 -1
  97. package/dist/http/server.d.ts +1 -1
  98. package/dist/http/server.d.ts.map +1 -1
  99. package/dist/http/server.js +127 -55
  100. package/dist/http/server.js.map +1 -1
  101. package/dist/http/types.d.ts +8 -1
  102. package/dist/http/types.d.ts.map +1 -1
  103. package/dist/http/wire/delegate-wire.d.ts +4 -0
  104. package/dist/http/wire/delegate-wire.d.ts.map +1 -0
  105. package/dist/http/wire/delegate-wire.js +16 -0
  106. package/dist/http/wire/delegate-wire.js.map +1 -0
  107. package/dist/http/wire/execute-plan-wire.d.ts +18 -0
  108. package/dist/http/wire/execute-plan-wire.d.ts.map +1 -0
  109. package/dist/http/wire/execute-plan-wire.js +26 -0
  110. package/dist/http/wire/execute-plan-wire.js.map +1 -0
  111. package/dist/http/wire/register-all-handlers.d.ts +3 -0
  112. package/dist/http/wire/register-all-handlers.d.ts.map +1 -0
  113. package/dist/http/wire/register-all-handlers.js +25 -0
  114. package/dist/http/wire/register-all-handlers.js.map +1 -0
  115. package/dist/http/wire/registry.d.ts +3 -0
  116. package/dist/http/wire/registry.d.ts.map +1 -0
  117. package/dist/http/wire/registry.js +20 -0
  118. package/dist/http/wire/registry.js.map +1 -0
  119. package/dist/install/discover.d.ts +9 -1
  120. package/dist/install/discover.d.ts.map +1 -1
  121. package/dist/install/discover.js +14 -1
  122. package/dist/install/discover.js.map +1 -1
  123. package/dist/install/headers.d.ts +1 -1
  124. package/dist/install/headers.d.ts.map +1 -1
  125. package/dist/install/manifest-resolve.d.ts +7 -1
  126. package/dist/install/manifest-resolve.d.ts.map +1 -1
  127. package/dist/install/manifest-resolve.js +23 -4
  128. package/dist/install/manifest-resolve.js.map +1 -1
  129. package/dist/install/manifest.d.ts.map +1 -1
  130. package/dist/install/manifest.js +2 -26
  131. package/dist/install/manifest.js.map +1 -1
  132. package/dist/install/missing-skills.d.ts +8 -1
  133. package/dist/install/missing-skills.d.ts.map +1 -1
  134. package/dist/install/missing-skills.js +9 -0
  135. package/dist/install/missing-skills.js.map +1 -1
  136. package/dist/install/orchestrate.d.ts +13 -1
  137. package/dist/install/orchestrate.d.ts.map +1 -1
  138. package/dist/install/orchestrate.js +48 -3
  139. package/dist/install/orchestrate.js.map +1 -1
  140. package/dist/install/skill-manifest-sync.d.ts +11 -0
  141. package/dist/install/skill-manifest-sync.d.ts.map +1 -0
  142. package/dist/install/skill-manifest-sync.js +65 -0
  143. package/dist/install/skill-manifest-sync.js.map +1 -0
  144. package/dist/openapi.d.ts.map +1 -1
  145. package/dist/openapi.js +88 -35
  146. package/dist/openapi.js.map +1 -1
  147. package/dist/skills/_shared/error-handling.md +1 -1
  148. package/dist/skills/_shared/polling.md +3 -4
  149. package/dist/skills/_shared/response-shape.md +5 -7
  150. package/dist/skills/_shared/verify-and-review.md +2 -2
  151. package/dist/skills/mma-audit/SKILL.md +17 -7
  152. package/dist/skills/mma-context-blocks/SKILL.md +5 -5
  153. package/dist/skills/mma-debug/SKILL.md +17 -7
  154. package/dist/skills/mma-delegate/SKILL.md +13 -2
  155. package/dist/skills/mma-execute-plan/SKILL.md +13 -4
  156. package/dist/skills/mma-explore/SKILL.md +10 -4
  157. package/dist/skills/mma-investigate/SKILL.md +18 -8
  158. package/dist/skills/mma-retry/SKILL.md +7 -1
  159. package/dist/skills/mma-review/SKILL.md +17 -7
  160. package/dist/skills/mma-verify/SKILL.md +17 -7
  161. package/dist/skills/multi-model-agent/SKILL.md +14 -15
  162. package/dist/telemetry/consent.d.ts +1 -1
  163. package/dist/telemetry/consent.d.ts.map +1 -1
  164. package/dist/telemetry/consent.js +1 -1
  165. package/dist/telemetry/consent.js.map +1 -1
  166. package/dist/telemetry/flusher.js +1 -1
  167. package/dist/telemetry/flusher.js.map +1 -1
  168. package/dist/telemetry/notice.d.ts +1 -1
  169. package/dist/telemetry/notice.d.ts.map +1 -1
  170. package/dist/telemetry/recorder.d.ts +2 -2
  171. package/dist/telemetry/recorder.d.ts.map +1 -1
  172. package/dist/telemetry/recorder.js +12 -11
  173. package/dist/telemetry/recorder.js.map +1 -1
  174. package/package.json +2 -2
  175. package/dist/http/cross-tier-guard.d.ts +0 -15
  176. package/dist/http/cross-tier-guard.d.ts.map +0 -1
  177. package/dist/http/cross-tier-guard.js +0 -30
  178. package/dist/http/cross-tier-guard.js.map +0 -1
  179. package/dist/http/handlers/control/clarifications.d.ts +0 -19
  180. package/dist/http/handlers/control/clarifications.d.ts.map +0 -1
  181. package/dist/http/handlers/control/clarifications.js +0 -58
  182. package/dist/http/handlers/control/clarifications.js.map +0 -1
  183. package/dist/http/test-provider-override.d.ts +0 -4
  184. package/dist/http/test-provider-override.d.ts.map +0 -1
  185. package/dist/http/test-provider-override.js +0 -17
  186. package/dist/http/test-provider-override.js.map +0 -1
  187. package/dist/skills/mma-clarifications/SKILL.md +0 -129
@@ -10,7 +10,7 @@ when_to_use: >-
10
10
  read files, reproduce, trace — OR a methodology skill
11
11
  (superpowers:systematic-debugging) points at the investigation step. Delegate
12
12
  the read/reproduce/trace; the main agent stays on the hypothesis and the fix.
13
- version: 3.12.7
13
+ version: 4.0.0
14
14
  ---
15
15
 
16
16
  # mma-debug
@@ -93,27 +93,26 @@ Every finding has the same shape:
93
93
  | `claim` | string | One-sentence summary. |
94
94
  | `evidence` | string ≥20 chars | Quoted from worker output when grounded. |
95
95
  | `suggestion?` | string | Optional fix recommendation. |
96
- | `reviewerConfidence` | `number \| null` | 0–100 from the reviewer; `null` when emitted via deterministic fallback. |
96
+ | `annotatorConfidence` | `number \| null` | 0–100 from the reviewer; `null` when emitted via deterministic fallback. |
97
97
  | `evidenceGrounded` | boolean | True when `evidence` is a verbatim substring of worker output. |
98
98
 
99
99
  ### Verdict states (`qualityReviewVerdict`)
100
100
 
101
101
  - `'annotated'` — every finding is structured. May be reviewer-emitted (with
102
- numeric `reviewerConfidence`) or deterministic-fallback (with
103
- `reviewerConfidence: null`). The route ALWAYS reaches `'annotated'` unless
102
+ numeric `annotatorConfidence`) or deterministic-fallback (with
103
+ `annotatorConfidence: null`). The route ALWAYS reaches `'annotated'` unless
104
104
  the reviewer call itself fails transport.
105
- - `'skipped'` — kill switch (`MMAGENT_READ_ONLY_REVIEW=disabled`).
106
105
  - `'error'` — only when the reviewer call fails transport (network / 5xx).
107
106
 
108
107
  ### Recommended rendering by the main agent
109
108
 
110
109
  1. Show ALL findings — never silently drop. Confidence and grounding are
111
110
  soft signals, not gates.
112
- 2. Default sort: severity (critical → low) then `reviewerConfidence` desc
111
+ 2. Default sort: severity (critical → low) then `annotatorConfidence` desc
113
112
  (nulls last).
114
113
  3. `severity` is the reviewer's authoritative final value — use it directly.
115
114
  4. Mark findings with `evidenceGrounded: false` or
116
- `reviewerConfidence < 70` as "lower-trust" (collapsed section, lighter
115
+ `annotatorConfidence < 70` as "lower-trust" (collapsed section, lighter
117
116
  color, or `(low confidence)` annotation). User decides what to do.
118
117
  5. Severity-tier counts feed the dashboard via V3 `findingsBySeverity`.
119
118
 
@@ -146,4 +145,15 @@ Debug investigates and proposes; it doesn't necessarily write the fix. **Fix:**
146
145
  ❌ **Skipping when an error message looks self-explanatory**
147
146
  Often the obvious cause isn't the real one. **Fix:** a 30-second debug pass costs less than a wrong fix that breaks something else.
148
147
 
148
+ ## Terminal context block
149
+
150
+ Every completed task automatically registers a terminal markdown context block containing the full task report (headline, root-cause analysis, and annotated findings). The `blockId` is returned in each task result as `terminalBlockId`. This block is immutable, lives for the session duration, and counts against the project's `maxEntries` quota (default 500).
151
+
152
+ **Use cases:**
153
+ - Pass debug findings to a downstream `mma-delegate` fix step
154
+ - Feed the root-cause analysis into `mma-verify` for acceptance checking
155
+ - Carry debug context forward through the debug → fix → verify chain
156
+
157
+ The block is registered server-side at task completion; no caller action is needed to create it. Delete it explicitly via `DELETE /context-blocks/:id` when no longer needed, or let it expire on session teardown.
158
+
149
159
  @include _shared/error-handling.md
@@ -11,7 +11,7 @@ when_to_use: >-
11
11
  and keep main context free. If a plan file exists → use mma-execute-plan. If
12
12
  the task is audit / review / verify / debug / investigate → use the matching
13
13
  specialized skill.
14
- version: 3.12.7
14
+ version: 4.0.0
15
15
  ---
16
16
 
17
17
  # mma-delegate
@@ -67,7 +67,7 @@ Dispatch one or more ad-hoc tasks to workers concurrently. Each task is an indep
67
67
  | `tasks[].contextBlockIds` | string[] | no | IDs from `mma-context-blocks` |
68
68
  | `tasks[].maxCostUSD` | number | no | Per-task cost cap in USD (positive finite). Default 10 when omitted. |
69
69
  | `tasks[].verifyCommand` | string[] | no | See verify-and-review snippet below |
70
- | `tasks[].reviewPolicy` | `"full"` / `"spec_only"` / `"diff_only"` / `"off"` | no | See verify-and-review snippet below. Default `"full"` |
70
+ | `tasks[].reviewPolicy` | `"full"` / `"quality_only"` / `"diff_only"` / `"none"` | no | See verify-and-review snippet below. Default `"full"` |
71
71
 
72
72
  @include _shared/verify-and-review.md
73
73
 
@@ -118,4 +118,15 @@ N tasks × 50KB = N transmissions. **Fix:** register the doc once via `mma-conte
118
118
  ❌ **Reading the worker's diff inline before review**
119
119
  The reviewer sees the full diff with the original prompt as context. Reading inline burns main-context tokens for no quality gain.
120
120
 
121
+ ## Terminal context block
122
+
123
+ Every completed task automatically registers a terminal markdown context block containing the full task report (headline, structured report, per-file diffs, and findings). The `blockId` is returned in each task result as `terminalBlockId`. This block is immutable, lives for the session duration, and counts against the project's `maxEntries` quota (default 500).
124
+
125
+ **Use cases:**
126
+ - Pass a prior task's report to a follow-up task via `contextBlockIds`
127
+ - Chain delegate → review → verify without re-inlining findings
128
+ - Accumulate round-N findings for round N+1 in iterative workflows
129
+
130
+ The block is registered server-side at task completion; no caller action is needed to create it. Delete it explicitly via `DELETE /context-blocks/:id` when no longer needed, or let it expire on session teardown.
131
+
121
132
  @include _shared/error-handling.md
@@ -10,7 +10,7 @@ when_to_use: >-
10
10
  superpowers:subagent-driven-development / superpowers:executing-plans —
11
11
  workers are cheaper and don't pollute main context. Task descriptors must
12
12
  match plan headings verbatim.
13
- version: 3.12.7
13
+ version: 4.0.0
14
14
  ---
15
15
 
16
16
  # mma-execute-plan
@@ -64,14 +64,12 @@ Dispatch named tasks from a plan file to workers. Each `tasks` string must match
64
64
  | `contextBlockIds` | string[] | no | IDs from `mma-context-blocks` |
65
65
  | `maxCostUSD` | number | no | Per-task cost cap in USD (positive finite). Default 10 when omitted. |
66
66
  | `verifyCommand` | string[] | no | See verify-and-review snippet below |
67
- | `tasks[].reviewPolicy` | `"full"` / `"spec_only"` / `"diff_only"` / `"off"` | no | See verify-and-review snippet below. Default `"full"`. |
67
+ | `tasks[].reviewPolicy` | `"full"` / `"quality_only"` / `"diff_only"` / `"none"` | no | See verify-and-review snippet below. Default `"full"`. |
68
68
 
69
69
  @include _shared/verify-and-review.md
70
70
 
71
71
  > **No `agentType` here.** Worker tier is hardcoded to `standard` for every plan task; sending `agentType` (top-level or per-task) is rejected with HTTP 400. For tasks that need `complex` tier, dispatch via `mma-delegate` with the plan task as the prompt and `agentType: "complex"`.
72
72
 
73
- If the batch reaches `awaiting_clarification`, use `mma-clarifications` to confirm or correct the proposed interpretation.
74
-
75
73
  ## Full example
76
74
 
77
75
  ```bash
@@ -116,4 +114,15 @@ Task 5 depends on Task 4's output → workers race; Task 5 might run before Task
116
114
  ❌ **Skipping `verifyCommand` when one exists**
117
115
  A passing local check is the cheapest signal you're going to get. **Fix:** wire `["npm test"]` or the focused package test.
118
116
 
117
+ ## Terminal context block
118
+
119
+ Every completed task automatically registers a terminal markdown context block containing the full task report (headline, structured report, per-file diffs, and findings). The `blockId` is returned in each task result as `terminalBlockId`. This block is immutable, lives for the session duration, and counts against the project's `maxEntries` quota (default 500).
120
+
121
+ **Use cases:**
122
+ - Pass a prior task's report to a follow-up task via `contextBlockIds`
123
+ - Chain execute-plan → review → retry without re-inlining results
124
+ - Accumulate round-N findings for round N+1 in iterative workflows
125
+
126
+ The block is registered server-side at task completion; no caller action is needed to create it. Delete it explicitly via `DELETE /context-blocks/:id` when no longer needed, or let it expire on session teardown.
127
+
119
128
  @include _shared/error-handling.md
@@ -11,7 +11,7 @@ when_to_use: >-
11
11
  Delegating the read+grep+web-search to a worker keeps your main context on
12
12
  judgment. DO NOT use for convergent single-answer questions (where is X
13
13
  called, how does Y work) — those are mma-investigate.
14
- version: 3.12.7
14
+ version: 4.0.0
15
15
  ---
16
16
 
17
17
  # mma-explore
@@ -147,7 +147,7 @@ Each task carries an `exploration` field on its per-task report:
147
147
  }
148
148
  ```
149
149
 
150
- `workerStatus` is one of `done`, `done_with_concerns`, `needs_context`, `blocked`. When `done_with_concerns`, the per-task report carries `incompleteReason` (`turn_cap`, `cost_cap`, `timeout`, or `missing_sections`). When `needs_context`, the worker flagged a `[needs_context]` bullet under `## Unresolved` — re-dispatch with extra context (anchor paths, a context block, or a clarification turn).
150
+ `workerStatus` is one of `done`, `done_with_concerns`, `needs_context`, `blocked`. When `done_with_concerns`, the per-task report carries `incompleteReason` (`turn_cap`, `cost_cap`, `timeout`, or `missing_sections`). When `needs_context`, the worker flagged a `[needs_context]` bullet under `## Unresolved` — re-dispatch with extra context (anchor paths or a context block).
151
151
 
152
152
  ## Reading the findings (3.10.5+)
153
153
 
@@ -162,10 +162,10 @@ Every finding has the same shape:
162
162
  | `claim` | string | One-sentence summary. |
163
163
  | `evidence` | string ≥20 chars | Quoted from worker output when grounded. |
164
164
  | `suggestion?` | string | Optional fix recommendation. |
165
- | `reviewerConfidence` | `number \| null` | 0–100; `null` from deterministic fallback. |
165
+ | `annotatorConfidence` | `number \| null` | 0–100; `null` from deterministic fallback. |
166
166
  | `evidenceGrounded` | boolean | True iff `evidence` is verbatim from worker output. |
167
167
 
168
- `qualityReviewVerdict` is `'annotated'` (normal), `'skipped'` (kill switch), or `'error'` (reviewer transport failure). See `mma-investigate` SKILL.md for finding-rendering conventions — same shape.
168
+ `qualityReviewVerdict` is `'skipped'` (explore does not run a quality review pass) or `'error'` (reviewer transport failure). See `mma-investigate` SKILL.md for finding-rendering conventions — same shape.
169
169
 
170
170
  ## Best practices
171
171
 
@@ -196,4 +196,10 @@ The worker still produced threads and a synthesis. Read them — partial coverag
196
196
  ❌ **Inline-research instead of delegating**
197
197
  About to run 3+ WebSearch + grep calls just to enumerate options? That's the wrong tradeoff — the worker searches on its cheap budget; you read its synthesis on yours.
198
198
 
199
+ ## Terminal context block
200
+
201
+ Every completed task automatically registers a terminal markdown context block containing the full task report (headline, exploration threads, synthesis, and annotated findings). The `blockId` is returned in each task result as `terminalBlockId`. This block is immutable, lives for the session duration, and counts against the project's `maxEntries` quota (default 500).
202
+
203
+ Use `terminalBlockId` in downstream `contextBlockIds` to chain findings across the explore → brainstorm → plan workflow without re-inlining content. The block is registered server-side at task completion; no caller action is needed. Delete explicitly via `DELETE /context-blocks/:id` when no longer needed.
204
+
199
205
  @include _shared/error-handling.md
@@ -12,7 +12,7 @@ when_to_use: >-
12
12
  git-history queries. OR you are about to read 3+ files / run any grep in main
13
13
  context — that's the inline-labor-leakage anti-pattern (AP2); delegate to this
14
14
  skill instead.
15
- version: 3.12.7
15
+ version: 4.0.0
16
16
  ---
17
17
 
18
18
  # mma-investigate
@@ -123,7 +123,7 @@ Each task carries an `investigation` field on its per-task report:
123
123
  }
124
124
  ```
125
125
 
126
- `workerStatus` is one of `done`, `done_with_concerns`, `needs_context`, `blocked`. When `done_with_concerns`, the per-task report carries `incompleteReason` (`turn_cap`, `cost_cap`, `timeout`, or `missing_sections`). When `needs_context`, the worker flagged a `[needs_context]` bullet under `## Unresolved` — re-dispatch with extra context (anchor paths, a context block, or a clarification turn).
126
+ `workerStatus` is one of `done`, `done_with_concerns`, `needs_context`, `blocked`. When `done_with_concerns`, the per-task report carries `incompleteReason` (`turn_cap`, `cost_cap`, `timeout`, or `missing_sections`). When `needs_context`, the worker flagged a `[needs_context]` bullet under `## Unresolved` — re-dispatch with extra context (anchor paths or a context block).
127
127
 
128
128
  ## Reading the findings (3.10.5+)
129
129
 
@@ -138,27 +138,26 @@ Every finding has the same shape:
138
138
  | `claim` | string | One-sentence summary. |
139
139
  | `evidence` | string ≥20 chars | Quoted from worker output when grounded. |
140
140
  | `suggestion?` | string | Optional fix recommendation. |
141
- | `reviewerConfidence` | `number \| null` | 0–100 from the reviewer; `null` when emitted via deterministic fallback. |
141
+ | `annotatorConfidence` | `number \| null` | 0–100 from the reviewer; `null` when emitted via deterministic fallback. |
142
142
  | `evidenceGrounded` | boolean | True when `evidence` is a verbatim substring of worker output. |
143
143
 
144
144
  ### Verdict states (`qualityReviewVerdict`)
145
145
 
146
146
  - `'annotated'` — every finding is structured. May be reviewer-emitted (with
147
- numeric `reviewerConfidence`) or deterministic-fallback (with
148
- `reviewerConfidence: null`). The route ALWAYS reaches `'annotated'` unless
147
+ numeric `annotatorConfidence`) or deterministic-fallback (with
148
+ `annotatorConfidence: null`). The route ALWAYS reaches `'annotated'` unless
149
149
  the reviewer call itself fails transport.
150
- - `'skipped'` — kill switch (`MMAGENT_READ_ONLY_REVIEW=disabled`).
151
150
  - `'error'` — only when the reviewer call fails transport (network / 5xx).
152
151
 
153
152
  ### Recommended rendering by the main agent
154
153
 
155
154
  1. Show ALL findings — never silently drop. Confidence and grounding are
156
155
  soft signals, not gates.
157
- 2. Default sort: severity (critical → low) then `reviewerConfidence` desc
156
+ 2. Default sort: severity (critical → low) then `annotatorConfidence` desc
158
157
  (nulls last).
159
158
  3. `severity` is the reviewer's authoritative final value — use it directly.
160
159
  4. Mark findings with `evidenceGrounded: false` or
161
- `reviewerConfidence < 70` as "lower-trust" (collapsed section, lighter
160
+ `annotatorConfidence < 70` as "lower-trust" (collapsed section, lighter
162
161
  color, or `(low confidence)` annotation). User decides what to do.
163
162
  5. Severity-tier counts feed the dashboard via V3 `findingsBySeverity`.
164
163
 
@@ -183,4 +182,15 @@ The worker still produced citations and a confidence level. Read them — partia
183
182
  ❌ **Inline-reading instead of delegating**
184
183
  About to `Read` 3+ files just to answer one question? That's the wrong tradeoff — the worker reads on its cheap budget; you read its synthesis on yours.
185
184
 
185
+ ## Terminal context block
186
+
187
+ Every completed task automatically registers a terminal markdown context block containing the full task report (headline, investigation synthesis, citations, and annotated findings). The `blockId` is returned in each task result as `terminalBlockId`. This block is immutable, lives for the session duration, and counts against the project's `maxEntries` quota (default 500).
188
+
189
+ **Use cases:**
190
+ - Pass investigation results to a downstream planning step
191
+ - Feed codebase findings into `mma-execute-plan` as shared context
192
+ - Carry investigation context forward through the investigate → plan → execute chain
193
+
194
+ The block is registered server-side at task completion; no caller action is needed to create it. Delete it explicitly via `DELETE /context-blocks/:id` when no longer needed, or let it expire on session teardown.
195
+
186
196
  @include _shared/error-handling.md
@@ -10,7 +10,7 @@ when_to_use: >-
10
10
  you want to re-try the failed indices only. Prefer this over re-dispatching
11
11
  the whole batch or inline-retrying — it's idempotent and preserves the
12
12
  original batch's diagnostics.
13
- version: 3.12.7
13
+ version: 4.0.0
14
14
  ---
15
15
 
16
16
  # mma-retry
@@ -111,4 +111,10 @@ Retry produces a NEW batchId; polling the original returns the old terminal stat
111
111
  ❌ **Using retry to change task config**
112
112
  Retry preserves the ORIGINAL config (prompt, agentType, filePaths, reviewPolicy). **Fix:** if you want different config, re-dispatch with `mma-delegate` / `mma-execute-plan`.
113
113
 
114
+ ## Terminal context block
115
+
116
+ Every completed task automatically registers a terminal markdown context block containing the full task report. The `blockId` is returned in each task result as `terminalBlockId`. This block is immutable, lives for the session duration, and counts against the project's `maxEntries` quota (default 500).
117
+
118
+ Note: the retry batch produces its own terminal context blocks for each re-run task. The original batch's terminal context blocks remain intact and are not overwritten.
119
+
114
120
  @include _shared/error-handling.md
@@ -10,7 +10,7 @@ when_to_use: >-
10
10
  AND mmagent is running. Delegate so each file reviews on its own worker; the
11
11
  main agent only decides what to merge. Review on SOURCE CODE — use mma-audit
12
12
  for prose specs / configs.
13
- version: 3.12.7
13
+ version: 4.0.0
14
14
  ---
15
15
 
16
16
  # mma-review
@@ -90,27 +90,26 @@ Every finding has the same shape:
90
90
  | `claim` | string | One-sentence summary. |
91
91
  | `evidence` | string ≥20 chars | Quoted from worker output when grounded. |
92
92
  | `suggestion?` | string | Optional fix recommendation. |
93
- | `reviewerConfidence` | `number \| null` | 0–100 from the reviewer; `null` when emitted via deterministic fallback. |
93
+ | `annotatorConfidence` | `number \| null` | 0–100 from the reviewer; `null` when emitted via deterministic fallback. |
94
94
  | `evidenceGrounded` | boolean | True when `evidence` is a verbatim substring of worker output. |
95
95
 
96
96
  ### Verdict states (`qualityReviewVerdict`)
97
97
 
98
98
  - `'annotated'` — every finding is structured. May be reviewer-emitted (with
99
- numeric `reviewerConfidence`) or deterministic-fallback (with
100
- `reviewerConfidence: null`). The route ALWAYS reaches `'annotated'` unless
99
+ numeric `annotatorConfidence`) or deterministic-fallback (with
100
+ `annotatorConfidence: null`). The route ALWAYS reaches `'annotated'` unless
101
101
  the reviewer call itself fails transport.
102
- - `'skipped'` — kill switch (`MMAGENT_READ_ONLY_REVIEW=disabled`).
103
102
  - `'error'` — only when the reviewer call fails transport (network / 5xx).
104
103
 
105
104
  ### Recommended rendering by the main agent
106
105
 
107
106
  1. Show ALL findings — never silently drop. Confidence and grounding are
108
107
  soft signals, not gates.
109
- 2. Default sort: severity (critical → low) then `reviewerConfidence` desc
108
+ 2. Default sort: severity (critical → low) then `annotatorConfidence` desc
110
109
  (nulls last).
111
110
  3. `severity` is the reviewer's authoritative final value — use it directly.
112
111
  4. Mark findings with `evidenceGrounded: false` or
113
- `reviewerConfidence < 70` as "lower-trust" (collapsed section, lighter
112
+ `annotatorConfidence < 70` as "lower-trust" (collapsed section, lighter
114
113
  color, or `(low confidence)` annotation). User decides what to do.
115
114
  5. Severity-tier counts feed the dashboard via V3 `findingsBySeverity`.
116
115
 
@@ -138,4 +137,15 @@ If the reviewer needs to check the diff against a design doc, register the doc o
138
137
  ❌ **Skipping review because "I already read it"**
139
138
  Self-review and cross-model review are not the same thing. The whole reason to delegate is the different blind spots. Read the findings; merge what you agree with.
140
139
 
140
+ ## Terminal context block
141
+
142
+ Every completed task automatically registers a terminal markdown context block containing the full task report (headline, annotated findings, and per-file review notes). The `blockId` is returned in each task result as `terminalBlockId`. This block is immutable, lives for the session duration, and counts against the project's `maxEntries` quota (default 500).
143
+
144
+ **Use cases:**
145
+ - Pass round-N review findings to round N+1 via `contextBlockIds`
146
+ - Feed review results into a downstream `mma-delegate` fix step
147
+ - Accumulate findings across iterative review rounds
148
+
149
+ The block is registered server-side at task completion; no caller action is needed to create it. Delete it explicitly via `DELETE /context-blocks/:id` when no longer needed, or let it expire on session teardown.
150
+
141
151
  @include _shared/error-handling.md
@@ -10,7 +10,7 @@ when_to_use: >-
10
10
  against implemented work BEFORE claiming success. Delegate so each checklist
11
11
  item gets independent evidence-gathering on a worker. Use this BEFORE saying
12
12
  "done" — never after.
13
- version: 3.12.7
13
+ version: 4.0.0
14
14
  ---
15
15
 
16
16
  # mma-verify
@@ -91,27 +91,26 @@ Every finding has the same shape:
91
91
  | `claim` | string | One-sentence summary. |
92
92
  | `evidence` | string ≥20 chars | Quoted from worker output when grounded. |
93
93
  | `suggestion?` | string | Optional fix recommendation. |
94
- | `reviewerConfidence` | `number \| null` | 0–100 from the reviewer; `null` when emitted via deterministic fallback. |
94
+ | `annotatorConfidence` | `number \| null` | 0–100 from the reviewer; `null` when emitted via deterministic fallback. |
95
95
  | `evidenceGrounded` | boolean | True when `evidence` is a verbatim substring of worker output. |
96
96
 
97
97
  ### Verdict states (`qualityReviewVerdict`)
98
98
 
99
99
  - `'annotated'` — every finding is structured. May be reviewer-emitted (with
100
- numeric `reviewerConfidence`) or deterministic-fallback (with
101
- `reviewerConfidence: null`). The route ALWAYS reaches `'annotated'` unless
100
+ numeric `annotatorConfidence`) or deterministic-fallback (with
101
+ `annotatorConfidence: null`). The route ALWAYS reaches `'annotated'` unless
102
102
  the reviewer call itself fails transport.
103
- - `'skipped'` — kill switch (`MMAGENT_READ_ONLY_REVIEW=disabled`).
104
103
  - `'error'` — only when the reviewer call fails transport (network / 5xx).
105
104
 
106
105
  ### Recommended rendering by the main agent
107
106
 
108
107
  1. Show ALL findings — never silently drop. Confidence and grounding are
109
108
  soft signals, not gates.
110
- 2. Default sort: severity (critical → low) then `reviewerConfidence` desc
109
+ 2. Default sort: severity (critical → low) then `annotatorConfidence` desc
111
110
  (nulls last).
112
111
  3. `severity` is the reviewer's authoritative final value — use it directly.
113
112
  4. Mark findings with `evidenceGrounded: false` or
114
- `reviewerConfidence < 70` as "lower-trust" (collapsed section, lighter
113
+ `annotatorConfidence < 70` as "lower-trust" (collapsed section, lighter
115
114
  color, or `(low confidence)` annotation). User decides what to do.
116
115
  5. Severity-tier counts feed the dashboard via V3 `findingsBySeverity`.
117
116
 
@@ -141,4 +140,15 @@ Verify CHECKS work; it doesn't DO work. If a checklist item fails, dispatch `mma
141
140
  ❌ **Skipping verify because "tests pass"**
142
141
  Tests verify the test cases that exist. Verify checks the acceptance criteria — which often include things tests don't (docs updated, no debug-print left, etc.).
143
142
 
143
+ ## Terminal context block
144
+
145
+ Every completed task automatically registers a terminal markdown context block containing the full task report (headline, checklist item verdicts, and annotated findings). The `blockId` is returned in each task result as `terminalBlockId`. This block is immutable, lives for the session duration, and counts against the project's `maxEntries` quota (default 500).
146
+
147
+ **Use cases:**
148
+ - Pass verification results to a downstream `mma-delegate` fix step
149
+ - Feed verify findings into a re-verify round after fixes are applied
150
+ - Accumulate evidence across iterative verify-fix-verify cycles
151
+
152
+ The block is registered server-side at task completion; no caller action is needed to create it. Delete it explicitly via `DELETE /context-blocks/:id` when no longer needed, or let it expire on session teardown.
153
+
144
154
  @include _shared/error-handling.md
@@ -3,15 +3,15 @@ name: multi-model-agent
3
3
  description: >-
4
4
  Use first whenever you're about to delegate any tool-using work — picks the
5
5
  right mma-* skill (audit, review, verify, debug, plan execution, codebase
6
- investigation, ad-hoc delegation, retry, context-block reuse, clarification
7
- resume) instead of defaulting to inline Agent dispatches
6
+ investigation, ad-hoc delegation, retry, context-block reuse) instead of
7
+ defaulting to inline Agent dispatches
8
8
  when_to_use: >-
9
9
  The user asks for work you'd normally delegate — audit, code review, checklist
10
10
  verification, debugging, plan execution, codebase Q&A, or ad-hoc parallel
11
11
  tasks — AND mmagent is running. Read this once, pick the matching mma-* skill,
12
12
  and delegate there. Applies equally whether the user invoked a superpowers
13
13
  methodology skill or asked directly.
14
- version: 3.12.7
14
+ version: 4.0.0
15
15
  ---
16
16
 
17
17
  # multi-model-agent (router)
@@ -71,7 +71,6 @@ digraph picker {
71
71
  | `mma-delegate` | Ad-hoc implementation / research with no plan file |
72
72
  | `mma-retry` | Re-run specific failed/incomplete tasks from a previous batch by index |
73
73
  | `mma-context-blocks` | Register a reused doc once; reference by ID across N tasks |
74
- | `mma-clarifications` | Confirm or correct the service's proposed interpretation |
75
74
 
76
75
  ## Best practices
77
76
 
@@ -130,8 +129,6 @@ When `mma-execute-plan` returns mixed `done` / `done_with_concerns` / `failed`,
130
129
 
131
130
  4. **`full-batch-redispatch`** — Caller re-runs `mma-execute-plan` with the entire task list when only 2 of 8 tasks failed. The 6 successful tasks get re-charged. Corrective: `mma-retry` with the failed indices. (The same anti-pattern applies to multi-task `mma-delegate` batches; `mma-retry` is the corrective there too.)
132
131
 
133
- 5. **`clarification-as-info`** — Caller polls a batch, sees `proposedInterpretation` as a string, treats it as advisory, and waits for the batch to complete. The batch is paused — it will not complete until the caller responds via `mma-clarifications`. Corrective: a string `proposedInterpretation` is a hard gate, not an FYI. Either accept the proposal verbatim or correct it.
134
-
135
132
  ## Preflight: auto-start the daemon if it is not running
136
133
 
137
134
  ```bash
@@ -177,23 +174,25 @@ Every other route hardcodes its tier and rejects `agentType` with HTTP 400:
177
174
 
178
175
  If you need `complex` tier on plan-style work, dispatch via `mma-delegate` with the plan task as the prompt and `agentType: "complex"`.
179
176
 
180
- ## Reasoning effort: auto-inferred
177
+ ## Context block defaults
178
+
179
+ | Default | Value | Notes |
180
+ |---|---|---|
181
+ | Idle TTL | 24 h | Block eligible for eviction after 24 h with no active batch references |
182
+ | `maxEntries` | 500 | Per-project cap on total context blocks |
183
+ | Body cap | 50 MiB | Maximum `content` size per block |
181
184
 
182
- Independent of tier, every task runs through `inferEffort(prompt)` (`run-tasks/index.ts`) when `effort` is undefined:
185
+ Context blocks are immutable after creation. To update content, register a new block and switch `contextBlockIds` to the new ID.
183
186
 
184
- - Code block > 20 lines in the prompt → `low` (treated as exact-write).
185
- - File path + action verb (`edit`/`modify`/`update`/`fix`/`refactor`/`replace`) → `medium`.
186
- - Otherwise → falls through to provider config default.
187
+ ## Terminal context block
187
188
 
188
- This is automatic and not caller-overridable from any `mma-*` skill it shapes how hard the worker thinks within its tier.
189
+ Every completed task across all routes automatically registers a terminal markdown context block with the full task report. The `blockId` is in each task result as `terminalBlockId`. This block is immutable, lives for the session duration (or idle-evicts after 24 h), and counts against the `maxEntries` quota. Use `terminalBlockId` values in downstream `contextBlockIds` to chain findings across workflow steps without re-inlining report content. No caller action needed — blocks are registered server-side at task completion.
189
190
 
190
191
  ## General flow
191
192
 
192
193
  1. Call the matching `mma-*` skill → receive `{ batchId, statusUrl }`.
193
194
  2. Poll `GET /batch/:id`: `202 text/plain` while pending (body is the running headline), `200 application/json` on terminal.
194
- 3. Read `results` / `error` / `proposedInterpretation` from the 7-field terminal envelope.
195
-
196
- If `proposedInterpretation` is a string (not the `not_applicable` sentinel) → use `mma-clarifications` to confirm/correct.
195
+ 3. Read `results` / `error` from the 6-field terminal envelope.
197
196
 
198
197
  ## Common pitfalls
199
198
 
@@ -1,4 +1,4 @@
1
- import { type ConsentDecision } from '@zhixuan92/multi-model-agent-core/telemetry/consent-rules';
1
+ import { type ConsentDecision } from '@zhixuan92/multi-model-agent-core/events/consent-rules';
2
2
  export declare function decide(homeDir: string): ConsentDecision;
3
3
  export declare function watchConfigForChanges(homeDir: string, onChange: (d: ConsentDecision) => void): () => void;
4
4
  //# sourceMappingURL=consent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../src/telemetry/consent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAEhH,wBAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,CAsBvD;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK,IAAI,GAAG,MAAM,IAAI,CASzG"}
1
+ {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../src/telemetry/consent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,eAAe,EAAE,MAAM,wDAAwD,CAAC;AAE7G,wBAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,CAsBvD;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,eAAe,KAAK,IAAI,GAAG,MAAM,IAAI,CASzG"}
@@ -1,6 +1,6 @@
1
1
  import { readFileSync, watch } from 'node:fs';
2
2
  import { join } from 'node:path';
3
- import { decideConsent } from '@zhixuan92/multi-model-agent-core/telemetry/consent-rules';
3
+ import { decideConsent } from '@zhixuan92/multi-model-agent-core/events/consent-rules';
4
4
  export function decide(homeDir) {
5
5
  const env = process.env.MMAGENT_TELEMETRY;
6
6
  const cfgPath = join(homeDir, 'config.json');
@@ -1 +1 @@
1
- {"version":3,"file":"consent.js","sourceRoot":"","sources":["../../src/telemetry/consent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,aAAa,EAAwB,MAAM,2DAA2D,CAAC;AAEhH,MAAM,UAAU,MAAM,CAAC,OAAe;IACpC,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC;IAC1C,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAC7C,IAAI,MAAM,GAA8D,SAAS,CAAC;IAClF,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,YAAY,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC1C,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAQ,CAAC;QACnC,IACE,GAAG,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,CAAC,SAAS;YAC/C,OAAO,GAAG,CAAC,SAAS,KAAK,QAAQ;YACjC,OAAO,GAAG,CAAC,SAAS,CAAC,OAAO,KAAK,SAAS,EAC1C,CAAC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AM,UAAU,qBAAqB,CAAC,OAAe,EAAE,QAAsC;IAC3F,MAAM,QAAQ,GAAG,aAAa,CAAC;IAC/B,IAAI,KAAK,GAA0B,IAAI,CAAC;IACxC,MAAM,CAAC,GAAG,KAAK,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;QAChE,IAAI,KAAK,KAAK,QAAQ;YAAE,OAAO;QAC/B,IAAI,KAAK;YAAE,YAAY,CAAC,KAAK,CAAC,CAAC;QAC/B,KAAK,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAC3D,CAAC,CAAC,CAAC;IACH,OAAO,GAAG,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,IAAI,KAAK;QAAE,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9D,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { gzipSync } from 'node:zlib';
2
2
  import { readGeneration } from './generation.js';
3
3
  import { getOrCreateIdentity, sign } from './identity.js';
4
- import { SCHEMA_VERSION } from '@zhixuan92/multi-model-agent-core/telemetry/types';
4
+ import { SCHEMA_VERSION } from '@zhixuan92/multi-model-agent-core/events/telemetry-types';
5
5
  const MAX_BATCH = 500;
6
6
  const INTERVAL_MS = 5 * 60 * 1000; // 5 minutes
7
7
  const BOOT_DELAY_MS = 5_000; // 5 seconds
@@ -1 +1 @@
1
- {"version":3,"file":"flusher.js","sourceRoot":"","sources":["../../src/telemetry/flusher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAErC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,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/telemetry/consent-rules';
1
+ import type { ConsentDecision } from '@zhixuan92/multi-model-agent-core/events/consent-rules';
2
2
  export declare function firstRunNoticeText(): string;
3
3
  export type NoticeWriter = (message: string) => void;
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"notice.d.ts","sourceRoot":"","sources":["../../src/telemetry/notice.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2DAA2D,CAAC;AAEjG,wBAAgB,kBAAkB,IAAI,MAAM,CAsB3C;AAMD,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;AAwErD;;;;GAIG;AACH,wBAAgB,UAAU,CACxB,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,eAAe,EACzB,KAAK,GAAE,YAAgE,GACtE,IAAI,CAWN"}
1
+ {"version":3,"file":"notice.d.ts","sourceRoot":"","sources":["../../src/telemetry/notice.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wDAAwD,CAAC;AAE9F,wBAAgB,kBAAkB,IAAI,MAAM,CAsB3C;AAMD,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;AAwErD;;;;GAIG;AACH,wBAAgB,UAAU,CACxB,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,eAAe,EACzB,KAAK,GAAE,YAAgE,GACtE,IAAI,CAWN"}
@@ -1,5 +1,5 @@
1
- import type { TaskCompletedEventType } from '@zhixuan92/multi-model-agent-core/telemetry/types';
2
- import { type BuildContext } from '@zhixuan92/multi-model-agent-core/telemetry/event-builder';
1
+ import type { TaskCompletedEventType } from '@zhixuan92/multi-model-agent-core/events/telemetry-types';
2
+ import { type BuildContext } from '@zhixuan92/multi-model-agent-core/events/event-builder';
3
3
  export interface ValidationWarningsResult {
4
4
  warnings: Array<{
5
5
  rule: string;
@@ -1 +1 @@
1
- {"version":3,"file":"recorder.d.ts","s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