@selleragent/api-contract 0.3.0 → 0.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.
@@ -1,10 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  export declare const judgeFileSchemaVersionSchema: z.ZodLiteral<1>;
3
- export declare const judgeProfileScopeSchema: z.ZodEnum<{
4
- turn: "turn";
5
- dialog: "dialog";
6
- }>;
7
- export declare const judgeParamValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
8
3
  export declare const judgeSeveritySchema: z.ZodEnum<{
9
4
  critical: "critical";
10
5
  major: "major";
@@ -30,6 +25,7 @@ export declare const canonicalConversationSourceSchema: z.ZodObject<{
30
25
  exported_live_conversation: "exported_live_conversation";
31
26
  scenario_fixture: "scenario_fixture";
32
27
  manual_file: "manual_file";
28
+ telegram_export_html: "telegram_export_html";
33
29
  }>;
34
30
  environment: z.ZodDefault<z.ZodNullable<z.ZodString>>;
35
31
  exportedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -38,11 +34,13 @@ export type CanonicalConversationSource = z.infer<typeof canonicalConversationSo
38
34
  export declare const canonicalConversationHeaderSchema: z.ZodObject<{
39
35
  conversationId: z.ZodString;
40
36
  channel: z.ZodString;
37
+ threadRef: z.ZodDefault<z.ZodNullable<z.ZodString>>;
41
38
  source: z.ZodObject<{
42
39
  type: z.ZodEnum<{
43
40
  exported_live_conversation: "exported_live_conversation";
44
41
  scenario_fixture: "scenario_fixture";
45
42
  manual_file: "manual_file";
43
+ telegram_export_html: "telegram_export_html";
46
44
  }>;
47
45
  environment: z.ZodDefault<z.ZodNullable<z.ZodString>>;
48
46
  exportedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -53,32 +51,83 @@ export declare const canonicalConversationParticipantSchema: z.ZodObject<{
53
51
  id: z.ZodString;
54
52
  role: z.ZodEnum<{
55
53
  customer: "customer";
56
- system: "system";
57
54
  company: "company";
55
+ system: "system";
58
56
  }>;
59
57
  actorMode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
60
- operator: "operator";
61
58
  bot: "bot";
59
+ operator: "operator";
62
60
  hybrid: "hybrid";
63
61
  }>>>;
64
62
  label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
65
63
  }, z.core.$strip>;
66
64
  export type CanonicalConversationParticipant = z.infer<typeof canonicalConversationParticipantSchema>;
65
+ export declare const canonicalConversationTurnAttachmentKindSchema: z.ZodEnum<{
66
+ photo: "photo";
67
+ document: "document";
68
+ audio: "audio";
69
+ video: "video";
70
+ sticker: "sticker";
71
+ other: "other";
72
+ }>;
73
+ export type CanonicalConversationTurnAttachmentKind = z.infer<typeof canonicalConversationTurnAttachmentKindSchema>;
74
+ export declare const canonicalConversationTurnAttachmentSchema: z.ZodObject<{
75
+ kind: z.ZodEnum<{
76
+ photo: "photo";
77
+ document: "document";
78
+ audio: "audio";
79
+ video: "video";
80
+ sticker: "sticker";
81
+ other: "other";
82
+ }>;
83
+ title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
84
+ description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
85
+ status: z.ZodDefault<z.ZodNullable<z.ZodString>>;
86
+ source_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
87
+ storage_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
88
+ mime_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
89
+ size_bytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
90
+ included: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
91
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
92
+ }, z.core.$strip>;
93
+ export type CanonicalConversationTurnAttachment = z.infer<typeof canonicalConversationTurnAttachmentSchema>;
67
94
  export declare const canonicalConversationTurnSchema: z.ZodObject<{
68
95
  turnId: z.ZodString;
69
96
  actorId: z.ZodString;
70
97
  actorRole: z.ZodEnum<{
71
98
  customer: "customer";
72
- system: "system";
73
99
  company: "company";
100
+ system: "system";
74
101
  }>;
75
102
  actorMode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
76
- operator: "operator";
77
103
  bot: "bot";
104
+ operator: "operator";
78
105
  hybrid: "hybrid";
79
106
  }>>>;
107
+ external_message_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
108
+ reply_to_turn_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
109
+ reply_to_external_message_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
80
110
  timestamp: z.ZodDefault<z.ZodNullable<z.ZodString>>;
81
111
  text: z.ZodString;
112
+ attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
113
+ kind: z.ZodEnum<{
114
+ photo: "photo";
115
+ document: "document";
116
+ audio: "audio";
117
+ video: "video";
118
+ sticker: "sticker";
119
+ other: "other";
120
+ }>;
121
+ title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
122
+ description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
123
+ status: z.ZodDefault<z.ZodNullable<z.ZodString>>;
124
+ source_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
125
+ storage_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
126
+ mime_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
127
+ size_bytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
128
+ included: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
129
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
130
+ }, z.core.$strip>>>;
82
131
  }, z.core.$strip>;
83
132
  export type CanonicalConversationTurn = z.infer<typeof canonicalConversationTurnSchema>;
