@zhixuan92/multi-model-agent-core 3.9.1 → 3.10.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.
@@ -1,91 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const SCHEMA_VERSION = 2;
3
- /**
4
- * Permissive shape-only validation for fields whose vocabulary we don't control:
5
- * model IDs, client names, MCP tool names, skill IDs. Charset accommodates every
6
- * model namespace observed in the wild (Anthropic, OpenAI, Bedrock prefixes,
7
- * OpenRouter `meta-llama/...`, Ollama `model:tag`). Length cap prevents PII
8
- * smuggling. The schema validates SHAPE, not VOCABULARY.
9
- */
10
- export declare const BoundedIdentifier: z.ZodString;
11
- export declare const InstallableSkillId: z.ZodEnum<{
12
- other: "other";
13
- "mma-delegate": "mma-delegate";
14
- "mma-audit": "mma-audit";
15
- "mma-review": "mma-review";
16
- "mma-verify": "mma-verify";
17
- "mma-debug": "mma-debug";
18
- "mma-execute-plan": "mma-execute-plan";
19
- "mma-retry": "mma-retry";
20
- "mma-investigate": "mma-investigate";
21
- "mma-context-blocks": "mma-context-blocks";
22
- "mma-clarifications": "mma-clarifications";
23
- }>;
24
- export declare const TriggeringSkillId: z.ZodUnion<readonly [z.ZodEnum<{
25
- other: "other";
26
- "mma-delegate": "mma-delegate";
27
- "mma-audit": "mma-audit";
28
- "mma-review": "mma-review";
29
- "mma-verify": "mma-verify";
30
- "mma-debug": "mma-debug";
31
- "mma-execute-plan": "mma-execute-plan";
32
- "mma-retry": "mma-retry";
33
- "mma-investigate": "mma-investigate";
34
- "mma-context-blocks": "mma-context-blocks";
35
- "mma-clarifications": "mma-clarifications";
36
- }>, z.ZodLiteral<"direct">]>;
37
- export declare const ClientId: z.ZodString;
38
- export declare const ModelFamily: z.ZodEnum<{
39
- claude: "claude";
40
- openai: "openai";
41
- gemini: "gemini";
42
- grok: "grok";
43
- mistral: "mistral";
44
- deepseek: "deepseek";
45
- meta: "meta";
46
- qwen: "qwen";
47
- zhipu: "zhipu";
48
- kimi: "kimi";
49
- minimax: "minimax";
50
- other: "other";
51
- }>;
52
- export type ModelFamilyType = z.infer<typeof ModelFamily>;
53
- export declare const Language: z.ZodEnum<{
54
- id: "id";
55
- other: "other";
56
- en: "en";
57
- es: "es";
58
- fr: "fr";
59
- de: "de";
60
- zh: "zh";
61
- ja: "ja";
62
- ko: "ko";
63
- pt: "pt";
64
- ru: "ru";
65
- it: "it";
66
- tr: "tr";
67
- ar: "ar";
68
- hi: "hi";
69
- vi: "vi";
70
- th: "th";
71
- pl: "pl";
72
- nl: "nl";
73
- sv: "sv";
74
- }>;
75
- export declare const TzOffsetBucket: z.ZodEnum<{
76
- utc_minus_12_to_minus_6: "utc_minus_12_to_minus_6";
77
- utc_minus_6_to_0: "utc_minus_6_to_0";
78
- utc_0_to_plus_6: "utc_0_to_plus_6";
79
- utc_plus_6_to_plus_12: "utc_plus_6_to_plus_12";
80
- utc_plus_12_to_plus_15: "utc_plus_12_to_plus_15";
81
- }>;
2
+ export declare const SCHEMA_VERSION = 3;
3
+ export declare const STRICT_ID_REGEX: RegExp;
82
4
  export declare const Os: z.ZodEnum<{
83
5
  darwin: "darwin";
84
6
  linux: "linux";
85
7
  win32: "win32";
86
8
  other: "other";
87
9
  }>;
