@kortyx/telemetry-contracts 0.14.0 → 0.17.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/index.d.ts CHANGED
@@ -1,5 +1,209 @@
1
1
  import { z } from 'zod';
2
2
 
3
+ declare const DIAGNOSTIC_LIMITS: {
4
+ readonly bytes: number;
5
+ readonly partBytes: number;
6
+ readonly parts: 128;
7
+ readonly nodes: 10000;
8
+ readonly depth: 128;
9
+ readonly properties: 1000;
10
+ };
11
+ declare const DiagnosticNoteSchema: z.ZodObject<{
12
+ path: z.ZodString;
13
+ reason: z.ZodString;
14
+ originalBytes: z.ZodOptional<z.ZodNumber>;
15
+ originalCount: z.ZodOptional<z.ZodNumber>;
16
+ }, z.core.$strict>;
17
+ declare const DiagnosticContentSchema: z.ZodObject<{
18
+ schemaVersion: z.ZodLiteral<1>;
19
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20
+ capture: z.ZodObject<{
21
+ status: z.ZodEnum<{
22
+ complete: "complete";
23
+ failed: "failed";
24
+ partial: "partial";
25
+ }>;
26
+ omissions: z.ZodArray<z.ZodObject<{
27
+ path: z.ZodString;
28
+ reason: z.ZodString;
29
+ originalBytes: z.ZodOptional<z.ZodNumber>;
30
+ originalCount: z.ZodOptional<z.ZodNumber>;
31
+ }, z.core.$strict>>;
32
+ redactions: z.ZodArray<z.ZodObject<{
33
+ path: z.ZodString;
34
+ reason: z.ZodString;
35
+ originalBytes: z.ZodOptional<z.ZodNumber>;
36
+ originalCount: z.ZodOptional<z.ZodNumber>;
37
+ }, z.core.$strict>>;
38
+ }, z.core.$strict>;
39
+ }, z.core.$strict>;
40
+ type DiagnosticContent = z.infer<typeof DiagnosticContentSchema>;
41
+ type DiagnosticNote = z.infer<typeof DiagnosticNoteSchema>;
42
+ declare const DiagnosticCorrelationSchema: z.ZodObject<{
43
+ runId: z.ZodOptional<z.ZodString>;
44
+ workflowId: z.ZodOptional<z.ZodString>;
45
+ nodeId: z.ZodOptional<z.ZodString>;
46
+ sessionId: z.ZodOptional<z.ZodString>;
47
+ invocationId: z.ZodOptional<z.ZodString>;
48
+ parentInvocationId: z.ZodOptional<z.ZodString>;
49
+ branchId: z.ZodOptional<z.ZodString>;
50
+ toolCallId: z.ZodOptional<z.ZodString>;
51
+ attemptId: z.ZodOptional<z.ZodString>;
52
+ workflowRevisionId: z.ZodOptional<z.ZodString>;
53
+ traceId: z.ZodOptional<z.ZodString>;
54
+ spanId: z.ZodOptional<z.ZodString>;
55
+ parentSpanId: z.ZodOptional<z.ZodString>;
56
+ }, z.core.$strict>;
57
+ declare const DiagnosticManifestSchema: z.ZodObject<{
58
+ schemaVersion: z.ZodLiteral<1>;
59
+ diagnosticId: z.ZodString;
60
+ occurrenceId: z.ZodString;
61
+ occurredAt: z.ZodString;
62
+ environment: z.ZodString;
63
+ service: z.ZodObject<{
64
+ name: z.ZodString;
65
+ deploymentRef: z.ZodOptional<z.ZodString>;
66
+ }, z.core.$strict>;
67
+ correlation: z.ZodObject<{
68
+ runId: z.ZodOptional<z.ZodString>;
69
+ workflowId: z.ZodOptional<z.ZodString>;
70
+ nodeId: z.ZodOptional<z.ZodString>;
71
+ sessionId: z.ZodOptional<z.ZodString>;
72
+ invocationId: z.ZodOptional<z.ZodString>;
73
+ parentInvocationId: z.ZodOptional<z.ZodString>;
74
+ branchId: z.ZodOptional<z.ZodString>;
75
+ toolCallId: z.ZodOptional<z.ZodString>;
76
+ attemptId: z.ZodOptional<z.ZodString>;
77
+ workflowRevisionId: z.ZodOptional<z.ZodString>;
78
+ traceId: z.ZodOptional<z.ZodString>;
79
+ spanId: z.ZodOptional<z.ZodString>;
80
+ parentSpanId: z.ZodOptional<z.ZodString>;
81
+ }, z.core.$strict>;
82
+ handled: z.ZodBoolean;
83
+ severity: z.ZodEnum<{
84
+ error: "error";
85
+ warning: "warning";
86
+ }>;
87
+ mechanism: z.ZodEnum<{
88
+ span: "span";
89
+ report: "report";
90
+ tool: "tool";
91
+ }>;
92
+ summary: z.ZodObject<{
93
+ type: z.ZodString;
94
+ message: z.ZodString;
95
+ }, z.core.$strict>;
96
+ captureStatus: z.ZodEnum<{
97
+ complete: "complete";
98
+ failed: "failed";
99
+ partial: "partial";
100
+ }>;
101
+ checksum: z.ZodString;
102
+ byteLength: z.ZodNumber;
103
+ partCount: z.ZodNumber;
104
+ }, z.core.$strict>;
105
+ type DiagnosticManifest = z.infer<typeof DiagnosticManifestSchema>;
106
+ declare const DiagnosticPartSchema: z.ZodObject<{
107
+ index: z.ZodNumber;
108
+ data: z.ZodString;
109
+ }, z.core.$strict>;
110
+ declare const DiagnosticResponseSchema: z.ZodObject<{
111
+ manifest: z.ZodObject<{
112
+ schemaVersion: z.ZodLiteral<1>;
113
+ diagnosticId: z.ZodString;
114
+ occurrenceId: z.ZodString;
115
+ occurredAt: z.ZodString;
116
+ environment: z.ZodString;
117
+ service: z.ZodObject<{
118
+ name: z.ZodString;
119
+ deploymentRef: z.ZodOptional<z.ZodString>;
120
+ }, z.core.$strict>;
121
+ correlation: z.ZodObject<{
122
+ runId: z.ZodOptional<z.ZodString>;
123
+ workflowId: z.ZodOptional<z.ZodString>;
124
+ nodeId: z.ZodOptional<z.ZodString>;
125
+ sessionId: z.ZodOptional<z.ZodString>;
126
+ invocationId: z.ZodOptional<z.ZodString>;
127
+ parentInvocationId: z.ZodOptional<z.ZodString>;
128
+ branchId: z.ZodOptional<z.ZodString>;
129
+ toolCallId: z.ZodOptional<z.ZodString>;
130
+ attemptId: z.ZodOptional<z.ZodString>;
131
+ workflowRevisionId: z.ZodOptional<z.ZodString>;
132
+ traceId: z.ZodOptional<z.ZodString>;
133
+ spanId: z.ZodOptional<z.ZodString>;
134
+ parentSpanId: z.ZodOptional<z.ZodString>;
135
+ }, z.core.$strict>;
136
+ handled: z.ZodBoolean;
137
+ severity: z.ZodEnum<{
138
+ error: "error";
139
+ warning: "warning";
140
+ }>;
141
+ mechanism: z.ZodEnum<{
142
+ span: "span";
143
+ report: "report";
144
+ tool: "tool";
145
+ }>;
146
+ summary: z.ZodObject<{
147
+ type: z.ZodString;
148
+ message: z.ZodString;
149
+ }, z.core.$strict>;
150
+ captureStatus: z.ZodEnum<{
151
+ complete: "complete";
152
+ failed: "failed";
153
+ partial: "partial";
154
+ }>;
155
+ checksum: z.ZodString;
156
+ byteLength: z.ZodNumber;
157
+ partCount: z.ZodNumber;
158
+ }, z.core.$strict>;
159
+ state: z.ZodEnum<{
160
+ incomplete: "incomplete";
161
+ pending: "pending";
162
+ expired: "expired";
163
+ available: "available";
164
+ }>;
165
+ receivedParts: z.ZodNumber;
166
+ expiresAt: z.ZodString;
167
+ content: z.ZodNullable<z.ZodObject<{
168
+ schemaVersion: z.ZodLiteral<1>;
169
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
170
+ capture: z.ZodObject<{
171
+ status: z.ZodEnum<{
172
+ complete: "complete";
173
+ failed: "failed";
174
+ partial: "partial";
175
+ }>;
176
+ omissions: z.ZodArray<z.ZodObject<{
177
+ path: z.ZodString;
178
+ reason: z.ZodString;
179
+ originalBytes: z.ZodOptional<z.ZodNumber>;
180
+ originalCount: z.ZodOptional<z.ZodNumber>;
181
+ }, z.core.$strict>>;
182
+ redactions: z.ZodArray<z.ZodObject<{
183
+ path: z.ZodString;
184
+ reason: z.ZodString;
185
+ originalBytes: z.ZodOptional<z.ZodNumber>;
186
+ originalCount: z.ZodOptional<z.ZodNumber>;
187
+ }, z.core.$strict>>;
188
+ }, z.core.$strict>;
189
+ }, z.core.$strict>>;
190
+ contentChecksum: z.ZodNullable<z.ZodString>;
191
+ contentByteLength: z.ZodNullable<z.ZodNumber>;
192
+ }, z.core.$strict>;
193
+ type DiagnosticResponse = z.infer<typeof DiagnosticResponseSchema>;
194
+ /** Shared mandatory policy for diagnostic keys and embedded credential text. */
195
+ declare const isPrivateDiagnosticField: (key: string) => boolean;
196
+ declare function redactDiagnosticText(value: string): string;
197
+ /** A summary intentionally omits custom fields; the diagnostic preserves them. */
198
+ declare function summarizeDiagnostic(data: Record<string, unknown>, depth?: number): {
199
+ type: string;
200
+ message: string;
201
+ stack?: string;
202
+ cause?: unknown;
203
+ };
204
+ /** Defense in depth for JSON received directly by the diagnostic API. */
205
+ declare function redactDiagnosticContent(content: DiagnosticContent): DiagnosticContent;
206
+
3
207
  declare const FEEDBACK_FILTERS: readonly ["positive", "negative", "unrated"];