84
133
  export declare const canonicalConversationSummarySchema: z.ZodObject<{
@@ -133,6 +182,51 @@ export declare const canonicalConversationProfileProvenanceSchema: z.ZodObject<{
133
182
  commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
134
183
  }, z.core.$strip>;
135
184
  export type CanonicalConversationProfileProvenance = z.infer<typeof canonicalConversationProfileProvenanceSchema>;
185
+ export declare const canonicalConversationLineageSchema: z.ZodObject<{
186
+ transcript_id: z.ZodString;
187
+ family_id: z.ZodString;
188
+ run_kind: z.ZodDefault<z.ZodEnum<{
189
+ reference: "reference";
190
+ replay: "replay";
191
+ live_export: "live_export";
192
+ }>>;
193
+ actor_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
194
+ bot: "bot";
195
+ operator: "operator";
196
+ hybrid: "hybrid";
197
+ }>>>;
198
+ based_on_transcript_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
199
+ based_on_conversation_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
200
+ }, z.core.$strip>;
201
+ export type CanonicalConversationLineage = z.infer<typeof canonicalConversationLineageSchema>;
202
+ export declare const canonicalConversationRuntimeProvenanceSchema: z.ZodObject<{
203
+ environment: z.ZodDefault<z.ZodNullable<z.ZodString>>;
204
+ api_base_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
205
+ profile_repository_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
206
+ profile_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
207
+ profile_branch_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
208
+ profile_has_tracked_changes: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
209
+ platform_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
210
+ catalog_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
211
+ rules_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
212
+ prompt_catalog_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
213
+ }, z.core.$strip>;
214
+ export type CanonicalConversationRuntimeProvenance = z.infer<typeof canonicalConversationRuntimeProvenanceSchema>;
215
+ export declare const canonicalConversationImportProvenanceSchema: z.ZodObject<{
216
+ provider: z.ZodEnum<{
217
+ telegram: "telegram";
218
+ }>;
219
+ format: z.ZodEnum<{
220
+ html_export: "html_export";
221
+ }>;
222
+ dataset_id: z.ZodString;
223
+ dataset_label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
224
+ chat_folder: z.ZodDefault<z.ZodNullable<z.ZodString>>;
225
+ source_relative_path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
226
+ chat_title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
227
+ imported_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
228
+ }, z.core.$strip>;
229
+ export type CanonicalConversationImportProvenance = z.infer<typeof canonicalConversationImportProvenanceSchema>;
136
230
  export declare const canonicalConversationTranscriptSchema: z.ZodObject<{
137
231
  schema_version: z.ZodLiteral<1>;
138
232
  kind: z.ZodLiteral<"sa_conversation">;
@@ -141,11 +235,13 @@ export declare const canonicalConversationTranscriptSchema: z.ZodObject<{
141
235
  conversation: z.ZodObject<{
142
236
  conversationId: z.ZodString;
143
237
  channel: z.ZodString;
238
+ threadRef: z.ZodDefault<z.ZodNullable<z.ZodString>>;
144
239
  source: z.ZodObject<{
145
240
  type: z.ZodEnum<{
146
241
  exported_live_conversation: "exported_live_conversation";
147
242
  scenario_fixture: "scenario_fixture";
148
243
  manual_file: "manual_file";
244
+ telegram_export_html: "telegram_export_html";
149
245
  }>;
150
246
  environment: z.ZodDefault<z.ZodNullable<z.ZodString>>;
151
247
  exportedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -155,12 +251,12 @@ export declare const canonicalConversationTranscriptSchema: z.ZodObject<{
155
251
  id: z.ZodString;
156
252
  role: z.ZodEnum<{
157
253
  customer: "customer";
158
- system: "system";
159
254
  company: "company";
255
+ system: "system";
160
256
  }>;
161
257
  actorMode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
162
- operator: "operator";
163
258
  bot: "bot";
259
+ operator: "operator";
164
260
  hybrid: "hybrid";
165
261
  }>>>;
166
262
  label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -170,16 +266,38 @@ export declare const canonicalConversationTranscriptSchema: z.ZodObject<{
170
266
  actorId: z.ZodString;
171
267
  actorRole: z.ZodEnum<{
172
268
  customer: "customer";
173
- system: "system";
174
269
  company: "company";
270
+ system: "system";
175
271
  }>;
176
272
  actorMode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
177
- operator: "operator";
178
273
  bot: "bot";
274
+ operator: "operator";
179
275
  hybrid: "hybrid";
180
276
  }>>>;
277
+ external_message_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
278
+ reply_to_turn_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
279
+ reply_to_external_message_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
181
280
  timestamp: z.ZodDefault<z.ZodNullable<z.ZodString>>;
182
281
  text: z.ZodString;
282
+ attachments: z.ZodDefault<z.ZodArray<z.ZodObject<{
283
+ kind: z.ZodEnum<{
284
+ photo: "photo";
285
+ document: "document";
286
+ audio: "audio";
287
+ video: "video";
288
+ sticker: "sticker";
289
+ other: "other";
290
+ }>;
291
+ title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
292
+ description: z.ZodDefault<z.ZodNullable<z.ZodString>>;
293
+ status: z.ZodDefault<z.ZodNullable<z.ZodString>>;
294
+ source_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
295
+ storage_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
296
+ mime_type: z.ZodDefault<z.ZodNullable<z.ZodString>>;
297
+ size_bytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
298
+ included: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
299
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
300
+ }, z.core.$strip>>>;
183
301
  }, z.core.$strip>>>;
184
302
  context: z.ZodObject<{
185
303
  domainNote: z.ZodDefault<z.ZodNullable<z.ZodString>>;
@@ -216,155 +334,50 @@ export declare const canonicalConversationTranscriptSchema: z.ZodObject<{
216
334
  repository_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
217
335
  commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
218
336
  }, z.core.$strip>>;
219
- }, z.core.$strip>;
220
- export type CanonicalConversationTranscript = z.infer<typeof canonicalConversationTranscriptSchema>;
221
- export declare const expectationContributionFileSchema: z.ZodObject<{
222
- good_signals: z.ZodDefault<z.ZodArray<z.ZodObject<{
223
- expectationId: z.ZodString;
224
- label: z.ZodString;
225
- description: z.ZodString;
226
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
227
- weight: z.ZodDefault<z.ZodNumber>;
228
- }, z.core.$strip>>>;
229
- bad_signals: z.ZodDefault<z.ZodArray<z.ZodObject<{
230
- expectationId: z.ZodString;
231
- label: z.ZodString;
232
- description: z.ZodString;
233
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
234
- weight: z.ZodDefault<z.ZodNumber>;
235
- }, z.core.$strip>>>;
236
- must_do: z.ZodDefault<z.ZodArray<z.ZodObject<{
237
- expectationId: z.ZodString;
238
- label: z.ZodString;
239
- description: z.ZodString;
240
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
241
- weight: z.ZodDefault<z.ZodNumber>;
242
- }, z.core.$strip>>>;
243
- must_not_do: z.ZodDefault<z.ZodArray<z.ZodObject<{
244
- expectationId: z.ZodString;
245
- label: z.ZodString;
246
- description: z.ZodString;
247
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
248
- weight: z.ZodDefault<z.ZodNumber>;
249
- }, z.core.$strip>>>;
250
- domain_anchors: z.ZodDefault<z.ZodArray<z.ZodString>>;
251
- expected_next_step_kinds: z.ZodDefault<z.ZodArray<z.ZodString>>;
252
- forbidden_moves: z.ZodDefault<z.ZodArray<z.ZodString>>;
253
- notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
254
- }, z.core.$strip>;
255
- export type ExpectationContributionFile = z.infer<typeof expectationContributionFileSchema>;
256
- export declare const expectationBlockFileSchema: z.ZodObject<{
257
- schema_version: z.ZodLiteral<1>;
258
- kind: z.ZodLiteral<"sa_expectation_block">;
259
- block_id: z.ZodString;
260
- label: z.ZodString;
261
- supported_kinds: z.ZodDefault<z.ZodArray<z.ZodEnum<{
262
- turn: "turn";
263
- journey: "journey";
264
- }>>>;
265
- scope: z.ZodEnum<{
266
- turn: "turn";
267
- dialog: "dialog";
268
- }>;
269
- contribution: z.ZodObject<{
270
- good_signals: z.ZodDefault<z.ZodArray<z.ZodObject<{
271
- expectationId: z.ZodString;
272
- label: z.ZodString;
273
- description: z.ZodString;
274
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
275
- weight: z.ZodDefault<z.ZodNumber>;
276
- }, z.core.$strip>>>;
277
- bad_signals: z.ZodDefault<z.ZodArray<z.ZodObject<{
278
- expectationId: z.ZodString;
279
- label: z.ZodString;
280
- description: z.ZodString;
281
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
282
- weight: z.ZodDefault<z.ZodNumber>;
283
- }, z.core.$strip>>>;
284
- must_do: z.ZodDefault<z.ZodArray<z.ZodObject<{
285
- expectationId: z.ZodString;
286
- label: z.ZodString;
287
- description: z.ZodString;
288
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
289
- weight: z.ZodDefault<z.ZodNumber>;
290
- }, z.core.$strip>>>;
291
- must_not_do: z.ZodDefault<z.ZodArray<z.ZodObject<{
292
- expectationId: z.ZodString;
293
- label: z.ZodString;
294
- description: z.ZodString;
295
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
296
- weight: z.ZodDefault<z.ZodNumber>;
297
- }, z.core.$strip>>>;
298
- domain_anchors: z.ZodDefault<z.ZodArray<z.ZodString>>;
299
- expected_next_step_kinds: z.ZodDefault<z.ZodArray<z.ZodString>>;
300
- forbidden_moves: z.ZodDefault<z.ZodArray<z.ZodString>>;
301
- notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
302
- }, z.core.$strip>;
303
- }, z.core.$strip>;
304
- export type ExpectationBlockFile = z.infer<typeof expectationBlockFileSchema>;
305
- export declare const expectationProfileImportFileSchema: z.ZodObject<{
306
- block: z.ZodString;
307
- with: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
308
- }, z.core.$strip>;
309
- export type ExpectationProfileImportFile = z.infer<typeof expectationProfileImportFileSchema>;
310
- export declare const expectationProfileFileSchema: z.ZodObject<{
311
- schema_version: z.ZodLiteral<1>;
312
- kind: z.ZodLiteral<"sa_expectation_profile">;
313
- profile_id: z.ZodString;
314
- label: z.ZodString;
315
- contract_id: z.ZodString;
316
- contract_version: z.ZodString;
317
- target_kind: z.ZodEnum<{
318
- turn: "turn";
319
- journey: "journey";
320
- }>;
321
- stage_label: z.ZodString;
322
- context_policy: z.ZodEnum<{
323
- minimal_only: "minimal_only";
324
- allow_windowed: "allow_windowed";
325
- allow_full: "allow_full";
326
- }>;
327
- evaluation_question: z.ZodString;
328
- imports: z.ZodDefault<z.ZodArray<z.ZodObject<{
329
- block: z.ZodString;
330
- with: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
331
- }, z.core.$strip>>>;
332
- local: z.ZodOptional<z.ZodObject<{
333
- good_signals: z.ZodDefault<z.ZodArray<z.ZodObject<{
334
- expectationId: z.ZodString;
335
- label: z.ZodString;
336
- description: z.ZodString;
337
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
338
- weight: z.ZodDefault<z.ZodNumber>;
339
- }, z.core.$strip>>>;
340
- bad_signals: z.ZodDefault<z.ZodArray<z.ZodObject<{
341
- expectationId: z.ZodString;
342
- label: z.ZodString;
343
- description: z.ZodString;
344
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
345
- weight: z.ZodDefault<z.ZodNumber>;
346
- }, z.core.$strip>>>;
347
- must_do: z.ZodDefault<z.ZodArray<z.ZodObject<{
348
- expectationId: z.ZodString;
349
- label: z.ZodString;
350
- description: z.ZodString;
351
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
352
- weight: z.ZodDefault<z.ZodNumber>;
353
- }, z.core.$strip>>>;
354
- must_not_do: z.ZodDefault<z.ZodArray<z.ZodObject<{
355
- expectationId: z.ZodString;
356
- label: z.ZodString;
357
- description: z.ZodString;
358
- evidenceHints: z.ZodDefault<z.ZodArray<z.ZodString>>;
359
- weight: z.ZodDefault<z.ZodNumber>;
360
- }, z.core.$strip>>>;
361
- domain_anchors: z.ZodDefault<z.ZodArray<z.ZodString>>;
362
- expected_next_step_kinds: z.ZodDefault<z.ZodArray<z.ZodString>>;
363
- forbidden_moves: z.ZodDefault<z.ZodArray<z.ZodString>>;
364
- notes: z.ZodDefault<z.ZodArray<z.ZodString>>;
337
+ lineage: z.ZodOptional<z.ZodObject<{
338
+ transcript_id: z.ZodString;
339
+ family_id: z.ZodString;
340
+ run_kind: z.ZodDefault<z.ZodEnum<{
341
+ reference: "reference";
342
+ replay: "replay";
343
+ live_export: "live_export";
344
+ }>>;
345
+ actor_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
346
+ bot: "bot";
347
+ operator: "operator";
348
+ hybrid: "hybrid";
349
+ }>>>;
350
+ based_on_transcript_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
351
+ based_on_conversation_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
352
+ }, z.core.$strip>>;
353
+ runtime_provenance: z.ZodOptional<z.ZodObject<{
354
+ environment: z.ZodDefault<z.ZodNullable<z.ZodString>>;
355
+ api_base_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
356
+ profile_repository_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
357
+ profile_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
358
+ profile_branch_name: z.ZodDefault<z.ZodNullable<z.ZodString>>;
359
+ profile_has_tracked_changes: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
360
+ platform_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
361
+ catalog_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
362
+ rules_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
363
+ prompt_catalog_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
364
+ }, z.core.$strip>>;
365
+ import_provenance: z.ZodOptional<z.ZodObject<{
366
+ provider: z.ZodEnum<{
367
+ telegram: "telegram";
368
+ }>;
369
+ format: z.ZodEnum<{
370
+ html_export: "html_export";
371
+ }>;
372
+ dataset_id: z.ZodString;
373
+ dataset_label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
374
+ chat_folder: z.ZodDefault<z.ZodNullable<z.ZodString>>;
375
+ source_relative_path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
376
+ chat_title: z.ZodDefault<z.ZodNullable<z.ZodString>>;
377
+ imported_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
365
378
  }, z.core.$strip>>;
366
379
  }, z.core.$strip>;
367
- export type ExpectationProfileFile = z.infer<typeof expectationProfileFileSchema>;
380
+ export type CanonicalConversationTranscript = z.infer<typeof canonicalConversationTranscriptSchema>;
368
381
  export declare const judgeRuleClauseFileSchema: z.ZodObject<{
369
382
  id: z.ZodString;
370
383
  text: z.ZodString;
@@ -476,10 +489,10 @@ export declare const judgeScorecardRuntimeSchema: z.ZodObject<{
476
489
  }>>;
477
490
  model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
478
491
  reasoning: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
492
+ minimal: "minimal";
479
493
  low: "low";
480
494
  medium: "medium";
481
495
  high: "high";
482
- minimal: "minimal";
483
496
  xhigh: "xhigh";
484
497
  }>>>;
485
498
  concurrency: z.ZodDefault<z.ZodNumber>;
@@ -507,10 +520,10 @@ export declare const judgeScorecardFileSchema: z.ZodObject<{
507
520
  }>>;
508
521
  model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
509
522
  reasoning: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
523
+ minimal: "minimal";
510
524
  low: "low";
511
525
  medium: "medium";
512
526
  high: "high";
513
- minimal: "minimal";
514
527
  xhigh: "xhigh";
515
528
  }>>>;
516
529
  concurrency: z.ZodDefault<z.ZodNumber>;
@@ -526,229 +539,6 @@ export declare const judgeScorecardFileSchema: z.ZodObject<{
526
539
  }, z.core.$strip>>;
527
540
  }, z.core.$strip>;
528
541
  export type JudgeScorecardFile = z.infer<typeof judgeScorecardFileSchema>;
529
- export declare const canonicalJudgeProfileRefSchema: z.ZodObject<{
530
- profile_id: z.ZodString;
531
- label: z.ZodString;
532
- contract_id: z.ZodString;
533
- contract_version: z.ZodString;
534
- imported_blocks: z.ZodDefault<z.ZodArray<z.ZodObject<{
535
- block_id: z.ZodString;
536
- label: z.ZodString;
537
- scope: z.ZodEnum<{
538
- turn: "turn";
539
- dialog: "dialog";
540
- }>;
541
- params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
542
- }, z.core.$strip>>>;
543
- }, z.core.$strip>;
544
- export type CanonicalJudgeProfileRef = z.infer<typeof canonicalJudgeProfileRefSchema>;
545
- export declare const canonicalJudgeSourceSchema: z.ZodObject<{
546
- kind: z.ZodEnum<{
547
- conversation: "conversation";
548
- scenario: "scenario";
549
- transcript: "transcript";
550
- }>;
551
- label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
552
- path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
553
- conversation_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
554
- channel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
555
- }, z.core.$strip>;
556
- export type CanonicalJudgeSource = z.infer<typeof canonicalJudgeSourceSchema>;
557
- export declare const canonicalJudgeExecutionSchema: z.ZodObject<{
558
- target_id: z.ZodString;
559
- target_kind: z.ZodString;
560
- accepted_verdicts: z.ZodDefault<z.ZodArray<z.ZodEnum<{
561
- pass: "pass";
562
- soft_fail: "soft_fail";
563
- fail: "fail";
564
- inconclusive: "inconclusive";
565
- contract_error: "contract_error";
566
- }>>>;
567
- final_context_level: z.ZodEnum<{
568
- minimal: "minimal";
569
- windowed: "windowed";
570
- full: "full";
571
- }>;
572
- passed: z.ZodBoolean;
573
- summary: z.ZodString;
574
- }, z.core.$strip>;
575
- export type CanonicalJudgeExecution = z.infer<typeof canonicalJudgeExecutionSchema>;
576
- export declare const canonicalJudgeProvenanceSchema: z.ZodObject<{
577
- generated_at: z.ZodString;
578
- project_root: z.ZodDefault<z.ZodNullable<z.ZodString>>;
579
- transcript_path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
580
- source_artifact_path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
581
- api_base_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
582
- }, z.core.$strip>;
583
- export type CanonicalJudgeProvenance = z.infer<typeof canonicalJudgeProvenanceSchema>;
584
- export declare const canonicalJudgeVerdictSchema: z.ZodObject<{
585
- schema_version: z.ZodLiteral<1>;
586
- kind: z.ZodLiteral<"sa_judge_verdict">;
587
- business_slug: z.ZodString;
588
- run_id: z.ZodString;
589
- source: z.ZodObject<{
590
- kind: z.ZodEnum<{
591
- conversation: "conversation";
592
- scenario: "scenario";
593
- transcript: "transcript";
594
- }>;
595
- label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
596
- path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
597
- conversation_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
598
- channel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
599
- }, z.core.$strip>;
600
- profile: z.ZodObject<{
601
- profile_id: z.ZodString;
602
- label: z.ZodString;
603
- contract_id: z.ZodString;
604
- contract_version: z.ZodString;
605
- imported_blocks: z.ZodDefault<z.ZodArray<z.ZodObject<{
606
- block_id: z.ZodString;
607
- label: z.ZodString;
608
- scope: z.ZodEnum<{
609
- turn: "turn";
610
- dialog: "dialog";
611
- }>;
612
- params: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
613
- }, z.core.$strip>>>;
614
- }, z.core.$strip>;
615
- execution: z.ZodObject<{
616
- target_id: z.ZodString;
617
- target_kind: z.ZodString;
618
- accepted_verdicts: z.ZodDefault<z.ZodArray<z.ZodEnum<{
619
- pass: "pass";
620
- soft_fail: "soft_fail";
621
- fail: "fail";
622
- inconclusive: "inconclusive";
623
- contract_error: "contract_error";
624
- }>>>;
625
- final_context_level: z.ZodEnum<{
626
- minimal: "minimal";
627
- windowed: "windowed";
628
- full: "full";
629
- }>;
630
- passed: z.ZodBoolean;
631
- summary: z.ZodString;
632
- }, z.core.$strip>;
633
- result: z.ZodObject<{
634
- decision: z.ZodObject<{
635
- verdict: z.ZodEnum<{
636
- pass: "pass";
637
- soft_fail: "soft_fail";
638
- fail: "fail";
639
- inconclusive: "inconclusive";
640
- contract_error: "contract_error";
641
- }>;
642
- confidence: z.ZodNumber;
643
- score: z.ZodNumber;
644
- summary: z.ZodString;
645
- contractId: z.ZodString;
646
- contractVersion: z.ZodString;
647
- contextPacketHash: z.ZodString;
648
- }, z.core.$strip>;
649
- analysis: z.ZodObject<{
650
- matchedExpectations: z.ZodDefault<z.ZodArray<z.ZodObject<{
651
- expectationId: z.ZodString;
652
- status: z.ZodEnum<{
653
- matched: "matched";
654
- missed: "missed";
655
- violated: "violated";
656
- ambiguous: "ambiguous";
657
- }>;
658
- because: z.ZodString;
659
- evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
660
- ref: z.ZodString;
661
- label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
662
- }, z.core.$strip>>>;
663
- }, z.core.$strip>>>;
664
- missedExpectations: z.ZodDefault<z.ZodArray<z.ZodObject<{
665
- expectationId: z.ZodString;
666
- status: z.ZodEnum<{
667
- matched: "matched";
668
- missed: "missed";
669
- violated: "violated";
670
- ambiguous: "ambiguous";
671
- }>;
672
- because: z.ZodString;
673
- evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
674
- ref: z.ZodString;
675
- label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
676
- }, z.core.$strip>>>;
677
- }, z.core.$strip>>>;
678
- violations: z.ZodDefault<z.ZodArray<z.ZodObject<{
679
- expectationId: z.ZodString;
680
- status: z.ZodEnum<{
681
- matched: "matched";
682
- missed: "missed";
683
- violated: "violated";
684
- ambiguous: "ambiguous";
685
- }>;
686
- because: z.ZodString;
687
- evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
688
- ref: z.ZodString;
689
- label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
690
- }, z.core.$strip>>>;
691
- }, z.core.$strip>>>;
692
- ambiguities: z.ZodDefault<z.ZodArray<z.ZodObject<{
693
- expectationId: z.ZodString;
694
- status: z.ZodEnum<{
695
- matched: "matched";
696
- missed: "missed";
697
- violated: "violated";
698
- ambiguous: "ambiguous";
699
- }>;
700
- because: z.ZodString;
701
- evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
702
- ref: z.ZodString;
703
- label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
704
- }, z.core.$strip>>>;
705
- }, z.core.$strip>>>;
706
- missingContextItems: z.ZodDefault<z.ZodArray<z.ZodString>>;
707
- contextUsed: z.ZodEnum<{
708
- minimal: "minimal";
709
- windowed: "windowed";
710
- full: "full";
711
- }>;
712
- needsMoreContext: z.ZodBoolean;
713
- escalationUsed: z.ZodBoolean;
714
- escalationReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
715
- contractErrors: z.ZodDefault<z.ZodArray<z.ZodObject<{
716
- code: z.ZodString;
717
- message: z.ZodString;
718
- evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodObject<{
719
- ref: z.ZodString;
720
- label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
721
- }, z.core.$strip>>>;
722
- }, z.core.$strip>>>;
723
- }, z.core.$strip>;
724
- error: z.ZodDefault<z.ZodNullable<z.ZodObject<{
725
- code: z.ZodString;
726
- message: z.ZodString;
727
- }, z.core.$strip>>>;
728
- }, z.core.$strip>;
729
- metadata: z.ZodObject<{
730
- provider: z.ZodString;
731
- modelId: z.ZodString;
732
- finishReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
733
- latencyMs: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
734
- usage: z.ZodDefault<z.ZodNullable<z.ZodObject<{
735
- inputTokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
736
- outputTokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
737
- totalTokens: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
738
- }, z.core.$strip>>>;
739
- promptHash: z.ZodString;
740
- systemPromptHash: z.ZodString;
741
- userPromptHash: z.ZodString;
742
- }, z.core.$strip>;
743
- provenance: z.ZodObject<{
744
- generated_at: z.ZodString;
745
- project_root: z.ZodDefault<z.ZodNullable<z.ZodString>>;
746
- transcript_path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
747
- source_artifact_path: z.ZodDefault<z.ZodNullable<z.ZodString>>;
748
- api_base_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
749
- }, z.core.$strip>;
750
- }, z.core.$strip>;
751
- export type CanonicalJudgeVerdict = z.infer<typeof canonicalJudgeVerdictSchema>;
752
542
  export declare const canonicalJudgeRuleRunSchema: z.ZodObject<{
753
543
  job_id: z.ZodString;
754
544
  rule_id: z.ZodString;
@@ -762,8 +552,8 @@ export declare const canonicalJudgeRuleRunSchema: z.ZodObject<{
762
552
  }>;
763
553
  weight: z.ZodNumber;
764
554
  operational_status: z.ZodEnum<{
765
- failed: "failed";
766
555
  completed: "completed";
556
+ failed: "failed";
767
557
  }>;
768
558
  worker_verdict: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
769
559
  pass: "pass";
@@ -808,10 +598,10 @@ export declare const canonicalJudgeScorecardReportSchema: z.ZodObject<{
808
598
  }>>;
809
599
  model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
810
600
  reasoning: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
601
+ minimal: "minimal";
811
602
  low: "low";
812
603
  medium: "medium";
813
604
  high: "high";
814
- minimal: "minimal";
815
605
  xhigh: "xhigh";
816
606
  }>>>;
