@kortyx/telemetry-contracts 0.8.0 → 0.9.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.
- package/CHANGELOG.md +7 -0
- package/dist/index.d.ts +292 -2
- package/dist/index.js +486 -362
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.0](https://github.com/kortyx-io/kortyx/compare/telemetry-contracts-v0.8.0...telemetry-contracts-v0.9.0) (2026-09-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **tools:** add useTool and first-class Studio observability ([#215](https://github.com/kortyx-io/kortyx/issues/215)) ([224c92d](https://github.com/kortyx-io/kortyx/commit/224c92d73caead320dd14582d8b624efc3252c9f))
|
|
9
|
+
|
|
3
10
|
## [0.8.0](https://github.com/kortyx-io/kortyx/compare/telemetry-contracts-v0.7.0...telemetry-contracts-v0.8.0) (2026-09-16)
|
|
4
11
|
|
|
5
12
|
|
package/dist/index.d.ts
CHANGED
|
@@ -211,6 +211,107 @@ type UserFeedbackRequest = z.infer<typeof UserFeedbackRequestSchema>;
|
|
|
211
211
|
type StudioReviewRequest = z.infer<typeof StudioReviewRequestSchema>;
|
|
212
212
|
declare function summarizeUserFeedback(scores: readonly StudioScore[]): FeedbackSummary;
|
|
213
213
|
|
|
214
|
+
declare const ToolOutcomeSchema: z.ZodEnum<{
|
|
215
|
+
success: "success";
|
|
216
|
+
cancelled: "cancelled";
|
|
217
|
+
denied: "denied";
|
|
218
|
+
fault: "fault";
|
|
219
|
+
}>;
|
|
220
|
+
declare const ToolObservationSchema: z.ZodObject<{
|
|
221
|
+
version: z.ZodLiteral<1>;
|
|
222
|
+
name: z.ZodString;
|
|
223
|
+
toolCallId: z.ZodString;
|
|
224
|
+
attemptId: z.ZodString;
|
|
225
|
+
callingMode: z.ZodEnum<{
|
|
226
|
+
model: "model";
|
|
227
|
+
direct: "direct";
|
|
228
|
+
}>;
|
|
229
|
+
executed: z.ZodBoolean;
|
|
230
|
+
outcome: z.ZodOptional<z.ZodEnum<{
|
|
231
|
+
success: "success";
|
|
232
|
+
cancelled: "cancelled";
|
|
233
|
+
denied: "denied";
|
|
234
|
+
fault: "fault";
|
|
235
|
+
}>>;
|
|
236
|
+
denialCode: z.ZodOptional<z.ZodString>;
|
|
237
|
+
errorType: z.ZodOptional<z.ZodString>;
|
|
238
|
+
errorMessage: z.ZodOptional<z.ZodString>;
|
|
239
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
240
|
+
workflowId: z.ZodOptional<z.ZodString>;
|
|
241
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
242
|
+
workflowRevisionId: z.ZodOptional<z.ZodString>;
|
|
243
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
244
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
245
|
+
parentInvocationId: z.ZodOptional<z.ZodString>;
|
|
246
|
+
branchId: z.ZodOptional<z.ZodString>;
|
|
247
|
+
observationKind: z.ZodOptional<z.ZodEnum<{
|
|
248
|
+
reused: "reused";
|
|
249
|
+
waiting: "waiting";
|
|
250
|
+
}>>;
|
|
251
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
252
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
253
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
254
|
+
invocationId: z.ZodOptional<z.ZodString>;
|
|
255
|
+
branchId: z.ZodOptional<z.ZodString>;
|
|
256
|
+
toolCallId: z.ZodString;
|
|
257
|
+
attemptId: z.ZodString;
|
|
258
|
+
}, z.core.$strict>>;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
/** Topology contains safe capability descriptions, never executable factories. */
|
|
261
|
+
declare const WorkflowToolSchema: z.ZodObject<{
|
|
262
|
+
name: z.ZodString;
|
|
263
|
+
description: z.ZodOptional<z.ZodString>;
|
|
264
|
+
callingMode: z.ZodEnum<{
|
|
265
|
+
model: "model";
|
|
266
|
+
direct: "direct";
|
|
267
|
+
}>;
|
|
268
|
+
provenance: z.ZodEnum<{
|
|
269
|
+
source: "source";
|
|
270
|
+
observed: "observed";
|
|
271
|
+
}>;
|
|
272
|
+
inputFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
273
|
+
name: z.ZodString;
|
|
274
|
+
type: z.ZodString;
|
|
275
|
+
required: z.ZodBoolean;
|
|
276
|
+
}, z.core.$strict>>>;
|
|
277
|
+
}, z.core.$strict>;
|
|
278
|
+
declare const ToolDiscoverySchema: z.ZodObject<{
|
|
279
|
+
status: z.ZodEnum<{
|
|
280
|
+
complete: "complete";
|
|
281
|
+
unresolved: "unresolved";
|
|
282
|
+
}>;
|
|
283
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
284
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
285
|
+
}, z.core.$strict>;
|
|
286
|
+
declare const StudioToolSchema: z.ZodObject<{
|
|
287
|
+
name: z.ZodString;
|
|
288
|
+
description: z.ZodOptional<z.ZodString>;
|
|
289
|
+
provenance: z.ZodEnum<{
|
|
290
|
+
source: "source";
|
|
291
|
+
observed: "observed";
|
|
292
|
+
}>;
|
|
293
|
+
inputFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
294
|
+
name: z.ZodString;
|
|
295
|
+
type: z.ZodString;
|
|
296
|
+
required: z.ZodBoolean;
|
|
297
|
+
}, z.core.$strict>>>;
|
|
298
|
+
callingMode: z.ZodEnum<{
|
|
299
|
+
model: "model";
|
|
300
|
+
unknown: "unknown";
|
|
301
|
+
direct: "direct";
|
|
302
|
+
}>;
|
|
303
|
+
calls: z.ZodNumber;
|
|
304
|
+
replays: z.ZodNumber;
|
|
305
|
+
successes: z.ZodNumber;
|
|
306
|
+
denials: z.ZodNumber;
|
|
307
|
+
faults: z.ZodNumber;
|
|
308
|
+
cancellations: z.ZodNumber;
|
|
309
|
+
p50DurationMs: z.ZodNullable<z.ZodNumber>;
|
|
310
|
+
p95DurationMs: z.ZodNullable<z.ZodNumber>;
|
|
311
|
+
}, z.core.$strict>;
|
|
312
|
+
type WorkflowTool = z.infer<typeof WorkflowToolSchema>;
|
|
313
|
+
type StudioTool = z.infer<typeof StudioToolSchema>;
|
|
314
|
+
|
|
214
315
|
declare const StudioReleaseVersionSchema: z.ZodString;
|
|
215
316
|
declare const StudioReleaseDeploymentSchema: z.ZodObject<{
|
|
216
317
|
strategy: z.ZodEnum<{
|
|
@@ -358,7 +459,7 @@ type StudioWorkflowCall = {
|
|
|
358
459
|
/** Logical calls are ordered by persisted sequence, independently within each branch. */
|
|
359
460
|
declare function projectWorkflowCalls(events: StudioDetailEvent[]): StudioWorkflowCall[];
|
|
360
461
|
|
|
361
|
-
declare const TELEMETRY_EVENT_TYPES: readonly ["span.started", "span.ended", "span.failed", "generation.completed", "tool.started", "tool.completed", "tool.failed", "response.completed", "interrupt.created", "interrupt.resolved", "interrupt.expired", "interrupt.cancelled", "run.cancelled", "run.limit_reached", "workflow.transitioned", "workflow.call.started", "workflow.call.suspended", "workflow.call.resumed", "workflow.call.completed", "workflow.call.failed", "workflow.call.reused", "workflow.call.restored", "session.checkpointed", "session.forked", "session.rolled_back"];
|
|
462
|
+
declare const TELEMETRY_EVENT_TYPES: readonly ["span.started", "span.ended", "span.failed", "generation.completed", "tool.started", "tool.completed", "tool.failed", "tool.denied", "tool.cancelled", "tool.reused", "tool.waiting", "tool.suspended", "response.completed", "interrupt.created", "interrupt.resolved", "interrupt.expired", "interrupt.cancelled", "run.cancelled", "run.limit_reached", "workflow.transitioned", "workflow.call.started", "workflow.call.suspended", "workflow.call.resumed", "workflow.call.completed", "workflow.call.failed", "workflow.call.reused", "workflow.call.restored", "session.checkpointed", "session.forked", "session.rolled_back"];
|
|
362
463
|
declare const TelemetryServiceSchema: z.ZodObject<{
|
|
363
464
|
name: z.ZodString;
|
|
364
465
|
deploymentRef: z.ZodOptional<z.ZodString>;
|
|
@@ -370,6 +471,31 @@ declare const WorkflowTopologyNodeSchema: z.ZodObject<{
|
|
|
370
471
|
provider: z.ZodOptional<z.ZodString>;
|
|
371
472
|
model: z.ZodOptional<z.ZodString>;
|
|
372
473
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
474
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
475
|
+
name: z.ZodString;
|
|
476
|
+
description: z.ZodOptional<z.ZodString>;
|
|
477
|
+
callingMode: z.ZodEnum<{
|
|
478
|
+
model: "model";
|
|
479
|
+
direct: "direct";
|
|
480
|
+
}>;
|
|
481
|
+
provenance: z.ZodEnum<{
|
|
482
|
+
source: "source";
|
|
483
|
+
observed: "observed";
|
|
484
|
+
}>;
|
|
485
|
+
inputFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
486
|
+
name: z.ZodString;
|
|
487
|
+
type: z.ZodString;
|
|
488
|
+
required: z.ZodBoolean;
|
|
489
|
+
}, z.core.$strict>>>;
|
|
490
|
+
}, z.core.$strict>>>;
|
|
491
|
+
toolDiscovery: z.ZodOptional<z.ZodObject<{
|
|
492
|
+
status: z.ZodEnum<{
|
|
493
|
+
complete: "complete";
|
|
494
|
+
unresolved: "unresolved";
|
|
495
|
+
}>;
|
|
496
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
497
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
498
|
+
}, z.core.$strict>>;
|
|
373
499
|
}, z.core.$strict>;
|
|
374
500
|
declare const WorkflowTopologyEdgeSchema: z.ZodObject<{
|
|
375
501
|
sourceNodeId: z.ZodString;
|
|
@@ -410,6 +536,31 @@ declare const EnsureWorkflowTopologyRequestSchema: z.ZodObject<{
|
|
|
410
536
|
provider: z.ZodOptional<z.ZodString>;
|
|
411
537
|
model: z.ZodOptional<z.ZodString>;
|
|
412
538
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
539
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
540
|
+
name: z.ZodString;
|
|
541
|
+
description: z.ZodOptional<z.ZodString>;
|
|
542
|
+
callingMode: z.ZodEnum<{
|
|
543
|
+
model: "model";
|
|
544
|
+
direct: "direct";
|
|
545
|
+
}>;
|
|
546
|
+
provenance: z.ZodEnum<{
|
|
547
|
+
source: "source";
|
|
548
|
+
observed: "observed";
|
|
549
|
+
}>;
|
|
550
|
+
inputFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
551
|
+
name: z.ZodString;
|
|
552
|
+
type: z.ZodString;
|
|
553
|
+
required: z.ZodBoolean;
|
|
554
|
+
}, z.core.$strict>>>;
|
|
555
|
+
}, z.core.$strict>>>;
|
|
556
|
+
toolDiscovery: z.ZodOptional<z.ZodObject<{
|
|
557
|
+
status: z.ZodEnum<{
|
|
558
|
+
complete: "complete";
|
|
559
|
+
unresolved: "unresolved";
|
|
560
|
+
}>;
|
|
561
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
562
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
563
|
+
}, z.core.$strict>>;
|
|
413
564
|
}, z.core.$strict>>;
|
|
414
565
|
edges: z.ZodArray<z.ZodObject<{
|
|
415
566
|
sourceNodeId: z.ZodString;
|
|
@@ -444,6 +595,11 @@ declare const TelemetryEventTypeSchema: z.ZodEnum<{
|
|
|
444
595
|
"tool.started": "tool.started";
|
|
445
596
|
"tool.completed": "tool.completed";
|
|
446
597
|
"tool.failed": "tool.failed";
|
|
598
|
+
"tool.denied": "tool.denied";
|
|
599
|
+
"tool.cancelled": "tool.cancelled";
|
|
600
|
+
"tool.reused": "tool.reused";
|
|
601
|
+
"tool.waiting": "tool.waiting";
|
|
602
|
+
"tool.suspended": "tool.suspended";
|
|
447
603
|
"response.completed": "response.completed";
|
|
448
604
|
"interrupt.created": "interrupt.created";
|
|
449
605
|
"interrupt.resolved": "interrupt.resolved";
|
|
@@ -500,6 +656,11 @@ declare const TelemetryEventSchema: z.ZodObject<{
|
|
|
500
656
|
"tool.started": "tool.started";
|
|
501
657
|
"tool.completed": "tool.completed";
|
|
502
658
|
"tool.failed": "tool.failed";
|
|
659
|
+
"tool.denied": "tool.denied";
|
|
660
|
+
"tool.cancelled": "tool.cancelled";
|
|
661
|
+
"tool.reused": "tool.reused";
|
|
662
|
+
"tool.waiting": "tool.waiting";
|
|
663
|
+
"tool.suspended": "tool.suspended";
|
|
503
664
|
"response.completed": "response.completed";
|
|
504
665
|
"interrupt.created": "interrupt.created";
|
|
505
666
|
"interrupt.resolved": "interrupt.resolved";
|
|
@@ -559,6 +720,11 @@ declare const TelemetryEventBatchSchema: z.ZodObject<{
|
|
|
559
720
|
"tool.started": "tool.started";
|
|
560
721
|
"tool.completed": "tool.completed";
|
|
561
722
|
"tool.failed": "tool.failed";
|
|
723
|
+
"tool.denied": "tool.denied";
|
|
724
|
+
"tool.cancelled": "tool.cancelled";
|
|
725
|
+
"tool.reused": "tool.reused";
|
|
726
|
+
"tool.waiting": "tool.waiting";
|
|
727
|
+
"tool.suspended": "tool.suspended";
|
|
562
728
|
"response.completed": "response.completed";
|
|
563
729
|
"interrupt.created": "interrupt.created";
|
|
564
730
|
"interrupt.resolved": "interrupt.resolved";
|
|
@@ -969,6 +1135,7 @@ declare const StudioPricingSourceSchema: z.ZodNullable<z.ZodEnum<{
|
|
|
969
1135
|
"default-rate-card": "default-rate-card";
|
|
970
1136
|
}>>;
|
|
971
1137
|
declare const StudioChangeResourceSchema: z.ZodEnum<{
|
|
1138
|
+
workflows: "workflows";
|
|
972
1139
|
runs: "runs";
|
|
973
1140
|
sessions: "sessions";
|
|
974
1141
|
interrupts: "interrupts";
|
|
@@ -980,6 +1147,7 @@ declare const StudioChangeSchema: z.ZodObject<{
|
|
|
980
1147
|
organizationId: z.ZodString;
|
|
981
1148
|
projectId: z.ZodString;
|
|
982
1149
|
resources: z.ZodArray<z.ZodEnum<{
|
|
1150
|
+
workflows: "workflows";
|
|
983
1151
|
runs: "runs";
|
|
984
1152
|
sessions: "sessions";
|
|
985
1153
|
interrupts: "interrupts";
|
|
@@ -1186,6 +1354,11 @@ declare const StudioDetailEventSchema: z.ZodObject<{
|
|
|
1186
1354
|
"tool.started": "tool.started";
|
|
1187
1355
|
"tool.completed": "tool.completed";
|
|
1188
1356
|
"tool.failed": "tool.failed";
|
|
1357
|
+
"tool.denied": "tool.denied";
|
|
1358
|
+
"tool.cancelled": "tool.cancelled";
|
|
1359
|
+
"tool.reused": "tool.reused";
|
|
1360
|
+
"tool.waiting": "tool.waiting";
|
|
1361
|
+
"tool.suspended": "tool.suspended";
|
|
1189
1362
|
"response.completed": "response.completed";
|
|
1190
1363
|
"interrupt.created": "interrupt.created";
|
|
1191
1364
|
"interrupt.resolved": "interrupt.resolved";
|
|
@@ -1225,6 +1398,40 @@ declare const StudioDetailEventSchema: z.ZodObject<{
|
|
|
1225
1398
|
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1226
1399
|
}, z.core.$strict>;
|
|
1227
1400
|
declare const StudioWorkflowNodeSchema: z.ZodObject<{
|
|
1401
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1402
|
+
name: z.ZodString;
|
|
1403
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1404
|
+
provenance: z.ZodEnum<{
|
|
1405
|
+
source: "source";
|
|
1406
|
+
observed: "observed";
|
|
1407
|
+
}>;
|
|
1408
|
+
inputFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1409
|
+
name: z.ZodString;
|
|
1410
|
+
type: z.ZodString;
|
|
1411
|
+
required: z.ZodBoolean;
|
|
1412
|
+
}, z.core.$strict>>>;
|
|
1413
|
+
callingMode: z.ZodEnum<{
|
|
1414
|
+
model: "model";
|
|
1415
|
+
unknown: "unknown";
|
|
1416
|
+
direct: "direct";
|
|
1417
|
+
}>;
|
|
1418
|
+
calls: z.ZodNumber;
|
|
1419
|
+
replays: z.ZodNumber;
|
|
1420
|
+
successes: z.ZodNumber;
|
|
1421
|
+
denials: z.ZodNumber;
|
|
1422
|
+
faults: z.ZodNumber;
|
|
1423
|
+
cancellations: z.ZodNumber;
|
|
1424
|
+
p50DurationMs: z.ZodNullable<z.ZodNumber>;
|
|
1425
|
+
p95DurationMs: z.ZodNullable<z.ZodNumber>;
|
|
1426
|
+
}, z.core.$strict>>>;
|
|
1427
|
+
toolDiscovery: z.ZodOptional<z.ZodObject<{
|
|
1428
|
+
status: z.ZodEnum<{
|
|
1429
|
+
complete: "complete";
|
|
1430
|
+
unresolved: "unresolved";
|
|
1431
|
+
}>;
|
|
1432
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
1433
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1434
|
+
}, z.core.$strict>>;
|
|
1228
1435
|
id: z.ZodString;
|
|
1229
1436
|
label: z.ZodString;
|
|
1230
1437
|
type: z.ZodNullable<z.ZodString>;
|
|
@@ -1300,6 +1507,40 @@ declare const StudioWorkflowSchema: z.ZodObject<{
|
|
|
1300
1507
|
currency: z.ZodNullable<z.ZodString>;
|
|
1301
1508
|
}, z.core.$strict>;
|
|
1302
1509
|
nodes: z.ZodArray<z.ZodObject<{
|
|
1510
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1511
|
+
name: z.ZodString;
|
|
1512
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1513
|
+
provenance: z.ZodEnum<{
|
|
1514
|
+
source: "source";
|
|
1515
|
+
observed: "observed";
|
|
1516
|
+
}>;
|
|
1517
|
+
inputFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1518
|
+
name: z.ZodString;
|
|
1519
|
+
type: z.ZodString;
|
|
1520
|
+
required: z.ZodBoolean;
|
|
1521
|
+
}, z.core.$strict>>>;
|
|
1522
|
+
callingMode: z.ZodEnum<{
|
|
1523
|
+
model: "model";
|
|
1524
|
+
unknown: "unknown";
|
|
1525
|
+
direct: "direct";
|
|
1526
|
+
}>;
|
|
1527
|
+
calls: z.ZodNumber;
|
|
1528
|
+
replays: z.ZodNumber;
|
|
1529
|
+
successes: z.ZodNumber;
|
|
1530
|
+
denials: z.ZodNumber;
|
|
1531
|
+
faults: z.ZodNumber;
|
|
1532
|
+
cancellations: z.ZodNumber;
|
|
1533
|
+
p50DurationMs: z.ZodNullable<z.ZodNumber>;
|
|
1534
|
+
p95DurationMs: z.ZodNullable<z.ZodNumber>;
|
|
1535
|
+
}, z.core.$strict>>>;
|
|
1536
|
+
toolDiscovery: z.ZodOptional<z.ZodObject<{
|
|
1537
|
+
status: z.ZodEnum<{
|
|
1538
|
+
complete: "complete";
|
|
1539
|
+
unresolved: "unresolved";
|
|
1540
|
+
}>;
|
|
1541
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
1542
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1543
|
+
}, z.core.$strict>>;
|
|
1303
1544
|
id: z.ZodString;
|
|
1304
1545
|
label: z.ZodString;
|
|
1305
1546
|
type: z.ZodNullable<z.ZodString>;
|
|
@@ -1682,6 +1923,11 @@ declare const StudioRunDetailResponseSchema: z.ZodObject<{
|
|
|
1682
1923
|
"tool.started": "tool.started";
|
|
1683
1924
|
"tool.completed": "tool.completed";
|
|
1684
1925
|
"tool.failed": "tool.failed";
|
|
1926
|
+
"tool.denied": "tool.denied";
|
|
1927
|
+
"tool.cancelled": "tool.cancelled";
|
|
1928
|
+
"tool.reused": "tool.reused";
|
|
1929
|
+
"tool.waiting": "tool.waiting";
|
|
1930
|
+
"tool.suspended": "tool.suspended";
|
|
1685
1931
|
"response.completed": "response.completed";
|
|
1686
1932
|
"interrupt.created": "interrupt.created";
|
|
1687
1933
|
"interrupt.resolved": "interrupt.resolved";
|
|
@@ -1967,6 +2213,11 @@ declare const StudioSessionDetailResponseSchema: z.ZodObject<{
|
|
|
1967
2213
|
"tool.started": "tool.started";
|
|
1968
2214
|
"tool.completed": "tool.completed";
|
|
1969
2215
|
"tool.failed": "tool.failed";
|
|
2216
|
+
"tool.denied": "tool.denied";
|
|
2217
|
+
"tool.cancelled": "tool.cancelled";
|
|
2218
|
+
"tool.reused": "tool.reused";
|
|
2219
|
+
"tool.waiting": "tool.waiting";
|
|
2220
|
+
"tool.suspended": "tool.suspended";
|
|
1970
2221
|
"response.completed": "response.completed";
|
|
1971
2222
|
"interrupt.created": "interrupt.created";
|
|
1972
2223
|
"interrupt.resolved": "interrupt.resolved";
|
|
@@ -2126,6 +2377,11 @@ declare const StudioInterruptDetailResponseSchema: z.ZodObject<{
|
|
|
2126
2377
|
"tool.started": "tool.started";
|
|
2127
2378
|
"tool.completed": "tool.completed";
|
|
2128
2379
|
"tool.failed": "tool.failed";
|
|
2380
|
+
"tool.denied": "tool.denied";
|
|
2381
|
+
"tool.cancelled": "tool.cancelled";
|
|
2382
|
+
"tool.reused": "tool.reused";
|
|
2383
|
+
"tool.waiting": "tool.waiting";
|
|
2384
|
+
"tool.suspended": "tool.suspended";
|
|
2129
2385
|
"response.completed": "response.completed";
|
|
2130
2386
|
"interrupt.created": "interrupt.created";
|
|
2131
2387
|
"interrupt.resolved": "interrupt.resolved";
|
|
@@ -2321,6 +2577,40 @@ declare const StudioWorkflowsResponseSchema: z.ZodObject<{
|
|
|
2321
2577
|
currency: z.ZodNullable<z.ZodString>;
|
|
2322
2578
|
}, z.core.$strict>;
|
|
2323
2579
|
nodes: z.ZodArray<z.ZodObject<{
|
|
2580
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2581
|
+
name: z.ZodString;
|
|
2582
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2583
|
+
provenance: z.ZodEnum<{
|
|
2584
|
+
source: "source";
|
|
2585
|
+
observed: "observed";
|
|
2586
|
+
}>;
|
|
2587
|
+
inputFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2588
|
+
name: z.ZodString;
|
|
2589
|
+
type: z.ZodString;
|
|
2590
|
+
required: z.ZodBoolean;
|
|
2591
|
+
}, z.core.$strict>>>;
|
|
2592
|
+
callingMode: z.ZodEnum<{
|
|
2593
|
+
model: "model";
|
|
2594
|
+
unknown: "unknown";
|
|
2595
|
+
direct: "direct";
|
|
2596
|
+
}>;
|
|
2597
|
+
calls: z.ZodNumber;
|
|
2598
|
+
replays: z.ZodNumber;
|
|
2599
|
+
successes: z.ZodNumber;
|
|
2600
|
+
denials: z.ZodNumber;
|
|
2601
|
+
faults: z.ZodNumber;
|
|
2602
|
+
cancellations: z.ZodNumber;
|
|
2603
|
+
p50DurationMs: z.ZodNullable<z.ZodNumber>;
|
|
2604
|
+
p95DurationMs: z.ZodNullable<z.ZodNumber>;
|
|
2605
|
+
}, z.core.$strict>>>;
|
|
2606
|
+
toolDiscovery: z.ZodOptional<z.ZodObject<{
|
|
2607
|
+
status: z.ZodEnum<{
|
|
2608
|
+
complete: "complete";
|
|
2609
|
+
unresolved: "unresolved";
|
|
2610
|
+
}>;
|
|
2611
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
2612
|
+
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2613
|
+
}, z.core.$strict>>;
|
|
2324
2614
|
id: z.ZodString;
|
|
2325
2615
|
label: z.ZodString;
|
|
2326
2616
|
type: z.ZodNullable<z.ZodString>;
|
|
@@ -2461,4 +2751,4 @@ type StudioWorkflowsResponse = z.infer<typeof StudioWorkflowsResponseSchema>;
|
|
|
2461
2751
|
type StudioCatalogsResponse = z.infer<typeof StudioCatalogsResponseSchema>;
|
|
2462
2752
|
type StudioContextResponse = z.infer<typeof StudioContextResponseSchema>;
|
|
2463
2753
|
|
|
2464
|
-
export { ClearScoreResponseSchema, ClearUserFeedbackRequestSchema, type EnsureWorkflowTopologyRequest, EnsureWorkflowTopologyRequestSchema, type EnsureWorkflowTopologyResponse, EnsureWorkflowTopologyResponseSchema, FEEDBACK_FILTERS, FeedbackReasonSchema, type FeedbackSummary, FeedbackSummarySchema, type KortyxTelemetryEvent, type KortyxTelemetryEventType, type KortyxTelemetryService, type KortyxWorkflowTopologyEdge, type KortyxWorkflowTopologyNode, type KortyxWorkflowTopologyTransition, ReviewVerdictSchema, STUDIO_TIME_RANGES, type StudioCatalogsResponse, StudioCatalogsResponseSchema, type StudioChange, type StudioChangeResource, StudioChangeResourceSchema, StudioChangeSchema, type StudioContextResponse, StudioContextResponseSchema, type StudioDetailEvent, StudioDetailEventSchema, type StudioInterrupt, type StudioInterruptDetailResponse, StudioInterruptDetailResponseSchema, type StudioInterruptInteractionMode, StudioInterruptInteractionModeSchema, type StudioInterruptOption, StudioInterruptOptionSchema, StudioInterruptSchema, type StudioInterruptStatus, StudioInterruptStatusSchema, type StudioInterruptType, StudioInterruptTypeSchema, type StudioInterruptsResponse, StudioInterruptsResponseSchema, type StudioMetric, StudioMetricSchema, type StudioPricingSource, StudioPricingSourceSchema, type StudioPricingStatus, StudioPricingStatusSchema, type StudioRelease, StudioReleaseDeploymentSchema, StudioReleaseSchema, StudioReleaseVersionSchema, type StudioResumeOutcome, StudioResumeOutcomeSchema, type StudioReviewRequest, StudioReviewRequestSchema, type StudioRun, type StudioRunDetailResponse, StudioRunDetailResponseSchema, StudioRunSchema, type StudioRunStatus, StudioRunStatusSchema, type StudioRunsResponse, StudioRunsResponseSchema, type StudioScore, StudioScoreResponseSchema, StudioScoreSchema, type StudioSession, type StudioSessionDetailResponse, StudioSessionDetailResponseSchema, StudioSessionSchema, type StudioSessionsResponse, StudioSessionsResponseSchema, type StudioTimeRange, type StudioTimeRangeContext, StudioTimeRangeContextSchema, StudioTimeRangeQuerySchema, type StudioTimeRangeResolution, StudioTimeRangeSchema, type StudioUpdateOperation, StudioUpdateOperationSchema, type StudioUpdateSettings, StudioUpdateSettingsSchema, type StudioUpdateStatus, StudioUpdateStatusSchema, type StudioWorkflow, type StudioWorkflowCall, type StudioWorkflowHealth, StudioWorkflowHealthSchema, type StudioWorkflowInternalEdge, StudioWorkflowInternalEdgeSchema, type StudioWorkflowNode, StudioWorkflowNodeSchema, StudioWorkflowSchema, type StudioWorkflowTransition, StudioWorkflowTransitionSchema, type StudioWorkflowsResponse, StudioWorkflowsResponseSchema, TELEMETRY_EVENT_TYPES, type TelemetryEventBatch, type TelemetryEventBatchResponse, TelemetryEventBatchResponseSchema, TelemetryEventBatchSchema, TelemetryEventSchema, TelemetryEventTypeSchema, type TelemetryPricingHint, TelemetryPricingHintSchema, type TelemetryPricingLineItem, TelemetryPricingLineItemSchema, type TelemetryPricingSource, TelemetryPricingSourceSchema, type TelemetryPricingUnit, TelemetryPricingUnitSchema, type TelemetryPricingUsageType, TelemetryPricingUsageTypeSchema, TelemetryServiceSchema, type TelemetryUnitPrice, TelemetryUnitPriceSchema, type TelemetryUsageItem, TelemetryUsageItemSchema, type UserFeedbackRequest, UserFeedbackRequestSchema, WorkflowTopologyCallSchema, WorkflowTopologyEdgeSchema, WorkflowTopologyNodeSchema, WorkflowTopologyTransitionSchema, newerStudioVersion, projectWorkflowCalls, resolveStudioInterruptStatus, resolveStudioTimeRange, studioUpdateRunning, summarizeUserFeedback };
|
|
2754
|
+
export { ClearScoreResponseSchema, ClearUserFeedbackRequestSchema, type EnsureWorkflowTopologyRequest, EnsureWorkflowTopologyRequestSchema, type EnsureWorkflowTopologyResponse, EnsureWorkflowTopologyResponseSchema, FEEDBACK_FILTERS, FeedbackReasonSchema, type FeedbackSummary, FeedbackSummarySchema, type KortyxTelemetryEvent, type KortyxTelemetryEventType, type KortyxTelemetryService, type KortyxWorkflowTopologyEdge, type KortyxWorkflowTopologyNode, type KortyxWorkflowTopologyTransition, ReviewVerdictSchema, STUDIO_TIME_RANGES, type StudioCatalogsResponse, StudioCatalogsResponseSchema, type StudioChange, type StudioChangeResource, StudioChangeResourceSchema, StudioChangeSchema, type StudioContextResponse, StudioContextResponseSchema, type StudioDetailEvent, StudioDetailEventSchema, type StudioInterrupt, type StudioInterruptDetailResponse, StudioInterruptDetailResponseSchema, type StudioInterruptInteractionMode, StudioInterruptInteractionModeSchema, type StudioInterruptOption, StudioInterruptOptionSchema, StudioInterruptSchema, type StudioInterruptStatus, StudioInterruptStatusSchema, type StudioInterruptType, StudioInterruptTypeSchema, type StudioInterruptsResponse, StudioInterruptsResponseSchema, type StudioMetric, StudioMetricSchema, type StudioPricingSource, StudioPricingSourceSchema, type StudioPricingStatus, StudioPricingStatusSchema, type StudioRelease, StudioReleaseDeploymentSchema, StudioReleaseSchema, StudioReleaseVersionSchema, type StudioResumeOutcome, StudioResumeOutcomeSchema, type StudioReviewRequest, StudioReviewRequestSchema, type StudioRun, type StudioRunDetailResponse, StudioRunDetailResponseSchema, StudioRunSchema, type StudioRunStatus, StudioRunStatusSchema, type StudioRunsResponse, StudioRunsResponseSchema, type StudioScore, StudioScoreResponseSchema, StudioScoreSchema, type StudioSession, type StudioSessionDetailResponse, StudioSessionDetailResponseSchema, StudioSessionSchema, type StudioSessionsResponse, StudioSessionsResponseSchema, type StudioTimeRange, type StudioTimeRangeContext, StudioTimeRangeContextSchema, StudioTimeRangeQuerySchema, type StudioTimeRangeResolution, StudioTimeRangeSchema, type StudioTool, StudioToolSchema, type StudioUpdateOperation, StudioUpdateOperationSchema, type StudioUpdateSettings, StudioUpdateSettingsSchema, type StudioUpdateStatus, StudioUpdateStatusSchema, type StudioWorkflow, type StudioWorkflowCall, type StudioWorkflowHealth, StudioWorkflowHealthSchema, type StudioWorkflowInternalEdge, StudioWorkflowInternalEdgeSchema, type StudioWorkflowNode, StudioWorkflowNodeSchema, StudioWorkflowSchema, type StudioWorkflowTransition, StudioWorkflowTransitionSchema, type StudioWorkflowsResponse, StudioWorkflowsResponseSchema, TELEMETRY_EVENT_TYPES, type TelemetryEventBatch, type TelemetryEventBatchResponse, TelemetryEventBatchResponseSchema, TelemetryEventBatchSchema, TelemetryEventSchema, TelemetryEventTypeSchema, type TelemetryPricingHint, TelemetryPricingHintSchema, type TelemetryPricingLineItem, TelemetryPricingLineItemSchema, type TelemetryPricingSource, TelemetryPricingSourceSchema, type TelemetryPricingUnit, TelemetryPricingUnitSchema, type TelemetryPricingUsageType, TelemetryPricingUsageTypeSchema, TelemetryServiceSchema, type TelemetryUnitPrice, TelemetryUnitPriceSchema, type TelemetryUsageItem, TelemetryUsageItemSchema, ToolDiscoverySchema, ToolObservationSchema, ToolOutcomeSchema, type UserFeedbackRequest, UserFeedbackRequestSchema, type WorkflowTool, WorkflowToolSchema, WorkflowTopologyCallSchema, WorkflowTopologyEdgeSchema, WorkflowTopologyNodeSchema, WorkflowTopologyTransitionSchema, newerStudioVersion, projectWorkflowCalls, resolveStudioInterruptStatus, resolveStudioTimeRange, studioUpdateRunning, summarizeUserFeedback };
|