@tenphi/akno-protocol 0.4.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.
@@ -23,51 +23,6 @@ export declare const RetainEvidenceRef: z.ZodUnion<readonly [z.ZodObject<{
23
23
  journal_event_id: z.ZodString;
24
24
  }, z.core.$strip>]>;
25
25
  export type RetainEvidenceRef = z.infer<typeof RetainEvidenceRef>;
26
- export declare const RetainedTime: z.ZodObject<{
27
- start: z.ZodOptional<z.ZodString>;
28
- until: z.ZodOptional<z.ZodString>;
29
- precision: z.ZodEnum<{
30
- unknown: "unknown";
31
- instant: "instant";
32
- day: "day";
33
- month: "month";
34
- year: "year";
35
- }>;
36
- relation: z.ZodEnum<{
37
- occurred: "occurred";
38
- valid: "valid";
39
- scheduled: "scheduled";
40
- due: "due";
41
- }>;
42
- status: z.ZodEnum<{
43
- planned: "planned";
44
- scheduled: "scheduled";
45
- actual: "actual";
46
- tentative: "tentative";
47
- }>;
48
- timezone: z.ZodOptional<z.ZodString>;
49
- mentioned_at: z.ZodOptional<z.ZodString>;
50
- recurrence: z.ZodOptional<z.ZodObject<{
51
- frequency: z.ZodEnum<{
52
- daily: "daily";
53
- weekly: "weekly";
54
- monthly: "monthly";
55
- yearly: "yearly";
56
- }>;
57
- interval: z.ZodOptional<z.ZodNumber>;
58
- weekdays: z.ZodOptional<z.ZodArray<z.ZodEnum<{
59
- mo: "mo";
60
- tu: "tu";
61
- we: "we";
62
- th: "th";
63
- fr: "fr";
64
- sa: "sa";
65
- su: "su";
66
- }>>>;
67
- until: z.ZodOptional<z.ZodString>;
68
- }, z.core.$strip>>;
69
- }, z.core.$strip>;
70
- export type RetainedTime = z.infer<typeof RetainedTime>;
71
26
  export declare const RetainedRelation: z.ZodObject<{
72
27
  type: z.ZodEnum<{
73
28
  corrects: "corrects";
@@ -95,10 +50,10 @@ export declare const ProvidedRetainCandidate: z.ZodObject<{
95
50
  kind: z.ZodEnum<{
96
51
  question: "question";
97
52
  claim: "claim";
98
- event: "event";
99
- plan: "plan";
100
53
  decision: "decision";
101
54
  preference: "preference";
55
+ plan: "plan";
56
+ event: "event";
102
57
  }>;
103
58
  text: z.ZodString;
104
59
  subject: z.ZodString;
@@ -132,14 +87,14 @@ export declare const ProvidedRetainCandidate: z.ZodObject<{
132
87
  counterfactual: "counterfactual";
133
88
  }>;
134
89
  disposition: z.ZodEnum<{
135
- superseded: "superseded";
136
- rejected: "rejected";
137
- completed: "completed";
138
- proposed: "proposed";
139
90
  active: "active";
91
+ proposed: "proposed";
140
92
  accepted: "accepted";
93
+ rejected: "rejected";
141
94
  resolved: "resolved";
142
95
  cancelled: "cancelled";
96
+ completed: "completed";
97
+ superseded: "superseded";
143
98
  }>;
144
99
  }, z.core.$strip>;
145
100
  epistemic: z.ZodObject<{
@@ -197,11 +152,11 @@ export declare const ProvidedRetainCandidate: z.ZodObject<{
197
152
  start: z.ZodOptional<z.ZodString>;
198
153
  until: z.ZodOptional<z.ZodString>;
199
154
  precision: z.ZodEnum<{
200
- unknown: "unknown";
201
155
  instant: "instant";
202
156
  day: "day";
203
157
  month: "month";
204
158
  year: "year";
159
+ unknown: "unknown";
205
160
  }>;
206
161
  relation: z.ZodEnum<{
207
162
  occurred: "occurred";
@@ -210,9 +165,9 @@ export declare const ProvidedRetainCandidate: z.ZodObject<{
210
165
  due: "due";
211
166
  }>;
212
167
  status: z.ZodEnum<{
213
- planned: "planned";
214
168
  scheduled: "scheduled";
215
169
  actual: "actual";
170
+ planned: "planned";
216
171
  tentative: "tentative";
217
172
  }>;
218
173
  timezone: z.ZodOptional<z.ZodString>;
@@ -237,10 +192,10 @@ export declare const ProvidedRetainCandidate: z.ZodObject<{
237
192
  until: z.ZodOptional<z.ZodString>;
238
193
  }, z.core.$strip>>;
239
194
  }, z.core.$strip>>;
240
- destination: z.ZodObject<{
195
+ destination: z.ZodOptional<z.ZodObject<{
241
196
  slug: z.ZodString;
242
197
  section: z.ZodOptional<z.ZodString>;
243
- }, z.core.$strip>;
198
+ }, z.core.$strip>>;
244
199
  }, z.core.$strip>;
245
200
  export type ProvidedRetainCandidate = z.infer<typeof ProvidedRetainCandidate>;
246
201
  export declare const RetainSourceItem: z.ZodObject<{
@@ -285,18 +240,21 @@ export declare const RetainUpsertSource: z.ZodObject<{
285
240
  mentioned_at: z.ZodOptional<z.ZodString>;
286
241
  }, z.core.$strip>>;
287
242
  }, z.core.$strip>]>;
288
- retention: z.ZodObject<{
243
+ retention: z.ZodUnion<readonly [z.ZodObject<{
289
244
  mode: z.ZodLiteral<"provided">;
290
- placement: z.ZodLiteral<"exact">;
245
+ placement: z.ZodEnum<{
246
+ exact: "exact";
247
+ automatic: "automatic";
248
+ }>;
291
249
  candidates: z.ZodArray<z.ZodObject<{
292
250
  candidate_id: z.ZodString;
293
251
  kind: z.ZodEnum<{
294
252
  question: "question";
295
253
  claim: "claim";
296
- event: "event";
297
- plan: "plan";
298
254
  decision: "decision";
299
255
  preference: "preference";
256
+ plan: "plan";
257
+ event: "event";
300
258
  }>;
301
259
  text: z.ZodString;
302
260
  subject: z.ZodString;
@@ -330,14 +288,14 @@ export declare const RetainUpsertSource: z.ZodObject<{
330
288
  counterfactual: "counterfactual";
331
289
  }>;
332
290
  disposition: z.ZodEnum<{
333
- superseded: "superseded";
334
- rejected: "rejected";
335
- completed: "completed";
336
- proposed: "proposed";
337
291
  active: "active";
292
+ proposed: "proposed";
338
293
  accepted: "accepted";
294
+ rejected: "rejected";
339
295
  resolved: "resolved";
340
296
  cancelled: "cancelled";
297
+ completed: "completed";
298
+ superseded: "superseded";
341
299
  }>;
342
300
  }, z.core.$strip>;
343
301
  epistemic: z.ZodObject<{
@@ -395,11 +353,11 @@ export declare const RetainUpsertSource: z.ZodObject<{
395
353
  start: z.ZodOptional<z.ZodString>;
396
354
  until: z.ZodOptional<z.ZodString>;
397
355
  precision: z.ZodEnum<{
398
- unknown: "unknown";
399
356
  instant: "instant";
400
357
  day: "day";
401
358
  month: "month";
402
359
  year: "year";
360
+ unknown: "unknown";
403
361
  }>;
404
362
  relation: z.ZodEnum<{
405
363
  occurred: "occurred";
@@ -408,9 +366,9 @@ export declare const RetainUpsertSource: z.ZodObject<{
408
366
  due: "due";
409
367
  }>;
410
368
  status: z.ZodEnum<{
411
- planned: "planned";
412
369
  scheduled: "scheduled";
413
370
  actual: "actual";
371
+ planned: "planned";
414
372
  tentative: "tentative";
415
373
  }>;
416
374
  timezone: z.ZodOptional<z.ZodString>;
@@ -435,12 +393,15 @@ export declare const RetainUpsertSource: z.ZodObject<{
435
393
  until: z.ZodOptional<z.ZodString>;
436
394
  }, z.core.$strip>>;
437
395
  }, z.core.$strip>>;
438
- destination: z.ZodObject<{
396
+ destination: z.ZodOptional<z.ZodObject<{
439
397
  slug: z.ZodString;
440
398
  section: z.ZodOptional<z.ZodString>;
441
- }, z.core.$strip>;
399
+ }, z.core.$strip>>;
442
400
  }, z.core.$strip>>;
443
- }, z.core.$strip>;
401
+ }, z.core.$strip>, z.ZodObject<{
402
+ mode: z.ZodLiteral<"extract">;
403
+ mission: z.ZodOptional<z.ZodString>;
404
+ }, z.core.$strip>]>;
444
405
  source_id: z.ZodString;
445
406
  revision: z.ZodString;
446
407
  }, z.core.$strip>;
@@ -490,18 +451,21 @@ export declare const RetainInput: z.ZodObject<{
490
451
  mentioned_at: z.ZodOptional<z.ZodString>;
491
452
  }, z.core.$strip>>;
492
453
  }, z.core.$strip>]>;