4
208
  declare const FeedbackSummarySchema: z.ZodObject<{
5
209
  positive: z.ZodNumber;
@@ -236,6 +440,7 @@ declare const ToolObservationSchema: z.ZodObject<{
236
440
  denialCode: z.ZodOptional<z.ZodString>;
237
441
  errorType: z.ZodOptional<z.ZodString>;
238
442
  errorMessage: z.ZodOptional<z.ZodString>;
443
+ diagnosticId: z.ZodOptional<z.ZodString>;
239
444
  durationMs: z.ZodOptional<z.ZodNumber>;
240
445
  workflowId: z.ZodOptional<z.ZodString>;
241
446
  nodeId: z.ZodOptional<z.ZodString>;
@@ -312,6 +517,623 @@ declare const StudioToolSchema: z.ZodObject<{
312
517
  type WorkflowTool = z.infer<typeof WorkflowToolSchema>;
313
518
  type StudioTool = z.infer<typeof StudioToolSchema>;
314
519
 
520
+ declare const PromptCategorySchema: z.ZodObject<{
521
+ id: z.ZodUUID;
522
+ name: z.ZodString;
523
+ parentId: z.ZodNullable<z.ZodUUID>;
524
+ revision: z.ZodNumber;
525
+ }, z.core.$strip>;
526
+ declare const PromptGroupSchema: z.ZodObject<{
527
+ id: z.ZodUUID;
528
+ name: z.ZodString;
529
+ revision: z.ZodNumber;
530
+ members: z.ZodArray<z.ZodObject<{
531
+ promptId: z.ZodUUID;
532
+ version: z.ZodNumber;
533
+ key: z.ZodOptional<z.ZodString>;
534
+ name: z.ZodOptional<z.ZodString>;
535
+ archived: z.ZodOptional<z.ZodBoolean>;
536
+ }, z.core.$strip>>;
537
+ updatedAt: z.ZodString;
538
+ }, z.core.$strip>;
539
+ declare const PromptAssignmentSchema: z.ZodObject<{
540
+ tag: z.ZodString;
541
+ version: z.ZodNumber;
542
+ revision: z.ZodNumber;
543
+ updatedAt: z.ZodString;
544
+ }, z.core.$strip>;
545
+ declare const PromptAssetSchema: z.ZodObject<{
546
+ id: z.ZodUUID;
547
+ key: z.ZodString;
548
+ name: z.ZodString;
549
+ categoryId: z.ZodNullable<z.ZodUUID>;
550
+ latestVersion: z.ZodNumber;
551
+ revision: z.ZodNumber;
552
+ archived: z.ZodBoolean;
553
+ updatedAt: z.ZodString;
554
+ assignments: z.ZodArray<z.ZodObject<{
555
+ tag: z.ZodString;
556
+ version: z.ZodNumber;
557
+ revision: z.ZodNumber;
558
+ updatedAt: z.ZodString;
559
+ }, z.core.$strip>>;
560
+ }, z.core.$strip>;
561
+ declare const PromptLibrarySchema: z.ZodObject<{
562
+ schemaVersion: z.ZodLiteral<1>;
563
+ assets: z.ZodArray<z.ZodObject<{
564
+ id: z.ZodUUID;
565
+ key: z.ZodString;
566
+ name: z.ZodString;
567
+ categoryId: z.ZodNullable<z.ZodUUID>;
568
+ latestVersion: z.ZodNumber;
569
+ revision: z.ZodNumber;
570
+ archived: z.ZodBoolean;
571
+ updatedAt: z.ZodString;
572
+ assignments: z.ZodArray<z.ZodObject<{
573
+ tag: z.ZodString;
574
+ version: z.ZodNumber;
575
+ revision: z.ZodNumber;
576
+ updatedAt: z.ZodString;
577
+ }, z.core.$strip>>;
578
+ }, z.core.$strip>>;
579
+ categories: z.ZodArray<z.ZodObject<{
580
+ id: z.ZodUUID;
581
+ name: z.ZodString;
582
+ parentId: z.ZodNullable<z.ZodUUID>;
583
+ revision: z.ZodNumber;
584
+ }, z.core.$strip>>;
585
+ groups: z.ZodArray<z.ZodObject<{
586
+ id: z.ZodUUID;
587
+ name: z.ZodString;
588
+ revision: z.ZodNumber;
589
+ members: z.ZodArray<z.ZodObject<{
590
+ promptId: z.ZodUUID;
591
+ version: z.ZodNumber;
592
+ key: z.ZodOptional<z.ZodString>;
593
+ name: z.ZodOptional<z.ZodString>;
594
+ archived: z.ZodOptional<z.ZodBoolean>;
595
+ }, z.core.$strip>>;
596
+ updatedAt: z.ZodString;
597
+ }, z.core.$strip>>;
598
+ totalCount: z.ZodNumber;
599
+ nextCursor: z.ZodNullable<z.ZodString>;
600
+ permissions: z.ZodObject<{
601
+ edit: z.ZodBoolean;
602
+ promote: z.ZodBoolean;
603
+ review: z.ZodBoolean;
604
+ settings: z.ZodBoolean;
605
+ }, z.core.$strip>;
606
+ }, z.core.$strip>;
607
+ declare const PromptStoredVersionSchema: z.ZodObject<{
608
+ id: z.ZodString;
609
+ version: z.ZodNumber;
610
+ hash: z.ZodString;
611
+ content: z.ZodObject<{
612
+ format: z.ZodEnum<{
613
+ "system-user": "system-user";
614
+ chat: "chat";
615
+ }>;
616
+ messages: z.ZodArray<z.ZodObject<{
617
+ role: z.ZodEnum<{
618
+ system: "system";
619
+ user: "user";
620
+ assistant: "assistant";
621
+ }>;
622
+ content: z.ZodString;
623
+ }, z.core.$strict>>;
624
+ variablesSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
625
+ configSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
626
+ config: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
627
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
628
+ id: z.ZodString;
629
+ version: z.ZodNumber;
630
+ hash: z.ZodString;
631
+ }, z.core.$strict>>>;
632
+ }, z.core.$strict>;
633
+ promptId: z.ZodUUID;
634
+ note: z.ZodString;
635
+ author: z.ZodString;
636
+ createdAt: z.ZodString;
637
+ origin: z.ZodNullable<z.ZodObject<{
638
+ apiUrl: z.ZodString;
639
+ projectId: z.ZodString;
640
+ key: z.ZodString;
641
+ version: z.ZodNumber;
642
+ hash: z.ZodString;
643
+ }, z.core.$strip>>;
644
+ }, z.core.$strip>;
645
+ declare const PromptPolicySchema: z.ZodObject<{
646
+ revision: z.ZodNumber;
647
+ requireTest: z.ZodBoolean;
648
+ requireChangeNote: z.ZodDefault<z.ZodBoolean>;
649
+ requiredSuites: z.ZodArray<z.ZodObject<{
650
+ targetId: z.ZodString;
651
+ suiteId: z.ZodString;
652
+ }, z.core.$strip>>;
653
+ requiredReviews: z.ZodNumber;
654
+ allowException: z.ZodBoolean;
655
+ }, z.core.$strip>;
656
+ declare const PromptEvidenceSchema: z.ZodObject<{
657
+ environment: z.ZodString;
658
+ runId: z.ZodString;
659
+ evaluationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
660
+ targetId: z.ZodString;
661
+ suiteId: z.ZodString;
662
+ suiteRevision: z.ZodOptional<z.ZodString>;
663
+ status: z.ZodString;
664
+ version: z.ZodNumber;
665
+ fullSuite: z.ZodBoolean;
666
+ usage: z.ZodEnum<{
667
+ pending: "pending";
668
+ verified: "verified";
669
+ "not-used": "not-used";
670
+ mismatch: "mismatch";
671
+ "context-differs": "context-differs";
672
+ }>;
673
+ groupName: z.ZodNullable<z.ZodString>;
674
+ createdAt: z.ZodString;
675
+ companions: z.ZodArray<z.ZodObject<{
676
+ key: z.ZodString;
677
+ version: z.ZodNumber;
678
+ }, z.core.$strip>>;
679
+ }, z.core.$strip>;
680
+ declare const PromptUsageSchema: z.ZodObject<{
681
+ eventId: z.ZodString;
682
+ runId: z.ZodString;
683
+ sessionId: z.ZodNullable<z.ZodString>;
684
+ nodeId: z.ZodNullable<z.ZodString>;
685
+ version: z.ZodNumber;
686
+ hash: z.ZodNullable<z.ZodString>;
687
+ source: z.ZodNullable<z.ZodString>;
688
+ model: z.ZodNullable<z.ZodString>;
689
+ environment: z.ZodString;
690
+ occurredAt: z.ZodString;
691
+ captured: z.ZodBoolean;
692
+ }, z.core.$strip>;
693
+ declare const PromptDetailSchema: z.ZodObject<{
694
+ asset: z.ZodObject<{
695
+ id: z.ZodUUID;
696
+ key: z.ZodString;
697
+ name: z.ZodString;
698
+ categoryId: z.ZodNullable<z.ZodUUID>;
699
+ latestVersion: z.ZodNumber;
700
+ revision: z.ZodNumber;
701
+ archived: z.ZodBoolean;
702
+ updatedAt: z.ZodString;
703
+ assignments: z.ZodArray<z.ZodObject<{
704
+ tag: z.ZodString;
705
+ version: z.ZodNumber;
706
+ revision: z.ZodNumber;
707
+ updatedAt: z.ZodString;
708
+ }, z.core.$strip>>;
709
+ }, z.core.$strip>;
710
+ versions: z.ZodArray<z.ZodObject<{
711
+ id: z.ZodString;
712
+ version: z.ZodNumber;
713
+ hash: z.ZodString;
714
+ content: z.ZodObject<{
715
+ format: z.ZodEnum<{
716
+ "system-user": "system-user";
717
+ chat: "chat";
718
+ }>;
719
+ messages: z.ZodArray<z.ZodObject<{
720
+ role: z.ZodEnum<{
721
+ system: "system";
722
+ user: "user";
723
+ assistant: "assistant";
724
+ }>;
725
+ content: z.ZodString;
726
+ }, z.core.$strict>>;
727
+ variablesSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
728
+ configSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
729
+ config: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
730
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
731
+ id: z.ZodString;
732
+ version: z.ZodNumber;
733
+ hash: z.ZodString;
734
+ }, z.core.$strict>>>;
735
+ }, z.core.$strict>;
736
+ promptId: z.ZodUUID;
737
+ note: z.ZodString;
738
+ author: z.ZodString;
739
+ createdAt: z.ZodString;
740
+ origin: z.ZodNullable<z.ZodObject<{
741
+ apiUrl: z.ZodString;
742
+ projectId: z.ZodString;
743
+ key: z.ZodString;
744
+ version: z.ZodNumber;
745
+ hash: z.ZodString;
746
+ }, z.core.$strip>>;
747
+ }, z.core.$strip>>;
748
+ versionsNextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
749
+ draft: z.ZodNullable<z.ZodObject<{
750
+ format: z.ZodEnum<{
751
+ "system-user": "system-user";
752
+ chat: "chat";
753
+ }>;
754
+ messages: z.ZodArray<z.ZodObject<{
755
+ role: z.ZodEnum<{
756
+ system: "system";
757
+ user: "user";
758
+ assistant: "assistant";
759
+ }>;
760
+ content: z.ZodString;
761
+ }, z.core.$strict>>;
762
+ variablesSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
763
+ configSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
764
+ config: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
765
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
766
+ id: z.ZodString;
767
+ version: z.ZodNumber;
768
+ hash: z.ZodString;
769
+ }, z.core.$strict>>>;
770
+ }, z.core.$strict>>;
771
+ draftBase: z.ZodNullable<z.ZodNumber>;
772
+ draftRevision: z.ZodNumber;
773
+ evidence: z.ZodArray<z.ZodObject<{
774
+ environment: z.ZodString;
775
+ runId: z.ZodString;
776
+ evaluationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
777
+ targetId: z.ZodString;
778
+ suiteId: z.ZodString;
779
+ suiteRevision: z.ZodOptional<z.ZodString>;
780
+ status: z.ZodString;
781
+ version: z.ZodNumber;
782
+ fullSuite: z.ZodBoolean;
783
+ usage: z.ZodEnum<{
784
+ pending: "pending";
785
+ verified: "verified";
786
+ "not-used": "not-used";
787
+ mismatch: "mismatch";
788
+ "context-differs": "context-differs";
789
+ }>;
790
+ groupName: z.ZodNullable<z.ZodString>;
791
+ createdAt: z.ZodString;
792
+ companions: z.ZodArray<z.ZodObject<{
793
+ key: z.ZodString;
794
+ version: z.ZodNumber;
795
+ }, z.core.$strip>>;
796
+ }, z.core.$strip>>;
797
+ usage: z.ZodArray<z.ZodObject<{
798
+ eventId: z.ZodString;
799
+ runId: z.ZodString;
800
+ sessionId: z.ZodNullable<z.ZodString>;
801
+ nodeId: z.ZodNullable<z.ZodString>;
802
+ version: z.ZodNumber;
803
+ hash: z.ZodNullable<z.ZodString>;
804
+ source: z.ZodNullable<z.ZodString>;
805
+ model: z.ZodNullable<z.ZodString>;
806
+ environment: z.ZodString;
807
+ occurredAt: z.ZodString;
808
+ captured: z.ZodBoolean;
809
+ }, z.core.$strip>>;
810
+ activity: z.ZodArray<z.ZodObject<{
811
+ id: z.ZodString;
812
+ action: z.ZodString;
813
+ actor: z.ZodString;
814
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
815
+ createdAt: z.ZodString;
816
+ }, z.core.$strip>>;
817
+ policies: z.ZodArray<z.ZodObject<{
818
+ revision: z.ZodNumber;
819
+ requireTest: z.ZodBoolean;
820
+ requireChangeNote: z.ZodDefault<z.ZodBoolean>;
821
+ requiredSuites: z.ZodArray<z.ZodObject<{
822
+ targetId: z.ZodString;
823
+ suiteId: z.ZodString;
824
+ }, z.core.$strip>>;
825
+ requiredReviews: z.ZodNumber;
826
+ allowException: z.ZodBoolean;
827
+ }, z.core.$strip>>;
828
+ reviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
829
+ version: z.ZodNumber;
830
+ hash: z.ZodString;
831
+ independent: z.ZodBoolean;
832
+ reviewer: z.ZodString;
833
+ note: z.ZodString;
834
+ createdAt: z.ZodString;
835
+ }, z.core.$strip>>>;
836
+ }, z.core.$strip>;
837
+ declare const PromptMutationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
838
+ action: z.ZodLiteral<"tag-set">;
839
+ id: z.ZodUUID;
840
+ tag: z.ZodString;
841
+ version: z.ZodNumber;
842
+ expectedRevision: z.ZodNumber;
843
+ }, z.core.$strict>, z.ZodObject<{
844
+ action: z.ZodLiteral<"tag-remove">;
845
+ id: z.ZodUUID;
846
+ tag: z.ZodString;
847
+ expectedRevision: z.ZodNumber;
848
+ }, z.core.$strict>, z.ZodObject<{
849
+ action: z.ZodLiteral<"bulk-update">;
850
+ assets: z.ZodArray<z.ZodObject<{
851
+ id: z.ZodUUID;
852
+ expectedRevision: z.ZodNumber;
853
+ }, z.core.$strip>>;
854
+ categoryId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
855
+ archived: z.ZodOptional<z.ZodBoolean>;
856
+ }, z.core.$strict>, z.ZodObject<{
857
+ action: z.ZodLiteral<"create">;
858
+ key: z.ZodString;
859
+ name: z.ZodString;
860
+ categoryId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
861
+ content: z.ZodObject<{
862
+ format: z.ZodEnum<{
863
+ "system-user": "system-user";
864
+ chat: "chat";
865
+ }>;
866
+ messages: z.ZodArray<z.ZodObject<{
867
+ role: z.ZodEnum<{
868
+ system: "system";
869
+ user: "user";
870
+ assistant: "assistant";
871
+ }>;
872
+ content: z.ZodString;
873
+ }, z.core.$strict>>;
874
+ variablesSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
875
+ configSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
876
+ config: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
877
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
878
+ id: z.ZodString;
879
+ version: z.ZodNumber;
880
+ hash: z.ZodString;
881
+ }, z.core.$strict>>>;
882
+ }, z.core.$strict>;
883
+ note: z.ZodDefault<z.ZodString>;
884
+ idempotencyKey: z.ZodOptional<z.ZodUUID>;
885
+ }, z.core.$strict>, z.ZodObject<{
886
+ action: z.ZodLiteral<"draft">;
887
+ id: z.ZodUUID;
888
+ content: z.ZodObject<{
889
+ format: z.ZodEnum<{
890
+ "system-user": "system-user";
891
+ chat: "chat";
892
+ }>;
893
+ messages: z.ZodArray<z.ZodObject<{
894
+ role: z.ZodEnum<{
895
+ system: "system";
896
+ user: "user";
897
+ assistant: "assistant";
898
+ }>;
899
+ content: z.ZodString;
900
+ }, z.core.$strict>>;
901
+ variablesSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
902
+ configSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
903
+ config: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
904
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
905
+ id: z.ZodString;
906
+ version: z.ZodNumber;
907
+ hash: z.ZodString;
908
+ }, z.core.$strict>>>;
909
+ }, z.core.$strict>;
910
+ baseVersion: z.ZodNumber;
911
+ expectedRevision: z.ZodNumber;
912
+ }, z.core.$strict>, z.ZodObject<{
913
+ action: z.ZodLiteral<"discard-draft">;
914
+ id: z.ZodUUID;
915
+ expectedRevision: z.ZodNumber;
916
+ }, z.core.$strict>, z.ZodObject<{
917
+ action: z.ZodLiteral<"save">;
918
+ id: z.ZodUUID;
919
+ content: z.ZodObject<{
920
+ format: z.ZodEnum<{
921
+ "system-user": "system-user";
922
+ chat: "chat";
923
+ }>;
924
+ messages: z.ZodArray<z.ZodObject<{
925
+ role: z.ZodEnum<{
926
+ system: "system";
927
+ user: "user";
928
+ assistant: "assistant";
929
+ }>;
930
+ content: z.ZodString;
931
+ }, z.core.$strict>>;
932
+ variablesSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
933
+ configSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
934
+ config: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
935
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
936
+ id: z.ZodString;
937
+ version: z.ZodNumber;
938
+ hash: z.ZodString;
939
+ }, z.core.$strict>>>;
940
+ }, z.core.$strict>;
941
+ baseVersion: z.ZodNumber;
942
+ expectedHash: z.ZodString;
943
+ expectedDraftRevision: z.ZodOptional<z.ZodNumber>;
944
+ note: z.ZodDefault<z.ZodString>;
945
+ idempotencyKey: z.ZodUUID;
946
+ }, z.core.$strict>, z.ZodObject<{
947
+ action: z.ZodLiteral<"update">;
948
+ id: z.ZodUUID;
949
+ expectedRevision: z.ZodNumber;
950
+ name: z.ZodOptional<z.ZodString>;
951
+ categoryId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
952
+ archived: z.ZodOptional<z.ZodBoolean>;
953
+ }, z.core.$strict>, z.ZodObject<{
954
+ action: z.ZodLiteral<"category-create">;
955
+ path: z.ZodString;
956
+ }, z.core.$strict>, z.ZodObject<{
957
+ action: z.ZodLiteral<"category-update">;
958
+ id: z.ZodUUID;
959
+ expectedRevision: z.ZodNumber;
960
+ name: z.ZodOptional<z.ZodString>;
961
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
962
+ }, z.core.$strict>, z.ZodObject<{
963
+ action: z.ZodLiteral<"category-delete">;
964
+ id: z.ZodUUID;
965
+ expectedRevision: z.ZodNumber;
966
+ destinationId: z.ZodNullable<z.ZodUUID>;
967
+ }, z.core.$strict>, z.ZodObject<{
968
+ action: z.ZodLiteral<"group-create">;
969
+ name: z.ZodString;
970
+ members: z.ZodOptional<z.ZodArray<z.ZodObject<{
971
+ promptId: z.ZodUUID;
972
+ version: z.ZodNumber;
973
+ }, z.core.$strip>>>;
974
+ }, z.core.$strict>, z.ZodObject<{
975
+ action: z.ZodLiteral<"group-update">;
976
+ id: z.ZodUUID;
977
+ expectedRevision: z.ZodNumber;
978
+ name: z.ZodOptional<z.ZodString>;
979
+ members: z.ZodOptional<z.ZodArray<z.ZodObject<{
980
+ promptId: z.ZodUUID;
981
+ version: z.ZodNumber;
982
+ }, z.core.$strip>>>;
983
+ }, z.core.$strict>, z.ZodObject<{
984
+ action: z.ZodLiteral<"group-delete">;
985
+ id: z.ZodUUID;
986
+ expectedRevision: z.ZodNumber;
987
+ }, z.core.$strict>, z.ZodObject<{
988
+ action: z.ZodLiteral<"promote">;
989
+ id: z.ZodUUID;
990
+ version: z.ZodNumber;
991
+ expectedRevision: z.ZodNumber;
992
+ exceptionReason: z.ZodOptional<z.ZodString>;
993
+ rollback: z.ZodDefault<z.ZodBoolean>;
994
+ }, z.core.$strict>, z.ZodObject<{
995
+ action: z.ZodLiteral<"review">;
996
+ id: z.ZodUUID;
997
+ version: z.ZodNumber;
998
+ note: z.ZodString;
999
+ }, z.core.$strict>, z.ZodObject<{
1000
+ action: z.ZodLiteral<"policy">;
1001
+ id: z.ZodUUID;
1002
+ policy: z.ZodObject<{
1003
+ revision: z.ZodNumber;
1004
+ requireTest: z.ZodBoolean;
1005
+ requireChangeNote: z.ZodDefault<z.ZodBoolean>;
1006
+ requiredSuites: z.ZodArray<z.ZodObject<{
1007
+ targetId: z.ZodString;
1008
+ suiteId: z.ZodString;
1009
+ }, z.core.$strip>>;
1010
+ requiredReviews: z.ZodNumber;
1011
+ allowException: z.ZodBoolean;
1012
+ }, z.core.$strip>;
1013
+ }, z.core.$strict>], "action">;
1014
+ type PromptLibrary = z.infer<typeof PromptLibrarySchema>;
1015
+ type PromptDetail = z.infer<typeof PromptDetailSchema>;
1016
+ type PromptMutation = z.input<typeof PromptMutationSchema>;
1017
+ type PromptCategory = z.infer<typeof PromptCategorySchema>;
1018
+ type PromptGroup = z.infer<typeof PromptGroupSchema>;
1019
+ type PromptEvidence = z.infer<typeof PromptEvidenceSchema>;
1020
+ declare const PromptSelectionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1021
+ type: z.ZodLiteral<"live">;
1022
+ }, z.core.$strict>, z.ZodObject<{
1023
+ type: z.ZodLiteral<"single">;
1024
+ id: z.ZodString;
1025
+ version: z.ZodNumber;
1026
+ }, z.core.$strict>, z.ZodObject<{
1027
+ type: z.ZodLiteral<"group">;
1028
+ groupId: z.ZodUUID;
1029
+ }, z.core.$strict>], "type">;
1030
+ type PromptSelection = z.infer<typeof PromptSelectionSchema>;
1031
+ declare const PromptBundleSchema: z.ZodObject<{
1032
+ schemaVersion: z.ZodLiteral<1>;
1033
+ origin: z.ZodObject<{
1034
+ apiUrl: z.ZodURL;
1035
+ projectId: z.ZodString;
1036
+ }, z.core.$strict>;
1037
+ prompts: z.ZodArray<z.ZodObject<{
1038
+ key: z.ZodString;
1039
+ name: z.ZodString;
1040
+ categoryPath: z.ZodOptional<z.ZodString>;
1041
+ versions: z.ZodArray<z.ZodObject<{
1042
+ id: z.ZodString;
1043
+ version: z.ZodNumber;
1044
+ hash: z.ZodString;
1045
+ content: z.ZodObject<{
1046
+ format: z.ZodEnum<{
1047
+ "system-user": "system-user";
1048
+ chat: "chat";
1049
+ }>;
1050
+ messages: z.ZodArray<z.ZodObject<{
1051
+ role: z.ZodEnum<{
1052
+ system: "system";
1053
+ user: "user";
1054
+ assistant: "assistant";
1055
+ }>;
1056
+ content: z.ZodString;
1057
+ }, z.core.$strict>>;
1058
+ variablesSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1059
+ configSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1060
+ config: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1061
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
1062
+ id: z.ZodString;
1063
+ version: z.ZodNumber;
1064
+ hash: z.ZodString;
1065
+ }, z.core.$strict>>>;
1066
+ }, z.core.$strict>;
1067
+ note: z.ZodString;
1068
+ }, z.core.$strip>>;
1069
+ }, z.core.$strict>>;
1070
+ groups: z.ZodDefault<z.ZodArray<z.ZodObject<{
1071
+ name: z.ZodString;
1072
+ members: z.ZodArray<z.ZodObject<{
1073
+ key: z.ZodString;
1074
+ version: z.ZodNumber;
1075
+ }, z.core.$strip>>;
1076
+ }, z.core.$strict>>>;
1077
+ }, z.core.$strict>;
1078
+ declare const PromptTransferRequestSchema: z.ZodObject<{
1079
+ bundle: z.ZodObject<{
1080
+ schemaVersion: z.ZodLiteral<1>;
1081
+ origin: z.ZodObject<{
1082
+ apiUrl: z.ZodURL;
1083
+ projectId: z.ZodString;
1084
+ }, z.core.$strict>;
1085
+ prompts: z.ZodArray<z.ZodObject<{
1086
+ key: z.ZodString;
1087
+ name: z.ZodString;
1088
+ categoryPath: z.ZodOptional<z.ZodString>;
1089
+ versions: z.ZodArray<z.ZodObject<{
1090
+ id: z.ZodString;
1091
+ version: z.ZodNumber;
1092
+ hash: z.ZodString;
1093
+ content: z.ZodObject<{
1094
+ format: z.ZodEnum<{
1095
+ "system-user": "system-user";
1096
+ chat: "chat";
1097
+ }>;
1098
+ messages: z.ZodArray<z.ZodObject<{
1099
+ role: z.ZodEnum<{
1100
+ system: "system";
1101
+ user: "user";
1102
+ assistant: "assistant";
1103
+ }>;
1104
+ content: z.ZodString;
1105
+ }, z.core.$strict>>;
1106
+ variablesSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1107
+ configSchema: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1108
+ config: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
1109
+ dependencies: z.ZodDefault<z.ZodArray<z.ZodObject<{
1110
+ id: z.ZodString;
1111
+ version: z.ZodNumber;
1112
+ hash: z.ZodString;
1113
+ }, z.core.$strict>>>;
1114
+ }, z.core.$strict>;
1115
+ note: z.ZodString;
1116
+ }, z.core.$strip>>;
1117
+ }, z.core.$strict>>;
1118
+ groups: z.ZodDefault<z.ZodArray<z.ZodObject<{
1119
+ name: z.ZodString;
1120
+ members: z.ZodArray<z.ZodObject<{
1121
+ key: z.ZodString;
1122
+ version: z.ZodNumber;
1123
+ }, z.core.$strip>>;
1124
+ }, z.core.$strict>>>;
1125
+ }, z.core.$strict>;
1126
+ conflicts: z.ZodDefault<z.ZodEnum<{
1127
+ error: "error";
1128
+ append: "append";
1129
+ }>>;
1130
+ rename: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1131
+ categories: z.ZodDefault<z.ZodBoolean>;
1132
+ groups: z.ZodDefault<z.ZodBoolean>;
1133
+ }, z.core.$strict>;
1134
+ type PromptBundle = z.infer<typeof PromptBundleSchema>;
1135
+ type PromptTransferRequest = z.infer<typeof PromptTransferRequestSchema>;
1136
+
315
1137
  declare const StudioReleaseVersionSchema: z.ZodString;