817
607
  concurrency: z.ZodDefault<z.ZodNumber>;
@@ -843,8 +633,8 @@ export declare const canonicalJudgeScorecardReportSchema: z.ZodObject<{
843
633
  }>;
844
634
  weight: z.ZodNumber;
845
635
  operational_status: z.ZodEnum<{
846
- failed: "failed";
847
636
  completed: "completed";
637
+ failed: "failed";
848
638
  }>;
849
639
  worker_verdict: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
850
640
  pass: "pass";
@@ -870,4 +660,264 @@ export declare const canonicalJudgeScorecardReportSchema: z.ZodObject<{
870
660
  generated_at: z.ZodString;
871
661
  }, z.core.$strip>;
872
662
  export type CanonicalJudgeScorecardReport = z.infer<typeof canonicalJudgeScorecardReportSchema>;
663
+ export declare const judgeCompareDeltaKindSchema: z.ZodEnum<{
664
+ preserved: "preserved";
665
+ improved: "improved";
666
+ regressed: "regressed";
667
+ changed: "changed";
668
+ unchanged: "unchanged";
669
+ }>;
670
+ export type JudgeCompareDeltaKind = z.infer<typeof judgeCompareDeltaKindSchema>;
671
+ export declare const canonicalJudgeCompareSideSchema: z.ZodObject<{
672
+ transcript_path: z.ZodString;
673
+ report_path: z.ZodString;
674
+ run_id: z.ZodString;
675
+ transcript_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
676
+ family_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
677
+ run_kind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
678
+ reference: "reference";
679
+ replay: "replay";
680
+ live_export: "live_export";
681
+ }>>>;
682
+ actor_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
683
+ bot: "bot";
684
+ operator: "operator";
685
+ hybrid: "hybrid";
686
+ }>>>;
687
+ conversation_id: z.ZodString;
688
+ verdict: z.ZodEnum<{
689
+ pass: "pass";
690
+ soft_fail: "soft_fail";
691
+ fail: "fail";
692
+ inconclusive: "inconclusive";
693
+ contract_error: "contract_error";
694
+ }>;
695
+ passed: z.ZodBoolean;
696
+ score: z.ZodNumber;
697
+ }, z.core.$strip>;
698
+ export type CanonicalJudgeCompareSide = z.infer<typeof canonicalJudgeCompareSideSchema>;
699
+ export declare const canonicalJudgeCompareRuleDeltaSchema: z.ZodObject<{
700
+ rule_id: z.ZodString;
701
+ classification: z.ZodEnum<{
702
+ preserved: "preserved";
703
+ improved: "improved";
704
+ regressed: "regressed";
705
+ changed: "changed";
706
+ unchanged: "unchanged";
707
+ }>;
708
+ reference_verdict: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
709
+ pass: "pass";
710
+ soft_fail: "soft_fail";
711
+ fail: "fail";
712
+ inconclusive: "inconclusive";
713
+ contract_error: "contract_error";
714
+ }>>>;
715
+ candidate_verdict: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
716
+ pass: "pass";
717
+ soft_fail: "soft_fail";
718
+ fail: "fail";
719
+ inconclusive: "inconclusive";
720
+ contract_error: "contract_error";
721
+ }>>>;
722
+ reference_passed: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
723
+ candidate_passed: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
724
+ reference_score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
725
+ candidate_score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
726
+ score_delta: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
727
+ reference_failed_jobs: z.ZodDefault<z.ZodNumber>;
728
+ candidate_failed_jobs: z.ZodDefault<z.ZodNumber>;
729
+ }, z.core.$strip>;
730
+ export type CanonicalJudgeCompareRuleDelta = z.infer<typeof canonicalJudgeCompareRuleDeltaSchema>;
731
+ export declare const canonicalJudgeCompareReportSchema: z.ZodObject<{
732
+ schema_version: z.ZodLiteral<1>;
733
+ kind: z.ZodLiteral<"sa_judge_compare_report">;
734
+ run_id: z.ZodString;
735
+ business_slug: z.ZodString;
736
+ scorecard_id: z.ZodString;
737
+ profile_root: z.ZodString;
738
+ profile_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
739
+ profile_repository_url: z.ZodDefault<z.ZodNullable<z.ZodString>>;
740
+ reference: z.ZodObject<{
741
+ transcript_path: z.ZodString;
742
+ report_path: z.ZodString;
743
+ run_id: z.ZodString;
744
+ transcript_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
745
+ family_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
746
+ run_kind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
747
+ reference: "reference";
748
+ replay: "replay";
749
+ live_export: "live_export";
750
+ }>>>;
751
+ actor_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
752
+ bot: "bot";
753
+ operator: "operator";
754
+ hybrid: "hybrid";
755
+ }>>>;
756
+ conversation_id: z.ZodString;
757
+ verdict: z.ZodEnum<{
758
+ pass: "pass";
759
+ soft_fail: "soft_fail";
760
+ fail: "fail";
761
+ inconclusive: "inconclusive";
762
+ contract_error: "contract_error";
763
+ }>;
764
+ passed: z.ZodBoolean;
765
+ score: z.ZodNumber;
766
+ }, z.core.$strip>;
767
+ candidate: z.ZodObject<{
768
+ transcript_path: z.ZodString;
769
+ report_path: z.ZodString;
770
+ run_id: z.ZodString;
771
+ transcript_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
772
+ family_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
773
+ run_kind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
774
+ reference: "reference";
775
+ replay: "replay";
776
+ live_export: "live_export";
777
+ }>>>;
778
+ actor_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
779
+ bot: "bot";
780
+ operator: "operator";
781
+ hybrid: "hybrid";
782
+ }>>>;
783
+ conversation_id: z.ZodString;
784
+ verdict: z.ZodEnum<{
785
+ pass: "pass";
786
+ soft_fail: "soft_fail";
787
+ fail: "fail";
788
+ inconclusive: "inconclusive";
789
+ contract_error: "contract_error";
790
+ }>;
791
+ passed: z.ZodBoolean;
792
+ score: z.ZodNumber;
793
+ }, z.core.$strip>;
794
+ delta: z.ZodObject<{
795
+ score_delta: z.ZodNumber;
796
+ verdict_changed: z.ZodBoolean;
797
+ passed_changed: z.ZodBoolean;
798
+ preserved_rule_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
799
+ improved_rule_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
800
+ regressed_rule_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
801
+ changed_rule_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
802
+ unchanged_rule_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
803
+ }, z.core.$strip>;
804
+ rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
805
+ rule_id: z.ZodString;
806
+ classification: z.ZodEnum<{
807
+ preserved: "preserved";
808
+ improved: "improved";
809
+ regressed: "regressed";
810
+ changed: "changed";
811
+ unchanged: "unchanged";
812
+ }>;
813
+ reference_verdict: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
814
+ pass: "pass";
815
+ soft_fail: "soft_fail";
816
+ fail: "fail";
817
+ inconclusive: "inconclusive";
818
+ contract_error: "contract_error";
819
+ }>>>;
820
+ candidate_verdict: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
821
+ pass: "pass";
822
+ soft_fail: "soft_fail";
823
+ fail: "fail";
824
+ inconclusive: "inconclusive";
825
+ contract_error: "contract_error";
826
+ }>>>;
827
+ reference_passed: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
828
+ candidate_passed: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
829
+ reference_score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
830
+ candidate_score: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
831
+ score_delta: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
832
+ reference_failed_jobs: z.ZodDefault<z.ZodNumber>;
833
+ candidate_failed_jobs: z.ZodDefault<z.ZodNumber>;
834
+ }, z.core.$strip>>>;
835
+ generated_at: z.ZodString;
836
+ }, z.core.$strip>;
837
+ export type CanonicalJudgeCompareReport = z.infer<typeof canonicalJudgeCompareReportSchema>;
838
+ export declare const canonicalJudgeTranscriptFamilyMemberSchema: z.ZodObject<{
839
+ transcript_path: z.ZodString;
840
+ transcript_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
841
+ conversation_id: z.ZodString;
842
+ channel: z.ZodString;
843
+ thread_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
844
+ source_type: z.ZodEnum<{
845
+ exported_live_conversation: "exported_live_conversation";
846
+ scenario_fixture: "scenario_fixture";
847
+ manual_file: "manual_file";
848
+ telegram_export_html: "telegram_export_html";
849
+ }>;
850
+ source_environment: z.ZodDefault<z.ZodNullable<z.ZodString>>;
851
+ source_exported_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
852
+ run_kind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
853
+ reference: "reference";
854
+ replay: "replay";
855
+ live_export: "live_export";
856
+ }>>>;
857
+ actor_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
858
+ bot: "bot";
859
+ operator: "operator";
860
+ hybrid: "hybrid";
861
+ }>>>;
862
+ based_on_transcript_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
863
+ based_on_conversation_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
864
+ profile_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
865
+ catalog_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
866
+ rules_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
867
+ prompt_catalog_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
868
+ platform_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
869
+ generated_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
870
+ }, z.core.$strip>;
871
+ export type CanonicalJudgeTranscriptFamilyMember = z.infer<typeof canonicalJudgeTranscriptFamilyMemberSchema>;
872
+ export declare const canonicalJudgeTranscriptFamilyReportSchema: z.ZodObject<{
873
+ schema_version: z.ZodLiteral<1>;
874
+ kind: z.ZodLiteral<"sa_judge_transcript_family_report">;
875
+ run_id: z.ZodString;
876
+ business_slug: z.ZodString;
877
+ profile_root: z.ZodString;
878
+ anchor_transcript_path: z.ZodString;
879
+ family_id: z.ZodString;
880
+ transcript_ids: z.ZodDefault<z.ZodArray<z.ZodString>>;
881
+ totals: z.ZodObject<{
882
+ member_count: z.ZodNumber;
883
+ reference_count: z.ZodNumber;
884
+ replay_count: z.ZodNumber;
885
+ live_export_count: z.ZodNumber;
886
+ }, z.core.$strip>;
887
+ members: z.ZodDefault<z.ZodArray<z.ZodObject<{
888
+ transcript_path: z.ZodString;
889
+ transcript_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
890
+ conversation_id: z.ZodString;
891
+ channel: z.ZodString;
892
+ thread_ref: z.ZodDefault<z.ZodNullable<z.ZodString>>;
893
+ source_type: z.ZodEnum<{
894
+ exported_live_conversation: "exported_live_conversation";
895
+ scenario_fixture: "scenario_fixture";
896
+ manual_file: "manual_file";
897
+ telegram_export_html: "telegram_export_html";
898
+ }>;
899
+ source_environment: z.ZodDefault<z.ZodNullable<z.ZodString>>;
900
+ source_exported_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
901
+ run_kind: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
902
+ reference: "reference";
903
+ replay: "replay";
904
+ live_export: "live_export";
905
+ }>>>;
906
+ actor_mode: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
907
+ bot: "bot";
908
+ operator: "operator";
909
+ hybrid: "hybrid";
910
+ }>>>;
911
+ based_on_transcript_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
912
+ based_on_conversation_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
913
+ profile_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
914
+ catalog_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
915
+ rules_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
916
+ prompt_catalog_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
917
+ platform_commit_sha: z.ZodDefault<z.ZodNullable<z.ZodString>>;
918
+ generated_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
919
+ }, z.core.$strip>>>;
920
+ generated_at: z.ZodString;
921
+ }, z.core.$strip>;
922
+ export type CanonicalJudgeTranscriptFamilyReport = z.infer<typeof canonicalJudgeTranscriptFamilyReportSchema>;
873
923
  //# sourceMappingURL=judge-files.d.ts.map