493
- retention: z.ZodObject<{
454
+ retention: z.ZodUnion<readonly [z.ZodObject<{
494
455
  mode: z.ZodLiteral<"provided">;
495
- placement: z.ZodLiteral<"exact">;
456
+ placement: z.ZodEnum<{
457
+ exact: "exact";
458
+ automatic: "automatic";
459
+ }>;
496
460
  candidates: z.ZodArray<z.ZodObject<{
497
461
  candidate_id: z.ZodString;
498
462
  kind: z.ZodEnum<{
499
463
  question: "question";
500
464
  claim: "claim";
501
- event: "event";
502
- plan: "plan";
503
465
  decision: "decision";
504
466
  preference: "preference";
467
+ plan: "plan";
468
+ event: "event";
505
469
  }>;
506
470
  text: z.ZodString;
507
471
  subject: z.ZodString;
@@ -535,14 +499,14 @@ export declare const RetainInput: z.ZodObject<{
535
499
  counterfactual: "counterfactual";
536
500
  }>;
537
501
  disposition: z.ZodEnum<{
538
- superseded: "superseded";
539
- rejected: "rejected";
540
- completed: "completed";
541
- proposed: "proposed";
542
502
  active: "active";
503
+ proposed: "proposed";
543
504
  accepted: "accepted";
505
+ rejected: "rejected";
544
506
  resolved: "resolved";
545
507
  cancelled: "cancelled";
508
+ completed: "completed";
509
+ superseded: "superseded";
546
510
  }>;
547
511
  }, z.core.$strip>;
548
512
  epistemic: z.ZodObject<{
@@ -600,11 +564,11 @@ export declare const RetainInput: z.ZodObject<{
600
564
  start: z.ZodOptional<z.ZodString>;
601
565
  until: z.ZodOptional<z.ZodString>;
602
566
  precision: z.ZodEnum<{
603
- unknown: "unknown";
604
567
  instant: "instant";
605
568
  day: "day";
606
569
  month: "month";
607
570
  year: "year";
571
+ unknown: "unknown";
608
572
  }>;
609
573
  relation: z.ZodEnum<{
610
574
  occurred: "occurred";
@@ -613,9 +577,9 @@ export declare const RetainInput: z.ZodObject<{
613
577
  due: "due";
614
578
  }>;
615
579
  status: z.ZodEnum<{
616
- planned: "planned";
617
580
  scheduled: "scheduled";
618
581
  actual: "actual";
582
+ planned: "planned";
619
583
  tentative: "tentative";
620
584
  }>;
621
585
  timezone: z.ZodOptional<z.ZodString>;
@@ -640,12 +604,15 @@ export declare const RetainInput: z.ZodObject<{
640
604
  until: z.ZodOptional<z.ZodString>;
641
605
  }, z.core.$strip>>;
642
606
  }, z.core.$strip>>;
643
- destination: z.ZodObject<{
607
+ destination: z.ZodOptional<z.ZodObject<{
644
608
  slug: z.ZodString;
645
609
  section: z.ZodOptional<z.ZodString>;
646
- }, z.core.$strip>;
610
+ }, z.core.$strip>>;
647
611
  }, z.core.$strip>>;
648
- }, z.core.$strip>;
612
+ }, z.core.$strip>, z.ZodObject<{
613
+ mode: z.ZodLiteral<"extract">;
614
+ mission: z.ZodOptional<z.ZodString>;
615
+ }, z.core.$strip>]>;
649
616
  source_id: z.ZodString;
650
617
  revision: z.ZodString;
651
618
  }, z.core.$strip>, z.ZodObject<{
@@ -665,6 +632,30 @@ export declare const RetainInput: z.ZodObject<{
665
632
  dry_run: z.ZodOptional<z.ZodBoolean>;
666
633
  }, z.core.$strip>;
667
634
  export type RetainInput = z.infer<typeof RetainInput>;
635
+ export declare const RetainHoldReason: z.ZodEnum<{
636
+ conflict: "conflict";
637
+ routing_uncertain: "routing_uncertain";
638
+ no_writable_destination: "no_writable_destination";
639
+ source_unavailable: "source_unavailable";
640
+ discourse_uncertain: "discourse_uncertain";
641
+ context_too_large: "context_too_large";
642
+ time_unresolved: "time_unresolved";
643
+ noncanonical_without_context: "noncanonical_without_context";
644
+ support_limit: "support_limit";
645
+ placement_degraded: "placement_degraded";
646
+ apply_failed: "apply_failed";
647
+ validation_failed: "validation_failed";
648
+ }>;
649
+ export type RetainHoldReason = z.infer<typeof RetainHoldReason>;
650
+ /** Content-free receipt for one automatic-retention model request. */
651
+ export declare const RetainModelCallReceipt: z.ZodObject<{
652
+ model: z.ZodString;
653
+ latency_ms: z.ZodNumber;
654
+ input_tokens: z.ZodNullable<z.ZodNumber>;
655
+ output_tokens: z.ZodNullable<z.ZodNumber>;
656
+ total_tokens: z.ZodNullable<z.ZodNumber>;
657
+ }, z.core.$strip>;
658
+ export type RetainModelCallReceipt = z.infer<typeof RetainModelCallReceipt>;
668
659
  export declare const RetainCandidateResult: z.ZodObject<{
669
660
  candidate_id: z.ZodString;
670
661
  outcome: z.ZodEnum<{
@@ -677,6 +668,20 @@ export declare const RetainCandidateResult: z.ZodObject<{
677
668
  }>;
678
669
  memory_id: z.ZodOptional<z.ZodString>;
679
670
  slug: z.ZodOptional<z.ZodString>;
671
+ reason_code: z.ZodOptional<z.ZodEnum<{
672
+ conflict: "conflict";
673
+ routing_uncertain: "routing_uncertain";
674
+ no_writable_destination: "no_writable_destination";
675
+ source_unavailable: "source_unavailable";
676
+ discourse_uncertain: "discourse_uncertain";
677
+ context_too_large: "context_too_large";
678
+ time_unresolved: "time_unresolved";
679
+ noncanonical_without_context: "noncanonical_without_context";
680
+ support_limit: "support_limit";
681
+ placement_degraded: "placement_degraded";
682
+ apply_failed: "apply_failed";
683
+ validation_failed: "validation_failed";
684
+ }>>;
680
685
  reason: z.ZodOptional<z.ZodString>;
681
686
  }, z.core.$strip>;
682
687
  export type RetainCandidateResult = z.infer<typeof RetainCandidateResult>;
@@ -703,8 +708,92 @@ export declare const RetainSourceResult: z.ZodObject<{
703
708
  }>;
704
709
  memory_id: z.ZodOptional<z.ZodString>;
705
710
  slug: z.ZodOptional<z.ZodString>;
711
+ reason_code: z.ZodOptional<z.ZodEnum<{
712
+ conflict: "conflict";
713
+ routing_uncertain: "routing_uncertain";
714
+ no_writable_destination: "no_writable_destination";
715
+ source_unavailable: "source_unavailable";
716
+ discourse_uncertain: "discourse_uncertain";
717
+ context_too_large: "context_too_large";
718
+ time_unresolved: "time_unresolved";
719
+ noncanonical_without_context: "noncanonical_without_context";
720
+ support_limit: "support_limit";
721
+ placement_degraded: "placement_degraded";
722
+ apply_failed: "apply_failed";
723
+ validation_failed: "validation_failed";
724
+ }>>;
706
725
  reason: z.ZodOptional<z.ZodString>;
707
726
  }, z.core.$strip>>;
727
+ reason_code: z.ZodOptional<z.ZodEnum<{
728
+ conflict: "conflict";
729
+ routing_uncertain: "routing_uncertain";
730
+ no_writable_destination: "no_writable_destination";
731
+ source_unavailable: "source_unavailable";
732
+ discourse_uncertain: "discourse_uncertain";
733
+ context_too_large: "context_too_large";
734
+ time_unresolved: "time_unresolved";
735
+ noncanonical_without_context: "noncanonical_without_context";
736
+ support_limit: "support_limit";
737
+ placement_degraded: "placement_degraded";
738
+ apply_failed: "apply_failed";
739
+ validation_failed: "validation_failed";
740
+ }>>;
741
+ status: z.ZodOptional<z.ZodEnum<{
742
+ ok: "ok";
743
+ empty: "empty";
744
+ degraded: "degraded";
745
+ unavailable: "unavailable";
746
+ }>>;
747
+ degraded: z.ZodOptional<z.ZodArray<z.ZodEnum<{
748
+ no_embedding_model: "no_embedding_model";
749
+ no_reranker: "no_reranker";
750
+ no_derive_model: "no_derive_model";
751
+ no_expansion_model: "no_expansion_model";
752
+ embedding_failed: "embedding_failed";
753
+ rerank_failed: "rerank_failed";
754
+ derive_failed: "derive_failed";
755
+ retain_verification_failed: "retain_verification_failed";
756
+ retain_apply_failed: "retain_apply_failed";
757
+ partial_temporal_index: "partial_temporal_index";
758
+ timeline_range_limited: "timeline_range_limited";
759
+ expansion_failed: "expansion_failed";
760
+ no_vector_index: "no_vector_index";
761
+ partial_index: "partial_index";
762
+ no_document_text: "no_document_text";
763
+ document_source_missing: "document_source_missing";
764
+ no_graph_index: "no_graph_index";
765
+ no_entity_index: "no_entity_index";
766
+ entity_resolution_failed: "entity_resolution_failed";
767
+ partial_graph_index: "partial_graph_index";
768
+ graph_traversal_limited: "graph_traversal_limited";
769
+ no_answer_model: "no_answer_model";
770
+ answer_failed: "answer_failed";
771
+ answer_verification_failed: "answer_verification_failed";
772
+ answer_truncated: "answer_truncated";
773
+ }>>>;
774
+ model_usage: z.ZodOptional<z.ZodObject<{
775
+ extraction: z.ZodNullable<z.ZodObject<{
776
+ model: z.ZodString;
777
+ latency_ms: z.ZodNumber;
778
+ input_tokens: z.ZodNullable<z.ZodNumber>;
779
+ output_tokens: z.ZodNullable<z.ZodNumber>;
780
+ total_tokens: z.ZodNullable<z.ZodNumber>;
781
+ }, z.core.$strip>>;
782
+ verification: z.ZodNullable<z.ZodObject<{
783
+ model: z.ZodString;
784
+ latency_ms: z.ZodNumber;
785
+ input_tokens: z.ZodNullable<z.ZodNumber>;
786
+ output_tokens: z.ZodNullable<z.ZodNumber>;
787
+ total_tokens: z.ZodNullable<z.ZodNumber>;
788
+ }, z.core.$strip>>;
789
+ placement: z.ZodArray<z.ZodObject<{
790
+ model: z.ZodString;
791
+ latency_ms: z.ZodNumber;
792
+ input_tokens: z.ZodNullable<z.ZodNumber>;
793
+ output_tokens: z.ZodNullable<z.ZodNumber>;
794
+ total_tokens: z.ZodNullable<z.ZodNumber>;
795
+ }, z.core.$strip>>;
796
+ }, z.core.$strip>>;
708
797
  note: z.ZodOptional<z.ZodString>;
709
798
  }, z.core.$strip>;
