stitchkit 0.61.0 → 0.63.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/dist/agent-runtime/compaction.d.ts +14 -1
- package/dist/agent-runtime/compaction.d.ts.map +1 -1
- package/dist/agent-runtime/coordinator.d.ts +23 -2
- package/dist/agent-runtime/coordinator.d.ts.map +1 -1
- package/dist/agent-runtime/events.d.ts +140 -0
- package/dist/agent-runtime/events.d.ts.map +1 -1
- package/dist/agent-runtime/history.d.ts +39 -1
- package/dist/agent-runtime/history.d.ts.map +1 -1
- package/dist/agent-runtime/observability.d.ts +4 -0
- package/dist/agent-runtime/observability.d.ts.map +1 -1
- package/dist/agent-runtime/prompt.d.ts +1 -1
- package/dist/agent-runtime/prompt.d.ts.map +1 -1
- package/dist/agent-runtime/run-execution.d.ts +4 -0
- package/dist/agent-runtime/run-execution.d.ts.map +1 -1
- package/dist/agent-runtime/runtime-internals.d.ts +47 -0
- package/dist/agent-runtime/runtime-internals.d.ts.map +1 -1
- package/dist/agent-runtime/runtime.d.ts +1 -0
- package/dist/agent-runtime/runtime.d.ts.map +1 -1
- package/dist/agent-runtime/schemas.d.ts +208 -77
- package/dist/agent-runtime/schemas.d.ts.map +1 -1
- package/dist/agent-runtime/store-driver.d.ts +191 -0
- package/dist/agent-runtime/store-driver.d.ts.map +1 -1
- package/dist/agent-runtime/store.d.ts +583 -0
- package/dist/agent-runtime/store.d.ts.map +1 -1
- package/dist/agent-runtime/terminal-commit.d.ts +34 -4
- package/dist/agent-runtime/terminal-commit.d.ts.map +1 -1
- package/dist/agent-runtime/terminal-status.d.ts +13 -0
- package/dist/agent-runtime/terminal-status.d.ts.map +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/agent-runtime.d.ts.map +1 -1
- package/dist/agent-runtime.js +399 -99
- package/dist/{index-vtjgx3vv.js → index-b1k33127.js} +25 -18
- package/dist/testing/agent-store-conformance.d.ts.map +1 -1
- package/dist/testing.js +26 -4
- package/llms-full.txt +386 -9
- package/package.json +1 -1
|
@@ -139,6 +139,7 @@ export declare const AgentMessageStatusSchema: z.ZodEnum<{
|
|
|
139
139
|
failed: "failed";
|
|
140
140
|
interrupted: "interrupted";
|
|
141
141
|
streaming: "streaming";
|
|
142
|
+
superseded: "superseded";
|
|
142
143
|
}>;
|
|
143
144
|
export declare const AgentMessageSchema: z.ZodObject<{
|
|
144
145
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -157,6 +158,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
157
158
|
failed: "failed";
|
|
158
159
|
interrupted: "interrupted";
|
|
159
160
|
streaming: "streaming";
|
|
161
|
+
superseded: "superseded";
|
|
160
162
|
}>;
|
|
161
163
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
162
164
|
type: z.ZodLiteral<"text">;
|
|
@@ -230,6 +232,7 @@ export declare const AgentAssistantPlaceholderSchema: z.ZodObject<{
|
|
|
230
232
|
export type AgentAssistantPlaceholder = z.infer<typeof AgentAssistantPlaceholderSchema>;
|
|
231
233
|
export declare const AgentRunStateSchema: z.ZodEnum<{
|
|
232
234
|
abandoned: "abandoned";
|
|
235
|
+
absorbed: "absorbed";
|
|
233
236
|
cancelled: "cancelled";
|
|
234
237
|
completed: "completed";
|
|
235
238
|
failed: "failed";
|
|
@@ -237,6 +240,7 @@ export declare const AgentRunStateSchema: z.ZodEnum<{
|
|
|
237
240
|
interrupted: "interrupted";
|
|
238
241
|
queued: "queued";
|
|
239
242
|
running: "running";
|
|
243
|
+
superseded: "superseded";
|
|
240
244
|
}>;
|
|
241
245
|
export declare const AgentTerminalReasonSchema: z.ZodEnum<{
|
|
242
246
|
abandoned: "abandoned";
|
|
@@ -244,12 +248,91 @@ export declare const AgentTerminalReasonSchema: z.ZodEnum<{
|
|
|
244
248
|
interrupted: "interrupted";
|
|
245
249
|
policy_stop: "policy_stop";
|
|
246
250
|
provider_failure: "provider_failure";
|
|
251
|
+
provider_stop: "provider_stop";
|
|
247
252
|
shutdown: "shutdown";
|
|
248
253
|
success: "success";
|
|
254
|
+
superseded: "superseded";
|
|
249
255
|
timeout: "timeout";
|
|
250
256
|
tool_failure: "tool_failure";
|
|
251
257
|
}>;
|
|
252
258
|
export type AgentTerminalReason = z.infer<typeof AgentTerminalReasonSchema>;
|
|
259
|
+
export declare const AgentUsageValueSchema: z.ZodObject<{
|
|
260
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
provenance: z.ZodEnum<{
|
|
262
|
+
computed: "computed";
|
|
263
|
+
estimated: "estimated";
|
|
264
|
+
"provider-reported": "provider-reported";
|
|
265
|
+
unavailable: "unavailable";
|
|
266
|
+
}>;
|
|
267
|
+
}, z.core.$strip>;
|
|
268
|
+
export declare const AgentCostValueSchema: z.ZodObject<{
|
|
269
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
270
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
271
|
+
provenance: z.ZodEnum<{
|
|
272
|
+
computed: "computed";
|
|
273
|
+
estimated: "estimated";
|
|
274
|
+
"provider-reported": "provider-reported";
|
|
275
|
+
unavailable: "unavailable";
|
|
276
|
+
}>;
|
|
277
|
+
}, z.core.$strip>;
|
|
278
|
+
export declare const AgentUsageSchema: z.ZodObject<{
|
|
279
|
+
inputTokens: z.ZodObject<{
|
|
280
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
provenance: z.ZodEnum<{
|
|
282
|
+
computed: "computed";
|
|
283
|
+
estimated: "estimated";
|
|
284
|
+
"provider-reported": "provider-reported";
|
|
285
|
+
unavailable: "unavailable";
|
|
286
|
+
}>;
|
|
287
|
+
}, z.core.$strip>;
|
|
288
|
+
outputTokens: z.ZodObject<{
|
|
289
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
290
|
+
provenance: z.ZodEnum<{
|
|
291
|
+
computed: "computed";
|
|
292
|
+
estimated: "estimated";
|
|
293
|
+
"provider-reported": "provider-reported";
|
|
294
|
+
unavailable: "unavailable";
|
|
295
|
+
}>;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
reasoningTokens: z.ZodOptional<z.ZodObject<{
|
|
298
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
299
|
+
provenance: z.ZodEnum<{
|
|
300
|
+
computed: "computed";
|
|
301
|
+
estimated: "estimated";
|
|
302
|
+
"provider-reported": "provider-reported";
|
|
303
|
+
unavailable: "unavailable";
|
|
304
|
+
}>;
|
|
305
|
+
}, z.core.$strip>>;
|
|
306
|
+
cacheReadTokens: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
308
|
+
provenance: z.ZodEnum<{
|
|
309
|
+
computed: "computed";
|
|
310
|
+
estimated: "estimated";
|
|
311
|
+
"provider-reported": "provider-reported";
|
|
312
|
+
unavailable: "unavailable";
|
|
313
|
+
}>;
|
|
314
|
+
}, z.core.$strip>>;
|
|
315
|
+
cacheWriteTokens: z.ZodOptional<z.ZodObject<{
|
|
316
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
317
|
+
provenance: z.ZodEnum<{
|
|
318
|
+
computed: "computed";
|
|
319
|
+
estimated: "estimated";
|
|
320
|
+
"provider-reported": "provider-reported";
|
|
321
|
+
unavailable: "unavailable";
|
|
322
|
+
}>;
|
|
323
|
+
}, z.core.$strip>>;
|
|
324
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
325
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
326
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
327
|
+
provenance: z.ZodEnum<{
|
|
328
|
+
computed: "computed";
|
|
329
|
+
estimated: "estimated";
|
|
330
|
+
"provider-reported": "provider-reported";
|
|
331
|
+
unavailable: "unavailable";
|
|
332
|
+
}>;
|
|
333
|
+
}, z.core.$strip>>;
|
|
334
|
+
}, z.core.$strip>;
|
|
335
|
+
export type AgentUsage = z.infer<typeof AgentUsageSchema>;
|
|
253
336
|
export declare const AgentRunSchema: z.ZodObject<{
|
|
254
337
|
schemaVersion: z.ZodLiteral<1>;
|
|
255
338
|
id: z.ZodString;
|
|
@@ -258,6 +341,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
258
341
|
assistantMessageId: z.ZodString;
|
|
259
342
|
state: z.ZodEnum<{
|
|
260
343
|
abandoned: "abandoned";
|
|
344
|
+
absorbed: "absorbed";
|
|
261
345
|
cancelled: "cancelled";
|
|
262
346
|
completed: "completed";
|
|
263
347
|
failed: "failed";
|
|
@@ -265,6 +349,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
265
349
|
interrupted: "interrupted";
|
|
266
350
|
queued: "queued";
|
|
267
351
|
running: "running";
|
|
352
|
+
superseded: "superseded";
|
|
268
353
|
}>;
|
|
269
354
|
revision: z.ZodInt;
|
|
270
355
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
@@ -275,12 +360,72 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
275
360
|
interrupted: "interrupted";
|
|
276
361
|
policy_stop: "policy_stop";
|
|
277
362
|
provider_failure: "provider_failure";
|
|
363
|
+
provider_stop: "provider_stop";
|
|
278
364
|
shutdown: "shutdown";
|
|
279
365
|
success: "success";
|
|
366
|
+
superseded: "superseded";
|
|
280
367
|
timeout: "timeout";
|
|
281
368
|
tool_failure: "tool_failure";
|
|
282
369
|
}>>;
|
|
283
370
|
terminalPolicyName: z.ZodOptional<z.ZodString>;
|
|
371
|
+
absorbedIntoRunId: z.ZodOptional<z.ZodString>;
|
|
372
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
373
|
+
inputTokens: z.ZodObject<{
|
|
374
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
375
|
+
provenance: z.ZodEnum<{
|
|
376
|
+
computed: "computed";
|
|
377
|
+
estimated: "estimated";
|
|
378
|
+
"provider-reported": "provider-reported";
|
|
379
|
+
unavailable: "unavailable";
|
|
380
|
+
}>;
|
|
381
|
+
}, z.core.$strip>;
|
|
382
|
+
outputTokens: z.ZodObject<{
|
|
383
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
384
|
+
provenance: z.ZodEnum<{
|
|
385
|
+
computed: "computed";
|
|
386
|
+
estimated: "estimated";
|
|
387
|
+
"provider-reported": "provider-reported";
|
|
388
|
+
unavailable: "unavailable";
|
|
389
|
+
}>;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
reasoningTokens: z.ZodOptional<z.ZodObject<{
|
|
392
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
393
|
+
provenance: z.ZodEnum<{
|
|
394
|
+
computed: "computed";
|
|
395
|
+
estimated: "estimated";
|
|
396
|
+
"provider-reported": "provider-reported";
|
|
397
|
+
unavailable: "unavailable";
|
|
398
|
+
}>;
|
|
399
|
+
}, z.core.$strip>>;
|
|
400
|
+
cacheReadTokens: z.ZodOptional<z.ZodObject<{
|
|
401
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
402
|
+
provenance: z.ZodEnum<{
|
|
403
|
+
computed: "computed";
|
|
404
|
+
estimated: "estimated";
|
|
405
|
+
"provider-reported": "provider-reported";
|
|
406
|
+
unavailable: "unavailable";
|
|
407
|
+
}>;
|
|
408
|
+
}, z.core.$strip>>;
|
|
409
|
+
cacheWriteTokens: z.ZodOptional<z.ZodObject<{
|
|
410
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
411
|
+
provenance: z.ZodEnum<{
|
|
412
|
+
computed: "computed";
|
|
413
|
+
estimated: "estimated";
|
|
414
|
+
"provider-reported": "provider-reported";
|
|
415
|
+
unavailable: "unavailable";
|
|
416
|
+
}>;
|
|
417
|
+
}, z.core.$strip>>;
|
|
418
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
419
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
420
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
421
|
+
provenance: z.ZodEnum<{
|
|
422
|
+
computed: "computed";
|
|
423
|
+
estimated: "estimated";
|
|
424
|
+
"provider-reported": "provider-reported";
|
|
425
|
+
unavailable: "unavailable";
|
|
426
|
+
}>;
|
|
427
|
+
}, z.core.$strip>>;
|
|
428
|
+
}, z.core.$strip>>;
|
|
284
429
|
createdAt: z.ZodISODateTime;
|
|
285
430
|
updatedAt: z.ZodISODateTime;
|
|
286
431
|
}, z.core.$strip>;
|
|
@@ -306,6 +451,7 @@ export declare const AgentSnapshotSchema: z.ZodObject<{
|
|
|
306
451
|
failed: "failed";
|
|
307
452
|
interrupted: "interrupted";
|
|
308
453
|
streaming: "streaming";
|
|
454
|
+
superseded: "superseded";
|
|
309
455
|
}>;
|
|
310
456
|
parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
311
457
|
type: z.ZodLiteral<"text">;
|
|
@@ -374,6 +520,7 @@ export declare const AgentSnapshotSchema: z.ZodObject<{
|
|
|
374
520
|
assistantMessageId: z.ZodString;
|
|
375
521
|
state: z.ZodEnum<{
|
|
376
522
|
abandoned: "abandoned";
|
|
523
|
+
absorbed: "absorbed";
|
|
377
524
|
cancelled: "cancelled";
|
|
378
525
|
completed: "completed";
|
|
379
526
|
failed: "failed";
|
|
@@ -381,6 +528,7 @@ export declare const AgentSnapshotSchema: z.ZodObject<{
|
|
|
381
528
|
interrupted: "interrupted";
|
|
382
529
|
queued: "queued";
|
|
383
530
|
running: "running";
|
|
531
|
+
superseded: "superseded";
|
|
384
532
|
}>;
|
|
385
533
|
revision: z.ZodInt;
|
|
386
534
|
ownerId: z.ZodOptional<z.ZodString>;
|
|
@@ -391,94 +539,77 @@ export declare const AgentSnapshotSchema: z.ZodObject<{
|
|
|
391
539
|
interrupted: "interrupted";
|
|
392
540
|
policy_stop: "policy_stop";
|
|
393
541
|
provider_failure: "provider_failure";
|
|
542
|
+
provider_stop: "provider_stop";
|
|
394
543
|
shutdown: "shutdown";
|
|
395
544
|
success: "success";
|
|
545
|
+
superseded: "superseded";
|
|
396
546
|
timeout: "timeout";
|
|
397
547
|
tool_failure: "tool_failure";
|
|
398
548
|
}>>;
|
|
399
549
|
terminalPolicyName: z.ZodOptional<z.ZodString>;
|
|
550
|
+
absorbedIntoRunId: z.ZodOptional<z.ZodString>;
|
|
551
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
552
|
+
inputTokens: z.ZodObject<{
|
|
553
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
554
|
+
provenance: z.ZodEnum<{
|
|
555
|
+
computed: "computed";
|
|
556
|
+
estimated: "estimated";
|
|
557
|
+
"provider-reported": "provider-reported";
|
|
558
|
+
unavailable: "unavailable";
|
|
559
|
+
}>;
|
|
560
|
+
}, z.core.$strip>;
|
|
561
|
+
outputTokens: z.ZodObject<{
|
|
562
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
563
|
+
provenance: z.ZodEnum<{
|
|
564
|
+
computed: "computed";
|
|
565
|
+
estimated: "estimated";
|
|
566
|
+
"provider-reported": "provider-reported";
|
|
567
|
+
unavailable: "unavailable";
|
|
568
|
+
}>;
|
|
569
|
+
}, z.core.$strip>;
|
|
570
|
+
reasoningTokens: z.ZodOptional<z.ZodObject<{
|
|
571
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
572
|
+
provenance: z.ZodEnum<{
|
|
573
|
+
computed: "computed";
|
|
574
|
+
estimated: "estimated";
|
|
575
|
+
"provider-reported": "provider-reported";
|
|
576
|
+
unavailable: "unavailable";
|
|
577
|
+
}>;
|
|
578
|
+
}, z.core.$strip>>;
|
|
579
|
+
cacheReadTokens: z.ZodOptional<z.ZodObject<{
|
|
580
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
581
|
+
provenance: z.ZodEnum<{
|
|
582
|
+
computed: "computed";
|
|
583
|
+
estimated: "estimated";
|
|
584
|
+
"provider-reported": "provider-reported";
|
|
585
|
+
unavailable: "unavailable";
|
|
586
|
+
}>;
|
|
587
|
+
}, z.core.$strip>>;
|
|
588
|
+
cacheWriteTokens: z.ZodOptional<z.ZodObject<{
|
|
589
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
590
|
+
provenance: z.ZodEnum<{
|
|
591
|
+
computed: "computed";
|
|
592
|
+
estimated: "estimated";
|
|
593
|
+
"provider-reported": "provider-reported";
|
|
594
|
+
unavailable: "unavailable";
|
|
595
|
+
}>;
|
|
596
|
+
}, z.core.$strip>>;
|
|
597
|
+
cost: z.ZodOptional<z.ZodObject<{
|
|
598
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
599
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
600
|
+
provenance: z.ZodEnum<{
|
|
601
|
+
computed: "computed";
|
|
602
|
+
estimated: "estimated";
|
|
603
|
+
"provider-reported": "provider-reported";
|
|
604
|
+
unavailable: "unavailable";
|
|
605
|
+
}>;
|
|
606
|
+
}, z.core.$strip>>;
|
|
607
|
+
}, z.core.$strip>>;
|
|
400
608
|
createdAt: z.ZodISODateTime;
|
|
401
609
|
updatedAt: z.ZodISODateTime;
|
|
402
610
|
}, z.core.$strip>>;
|
|
403
611
|
}, z.core.$strip>;
|
|
404
612
|
export type AgentSnapshot = z.infer<typeof AgentSnapshotSchema>;
|
|
405
|
-
export declare const AgentUsageValueSchema: z.ZodObject<{
|
|
406
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
407
|
-
provenance: z.ZodEnum<{
|
|
408
|
-
computed: "computed";
|
|
409
|
-
estimated: "estimated";
|
|
410
|
-
"provider-reported": "provider-reported";
|
|
411
|
-
unavailable: "unavailable";
|
|
412
|
-
}>;
|
|
413
|
-
}, z.core.$strip>;
|
|
414
|
-
export declare const AgentCostValueSchema: z.ZodObject<{
|
|
415
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
416
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
417
|
-
provenance: z.ZodEnum<{
|
|
418
|
-
computed: "computed";
|
|
419
|
-
estimated: "estimated";
|
|
420
|
-
"provider-reported": "provider-reported";
|
|
421
|
-
unavailable: "unavailable";
|
|
422
|
-
}>;
|
|
423
|
-
}, z.core.$strip>;
|
|
424
|
-
export declare const AgentUsageSchema: z.ZodObject<{
|
|
425
|
-
inputTokens: z.ZodObject<{
|
|
426
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
427
|
-
provenance: z.ZodEnum<{
|
|
428
|
-
computed: "computed";
|
|
429
|
-
estimated: "estimated";
|
|
430
|
-
"provider-reported": "provider-reported";
|
|
431
|
-
unavailable: "unavailable";
|
|
432
|
-
}>;
|
|
433
|
-
}, z.core.$strip>;
|
|
434
|
-
outputTokens: z.ZodObject<{
|
|
435
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
436
|
-
provenance: z.ZodEnum<{
|
|
437
|
-
computed: "computed";
|
|
438
|
-
estimated: "estimated";
|
|
439
|
-
"provider-reported": "provider-reported";
|
|
440
|
-
unavailable: "unavailable";
|
|
441
|
-
}>;
|
|
442
|
-
}, z.core.$strip>;
|
|
443
|
-
reasoningTokens: z.ZodOptional<z.ZodObject<{
|
|
444
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
445
|
-
provenance: z.ZodEnum<{
|
|
446
|
-
computed: "computed";
|
|
447
|
-
estimated: "estimated";
|
|
448
|
-
"provider-reported": "provider-reported";
|
|
449
|
-
unavailable: "unavailable";
|
|
450
|
-
}>;
|
|
451
|
-
}, z.core.$strip>>;
|
|
452
|
-
cacheReadTokens: z.ZodOptional<z.ZodObject<{
|
|
453
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
454
|
-
provenance: z.ZodEnum<{
|
|
455
|
-
computed: "computed";
|
|
456
|
-
estimated: "estimated";
|
|
457
|
-
"provider-reported": "provider-reported";
|
|
458
|
-
unavailable: "unavailable";
|
|
459
|
-
}>;
|
|
460
|
-
}, z.core.$strip>>;
|
|
461
|
-
cacheWriteTokens: z.ZodOptional<z.ZodObject<{
|
|
462
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
463
|
-
provenance: z.ZodEnum<{
|
|
464
|
-
computed: "computed";
|
|
465
|
-
estimated: "estimated";
|
|
466
|
-
"provider-reported": "provider-reported";
|
|
467
|
-
unavailable: "unavailable";
|
|
468
|
-
}>;
|
|
469
|
-
}, z.core.$strip>>;
|
|
470
|
-
cost: z.ZodOptional<z.ZodObject<{
|
|
471
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
472
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
473
|
-
provenance: z.ZodEnum<{
|
|
474
|
-
computed: "computed";
|
|
475
|
-
estimated: "estimated";
|
|
476
|
-
"provider-reported": "provider-reported";
|
|
477
|
-
unavailable: "unavailable";
|
|
478
|
-
}>;
|
|
479
|
-
}, z.core.$strip>>;
|
|
480
|
-
}, z.core.$strip>;
|
|
481
|
-
export type AgentUsage = z.infer<typeof AgentUsageSchema>;
|
|
482
613
|
export declare const AgentRunMetricsSchema: z.ZodObject<{
|
|
483
614
|
partial: z.ZodBoolean;
|
|
484
615
|
usage: z.ZodOptional<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../src/agent-runtime/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,mBAAmB,aAAoB,CAAC;AACrD,eAAO,MAAM,wBAAwB,UAAwB,CAAC;AAC9D,eAAO,MAAM,oBAAoB,kBAAmC,CAAC;AACrE,eAAO,MAAM,qBAAqB,2CAAiC,CAAC;AAEpE,eAAO,MAAM,2BAA2B;;;;iBAItC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;iBAInC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;iBAK9B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;iBAKhC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;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