@linnlabs/linnkit 0.32.2 → 0.32.3
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/contracts/audit.d.cts +14 -14
- package/dist/contracts/audit.d.ts +14 -14
- package/dist/contracts/events.d.cts +233 -233
- package/dist/contracts/events.d.ts +233 -233
- package/dist/contracts/messages.d.cts +974 -974
- package/dist/contracts/messages.d.ts +974 -974
- package/dist/contracts/provider-continuation.d.cts +28 -28
- package/dist/contracts/provider-continuation.d.ts +28 -28
- package/dist/contracts/sse.d.cts +64 -64
- package/dist/contracts/sse.d.ts +64 -64
- package/dist/contracts/token-accounting.d.cts +18 -18
- package/dist/contracts/token-accounting.d.ts +18 -18
- package/dist/runtime-kernel/events/agentEvents.d.cts +82 -82
- package/dist/runtime-kernel/events/agentEvents.d.ts +82 -82
- package/docs/integration/01-installation.md +1 -1
- package/package.json +4 -4
|
@@ -61,11 +61,11 @@ declare const ContextTokenComponent: z.ZodObject<{
|
|
|
61
61
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
62
62
|
componentId: string;
|
|
63
63
|
tokens: number;
|
|
64
|
+
role?: string | undefined;
|
|
64
65
|
resourceId?: string | undefined;
|
|
65
66
|
width?: number | undefined;
|
|
66
67
|
height?: number | undefined;
|
|
67
68
|
label?: string | undefined;
|
|
68
|
-
role?: string | undefined;
|
|
69
69
|
profileId?: string | undefined;
|
|
70
70
|
action?: string | undefined;
|
|
71
71
|
messageId?: string | undefined;
|
|
@@ -83,11 +83,11 @@ declare const ContextTokenComponent: z.ZodObject<{
|
|
|
83
83
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
84
84
|
componentId: string;
|
|
85
85
|
tokens: number;
|
|
86
|
+
role?: string | undefined;
|
|
86
87
|
resourceId?: string | undefined;
|
|
87
88
|
width?: number | undefined;
|
|
88
89
|
height?: number | undefined;
|
|
89
90
|
label?: string | undefined;
|
|
90
|
-
role?: string | undefined;
|
|
91
91
|
profileId?: string | undefined;
|
|
92
92
|
action?: string | undefined;
|
|
93
93
|
messageId?: string | undefined;
|
|
@@ -205,9 +205,9 @@ declare const LlmUsageTokenLedgerEntry: z.ZodObject<{
|
|
|
205
205
|
totalTokens?: number | undefined;
|
|
206
206
|
rawUsage?: unknown;
|
|
207
207
|
};
|
|
208
|
-
conversationId?: string | undefined;
|
|
209
208
|
runId?: string | undefined;
|
|
210
209
|
parentRunId?: string | undefined;
|
|
210
|
+
conversationId?: string | undefined;
|
|
211
211
|
turnId?: string | undefined;
|
|
212
212
|
modelId?: string | undefined;
|
|
213
213
|
stepId?: string | undefined;
|
|
@@ -239,9 +239,9 @@ declare const LlmUsageTokenLedgerEntry: z.ZodObject<{
|
|
|
239
239
|
totalTokens?: number | undefined;
|
|
240
240
|
rawUsage?: unknown;
|
|
241
241
|
};
|
|
242
|
-
conversationId?: string | undefined;
|
|
243
242
|
runId?: string | undefined;
|
|
244
243
|
parentRunId?: string | undefined;
|
|
244
|
+
conversationId?: string | undefined;
|
|
245
245
|
turnId?: string | undefined;
|
|
246
246
|
modelId?: string | undefined;
|
|
247
247
|
stepId?: string | undefined;
|
|
@@ -342,11 +342,11 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
342
342
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
343
343
|
componentId: string;
|
|
344
344
|
tokens: number;
|
|
345
|
+
role?: string | undefined;
|
|
345
346
|
resourceId?: string | undefined;
|
|
346
347
|
width?: number | undefined;
|
|
347
348
|
height?: number | undefined;
|
|
348
349
|
label?: string | undefined;
|
|
349
|
-
role?: string | undefined;
|
|
350
350
|
profileId?: string | undefined;
|
|
351
351
|
action?: string | undefined;
|
|
352
352
|
messageId?: string | undefined;
|
|
@@ -364,11 +364,11 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
364
364
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
365
365
|
componentId: string;
|
|
366
366
|
tokens: number;
|
|
367
|
+
role?: string | undefined;
|
|
367
368
|
resourceId?: string | undefined;
|
|
368
369
|
width?: number | undefined;
|
|
369
370
|
height?: number | undefined;
|
|
370
371
|
label?: string | undefined;
|
|
371
|
-
role?: string | undefined;
|
|
372
372
|
profileId?: string | undefined;
|
|
373
373
|
action?: string | undefined;
|
|
374
374
|
messageId?: string | undefined;
|
|
@@ -391,11 +391,11 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
391
391
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
392
392
|
componentId: string;
|
|
393
393
|
tokens: number;
|
|
394
|
+
role?: string | undefined;
|
|
394
395
|
resourceId?: string | undefined;
|
|
395
396
|
width?: number | undefined;
|
|
396
397
|
height?: number | undefined;
|
|
397
398
|
label?: string | undefined;
|
|
398
|
-
role?: string | undefined;
|
|
399
399
|
profileId?: string | undefined;
|
|
400
400
|
action?: string | undefined;
|
|
401
401
|
messageId?: string | undefined;
|
|
@@ -409,9 +409,9 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
409
409
|
estimatorVersion?: string | undefined;
|
|
410
410
|
}[];
|
|
411
411
|
totalTokens: number;
|
|
412
|
-
conversationId?: string | undefined;
|
|
413
412
|
runId?: string | undefined;
|
|
414
413
|
parentRunId?: string | undefined;
|
|
414
|
+
conversationId?: string | undefined;
|
|
415
415
|
turnId?: string | undefined;
|
|
416
416
|
stepId?: string | undefined;
|
|
417
417
|
route?: {
|
|
@@ -436,11 +436,11 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
436
436
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
437
437
|
componentId: string;
|
|
438
438
|
tokens: number;
|
|
439
|
+
role?: string | undefined;
|
|
439
440
|
resourceId?: string | undefined;
|
|
440
441
|
width?: number | undefined;
|
|
441
442
|
height?: number | undefined;
|
|
442
443
|
label?: string | undefined;
|
|
443
|
-
role?: string | undefined;
|
|
444
444
|
profileId?: string | undefined;
|
|
445
445
|
action?: string | undefined;
|
|
446
446
|
messageId?: string | undefined;
|
|
@@ -454,9 +454,9 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
454
454
|
estimatorVersion?: string | undefined;
|
|
455
455
|
}[];
|
|
456
456
|
totalTokens: number;
|
|
457
|
-
conversationId?: string | undefined;
|
|
458
457
|
runId?: string | undefined;
|
|
459
458
|
parentRunId?: string | undefined;
|
|
459
|
+
conversationId?: string | undefined;
|
|
460
460
|
turnId?: string | undefined;
|
|
461
461
|
stepId?: string | undefined;
|
|
462
462
|
route?: {
|
|
@@ -578,9 +578,9 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
578
578
|
totalTokens?: number | undefined;
|
|
579
579
|
rawUsage?: unknown;
|
|
580
580
|
};
|
|
581
|
-
conversationId?: string | undefined;
|
|
582
581
|
runId?: string | undefined;
|
|
583
582
|
parentRunId?: string | undefined;
|
|
583
|
+
conversationId?: string | undefined;
|
|
584
584
|
turnId?: string | undefined;
|
|
585
585
|
modelId?: string | undefined;
|
|
586
586
|
stepId?: string | undefined;
|
|
@@ -612,9 +612,9 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
612
612
|
totalTokens?: number | undefined;
|
|
613
613
|
rawUsage?: unknown;
|
|
614
614
|
};
|
|
615
|
-
conversationId?: string | undefined;
|
|
616
615
|
runId?: string | undefined;
|
|
617
616
|
parentRunId?: string | undefined;
|
|
617
|
+
conversationId?: string | undefined;
|
|
618
618
|
turnId?: string | undefined;
|
|
619
619
|
modelId?: string | undefined;
|
|
620
620
|
stepId?: string | undefined;
|
|
@@ -713,11 +713,11 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
713
713
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
714
714
|
componentId: string;
|
|
715
715
|
tokens: number;
|
|
716
|
+
role?: string | undefined;
|
|
716
717
|
resourceId?: string | undefined;
|
|
717
718
|
width?: number | undefined;
|
|
718
719
|
height?: number | undefined;
|
|
719
720
|
label?: string | undefined;
|
|
720
|
-
role?: string | undefined;
|
|
721
721
|
profileId?: string | undefined;
|
|
722
722
|
action?: string | undefined;
|
|
723
723
|
messageId?: string | undefined;
|
|
@@ -735,11 +735,11 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
735
735
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
736
736
|
componentId: string;
|
|
737
737
|
tokens: number;
|
|
738
|
+
role?: string | undefined;
|
|
738
739
|
resourceId?: string | undefined;
|
|
739
740
|
width?: number | undefined;
|
|
740
741
|
height?: number | undefined;
|
|
741
742
|
label?: string | undefined;
|
|
742
|
-
role?: string | undefined;
|
|
743
743
|
profileId?: string | undefined;
|
|
744
744
|
action?: string | undefined;
|
|
745
745
|
messageId?: string | undefined;
|
|
@@ -762,11 +762,11 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
762
762
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
763
763
|
componentId: string;
|
|
764
764
|
tokens: number;
|
|
765
|
+
role?: string | undefined;
|
|
765
766
|
resourceId?: string | undefined;
|
|
766
767
|
width?: number | undefined;
|
|
767
768
|
height?: number | undefined;
|
|
768
769
|
label?: string | undefined;
|
|
769
|
-
role?: string | undefined;
|
|
770
770
|
profileId?: string | undefined;
|
|
771
771
|
action?: string | undefined;
|
|
772
772
|
messageId?: string | undefined;
|
|
@@ -780,9 +780,9 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
780
780
|
estimatorVersion?: string | undefined;
|
|
781
781
|
}[];
|
|
782
782
|
totalTokens: number;
|
|
783
|
-
conversationId?: string | undefined;
|
|
784
783
|
runId?: string | undefined;
|
|
785
784
|
parentRunId?: string | undefined;
|
|
785
|
+
conversationId?: string | undefined;
|
|
786
786
|
turnId?: string | undefined;
|
|
787
787
|
stepId?: string | undefined;
|
|
788
788
|
route?: {
|
|
@@ -807,11 +807,11 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
807
807
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
808
808
|
componentId: string;
|
|
809
809
|
tokens: number;
|
|
810
|
+
role?: string | undefined;
|
|
810
811
|
resourceId?: string | undefined;
|
|
811
812
|
width?: number | undefined;
|
|
812
813
|
height?: number | undefined;
|
|
813
814
|
label?: string | undefined;
|
|
814
|
-
role?: string | undefined;
|
|
815
815
|
profileId?: string | undefined;
|
|
816
816
|
action?: string | undefined;
|
|
817
817
|
messageId?: string | undefined;
|
|
@@ -825,9 +825,9 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
825
825
|
estimatorVersion?: string | undefined;
|
|
826
826
|
}[];
|
|
827
827
|
totalTokens: number;
|
|
828
|
-
conversationId?: string | undefined;
|
|
829
828
|
runId?: string | undefined;
|
|
830
829
|
parentRunId?: string | undefined;
|
|
830
|
+
conversationId?: string | undefined;
|
|
831
831
|
turnId?: string | undefined;
|
|
832
832
|
stepId?: string | undefined;
|
|
833
833
|
route?: {
|
|
@@ -61,11 +61,11 @@ declare const ContextTokenComponent: z.ZodObject<{
|
|
|
61
61
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
62
62
|
componentId: string;
|
|
63
63
|
tokens: number;
|
|
64
|
+
role?: string | undefined;
|
|
64
65
|
resourceId?: string | undefined;
|
|
65
66
|
width?: number | undefined;
|
|
66
67
|
height?: number | undefined;
|
|
67
68
|
label?: string | undefined;
|
|
68
|
-
role?: string | undefined;
|
|
69
69
|
profileId?: string | undefined;
|
|
70
70
|
action?: string | undefined;
|
|
71
71
|
messageId?: string | undefined;
|
|
@@ -83,11 +83,11 @@ declare const ContextTokenComponent: z.ZodObject<{
|
|
|
83
83
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
84
84
|
componentId: string;
|
|
85
85
|
tokens: number;
|
|
86
|
+
role?: string | undefined;
|
|
86
87
|
resourceId?: string | undefined;
|
|
87
88
|
width?: number | undefined;
|
|
88
89
|
height?: number | undefined;
|
|
89
90
|
label?: string | undefined;
|
|
90
|
-
role?: string | undefined;
|
|
91
91
|
profileId?: string | undefined;
|
|
92
92
|
action?: string | undefined;
|
|
93
93
|
messageId?: string | undefined;
|
|
@@ -205,9 +205,9 @@ declare const LlmUsageTokenLedgerEntry: z.ZodObject<{
|
|
|
205
205
|
totalTokens?: number | undefined;
|
|
206
206
|
rawUsage?: unknown;
|
|
207
207
|
};
|
|
208
|
-
conversationId?: string | undefined;
|
|
209
208
|
runId?: string | undefined;
|
|
210
209
|
parentRunId?: string | undefined;
|
|
210
|
+
conversationId?: string | undefined;
|
|
211
211
|
turnId?: string | undefined;
|
|
212
212
|
modelId?: string | undefined;
|
|
213
213
|
stepId?: string | undefined;
|
|
@@ -239,9 +239,9 @@ declare const LlmUsageTokenLedgerEntry: z.ZodObject<{
|
|
|
239
239
|
totalTokens?: number | undefined;
|
|
240
240
|
rawUsage?: unknown;
|
|
241
241
|
};
|
|
242
|
-
conversationId?: string | undefined;
|
|
243
242
|
runId?: string | undefined;
|
|
244
243
|
parentRunId?: string | undefined;
|
|
244
|
+
conversationId?: string | undefined;
|
|
245
245
|
turnId?: string | undefined;
|
|
246
246
|
modelId?: string | undefined;
|
|
247
247
|
stepId?: string | undefined;
|
|
@@ -342,11 +342,11 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
342
342
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
343
343
|
componentId: string;
|
|
344
344
|
tokens: number;
|
|
345
|
+
role?: string | undefined;
|
|
345
346
|
resourceId?: string | undefined;
|
|
346
347
|
width?: number | undefined;
|
|
347
348
|
height?: number | undefined;
|
|
348
349
|
label?: string | undefined;
|
|
349
|
-
role?: string | undefined;
|
|
350
350
|
profileId?: string | undefined;
|
|
351
351
|
action?: string | undefined;
|
|
352
352
|
messageId?: string | undefined;
|
|
@@ -364,11 +364,11 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
364
364
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
365
365
|
componentId: string;
|
|
366
366
|
tokens: number;
|
|
367
|
+
role?: string | undefined;
|
|
367
368
|
resourceId?: string | undefined;
|
|
368
369
|
width?: number | undefined;
|
|
369
370
|
height?: number | undefined;
|
|
370
371
|
label?: string | undefined;
|
|
371
|
-
role?: string | undefined;
|
|
372
372
|
profileId?: string | undefined;
|
|
373
373
|
action?: string | undefined;
|
|
374
374
|
messageId?: string | undefined;
|
|
@@ -391,11 +391,11 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
391
391
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
392
392
|
componentId: string;
|
|
393
393
|
tokens: number;
|
|
394
|
+
role?: string | undefined;
|
|
394
395
|
resourceId?: string | undefined;
|
|
395
396
|
width?: number | undefined;
|
|
396
397
|
height?: number | undefined;
|
|
397
398
|
label?: string | undefined;
|
|
398
|
-
role?: string | undefined;
|
|
399
399
|
profileId?: string | undefined;
|
|
400
400
|
action?: string | undefined;
|
|
401
401
|
messageId?: string | undefined;
|
|
@@ -409,9 +409,9 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
409
409
|
estimatorVersion?: string | undefined;
|
|
410
410
|
}[];
|
|
411
411
|
totalTokens: number;
|
|
412
|
-
conversationId?: string | undefined;
|
|
413
412
|
runId?: string | undefined;
|
|
414
413
|
parentRunId?: string | undefined;
|
|
414
|
+
conversationId?: string | undefined;
|
|
415
415
|
turnId?: string | undefined;
|
|
416
416
|
stepId?: string | undefined;
|
|
417
417
|
route?: {
|
|
@@ -436,11 +436,11 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
436
436
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
437
437
|
componentId: string;
|
|
438
438
|
tokens: number;
|
|
439
|
+
role?: string | undefined;
|
|
439
440
|
resourceId?: string | undefined;
|
|
440
441
|
width?: number | undefined;
|
|
441
442
|
height?: number | undefined;
|
|
442
443
|
label?: string | undefined;
|
|
443
|
-
role?: string | undefined;
|
|
444
444
|
profileId?: string | undefined;
|
|
445
445
|
action?: string | undefined;
|
|
446
446
|
messageId?: string | undefined;
|
|
@@ -454,9 +454,9 @@ declare const ContextComponentTokenLedgerEntry: z.ZodObject<{
|
|
|
454
454
|
estimatorVersion?: string | undefined;
|
|
455
455
|
}[];
|
|
456
456
|
totalTokens: number;
|
|
457
|
-
conversationId?: string | undefined;
|
|
458
457
|
runId?: string | undefined;
|
|
459
458
|
parentRunId?: string | undefined;
|
|
459
|
+
conversationId?: string | undefined;
|
|
460
460
|
turnId?: string | undefined;
|
|
461
461
|
stepId?: string | undefined;
|
|
462
462
|
route?: {
|
|
@@ -578,9 +578,9 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
578
578
|
totalTokens?: number | undefined;
|
|
579
579
|
rawUsage?: unknown;
|
|
580
580
|
};
|
|
581
|
-
conversationId?: string | undefined;
|
|
582
581
|
runId?: string | undefined;
|
|
583
582
|
parentRunId?: string | undefined;
|
|
583
|
+
conversationId?: string | undefined;
|
|
584
584
|
turnId?: string | undefined;
|
|
585
585
|
modelId?: string | undefined;
|
|
586
586
|
stepId?: string | undefined;
|
|
@@ -612,9 +612,9 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
612
612
|
totalTokens?: number | undefined;
|
|
613
613
|
rawUsage?: unknown;
|
|
614
614
|
};
|
|
615
|
-
conversationId?: string | undefined;
|
|
616
615
|
runId?: string | undefined;
|
|
617
616
|
parentRunId?: string | undefined;
|
|
617
|
+
conversationId?: string | undefined;
|
|
618
618
|
turnId?: string | undefined;
|
|
619
619
|
modelId?: string | undefined;
|
|
620
620
|
stepId?: string | undefined;
|
|
@@ -713,11 +713,11 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
713
713
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
714
714
|
componentId: string;
|
|
715
715
|
tokens: number;
|
|
716
|
+
role?: string | undefined;
|
|
716
717
|
resourceId?: string | undefined;
|
|
717
718
|
width?: number | undefined;
|
|
718
719
|
height?: number | undefined;
|
|
719
720
|
label?: string | undefined;
|
|
720
|
-
role?: string | undefined;
|
|
721
721
|
profileId?: string | undefined;
|
|
722
722
|
action?: string | undefined;
|
|
723
723
|
messageId?: string | undefined;
|
|
@@ -735,11 +735,11 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
735
735
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
736
736
|
componentId: string;
|
|
737
737
|
tokens: number;
|
|
738
|
+
role?: string | undefined;
|
|
738
739
|
resourceId?: string | undefined;
|
|
739
740
|
width?: number | undefined;
|
|
740
741
|
height?: number | undefined;
|
|
741
742
|
label?: string | undefined;
|
|
742
|
-
role?: string | undefined;
|
|
743
743
|
profileId?: string | undefined;
|
|
744
744
|
action?: string | undefined;
|
|
745
745
|
messageId?: string | undefined;
|
|
@@ -762,11 +762,11 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
762
762
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
763
763
|
componentId: string;
|
|
764
764
|
tokens: number;
|
|
765
|
+
role?: string | undefined;
|
|
765
766
|
resourceId?: string | undefined;
|
|
766
767
|
width?: number | undefined;
|
|
767
768
|
height?: number | undefined;
|
|
768
769
|
label?: string | undefined;
|
|
769
|
-
role?: string | undefined;
|
|
770
770
|
profileId?: string | undefined;
|
|
771
771
|
action?: string | undefined;
|
|
772
772
|
messageId?: string | undefined;
|
|
@@ -780,9 +780,9 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
780
780
|
estimatorVersion?: string | undefined;
|
|
781
781
|
}[];
|
|
782
782
|
totalTokens: number;
|
|
783
|
-
conversationId?: string | undefined;
|
|
784
783
|
runId?: string | undefined;
|
|
785
784
|
parentRunId?: string | undefined;
|
|
785
|
+
conversationId?: string | undefined;
|
|
786
786
|
turnId?: string | undefined;
|
|
787
787
|
stepId?: string | undefined;
|
|
788
788
|
route?: {
|
|
@@ -807,11 +807,11 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
807
807
|
confidence: "estimate" | "provider-estimate" | "actual";
|
|
808
808
|
componentId: string;
|
|
809
809
|
tokens: number;
|
|
810
|
+
role?: string | undefined;
|
|
810
811
|
resourceId?: string | undefined;
|
|
811
812
|
width?: number | undefined;
|
|
812
813
|
height?: number | undefined;
|
|
813
814
|
label?: string | undefined;
|
|
814
|
-
role?: string | undefined;
|
|
815
815
|
profileId?: string | undefined;
|
|
816
816
|
action?: string | undefined;
|
|
817
817
|
messageId?: string | undefined;
|
|
@@ -825,9 +825,9 @@ declare const TokenLedgerEntry: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
825
825
|
estimatorVersion?: string | undefined;
|
|
826
826
|
}[];
|
|
827
827
|
totalTokens: number;
|
|
828
|
-
conversationId?: string | undefined;
|
|
829
828
|
runId?: string | undefined;
|
|
830
829
|
parentRunId?: string | undefined;
|
|
830
|
+
conversationId?: string | undefined;
|
|
831
831
|
turnId?: string | undefined;
|
|
832
832
|
stepId?: string | undefined;
|
|
833
833
|
route?: {
|