710
799
  export type RetainSourceResult = z.infer<typeof RetainSourceResult>;
@@ -723,6 +812,10 @@ export declare const RetainOutput: z.ZodObject<{
723
812
  embedding_failed: "embedding_failed";
724
813
  rerank_failed: "rerank_failed";
725
814
  derive_failed: "derive_failed";
815
+ retain_verification_failed: "retain_verification_failed";
816
+ retain_apply_failed: "retain_apply_failed";
817
+ partial_temporal_index: "partial_temporal_index";
818
+ timeline_range_limited: "timeline_range_limited";
726
819
  expansion_failed: "expansion_failed";
727
820
  no_vector_index: "no_vector_index";
728
821
  partial_index: "partial_index";
@@ -767,8 +860,92 @@ export declare const RetainOutput: z.ZodObject<{
767
860
  }>;
768
861
  memory_id: z.ZodOptional<z.ZodString>;
769
862
  slug: z.ZodOptional<z.ZodString>;
863
+ reason_code: z.ZodOptional<z.ZodEnum<{
864
+ conflict: "conflict";
865
+ routing_uncertain: "routing_uncertain";
866
+ no_writable_destination: "no_writable_destination";
867
+ source_unavailable: "source_unavailable";
868
+ discourse_uncertain: "discourse_uncertain";
869
+ context_too_large: "context_too_large";
870
+ time_unresolved: "time_unresolved";
871
+ noncanonical_without_context: "noncanonical_without_context";
872
+ support_limit: "support_limit";
873
+ placement_degraded: "placement_degraded";
874
+ apply_failed: "apply_failed";
875
+ validation_failed: "validation_failed";
876
+ }>>;
770
877
  reason: z.ZodOptional<z.ZodString>;
771
878
  }, z.core.$strip>>;