88
- export declare const InstallMetadata: z.ZodObject<{
10
+ export declare const BatchWrapperSchema: z.ZodObject<{
11
+ schemaVersion: z.ZodLiteral<3>;
89
12
  installId: z.ZodString;
90
13
  mmagentVersion: z.ZodString;
91
14
  os: z.ZodEnum<{
@@ -94,52 +17,24 @@ export declare const InstallMetadata: z.ZodObject<{
94
17
  win32: "win32";
95
18
  other: "other";
96
19
  }>;
97
- nodeMajor: z.ZodString;
98
- language: z.ZodEnum<{
99
- id: "id";
100
- other: "other";
101
- en: "en";
102
- es: "es";
103
- fr: "fr";
104
- de: "de";
105
- zh: "zh";
106
- ja: "ja";
107
- ko: "ko";
108
- pt: "pt";
109
- ru: "ru";
110
- it: "it";
111
- tr: "tr";
112
- ar: "ar";
113
- hi: "hi";
114
- vi: "vi";
115
- th: "th";
116
- pl: "pl";
117
- nl: "nl";
118
- sv: "sv";
119
- }>;
120
- tzOffsetBucket: z.ZodEnum<{
121
- utc_minus_12_to_minus_6: "utc_minus_12_to_minus_6";
122
- utc_minus_6_to_0: "utc_minus_6_to_0";
123
- utc_0_to_plus_6: "utc_0_to_plus_6";
124
- utc_plus_6_to_plus_12: "utc_plus_6_to_plus_12";
125
- utc_plus_12_to_plus_15: "utc_plus_12_to_plus_15";
126
- }>;
20
+ nodeMajor: z.ZodNumber;
127
21
  }, z.core.$strict>;
128
- export declare const AllowlistedToolName: z.ZodEnum<{
22
+ export declare const ConcernCategory: z.ZodEnum<{
129
23
  other: "other";
130
- writeFile: "writeFile";
131
- editFile: "editFile";
132
- runShell: "runShell";
133
- readFile: "readFile";
134
- grep: "grep";
135
- glob: "glob";
136
- listFiles: "listFiles";
24
+ security: "security";
25
+ performance: "performance";
26
+ missing_test: "missing_test";
27
+ scope_creep: "scope_creep";
28
+ incomplete_impl: "incomplete_impl";
29
+ style_lint: "style_lint";
30
+ maintainability: "maintainability";
31
+ doc_gap: "doc_gap";
137
32
  }>;
138
33
  export declare const ErrorCode: z.ZodEnum<{
139
34
  api_error: "api_error";
140
35
  network_error: "network_error";
141
- dirty_worktree: "dirty_worktree";
142
36
  other: "other";
37
+ dirty_worktree: "dirty_worktree";
143
38
  verify_command_error: "verify_command_error";
144
39
  commit_metadata_invalid: "commit_metadata_invalid";
145
40
  commit_metadata_repair_modified_files: "commit_metadata_repair_modified_files";
@@ -148,102 +43,230 @@ export declare const ErrorCode: z.ZodEnum<{
148
43
  rate_limit_exceeded: "rate_limit_exceeded";
149
44
  executor_error: "executor_error";
150
45
  }>;
151
- export declare const ConcernCategory: z.ZodEnum<{
152
- other: "other";
153
- security: "security";
154
- performance: "performance";
155
- missing_test: "missing_test";
156
- scope_creep: "scope_creep";
157
- incomplete_impl: "incomplete_impl";
158
- style_lint: "style_lint";
159
- maintainability: "maintainability";
160
- doc_gap: "doc_gap";
46
+ export declare const SeverityBin: z.ZodEnum<{
47
+ style: "style";
48
+ low: "low";
49
+ medium: "medium";
50
+ high: "high";
161
51
  }>;
162
- export declare const StageStats: z.ZodObject<{
163
- entered: z.ZodBoolean;
164
- durationBucket: z.ZodNullable<z.ZodEnum<{
165
- "<10s": "<10s";
166
- "10s-1m": "10s-1m";
167
- "1m-5m": "1m-5m";
168
- "5m-30m": "5m-30m";
169
- "30m+": "30m+";
170
- }>>;
171
- costBucket: z.ZodNullable<z.ZodEnum<{
172
- $0: "$0";
173
- "<$0.01": "<$0.01";
174
- "$0.01-$0.10": "$0.01-$0.10";
175
- "$0.10-$1": "$0.10-$1";
176
- "$1+": "$1+";
177
- }>>;
178
- agentTier: z.ZodNullable<z.ZodEnum<{
52
+ export declare const FindingsBySeveritySchema: z.ZodObject<{
53
+ high: z.ZodNumber;
54
+ medium: z.ZodNumber;
55
+ low: z.ZodNumber;
56
+ style: z.ZodNumber;
57
+ }, z.core.$strict>;
58
+ export declare const ReviewStageEntrySchema: z.ZodObject<{
59
+ model: z.ZodString;
60
+ agentTier: z.ZodEnum<{
179
61
  standard: "standard";
180
- complex: "complex";
181
- }>>;
182
- modelFamily: z.ZodNullable<z.ZodEnum<{
183
- claude: "claude";
184
- openai: "openai";
185
- gemini: "gemini";
186
- grok: "grok";
187
- mistral: "mistral";
188
- deepseek: "deepseek";
189
- meta: "meta";
190
- qwen: "qwen";
191
- zhipu: "zhipu";
192
- kimi: "kimi";
193
- minimax: "minimax";
62
+ reasoning: "reasoning";
63
+ }>;
64
+ durationMs: z.ZodNumber;
65
+ costUSD: z.ZodNumber;
66
+ inputTokens: z.ZodNumber;
67
+ outputTokens: z.ZodNumber;
68
+ cachedTokens: z.ZodNumber;
69
+ reasoningTokens: z.ZodNumber;
70
+ toolCallCount: z.ZodNumber;
71
+ filesReadCount: z.ZodNumber;
72
+ filesWrittenCount: z.ZodNumber;
73
+ turnCount: z.ZodNumber;
74
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
75
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
76
+ name: z.ZodEnum<{
77
+ spec_review: "spec_review";
78
+ quality_review: "quality_review";
79
+ diff_review: "diff_review";
80
+ }>;
81
+ verdict: z.ZodEnum<{
82
+ error: "error";
83
+ skipped: "skipped";
84
+ approved: "approved";
85
+ concerns: "concerns";
86
+ changes_required: "changes_required";
87
+ annotated: "annotated";
88
+ not_applicable: "not_applicable";
89
+ }>;
90
+ roundsUsed: z.ZodNumber;
91
+ concernCategories: z.ZodArray<z.ZodEnum<{
194
92
  other: "other";
93
+ security: "security";
94
+ performance: "performance";
95
+ missing_test: "missing_test";
96
+ scope_creep: "scope_creep";
97
+ incomplete_impl: "incomplete_impl";
98
+ style_lint: "style_lint";
99
+ maintainability: "maintainability";
100
+ doc_gap: "doc_gap";
195
101
  }>>;
196
- model: z.ZodNullable<z.ZodString>;
102
+ findingsBySeverity: z.ZodObject<{
103
+ high: z.ZodNumber;
104
+ medium: z.ZodNumber;
105
+ low: z.ZodNumber;
106
+ style: z.ZodNumber;
107
+ }, z.core.$strict>;
197
108
  }, z.core.$strict>;
198
- export declare const ReviewStageStats: z.ZodObject<{
199
- entered: z.ZodBoolean;
200
- durationBucket: z.ZodNullable<z.ZodEnum<{
201
- "<10s": "<10s";
202
- "10s-1m": "10s-1m";
203
- "1m-5m": "1m-5m";
204
- "5m-30m": "5m-30m";
205
- "30m+": "30m+";
206
- }>>;
207
- costBucket: z.ZodNullable<z.ZodEnum<{
208
- $0: "$0";
209
- "<$0.01": "<$0.01";
210
- "$0.01-$0.10": "$0.01-$0.10";
211
- "$0.10-$1": "$0.10-$1";
212
- "$1+": "$1+";
213
- }>>;
214
- agentTier: z.ZodNullable<z.ZodEnum<{
109
+ export declare const ReworkStageEntrySchema: z.ZodObject<{
110
+ model: z.ZodString;
111
+ agentTier: z.ZodEnum<{
215
112
  standard: "standard";
216
- complex: "complex";
113
+ reasoning: "reasoning";
114
+ }>;
115
+ durationMs: z.ZodNumber;
116
+ costUSD: z.ZodNumber;
117
+ inputTokens: z.ZodNumber;
118
+ outputTokens: z.ZodNumber;
119
+ cachedTokens: z.ZodNumber;
120
+ reasoningTokens: z.ZodNumber;
121
+ toolCallCount: z.ZodNumber;
122
+ filesReadCount: z.ZodNumber;
123
+ filesWrittenCount: z.ZodNumber;
124
+ turnCount: z.ZodNumber;
125
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
126
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
127
+ name: z.ZodEnum<{
128
+ spec_rework: "spec_rework";
129
+ quality_rework: "quality_rework";
130
+ }>;
131
+ triggeringConcernCategories: z.ZodArray<z.ZodEnum<{
132
+ other: "other";
133
+ security: "security";
134
+ performance: "performance";
135
+ missing_test: "missing_test";
136
+ scope_creep: "scope_creep";
137
+ incomplete_impl: "incomplete_impl";
138
+ style_lint: "style_lint";
139
+ maintainability: "maintainability";
140
+ doc_gap: "doc_gap";
217
141
  }>>;
218
- modelFamily: z.ZodNullable<z.ZodEnum<{
219
- claude: "claude";
220
- openai: "openai";
221
- gemini: "gemini";
222
- grok: "grok";
223
- mistral: "mistral";
224
- deepseek: "deepseek";
225
- meta: "meta";
226
- qwen: "qwen";
227
- zhipu: "zhipu";
228
- kimi: "kimi";
229
- minimax: "minimax";
142
+ }, z.core.$strict>;
143
+ export declare const VerifyStageEntrySchema: z.ZodObject<{
144
+ model: z.ZodString;
145
+ agentTier: z.ZodEnum<{
146
+ standard: "standard";
147
+ reasoning: "reasoning";
148
+ }>;
149
+ durationMs: z.ZodNumber;
150
+ costUSD: z.ZodNumber;
151
+ inputTokens: z.ZodNumber;
152
+ outputTokens: z.ZodNumber;
153
+ cachedTokens: z.ZodNumber;
154
+ reasoningTokens: z.ZodNumber;
155
+ toolCallCount: z.ZodNumber;
156
+ filesReadCount: z.ZodNumber;
157
+ filesWrittenCount: z.ZodNumber;
158
+ turnCount: z.ZodNumber;
159
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
160
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
161
+ name: z.ZodLiteral<"verifying">;
162
+ outcome: z.ZodEnum<{
163
+ failed: "failed";
164
+ passed: "passed";
165
+ skipped: "skipped";
166
+ not_applicable: "not_applicable";
167
+ }>;
168
+ skipReason: z.ZodNullable<z.ZodEnum<{
169
+ no_command: "no_command";
230
170
  other: "other";
171
+ not_applicable: "not_applicable";
172
+ dirty_worktree: "dirty_worktree";
231
173
  }>>;
232
- model: z.ZodNullable<z.ZodString>;
233
- verdict: z.ZodNullable<z.ZodEnum<{
174
+ }, z.core.$strict>;
175
+ export declare const CommitStageEntrySchema: z.ZodObject<{
176
+ model: z.ZodString;
177
+ agentTier: z.ZodEnum<{
178
+ standard: "standard";
179
+ reasoning: "reasoning";
180
+ }>;
181
+ durationMs: z.ZodNumber;
182
+ costUSD: z.ZodNumber;
183
+ inputTokens: z.ZodNumber;
184
+ outputTokens: z.ZodNumber;
185
+ cachedTokens: z.ZodNumber;
186
+ reasoningTokens: z.ZodNumber;
187
+ toolCallCount: z.ZodNumber;
188
+ filesReadCount: z.ZodNumber;
189
+ filesWrittenCount: z.ZodNumber;
190
+ turnCount: z.ZodNumber;
191
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
192
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
193
+ name: z.ZodLiteral<"committing">;
194
+ filesCommittedCount: z.ZodNumber;
195
+ branchCreated: z.ZodBoolean;
196
+ }, z.core.$strict>;
197
+ export declare const ImplementStageEntrySchema: z.ZodObject<{
198
+ model: z.ZodString;
199
+ agentTier: z.ZodEnum<{
200
+ standard: "standard";
201
+ reasoning: "reasoning";
202
+ }>;
203
+ durationMs: z.ZodNumber;
204
+ costUSD: z.ZodNumber;
205
+ inputTokens: z.ZodNumber;
206
+ outputTokens: z.ZodNumber;
207
+ cachedTokens: z.ZodNumber;
208
+ reasoningTokens: z.ZodNumber;
209
+ toolCallCount: z.ZodNumber;
210
+ filesReadCount: z.ZodNumber;
211
+ filesWrittenCount: z.ZodNumber;
212
+ turnCount: z.ZodNumber;
213
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
214
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
215
+ name: z.ZodLiteral<"implementing">;
216
+ }, z.core.$strict>;
217
+ export declare const StageEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
218
+ model: z.ZodString;
219
+ agentTier: z.ZodEnum<{
220
+ standard: "standard";
221
+ reasoning: "reasoning";
222
+ }>;
223
+ durationMs: z.ZodNumber;
224
+ costUSD: z.ZodNumber;
225
+ inputTokens: z.ZodNumber;
226
+ outputTokens: z.ZodNumber;
227
+ cachedTokens: z.ZodNumber;
228
+ reasoningTokens: z.ZodNumber;
229
+ toolCallCount: z.ZodNumber;
230
+ filesReadCount: z.ZodNumber;
231
+ filesWrittenCount: z.ZodNumber;
232
+ turnCount: z.ZodNumber;
233
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
234
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
235
+ name: z.ZodLiteral<"implementing">;
236
+ }, z.core.$strict>, z.ZodObject<{
237
+ model: z.ZodString;
238
+ agentTier: z.ZodEnum<{
239
+ standard: "standard";
240
+ reasoning: "reasoning";
241
+ }>;
242
+ durationMs: z.ZodNumber;
243
+ costUSD: z.ZodNumber;
244
+ inputTokens: z.ZodNumber;
245
+ outputTokens: z.ZodNumber;
246
+ cachedTokens: z.ZodNumber;
247
+ reasoningTokens: z.ZodNumber;
248
+ toolCallCount: z.ZodNumber;
249
+ filesReadCount: z.ZodNumber;
250
+ filesWrittenCount: z.ZodNumber;
251
+ turnCount: z.ZodNumber;
252
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
253
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
254
+ name: z.ZodEnum<{
255
+ spec_review: "spec_review";
256
+ quality_review: "quality_review";
257
+ diff_review: "diff_review";
258
+ }>;
259
+ verdict: z.ZodEnum<{
234
260
  error: "error";
235
261
  skipped: "skipped";
236
262
  approved: "approved";
237
263
  concerns: "concerns";
238
264
  changes_required: "changes_required";
265
+ annotated: "annotated";
239
266
  not_applicable: "not_applicable";
240
- }>>;
241
- roundsUsed: z.ZodNullable<z.ZodEnum<{
242
- 0: "0";
243
- 1: "1";
244
- "2+": "2+";
245
- }>>;
246
- concernCategories: z.ZodNullable<z.ZodArray<z.ZodEnum<{
267
+ }>;
268
+ roundsUsed: z.ZodNumber;
269
+ concernCategories: z.ZodArray<z.ZodEnum<{
247
270
  other: "other";
248
271
  security: "security";
249
272
  performance: "performance";
@@ -253,58 +276,101 @@ export declare const ReviewStageStats: z.ZodObject<{
253
276
  style_lint: "style_lint";
254
277
  maintainability: "maintainability";
255
278
  doc_gap: "doc_gap";
256
- }>>>;
257
- }, z.core.$strict>;
258
- export declare const VerifyStageStats: z.ZodObject<{
259
- entered: z.ZodBoolean;
260
- durationBucket: z.ZodNullable<z.ZodEnum<{
261
- "<10s": "<10s";
262
- "10s-1m": "10s-1m";
263
- "1m-5m": "1m-5m";
264
- "5m-30m": "5m-30m";
265
- "30m+": "30m+";
266
279
  }>>;
267
- costBucket: z.ZodNullable<z.ZodEnum<{
268
- $0: "$0";
269
- "<$0.01": "<$0.01";
270
- "$0.01-$0.10": "$0.01-$0.10";
271
- "$0.10-$1": "$0.10-$1";
272
- "$1+": "$1+";
273
- }>>;
274
- agentTier: z.ZodNullable<z.ZodEnum<{
280
+ findingsBySeverity: z.ZodObject<{
281
+ high: z.ZodNumber;
282
+ medium: z.ZodNumber;
283
+ low: z.ZodNumber;
284
+ style: z.ZodNumber;
285
+ }, z.core.$strict>;
286
+ }, z.core.$strict>, z.ZodObject<{
287
+ model: z.ZodString;
288
+ agentTier: z.ZodEnum<{
275
289
  standard: "standard";
276
- complex: "complex";
277
- }>>;
278
- modelFamily: z.ZodNullable<z.ZodEnum<{
279
- claude: "claude";
280
- openai: "openai";
281
- gemini: "gemini";
282
- grok: "grok";
283
- mistral: "mistral";
284
- deepseek: "deepseek";
285
- meta: "meta";
286
- qwen: "qwen";
287
- zhipu: "zhipu";
288
- kimi: "kimi";
289
- minimax: "minimax";
290
+ reasoning: "reasoning";
291
+ }>;
292
+ durationMs: z.ZodNumber;
293
+ costUSD: z.ZodNumber;
294
+ inputTokens: z.ZodNumber;
295
+ outputTokens: z.ZodNumber;
296
+ cachedTokens: z.ZodNumber;
297
+ reasoningTokens: z.ZodNumber;
298
+ toolCallCount: z.ZodNumber;
299
+ filesReadCount: z.ZodNumber;
300
+ filesWrittenCount: z.ZodNumber;
301
+ turnCount: z.ZodNumber;
302
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
303
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
304
+ name: z.ZodEnum<{
305
+ spec_rework: "spec_rework";
306
+ quality_rework: "quality_rework";
307
+ }>;
308
+ triggeringConcernCategories: z.ZodArray<z.ZodEnum<{
290
309
  other: "other";
310
+ security: "security";
311
+ performance: "performance";
312
+ missing_test: "missing_test";
313
+ scope_creep: "scope_creep";
314
+ incomplete_impl: "incomplete_impl";
315
+ style_lint: "style_lint";
316
+ maintainability: "maintainability";
317
+ doc_gap: "doc_gap";
291
318
  }>>;
292
- model: z.ZodNullable<z.ZodString>;
293
- outcome: z.ZodNullable<z.ZodEnum<{
319
+ }, z.core.$strict>, z.ZodObject<{
320
+ model: z.ZodString;
321
+ agentTier: z.ZodEnum<{
322
+ standard: "standard";
323
+ reasoning: "reasoning";
324
+ }>;
325
+ durationMs: z.ZodNumber;
326
+ costUSD: z.ZodNumber;
327
+ inputTokens: z.ZodNumber;
328
+ outputTokens: z.ZodNumber;
329
+ cachedTokens: z.ZodNumber;
330
+ reasoningTokens: z.ZodNumber;
331
+ toolCallCount: z.ZodNumber;
332
+ filesReadCount: z.ZodNumber;
333
+ filesWrittenCount: z.ZodNumber;
334
+ turnCount: z.ZodNumber;
335
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
336
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
337
+ name: z.ZodLiteral<"verifying">;
338
+ outcome: z.ZodEnum<{
294
339
  failed: "failed";
295
340
  passed: "passed";
296
341
  skipped: "skipped";
297
342
  not_applicable: "not_applicable";
298
- }>>;
343
+ }>;
299
344
  skipReason: z.ZodNullable<z.ZodEnum<{
300
345
  no_command: "no_command";
346
+ other: "other";
301
347
  not_applicable: "not_applicable";
302
348
  dirty_worktree: "dirty_worktree";
303
- other: "other";
304
349
  }>>;
305
- }, z.core.$strict>;
306
- export declare const TaskCompletedEvent: z.ZodObject<{
307
- type: z.ZodLiteral<"task.completed">;
350
+ }, z.core.$strict>, z.ZodObject<{
351
+ model: z.ZodString;
352
+ agentTier: z.ZodEnum<{
353
+ standard: "standard";
354
+ reasoning: "reasoning";
355
+ }>;
356
+ durationMs: z.ZodNumber;
357
+ costUSD: z.ZodNumber;
358
+ inputTokens: z.ZodNumber;
359
+ outputTokens: z.ZodNumber;
360
+ cachedTokens: z.ZodNumber;
361
+ reasoningTokens: z.ZodNumber;
362
+ toolCallCount: z.ZodNumber;
363
+ filesReadCount: z.ZodNumber;
364
+ filesWrittenCount: z.ZodNumber;
365
+ turnCount: z.ZodNumber;
366
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
367
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
368
+ name: z.ZodLiteral<"committing">;
369
+ filesCommittedCount: z.ZodNumber;
370
+ branchCreated: z.ZodBoolean;
371
+ }, z.core.$strict>], "name">;
372
+ export declare const TaskCompletedEventSchema: z.ZodObject<{
373
+ eventId: z.ZodString;
308
374
  route: z.ZodEnum<{
309
375
  retry: "retry";
310
376
  delegate: "delegate";
@@ -313,66 +379,31 @@ export declare const TaskCompletedEvent: z.ZodObject<{
313
379
  verify: "verify";
314
380
  debug: "debug";
315
381
  "execute-plan": "execute-plan";
382
+ investigate: "investigate";
316
383
  }>;
384
+ client: z.ZodString;
317
385
  agentType: z.ZodEnum<{
318
386
  standard: "standard";
319
387
  complex: "complex";
320
388
  }>;
321
- capabilities: z.ZodArray<z.ZodEnum<{
322
- web_search: "web_search";
323
- web_fetch: "web_fetch";
324
- other: "other";
325
- }>>;
326
389
  toolMode: z.ZodEnum<{
327
390
  none: "none";
328
391
  readonly: "readonly";
329
392
  "no-shell": "no-shell";
330
393
  full: "full";
331
394
  }>;
332
- triggeredFromSkill: z.ZodString;
333
- client: z.ZodString;
334
- fileCountBucket: z.ZodEnum<{
335
- 0: "0";
336
- "1-5": "1-5";
337
- "6-20": "6-20";
338
- "21-50": "21-50";
339
- "51+": "51+";
340
- }>;
341
- durationBucket: z.ZodEnum<{
342
- "<10s": "<10s";
343
- "10s-1m": "10s-1m";
344
- "1m-5m": "1m-5m";
345
- "5m-30m": "5m-30m";
346
- "30m+": "30m+";
347
- }>;
348
- costBucket: z.ZodEnum<{
349
- $0: "$0";
350
- "<$0.01": "<$0.01";
351
- "$0.01-$0.10": "$0.01-$0.10";
352
- "$0.10-$1": "$0.10-$1";
353
- "$1+": "$1+";
354
- }>;
355
- savedCostBucket: z.ZodEnum<{
356
- unknown: "unknown";
357
- $0: "$0";
358
- "$0.10-$1": "$0.10-$1";
359
- "$1+": "$1+";
360
- "<$0.10": "<$0.10";
361
- }>;
362
- implementerModelFamily: z.ZodEnum<{
363
- claude: "claude";
364
- openai: "openai";
365
- gemini: "gemini";
366
- grok: "grok";
367
- mistral: "mistral";
368
- deepseek: "deepseek";
369
- meta: "meta";
370
- qwen: "qwen";
371
- zhipu: "zhipu";
372
- kimi: "kimi";
373
- minimax: "minimax";
395
+ capabilities: z.ZodArray<z.ZodEnum<{
396
+ web_search: "web_search";
397
+ web_fetch: "web_fetch";
374
398
  other: "other";
399
+ }>>;
400
+ reviewPolicy: z.ZodEnum<{
401
+ none: "none";
402
+ full: "full";
403
+ diff_only: "diff_only";
404
+ quality_only: "quality_only";
375
405
  }>;
406
+ verifyCommandPresent: z.ZodBoolean;
376
407
  implementerModel: z.ZodString;
377
408
  terminalStatus: z.ZodEnum<{
378
409
  error: "error";
@@ -394,8 +425,8 @@ export declare const TaskCompletedEvent: z.ZodObject<{
394
425
  errorCode: z.ZodNullable<z.ZodEnum<{
395
426
  api_error: "api_error";
396
427
  network_error: "network_error";
397
- dirty_worktree: "dirty_worktree";
398
428
  other: "other";
429
+ dirty_worktree: "dirty_worktree";
399
430
  verify_command_error: "verify_command_error";
400
431
  commit_metadata_invalid: "commit_metadata_invalid";
401
432
  commit_metadata_repair_modified_files: "commit_metadata_repair_modified_files";
@@ -404,239 +435,392 @@ export declare const TaskCompletedEvent: z.ZodObject<{
404
435
  rate_limit_exceeded: "rate_limit_exceeded";
405
436
  executor_error: "executor_error";
406
437
  }>>;
407
- escalated: z.ZodBoolean;
408
- fallbackTriggered: z.ZodBoolean;
409
- topToolNames: z.ZodArray<z.ZodString>;
410
- stages: z.ZodObject<{
411
- implementing: z.ZodObject<{
412
- entered: z.ZodBoolean;
413
- durationBucket: z.ZodNullable<z.ZodEnum<{
414
- "<10s": "<10s";
415
- "10s-1m": "10s-1m";
416
- "1m-5m": "1m-5m";
417
- "5m-30m": "5m-30m";
418
- "30m+": "30m+";
419
- }>>;
420
- costBucket: z.ZodNullable<z.ZodEnum<{
421
- $0: "$0";
422
- "<$0.01": "<$0.01";
423
- "$0.01-$0.10": "$0.01-$0.10";
424
- "$0.10-$1": "$0.10-$1";
425
- "$1+": "$1+";
426
- }>>;
427
- agentTier: z.ZodNullable<z.ZodEnum<{
428
- standard: "standard";
429
- complex: "complex";
430
- }>>;
431
- modelFamily: z.ZodNullable<z.ZodEnum<{
432
- claude: "claude";
433
- openai: "openai";
434
- gemini: "gemini";
435
- grok: "grok";
436
- mistral: "mistral";
437
- deepseek: "deepseek";
438
- meta: "meta";
439
- qwen: "qwen";
440
- zhipu: "zhipu";
441
- kimi: "kimi";
442
- minimax: "minimax";
443
- other: "other";
444
- }>>;
445
- model: z.ZodNullable<z.ZodString>;
446
- }, z.core.$strict>;
447
- verifying: z.ZodObject<{
448
- entered: z.ZodBoolean;
449
- durationBucket: z.ZodNullable<z.ZodEnum<{
450
- "<10s": "<10s";
451
- "10s-1m": "10s-1m";
452
- "1m-5m": "1m-5m";
453
- "5m-30m": "5m-30m";
454
- "30m+": "30m+";
455
- }>>;
456
- costBucket: z.ZodNullable<z.ZodEnum<{
457
- $0: "$0";
458
- "<$0.01": "<$0.01";
459
- "$0.01-$0.10": "$0.01-$0.10";
460
- "$0.10-$1": "$0.10-$1";
461
- "$1+": "$1+";
462
- }>>;
463
- agentTier: z.ZodNullable<z.ZodEnum<{
464
- standard: "standard";
465
- complex: "complex";
466
- }>>;
467
- modelFamily: z.ZodNullable<z.ZodEnum<{
468
- claude: "claude";
469
- openai: "openai";
470
- gemini: "gemini";
471
- grok: "grok";
472
- mistral: "mistral";
473
- deepseek: "deepseek";
474
- meta: "meta";
475
- qwen: "qwen";
476
- zhipu: "zhipu";
477
- kimi: "kimi";
478
- minimax: "minimax";
479
- other: "other";
480
- }>>;
481
- model: z.ZodNullable<z.ZodString>;
482
- outcome: z.ZodNullable<z.ZodEnum<{
483
- failed: "failed";
484
- passed: "passed";
485
- skipped: "skipped";
486
- not_applicable: "not_applicable";
487
- }>>;
488
- skipReason: z.ZodNullable<z.ZodEnum<{
489
- no_command: "no_command";
490
- not_applicable: "not_applicable";
491
- dirty_worktree: "dirty_worktree";
492
- other: "other";
493
- }>>;
494
- }, z.core.$strict>;
495
- spec_review: z.ZodObject<{
496
- entered: z.ZodBoolean;
497
- durationBucket: z.ZodNullable<z.ZodEnum<{
498
- "<10s": "<10s";
499
- "10s-1m": "10s-1m";
500
- "1m-5m": "1m-5m";
501
- "5m-30m": "5m-30m";
502
- "30m+": "30m+";
503
- }>>;
504
- costBucket: z.ZodNullable<z.ZodEnum<{
505
- $0: "$0";
506
- "<$0.01": "<$0.01";
507
- "$0.01-$0.10": "$0.01-$0.10";
508
- "$0.10-$1": "$0.10-$1";
509
- "$1+": "$1+";
510
- }>>;
511
- agentTier: z.ZodNullable<z.ZodEnum<{
512
- standard: "standard";
513
- complex: "complex";
514
- }>>;
515
- modelFamily: z.ZodNullable<z.ZodEnum<{
516
- claude: "claude";
517
- openai: "openai";
518
- gemini: "gemini";
519
- grok: "grok";
520
- mistral: "mistral";
521
- deepseek: "deepseek";
522
- meta: "meta";
523
- qwen: "qwen";
524
- zhipu: "zhipu";
525
- kimi: "kimi";
526
- minimax: "minimax";
527
- other: "other";
528
- }>>;
529
- model: z.ZodNullable<z.ZodString>;
530
- verdict: z.ZodNullable<z.ZodEnum<{
531
- error: "error";
532
- skipped: "skipped";
533
- approved: "approved";
534
- concerns: "concerns";
535
- changes_required: "changes_required";
536
- not_applicable: "not_applicable";
537
- }>>;
538
- roundsUsed: z.ZodNullable<z.ZodEnum<{
539
- 0: "0";
540
- 1: "1";
541
- "2+": "2+";
542
- }>>;
543
- concernCategories: z.ZodNullable<z.ZodArray<z.ZodEnum<{
544
- other: "other";
545
- security: "security";
546
- performance: "performance";
547
- missing_test: "missing_test";
548
- scope_creep: "scope_creep";
549
- incomplete_impl: "incomplete_impl";
550
- style_lint: "style_lint";
551
- maintainability: "maintainability";
552
- doc_gap: "doc_gap";
553
- }>>>;
438
+ parentModelFamily: z.ZodEnum<{
439
+ claude: "claude";
440
+ openai: "openai";
441
+ gemini: "gemini";
442
+ grok: "grok";
443
+ mistral: "mistral";
444
+ deepseek: "deepseek";
445
+ llama: "llama";
446
+ qwen: "qwen";
447
+ glm: "glm";
448
+ kimi: "kimi";
449
+ cohere: "cohere";
450
+ minimax: "minimax";
451
+ phi: "phi";
452
+ gemma: "gemma";
453
+ yi: "yi";
454
+ sonar: "sonar";
455
+ nova: "nova";
456
+ jamba: "jamba";
457
+ granite: "granite";
458
+ nemotron: "nemotron";
459
+ dbrx: "dbrx";
460
+ arctic: "arctic";
461
+ reka: "reka";
462
+ olmo: "olmo";
463
+ hermes: "hermes";
464
+ wizardlm: "wizardlm";
465
+ starcoder: "starcoder";
466
+ dolphin: "dolphin";
467
+ openchat: "openchat";
468
+ vicuna: "vicuna";
469
+ internlm: "internlm";
470
+ baichuan: "baichuan";
471
+ other: "other";
472
+ }>;
473
+ inputTokens: z.ZodNumber;
474
+ outputTokens: z.ZodNumber;
475
+ cachedTokens: z.ZodNumber;
476
+ reasoningTokens: z.ZodNumber;
477
+ totalDurationMs: z.ZodNumber;
478
+ totalCostUSD: z.ZodNumber;
479
+ totalSavedCostUSD: z.ZodNullable<z.ZodNumber>;
480
+ concernCount: z.ZodNumber;
481
+ escalationCount: z.ZodNumber;
482
+ fallbackCount: z.ZodNumber;
483
+ stallCount: z.ZodNumber;
484
+ taskMaxIdleMs: z.ZodNullable<z.ZodNumber>;
485
+ clarificationRequested: z.ZodBoolean;
486
+ briefQualityWarningCount: z.ZodNumber;
487
+ sandboxViolationCount: z.ZodNumber;
488
+ stages: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
489
+ model: z.ZodString;
490
+ agentTier: z.ZodEnum<{
491
+ standard: "standard";
492
+ reasoning: "reasoning";
493
+ }>;
494
+ durationMs: z.ZodNumber;
495
+ costUSD: z.ZodNumber;
496
+ inputTokens: z.ZodNumber;
497
+ outputTokens: z.ZodNumber;
498
+ cachedTokens: z.ZodNumber;
499
+ reasoningTokens: z.ZodNumber;
500
+ toolCallCount: z.ZodNumber;
501
+ filesReadCount: z.ZodNumber;
502
+ filesWrittenCount: z.ZodNumber;
503
+ turnCount: z.ZodNumber;
504
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
505
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
506
+ name: z.ZodLiteral<"implementing">;
507
+ }, z.core.$strict>, z.ZodObject<{
508
+ model: z.ZodString;
509
+ agentTier: z.ZodEnum<{
510
+ standard: "standard";
511
+ reasoning: "reasoning";
512
+ }>;
513
+ durationMs: z.ZodNumber;
514
+ costUSD: z.ZodNumber;
515
+ inputTokens: z.ZodNumber;
516
+ outputTokens: z.ZodNumber;
517
+ cachedTokens: z.ZodNumber;
518
+ reasoningTokens: z.ZodNumber;
519
+ toolCallCount: z.ZodNumber;
520
+ filesReadCount: z.ZodNumber;
521
+ filesWrittenCount: z.ZodNumber;
522
+ turnCount: z.ZodNumber;
523
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
524
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
525
+ name: z.ZodEnum<{
526
+ spec_review: "spec_review";
527
+ quality_review: "quality_review";
528
+ diff_review: "diff_review";
529
+ }>;
530
+ verdict: z.ZodEnum<{
531
+ error: "error";
532
+ skipped: "skipped";
533
+ approved: "approved";
534
+ concerns: "concerns";
535
+ changes_required: "changes_required";
536
+ annotated: "annotated";
537
+ not_applicable: "not_applicable";
538
+ }>;
539
+ roundsUsed: z.ZodNumber;
540
+ concernCategories: z.ZodArray<z.ZodEnum<{
541
+ other: "other";
542
+ security: "security";
543
+ performance: "performance";
544
+ missing_test: "missing_test";
545
+ scope_creep: "scope_creep";
546
+ incomplete_impl: "incomplete_impl";
547
+ style_lint: "style_lint";
548
+ maintainability: "maintainability";
549
+ doc_gap: "doc_gap";
550
+ }>>;
551
+ findingsBySeverity: z.ZodObject<{
552
+ high: z.ZodNumber;
553
+ medium: z.ZodNumber;
554
+ low: z.ZodNumber;
555
+ style: z.ZodNumber;
554
556
  }, z.core.$strict>;
555
- spec_rework: z.ZodObject<{
556
- entered: z.ZodBoolean;
557
- durationBucket: z.ZodNullable<z.ZodEnum<{
558
- "<10s": "<10s";
559
- "10s-1m": "10s-1m";
560
- "1m-5m": "1m-5m";
561
- "5m-30m": "5m-30m";
562
- "30m+": "30m+";
563
- }>>;
564
- costBucket: z.ZodNullable<z.ZodEnum<{
565
- $0: "$0";
566
- "<$0.01": "<$0.01";
567
- "$0.01-$0.10": "$0.01-$0.10";
568
- "$0.10-$1": "$0.10-$1";
569
- "$1+": "$1+";
570
- }>>;
571
- agentTier: z.ZodNullable<z.ZodEnum<{
557
+ }, z.core.$strict>, z.ZodObject<{
558
+ model: z.ZodString;
559
+ agentTier: z.ZodEnum<{
560
+ standard: "standard";
561
+ reasoning: "reasoning";
562
+ }>;
563
+ durationMs: z.ZodNumber;
564
+ costUSD: z.ZodNumber;
565
+ inputTokens: z.ZodNumber;
566
+ outputTokens: z.ZodNumber;
567
+ cachedTokens: z.ZodNumber;
568
+ reasoningTokens: z.ZodNumber;
569
+ toolCallCount: z.ZodNumber;
570
+ filesReadCount: z.ZodNumber;
571
+ filesWrittenCount: z.ZodNumber;
572
+ turnCount: z.ZodNumber;
573
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
574
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
575
+ name: z.ZodEnum<{
576
+ spec_rework: "spec_rework";
577
+ quality_rework: "quality_rework";
578
+ }>;
579
+ triggeringConcernCategories: z.ZodArray<z.ZodEnum<{
580
+ other: "other";
581
+ security: "security";
582
+ performance: "performance";
583
+ missing_test: "missing_test";
584
+ scope_creep: "scope_creep";
585
+ incomplete_impl: "incomplete_impl";
586
+ style_lint: "style_lint";
587
+ maintainability: "maintainability";
588
+ doc_gap: "doc_gap";
589
+ }>>;
590
+ }, z.core.$strict>, z.ZodObject<{
591
+ model: z.ZodString;
592
+ agentTier: z.ZodEnum<{
593
+ standard: "standard";
594
+ reasoning: "reasoning";
595
+ }>;
596
+ durationMs: z.ZodNumber;
597
+ costUSD: z.ZodNumber;
598
+ inputTokens: z.ZodNumber;
599
+ outputTokens: z.ZodNumber;
600
+ cachedTokens: z.ZodNumber;
601
+ reasoningTokens: z.ZodNumber;
602
+ toolCallCount: z.ZodNumber;
603
+ filesReadCount: z.ZodNumber;
604
+ filesWrittenCount: z.ZodNumber;
605
+ turnCount: z.ZodNumber;
606
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
607
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
608
+ name: z.ZodLiteral<"verifying">;
609
+ outcome: z.ZodEnum<{
610
+ failed: "failed";
611
+ passed: "passed";
612
+ skipped: "skipped";
613
+ not_applicable: "not_applicable";
614
+ }>;
615
+ skipReason: z.ZodNullable<z.ZodEnum<{
616
+ no_command: "no_command";
617
+ other: "other";
618
+ not_applicable: "not_applicable";
619
+ dirty_worktree: "dirty_worktree";
620
+ }>>;
621
+ }, z.core.$strict>, z.ZodObject<{
622
+ model: z.ZodString;
623
+ agentTier: z.ZodEnum<{
624
+ standard: "standard";
625
+ reasoning: "reasoning";
626
+ }>;
627
+ durationMs: z.ZodNumber;
628
+ costUSD: z.ZodNumber;
629
+ inputTokens: z.ZodNumber;
630
+ outputTokens: z.ZodNumber;
631
+ cachedTokens: z.ZodNumber;
632
+ reasoningTokens: z.ZodNumber;
633
+ toolCallCount: z.ZodNumber;
634
+ filesReadCount: z.ZodNumber;
635
+ filesWrittenCount: z.ZodNumber;
636
+ turnCount: z.ZodNumber;
637
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
638
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
639
+ name: z.ZodLiteral<"committing">;
640
+ filesCommittedCount: z.ZodNumber;
641
+ branchCreated: z.ZodBoolean;
642
+ }, z.core.$strict>], "name">>;
643
+ }, z.core.$strict>;
644
+ export declare const UploadBatchSchema: z.ZodObject<{
645
+ schemaVersion: z.ZodLiteral<3>;
646
+ installId: z.ZodString;
647
+ mmagentVersion: z.ZodString;
648
+ os: z.ZodEnum<{
649
+ darwin: "darwin";
650
+ linux: "linux";
651
+ win32: "win32";
652
+ other: "other";
653
+ }>;
654
+ nodeMajor: z.ZodNumber;
655
+ events: z.ZodArray<z.ZodObject<{
656
+ eventId: z.ZodString;
657
+ route: z.ZodEnum<{
658
+ retry: "retry";
659
+ delegate: "delegate";
660
+ audit: "audit";
661
+ review: "review";
662
+ verify: "verify";
663
+ debug: "debug";
664
+ "execute-plan": "execute-plan";
665
+ investigate: "investigate";
666
+ }>;
667
+ client: z.ZodString;
668
+ agentType: z.ZodEnum<{
669
+ standard: "standard";
670
+ complex: "complex";
671
+ }>;
672
+ toolMode: z.ZodEnum<{
673
+ none: "none";
674
+ readonly: "readonly";
675
+ "no-shell": "no-shell";
676
+ full: "full";
677
+ }>;
678
+ capabilities: z.ZodArray<z.ZodEnum<{
679
+ web_search: "web_search";
680
+ web_fetch: "web_fetch";
681
+ other: "other";
682
+ }>>;
683
+ reviewPolicy: z.ZodEnum<{
684
+ none: "none";
685
+ full: "full";
686
+ diff_only: "diff_only";
687
+ quality_only: "quality_only";
688
+ }>;
689
+ verifyCommandPresent: z.ZodBoolean;
690
+ implementerModel: z.ZodString;
691
+ terminalStatus: z.ZodEnum<{
692
+ error: "error";
693
+ ok: "ok";
694
+ incomplete: "incomplete";
695
+ timeout: "timeout";
696
+ brief_too_vague: "brief_too_vague";
697
+ cost_exceeded: "cost_exceeded";
698
+ unavailable: "unavailable";
699
+ }>;
700
+ workerStatus: z.ZodEnum<{
701
+ done: "done";
702
+ done_with_concerns: "done_with_concerns";
703
+ needs_context: "needs_context";
704
+ blocked: "blocked";
705
+ failed: "failed";
706
+ review_loop_aborted: "review_loop_aborted";
707
+ }>;
708
+ errorCode: z.ZodNullable<z.ZodEnum<{
709
+ api_error: "api_error";
710
+ network_error: "network_error";
711
+ other: "other";
712
+ dirty_worktree: "dirty_worktree";
713
+ verify_command_error: "verify_command_error";
714
+ commit_metadata_invalid: "commit_metadata_invalid";
715
+ commit_metadata_repair_modified_files: "commit_metadata_repair_modified_files";
716
+ diff_review_rejected: "diff_review_rejected";
717
+ runner_crash: "runner_crash";
718
+ rate_limit_exceeded: "rate_limit_exceeded";
719
+ executor_error: "executor_error";
720
+ }>>;
721
+ parentModelFamily: z.ZodEnum<{
722
+ claude: "claude";
723
+ openai: "openai";
724
+ gemini: "gemini";
725
+ grok: "grok";
726
+ mistral: "mistral";
727
+ deepseek: "deepseek";
728
+ llama: "llama";
729
+ qwen: "qwen";
730
+ glm: "glm";
731
+ kimi: "kimi";
732
+ cohere: "cohere";
733
+ minimax: "minimax";
734
+ phi: "phi";
735
+ gemma: "gemma";
736
+ yi: "yi";
737
+ sonar: "sonar";
738
+ nova: "nova";
739
+ jamba: "jamba";
740
+ granite: "granite";
741
+ nemotron: "nemotron";
742
+ dbrx: "dbrx";
743
+ arctic: "arctic";
744
+ reka: "reka";
745
+ olmo: "olmo";
746
+ hermes: "hermes";
747
+ wizardlm: "wizardlm";
748
+ starcoder: "starcoder";
749
+ dolphin: "dolphin";
750
+ openchat: "openchat";
751
+ vicuna: "vicuna";
752
+ internlm: "internlm";
753
+ baichuan: "baichuan";
754
+ other: "other";
755
+ }>;
756
+ inputTokens: z.ZodNumber;
757
+ outputTokens: z.ZodNumber;
758
+ cachedTokens: z.ZodNumber;
759
+ reasoningTokens: z.ZodNumber;
760
+ totalDurationMs: z.ZodNumber;
761
+ totalCostUSD: z.ZodNumber;
762
+ totalSavedCostUSD: z.ZodNullable<z.ZodNumber>;
763
+ concernCount: z.ZodNumber;
764
+ escalationCount: z.ZodNumber;
765
+ fallbackCount: z.ZodNumber;
766
+ stallCount: z.ZodNumber;
767
+ taskMaxIdleMs: z.ZodNullable<z.ZodNumber>;
768
+ clarificationRequested: z.ZodBoolean;
769
+ briefQualityWarningCount: z.ZodNumber;
770
+ sandboxViolationCount: z.ZodNumber;
771
+ stages: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
772
+ model: z.ZodString;
773
+ agentTier: z.ZodEnum<{
572
774
  standard: "standard";
573
- complex: "complex";
574
- }>>;
575
- modelFamily: z.ZodNullable<z.ZodEnum<{
576
- claude: "claude";
577
- openai: "openai";
578
- gemini: "gemini";
579
- grok: "grok";
580
- mistral: "mistral";
581
- deepseek: "deepseek";
582
- meta: "meta";
583
- qwen: "qwen";
584
- zhipu: "zhipu";
585
- kimi: "kimi";
586
- minimax: "minimax";
587
- other: "other";
588
- }>>;
589
- model: z.ZodNullable<z.ZodString>;
590
- }, z.core.$strict>;
591
- quality_review: z.ZodObject<{
592
- entered: z.ZodBoolean;
593
- durationBucket: z.ZodNullable<z.ZodEnum<{
594
- "<10s": "<10s";
595
- "10s-1m": "10s-1m";
596
- "1m-5m": "1m-5m";
597
- "5m-30m": "5m-30m";
598
- "30m+": "30m+";
599
- }>>;
600
- costBucket: z.ZodNullable<z.ZodEnum<{
601
- $0: "$0";
602
- "<$0.01": "<$0.01";
603
- "$0.01-$0.10": "$0.01-$0.10";
604
- "$0.10-$1": "$0.10-$1";
605
- "$1+": "$1+";
606
- }>>;
607
- agentTier: z.ZodNullable<z.ZodEnum<{
775
+ reasoning: "reasoning";
776
+ }>;
777
+ durationMs: z.ZodNumber;
778
+ costUSD: z.ZodNumber;
779
+ inputTokens: z.ZodNumber;
780
+ outputTokens: z.ZodNumber;
781
+ cachedTokens: z.ZodNumber;
782
+ reasoningTokens: z.ZodNumber;
783
+ toolCallCount: z.ZodNumber;
784
+ filesReadCount: z.ZodNumber;
785
+ filesWrittenCount: z.ZodNumber;
786
+ turnCount: z.ZodNumber;
787
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
788
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
789
+ name: z.ZodLiteral<"implementing">;
790
+ }, z.core.$strict>, z.ZodObject<{
791
+ model: z.ZodString;
792
+ agentTier: z.ZodEnum<{
608
793
  standard: "standard";
609
- complex: "complex";
610
- }>>;
611
- modelFamily: z.ZodNullable<z.ZodEnum<{
612
- claude: "claude";
613
- openai: "openai";
614
- gemini: "gemini";
615
- grok: "grok";
616
- mistral: "mistral";
617
- deepseek: "deepseek";
618
- meta: "meta";
619
- qwen: "qwen";
620
- zhipu: "zhipu";
621
- kimi: "kimi";
622
- minimax: "minimax";
623
- other: "other";
624
- }>>;
625
- model: z.ZodNullable<z.ZodString>;
626
- verdict: z.ZodNullable<z.ZodEnum<{
794
+ reasoning: "reasoning";
795
+ }>;
796
+ durationMs: z.ZodNumber;
797
+ costUSD: z.ZodNumber;
798
+ inputTokens: z.ZodNumber;
799
+ outputTokens: z.ZodNumber;
800
+ cachedTokens: z.ZodNumber;
801
+ reasoningTokens: z.ZodNumber;
802
+ toolCallCount: z.ZodNumber;
803
+ filesReadCount: z.ZodNumber;
804
+ filesWrittenCount: z.ZodNumber;
805
+ turnCount: z.ZodNumber;
806
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
807
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
808
+ name: z.ZodEnum<{
809
+ spec_review: "spec_review";
810
+ quality_review: "quality_review";
811
+ diff_review: "diff_review";
812
+ }>;
813
+ verdict: z.ZodEnum<{
627
814
  error: "error";
628
815
  skipped: "skipped";
629
816
  approved: "approved";
630
817
  concerns: "concerns";
631
818
  changes_required: "changes_required";
819
+ annotated: "annotated";
632
820
  not_applicable: "not_applicable";
633
- }>>;
634
- roundsUsed: z.ZodNullable<z.ZodEnum<{
635
- 0: "0";
636
- 1: "1";
637
- "2+": "2+";
638
- }>>;
639
- concernCategories: z.ZodNullable<z.ZodArray<z.ZodEnum<{
821
+ }>;
822
+ roundsUsed: z.ZodNumber;
823
+ concernCategories: z.ZodArray<z.ZodEnum<{
640
824
  other: "other";
641
825
  security: "security";
642
826
  performance: "performance";
@@ -646,93 +830,36 @@ export declare const TaskCompletedEvent: z.ZodObject<{
646
830
  style_lint: "style_lint";
647
831
  maintainability: "maintainability";
648
832
  doc_gap: "doc_gap";
649
- }>>>;
650
- }, z.core.$strict>;
651
- quality_rework: z.ZodObject<{
652
- entered: z.ZodBoolean;
653
- durationBucket: z.ZodNullable<z.ZodEnum<{
654
- "<10s": "<10s";
655
- "10s-1m": "10s-1m";
656
- "1m-5m": "1m-5m";
657
- "5m-30m": "5m-30m";
658
- "30m+": "30m+";
659
- }>>;
660
- costBucket: z.ZodNullable<z.ZodEnum<{
661
- $0: "$0";
662
- "<$0.01": "<$0.01";
663
- "$0.01-$0.10": "$0.01-$0.10";
664
- "$0.10-$1": "$0.10-$1";
665
- "$1+": "$1+";
666
- }>>;
667
- agentTier: z.ZodNullable<z.ZodEnum<{
668
- standard: "standard";
669
- complex: "complex";
670
- }>>;
671
- modelFamily: z.ZodNullable<z.ZodEnum<{
672
- claude: "claude";
673
- openai: "openai";
674
- gemini: "gemini";
675
- grok: "grok";
676
- mistral: "mistral";
677
- deepseek: "deepseek";
678
- meta: "meta";
679
- qwen: "qwen";
680
- zhipu: "zhipu";
681
- kimi: "kimi";
682
- minimax: "minimax";
683
- other: "other";
684
833
  }>>;
685
- model: z.ZodNullable<z.ZodString>;
686
- }, z.core.$strict>;
687
- diff_review: z.ZodOptional<z.ZodObject<{
688
- entered: z.ZodBoolean;
689
- durationBucket: z.ZodNullable<z.ZodEnum<{
690
- "<10s": "<10s";
691
- "10s-1m": "10s-1m";
692
- "1m-5m": "1m-5m";
693
- "5m-30m": "5m-30m";
694
- "30m+": "30m+";
695
- }>>;
696
- costBucket: z.ZodNullable<z.ZodEnum<{
697
- $0: "$0";
698
- "<$0.01": "<$0.01";
699
- "$0.01-$0.10": "$0.01-$0.10";
700
- "$0.10-$1": "$0.10-$1";
701
- "$1+": "$1+";
702
- }>>;
703
- agentTier: z.ZodNullable<z.ZodEnum<{
834
+ findingsBySeverity: z.ZodObject<{
835
+ high: z.ZodNumber;
836
+ medium: z.ZodNumber;
837
+ low: z.ZodNumber;
838
+ style: z.ZodNumber;
839
+ }, z.core.$strict>;
840
+ }, z.core.$strict>, z.ZodObject<{
841
+ model: z.ZodString;
842
+ agentTier: z.ZodEnum<{
704
843
  standard: "standard";
705
- complex: "complex";
706
- }>>;
707
- modelFamily: z.ZodNullable<z.ZodEnum<{
708
- claude: "claude";
709
- openai: "openai";
710
- gemini: "gemini";
711
- grok: "grok";
712
- mistral: "mistral";
713
- deepseek: "deepseek";
714
- meta: "meta";
715
- qwen: "qwen";
716
- zhipu: "zhipu";
717
- kimi: "kimi";
718
- minimax: "minimax";
719
- other: "other";
720
- }>>;
721
- model: z.ZodNullable<z.ZodString>;
722
- verdict: z.ZodNullable<z.ZodEnum<{
723
- error: "error";
724
- skipped: "skipped";
725
- approved: "approved";
726
- concerns: "concerns";
727
- changes_required: "changes_required";
728
- not_applicable: "not_applicable";
729
- }>>;
730
- roundsUsed: z.ZodNullable<z.ZodEnum<{
731
- 0: "0";
732
- 1: "1";
733
- "2+": "2+";
734
- }>>;
735
- concernCategories: z.ZodNullable<z.ZodArray<z.ZodEnum<{
844
+ reasoning: "reasoning";
845
+ }>;
846
+ durationMs: z.ZodNumber;
847
+ costUSD: z.ZodNumber;
848
+ inputTokens: z.ZodNumber;
849
+ outputTokens: z.ZodNumber;
850
+ cachedTokens: z.ZodNumber;
851
+ reasoningTokens: z.ZodNumber;
852
+ toolCallCount: z.ZodNumber;
853
+ filesReadCount: z.ZodNumber;
854
+ filesWrittenCount: z.ZodNumber;
855
+ turnCount: z.ZodNumber;
856
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
857
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
858
+ name: z.ZodEnum<{
859
+ spec_rework: "spec_rework";
860
+ quality_rework: "quality_rework";
861
+ }>;
862
+ triggeringConcernCategories: z.ZodArray<z.ZodEnum<{
736
863
  other: "other";
737
864
  security: "security";
738
865
  performance: "performance";
@@ -742,133 +869,64 @@ export declare const TaskCompletedEvent: z.ZodObject<{
742
869
  style_lint: "style_lint";
743
870
  maintainability: "maintainability";
744
871
  doc_gap: "doc_gap";
745
- }>>>;
746
- }, z.core.$strict>>;
747
- committing: z.ZodObject<{
748
- entered: z.ZodBoolean;
749
- durationBucket: z.ZodNullable<z.ZodEnum<{
750
- "<10s": "<10s";
751
- "10s-1m": "10s-1m";
752
- "1m-5m": "1m-5m";
753
- "5m-30m": "5m-30m";
754
- "30m+": "30m+";
755
- }>>;
756
- costBucket: z.ZodNullable<z.ZodEnum<{
757
- $0: "$0";
758
- "<$0.01": "<$0.01";
759
- "$0.01-$0.10": "$0.01-$0.10";
760
- "$0.10-$1": "$0.10-$1";
761
- "$1+": "$1+";
762
872
  }>>;
763
- agentTier: z.ZodNullable<z.ZodEnum<{
873
+ }, z.core.$strict>, z.ZodObject<{
874
+ model: z.ZodString;
875
+ agentTier: z.ZodEnum<{
764
876
  standard: "standard";
765
- complex: "complex";
766
- }>>;
767
- modelFamily: z.ZodNullable<z.ZodEnum<{
768
- claude: "claude";
769
- openai: "openai";
770
- gemini: "gemini";
771
- grok: "grok";
772
- mistral: "mistral";
773
- deepseek: "deepseek";
774
- meta: "meta";
775
- qwen: "qwen";
776
- zhipu: "zhipu";
777
- kimi: "kimi";
778
- minimax: "minimax";
877
+ reasoning: "reasoning";
878
+ }>;
879
+ durationMs: z.ZodNumber;
880
+ costUSD: z.ZodNumber;
881
+ inputTokens: z.ZodNumber;
882
+ outputTokens: z.ZodNumber;
883
+ cachedTokens: z.ZodNumber;
884
+ reasoningTokens: z.ZodNumber;
885
+ toolCallCount: z.ZodNumber;
886
+ filesReadCount: z.ZodNumber;
887
+ filesWrittenCount: z.ZodNumber;
888
+ turnCount: z.ZodNumber;
889
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
890
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
891
+ name: z.ZodLiteral<"verifying">;
892
+ outcome: z.ZodEnum<{
893
+ failed: "failed";
894
+ passed: "passed";
895
+ skipped: "skipped";
896
+ not_applicable: "not_applicable";
897
+ }>;
898
+ skipReason: z.ZodNullable<z.ZodEnum<{
899
+ no_command: "no_command";
779
900
  other: "other";
901
+ not_applicable: "not_applicable";
902
+ dirty_worktree: "dirty_worktree";
780
903
  }>>;
781
- model: z.ZodNullable<z.ZodString>;
782
- }, z.core.$strict>;
783
- }, z.core.$strict>;
784
- filesWrittenBucket: z.ZodEnum<{
785
- 0: "0";
786
- "1-5": "1-5";
787
- "6-20": "6-20";
788
- "21-50": "21-50";
789
- "51+": "51+";
790
- }>;
791
- c2Promoted: z.ZodBoolean;
792
- workerSelfAssessment: z.ZodNullable<z.ZodEnum<{
793
- done: "done";
794
- done_with_concerns: "done_with_concerns";
795
- needs_context: "needs_context";
796
- blocked: "blocked";
797
- failed: "failed";
798
- review_loop_aborted: "review_loop_aborted";
799
- }>>;
800
- concernCount: z.ZodNumber;
801
- escalationCount: z.ZodNumber;
802
- fallbackCount: z.ZodNumber;
803
- turnCountBucket: z.ZodEnum<{
804
- "1-3": "1-3";
805
- "4-10": "4-10";
806
- "11-30": "11-30";
807
- "31+": "31+";
808
- }>;
809
- stallTriggered: z.ZodBoolean;
810
- clarificationRequested: z.ZodBoolean;
811
- parentModelFamily: z.ZodEnum<{
812
- claude: "claude";
813
- openai: "openai";
814
- gemini: "gemini";
815
- grok: "grok";
816
- mistral: "mistral";
817
- deepseek: "deepseek";
818
- meta: "meta";
819
- qwen: "qwen";
820
- zhipu: "zhipu";
821
- kimi: "kimi";
822
- minimax: "minimax";
823
- other: "other";
824
- }>;
825
- briefQualityWarningCount: z.ZodNumber;
826
- }, z.core.$strict>;
827
- export declare const SessionStartedEvent: z.ZodObject<{
828
- type: z.ZodLiteral<"session.started">;
829
- configFlavor: z.ZodObject<{
830
- defaultTier: z.ZodEnum<{
831
- standard: "standard";
832
- complex: "complex";
833
- }>;
834
- diagnosticsEnabled: z.ZodBoolean;
835
- autoUpdateSkills: z.ZodBoolean;
836
- }, z.core.$strict>;
837
- providersConfigured: z.ZodArray<z.ZodEnum<{
838
- claude: "claude";
839
- "openai-compatible": "openai-compatible";
840
- codex: "codex";
841
- }>>;
842
- }, z.core.$strict>;
843
- export declare const InstallChangedEvent: z.ZodObject<{
844
- type: z.ZodLiteral<"install.changed">;
845
- fromVersion: z.ZodNullable<z.ZodString>;
846
- toVersion: z.ZodString;
847
- trigger: z.ZodEnum<{
848
- fresh_install: "fresh_install";
849
- upgrade: "upgrade";
850
- downgrade: "downgrade";
851
- }>;
852
- }, z.core.$strict>;
853
- export declare const SkillInstalledEvent: z.ZodObject<{
854
- type: z.ZodLiteral<"skill.installed">;
855
- skill: z.ZodEnum<{
856
- other: "other";
857
- "mma-delegate": "mma-delegate";
858
- "mma-audit": "mma-audit";
859
- "mma-review": "mma-review";
860
- "mma-verify": "mma-verify";
861
- "mma-debug": "mma-debug";
862
- "mma-execute-plan": "mma-execute-plan";
863
- "mma-retry": "mma-retry";
864
- "mma-investigate": "mma-investigate";
865
- "mma-context-blocks": "mma-context-blocks";
866
- "mma-clarifications": "mma-clarifications";
867
- }>;
868
- client: z.ZodString;
904
+ }, z.core.$strict>, z.ZodObject<{
905
+ model: z.ZodString;
906
+ agentTier: z.ZodEnum<{
907
+ standard: "standard";
908
+ reasoning: "reasoning";
909
+ }>;
910
+ durationMs: z.ZodNumber;
911
+ costUSD: z.ZodNumber;
912
+ inputTokens: z.ZodNumber;
913
+ outputTokens: z.ZodNumber;
914
+ cachedTokens: z.ZodNumber;
915
+ reasoningTokens: z.ZodNumber;
916
+ toolCallCount: z.ZodNumber;
917
+ filesReadCount: z.ZodNumber;
918
+ filesWrittenCount: z.ZodNumber;
919
+ turnCount: z.ZodNumber;
920
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
921
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
922
+ name: z.ZodLiteral<"committing">;
923
+ filesCommittedCount: z.ZodNumber;
924
+ branchCreated: z.ZodBoolean;
925
+ }, z.core.$strict>], "name">>;
926
+ }, z.core.$strict>>;
869
927
  }, z.core.$strict>;
870
- export declare const TelemetryEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
871
- type: z.ZodLiteral<"task.completed">;
928
+ export declare const ValidatedTaskCompletedEventSchema: z.ZodObject<{
929
+ eventId: z.ZodString;
872
930
  route: z.ZodEnum<{
873
931
  retry: "retry";
874
932
  delegate: "delegate";
@@ -877,66 +935,31 @@ export declare const TelemetryEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
877
935
  verify: "verify";
878
936
  debug: "debug";
879
937
  "execute-plan": "execute-plan";
938
+ investigate: "investigate";
880
939
  }>;
940
+ client: z.ZodString;
881
941
  agentType: z.ZodEnum<{
882
942
  standard: "standard";
883
943
  complex: "complex";
884
944
  }>;
885
- capabilities: z.ZodArray<z.ZodEnum<{
886
- web_search: "web_search";
887
- web_fetch: "web_fetch";
888
- other: "other";
889
- }>>;
890
945
  toolMode: z.ZodEnum<{
891
946
  none: "none";
892
947
  readonly: "readonly";
893
948
  "no-shell": "no-shell";
894
949
  full: "full";
895
950
  }>;
896
- triggeredFromSkill: z.ZodString;
897
- client: z.ZodString;
898
- fileCountBucket: z.ZodEnum<{
899
- 0: "0";
900
- "1-5": "1-5";
901
- "6-20": "6-20";
902
- "21-50": "21-50";
903
- "51+": "51+";
904
- }>;
905
- durationBucket: z.ZodEnum<{
906
- "<10s": "<10s";
907
- "10s-1m": "10s-1m";
908
- "1m-5m": "1m-5m";
909
- "5m-30m": "5m-30m";
910
- "30m+": "30m+";
911
- }>;
912
- costBucket: z.ZodEnum<{
913
- $0: "$0";
914
- "<$0.01": "<$0.01";
915
- "$0.01-$0.10": "$0.01-$0.10";
916
- "$0.10-$1": "$0.10-$1";
917
- "$1+": "$1+";
918
- }>;
919
- savedCostBucket: z.ZodEnum<{
920
- unknown: "unknown";
921
- $0: "$0";
922
- "$0.10-$1": "$0.10-$1";
923
- "$1+": "$1+";
924
- "<$0.10": "<$0.10";
925
- }>;
926
- implementerModelFamily: z.ZodEnum<{
927
- claude: "claude";
928
- openai: "openai";
929
- gemini: "gemini";
930
- grok: "grok";
931
- mistral: "mistral";
932
- deepseek: "deepseek";
933
- meta: "meta";
934
- qwen: "qwen";
935
- zhipu: "zhipu";
936
- kimi: "kimi";
937
- minimax: "minimax";
951
+ capabilities: z.ZodArray<z.ZodEnum<{
952
+ web_search: "web_search";
953
+ web_fetch: "web_fetch";
938
954
  other: "other";
955
+ }>>;
956
+ reviewPolicy: z.ZodEnum<{
957
+ none: "none";
958
+ full: "full";
959
+ diff_only: "diff_only";
960
+ quality_only: "quality_only";
939
961
  }>;
962
+ verifyCommandPresent: z.ZodBoolean;
940
963
  implementerModel: z.ZodString;
941
964
  terminalStatus: z.ZodEnum<{
942
965
  error: "error";
@@ -958,8 +981,8 @@ export declare const TelemetryEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
958
981
  errorCode: z.ZodNullable<z.ZodEnum<{
959
982
  api_error: "api_error";
960
983
  network_error: "network_error";
961
- dirty_worktree: "dirty_worktree";
962
984
  other: "other";
985
+ dirty_worktree: "dirty_worktree";
963
986
  verify_command_error: "verify_command_error";
964
987
  commit_metadata_invalid: "commit_metadata_invalid";
965
988
  commit_metadata_repair_modified_files: "commit_metadata_repair_modified_files";
@@ -968,410 +991,6 @@ export declare const TelemetryEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
968
991
  rate_limit_exceeded: "rate_limit_exceeded";
969
992
  executor_error: "executor_error";
970
993
  }>>;
971
- escalated: z.ZodBoolean;
972
- fallbackTriggered: z.ZodBoolean;
973
- topToolNames: z.ZodArray<z.ZodString>;
974
- stages: z.ZodObject<{
975
- implementing: z.ZodObject<{
976
- entered: z.ZodBoolean;
977
- durationBucket: z.ZodNullable<z.ZodEnum<{
978
- "<10s": "<10s";
979
- "10s-1m": "10s-1m";
980
- "1m-5m": "1m-5m";
981
- "5m-30m": "5m-30m";
982
- "30m+": "30m+";
983
- }>>;
984
- costBucket: z.ZodNullable<z.ZodEnum<{
985
- $0: "$0";
986
- "<$0.01": "<$0.01";
987
- "$0.01-$0.10": "$0.01-$0.10";
988
- "$0.10-$1": "$0.10-$1";
989
- "$1+": "$1+";
990
- }>>;
991
- agentTier: z.ZodNullable<z.ZodEnum<{
992
- standard: "standard";
993
- complex: "complex";
994
- }>>;
995
- modelFamily: z.ZodNullable<z.ZodEnum<{
996
- claude: "claude";
997
- openai: "openai";
998
- gemini: "gemini";
999
- grok: "grok";
1000
- mistral: "mistral";
1001
- deepseek: "deepseek";
1002
- meta: "meta";
1003
- qwen: "qwen";
1004
- zhipu: "zhipu";
1005
- kimi: "kimi";
1006
- minimax: "minimax";
1007
- other: "other";
1008
- }>>;
1009
- model: z.ZodNullable<z.ZodString>;
1010
- }, z.core.$strict>;
1011
- verifying: z.ZodObject<{
1012
- entered: z.ZodBoolean;
1013
- durationBucket: z.ZodNullable<z.ZodEnum<{
1014
- "<10s": "<10s";
1015
- "10s-1m": "10s-1m";
1016
- "1m-5m": "1m-5m";
1017
- "5m-30m": "5m-30m";
1018
- "30m+": "30m+";
1019
- }>>;
1020
- costBucket: z.ZodNullable<z.ZodEnum<{
1021
- $0: "$0";
1022
- "<$0.01": "<$0.01";
1023
- "$0.01-$0.10": "$0.01-$0.10";
1024
- "$0.10-$1": "$0.10-$1";
1025
- "$1+": "$1+";
1026
- }>>;
1027
- agentTier: z.ZodNullable<z.ZodEnum<{
1028
- standard: "standard";
1029
- complex: "complex";
1030
- }>>;
1031
- modelFamily: z.ZodNullable<z.ZodEnum<{
1032
- claude: "claude";
1033
- openai: "openai";
1034
- gemini: "gemini";
1035
- grok: "grok";
1036
- mistral: "mistral";
1037
- deepseek: "deepseek";
1038
- meta: "meta";
1039
- qwen: "qwen";
1040
- zhipu: "zhipu";
1041
- kimi: "kimi";
1042
- minimax: "minimax";
1043
- other: "other";
1044
- }>>;
1045
- model: z.ZodNullable<z.ZodString>;
1046
- outcome: z.ZodNullable<z.ZodEnum<{
1047
- failed: "failed";
1048
- passed: "passed";
1049
- skipped: "skipped";
1050
- not_applicable: "not_applicable";
1051
- }>>;
1052
- skipReason: z.ZodNullable<z.ZodEnum<{
1053
- no_command: "no_command";
1054
- not_applicable: "not_applicable";
1055
- dirty_worktree: "dirty_worktree";
1056
- other: "other";
1057
- }>>;
1058
- }, z.core.$strict>;
1059
- spec_review: z.ZodObject<{
1060
- entered: z.ZodBoolean;
1061
- durationBucket: z.ZodNullable<z.ZodEnum<{
1062
- "<10s": "<10s";
1063
- "10s-1m": "10s-1m";
1064
- "1m-5m": "1m-5m";
1065
- "5m-30m": "5m-30m";
1066
- "30m+": "30m+";
1067
- }>>;
1068
- costBucket: z.ZodNullable<z.ZodEnum<{
1069
- $0: "$0";
1070
- "<$0.01": "<$0.01";
1071
- "$0.01-$0.10": "$0.01-$0.10";
1072
- "$0.10-$1": "$0.10-$1";
1073
- "$1+": "$1+";
1074
- }>>;
1075
- agentTier: z.ZodNullable<z.ZodEnum<{
1076
- standard: "standard";
1077
- complex: "complex";
1078
- }>>;
1079
- modelFamily: z.ZodNullable<z.ZodEnum<{
1080
- claude: "claude";
1081
- openai: "openai";
1082
- gemini: "gemini";
1083
- grok: "grok";
1084
- mistral: "mistral";
1085
- deepseek: "deepseek";
1086
- meta: "meta";
1087
- qwen: "qwen";
1088
- zhipu: "zhipu";
1089
- kimi: "kimi";
1090
- minimax: "minimax";
1091
- other: "other";
1092
- }>>;
1093
- model: z.ZodNullable<z.ZodString>;
1094
- verdict: z.ZodNullable<z.ZodEnum<{
1095
- error: "error";
1096
- skipped: "skipped";
1097
- approved: "approved";
1098
- concerns: "concerns";
1099
- changes_required: "changes_required";
1100
- not_applicable: "not_applicable";
1101
- }>>;
1102
- roundsUsed: z.ZodNullable<z.ZodEnum<{
1103
- 0: "0";
1104
- 1: "1";
1105
- "2+": "2+";
1106
- }>>;
1107
- concernCategories: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1108
- other: "other";
1109
- security: "security";
1110
- performance: "performance";
1111
- missing_test: "missing_test";
1112
- scope_creep: "scope_creep";
1113
- incomplete_impl: "incomplete_impl";
1114
- style_lint: "style_lint";
1115
- maintainability: "maintainability";
1116
- doc_gap: "doc_gap";
1117
- }>>>;
1118
- }, z.core.$strict>;
1119
- spec_rework: z.ZodObject<{
1120
- entered: z.ZodBoolean;
1121
- durationBucket: z.ZodNullable<z.ZodEnum<{
1122
- "<10s": "<10s";
1123
- "10s-1m": "10s-1m";
1124
- "1m-5m": "1m-5m";
1125
- "5m-30m": "5m-30m";
1126
- "30m+": "30m+";
1127
- }>>;
1128
- costBucket: z.ZodNullable<z.ZodEnum<{
1129
- $0: "$0";
1130
- "<$0.01": "<$0.01";
1131
- "$0.01-$0.10": "$0.01-$0.10";
1132
- "$0.10-$1": "$0.10-$1";
1133
- "$1+": "$1+";
1134
- }>>;
1135
- agentTier: z.ZodNullable<z.ZodEnum<{
1136
- standard: "standard";
1137
- complex: "complex";
1138
- }>>;
1139
- modelFamily: z.ZodNullable<z.ZodEnum<{
1140
- claude: "claude";
1141
- openai: "openai";
1142
- gemini: "gemini";
1143
- grok: "grok";
1144
- mistral: "mistral";
1145
- deepseek: "deepseek";
1146
- meta: "meta";
1147
- qwen: "qwen";
1148
- zhipu: "zhipu";
1149
- kimi: "kimi";
1150
- minimax: "minimax";
1151
- other: "other";
1152
- }>>;
1153
- model: z.ZodNullable<z.ZodString>;
1154
- }, z.core.$strict>;
1155
- quality_review: z.ZodObject<{
1156
- entered: z.ZodBoolean;
1157
- durationBucket: z.ZodNullable<z.ZodEnum<{
1158
- "<10s": "<10s";
1159
- "10s-1m": "10s-1m";
1160
- "1m-5m": "1m-5m";
1161
- "5m-30m": "5m-30m";
1162
- "30m+": "30m+";
1163
- }>>;
1164
- costBucket: z.ZodNullable<z.ZodEnum<{
1165
- $0: "$0";
1166
- "<$0.01": "<$0.01";
1167
- "$0.01-$0.10": "$0.01-$0.10";
1168
- "$0.10-$1": "$0.10-$1";
1169
- "$1+": "$1+";
1170
- }>>;
1171
- agentTier: z.ZodNullable<z.ZodEnum<{
1172
- standard: "standard";
1173
- complex: "complex";
1174
- }>>;
1175
- modelFamily: z.ZodNullable<z.ZodEnum<{
1176
- claude: "claude";
1177
- openai: "openai";
1178
- gemini: "gemini";
1179
- grok: "grok";
1180
- mistral: "mistral";
1181
- deepseek: "deepseek";
1182
- meta: "meta";
1183
- qwen: "qwen";
1184
- zhipu: "zhipu";
1185
- kimi: "kimi";
1186
- minimax: "minimax";
1187
- other: "other";
1188
- }>>;
1189
- model: z.ZodNullable<z.ZodString>;
1190
- verdict: z.ZodNullable<z.ZodEnum<{
1191
- error: "error";
1192
- skipped: "skipped";
1193
- approved: "approved";
1194
- concerns: "concerns";
1195
- changes_required: "changes_required";
1196
- not_applicable: "not_applicable";
1197
- }>>;
1198
- roundsUsed: z.ZodNullable<z.ZodEnum<{
1199
- 0: "0";
1200
- 1: "1";
1201
- "2+": "2+";
1202
- }>>;
1203
- concernCategories: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1204
- other: "other";
1205
- security: "security";
1206
- performance: "performance";
1207
- missing_test: "missing_test";
1208
- scope_creep: "scope_creep";
1209
- incomplete_impl: "incomplete_impl";
1210
- style_lint: "style_lint";
1211
- maintainability: "maintainability";
1212
- doc_gap: "doc_gap";
1213
- }>>>;
1214
- }, z.core.$strict>;
1215
- quality_rework: z.ZodObject<{
1216
- entered: z.ZodBoolean;
1217
- durationBucket: z.ZodNullable<z.ZodEnum<{
1218
- "<10s": "<10s";
1219
- "10s-1m": "10s-1m";
1220
- "1m-5m": "1m-5m";
1221
- "5m-30m": "5m-30m";
1222
- "30m+": "30m+";
1223
- }>>;
1224
- costBucket: z.ZodNullable<z.ZodEnum<{
1225
- $0: "$0";
1226
- "<$0.01": "<$0.01";
1227
- "$0.01-$0.10": "$0.01-$0.10";
1228
- "$0.10-$1": "$0.10-$1";
1229
- "$1+": "$1+";
1230
- }>>;
1231
- agentTier: z.ZodNullable<z.ZodEnum<{
1232
- standard: "standard";
1233
- complex: "complex";
1234
- }>>;
1235
- modelFamily: z.ZodNullable<z.ZodEnum<{
1236
- claude: "claude";
1237
- openai: "openai";
1238
- gemini: "gemini";
1239
- grok: "grok";
1240
- mistral: "mistral";
1241
- deepseek: "deepseek";
1242
- meta: "meta";
1243
- qwen: "qwen";
1244
- zhipu: "zhipu";
1245
- kimi: "kimi";
1246
- minimax: "minimax";
1247
- other: "other";
1248
- }>>;
1249
- model: z.ZodNullable<z.ZodString>;
1250
- }, z.core.$strict>;
1251
- diff_review: z.ZodOptional<z.ZodObject<{
1252
- entered: z.ZodBoolean;
1253
- durationBucket: z.ZodNullable<z.ZodEnum<{
1254
- "<10s": "<10s";
1255
- "10s-1m": "10s-1m";
1256
- "1m-5m": "1m-5m";
1257
- "5m-30m": "5m-30m";
1258
- "30m+": "30m+";
1259
- }>>;
1260
- costBucket: z.ZodNullable<z.ZodEnum<{
1261
- $0: "$0";
1262
- "<$0.01": "<$0.01";
1263
- "$0.01-$0.10": "$0.01-$0.10";
1264
- "$0.10-$1": "$0.10-$1";
1265
- "$1+": "$1+";
1266
- }>>;
1267
- agentTier: z.ZodNullable<z.ZodEnum<{
1268
- standard: "standard";
1269
- complex: "complex";
1270
- }>>;
1271
- modelFamily: z.ZodNullable<z.ZodEnum<{
1272
- claude: "claude";
1273
- openai: "openai";
1274
- gemini: "gemini";
1275
- grok: "grok";
1276
- mistral: "mistral";
1277
- deepseek: "deepseek";
1278
- meta: "meta";
1279
- qwen: "qwen";
1280
- zhipu: "zhipu";
1281
- kimi: "kimi";
1282
- minimax: "minimax";
1283
- other: "other";
1284
- }>>;
1285
- model: z.ZodNullable<z.ZodString>;
1286
- verdict: z.ZodNullable<z.ZodEnum<{
1287
- error: "error";
1288
- skipped: "skipped";
1289
- approved: "approved";
1290
- concerns: "concerns";
1291
- changes_required: "changes_required";
1292
- not_applicable: "not_applicable";
1293
- }>>;
1294
- roundsUsed: z.ZodNullable<z.ZodEnum<{
1295
- 0: "0";
1296
- 1: "1";
1297
- "2+": "2+";
1298
- }>>;
1299
- concernCategories: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1300
- other: "other";
1301
- security: "security";
1302
- performance: "performance";
1303
- missing_test: "missing_test";
1304
- scope_creep: "scope_creep";
1305
- incomplete_impl: "incomplete_impl";
1306
- style_lint: "style_lint";
1307
- maintainability: "maintainability";
1308
- doc_gap: "doc_gap";
1309
- }>>>;
1310
- }, z.core.$strict>>;
1311
- committing: z.ZodObject<{
1312
- entered: z.ZodBoolean;
1313
- durationBucket: z.ZodNullable<z.ZodEnum<{
1314
- "<10s": "<10s";
1315
- "10s-1m": "10s-1m";
1316
- "1m-5m": "1m-5m";
1317
- "5m-30m": "5m-30m";
1318
- "30m+": "30m+";
1319
- }>>;
1320
- costBucket: z.ZodNullable<z.ZodEnum<{
1321
- $0: "$0";
1322
- "<$0.01": "<$0.01";
1323
- "$0.01-$0.10": "$0.01-$0.10";
1324
- "$0.10-$1": "$0.10-$1";
1325
- "$1+": "$1+";
1326
- }>>;
1327
- agentTier: z.ZodNullable<z.ZodEnum<{
1328
- standard: "standard";
1329
- complex: "complex";
1330
- }>>;
1331
- modelFamily: z.ZodNullable<z.ZodEnum<{
1332
- claude: "claude";
1333
- openai: "openai";
1334
- gemini: "gemini";
1335
- grok: "grok";
1336
- mistral: "mistral";
1337
- deepseek: "deepseek";
1338
- meta: "meta";
1339
- qwen: "qwen";
1340
- zhipu: "zhipu";
1341
- kimi: "kimi";
1342
- minimax: "minimax";
1343
- other: "other";
1344
- }>>;
1345
- model: z.ZodNullable<z.ZodString>;
1346
- }, z.core.$strict>;
1347
- }, z.core.$strict>;
1348
- filesWrittenBucket: z.ZodEnum<{
1349
- 0: "0";
1350
- "1-5": "1-5";
1351
- "6-20": "6-20";
1352
- "21-50": "21-50";
1353
- "51+": "51+";
1354
- }>;
1355
- c2Promoted: z.ZodBoolean;
1356
- workerSelfAssessment: z.ZodNullable<z.ZodEnum<{
1357
- done: "done";
1358
- done_with_concerns: "done_with_concerns";
1359
- needs_context: "needs_context";
1360
- blocked: "blocked";
1361
- failed: "failed";
1362
- review_loop_aborted: "review_loop_aborted";
1363
- }>>;
1364
- concernCount: z.ZodNumber;
1365
- escalationCount: z.ZodNumber;
1366
- fallbackCount: z.ZodNumber;
1367
- turnCountBucket: z.ZodEnum<{
1368
- "1-3": "1-3";
1369
- "4-10": "4-10";
1370
- "11-30": "11-30";
1371
- "31+": "31+";
1372
- }>;
1373
- stallTriggered: z.ZodBoolean;
1374
- clarificationRequested: z.ZodBoolean;
1375
994
  parentModelFamily: z.ZodEnum<{
1376
995
  claude: "claude";
1377
996
  openai: "openai";
@@ -1379,676 +998,210 @@ export declare const TelemetryEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
1379
998
  grok: "grok";
1380
999
  mistral: "mistral";
1381
1000
  deepseek: "deepseek";
1382
- meta: "meta";
1001
+ llama: "llama";
1383
1002
  qwen: "qwen";
1384
- zhipu: "zhipu";
1003
+ glm: "glm";
1385
1004
  kimi: "kimi";
1005
+ cohere: "cohere";
1386
1006
  minimax: "minimax";
1007
+ phi: "phi";
1008
+ gemma: "gemma";
1009
+ yi: "yi";
1010
+ sonar: "sonar";
1011
+ nova: "nova";
1012
+ jamba: "jamba";
1013
+ granite: "granite";
1014
+ nemotron: "nemotron";
1015
+ dbrx: "dbrx";
1016
+ arctic: "arctic";
1017
+ reka: "reka";
1018
+ olmo: "olmo";
1019
+ hermes: "hermes";
1020
+ wizardlm: "wizardlm";
1021
+ starcoder: "starcoder";
1022
+ dolphin: "dolphin";
1023
+ openchat: "openchat";
1024
+ vicuna: "vicuna";
1025
+ internlm: "internlm";
1026
+ baichuan: "baichuan";
1387
1027
  other: "other";
1388
1028
  }>;
1029
+ inputTokens: z.ZodNumber;
1030
+ outputTokens: z.ZodNumber;
1031
+ cachedTokens: z.ZodNumber;
1032
+ reasoningTokens: z.ZodNumber;
1033
+ totalDurationMs: z.ZodNumber;
1034
+ totalCostUSD: z.ZodNumber;
1035
+ totalSavedCostUSD: z.ZodNullable<z.ZodNumber>;
1036
+ concernCount: z.ZodNumber;
1037
+ escalationCount: z.ZodNumber;
1038
+ fallbackCount: z.ZodNumber;
1039
+ stallCount: z.ZodNumber;
1040
+ taskMaxIdleMs: z.ZodNullable<z.ZodNumber>;
1041
+ clarificationRequested: z.ZodBoolean;
1389
1042
  briefQualityWarningCount: z.ZodNumber;
1390
- eventId: z.ZodString;
1391
- }, z.core.$strict>, z.ZodObject<{
1392
- type: z.ZodLiteral<"session.started">;
1393
- configFlavor: z.ZodObject<{
1394
- defaultTier: z.ZodEnum<{
1043
+ sandboxViolationCount: z.ZodNumber;
1044
+ stages: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1045
+ model: z.ZodString;
1046
+ agentTier: z.ZodEnum<{
1395
1047
  standard: "standard";
1396
- complex: "complex";
1397
- }>;
1398
- diagnosticsEnabled: z.ZodBoolean;
1399
- autoUpdateSkills: z.ZodBoolean;
1400
- }, z.core.$strict>;
1401
- providersConfigured: z.ZodArray<z.ZodEnum<{
1402
- claude: "claude";
1403
- "openai-compatible": "openai-compatible";
1404
- codex: "codex";
1405
- }>>;
1406
- eventId: z.ZodString;
1407
- }, z.core.$strict>, z.ZodObject<{
1408
- type: z.ZodLiteral<"install.changed">;
1409
- fromVersion: z.ZodNullable<z.ZodString>;
1410
- toVersion: z.ZodString;
1411
- trigger: z.ZodEnum<{
1412
- fresh_install: "fresh_install";
1413
- upgrade: "upgrade";
1414
- downgrade: "downgrade";
1415
- }>;
1416
- eventId: z.ZodString;
1417
- }, z.core.$strict>, z.ZodObject<{
1418
- type: z.ZodLiteral<"skill.installed">;
1419
- skill: z.ZodEnum<{
1420
- other: "other";
1421
- "mma-delegate": "mma-delegate";
1422
- "mma-audit": "mma-audit";
1423
- "mma-review": "mma-review";
1424
- "mma-verify": "mma-verify";
1425
- "mma-debug": "mma-debug";
1426
- "mma-execute-plan": "mma-execute-plan";
1427
- "mma-retry": "mma-retry";
1428
- "mma-investigate": "mma-investigate";
1429
- "mma-context-blocks": "mma-context-blocks";
1430
- "mma-clarifications": "mma-clarifications";
1431
- }>;
1432
- client: z.ZodString;
1433
- eventId: z.ZodString;
1434
- }, z.core.$strict>], "type">;
1435
- export declare const UploadBatch: z.ZodObject<{
1436
- schemaVersion: z.ZodLiteral<2>;
1437
- install: z.ZodObject<{
1438
- installId: z.ZodString;
1439
- mmagentVersion: z.ZodString;
1440
- os: z.ZodEnum<{
1441
- darwin: "darwin";
1442
- linux: "linux";
1443
- win32: "win32";
1444
- other: "other";
1445
- }>;
1446
- nodeMajor: z.ZodString;
1447
- language: z.ZodEnum<{
1448
- id: "id";
1449
- other: "other";
1450
- en: "en";
1451
- es: "es";
1452
- fr: "fr";
1453
- de: "de";
1454
- zh: "zh";
1455
- ja: "ja";
1456
- ko: "ko";
1457
- pt: "pt";
1458
- ru: "ru";
1459
- it: "it";
1460
- tr: "tr";
1461
- ar: "ar";
1462
- hi: "hi";
1463
- vi: "vi";
1464
- th: "th";
1465
- pl: "pl";
1466
- nl: "nl";
1467
- sv: "sv";
1468
- }>;
1469
- tzOffsetBucket: z.ZodEnum<{
1470
- utc_minus_12_to_minus_6: "utc_minus_12_to_minus_6";
1471
- utc_minus_6_to_0: "utc_minus_6_to_0";
1472
- utc_0_to_plus_6: "utc_0_to_plus_6";
1473
- utc_plus_6_to_plus_12: "utc_plus_6_to_plus_12";
1474
- utc_plus_12_to_plus_15: "utc_plus_12_to_plus_15";
1048
+ reasoning: "reasoning";
1475
1049
  }>;
1476
- }, z.core.$strict>;
1477
- events: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1478
- type: z.ZodLiteral<"task.completed">;
1479
- route: z.ZodEnum<{
1480
- retry: "retry";
1481
- delegate: "delegate";
1482
- audit: "audit";
1483
- review: "review";
1484
- verify: "verify";
1485
- debug: "debug";
1486
- "execute-plan": "execute-plan";
1487
- }>;
1488
- agentType: z.ZodEnum<{
1050
+ durationMs: z.ZodNumber;
1051
+ costUSD: z.ZodNumber;
1052
+ inputTokens: z.ZodNumber;
1053
+ outputTokens: z.ZodNumber;
1054
+ cachedTokens: z.ZodNumber;
1055
+ reasoningTokens: z.ZodNumber;
1056
+ toolCallCount: z.ZodNumber;
1057
+ filesReadCount: z.ZodNumber;
1058
+ filesWrittenCount: z.ZodNumber;
1059
+ turnCount: z.ZodNumber;
1060
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
1061
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
1062
+ name: z.ZodLiteral<"implementing">;
1063
+ }, z.core.$strict>, z.ZodObject<{
1064
+ model: z.ZodString;
1065
+ agentTier: z.ZodEnum<{
1489
1066
  standard: "standard";
1490
- complex: "complex";
1491
- }>;
1492
- capabilities: z.ZodArray<z.ZodEnum<{
1493
- web_search: "web_search";
1494
- web_fetch: "web_fetch";
1495
- other: "other";
1496
- }>>;
1497
- toolMode: z.ZodEnum<{
1498
- none: "none";
1499
- readonly: "readonly";
1500
- "no-shell": "no-shell";
1501
- full: "full";
1502
- }>;
1503
- triggeredFromSkill: z.ZodString;
1504
- client: z.ZodString;
1505
- fileCountBucket: z.ZodEnum<{
1506
- 0: "0";
1507
- "1-5": "1-5";
1508
- "6-20": "6-20";
1509
- "21-50": "21-50";
1510
- "51+": "51+";
1511
- }>;
1512
- durationBucket: z.ZodEnum<{
1513
- "<10s": "<10s";
1514
- "10s-1m": "10s-1m";
1515
- "1m-5m": "1m-5m";
1516
- "5m-30m": "5m-30m";
1517
- "30m+": "30m+";
1067
+ reasoning: "reasoning";
1518
1068
  }>;
1519
- costBucket: z.ZodEnum<{
1520
- $0: "$0";
1521
- "<$0.01": "<$0.01";
1522
- "$0.01-$0.10": "$0.01-$0.10";
1523
- "$0.10-$1": "$0.10-$1";
1524
- "$1+": "$1+";
1525
- }>;
1526
- savedCostBucket: z.ZodEnum<{
1527
- unknown: "unknown";
1528
- $0: "$0";
1529
- "$0.10-$1": "$0.10-$1";
1530
- "$1+": "$1+";
1531
- "<$0.10": "<$0.10";
1532
- }>;
1533
- implementerModelFamily: z.ZodEnum<{
1534
- claude: "claude";
1535
- openai: "openai";
1536
- gemini: "gemini";
1537
- grok: "grok";
1538
- mistral: "mistral";
1539
- deepseek: "deepseek";
1540
- meta: "meta";
1541
- qwen: "qwen";
1542
- zhipu: "zhipu";
1543
- kimi: "kimi";
1544
- minimax: "minimax";
1545
- other: "other";
1069
+ durationMs: z.ZodNumber;
1070
+ costUSD: z.ZodNumber;
1071
+ inputTokens: z.ZodNumber;
1072
+ outputTokens: z.ZodNumber;
1073
+ cachedTokens: z.ZodNumber;
1074
+ reasoningTokens: z.ZodNumber;
1075
+ toolCallCount: z.ZodNumber;
1076
+ filesReadCount: z.ZodNumber;
1077
+ filesWrittenCount: z.ZodNumber;
1078
+ turnCount: z.ZodNumber;
1079
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
1080
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
1081
+ name: z.ZodEnum<{
1082
+ spec_review: "spec_review";
1083
+ quality_review: "quality_review";
1084
+ diff_review: "diff_review";
1546
1085
  }>;
1547
- implementerModel: z.ZodString;
1548
- terminalStatus: z.ZodEnum<{
1086
+ verdict: z.ZodEnum<{
1549
1087
  error: "error";
1550
- ok: "ok";
1551
- incomplete: "incomplete";
1552
- timeout: "timeout";
1553
- brief_too_vague: "brief_too_vague";
1554
- cost_exceeded: "cost_exceeded";
1555
- unavailable: "unavailable";
1556
- }>;
1557
- workerStatus: z.ZodEnum<{
1558
- done: "done";
1559
- done_with_concerns: "done_with_concerns";
1560
- needs_context: "needs_context";
1561
- blocked: "blocked";
1562
- failed: "failed";
1563
- review_loop_aborted: "review_loop_aborted";
1088
+ skipped: "skipped";
1089
+ approved: "approved";
1090
+ concerns: "concerns";
1091
+ changes_required: "changes_required";
1092
+ annotated: "annotated";
1093
+ not_applicable: "not_applicable";
1564
1094
  }>;
1565
- errorCode: z.ZodNullable<z.ZodEnum<{
1566
- api_error: "api_error";
1567
- network_error: "network_error";
1568
- dirty_worktree: "dirty_worktree";
1095
+ roundsUsed: z.ZodNumber;
1096
+ concernCategories: z.ZodArray<z.ZodEnum<{
1569
1097
  other: "other";
1570
- verify_command_error: "verify_command_error";
1571
- commit_metadata_invalid: "commit_metadata_invalid";
1572
- commit_metadata_repair_modified_files: "commit_metadata_repair_modified_files";
1573
- diff_review_rejected: "diff_review_rejected";
1574
- runner_crash: "runner_crash";
1575
- rate_limit_exceeded: "rate_limit_exceeded";
1576
- executor_error: "executor_error";
1098
+ security: "security";
1099
+ performance: "performance";
1100
+ missing_test: "missing_test";
1101
+ scope_creep: "scope_creep";
1102
+ incomplete_impl: "incomplete_impl";
1103
+ style_lint: "style_lint";
1104
+ maintainability: "maintainability";
1105
+ doc_gap: "doc_gap";
1577
1106
  }>>;
1578
- escalated: z.ZodBoolean;
1579
- fallbackTriggered: z.ZodBoolean;
1580
- topToolNames: z.ZodArray<z.ZodString>;
1581
- stages: z.ZodObject<{
1582
- implementing: z.ZodObject<{
1583
- entered: z.ZodBoolean;
1584
- durationBucket: z.ZodNullable<z.ZodEnum<{
1585
- "<10s": "<10s";
1586
- "10s-1m": "10s-1m";
1587
- "1m-5m": "1m-5m";
1588
- "5m-30m": "5m-30m";
1589
- "30m+": "30m+";
1590
- }>>;
1591
- costBucket: z.ZodNullable<z.ZodEnum<{
1592
- $0: "$0";
1593
- "<$0.01": "<$0.01";
1594
- "$0.01-$0.10": "$0.01-$0.10";
1595
- "$0.10-$1": "$0.10-$1";
1596
- "$1+": "$1+";
1597
- }>>;
1598
- agentTier: z.ZodNullable<z.ZodEnum<{
1599
- standard: "standard";
1600
- complex: "complex";
1601
- }>>;
1602
- modelFamily: z.ZodNullable<z.ZodEnum<{
1603
- claude: "claude";
1604
- openai: "openai";
1605
- gemini: "gemini";
1606
- grok: "grok";
1607
- mistral: "mistral";
1608
- deepseek: "deepseek";
1609
- meta: "meta";
1610
- qwen: "qwen";
1611
- zhipu: "zhipu";
1612
- kimi: "kimi";
1613
- minimax: "minimax";
1614
- other: "other";
1615
- }>>;
1616
- model: z.ZodNullable<z.ZodString>;
1617
- }, z.core.$strict>;
1618
- verifying: z.ZodObject<{
1619
- entered: z.ZodBoolean;
1620
- durationBucket: z.ZodNullable<z.ZodEnum<{
1621
- "<10s": "<10s";
1622
- "10s-1m": "10s-1m";
1623
- "1m-5m": "1m-5m";
1624
- "5m-30m": "5m-30m";
1625
- "30m+": "30m+";
1626
- }>>;
1627
- costBucket: z.ZodNullable<z.ZodEnum<{
1628
- $0: "$0";
1629
- "<$0.01": "<$0.01";
1630
- "$0.01-$0.10": "$0.01-$0.10";
1631
- "$0.10-$1": "$0.10-$1";
1632
- "$1+": "$1+";
1633
- }>>;
1634
- agentTier: z.ZodNullable<z.ZodEnum<{
1635
- standard: "standard";
1636
- complex: "complex";
1637
- }>>;
1638
- modelFamily: z.ZodNullable<z.ZodEnum<{
1639
- claude: "claude";
1640
- openai: "openai";
1641
- gemini: "gemini";
1642
- grok: "grok";
1643
- mistral: "mistral";
1644
- deepseek: "deepseek";
1645
- meta: "meta";
1646
- qwen: "qwen";
1647
- zhipu: "zhipu";
1648
- kimi: "kimi";
1649
- minimax: "minimax";
1650
- other: "other";
1651
- }>>;
1652
- model: z.ZodNullable<z.ZodString>;
1653
- outcome: z.ZodNullable<z.ZodEnum<{
1654
- failed: "failed";
1655
- passed: "passed";
1656
- skipped: "skipped";
1657
- not_applicable: "not_applicable";
1658
- }>>;
1659
- skipReason: z.ZodNullable<z.ZodEnum<{
1660
- no_command: "no_command";
1661
- not_applicable: "not_applicable";
1662
- dirty_worktree: "dirty_worktree";
1663
- other: "other";
1664
- }>>;
1665
- }, z.core.$strict>;
1666
- spec_review: z.ZodObject<{
1667
- entered: z.ZodBoolean;
1668
- durationBucket: z.ZodNullable<z.ZodEnum<{
1669
- "<10s": "<10s";
1670
- "10s-1m": "10s-1m";
1671
- "1m-5m": "1m-5m";
1672
- "5m-30m": "5m-30m";
1673
- "30m+": "30m+";
1674
- }>>;
1675
- costBucket: z.ZodNullable<z.ZodEnum<{
1676
- $0: "$0";
1677
- "<$0.01": "<$0.01";
1678
- "$0.01-$0.10": "$0.01-$0.10";
1679
- "$0.10-$1": "$0.10-$1";
1680
- "$1+": "$1+";
1681
- }>>;
1682
- agentTier: z.ZodNullable<z.ZodEnum<{
1683
- standard: "standard";
1684
- complex: "complex";
1685
- }>>;
1686
- modelFamily: z.ZodNullable<z.ZodEnum<{
1687
- claude: "claude";
1688
- openai: "openai";
1689
- gemini: "gemini";
1690
- grok: "grok";
1691
- mistral: "mistral";
1692
- deepseek: "deepseek";
1693
- meta: "meta";
1694
- qwen: "qwen";
1695
- zhipu: "zhipu";
1696
- kimi: "kimi";
1697
- minimax: "minimax";
1698
- other: "other";
1699
- }>>;
1700
- model: z.ZodNullable<z.ZodString>;
1701
- verdict: z.ZodNullable<z.ZodEnum<{
1702
- error: "error";
1703
- skipped: "skipped";
1704
- approved: "approved";
1705
- concerns: "concerns";
1706
- changes_required: "changes_required";
1707
- not_applicable: "not_applicable";
1708
- }>>;
1709
- roundsUsed: z.ZodNullable<z.ZodEnum<{
1710
- 0: "0";
1711
- 1: "1";
1712
- "2+": "2+";
1713
- }>>;
1714
- concernCategories: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1715
- other: "other";
1716
- security: "security";
1717
- performance: "performance";
1718
- missing_test: "missing_test";
1719
- scope_creep: "scope_creep";
1720
- incomplete_impl: "incomplete_impl";
1721
- style_lint: "style_lint";
1722
- maintainability: "maintainability";
1723
- doc_gap: "doc_gap";
1724
- }>>>;
1725
- }, z.core.$strict>;
1726
- spec_rework: z.ZodObject<{
1727
- entered: z.ZodBoolean;
1728
- durationBucket: z.ZodNullable<z.ZodEnum<{
1729
- "<10s": "<10s";
1730
- "10s-1m": "10s-1m";
1731
- "1m-5m": "1m-5m";
1732
- "5m-30m": "5m-30m";
1733
- "30m+": "30m+";
1734
- }>>;
1735
- costBucket: z.ZodNullable<z.ZodEnum<{
1736
- $0: "$0";
1737
- "<$0.01": "<$0.01";
1738
- "$0.01-$0.10": "$0.01-$0.10";
1739
- "$0.10-$1": "$0.10-$1";
1740
- "$1+": "$1+";
1741
- }>>;
1742
- agentTier: z.ZodNullable<z.ZodEnum<{
1743
- standard: "standard";
1744
- complex: "complex";
1745
- }>>;
1746
- modelFamily: z.ZodNullable<z.ZodEnum<{
1747
- claude: "claude";
1748
- openai: "openai";
1749
- gemini: "gemini";
1750
- grok: "grok";
1751
- mistral: "mistral";
1752
- deepseek: "deepseek";
1753
- meta: "meta";
1754
- qwen: "qwen";
1755
- zhipu: "zhipu";
1756
- kimi: "kimi";
1757
- minimax: "minimax";
1758
- other: "other";
1759
- }>>;
1760
- model: z.ZodNullable<z.ZodString>;
1761
- }, z.core.$strict>;
1762
- quality_review: z.ZodObject<{
1763
- entered: z.ZodBoolean;
1764
- durationBucket: z.ZodNullable<z.ZodEnum<{
1765
- "<10s": "<10s";
1766
- "10s-1m": "10s-1m";
1767
- "1m-5m": "1m-5m";
1768
- "5m-30m": "5m-30m";
1769
- "30m+": "30m+";
1770
- }>>;
1771
- costBucket: z.ZodNullable<z.ZodEnum<{
1772
- $0: "$0";
1773
- "<$0.01": "<$0.01";
1774
- "$0.01-$0.10": "$0.01-$0.10";
1775
- "$0.10-$1": "$0.10-$1";
1776
- "$1+": "$1+";
1777
- }>>;
1778
- agentTier: z.ZodNullable<z.ZodEnum<{
1779
- standard: "standard";
1780
- complex: "complex";
1781
- }>>;
1782
- modelFamily: z.ZodNullable<z.ZodEnum<{
1783
- claude: "claude";
1784
- openai: "openai";
1785
- gemini: "gemini";
1786
- grok: "grok";
1787
- mistral: "mistral";
1788
- deepseek: "deepseek";
1789
- meta: "meta";
1790
- qwen: "qwen";
1791
- zhipu: "zhipu";
1792
- kimi: "kimi";
1793
- minimax: "minimax";
1794
- other: "other";
1795
- }>>;
1796
- model: z.ZodNullable<z.ZodString>;
1797
- verdict: z.ZodNullable<z.ZodEnum<{
1798
- error: "error";
1799
- skipped: "skipped";
1800
- approved: "approved";
1801
- concerns: "concerns";
1802
- changes_required: "changes_required";
1803
- not_applicable: "not_applicable";
1804
- }>>;
1805
- roundsUsed: z.ZodNullable<z.ZodEnum<{
1806
- 0: "0";
1807
- 1: "1";
1808
- "2+": "2+";
1809
- }>>;
1810
- concernCategories: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1811
- other: "other";
1812
- security: "security";
1813
- performance: "performance";
1814
- missing_test: "missing_test";
1815
- scope_creep: "scope_creep";
1816
- incomplete_impl: "incomplete_impl";
1817
- style_lint: "style_lint";
1818
- maintainability: "maintainability";
1819
- doc_gap: "doc_gap";
1820
- }>>>;
1821
- }, z.core.$strict>;
1822
- quality_rework: z.ZodObject<{
1823
- entered: z.ZodBoolean;
1824
- durationBucket: z.ZodNullable<z.ZodEnum<{
1825
- "<10s": "<10s";
1826
- "10s-1m": "10s-1m";
1827
- "1m-5m": "1m-5m";
1828
- "5m-30m": "5m-30m";
1829
- "30m+": "30m+";
1830
- }>>;
1831
- costBucket: z.ZodNullable<z.ZodEnum<{
1832
- $0: "$0";
1833
- "<$0.01": "<$0.01";
1834
- "$0.01-$0.10": "$0.01-$0.10";
1835
- "$0.10-$1": "$0.10-$1";
1836
- "$1+": "$1+";
1837
- }>>;
1838
- agentTier: z.ZodNullable<z.ZodEnum<{
1839
- standard: "standard";
1840
- complex: "complex";
1841
- }>>;
1842
- modelFamily: z.ZodNullable<z.ZodEnum<{
1843
- claude: "claude";
1844
- openai: "openai";
1845
- gemini: "gemini";
1846
- grok: "grok";
1847
- mistral: "mistral";
1848
- deepseek: "deepseek";
1849
- meta: "meta";
1850
- qwen: "qwen";
1851
- zhipu: "zhipu";
1852
- kimi: "kimi";
1853
- minimax: "minimax";
1854
- other: "other";
1855
- }>>;
1856
- model: z.ZodNullable<z.ZodString>;
1857
- }, z.core.$strict>;
1858
- diff_review: z.ZodOptional<z.ZodObject<{
1859
- entered: z.ZodBoolean;
1860
- durationBucket: z.ZodNullable<z.ZodEnum<{
1861
- "<10s": "<10s";
1862
- "10s-1m": "10s-1m";
1863
- "1m-5m": "1m-5m";
1864
- "5m-30m": "5m-30m";
1865
- "30m+": "30m+";
1866
- }>>;
1867
- costBucket: z.ZodNullable<z.ZodEnum<{
1868
- $0: "$0";
1869
- "<$0.01": "<$0.01";
1870
- "$0.01-$0.10": "$0.01-$0.10";
1871
- "$0.10-$1": "$0.10-$1";
1872
- "$1+": "$1+";
1873
- }>>;
1874
- agentTier: z.ZodNullable<z.ZodEnum<{
1875
- standard: "standard";
1876
- complex: "complex";
1877
- }>>;
1878
- modelFamily: z.ZodNullable<z.ZodEnum<{
1879
- claude: "claude";
1880
- openai: "openai";
1881
- gemini: "gemini";
1882
- grok: "grok";
1883
- mistral: "mistral";
1884
- deepseek: "deepseek";
1885
- meta: "meta";
1886
- qwen: "qwen";
1887
- zhipu: "zhipu";
1888
- kimi: "kimi";
1889
- minimax: "minimax";
1890
- other: "other";
1891
- }>>;
1892
- model: z.ZodNullable<z.ZodString>;
1893
- verdict: z.ZodNullable<z.ZodEnum<{
1894
- error: "error";
1895
- skipped: "skipped";
1896
- approved: "approved";
1897
- concerns: "concerns";
1898
- changes_required: "changes_required";
1899
- not_applicable: "not_applicable";
1900
- }>>;
1901
- roundsUsed: z.ZodNullable<z.ZodEnum<{
1902
- 0: "0";
1903
- 1: "1";
1904
- "2+": "2+";
1905
- }>>;
1906
- concernCategories: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1907
- other: "other";
1908
- security: "security";
1909
- performance: "performance";
1910
- missing_test: "missing_test";
1911
- scope_creep: "scope_creep";
1912
- incomplete_impl: "incomplete_impl";
1913
- style_lint: "style_lint";
1914
- maintainability: "maintainability";
1915
- doc_gap: "doc_gap";
1916
- }>>>;
1917
- }, z.core.$strict>>;
1918
- committing: z.ZodObject<{
1919
- entered: z.ZodBoolean;
1920
- durationBucket: z.ZodNullable<z.ZodEnum<{
1921
- "<10s": "<10s";
1922
- "10s-1m": "10s-1m";
1923
- "1m-5m": "1m-5m";
1924
- "5m-30m": "5m-30m";
1925
- "30m+": "30m+";
1926
- }>>;
1927
- costBucket: z.ZodNullable<z.ZodEnum<{
1928
- $0: "$0";
1929
- "<$0.01": "<$0.01";
1930
- "$0.01-$0.10": "$0.01-$0.10";
1931
- "$0.10-$1": "$0.10-$1";
1932
- "$1+": "$1+";
1933
- }>>;
1934
- agentTier: z.ZodNullable<z.ZodEnum<{
1935
- standard: "standard";
1936
- complex: "complex";
1937
- }>>;
1938
- modelFamily: z.ZodNullable<z.ZodEnum<{
1939
- claude: "claude";
1940
- openai: "openai";
1941
- gemini: "gemini";
1942
- grok: "grok";
1943
- mistral: "mistral";
1944
- deepseek: "deepseek";
1945
- meta: "meta";
1946
- qwen: "qwen";
1947
- zhipu: "zhipu";
1948
- kimi: "kimi";
1949
- minimax: "minimax";
1950
- other: "other";
1951
- }>>;
1952
- model: z.ZodNullable<z.ZodString>;
1953
- }, z.core.$strict>;
1107
+ findingsBySeverity: z.ZodObject<{
1108
+ high: z.ZodNumber;
1109
+ medium: z.ZodNumber;
1110
+ low: z.ZodNumber;
1111
+ style: z.ZodNumber;
1954
1112
  }, z.core.$strict>;
1955
- filesWrittenBucket: z.ZodEnum<{
1956
- 0: "0";
1957
- "1-5": "1-5";
1958
- "6-20": "6-20";
1959
- "21-50": "21-50";
1960
- "51+": "51+";
1113
+ }, z.core.$strict>, z.ZodObject<{
1114
+ model: z.ZodString;
1115
+ agentTier: z.ZodEnum<{
1116
+ standard: "standard";
1117
+ reasoning: "reasoning";
1961
1118
  }>;
1962
- c2Promoted: z.ZodBoolean;
1963
- workerSelfAssessment: z.ZodNullable<z.ZodEnum<{
1964
- done: "done";
1965
- done_with_concerns: "done_with_concerns";
1966
- needs_context: "needs_context";
1967
- blocked: "blocked";
1968
- failed: "failed";
1969
- review_loop_aborted: "review_loop_aborted";
1970
- }>>;
1971
- concernCount: z.ZodNumber;
1972
- escalationCount: z.ZodNumber;
1973
- fallbackCount: z.ZodNumber;
1974
- turnCountBucket: z.ZodEnum<{
1975
- "1-3": "1-3";
1976
- "4-10": "4-10";
1977
- "11-30": "11-30";
1978
- "31+": "31+";
1119
+ durationMs: z.ZodNumber;
1120
+ costUSD: z.ZodNumber;
1121
+ inputTokens: z.ZodNumber;
1122
+ outputTokens: z.ZodNumber;
1123
+ cachedTokens: z.ZodNumber;
1124
+ reasoningTokens: z.ZodNumber;
1125
+ toolCallCount: z.ZodNumber;
1126
+ filesReadCount: z.ZodNumber;
1127
+ filesWrittenCount: z.ZodNumber;
1128
+ turnCount: z.ZodNumber;
1129
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
1130
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
1131
+ name: z.ZodEnum<{
1132
+ spec_rework: "spec_rework";
1133
+ quality_rework: "quality_rework";
1979
1134
  }>;
1980
- stallTriggered: z.ZodBoolean;
1981
- clarificationRequested: z.ZodBoolean;
1982
- parentModelFamily: z.ZodEnum<{
1983
- claude: "claude";
1984
- openai: "openai";
1985
- gemini: "gemini";
1986
- grok: "grok";
1987
- mistral: "mistral";
1988
- deepseek: "deepseek";
1989
- meta: "meta";
1990
- qwen: "qwen";
1991
- zhipu: "zhipu";
1992
- kimi: "kimi";
1993
- minimax: "minimax";
1135
+ triggeringConcernCategories: z.ZodArray<z.ZodEnum<{
1994
1136
  other: "other";
1995
- }>;
1996
- briefQualityWarningCount: z.ZodNumber;
1997
- eventId: z.ZodString;
1998
- }, z.core.$strict>, z.ZodObject<{
1999
- type: z.ZodLiteral<"session.started">;
2000
- configFlavor: z.ZodObject<{
2001
- defaultTier: z.ZodEnum<{
2002
- standard: "standard";
2003
- complex: "complex";
2004
- }>;
2005
- diagnosticsEnabled: z.ZodBoolean;
2006
- autoUpdateSkills: z.ZodBoolean;
2007
- }, z.core.$strict>;
2008
- providersConfigured: z.ZodArray<z.ZodEnum<{
2009
- claude: "claude";
2010
- "openai-compatible": "openai-compatible";
2011
- codex: "codex";
1137
+ security: "security";
1138
+ performance: "performance";
1139
+ missing_test: "missing_test";
1140
+ scope_creep: "scope_creep";
1141
+ incomplete_impl: "incomplete_impl";
1142
+ style_lint: "style_lint";
1143
+ maintainability: "maintainability";
1144
+ doc_gap: "doc_gap";
2012
1145
  }>>;
2013
- eventId: z.ZodString;
2014
1146
  }, z.core.$strict>, z.ZodObject<{
2015
- type: z.ZodLiteral<"install.changed">;
2016
- fromVersion: z.ZodNullable<z.ZodString>;
2017
- toVersion: z.ZodString;
2018
- trigger: z.ZodEnum<{
2019
- fresh_install: "fresh_install";
2020
- upgrade: "upgrade";
2021
- downgrade: "downgrade";
1147
+ model: z.ZodString;
1148
+ agentTier: z.ZodEnum<{
1149
+ standard: "standard";
1150
+ reasoning: "reasoning";
2022
1151
  }>;
2023
- eventId: z.ZodString;
2024
- }, z.core.$strict>, z.ZodObject<{
2025
- type: z.ZodLiteral<"skill.installed">;
2026
- skill: z.ZodEnum<{
1152
+ durationMs: z.ZodNumber;
1153
+ costUSD: z.ZodNumber;
1154
+ inputTokens: z.ZodNumber;
1155
+ outputTokens: z.ZodNumber;
1156
+ cachedTokens: z.ZodNumber;
1157
+ reasoningTokens: z.ZodNumber;
1158
+ toolCallCount: z.ZodNumber;
1159
+ filesReadCount: z.ZodNumber;
1160
+ filesWrittenCount: z.ZodNumber;
1161
+ turnCount: z.ZodNumber;
1162
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
1163
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
1164
+ name: z.ZodLiteral<"verifying">;
1165
+ outcome: z.ZodEnum<{
1166
+ failed: "failed";
1167
+ passed: "passed";
1168
+ skipped: "skipped";
1169
+ not_applicable: "not_applicable";
1170
+ }>;
1171
+ skipReason: z.ZodNullable<z.ZodEnum<{
1172
+ no_command: "no_command";
2027
1173
  other: "other";
2028
- "mma-delegate": "mma-delegate";
2029
- "mma-audit": "mma-audit";
2030
- "mma-review": "mma-review";
2031
- "mma-verify": "mma-verify";
2032
- "mma-debug": "mma-debug";
2033
- "mma-execute-plan": "mma-execute-plan";
2034
- "mma-retry": "mma-retry";
2035
- "mma-investigate": "mma-investigate";
2036
- "mma-context-blocks": "mma-context-blocks";
2037
- "mma-clarifications": "mma-clarifications";
1174
+ not_applicable: "not_applicable";
1175
+ dirty_worktree: "dirty_worktree";
1176
+ }>>;
1177
+ }, z.core.$strict>, z.ZodObject<{
1178
+ model: z.ZodString;
1179
+ agentTier: z.ZodEnum<{
1180
+ standard: "standard";
1181
+ reasoning: "reasoning";
2038
1182
  }>;
2039
- client: z.ZodString;
2040
- eventId: z.ZodString;
2041
- }, z.core.$strict>], "type">>;
1183
+ durationMs: z.ZodNumber;
1184
+ costUSD: z.ZodNumber;
1185
+ inputTokens: z.ZodNumber;
1186
+ outputTokens: z.ZodNumber;
1187
+ cachedTokens: z.ZodNumber;
1188
+ reasoningTokens: z.ZodNumber;
1189
+ toolCallCount: z.ZodNumber;
1190
+ filesReadCount: z.ZodNumber;
1191
+ filesWrittenCount: z.ZodNumber;
1192
+ turnCount: z.ZodNumber;
1193
+ maxIdleMs: z.ZodNullable<z.ZodNumber>;
1194
+ totalIdleMs: z.ZodNullable<z.ZodNumber>;
1195
+ name: z.ZodLiteral<"committing">;
1196
+ filesCommittedCount: z.ZodNumber;
1197
+ branchCreated: z.ZodBoolean;
1198
+ }, z.core.$strict>], "name">>;
2042
1199
  }, z.core.$strict>;
2043
- export type TelemetryEventType = z.infer<typeof TelemetryEvent>;
2044
- export type UploadBatchType = z.infer<typeof UploadBatch>;
2045
- export type InstallMetadataType = z.infer<typeof InstallMetadata>;
2046
- export type TaskCompletedEventType = z.infer<typeof TaskCompletedEvent>;
2047
- export type SessionStartedEventType = z.infer<typeof SessionStartedEvent>;
2048
- export type InstallChangedEventType = z.infer<typeof InstallChangedEvent>;
2049
- export type SkillInstalledEventType = z.infer<typeof SkillInstalledEvent>;
1200
+ export type BatchWrapper = z.infer<typeof BatchWrapperSchema>;
1201
+ export type StageEntryType = z.infer<typeof StageEntrySchema>;
1202
+ export type TaskCompletedEventType = z.infer<typeof TaskCompletedEventSchema>;
1203
+ export type UploadBatchType = z.infer<typeof UploadBatchSchema>;
2050
1204
  export type ConcernCategoryType = z.infer<typeof ConcernCategory>;
2051
- export type ClientIdType = z.infer<typeof ClientId>;
2052
- export type InstallableSkillIdType = z.infer<typeof InstallableSkillId>;
2053
1205
  export type ErrorCodeType = z.infer<typeof ErrorCode>;
1206
+ export type FindingsBySeverity = z.infer<typeof FindingsBySeveritySchema>;
2054
1207
  //# sourceMappingURL=types.d.ts.map