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