879
+ reason_code: z.ZodOptional<z.ZodEnum<{
880
+ conflict: "conflict";
881
+ routing_uncertain: "routing_uncertain";
882
+ no_writable_destination: "no_writable_destination";
883
+ source_unavailable: "source_unavailable";
884
+ discourse_uncertain: "discourse_uncertain";
885
+ context_too_large: "context_too_large";
886
+ time_unresolved: "time_unresolved";
887
+ noncanonical_without_context: "noncanonical_without_context";
888
+ support_limit: "support_limit";
889
+ placement_degraded: "placement_degraded";
890
+ apply_failed: "apply_failed";
891
+ validation_failed: "validation_failed";
892
+ }>>;
893
+ status: z.ZodOptional<z.ZodEnum<{
894
+ ok: "ok";
895
+ empty: "empty";
896
+ degraded: "degraded";
897
+ unavailable: "unavailable";
898
+ }>>;
899
+ degraded: z.ZodOptional<z.ZodArray<z.ZodEnum<{
900
+ no_embedding_model: "no_embedding_model";
901
+ no_reranker: "no_reranker";
902
+ no_derive_model: "no_derive_model";
903
+ no_expansion_model: "no_expansion_model";
904
+ embedding_failed: "embedding_failed";
905
+ rerank_failed: "rerank_failed";
906
+ derive_failed: "derive_failed";
907
+ retain_verification_failed: "retain_verification_failed";
908
+ retain_apply_failed: "retain_apply_failed";
909
+ partial_temporal_index: "partial_temporal_index";
910
+ timeline_range_limited: "timeline_range_limited";
911
+ expansion_failed: "expansion_failed";
912
+ no_vector_index: "no_vector_index";
913
+ partial_index: "partial_index";
914
+ no_document_text: "no_document_text";
915
+ document_source_missing: "document_source_missing";
916
+ no_graph_index: "no_graph_index";
917
+ no_entity_index: "no_entity_index";
918
+ entity_resolution_failed: "entity_resolution_failed";
919
+ partial_graph_index: "partial_graph_index";
920
+ graph_traversal_limited: "graph_traversal_limited";
921
+ no_answer_model: "no_answer_model";
922
+ answer_failed: "answer_failed";
923
+ answer_verification_failed: "answer_verification_failed";
924
+ answer_truncated: "answer_truncated";
925
+ }>>>;
926
+ model_usage: z.ZodOptional<z.ZodObject<{
927
+ extraction: z.ZodNullable<z.ZodObject<{
928
+ model: z.ZodString;
929
+ latency_ms: z.ZodNumber;
930
+ input_tokens: z.ZodNullable<z.ZodNumber>;
931
+ output_tokens: z.ZodNullable<z.ZodNumber>;
932
+ total_tokens: z.ZodNullable<z.ZodNumber>;
933
+ }, z.core.$strip>>;
934
+ verification: z.ZodNullable<z.ZodObject<{
935
+ model: z.ZodString;
936
+ latency_ms: z.ZodNumber;
937
+ input_tokens: z.ZodNullable<z.ZodNumber>;
938
+ output_tokens: z.ZodNullable<z.ZodNumber>;
939
+ total_tokens: z.ZodNullable<z.ZodNumber>;
940
+ }, z.core.$strip>>;
941
+ placement: z.ZodArray<z.ZodObject<{
942
+ model: z.ZodString;
943
+ latency_ms: z.ZodNumber;
944
+ input_tokens: z.ZodNullable<z.ZodNumber>;
945
+ output_tokens: z.ZodNullable<z.ZodNumber>;
946
+ total_tokens: z.ZodNullable<z.ZodNumber>;
947
+ }, z.core.$strip>>;
948
+ }, z.core.$strip>>;
772
949
  note: z.ZodOptional<z.ZodString>;
773
950
  }, z.core.$strip>>;
774
951
  }, z.core.$strip>;
@@ -1 +1 @@
1
- {"version":3,"file":"retain.d.ts","sourceRoot":"","sources":["../../src/ops/retain.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,gBAAgB;;;;;EAAuD,CAAC;AACrF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,gBAAgB;;;iBAG3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,iBAAiB;;;;;;;;;;mBAK5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4ErB,CAAC;AACL,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAgCxD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;iBAQ3B,CAAC;AACH,MAAM,M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