316
1138
  declare const StudioReleaseDeploymentSchema: z.ZodObject<{
317
1139
  strategy: z.ZodEnum<{
@@ -2675,4 +3497,4 @@ type StudioWorkflowsResponse = z.infer<typeof StudioWorkflowsResponseSchema>;
2675
3497
  type StudioCatalogsResponse = z.infer<typeof StudioCatalogsResponseSchema>;
2676
3498
  type StudioContextResponse = z.infer<typeof StudioContextResponseSchema>;
2677
3499
 
2678
- 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_API_PROTOCOL_VERSION, 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, StudioInterruptValueSchema, 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 };
3500
+ export { ClearScoreResponseSchema, ClearUserFeedbackRequestSchema, DIAGNOSTIC_LIMITS, type DiagnosticContent, DiagnosticContentSchema, DiagnosticCorrelationSchema, type DiagnosticManifest, DiagnosticManifestSchema, type DiagnosticNote, DiagnosticNoteSchema, DiagnosticPartSchema, type DiagnosticResponse, DiagnosticResponseSchema, type EnsureWorkflowTopologyRequest, EnsureWorkflowTopologyRequestSchema, type EnsureWorkflowTopologyResponse, EnsureWorkflowTopologyResponseSchema, FEEDBACK_FILTERS, FeedbackReasonSchema, type FeedbackSummary, FeedbackSummarySchema, type KortyxTelemetryEvent, type KortyxTelemetryEventType, type KortyxTelemetryService, type KortyxWorkflowTopologyEdge, type KortyxWorkflowTopologyNode, type KortyxWorkflowTopologyTransition, PromptAssetSchema, PromptAssignmentSchema, type PromptBundle, PromptBundleSchema, type PromptCategory, PromptCategorySchema, type PromptDetail, PromptDetailSchema, type PromptEvidence, PromptEvidenceSchema, type PromptGroup, PromptGroupSchema, type PromptLibrary, PromptLibrarySchema, type PromptMutation, PromptMutationSchema, PromptPolicySchema, type PromptSelection, PromptSelectionSchema, PromptStoredVersionSchema, type PromptTransferRequest, PromptTransferRequestSchema, PromptUsageSchema, ReviewVerdictSchema, STUDIO_API_PROTOCOL_VERSION, 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, StudioInterruptValueSchema, 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, isPrivateDiagnosticField, newerStudioVersion, projectWorkflowCalls, redactDiagnosticContent, redactDiagnosticText, resolveStudioInterruptStatus, resolveStudioTimeRange, studioUpdateRunning, summarizeDiagnostic, summarizeUserFeedback };