@rudderhq/shared 0.6.6-canary.9 → 0.7.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-run.d.ts +4 -0
- package/dist/agent-run.d.ts.map +1 -1
- package/dist/agent-run.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/ai-search.d.ts +17 -0
- package/dist/types/ai-search.d.ts.map +1 -0
- package/dist/types/ai-search.js +2 -0
- package/dist/types/ai-search.js.map +1 -0
- package/dist/types/automation.d.ts +2 -0
- package/dist/types/automation.d.ts.map +1 -1
- package/dist/types/chat.d.ts +42 -3
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/validators/ai-search.d.ts +14 -0
- package/dist/validators/ai-search.d.ts.map +1 -0
- package/dist/validators/ai-search.js +14 -0
- package/dist/validators/ai-search.js.map +1 -0
- package/dist/validators/automation.d.ts +84 -0
- package/dist/validators/automation.d.ts.map +1 -1
- package/dist/validators/automation.js +2 -0
- package/dist/validators/automation.js.map +1 -1
- package/dist/validators/chat-inline-annotations.test.js +47 -2
- package/dist/validators/chat-inline-annotations.test.js.map +1 -1
- package/dist/validators/chat.d.ts +2024 -213
- package/dist/validators/chat.d.ts.map +1 -1
- package/dist/validators/chat.js +77 -15
- package/dist/validators/chat.js.map +1 -1
- package/dist/validators/index.d.ts +2 -1
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +2 -1
- package/dist/validators/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,8 @@ export declare const MAX_CHAT_INLINE_ANNOTATION_COMMENT_LENGTH = 2000;
|
|
|
21
21
|
export declare const MAX_CHAT_INLINE_ANNOTATION_TOTAL_TEXT_LENGTH = 16000;
|
|
22
22
|
export declare const MAX_CHAT_INLINE_ANNOTATION_CONTEXT_LENGTH = 160;
|
|
23
23
|
export declare const MAX_CHAT_INLINE_ANNOTATION_ATTACHMENTS = 10;
|
|
24
|
+
export declare const MAX_CHAT_INLINE_ANNOTATION_RUN_MEMBER_IDS = 100;
|
|
25
|
+
export declare const MAX_CHAT_INLINE_ANNOTATION_RUN_ENTRY_ID_LENGTH = 200;
|
|
24
26
|
export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"surface", [z.ZodObject<{
|
|
25
27
|
surface: z.ZodLiteral<"assistant_body">;
|
|
26
28
|
sourceMessageId: z.ZodString;
|
|
@@ -111,6 +113,42 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
111
113
|
transcriptKind: "assistant" | "thinking";
|
|
112
114
|
comment?: unknown;
|
|
113
115
|
attachmentIds?: string[] | undefined;
|
|
116
|
+
}>, z.ZodObject<{
|
|
117
|
+
id: z.ZodString;
|
|
118
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
119
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
120
|
+
sourceHash: z.ZodString;
|
|
121
|
+
surface: z.ZodLiteral<"agent_run_transcript">;
|
|
122
|
+
sourceRunId: z.ZodString;
|
|
123
|
+
sourceAgentId: z.ZodString;
|
|
124
|
+
anchorKind: z.ZodEnum<["text", "transition"]>;
|
|
125
|
+
sourceEntryId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
126
|
+
sourceMemberIds: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
127
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
128
|
+
}, "strict", z.ZodTypeAny, {
|
|
129
|
+
id: string;
|
|
130
|
+
surface: "agent_run_transcript";
|
|
131
|
+
selectedText: string;
|
|
132
|
+
sourceHash: string;
|
|
133
|
+
attachmentIds: string[];
|
|
134
|
+
sourceRunId: string;
|
|
135
|
+
sourceAgentId: string;
|
|
136
|
+
anchorKind: "text" | "transition";
|
|
137
|
+
sourceEntryId: string | number;
|
|
138
|
+
sourceMemberIds: (string | number)[];
|
|
139
|
+
comment?: string | null | undefined;
|
|
140
|
+
}, {
|
|
141
|
+
id: string;
|
|
142
|
+
surface: "agent_run_transcript";
|
|
143
|
+
selectedText: string;
|
|
144
|
+
sourceHash: string;
|
|
145
|
+
sourceRunId: string;
|
|
146
|
+
sourceAgentId: string;
|
|
147
|
+
anchorKind: "text" | "transition";
|
|
148
|
+
sourceEntryId: string | number;
|
|
149
|
+
sourceMemberIds: (string | number)[];
|
|
150
|
+
comment?: unknown;
|
|
151
|
+
attachmentIds?: string[] | undefined;
|
|
114
152
|
}>, z.ZodObject<{
|
|
115
153
|
surface: z.ZodLiteral<"workspace_file">;
|
|
116
154
|
sourceFilePath: z.ZodString;
|
|
@@ -139,7 +177,7 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
139
177
|
attachmentIds: string[];
|
|
140
178
|
sourceFilePath: string;
|
|
141
179
|
sourceLibraryEntryId: string | null;
|
|
142
|
-
sourceRenderMode: "
|
|
180
|
+
sourceRenderMode: "text" | "markdown";
|
|
143
181
|
comment?: string | null | undefined;
|
|
144
182
|
}, {
|
|
145
183
|
start: number;
|
|
@@ -153,7 +191,7 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
153
191
|
suffix: string;
|
|
154
192
|
sourceFilePath: string;
|
|
155
193
|
sourceLibraryEntryId: string | null;
|
|
156
|
-
sourceRenderMode: "
|
|
194
|
+
sourceRenderMode: "text" | "markdown";
|
|
157
195
|
comment?: unknown;
|
|
158
196
|
attachmentIds?: string[] | undefined;
|
|
159
197
|
}>, z.ZodObject<{
|
|
@@ -182,7 +220,7 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
182
220
|
suffix: string;
|
|
183
221
|
attachmentIds: string[];
|
|
184
222
|
sourceFilePath: string;
|
|
185
|
-
sourceRenderMode: "
|
|
223
|
+
sourceRenderMode: "text" | "markdown";
|
|
186
224
|
comment?: string | null | undefined;
|
|
187
225
|
}, {
|
|
188
226
|
start: number;
|
|
@@ -195,7 +233,7 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
195
233
|
prefix: string;
|
|
196
234
|
suffix: string;
|
|
197
235
|
sourceFilePath: string;
|
|
198
|
-
sourceRenderMode: "
|
|
236
|
+
sourceRenderMode: "text" | "markdown";
|
|
199
237
|
comment?: unknown;
|
|
200
238
|
attachmentIds?: string[] | undefined;
|
|
201
239
|
}>]>, {
|
|
@@ -228,6 +266,18 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
228
266
|
attachmentIds: string[];
|
|
229
267
|
transcriptKind: "assistant" | "thinking";
|
|
230
268
|
comment?: string | null | undefined;
|
|
269
|
+
} | {
|
|
270
|
+
id: string;
|
|
271
|
+
surface: "agent_run_transcript";
|
|
272
|
+
selectedText: string;
|
|
273
|
+
sourceHash: string;
|
|
274
|
+
attachmentIds: string[];
|
|
275
|
+
sourceRunId: string;
|
|
276
|
+
sourceAgentId: string;
|
|
277
|
+
anchorKind: "text" | "transition";
|
|
278
|
+
sourceEntryId: string | number;
|
|
279
|
+
sourceMemberIds: (string | number)[];
|
|
280
|
+
comment?: string | null | undefined;
|
|
231
281
|
} | {
|
|
232
282
|
start: number;
|
|
233
283
|
end: number;
|
|
@@ -241,7 +291,7 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
241
291
|
attachmentIds: string[];
|
|
242
292
|
sourceFilePath: string;
|
|
243
293
|
sourceLibraryEntryId: string | null;
|
|
244
|
-
sourceRenderMode: "
|
|
294
|
+
sourceRenderMode: "text" | "markdown";
|
|
245
295
|
comment?: string | null | undefined;
|
|
246
296
|
} | {
|
|
247
297
|
start: number;
|
|
@@ -255,7 +305,7 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
255
305
|
suffix: string;
|
|
256
306
|
attachmentIds: string[];
|
|
257
307
|
sourceFilePath: string;
|
|
258
|
-
sourceRenderMode: "
|
|
308
|
+
sourceRenderMode: "text" | "markdown";
|
|
259
309
|
comment?: string | null | undefined;
|
|
260
310
|
}, {
|
|
261
311
|
start: number;
|
|
@@ -287,6 +337,18 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
287
337
|
transcriptKind: "assistant" | "thinking";
|
|
288
338
|
comment?: unknown;
|
|
289
339
|
attachmentIds?: string[] | undefined;
|
|
340
|
+
} | {
|
|
341
|
+
id: string;
|
|
342
|
+
surface: "agent_run_transcript";
|
|
343
|
+
selectedText: string;
|
|
344
|
+
sourceHash: string;
|
|
345
|
+
sourceRunId: string;
|
|
346
|
+
sourceAgentId: string;
|
|
347
|
+
anchorKind: "text" | "transition";
|
|
348
|
+
sourceEntryId: string | number;
|
|
349
|
+
sourceMemberIds: (string | number)[];
|
|
350
|
+
comment?: unknown;
|
|
351
|
+
attachmentIds?: string[] | undefined;
|
|
290
352
|
} | {
|
|
291
353
|
start: number;
|
|
292
354
|
end: number;
|
|
@@ -299,7 +361,7 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
299
361
|
suffix: string;
|
|
300
362
|
sourceFilePath: string;
|
|
301
363
|
sourceLibraryEntryId: string | null;
|
|
302
|
-
sourceRenderMode: "
|
|
364
|
+
sourceRenderMode: "text" | "markdown";
|
|
303
365
|
comment?: unknown;
|
|
304
366
|
attachmentIds?: string[] | undefined;
|
|
305
367
|
} | {
|
|
@@ -313,7 +375,7 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
313
375
|
prefix: string;
|
|
314
376
|
suffix: string;
|
|
315
377
|
sourceFilePath: string;
|
|
316
|
-
sourceRenderMode: "
|
|
378
|
+
sourceRenderMode: "text" | "markdown";
|
|
317
379
|
comment?: unknown;
|
|
318
380
|
attachmentIds?: string[] | undefined;
|
|
319
381
|
}>;
|
|
@@ -415,6 +477,46 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
415
477
|
comment?: unknown;
|
|
416
478
|
attachmentIds?: string[] | undefined;
|
|
417
479
|
attachmentFileIndexes?: number[] | undefined;
|
|
480
|
+
}>, z.ZodObject<{
|
|
481
|
+
id: z.ZodString;
|
|
482
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
483
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
484
|
+
sourceHash: z.ZodString;
|
|
485
|
+
surface: z.ZodLiteral<"agent_run_transcript">;
|
|
486
|
+
sourceRunId: z.ZodString;
|
|
487
|
+
sourceAgentId: z.ZodString;
|
|
488
|
+
anchorKind: z.ZodEnum<["text", "transition"]>;
|
|
489
|
+
sourceEntryId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
490
|
+
sourceMemberIds: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
491
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
492
|
+
} & {
|
|
493
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
494
|
+
}, "strict", z.ZodTypeAny, {
|
|
495
|
+
id: string;
|
|
496
|
+
surface: "agent_run_transcript";
|
|
497
|
+
selectedText: string;
|
|
498
|
+
sourceHash: string;
|
|
499
|
+
attachmentIds: string[];
|
|
500
|
+
sourceRunId: string;
|
|
501
|
+
sourceAgentId: string;
|
|
502
|
+
anchorKind: "text" | "transition";
|
|
503
|
+
sourceEntryId: string | number;
|
|
504
|
+
sourceMemberIds: (string | number)[];
|
|
505
|
+
comment?: string | null | undefined;
|
|
506
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
507
|
+
}, {
|
|
508
|
+
id: string;
|
|
509
|
+
surface: "agent_run_transcript";
|
|
510
|
+
selectedText: string;
|
|
511
|
+
sourceHash: string;
|
|
512
|
+
sourceRunId: string;
|
|
513
|
+
sourceAgentId: string;
|
|
514
|
+
anchorKind: "text" | "transition";
|
|
515
|
+
sourceEntryId: string | number;
|
|
516
|
+
sourceMemberIds: (string | number)[];
|
|
517
|
+
comment?: unknown;
|
|
518
|
+
attachmentIds?: string[] | undefined;
|
|
519
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
418
520
|
}>, z.ZodObject<{
|
|
419
521
|
surface: z.ZodLiteral<"workspace_file">;
|
|
420
522
|
sourceFilePath: z.ZodString;
|
|
@@ -445,7 +547,7 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
445
547
|
attachmentIds: string[];
|
|
446
548
|
sourceFilePath: string;
|
|
447
549
|
sourceLibraryEntryId: string | null;
|
|
448
|
-
sourceRenderMode: "
|
|
550
|
+
sourceRenderMode: "text" | "markdown";
|
|
449
551
|
comment?: string | null | undefined;
|
|
450
552
|
attachmentFileIndexes?: number[] | undefined;
|
|
451
553
|
}, {
|
|
@@ -460,7 +562,7 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
460
562
|
suffix: string;
|
|
461
563
|
sourceFilePath: string;
|
|
462
564
|
sourceLibraryEntryId: string | null;
|
|
463
|
-
sourceRenderMode: "
|
|
565
|
+
sourceRenderMode: "text" | "markdown";
|
|
464
566
|
comment?: unknown;
|
|
465
567
|
attachmentIds?: string[] | undefined;
|
|
466
568
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -492,7 +594,7 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
492
594
|
suffix: string;
|
|
493
595
|
attachmentIds: string[];
|
|
494
596
|
sourceFilePath: string;
|
|
495
|
-
sourceRenderMode: "
|
|
597
|
+
sourceRenderMode: "text" | "markdown";
|
|
496
598
|
comment?: string | null | undefined;
|
|
497
599
|
attachmentFileIndexes?: number[] | undefined;
|
|
498
600
|
}, {
|
|
@@ -506,7 +608,7 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
506
608
|
prefix: string;
|
|
507
609
|
suffix: string;
|
|
508
610
|
sourceFilePath: string;
|
|
509
|
-
sourceRenderMode: "
|
|
611
|
+
sourceRenderMode: "text" | "markdown";
|
|
510
612
|
comment?: unknown;
|
|
511
613
|
attachmentIds?: string[] | undefined;
|
|
512
614
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -542,6 +644,19 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
542
644
|
transcriptKind: "assistant" | "thinking";
|
|
543
645
|
comment?: string | null | undefined;
|
|
544
646
|
attachmentFileIndexes?: number[] | undefined;
|
|
647
|
+
} | {
|
|
648
|
+
id: string;
|
|
649
|
+
surface: "agent_run_transcript";
|
|
650
|
+
selectedText: string;
|
|
651
|
+
sourceHash: string;
|
|
652
|
+
attachmentIds: string[];
|
|
653
|
+
sourceRunId: string;
|
|
654
|
+
sourceAgentId: string;
|
|
655
|
+
anchorKind: "text" | "transition";
|
|
656
|
+
sourceEntryId: string | number;
|
|
657
|
+
sourceMemberIds: (string | number)[];
|
|
658
|
+
comment?: string | null | undefined;
|
|
659
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
545
660
|
} | {
|
|
546
661
|
start: number;
|
|
547
662
|
end: number;
|
|
@@ -555,7 +670,7 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
555
670
|
attachmentIds: string[];
|
|
556
671
|
sourceFilePath: string;
|
|
557
672
|
sourceLibraryEntryId: string | null;
|
|
558
|
-
sourceRenderMode: "
|
|
673
|
+
sourceRenderMode: "text" | "markdown";
|
|
559
674
|
comment?: string | null | undefined;
|
|
560
675
|
attachmentFileIndexes?: number[] | undefined;
|
|
561
676
|
} | {
|
|
@@ -570,7 +685,7 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
570
685
|
suffix: string;
|
|
571
686
|
attachmentIds: string[];
|
|
572
687
|
sourceFilePath: string;
|
|
573
|
-
sourceRenderMode: "
|
|
688
|
+
sourceRenderMode: "text" | "markdown";
|
|
574
689
|
comment?: string | null | undefined;
|
|
575
690
|
attachmentFileIndexes?: number[] | undefined;
|
|
576
691
|
}, {
|
|
@@ -605,6 +720,19 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
605
720
|
comment?: unknown;
|
|
606
721
|
attachmentIds?: string[] | undefined;
|
|
607
722
|
attachmentFileIndexes?: number[] | undefined;
|
|
723
|
+
} | {
|
|
724
|
+
id: string;
|
|
725
|
+
surface: "agent_run_transcript";
|
|
726
|
+
selectedText: string;
|
|
727
|
+
sourceHash: string;
|
|
728
|
+
sourceRunId: string;
|
|
729
|
+
sourceAgentId: string;
|
|
730
|
+
anchorKind: "text" | "transition";
|
|
731
|
+
sourceEntryId: string | number;
|
|
732
|
+
sourceMemberIds: (string | number)[];
|
|
733
|
+
comment?: unknown;
|
|
734
|
+
attachmentIds?: string[] | undefined;
|
|
735
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
608
736
|
} | {
|
|
609
737
|
start: number;
|
|
610
738
|
end: number;
|
|
@@ -617,7 +745,7 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
617
745
|
suffix: string;
|
|
618
746
|
sourceFilePath: string;
|
|
619
747
|
sourceLibraryEntryId: string | null;
|
|
620
|
-
sourceRenderMode: "
|
|
748
|
+
sourceRenderMode: "text" | "markdown";
|
|
621
749
|
comment?: unknown;
|
|
622
750
|
attachmentIds?: string[] | undefined;
|
|
623
751
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -632,7 +760,7 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
632
760
|
prefix: string;
|
|
633
761
|
suffix: string;
|
|
634
762
|
sourceFilePath: string;
|
|
635
|
-
sourceRenderMode: "
|
|
763
|
+
sourceRenderMode: "text" | "markdown";
|
|
636
764
|
comment?: unknown;
|
|
637
765
|
attachmentIds?: string[] | undefined;
|
|
638
766
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -727,6 +855,42 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
727
855
|
transcriptKind: "assistant" | "thinking";
|
|
728
856
|
comment?: unknown;
|
|
729
857
|
attachmentIds?: string[] | undefined;
|
|
858
|
+
}>, z.ZodObject<{
|
|
859
|
+
id: z.ZodString;
|
|
860
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
861
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
862
|
+
sourceHash: z.ZodString;
|
|
863
|
+
surface: z.ZodLiteral<"agent_run_transcript">;
|
|
864
|
+
sourceRunId: z.ZodString;
|
|
865
|
+
sourceAgentId: z.ZodString;
|
|
866
|
+
anchorKind: z.ZodEnum<["text", "transition"]>;
|
|
867
|
+
sourceEntryId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
868
|
+
sourceMemberIds: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
869
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
870
|
+
}, "strict", z.ZodTypeAny, {
|
|
871
|
+
id: string;
|
|
872
|
+
surface: "agent_run_transcript";
|
|
873
|
+
selectedText: string;
|
|
874
|
+
sourceHash: string;
|
|
875
|
+
attachmentIds: string[];
|
|
876
|
+
sourceRunId: string;
|
|
877
|
+
sourceAgentId: string;
|
|
878
|
+
anchorKind: "text" | "transition";
|
|
879
|
+
sourceEntryId: string | number;
|
|
880
|
+
sourceMemberIds: (string | number)[];
|
|
881
|
+
comment?: string | null | undefined;
|
|
882
|
+
}, {
|
|
883
|
+
id: string;
|
|
884
|
+
surface: "agent_run_transcript";
|
|
885
|
+
selectedText: string;
|
|
886
|
+
sourceHash: string;
|
|
887
|
+
sourceRunId: string;
|
|
888
|
+
sourceAgentId: string;
|
|
889
|
+
anchorKind: "text" | "transition";
|
|
890
|
+
sourceEntryId: string | number;
|
|
891
|
+
sourceMemberIds: (string | number)[];
|
|
892
|
+
comment?: unknown;
|
|
893
|
+
attachmentIds?: string[] | undefined;
|
|
730
894
|
}>, z.ZodObject<{
|
|
731
895
|
surface: z.ZodLiteral<"workspace_file">;
|
|
732
896
|
sourceFilePath: z.ZodString;
|
|
@@ -755,7 +919,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
755
919
|
attachmentIds: string[];
|
|
756
920
|
sourceFilePath: string;
|
|
757
921
|
sourceLibraryEntryId: string | null;
|
|
758
|
-
sourceRenderMode: "
|
|
922
|
+
sourceRenderMode: "text" | "markdown";
|
|
759
923
|
comment?: string | null | undefined;
|
|
760
924
|
}, {
|
|
761
925
|
start: number;
|
|
@@ -769,7 +933,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
769
933
|
suffix: string;
|
|
770
934
|
sourceFilePath: string;
|
|
771
935
|
sourceLibraryEntryId: string | null;
|
|
772
|
-
sourceRenderMode: "
|
|
936
|
+
sourceRenderMode: "text" | "markdown";
|
|
773
937
|
comment?: unknown;
|
|
774
938
|
attachmentIds?: string[] | undefined;
|
|
775
939
|
}>, z.ZodObject<{
|
|
@@ -798,7 +962,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
798
962
|
suffix: string;
|
|
799
963
|
attachmentIds: string[];
|
|
800
964
|
sourceFilePath: string;
|
|
801
|
-
sourceRenderMode: "
|
|
965
|
+
sourceRenderMode: "text" | "markdown";
|
|
802
966
|
comment?: string | null | undefined;
|
|
803
967
|
}, {
|
|
804
968
|
start: number;
|
|
@@ -811,7 +975,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
811
975
|
prefix: string;
|
|
812
976
|
suffix: string;
|
|
813
977
|
sourceFilePath: string;
|
|
814
|
-
sourceRenderMode: "
|
|
978
|
+
sourceRenderMode: "text" | "markdown";
|
|
815
979
|
comment?: unknown;
|
|
816
980
|
attachmentIds?: string[] | undefined;
|
|
817
981
|
}>]>, {
|
|
@@ -844,6 +1008,18 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
844
1008
|
attachmentIds: string[];
|
|
845
1009
|
transcriptKind: "assistant" | "thinking";
|
|
846
1010
|
comment?: string | null | undefined;
|
|
1011
|
+
} | {
|
|
1012
|
+
id: string;
|
|
1013
|
+
surface: "agent_run_transcript";
|
|
1014
|
+
selectedText: string;
|
|
1015
|
+
sourceHash: string;
|
|
1016
|
+
attachmentIds: string[];
|
|
1017
|
+
sourceRunId: string;
|
|
1018
|
+
sourceAgentId: string;
|
|
1019
|
+
anchorKind: "text" | "transition";
|
|
1020
|
+
sourceEntryId: string | number;
|
|
1021
|
+
sourceMemberIds: (string | number)[];
|
|
1022
|
+
comment?: string | null | undefined;
|
|
847
1023
|
} | {
|
|
848
1024
|
start: number;
|
|
849
1025
|
end: number;
|
|
@@ -857,7 +1033,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
857
1033
|
attachmentIds: string[];
|
|
858
1034
|
sourceFilePath: string;
|
|
859
1035
|
sourceLibraryEntryId: string | null;
|
|
860
|
-
sourceRenderMode: "
|
|
1036
|
+
sourceRenderMode: "text" | "markdown";
|
|
861
1037
|
comment?: string | null | undefined;
|
|
862
1038
|
} | {
|
|
863
1039
|
start: number;
|
|
@@ -871,7 +1047,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
871
1047
|
suffix: string;
|
|
872
1048
|
attachmentIds: string[];
|
|
873
1049
|
sourceFilePath: string;
|
|
874
|
-
sourceRenderMode: "
|
|
1050
|
+
sourceRenderMode: "text" | "markdown";
|
|
875
1051
|
comment?: string | null | undefined;
|
|
876
1052
|
}, {
|
|
877
1053
|
start: number;
|
|
@@ -903,6 +1079,18 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
903
1079
|
transcriptKind: "assistant" | "thinking";
|
|
904
1080
|
comment?: unknown;
|
|
905
1081
|
attachmentIds?: string[] | undefined;
|
|
1082
|
+
} | {
|
|
1083
|
+
id: string;
|
|
1084
|
+
surface: "agent_run_transcript";
|
|
1085
|
+
selectedText: string;
|
|
1086
|
+
sourceHash: string;
|
|
1087
|
+
sourceRunId: string;
|
|
1088
|
+
sourceAgentId: string;
|
|
1089
|
+
anchorKind: "text" | "transition";
|
|
1090
|
+
sourceEntryId: string | number;
|
|
1091
|
+
sourceMemberIds: (string | number)[];
|
|
1092
|
+
comment?: unknown;
|
|
1093
|
+
attachmentIds?: string[] | undefined;
|
|
906
1094
|
} | {
|
|
907
1095
|
start: number;
|
|
908
1096
|
end: number;
|
|
@@ -915,7 +1103,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
915
1103
|
suffix: string;
|
|
916
1104
|
sourceFilePath: string;
|
|
917
1105
|
sourceLibraryEntryId: string | null;
|
|
918
|
-
sourceRenderMode: "
|
|
1106
|
+
sourceRenderMode: "text" | "markdown";
|
|
919
1107
|
comment?: unknown;
|
|
920
1108
|
attachmentIds?: string[] | undefined;
|
|
921
1109
|
} | {
|
|
@@ -929,7 +1117,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
929
1117
|
prefix: string;
|
|
930
1118
|
suffix: string;
|
|
931
1119
|
sourceFilePath: string;
|
|
932
|
-
sourceRenderMode: "
|
|
1120
|
+
sourceRenderMode: "text" | "markdown";
|
|
933
1121
|
comment?: unknown;
|
|
934
1122
|
attachmentIds?: string[] | undefined;
|
|
935
1123
|
}>, "many">, ({
|
|
@@ -962,6 +1150,18 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
962
1150
|
attachmentIds: string[];
|
|
963
1151
|
transcriptKind: "assistant" | "thinking";
|
|
964
1152
|
comment?: string | null | undefined;
|
|
1153
|
+
} | {
|
|
1154
|
+
id: string;
|
|
1155
|
+
surface: "agent_run_transcript";
|
|
1156
|
+
selectedText: string;
|
|
1157
|
+
sourceHash: string;
|
|
1158
|
+
attachmentIds: string[];
|
|
1159
|
+
sourceRunId: string;
|
|
1160
|
+
sourceAgentId: string;
|
|
1161
|
+
anchorKind: "text" | "transition";
|
|
1162
|
+
sourceEntryId: string | number;
|
|
1163
|
+
sourceMemberIds: (string | number)[];
|
|
1164
|
+
comment?: string | null | undefined;
|
|
965
1165
|
} | {
|
|
966
1166
|
start: number;
|
|
967
1167
|
end: number;
|
|
@@ -975,7 +1175,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
975
1175
|
attachmentIds: string[];
|
|
976
1176
|
sourceFilePath: string;
|
|
977
1177
|
sourceLibraryEntryId: string | null;
|
|
978
|
-
sourceRenderMode: "
|
|
1178
|
+
sourceRenderMode: "text" | "markdown";
|
|
979
1179
|
comment?: string | null | undefined;
|
|
980
1180
|
} | {
|
|
981
1181
|
start: number;
|
|
@@ -989,7 +1189,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
989
1189
|
suffix: string;
|
|
990
1190
|
attachmentIds: string[];
|
|
991
1191
|
sourceFilePath: string;
|
|
992
|
-
sourceRenderMode: "
|
|
1192
|
+
sourceRenderMode: "text" | "markdown";
|
|
993
1193
|
comment?: string | null | undefined;
|
|
994
1194
|
})[], ({
|
|
995
1195
|
start: number;
|
|
@@ -1021,6 +1221,18 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
1021
1221
|
transcriptKind: "assistant" | "thinking";
|
|
1022
1222
|
comment?: unknown;
|
|
1023
1223
|
attachmentIds?: string[] | undefined;
|
|
1224
|
+
} | {
|
|
1225
|
+
id: string;
|
|
1226
|
+
surface: "agent_run_transcript";
|
|
1227
|
+
selectedText: string;
|
|
1228
|
+
sourceHash: string;
|
|
1229
|
+
sourceRunId: string;
|
|
1230
|
+
sourceAgentId: string;
|
|
1231
|
+
anchorKind: "text" | "transition";
|
|
1232
|
+
sourceEntryId: string | number;
|
|
1233
|
+
sourceMemberIds: (string | number)[];
|
|
1234
|
+
comment?: unknown;
|
|
1235
|
+
attachmentIds?: string[] | undefined;
|
|
1024
1236
|
} | {
|
|
1025
1237
|
start: number;
|
|
1026
1238
|
end: number;
|
|
@@ -1033,7 +1245,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
1033
1245
|
suffix: string;
|
|
1034
1246
|
sourceFilePath: string;
|
|
1035
1247
|
sourceLibraryEntryId: string | null;
|
|
1036
|
-
sourceRenderMode: "
|
|
1248
|
+
sourceRenderMode: "text" | "markdown";
|
|
1037
1249
|
comment?: unknown;
|
|
1038
1250
|
attachmentIds?: string[] | undefined;
|
|
1039
1251
|
} | {
|
|
@@ -1047,7 +1259,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
1047
1259
|
prefix: string;
|
|
1048
1260
|
suffix: string;
|
|
1049
1261
|
sourceFilePath: string;
|
|
1050
|
-
sourceRenderMode: "
|
|
1262
|
+
sourceRenderMode: "text" | "markdown";
|
|
1051
1263
|
comment?: unknown;
|
|
1052
1264
|
attachmentIds?: string[] | undefined;
|
|
1053
1265
|
})[]>;
|
|
@@ -1149,6 +1361,46 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1149
1361
|
comment?: unknown;
|
|
1150
1362
|
attachmentIds?: string[] | undefined;
|
|
1151
1363
|
attachmentFileIndexes?: number[] | undefined;
|
|
1364
|
+
}>, z.ZodObject<{
|
|
1365
|
+
id: z.ZodString;
|
|
1366
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1367
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1368
|
+
sourceHash: z.ZodString;
|
|
1369
|
+
surface: z.ZodLiteral<"agent_run_transcript">;
|
|
1370
|
+
sourceRunId: z.ZodString;
|
|
1371
|
+
sourceAgentId: z.ZodString;
|
|
1372
|
+
anchorKind: z.ZodEnum<["text", "transition"]>;
|
|
1373
|
+
sourceEntryId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
1374
|
+
sourceMemberIds: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1375
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1376
|
+
} & {
|
|
1377
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1378
|
+
}, "strict", z.ZodTypeAny, {
|
|
1379
|
+
id: string;
|
|
1380
|
+
surface: "agent_run_transcript";
|
|
1381
|
+
selectedText: string;
|
|
1382
|
+
sourceHash: string;
|
|
1383
|
+
attachmentIds: string[];
|
|
1384
|
+
sourceRunId: string;
|
|
1385
|
+
sourceAgentId: string;
|
|
1386
|
+
anchorKind: "text" | "transition";
|
|
1387
|
+
sourceEntryId: string | number;
|
|
1388
|
+
sourceMemberIds: (string | number)[];
|
|
1389
|
+
comment?: string | null | undefined;
|
|
1390
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1391
|
+
}, {
|
|
1392
|
+
id: string;
|
|
1393
|
+
surface: "agent_run_transcript";
|
|
1394
|
+
selectedText: string;
|
|
1395
|
+
sourceHash: string;
|
|
1396
|
+
sourceRunId: string;
|
|
1397
|
+
sourceAgentId: string;
|
|
1398
|
+
anchorKind: "text" | "transition";
|
|
1399
|
+
sourceEntryId: string | number;
|
|
1400
|
+
sourceMemberIds: (string | number)[];
|
|
1401
|
+
comment?: unknown;
|
|
1402
|
+
attachmentIds?: string[] | undefined;
|
|
1403
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1152
1404
|
}>, z.ZodObject<{
|
|
1153
1405
|
surface: z.ZodLiteral<"workspace_file">;
|
|
1154
1406
|
sourceFilePath: z.ZodString;
|
|
@@ -1179,7 +1431,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1179
1431
|
attachmentIds: string[];
|
|
1180
1432
|
sourceFilePath: string;
|
|
1181
1433
|
sourceLibraryEntryId: string | null;
|
|
1182
|
-
sourceRenderMode: "
|
|
1434
|
+
sourceRenderMode: "text" | "markdown";
|
|
1183
1435
|
comment?: string | null | undefined;
|
|
1184
1436
|
attachmentFileIndexes?: number[] | undefined;
|
|
1185
1437
|
}, {
|
|
@@ -1194,7 +1446,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1194
1446
|
suffix: string;
|
|
1195
1447
|
sourceFilePath: string;
|
|
1196
1448
|
sourceLibraryEntryId: string | null;
|
|
1197
|
-
sourceRenderMode: "
|
|
1449
|
+
sourceRenderMode: "text" | "markdown";
|
|
1198
1450
|
comment?: unknown;
|
|
1199
1451
|
attachmentIds?: string[] | undefined;
|
|
1200
1452
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -1226,7 +1478,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1226
1478
|
suffix: string;
|
|
1227
1479
|
attachmentIds: string[];
|
|
1228
1480
|
sourceFilePath: string;
|
|
1229
|
-
sourceRenderMode: "
|
|
1481
|
+
sourceRenderMode: "text" | "markdown";
|
|
1230
1482
|
comment?: string | null | undefined;
|
|
1231
1483
|
attachmentFileIndexes?: number[] | undefined;
|
|
1232
1484
|
}, {
|
|
@@ -1240,7 +1492,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1240
1492
|
prefix: string;
|
|
1241
1493
|
suffix: string;
|
|
1242
1494
|
sourceFilePath: string;
|
|
1243
|
-
sourceRenderMode: "
|
|
1495
|
+
sourceRenderMode: "text" | "markdown";
|
|
1244
1496
|
comment?: unknown;
|
|
1245
1497
|
attachmentIds?: string[] | undefined;
|
|
1246
1498
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -1276,6 +1528,19 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1276
1528
|
transcriptKind: "assistant" | "thinking";
|
|
1277
1529
|
comment?: string | null | undefined;
|
|
1278
1530
|
attachmentFileIndexes?: number[] | undefined;
|
|
1531
|
+
} | {
|
|
1532
|
+
id: string;
|
|
1533
|
+
surface: "agent_run_transcript";
|
|
1534
|
+
selectedText: string;
|
|
1535
|
+
sourceHash: string;
|
|
1536
|
+
attachmentIds: string[];
|
|
1537
|
+
sourceRunId: string;
|
|
1538
|
+
sourceAgentId: string;
|
|
1539
|
+
anchorKind: "text" | "transition";
|
|
1540
|
+
sourceEntryId: string | number;
|
|
1541
|
+
sourceMemberIds: (string | number)[];
|
|
1542
|
+
comment?: string | null | undefined;
|
|
1543
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1279
1544
|
} | {
|
|
1280
1545
|
start: number;
|
|
1281
1546
|
end: number;
|
|
@@ -1289,7 +1554,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1289
1554
|
attachmentIds: string[];
|
|
1290
1555
|
sourceFilePath: string;
|
|
1291
1556
|
sourceLibraryEntryId: string | null;
|
|
1292
|
-
sourceRenderMode: "
|
|
1557
|
+
sourceRenderMode: "text" | "markdown";
|
|
1293
1558
|
comment?: string | null | undefined;
|
|
1294
1559
|
attachmentFileIndexes?: number[] | undefined;
|
|
1295
1560
|
} | {
|
|
@@ -1304,7 +1569,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1304
1569
|
suffix: string;
|
|
1305
1570
|
attachmentIds: string[];
|
|
1306
1571
|
sourceFilePath: string;
|
|
1307
|
-
sourceRenderMode: "
|
|
1572
|
+
sourceRenderMode: "text" | "markdown";
|
|
1308
1573
|
comment?: string | null | undefined;
|
|
1309
1574
|
attachmentFileIndexes?: number[] | undefined;
|
|
1310
1575
|
}, {
|
|
@@ -1339,6 +1604,19 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1339
1604
|
comment?: unknown;
|
|
1340
1605
|
attachmentIds?: string[] | undefined;
|
|
1341
1606
|
attachmentFileIndexes?: number[] | undefined;
|
|
1607
|
+
} | {
|
|
1608
|
+
id: string;
|
|
1609
|
+
surface: "agent_run_transcript";
|
|
1610
|
+
selectedText: string;
|
|
1611
|
+
sourceHash: string;
|
|
1612
|
+
sourceRunId: string;
|
|
1613
|
+
sourceAgentId: string;
|
|
1614
|
+
anchorKind: "text" | "transition";
|
|
1615
|
+
sourceEntryId: string | number;
|
|
1616
|
+
sourceMemberIds: (string | number)[];
|
|
1617
|
+
comment?: unknown;
|
|
1618
|
+
attachmentIds?: string[] | undefined;
|
|
1619
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1342
1620
|
} | {
|
|
1343
1621
|
start: number;
|
|
1344
1622
|
end: number;
|
|
@@ -1351,7 +1629,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1351
1629
|
suffix: string;
|
|
1352
1630
|
sourceFilePath: string;
|
|
1353
1631
|
sourceLibraryEntryId: string | null;
|
|
1354
|
-
sourceRenderMode: "
|
|
1632
|
+
sourceRenderMode: "text" | "markdown";
|
|
1355
1633
|
comment?: unknown;
|
|
1356
1634
|
attachmentIds?: string[] | undefined;
|
|
1357
1635
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -1366,7 +1644,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1366
1644
|
prefix: string;
|
|
1367
1645
|
suffix: string;
|
|
1368
1646
|
sourceFilePath: string;
|
|
1369
|
-
sourceRenderMode: "
|
|
1647
|
+
sourceRenderMode: "text" | "markdown";
|
|
1370
1648
|
comment?: unknown;
|
|
1371
1649
|
attachmentIds?: string[] | undefined;
|
|
1372
1650
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -1402,6 +1680,19 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1402
1680
|
transcriptKind: "assistant" | "thinking";
|
|
1403
1681
|
comment?: string | null | undefined;
|
|
1404
1682
|
attachmentFileIndexes?: number[] | undefined;
|
|
1683
|
+
} | {
|
|
1684
|
+
id: string;
|
|
1685
|
+
surface: "agent_run_transcript";
|
|
1686
|
+
selectedText: string;
|
|
1687
|
+
sourceHash: string;
|
|
1688
|
+
attachmentIds: string[];
|
|
1689
|
+
sourceRunId: string;
|
|
1690
|
+
sourceAgentId: string;
|
|
1691
|
+
anchorKind: "text" | "transition";
|
|
1692
|
+
sourceEntryId: string | number;
|
|
1693
|
+
sourceMemberIds: (string | number)[];
|
|
1694
|
+
comment?: string | null | undefined;
|
|
1695
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1405
1696
|
} | {
|
|
1406
1697
|
start: number;
|
|
1407
1698
|
end: number;
|
|
@@ -1415,7 +1706,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1415
1706
|
attachmentIds: string[];
|
|
1416
1707
|
sourceFilePath: string;
|
|
1417
1708
|
sourceLibraryEntryId: string | null;
|
|
1418
|
-
sourceRenderMode: "
|
|
1709
|
+
sourceRenderMode: "text" | "markdown";
|
|
1419
1710
|
comment?: string | null | undefined;
|
|
1420
1711
|
attachmentFileIndexes?: number[] | undefined;
|
|
1421
1712
|
} | {
|
|
@@ -1430,7 +1721,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1430
1721
|
suffix: string;
|
|
1431
1722
|
attachmentIds: string[];
|
|
1432
1723
|
sourceFilePath: string;
|
|
1433
|
-
sourceRenderMode: "
|
|
1724
|
+
sourceRenderMode: "text" | "markdown";
|
|
1434
1725
|
comment?: string | null | undefined;
|
|
1435
1726
|
attachmentFileIndexes?: number[] | undefined;
|
|
1436
1727
|
})[], ({
|
|
@@ -1465,6 +1756,19 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1465
1756
|
comment?: unknown;
|
|
1466
1757
|
attachmentIds?: string[] | undefined;
|
|
1467
1758
|
attachmentFileIndexes?: number[] | undefined;
|
|
1759
|
+
} | {
|
|
1760
|
+
id: string;
|
|
1761
|
+
surface: "agent_run_transcript";
|
|
1762
|
+
selectedText: string;
|
|
1763
|
+
sourceHash: string;
|
|
1764
|
+
sourceRunId: string;
|
|
1765
|
+
sourceAgentId: string;
|
|
1766
|
+
anchorKind: "text" | "transition";
|
|
1767
|
+
sourceEntryId: string | number;
|
|
1768
|
+
sourceMemberIds: (string | number)[];
|
|
1769
|
+
comment?: unknown;
|
|
1770
|
+
attachmentIds?: string[] | undefined;
|
|
1771
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1468
1772
|
} | {
|
|
1469
1773
|
start: number;
|
|
1470
1774
|
end: number;
|
|
@@ -1477,7 +1781,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1477
1781
|
suffix: string;
|
|
1478
1782
|
sourceFilePath: string;
|
|
1479
1783
|
sourceLibraryEntryId: string | null;
|
|
1480
|
-
sourceRenderMode: "
|
|
1784
|
+
sourceRenderMode: "text" | "markdown";
|
|
1481
1785
|
comment?: unknown;
|
|
1482
1786
|
attachmentIds?: string[] | undefined;
|
|
1483
1787
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -1492,7 +1796,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
1492
1796
|
prefix: string;
|
|
1493
1797
|
suffix: string;
|
|
1494
1798
|
sourceFilePath: string;
|
|
1495
|
-
sourceRenderMode: "
|
|
1799
|
+
sourceRenderMode: "text" | "markdown";
|
|
1496
1800
|
comment?: unknown;
|
|
1497
1801
|
attachmentIds?: string[] | undefined;
|
|
1498
1802
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -1623,7 +1927,7 @@ export declare const createChatConversationSchema: z.ZodObject<{
|
|
|
1623
1927
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1624
1928
|
}[] | undefined;
|
|
1625
1929
|
}>;
|
|
1626
|
-
export declare const createChatFirstTurnSchema: z.ZodObject<{
|
|
1930
|
+
export declare const createChatFirstTurnSchema: z.ZodEffects<z.ZodObject<{
|
|
1627
1931
|
title: z.ZodOptional<z.ZodString>;
|
|
1628
1932
|
summary: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1629
1933
|
preferredAgentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1645,76 +1949,955 @@ export declare const createChatFirstTurnSchema: z.ZodObject<{
|
|
|
1645
1949
|
metadata?: Record<string, unknown> | null | undefined;
|
|
1646
1950
|
}>, "many">>>;
|
|
1647
1951
|
} & {
|
|
1648
|
-
body: z.ZodString
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
projectId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1680
|
-
}, "strip", z.ZodTypeAny, {
|
|
1681
|
-
projectId?: string | null | undefined;
|
|
1682
|
-
}, {
|
|
1683
|
-
projectId?: string | null | undefined;
|
|
1684
|
-
}>;
|
|
1685
|
-
export declare const updateChatConversationSchema: z.ZodObject<{
|
|
1686
|
-
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1687
|
-
summary: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
1688
|
-
preferredAgentId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
1689
|
-
modelOverride: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1690
|
-
effortOverride: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1691
|
-
issueCreationMode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["manual_approval", "auto_create"]>>>;
|
|
1692
|
-
planMode: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1693
|
-
contextLinks: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1694
|
-
entityType: z.ZodEnum<["issue", "project", "agent"]>;
|
|
1695
|
-
entityId: z.ZodString;
|
|
1696
|
-
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
1697
|
-
}, "strip", z.ZodTypeAny, {
|
|
1698
|
-
entityType: "issue" | "agent" | "project";
|
|
1699
|
-
entityId: string;
|
|
1700
|
-
metadata?: Record<string, unknown> | null | undefined;
|
|
1952
|
+
body: z.ZodDefault<z.ZodString>;
|
|
1953
|
+
clientMutationId: z.ZodOptional<z.ZodString>;
|
|
1954
|
+
inlineAnnotations: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"surface", [z.ZodObject<{
|
|
1955
|
+
surface: z.ZodLiteral<"assistant_body">;
|
|
1956
|
+
sourceMessageId: z.ZodString;
|
|
1957
|
+
id: z.ZodString;
|
|
1958
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1959
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1960
|
+
sourceConversationId: z.ZodString;
|
|
1961
|
+
sourceHash: z.ZodString;
|
|
1962
|
+
start: z.ZodNumber;
|
|
1963
|
+
end: z.ZodNumber;
|
|
1964
|
+
prefix: z.ZodString;
|
|
1965
|
+
suffix: z.ZodString;
|
|
1966
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1967
|
+
} & {
|
|
1968
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1969
|
+
}, "strict", z.ZodTypeAny, {
|
|
1970
|
+
start: number;
|
|
1971
|
+
end: number;
|
|
1972
|
+
id: string;
|
|
1973
|
+
sourceMessageId: string;
|
|
1974
|
+
surface: "assistant_body";
|
|
1975
|
+
selectedText: string;
|
|
1976
|
+
sourceConversationId: string;
|
|
1977
|
+
sourceHash: string;
|
|
1978
|
+
prefix: string;
|
|
1979
|
+
suffix: string;
|
|
1980
|
+
attachmentIds: string[];
|
|
1981
|
+
comment?: string | null | undefined;
|
|
1982
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1701
1983
|
}, {
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1984
|
+
start: number;
|
|
1985
|
+
end: number;
|
|
1986
|
+
id: string;
|
|
1987
|
+
sourceMessageId: string;
|
|
1988
|
+
surface: "assistant_body";
|
|
1989
|
+
selectedText: string;
|
|
1990
|
+
sourceConversationId: string;
|
|
1991
|
+
sourceHash: string;
|
|
1992
|
+
prefix: string;
|
|
1993
|
+
suffix: string;
|
|
1994
|
+
comment?: unknown;
|
|
1995
|
+
attachmentIds?: string[] | undefined;
|
|
1996
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1997
|
+
}>, z.ZodObject<{
|
|
1998
|
+
surface: z.ZodLiteral<"process_transcript">;
|
|
1999
|
+
sourceMessageId: z.ZodString;
|
|
2000
|
+
transcriptKind: z.ZodEnum<["thinking", "assistant"]>;
|
|
2001
|
+
generationId: z.ZodString;
|
|
2002
|
+
generationSeqStart: z.ZodNumber;
|
|
2003
|
+
generationSeqEnd: z.ZodNumber;
|
|
2004
|
+
id: z.ZodString;
|
|
2005
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
2006
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
2007
|
+
sourceConversationId: z.ZodString;
|
|
2008
|
+
sourceHash: z.ZodString;
|
|
2009
|
+
start: z.ZodNumber;
|
|
2010
|
+
end: z.ZodNumber;
|
|
2011
|
+
prefix: z.ZodString;
|
|
2012
|
+
suffix: z.ZodString;
|
|
2013
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2014
|
+
} & {
|
|
2015
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2016
|
+
}, "strict", z.ZodTypeAny, {
|
|
2017
|
+
start: number;
|
|
2018
|
+
end: number;
|
|
2019
|
+
generationId: string;
|
|
2020
|
+
generationSeqStart: number;
|
|
2021
|
+
generationSeqEnd: number;
|
|
2022
|
+
id: string;
|
|
2023
|
+
sourceMessageId: string;
|
|
2024
|
+
surface: "process_transcript";
|
|
2025
|
+
selectedText: string;
|
|
2026
|
+
sourceConversationId: string;
|
|
2027
|
+
sourceHash: string;
|
|
2028
|
+
prefix: string;
|
|
2029
|
+
suffix: string;
|
|
2030
|
+
attachmentIds: string[];
|
|
2031
|
+
transcriptKind: "assistant" | "thinking";
|
|
2032
|
+
comment?: string | null | undefined;
|
|
2033
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2034
|
+
}, {
|
|
2035
|
+
start: number;
|
|
2036
|
+
end: number;
|
|
2037
|
+
generationId: string;
|
|
2038
|
+
generationSeqStart: number;
|
|
2039
|
+
generationSeqEnd: number;
|
|
2040
|
+
id: string;
|
|
2041
|
+
sourceMessageId: string;
|
|
2042
|
+
surface: "process_transcript";
|
|
2043
|
+
selectedText: string;
|
|
2044
|
+
sourceConversationId: string;
|
|
2045
|
+
sourceHash: string;
|
|
2046
|
+
prefix: string;
|
|
2047
|
+
suffix: string;
|
|
2048
|
+
transcriptKind: "assistant" | "thinking";
|
|
2049
|
+
comment?: unknown;
|
|
2050
|
+
attachmentIds?: string[] | undefined;
|
|
2051
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2052
|
+
}>, z.ZodObject<{
|
|
2053
|
+
id: z.ZodString;
|
|
2054
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
2055
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
2056
|
+
sourceHash: z.ZodString;
|
|
2057
|
+
surface: z.ZodLiteral<"agent_run_transcript">;
|
|
2058
|
+
sourceRunId: z.ZodString;
|
|
2059
|
+
sourceAgentId: z.ZodString;
|
|
2060
|
+
anchorKind: z.ZodEnum<["text", "transition"]>;
|
|
2061
|
+
sourceEntryId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
2062
|
+
sourceMemberIds: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
2063
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2064
|
+
} & {
|
|
2065
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2066
|
+
}, "strict", z.ZodTypeAny, {
|
|
2067
|
+
id: string;
|
|
2068
|
+
surface: "agent_run_transcript";
|
|
2069
|
+
selectedText: string;
|
|
2070
|
+
sourceHash: string;
|
|
2071
|
+
attachmentIds: string[];
|
|
2072
|
+
sourceRunId: string;
|
|
2073
|
+
sourceAgentId: string;
|
|
2074
|
+
anchorKind: "text" | "transition";
|
|
2075
|
+
sourceEntryId: string | number;
|
|
2076
|
+
sourceMemberIds: (string | number)[];
|
|
2077
|
+
comment?: string | null | undefined;
|
|
2078
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2079
|
+
}, {
|
|
2080
|
+
id: string;
|
|
2081
|
+
surface: "agent_run_transcript";
|
|
2082
|
+
selectedText: string;
|
|
2083
|
+
sourceHash: string;
|
|
2084
|
+
sourceRunId: string;
|
|
2085
|
+
sourceAgentId: string;
|
|
2086
|
+
anchorKind: "text" | "transition";
|
|
2087
|
+
sourceEntryId: string | number;
|
|
2088
|
+
sourceMemberIds: (string | number)[];
|
|
2089
|
+
comment?: unknown;
|
|
2090
|
+
attachmentIds?: string[] | undefined;
|
|
2091
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2092
|
+
}>, z.ZodObject<{
|
|
2093
|
+
surface: z.ZodLiteral<"workspace_file">;
|
|
2094
|
+
sourceFilePath: z.ZodString;
|
|
2095
|
+
sourceLibraryEntryId: z.ZodNullable<z.ZodString>;
|
|
2096
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
2097
|
+
id: z.ZodString;
|
|
2098
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
2099
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
2100
|
+
sourceConversationId: z.ZodString;
|
|
2101
|
+
sourceHash: z.ZodString;
|
|
2102
|
+
start: z.ZodNumber;
|
|
2103
|
+
end: z.ZodNumber;
|
|
2104
|
+
prefix: z.ZodString;
|
|
2105
|
+
suffix: z.ZodString;
|
|
2106
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2107
|
+
} & {
|
|
2108
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2109
|
+
}, "strict", z.ZodTypeAny, {
|
|
2110
|
+
start: number;
|
|
2111
|
+
end: number;
|
|
2112
|
+
id: string;
|
|
2113
|
+
surface: "workspace_file";
|
|
2114
|
+
selectedText: string;
|
|
2115
|
+
sourceConversationId: string;
|
|
2116
|
+
sourceHash: string;
|
|
2117
|
+
prefix: string;
|
|
2118
|
+
suffix: string;
|
|
2119
|
+
attachmentIds: string[];
|
|
2120
|
+
sourceFilePath: string;
|
|
2121
|
+
sourceLibraryEntryId: string | null;
|
|
2122
|
+
sourceRenderMode: "text" | "markdown";
|
|
2123
|
+
comment?: string | null | undefined;
|
|
2124
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2125
|
+
}, {
|
|
2126
|
+
start: number;
|
|
2127
|
+
end: number;
|
|
2128
|
+
id: string;
|
|
2129
|
+
surface: "workspace_file";
|
|
2130
|
+
selectedText: string;
|
|
2131
|
+
sourceConversationId: string;
|
|
2132
|
+
sourceHash: string;
|
|
2133
|
+
prefix: string;
|
|
2134
|
+
suffix: string;
|
|
2135
|
+
sourceFilePath: string;
|
|
2136
|
+
sourceLibraryEntryId: string | null;
|
|
2137
|
+
sourceRenderMode: "text" | "markdown";
|
|
2138
|
+
comment?: unknown;
|
|
2139
|
+
attachmentIds?: string[] | undefined;
|
|
2140
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2141
|
+
}>, z.ZodObject<{
|
|
2142
|
+
surface: z.ZodLiteral<"local_file">;
|
|
2143
|
+
sourceFilePath: z.ZodString;
|
|
2144
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
2145
|
+
id: z.ZodString;
|
|
2146
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
2147
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
2148
|
+
sourceConversationId: z.ZodString;
|
|
2149
|
+
sourceHash: z.ZodString;
|
|
2150
|
+
start: z.ZodNumber;
|
|
2151
|
+
end: z.ZodNumber;
|
|
2152
|
+
prefix: z.ZodString;
|
|
2153
|
+
suffix: z.ZodString;
|
|
2154
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2155
|
+
} & {
|
|
2156
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2157
|
+
}, "strict", z.ZodTypeAny, {
|
|
2158
|
+
start: number;
|
|
2159
|
+
end: number;
|
|
2160
|
+
id: string;
|
|
2161
|
+
surface: "local_file";
|
|
2162
|
+
selectedText: string;
|
|
2163
|
+
sourceConversationId: string;
|
|
2164
|
+
sourceHash: string;
|
|
2165
|
+
prefix: string;
|
|
2166
|
+
suffix: string;
|
|
2167
|
+
attachmentIds: string[];
|
|
2168
|
+
sourceFilePath: string;
|
|
2169
|
+
sourceRenderMode: "text" | "markdown";
|
|
2170
|
+
comment?: string | null | undefined;
|
|
2171
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2172
|
+
}, {
|
|
2173
|
+
start: number;
|
|
2174
|
+
end: number;
|
|
2175
|
+
id: string;
|
|
2176
|
+
surface: "local_file";
|
|
2177
|
+
selectedText: string;
|
|
2178
|
+
sourceConversationId: string;
|
|
2179
|
+
sourceHash: string;
|
|
2180
|
+
prefix: string;
|
|
2181
|
+
suffix: string;
|
|
2182
|
+
sourceFilePath: string;
|
|
2183
|
+
sourceRenderMode: "text" | "markdown";
|
|
2184
|
+
comment?: unknown;
|
|
2185
|
+
attachmentIds?: string[] | undefined;
|
|
2186
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2187
|
+
}>]>, {
|
|
2188
|
+
start: number;
|
|
2189
|
+
end: number;
|
|
2190
|
+
id: string;
|
|
2191
|
+
sourceMessageId: string;
|
|
2192
|
+
surface: "assistant_body";
|
|
2193
|
+
selectedText: string;
|
|
2194
|
+
sourceConversationId: string;
|
|
2195
|
+
sourceHash: string;
|
|
2196
|
+
prefix: string;
|
|
2197
|
+
suffix: string;
|
|
2198
|
+
attachmentIds: string[];
|
|
2199
|
+
comment?: string | null | undefined;
|
|
2200
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2201
|
+
} | {
|
|
2202
|
+
start: number;
|
|
2203
|
+
end: number;
|
|
2204
|
+
generationId: string;
|
|
2205
|
+
generationSeqStart: number;
|
|
2206
|
+
generationSeqEnd: number;
|
|
2207
|
+
id: string;
|
|
2208
|
+
sourceMessageId: string;
|
|
2209
|
+
surface: "process_transcript";
|
|
2210
|
+
selectedText: string;
|
|
2211
|
+
sourceConversationId: string;
|
|
2212
|
+
sourceHash: string;
|
|
2213
|
+
prefix: string;
|
|
2214
|
+
suffix: string;
|
|
2215
|
+
attachmentIds: string[];
|
|
2216
|
+
transcriptKind: "assistant" | "thinking";
|
|
2217
|
+
comment?: string | null | undefined;
|
|
2218
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2219
|
+
} | {
|
|
2220
|
+
id: string;
|
|
2221
|
+
surface: "agent_run_transcript";
|
|
2222
|
+
selectedText: string;
|
|
2223
|
+
sourceHash: string;
|
|
2224
|
+
attachmentIds: string[];
|
|
2225
|
+
sourceRunId: string;
|
|
2226
|
+
sourceAgentId: string;
|
|
2227
|
+
anchorKind: "text" | "transition";
|
|
2228
|
+
sourceEntryId: string | number;
|
|
2229
|
+
sourceMemberIds: (string | number)[];
|
|
2230
|
+
comment?: string | null | undefined;
|
|
2231
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2232
|
+
} | {
|
|
2233
|
+
start: number;
|
|
2234
|
+
end: number;
|
|
2235
|
+
id: string;
|
|
2236
|
+
surface: "workspace_file";
|
|
2237
|
+
selectedText: string;
|
|
2238
|
+
sourceConversationId: string;
|
|
2239
|
+
sourceHash: string;
|
|
2240
|
+
prefix: string;
|
|
2241
|
+
suffix: string;
|
|
2242
|
+
attachmentIds: string[];
|
|
2243
|
+
sourceFilePath: string;
|
|
2244
|
+
sourceLibraryEntryId: string | null;
|
|
2245
|
+
sourceRenderMode: "text" | "markdown";
|
|
2246
|
+
comment?: string | null | undefined;
|
|
2247
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2248
|
+
} | {
|
|
2249
|
+
start: number;
|
|
2250
|
+
end: number;
|
|
2251
|
+
id: string;
|
|
2252
|
+
surface: "local_file";
|
|
2253
|
+
selectedText: string;
|
|
2254
|
+
sourceConversationId: string;
|
|
2255
|
+
sourceHash: string;
|
|
2256
|
+
prefix: string;
|
|
2257
|
+
suffix: string;
|
|
2258
|
+
attachmentIds: string[];
|
|
2259
|
+
sourceFilePath: string;
|
|
2260
|
+
sourceRenderMode: "text" | "markdown";
|
|
2261
|
+
comment?: string | null | undefined;
|
|
2262
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2263
|
+
}, {
|
|
2264
|
+
start: number;
|
|
2265
|
+
end: number;
|
|
2266
|
+
id: string;
|
|
2267
|
+
sourceMessageId: string;
|
|
2268
|
+
surface: "assistant_body";
|
|
2269
|
+
selectedText: string;
|
|
2270
|
+
sourceConversationId: string;
|
|
2271
|
+
sourceHash: string;
|
|
2272
|
+
prefix: string;
|
|
2273
|
+
suffix: string;
|
|
2274
|
+
comment?: unknown;
|
|
2275
|
+
attachmentIds?: string[] | undefined;
|
|
2276
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2277
|
+
} | {
|
|
2278
|
+
start: number;
|
|
2279
|
+
end: number;
|
|
2280
|
+
generationId: string;
|
|
2281
|
+
generationSeqStart: number;
|
|
2282
|
+
generationSeqEnd: number;
|
|
2283
|
+
id: string;
|
|
2284
|
+
sourceMessageId: string;
|
|
2285
|
+
surface: "process_transcript";
|
|
2286
|
+
selectedText: string;
|
|
2287
|
+
sourceConversationId: string;
|
|
2288
|
+
sourceHash: string;
|
|
2289
|
+
prefix: string;
|
|
2290
|
+
suffix: string;
|
|
2291
|
+
transcriptKind: "assistant" | "thinking";
|
|
2292
|
+
comment?: unknown;
|
|
2293
|
+
attachmentIds?: string[] | undefined;
|
|
2294
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2295
|
+
} | {
|
|
2296
|
+
id: string;
|
|
2297
|
+
surface: "agent_run_transcript";
|
|
2298
|
+
selectedText: string;
|
|
2299
|
+
sourceHash: string;
|
|
2300
|
+
sourceRunId: string;
|
|
2301
|
+
sourceAgentId: string;
|
|
2302
|
+
anchorKind: "text" | "transition";
|
|
2303
|
+
sourceEntryId: string | number;
|
|
2304
|
+
sourceMemberIds: (string | number)[];
|
|
2305
|
+
comment?: unknown;
|
|
2306
|
+
attachmentIds?: string[] | undefined;
|
|
2307
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2308
|
+
} | {
|
|
2309
|
+
start: number;
|
|
2310
|
+
end: number;
|
|
2311
|
+
id: string;
|
|
2312
|
+
surface: "workspace_file";
|
|
2313
|
+
selectedText: string;
|
|
2314
|
+
sourceConversationId: string;
|
|
2315
|
+
sourceHash: string;
|
|
2316
|
+
prefix: string;
|
|
2317
|
+
suffix: string;
|
|
2318
|
+
sourceFilePath: string;
|
|
2319
|
+
sourceLibraryEntryId: string | null;
|
|
2320
|
+
sourceRenderMode: "text" | "markdown";
|
|
2321
|
+
comment?: unknown;
|
|
2322
|
+
attachmentIds?: string[] | undefined;
|
|
2323
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2324
|
+
} | {
|
|
2325
|
+
start: number;
|
|
2326
|
+
end: number;
|
|
2327
|
+
id: string;
|
|
2328
|
+
surface: "local_file";
|
|
2329
|
+
selectedText: string;
|
|
2330
|
+
sourceConversationId: string;
|
|
2331
|
+
sourceHash: string;
|
|
2332
|
+
prefix: string;
|
|
2333
|
+
suffix: string;
|
|
2334
|
+
sourceFilePath: string;
|
|
2335
|
+
sourceRenderMode: "text" | "markdown";
|
|
2336
|
+
comment?: unknown;
|
|
2337
|
+
attachmentIds?: string[] | undefined;
|
|
2338
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2339
|
+
}>, "many">, ({
|
|
2340
|
+
start: number;
|
|
2341
|
+
end: number;
|
|
2342
|
+
id: string;
|
|
2343
|
+
sourceMessageId: string;
|
|
2344
|
+
surface: "assistant_body";
|
|
2345
|
+
selectedText: string;
|
|
2346
|
+
sourceConversationId: string;
|
|
2347
|
+
sourceHash: string;
|
|
2348
|
+
prefix: string;
|
|
2349
|
+
suffix: string;
|
|
2350
|
+
attachmentIds: string[];
|
|
2351
|
+
comment?: string | null | undefined;
|
|
2352
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2353
|
+
} | {
|
|
2354
|
+
start: number;
|
|
2355
|
+
end: number;
|
|
2356
|
+
generationId: string;
|
|
2357
|
+
generationSeqStart: number;
|
|
2358
|
+
generationSeqEnd: number;
|
|
2359
|
+
id: string;
|
|
2360
|
+
sourceMessageId: string;
|
|
2361
|
+
surface: "process_transcript";
|
|
2362
|
+
selectedText: string;
|
|
2363
|
+
sourceConversationId: string;
|
|
2364
|
+
sourceHash: string;
|
|
2365
|
+
prefix: string;
|
|
2366
|
+
suffix: string;
|
|
2367
|
+
attachmentIds: string[];
|
|
2368
|
+
transcriptKind: "assistant" | "thinking";
|
|
2369
|
+
comment?: string | null | undefined;
|
|
2370
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2371
|
+
} | {
|
|
2372
|
+
id: string;
|
|
2373
|
+
surface: "agent_run_transcript";
|
|
2374
|
+
selectedText: string;
|
|
2375
|
+
sourceHash: string;
|
|
2376
|
+
attachmentIds: string[];
|
|
2377
|
+
sourceRunId: string;
|
|
2378
|
+
sourceAgentId: string;
|
|
2379
|
+
anchorKind: "text" | "transition";
|
|
2380
|
+
sourceEntryId: string | number;
|
|
2381
|
+
sourceMemberIds: (string | number)[];
|
|
2382
|
+
comment?: string | null | undefined;
|
|
2383
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2384
|
+
} | {
|
|
2385
|
+
start: number;
|
|
2386
|
+
end: number;
|
|
2387
|
+
id: string;
|
|
2388
|
+
surface: "workspace_file";
|
|
2389
|
+
selectedText: string;
|
|
2390
|
+
sourceConversationId: string;
|
|
2391
|
+
sourceHash: string;
|
|
2392
|
+
prefix: string;
|
|
2393
|
+
suffix: string;
|
|
2394
|
+
attachmentIds: string[];
|
|
2395
|
+
sourceFilePath: string;
|
|
2396
|
+
sourceLibraryEntryId: string | null;
|
|
2397
|
+
sourceRenderMode: "text" | "markdown";
|
|
2398
|
+
comment?: string | null | undefined;
|
|
2399
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2400
|
+
} | {
|
|
2401
|
+
start: number;
|
|
2402
|
+
end: number;
|
|
2403
|
+
id: string;
|
|
2404
|
+
surface: "local_file";
|
|
2405
|
+
selectedText: string;
|
|
2406
|
+
sourceConversationId: string;
|
|
2407
|
+
sourceHash: string;
|
|
2408
|
+
prefix: string;
|
|
2409
|
+
suffix: string;
|
|
2410
|
+
attachmentIds: string[];
|
|
2411
|
+
sourceFilePath: string;
|
|
2412
|
+
sourceRenderMode: "text" | "markdown";
|
|
2413
|
+
comment?: string | null | undefined;
|
|
2414
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2415
|
+
})[], ({
|
|
2416
|
+
start: number;
|
|
2417
|
+
end: number;
|
|
2418
|
+
id: string;
|
|
2419
|
+
sourceMessageId: string;
|
|
2420
|
+
surface: "assistant_body";
|
|
2421
|
+
selectedText: string;
|
|
2422
|
+
sourceConversationId: string;
|
|
2423
|
+
sourceHash: string;
|
|
2424
|
+
prefix: string;
|
|
2425
|
+
suffix: string;
|
|
2426
|
+
comment?: unknown;
|
|
2427
|
+
attachmentIds?: string[] | undefined;
|
|
2428
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2429
|
+
} | {
|
|
2430
|
+
start: number;
|
|
2431
|
+
end: number;
|
|
2432
|
+
generationId: string;
|
|
2433
|
+
generationSeqStart: number;
|
|
2434
|
+
generationSeqEnd: number;
|
|
2435
|
+
id: string;
|
|
2436
|
+
sourceMessageId: string;
|
|
2437
|
+
surface: "process_transcript";
|
|
2438
|
+
selectedText: string;
|
|
2439
|
+
sourceConversationId: string;
|
|
2440
|
+
sourceHash: string;
|
|
2441
|
+
prefix: string;
|
|
2442
|
+
suffix: string;
|
|
2443
|
+
transcriptKind: "assistant" | "thinking";
|
|
2444
|
+
comment?: unknown;
|
|
2445
|
+
attachmentIds?: string[] | undefined;
|
|
2446
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2447
|
+
} | {
|
|
2448
|
+
id: string;
|
|
2449
|
+
surface: "agent_run_transcript";
|
|
2450
|
+
selectedText: string;
|
|
2451
|
+
sourceHash: string;
|
|
2452
|
+
sourceRunId: string;
|
|
2453
|
+
sourceAgentId: string;
|
|
2454
|
+
anchorKind: "text" | "transition";
|
|
2455
|
+
sourceEntryId: string | number;
|
|
2456
|
+
sourceMemberIds: (string | number)[];
|
|
2457
|
+
comment?: unknown;
|
|
2458
|
+
attachmentIds?: string[] | undefined;
|
|
2459
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2460
|
+
} | {
|
|
2461
|
+
start: number;
|
|
2462
|
+
end: number;
|
|
2463
|
+
id: string;
|
|
2464
|
+
surface: "workspace_file";
|
|
2465
|
+
selectedText: string;
|
|
2466
|
+
sourceConversationId: string;
|
|
2467
|
+
sourceHash: string;
|
|
2468
|
+
prefix: string;
|
|
2469
|
+
suffix: string;
|
|
2470
|
+
sourceFilePath: string;
|
|
2471
|
+
sourceLibraryEntryId: string | null;
|
|
2472
|
+
sourceRenderMode: "text" | "markdown";
|
|
2473
|
+
comment?: unknown;
|
|
2474
|
+
attachmentIds?: string[] | undefined;
|
|
2475
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2476
|
+
} | {
|
|
2477
|
+
start: number;
|
|
2478
|
+
end: number;
|
|
2479
|
+
id: string;
|
|
2480
|
+
surface: "local_file";
|
|
2481
|
+
selectedText: string;
|
|
2482
|
+
sourceConversationId: string;
|
|
2483
|
+
sourceHash: string;
|
|
2484
|
+
prefix: string;
|
|
2485
|
+
suffix: string;
|
|
2486
|
+
sourceFilePath: string;
|
|
2487
|
+
sourceRenderMode: "text" | "markdown";
|
|
2488
|
+
comment?: unknown;
|
|
2489
|
+
attachmentIds?: string[] | undefined;
|
|
2490
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2491
|
+
})[]>>>;
|
|
2492
|
+
}, "strip", z.ZodTypeAny, {
|
|
2493
|
+
contextLinks: {
|
|
2494
|
+
entityType: "issue" | "agent" | "project";
|
|
2495
|
+
entityId: string;
|
|
2496
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2497
|
+
}[];
|
|
2498
|
+
body: string;
|
|
2499
|
+
inlineAnnotations: ({
|
|
2500
|
+
start: number;
|
|
2501
|
+
end: number;
|
|
2502
|
+
id: string;
|
|
2503
|
+
sourceMessageId: string;
|
|
2504
|
+
surface: "assistant_body";
|
|
2505
|
+
selectedText: string;
|
|
2506
|
+
sourceConversationId: string;
|
|
2507
|
+
sourceHash: string;
|
|
2508
|
+
prefix: string;
|
|
2509
|
+
suffix: string;
|
|
2510
|
+
attachmentIds: string[];
|
|
2511
|
+
comment?: string | null | undefined;
|
|
2512
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2513
|
+
} | {
|
|
2514
|
+
start: number;
|
|
2515
|
+
end: number;
|
|
2516
|
+
generationId: string;
|
|
2517
|
+
generationSeqStart: number;
|
|
2518
|
+
generationSeqEnd: number;
|
|
2519
|
+
id: string;
|
|
2520
|
+
sourceMessageId: string;
|
|
2521
|
+
surface: "process_transcript";
|
|
2522
|
+
selectedText: string;
|
|
2523
|
+
sourceConversationId: string;
|
|
2524
|
+
sourceHash: string;
|
|
2525
|
+
prefix: string;
|
|
2526
|
+
suffix: string;
|
|
2527
|
+
attachmentIds: string[];
|
|
2528
|
+
transcriptKind: "assistant" | "thinking";
|
|
2529
|
+
comment?: string | null | undefined;
|
|
2530
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2531
|
+
} | {
|
|
2532
|
+
id: string;
|
|
2533
|
+
surface: "agent_run_transcript";
|
|
2534
|
+
selectedText: string;
|
|
2535
|
+
sourceHash: string;
|
|
2536
|
+
attachmentIds: string[];
|
|
2537
|
+
sourceRunId: string;
|
|
2538
|
+
sourceAgentId: string;
|
|
2539
|
+
anchorKind: "text" | "transition";
|
|
2540
|
+
sourceEntryId: string | number;
|
|
2541
|
+
sourceMemberIds: (string | number)[];
|
|
2542
|
+
comment?: string | null | undefined;
|
|
2543
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2544
|
+
} | {
|
|
2545
|
+
start: number;
|
|
2546
|
+
end: number;
|
|
2547
|
+
id: string;
|
|
2548
|
+
surface: "workspace_file";
|
|
2549
|
+
selectedText: string;
|
|
2550
|
+
sourceConversationId: string;
|
|
2551
|
+
sourceHash: string;
|
|
2552
|
+
prefix: string;
|
|
2553
|
+
suffix: string;
|
|
2554
|
+
attachmentIds: string[];
|
|
2555
|
+
sourceFilePath: string;
|
|
2556
|
+
sourceLibraryEntryId: string | null;
|
|
2557
|
+
sourceRenderMode: "text" | "markdown";
|
|
2558
|
+
comment?: string | null | undefined;
|
|
2559
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2560
|
+
} | {
|
|
2561
|
+
start: number;
|
|
2562
|
+
end: number;
|
|
2563
|
+
id: string;
|
|
2564
|
+
surface: "local_file";
|
|
2565
|
+
selectedText: string;
|
|
2566
|
+
sourceConversationId: string;
|
|
2567
|
+
sourceHash: string;
|
|
2568
|
+
prefix: string;
|
|
2569
|
+
suffix: string;
|
|
2570
|
+
attachmentIds: string[];
|
|
2571
|
+
sourceFilePath: string;
|
|
2572
|
+
sourceRenderMode: "text" | "markdown";
|
|
2573
|
+
comment?: string | null | undefined;
|
|
2574
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2575
|
+
})[];
|
|
2576
|
+
title?: string | undefined;
|
|
2577
|
+
summary?: string | null | undefined;
|
|
2578
|
+
preferredAgentId?: string | null | undefined;
|
|
2579
|
+
modelOverride?: string | null | undefined;
|
|
2580
|
+
effortOverride?: string | null | undefined;
|
|
2581
|
+
issueCreationMode?: "manual_approval" | "auto_create" | undefined;
|
|
2582
|
+
planMode?: boolean | undefined;
|
|
2583
|
+
clientMutationId?: string | undefined;
|
|
2584
|
+
}, {
|
|
2585
|
+
title?: string | undefined;
|
|
2586
|
+
summary?: string | null | undefined;
|
|
2587
|
+
preferredAgentId?: string | null | undefined;
|
|
2588
|
+
modelOverride?: string | null | undefined;
|
|
2589
|
+
effortOverride?: string | null | undefined;
|
|
2590
|
+
issueCreationMode?: "manual_approval" | "auto_create" | undefined;
|
|
2591
|
+
planMode?: boolean | undefined;
|
|
2592
|
+
contextLinks?: {
|
|
2593
|
+
entityType: "issue" | "agent" | "project";
|
|
2594
|
+
entityId: string;
|
|
2595
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2596
|
+
}[] | undefined;
|
|
2597
|
+
body?: string | undefined;
|
|
2598
|
+
clientMutationId?: string | undefined;
|
|
2599
|
+
inlineAnnotations?: ({
|
|
2600
|
+
start: number;
|
|
2601
|
+
end: number;
|
|
2602
|
+
id: string;
|
|
2603
|
+
sourceMessageId: string;
|
|
2604
|
+
surface: "assistant_body";
|
|
2605
|
+
selectedText: string;
|
|
2606
|
+
sourceConversationId: string;
|
|
2607
|
+
sourceHash: string;
|
|
2608
|
+
prefix: string;
|
|
2609
|
+
suffix: string;
|
|
2610
|
+
comment?: unknown;
|
|
2611
|
+
attachmentIds?: string[] | undefined;
|
|
2612
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2613
|
+
} | {
|
|
2614
|
+
start: number;
|
|
2615
|
+
end: number;
|
|
2616
|
+
generationId: string;
|
|
2617
|
+
generationSeqStart: number;
|
|
2618
|
+
generationSeqEnd: number;
|
|
2619
|
+
id: string;
|
|
2620
|
+
sourceMessageId: string;
|
|
2621
|
+
surface: "process_transcript";
|
|
2622
|
+
selectedText: string;
|
|
2623
|
+
sourceConversationId: string;
|
|
2624
|
+
sourceHash: string;
|
|
2625
|
+
prefix: string;
|
|
2626
|
+
suffix: string;
|
|
2627
|
+
transcriptKind: "assistant" | "thinking";
|
|
2628
|
+
comment?: unknown;
|
|
2629
|
+
attachmentIds?: string[] | undefined;
|
|
2630
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2631
|
+
} | {
|
|
2632
|
+
id: string;
|
|
2633
|
+
surface: "agent_run_transcript";
|
|
2634
|
+
selectedText: string;
|
|
2635
|
+
sourceHash: string;
|
|
2636
|
+
sourceRunId: string;
|
|
2637
|
+
sourceAgentId: string;
|
|
2638
|
+
anchorKind: "text" | "transition";
|
|
2639
|
+
sourceEntryId: string | number;
|
|
2640
|
+
sourceMemberIds: (string | number)[];
|
|
2641
|
+
comment?: unknown;
|
|
2642
|
+
attachmentIds?: string[] | undefined;
|
|
2643
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2644
|
+
} | {
|
|
2645
|
+
start: number;
|
|
2646
|
+
end: number;
|
|
2647
|
+
id: string;
|
|
2648
|
+
surface: "workspace_file";
|
|
2649
|
+
selectedText: string;
|
|
2650
|
+
sourceConversationId: string;
|
|
2651
|
+
sourceHash: string;
|
|
2652
|
+
prefix: string;
|
|
2653
|
+
suffix: string;
|
|
2654
|
+
sourceFilePath: string;
|
|
2655
|
+
sourceLibraryEntryId: string | null;
|
|
2656
|
+
sourceRenderMode: "text" | "markdown";
|
|
2657
|
+
comment?: unknown;
|
|
2658
|
+
attachmentIds?: string[] | undefined;
|
|
2659
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2660
|
+
} | {
|
|
2661
|
+
start: number;
|
|
2662
|
+
end: number;
|
|
2663
|
+
id: string;
|
|
2664
|
+
surface: "local_file";
|
|
2665
|
+
selectedText: string;
|
|
2666
|
+
sourceConversationId: string;
|
|
2667
|
+
sourceHash: string;
|
|
2668
|
+
prefix: string;
|
|
2669
|
+
suffix: string;
|
|
2670
|
+
sourceFilePath: string;
|
|
2671
|
+
sourceRenderMode: "text" | "markdown";
|
|
2672
|
+
comment?: unknown;
|
|
2673
|
+
attachmentIds?: string[] | undefined;
|
|
2674
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2675
|
+
})[] | undefined;
|
|
2676
|
+
}>, {
|
|
2677
|
+
contextLinks: {
|
|
2678
|
+
entityType: "issue" | "agent" | "project";
|
|
2679
|
+
entityId: string;
|
|
2680
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2681
|
+
}[];
|
|
2682
|
+
body: string;
|
|
2683
|
+
inlineAnnotations: ({
|
|
2684
|
+
start: number;
|
|
2685
|
+
end: number;
|
|
2686
|
+
id: string;
|
|
2687
|
+
sourceMessageId: string;
|
|
2688
|
+
surface: "assistant_body";
|
|
2689
|
+
selectedText: string;
|
|
2690
|
+
sourceConversationId: string;
|
|
2691
|
+
sourceHash: string;
|
|
2692
|
+
prefix: string;
|
|
2693
|
+
suffix: string;
|
|
2694
|
+
attachmentIds: string[];
|
|
2695
|
+
comment?: string | null | undefined;
|
|
2696
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2697
|
+
} | {
|
|
2698
|
+
start: number;
|
|
2699
|
+
end: number;
|
|
2700
|
+
generationId: string;
|
|
2701
|
+
generationSeqStart: number;
|
|
2702
|
+
generationSeqEnd: number;
|
|
2703
|
+
id: string;
|
|
2704
|
+
sourceMessageId: string;
|
|
2705
|
+
surface: "process_transcript";
|
|
2706
|
+
selectedText: string;
|
|
2707
|
+
sourceConversationId: string;
|
|
2708
|
+
sourceHash: string;
|
|
2709
|
+
prefix: string;
|
|
2710
|
+
suffix: string;
|
|
2711
|
+
attachmentIds: string[];
|
|
2712
|
+
transcriptKind: "assistant" | "thinking";
|
|
2713
|
+
comment?: string | null | undefined;
|
|
2714
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2715
|
+
} | {
|
|
2716
|
+
id: string;
|
|
2717
|
+
surface: "agent_run_transcript";
|
|
2718
|
+
selectedText: string;
|
|
2719
|
+
sourceHash: string;
|
|
2720
|
+
attachmentIds: string[];
|
|
2721
|
+
sourceRunId: string;
|
|
2722
|
+
sourceAgentId: string;
|
|
2723
|
+
anchorKind: "text" | "transition";
|
|
2724
|
+
sourceEntryId: string | number;
|
|
2725
|
+
sourceMemberIds: (string | number)[];
|
|
2726
|
+
comment?: string | null | undefined;
|
|
2727
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2728
|
+
} | {
|
|
2729
|
+
start: number;
|
|
2730
|
+
end: number;
|
|
2731
|
+
id: string;
|
|
2732
|
+
surface: "workspace_file";
|
|
2733
|
+
selectedText: string;
|
|
2734
|
+
sourceConversationId: string;
|
|
2735
|
+
sourceHash: string;
|
|
2736
|
+
prefix: string;
|
|
2737
|
+
suffix: string;
|
|
2738
|
+
attachmentIds: string[];
|
|
2739
|
+
sourceFilePath: string;
|
|
2740
|
+
sourceLibraryEntryId: string | null;
|
|
2741
|
+
sourceRenderMode: "text" | "markdown";
|
|
2742
|
+
comment?: string | null | undefined;
|
|
2743
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2744
|
+
} | {
|
|
2745
|
+
start: number;
|
|
2746
|
+
end: number;
|
|
2747
|
+
id: string;
|
|
2748
|
+
surface: "local_file";
|
|
2749
|
+
selectedText: string;
|
|
2750
|
+
sourceConversationId: string;
|
|
2751
|
+
sourceHash: string;
|
|
2752
|
+
prefix: string;
|
|
2753
|
+
suffix: string;
|
|
2754
|
+
attachmentIds: string[];
|
|
2755
|
+
sourceFilePath: string;
|
|
2756
|
+
sourceRenderMode: "text" | "markdown";
|
|
2757
|
+
comment?: string | null | undefined;
|
|
2758
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2759
|
+
})[];
|
|
2760
|
+
title?: string | undefined;
|
|
2761
|
+
summary?: string | null | undefined;
|
|
2762
|
+
preferredAgentId?: string | null | undefined;
|
|
2763
|
+
modelOverride?: string | null | undefined;
|
|
2764
|
+
effortOverride?: string | null | undefined;
|
|
2765
|
+
issueCreationMode?: "manual_approval" | "auto_create" | undefined;
|
|
2766
|
+
planMode?: boolean | undefined;
|
|
2767
|
+
clientMutationId?: string | undefined;
|
|
2768
|
+
}, {
|
|
2769
|
+
title?: string | undefined;
|
|
2770
|
+
summary?: string | null | undefined;
|
|
2771
|
+
preferredAgentId?: string | null | undefined;
|
|
2772
|
+
modelOverride?: string | null | undefined;
|
|
2773
|
+
effortOverride?: string | null | undefined;
|
|
2774
|
+
issueCreationMode?: "manual_approval" | "auto_create" | undefined;
|
|
2775
|
+
planMode?: boolean | undefined;
|
|
2776
|
+
contextLinks?: {
|
|
2777
|
+
entityType: "issue" | "agent" | "project";
|
|
2778
|
+
entityId: string;
|
|
2779
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2780
|
+
}[] | undefined;
|
|
2781
|
+
body?: string | undefined;
|
|
2782
|
+
clientMutationId?: string | undefined;
|
|
2783
|
+
inlineAnnotations?: ({
|
|
2784
|
+
start: number;
|
|
2785
|
+
end: number;
|
|
2786
|
+
id: string;
|
|
2787
|
+
sourceMessageId: string;
|
|
2788
|
+
surface: "assistant_body";
|
|
2789
|
+
selectedText: string;
|
|
2790
|
+
sourceConversationId: string;
|
|
2791
|
+
sourceHash: string;
|
|
2792
|
+
prefix: string;
|
|
2793
|
+
suffix: string;
|
|
2794
|
+
comment?: unknown;
|
|
2795
|
+
attachmentIds?: string[] | undefined;
|
|
2796
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2797
|
+
} | {
|
|
2798
|
+
start: number;
|
|
2799
|
+
end: number;
|
|
2800
|
+
generationId: string;
|
|
2801
|
+
generationSeqStart: number;
|
|
2802
|
+
generationSeqEnd: number;
|
|
2803
|
+
id: string;
|
|
2804
|
+
sourceMessageId: string;
|
|
2805
|
+
surface: "process_transcript";
|
|
2806
|
+
selectedText: string;
|
|
2807
|
+
sourceConversationId: string;
|
|
2808
|
+
sourceHash: string;
|
|
2809
|
+
prefix: string;
|
|
2810
|
+
suffix: string;
|
|
2811
|
+
transcriptKind: "assistant" | "thinking";
|
|
2812
|
+
comment?: unknown;
|
|
2813
|
+
attachmentIds?: string[] | undefined;
|
|
2814
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2815
|
+
} | {
|
|
2816
|
+
id: string;
|
|
2817
|
+
surface: "agent_run_transcript";
|
|
2818
|
+
selectedText: string;
|
|
2819
|
+
sourceHash: string;
|
|
2820
|
+
sourceRunId: string;
|
|
2821
|
+
sourceAgentId: string;
|
|
2822
|
+
anchorKind: "text" | "transition";
|
|
2823
|
+
sourceEntryId: string | number;
|
|
2824
|
+
sourceMemberIds: (string | number)[];
|
|
2825
|
+
comment?: unknown;
|
|
2826
|
+
attachmentIds?: string[] | undefined;
|
|
2827
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2828
|
+
} | {
|
|
2829
|
+
start: number;
|
|
2830
|
+
end: number;
|
|
2831
|
+
id: string;
|
|
2832
|
+
surface: "workspace_file";
|
|
2833
|
+
selectedText: string;
|
|
2834
|
+
sourceConversationId: string;
|
|
2835
|
+
sourceHash: string;
|
|
2836
|
+
prefix: string;
|
|
2837
|
+
suffix: string;
|
|
2838
|
+
sourceFilePath: string;
|
|
2839
|
+
sourceLibraryEntryId: string | null;
|
|
2840
|
+
sourceRenderMode: "text" | "markdown";
|
|
2841
|
+
comment?: unknown;
|
|
2842
|
+
attachmentIds?: string[] | undefined;
|
|
2843
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2844
|
+
} | {
|
|
2845
|
+
start: number;
|
|
2846
|
+
end: number;
|
|
2847
|
+
id: string;
|
|
2848
|
+
surface: "local_file";
|
|
2849
|
+
selectedText: string;
|
|
2850
|
+
sourceConversationId: string;
|
|
2851
|
+
sourceHash: string;
|
|
2852
|
+
prefix: string;
|
|
2853
|
+
suffix: string;
|
|
2854
|
+
sourceFilePath: string;
|
|
2855
|
+
sourceRenderMode: "text" | "markdown";
|
|
2856
|
+
comment?: unknown;
|
|
2857
|
+
attachmentIds?: string[] | undefined;
|
|
2858
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2859
|
+
})[] | undefined;
|
|
2860
|
+
}>;
|
|
2861
|
+
export declare const setChatProjectContextSchema: z.ZodObject<{
|
|
2862
|
+
projectId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2863
|
+
}, "strip", z.ZodTypeAny, {
|
|
2864
|
+
projectId?: string | null | undefined;
|
|
2865
|
+
}, {
|
|
2866
|
+
projectId?: string | null | undefined;
|
|
2867
|
+
}>;
|
|
2868
|
+
export declare const updateChatConversationSchema: z.ZodObject<{
|
|
2869
|
+
title: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2870
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
2871
|
+
preferredAgentId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
2872
|
+
modelOverride: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2873
|
+
effortOverride: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2874
|
+
issueCreationMode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["manual_approval", "auto_create"]>>>;
|
|
2875
|
+
planMode: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
2876
|
+
contextLinks: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2877
|
+
entityType: z.ZodEnum<["issue", "project", "agent"]>;
|
|
2878
|
+
entityId: z.ZodString;
|
|
2879
|
+
metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
2880
|
+
}, "strip", z.ZodTypeAny, {
|
|
2881
|
+
entityType: "issue" | "agent" | "project";
|
|
2882
|
+
entityId: string;
|
|
2883
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2884
|
+
}, {
|
|
2885
|
+
entityType: "issue" | "agent" | "project";
|
|
2886
|
+
entityId: string;
|
|
2887
|
+
metadata?: Record<string, unknown> | null | undefined;
|
|
2888
|
+
}>, "many">>>>;
|
|
2889
|
+
} & {
|
|
2890
|
+
status: z.ZodOptional<z.ZodEnum<["active", "resolved", "archived"]>>;
|
|
2891
|
+
routedAgentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2892
|
+
primaryIssueId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2893
|
+
resolvedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2894
|
+
}, "strip", z.ZodTypeAny, {
|
|
2895
|
+
status?: "active" | "archived" | "resolved" | undefined;
|
|
2896
|
+
title?: string | undefined;
|
|
2897
|
+
summary?: string | null | undefined;
|
|
2898
|
+
preferredAgentId?: string | null | undefined;
|
|
2899
|
+
modelOverride?: string | null | undefined;
|
|
2900
|
+
effortOverride?: string | null | undefined;
|
|
1718
2901
|
issueCreationMode?: "manual_approval" | "auto_create" | undefined;
|
|
1719
2902
|
planMode?: boolean | undefined;
|
|
1720
2903
|
contextLinks?: {
|
|
@@ -1872,6 +3055,46 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1872
3055
|
comment?: unknown;
|
|
1873
3056
|
attachmentIds?: string[] | undefined;
|
|
1874
3057
|
attachmentFileIndexes?: number[] | undefined;
|
|
3058
|
+
}>, z.ZodObject<{
|
|
3059
|
+
id: z.ZodString;
|
|
3060
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
3061
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
3062
|
+
sourceHash: z.ZodString;
|
|
3063
|
+
surface: z.ZodLiteral<"agent_run_transcript">;
|
|
3064
|
+
sourceRunId: z.ZodString;
|
|
3065
|
+
sourceAgentId: z.ZodString;
|
|
3066
|
+
anchorKind: z.ZodEnum<["text", "transition"]>;
|
|
3067
|
+
sourceEntryId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
3068
|
+
sourceMemberIds: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3069
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3070
|
+
} & {
|
|
3071
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
3072
|
+
}, "strict", z.ZodTypeAny, {
|
|
3073
|
+
id: string;
|
|
3074
|
+
surface: "agent_run_transcript";
|
|
3075
|
+
selectedText: string;
|
|
3076
|
+
sourceHash: string;
|
|
3077
|
+
attachmentIds: string[];
|
|
3078
|
+
sourceRunId: string;
|
|
3079
|
+
sourceAgentId: string;
|
|
3080
|
+
anchorKind: "text" | "transition";
|
|
3081
|
+
sourceEntryId: string | number;
|
|
3082
|
+
sourceMemberIds: (string | number)[];
|
|
3083
|
+
comment?: string | null | undefined;
|
|
3084
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3085
|
+
}, {
|
|
3086
|
+
id: string;
|
|
3087
|
+
surface: "agent_run_transcript";
|
|
3088
|
+
selectedText: string;
|
|
3089
|
+
sourceHash: string;
|
|
3090
|
+
sourceRunId: string;
|
|
3091
|
+
sourceAgentId: string;
|
|
3092
|
+
anchorKind: "text" | "transition";
|
|
3093
|
+
sourceEntryId: string | number;
|
|
3094
|
+
sourceMemberIds: (string | number)[];
|
|
3095
|
+
comment?: unknown;
|
|
3096
|
+
attachmentIds?: string[] | undefined;
|
|
3097
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1875
3098
|
}>, z.ZodObject<{
|
|
1876
3099
|
surface: z.ZodLiteral<"workspace_file">;
|
|
1877
3100
|
sourceFilePath: z.ZodString;
|
|
@@ -1902,7 +3125,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1902
3125
|
attachmentIds: string[];
|
|
1903
3126
|
sourceFilePath: string;
|
|
1904
3127
|
sourceLibraryEntryId: string | null;
|
|
1905
|
-
sourceRenderMode: "
|
|
3128
|
+
sourceRenderMode: "text" | "markdown";
|
|
1906
3129
|
comment?: string | null | undefined;
|
|
1907
3130
|
attachmentFileIndexes?: number[] | undefined;
|
|
1908
3131
|
}, {
|
|
@@ -1917,7 +3140,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1917
3140
|
suffix: string;
|
|
1918
3141
|
sourceFilePath: string;
|
|
1919
3142
|
sourceLibraryEntryId: string | null;
|
|
1920
|
-
sourceRenderMode: "
|
|
3143
|
+
sourceRenderMode: "text" | "markdown";
|
|
1921
3144
|
comment?: unknown;
|
|
1922
3145
|
attachmentIds?: string[] | undefined;
|
|
1923
3146
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -1949,7 +3172,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1949
3172
|
suffix: string;
|
|
1950
3173
|
attachmentIds: string[];
|
|
1951
3174
|
sourceFilePath: string;
|
|
1952
|
-
sourceRenderMode: "
|
|
3175
|
+
sourceRenderMode: "text" | "markdown";
|
|
1953
3176
|
comment?: string | null | undefined;
|
|
1954
3177
|
attachmentFileIndexes?: number[] | undefined;
|
|
1955
3178
|
}, {
|
|
@@ -1963,7 +3186,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1963
3186
|
prefix: string;
|
|
1964
3187
|
suffix: string;
|
|
1965
3188
|
sourceFilePath: string;
|
|
1966
|
-
sourceRenderMode: "
|
|
3189
|
+
sourceRenderMode: "text" | "markdown";
|
|
1967
3190
|
comment?: unknown;
|
|
1968
3191
|
attachmentIds?: string[] | undefined;
|
|
1969
3192
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -1999,6 +3222,19 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1999
3222
|
transcriptKind: "assistant" | "thinking";
|
|
2000
3223
|
comment?: string | null | undefined;
|
|
2001
3224
|
attachmentFileIndexes?: number[] | undefined;
|
|
3225
|
+
} | {
|
|
3226
|
+
id: string;
|
|
3227
|
+
surface: "agent_run_transcript";
|
|
3228
|
+
selectedText: string;
|
|
3229
|
+
sourceHash: string;
|
|
3230
|
+
attachmentIds: string[];
|
|
3231
|
+
sourceRunId: string;
|
|
3232
|
+
sourceAgentId: string;
|
|
3233
|
+
anchorKind: "text" | "transition";
|
|
3234
|
+
sourceEntryId: string | number;
|
|
3235
|
+
sourceMemberIds: (string | number)[];
|
|
3236
|
+
comment?: string | null | undefined;
|
|
3237
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2002
3238
|
} | {
|
|
2003
3239
|
start: number;
|
|
2004
3240
|
end: number;
|
|
@@ -2012,7 +3248,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2012
3248
|
attachmentIds: string[];
|
|
2013
3249
|
sourceFilePath: string;
|
|
2014
3250
|
sourceLibraryEntryId: string | null;
|
|
2015
|
-
sourceRenderMode: "
|
|
3251
|
+
sourceRenderMode: "text" | "markdown";
|
|
2016
3252
|
comment?: string | null | undefined;
|
|
2017
3253
|
attachmentFileIndexes?: number[] | undefined;
|
|
2018
3254
|
} | {
|
|
@@ -2027,7 +3263,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2027
3263
|
suffix: string;
|
|
2028
3264
|
attachmentIds: string[];
|
|
2029
3265
|
sourceFilePath: string;
|
|
2030
|
-
sourceRenderMode: "
|
|
3266
|
+
sourceRenderMode: "text" | "markdown";
|
|
2031
3267
|
comment?: string | null | undefined;
|
|
2032
3268
|
attachmentFileIndexes?: number[] | undefined;
|
|
2033
3269
|
}, {
|
|
@@ -2062,6 +3298,19 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2062
3298
|
comment?: unknown;
|
|
2063
3299
|
attachmentIds?: string[] | undefined;
|
|
2064
3300
|
attachmentFileIndexes?: number[] | undefined;
|
|
3301
|
+
} | {
|
|
3302
|
+
id: string;
|
|
3303
|
+
surface: "agent_run_transcript";
|
|
3304
|
+
selectedText: string;
|
|
3305
|
+
sourceHash: string;
|
|
3306
|
+
sourceRunId: string;
|
|
3307
|
+
sourceAgentId: string;
|
|
3308
|
+
anchorKind: "text" | "transition";
|
|
3309
|
+
sourceEntryId: string | number;
|
|
3310
|
+
sourceMemberIds: (string | number)[];
|
|
3311
|
+
comment?: unknown;
|
|
3312
|
+
attachmentIds?: string[] | undefined;
|
|
3313
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2065
3314
|
} | {
|
|
2066
3315
|
start: number;
|
|
2067
3316
|
end: number;
|
|
@@ -2074,7 +3323,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2074
3323
|
suffix: string;
|
|
2075
3324
|
sourceFilePath: string;
|
|
2076
3325
|
sourceLibraryEntryId: string | null;
|
|
2077
|
-
sourceRenderMode: "
|
|
3326
|
+
sourceRenderMode: "text" | "markdown";
|
|
2078
3327
|
comment?: unknown;
|
|
2079
3328
|
attachmentIds?: string[] | undefined;
|
|
2080
3329
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2089,7 +3338,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2089
3338
|
prefix: string;
|
|
2090
3339
|
suffix: string;
|
|
2091
3340
|
sourceFilePath: string;
|
|
2092
|
-
sourceRenderMode: "
|
|
3341
|
+
sourceRenderMode: "text" | "markdown";
|
|
2093
3342
|
comment?: unknown;
|
|
2094
3343
|
attachmentIds?: string[] | undefined;
|
|
2095
3344
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2125,6 +3374,19 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2125
3374
|
transcriptKind: "assistant" | "thinking";
|
|
2126
3375
|
comment?: string | null | undefined;
|
|
2127
3376
|
attachmentFileIndexes?: number[] | undefined;
|
|
3377
|
+
} | {
|
|
3378
|
+
id: string;
|
|
3379
|
+
surface: "agent_run_transcript";
|
|
3380
|
+
selectedText: string;
|
|
3381
|
+
sourceHash: string;
|
|
3382
|
+
attachmentIds: string[];
|
|
3383
|
+
sourceRunId: string;
|
|
3384
|
+
sourceAgentId: string;
|
|
3385
|
+
anchorKind: "text" | "transition";
|
|
3386
|
+
sourceEntryId: string | number;
|
|
3387
|
+
sourceMemberIds: (string | number)[];
|
|
3388
|
+
comment?: string | null | undefined;
|
|
3389
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2128
3390
|
} | {
|
|
2129
3391
|
start: number;
|
|
2130
3392
|
end: number;
|
|
@@ -2138,7 +3400,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2138
3400
|
attachmentIds: string[];
|
|
2139
3401
|
sourceFilePath: string;
|
|
2140
3402
|
sourceLibraryEntryId: string | null;
|
|
2141
|
-
sourceRenderMode: "
|
|
3403
|
+
sourceRenderMode: "text" | "markdown";
|
|
2142
3404
|
comment?: string | null | undefined;
|
|
2143
3405
|
attachmentFileIndexes?: number[] | undefined;
|
|
2144
3406
|
} | {
|
|
@@ -2153,7 +3415,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2153
3415
|
suffix: string;
|
|
2154
3416
|
attachmentIds: string[];
|
|
2155
3417
|
sourceFilePath: string;
|
|
2156
|
-
sourceRenderMode: "
|
|
3418
|
+
sourceRenderMode: "text" | "markdown";
|
|
2157
3419
|
comment?: string | null | undefined;
|
|
2158
3420
|
attachmentFileIndexes?: number[] | undefined;
|
|
2159
3421
|
})[], ({
|
|
@@ -2188,6 +3450,19 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2188
3450
|
comment?: unknown;
|
|
2189
3451
|
attachmentIds?: string[] | undefined;
|
|
2190
3452
|
attachmentFileIndexes?: number[] | undefined;
|
|
3453
|
+
} | {
|
|
3454
|
+
id: string;
|
|
3455
|
+
surface: "agent_run_transcript";
|
|
3456
|
+
selectedText: string;
|
|
3457
|
+
sourceHash: string;
|
|
3458
|
+
sourceRunId: string;
|
|
3459
|
+
sourceAgentId: string;
|
|
3460
|
+
anchorKind: "text" | "transition";
|
|
3461
|
+
sourceEntryId: string | number;
|
|
3462
|
+
sourceMemberIds: (string | number)[];
|
|
3463
|
+
comment?: unknown;
|
|
3464
|
+
attachmentIds?: string[] | undefined;
|
|
3465
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2191
3466
|
} | {
|
|
2192
3467
|
start: number;
|
|
2193
3468
|
end: number;
|
|
@@ -2200,7 +3475,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2200
3475
|
suffix: string;
|
|
2201
3476
|
sourceFilePath: string;
|
|
2202
3477
|
sourceLibraryEntryId: string | null;
|
|
2203
|
-
sourceRenderMode: "
|
|
3478
|
+
sourceRenderMode: "text" | "markdown";
|
|
2204
3479
|
comment?: unknown;
|
|
2205
3480
|
attachmentIds?: string[] | undefined;
|
|
2206
3481
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2215,7 +3490,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2215
3490
|
prefix: string;
|
|
2216
3491
|
suffix: string;
|
|
2217
3492
|
sourceFilePath: string;
|
|
2218
|
-
sourceRenderMode: "
|
|
3493
|
+
sourceRenderMode: "text" | "markdown";
|
|
2219
3494
|
comment?: unknown;
|
|
2220
3495
|
attachmentIds?: string[] | undefined;
|
|
2221
3496
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2256,6 +3531,19 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2256
3531
|
transcriptKind: "assistant" | "thinking";
|
|
2257
3532
|
comment?: string | null | undefined;
|
|
2258
3533
|
attachmentFileIndexes?: number[] | undefined;
|
|
3534
|
+
} | {
|
|
3535
|
+
id: string;
|
|
3536
|
+
surface: "agent_run_transcript";
|
|
3537
|
+
selectedText: string;
|
|
3538
|
+
sourceHash: string;
|
|
3539
|
+
attachmentIds: string[];
|
|
3540
|
+
sourceRunId: string;
|
|
3541
|
+
sourceAgentId: string;
|
|
3542
|
+
anchorKind: "text" | "transition";
|
|
3543
|
+
sourceEntryId: string | number;
|
|
3544
|
+
sourceMemberIds: (string | number)[];
|
|
3545
|
+
comment?: string | null | undefined;
|
|
3546
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2259
3547
|
} | {
|
|
2260
3548
|
start: number;
|
|
2261
3549
|
end: number;
|
|
@@ -2269,7 +3557,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2269
3557
|
attachmentIds: string[];
|
|
2270
3558
|
sourceFilePath: string;
|
|
2271
3559
|
sourceLibraryEntryId: string | null;
|
|
2272
|
-
sourceRenderMode: "
|
|
3560
|
+
sourceRenderMode: "text" | "markdown";
|
|
2273
3561
|
comment?: string | null | undefined;
|
|
2274
3562
|
attachmentFileIndexes?: number[] | undefined;
|
|
2275
3563
|
} | {
|
|
@@ -2284,7 +3572,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2284
3572
|
suffix: string;
|
|
2285
3573
|
attachmentIds: string[];
|
|
2286
3574
|
sourceFilePath: string;
|
|
2287
|
-
sourceRenderMode: "
|
|
3575
|
+
sourceRenderMode: "text" | "markdown";
|
|
2288
3576
|
comment?: string | null | undefined;
|
|
2289
3577
|
attachmentFileIndexes?: number[] | undefined;
|
|
2290
3578
|
})[] | undefined;
|
|
@@ -2324,6 +3612,19 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2324
3612
|
comment?: unknown;
|
|
2325
3613
|
attachmentIds?: string[] | undefined;
|
|
2326
3614
|
attachmentFileIndexes?: number[] | undefined;
|
|
3615
|
+
} | {
|
|
3616
|
+
id: string;
|
|
3617
|
+
surface: "agent_run_transcript";
|
|
3618
|
+
selectedText: string;
|
|
3619
|
+
sourceHash: string;
|
|
3620
|
+
sourceRunId: string;
|
|
3621
|
+
sourceAgentId: string;
|
|
3622
|
+
anchorKind: "text" | "transition";
|
|
3623
|
+
sourceEntryId: string | number;
|
|
3624
|
+
sourceMemberIds: (string | number)[];
|
|
3625
|
+
comment?: unknown;
|
|
3626
|
+
attachmentIds?: string[] | undefined;
|
|
3627
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2327
3628
|
} | {
|
|
2328
3629
|
start: number;
|
|
2329
3630
|
end: number;
|
|
@@ -2336,7 +3637,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2336
3637
|
suffix: string;
|
|
2337
3638
|
sourceFilePath: string;
|
|
2338
3639
|
sourceLibraryEntryId: string | null;
|
|
2339
|
-
sourceRenderMode: "
|
|
3640
|
+
sourceRenderMode: "text" | "markdown";
|
|
2340
3641
|
comment?: unknown;
|
|
2341
3642
|
attachmentIds?: string[] | undefined;
|
|
2342
3643
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2351,7 +3652,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2351
3652
|
prefix: string;
|
|
2352
3653
|
suffix: string;
|
|
2353
3654
|
sourceFilePath: string;
|
|
2354
|
-
sourceRenderMode: "
|
|
3655
|
+
sourceRenderMode: "text" | "markdown";
|
|
2355
3656
|
comment?: unknown;
|
|
2356
3657
|
attachmentIds?: string[] | undefined;
|
|
2357
3658
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2392,6 +3693,19 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2392
3693
|
transcriptKind: "assistant" | "thinking";
|
|
2393
3694
|
comment?: string | null | undefined;
|
|
2394
3695
|
attachmentFileIndexes?: number[] | undefined;
|
|
3696
|
+
} | {
|
|
3697
|
+
id: string;
|
|
3698
|
+
surface: "agent_run_transcript";
|
|
3699
|
+
selectedText: string;
|
|
3700
|
+
sourceHash: string;
|
|
3701
|
+
attachmentIds: string[];
|
|
3702
|
+
sourceRunId: string;
|
|
3703
|
+
sourceAgentId: string;
|
|
3704
|
+
anchorKind: "text" | "transition";
|
|
3705
|
+
sourceEntryId: string | number;
|
|
3706
|
+
sourceMemberIds: (string | number)[];
|
|
3707
|
+
comment?: string | null | undefined;
|
|
3708
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2395
3709
|
} | {
|
|
2396
3710
|
start: number;
|
|
2397
3711
|
end: number;
|
|
@@ -2405,7 +3719,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2405
3719
|
attachmentIds: string[];
|
|
2406
3720
|
sourceFilePath: string;
|
|
2407
3721
|
sourceLibraryEntryId: string | null;
|
|
2408
|
-
sourceRenderMode: "
|
|
3722
|
+
sourceRenderMode: "text" | "markdown";
|
|
2409
3723
|
comment?: string | null | undefined;
|
|
2410
3724
|
attachmentFileIndexes?: number[] | undefined;
|
|
2411
3725
|
} | {
|
|
@@ -2420,7 +3734,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2420
3734
|
suffix: string;
|
|
2421
3735
|
attachmentIds: string[];
|
|
2422
3736
|
sourceFilePath: string;
|
|
2423
|
-
sourceRenderMode: "
|
|
3737
|
+
sourceRenderMode: "text" | "markdown";
|
|
2424
3738
|
comment?: string | null | undefined;
|
|
2425
3739
|
attachmentFileIndexes?: number[] | undefined;
|
|
2426
3740
|
})[] | undefined;
|
|
@@ -2460,6 +3774,19 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2460
3774
|
comment?: unknown;
|
|
2461
3775
|
attachmentIds?: string[] | undefined;
|
|
2462
3776
|
attachmentFileIndexes?: number[] | undefined;
|
|
3777
|
+
} | {
|
|
3778
|
+
id: string;
|
|
3779
|
+
surface: "agent_run_transcript";
|
|
3780
|
+
selectedText: string;
|
|
3781
|
+
sourceHash: string;
|
|
3782
|
+
sourceRunId: string;
|
|
3783
|
+
sourceAgentId: string;
|
|
3784
|
+
anchorKind: "text" | "transition";
|
|
3785
|
+
sourceEntryId: string | number;
|
|
3786
|
+
sourceMemberIds: (string | number)[];
|
|
3787
|
+
comment?: unknown;
|
|
3788
|
+
attachmentIds?: string[] | undefined;
|
|
3789
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2463
3790
|
} | {
|
|
2464
3791
|
start: number;
|
|
2465
3792
|
end: number;
|
|
@@ -2472,7 +3799,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2472
3799
|
suffix: string;
|
|
2473
3800
|
sourceFilePath: string;
|
|
2474
3801
|
sourceLibraryEntryId: string | null;
|
|
2475
|
-
sourceRenderMode: "
|
|
3802
|
+
sourceRenderMode: "text" | "markdown";
|
|
2476
3803
|
comment?: unknown;
|
|
2477
3804
|
attachmentIds?: string[] | undefined;
|
|
2478
3805
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2487,7 +3814,7 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2487
3814
|
prefix: string;
|
|
2488
3815
|
suffix: string;
|
|
2489
3816
|
sourceFilePath: string;
|
|
2490
|
-
sourceRenderMode: "
|
|
3817
|
+
sourceRenderMode: "text" | "markdown";
|
|
2491
3818
|
comment?: unknown;
|
|
2492
3819
|
attachmentIds?: string[] | undefined;
|
|
2493
3820
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2570,29 +3897,69 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2570
3897
|
sourceMessageId: string;
|
|
2571
3898
|
surface: "process_transcript";
|
|
2572
3899
|
selectedText: string;
|
|
2573
|
-
sourceConversationId: string;
|
|
3900
|
+
sourceConversationId: string;
|
|
3901
|
+
sourceHash: string;
|
|
3902
|
+
prefix: string;
|
|
3903
|
+
suffix: string;
|
|
3904
|
+
attachmentIds: string[];
|
|
3905
|
+
transcriptKind: "assistant" | "thinking";
|
|
3906
|
+
comment?: string | null | undefined;
|
|
3907
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3908
|
+
}, {
|
|
3909
|
+
start: number;
|
|
3910
|
+
end: number;
|
|
3911
|
+
generationId: string;
|
|
3912
|
+
generationSeqStart: number;
|
|
3913
|
+
generationSeqEnd: number;
|
|
3914
|
+
id: string;
|
|
3915
|
+
sourceMessageId: string;
|
|
3916
|
+
surface: "process_transcript";
|
|
3917
|
+
selectedText: string;
|
|
3918
|
+
sourceConversationId: string;
|
|
3919
|
+
sourceHash: string;
|
|
3920
|
+
prefix: string;
|
|
3921
|
+
suffix: string;
|
|
3922
|
+
transcriptKind: "assistant" | "thinking";
|
|
3923
|
+
comment?: unknown;
|
|
3924
|
+
attachmentIds?: string[] | undefined;
|
|
3925
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3926
|
+
}>, z.ZodObject<{
|
|
3927
|
+
id: z.ZodString;
|
|
3928
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
3929
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
3930
|
+
sourceHash: z.ZodString;
|
|
3931
|
+
surface: z.ZodLiteral<"agent_run_transcript">;
|
|
3932
|
+
sourceRunId: z.ZodString;
|
|
3933
|
+
sourceAgentId: z.ZodString;
|
|
3934
|
+
anchorKind: z.ZodEnum<["text", "transition"]>;
|
|
3935
|
+
sourceEntryId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
3936
|
+
sourceMemberIds: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
3937
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3938
|
+
} & {
|
|
3939
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
3940
|
+
}, "strict", z.ZodTypeAny, {
|
|
3941
|
+
id: string;
|
|
3942
|
+
surface: "agent_run_transcript";
|
|
3943
|
+
selectedText: string;
|
|
2574
3944
|
sourceHash: string;
|
|
2575
|
-
prefix: string;
|
|
2576
|
-
suffix: string;
|
|
2577
3945
|
attachmentIds: string[];
|
|
2578
|
-
|
|
3946
|
+
sourceRunId: string;
|
|
3947
|
+
sourceAgentId: string;
|
|
3948
|
+
anchorKind: "text" | "transition";
|
|
3949
|
+
sourceEntryId: string | number;
|
|
3950
|
+
sourceMemberIds: (string | number)[];
|
|
2579
3951
|
comment?: string | null | undefined;
|
|
2580
3952
|
attachmentFileIndexes?: number[] | undefined;
|
|
2581
3953
|
}, {
|
|
2582
|
-
start: number;
|
|
2583
|
-
end: number;
|
|
2584
|
-
generationId: string;
|
|
2585
|
-
generationSeqStart: number;
|
|
2586
|
-
generationSeqEnd: number;
|
|
2587
3954
|
id: string;
|
|
2588
|
-
|
|
2589
|
-
surface: "process_transcript";
|
|
3955
|
+
surface: "agent_run_transcript";
|
|
2590
3956
|
selectedText: string;
|
|
2591
|
-
sourceConversationId: string;
|
|
2592
3957
|
sourceHash: string;
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
3958
|
+
sourceRunId: string;
|
|
3959
|
+
sourceAgentId: string;
|
|
3960
|
+
anchorKind: "text" | "transition";
|
|
3961
|
+
sourceEntryId: string | number;
|
|
3962
|
+
sourceMemberIds: (string | number)[];
|
|
2596
3963
|
comment?: unknown;
|
|
2597
3964
|
attachmentIds?: string[] | undefined;
|
|
2598
3965
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2626,7 +3993,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2626
3993
|
attachmentIds: string[];
|
|
2627
3994
|
sourceFilePath: string;
|
|
2628
3995
|
sourceLibraryEntryId: string | null;
|
|
2629
|
-
sourceRenderMode: "
|
|
3996
|
+
sourceRenderMode: "text" | "markdown";
|
|
2630
3997
|
comment?: string | null | undefined;
|
|
2631
3998
|
attachmentFileIndexes?: number[] | undefined;
|
|
2632
3999
|
}, {
|
|
@@ -2641,7 +4008,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2641
4008
|
suffix: string;
|
|
2642
4009
|
sourceFilePath: string;
|
|
2643
4010
|
sourceLibraryEntryId: string | null;
|
|
2644
|
-
sourceRenderMode: "
|
|
4011
|
+
sourceRenderMode: "text" | "markdown";
|
|
2645
4012
|
comment?: unknown;
|
|
2646
4013
|
attachmentIds?: string[] | undefined;
|
|
2647
4014
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2673,7 +4040,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2673
4040
|
suffix: string;
|
|
2674
4041
|
attachmentIds: string[];
|
|
2675
4042
|
sourceFilePath: string;
|
|
2676
|
-
sourceRenderMode: "
|
|
4043
|
+
sourceRenderMode: "text" | "markdown";
|
|
2677
4044
|
comment?: string | null | undefined;
|
|
2678
4045
|
attachmentFileIndexes?: number[] | undefined;
|
|
2679
4046
|
}, {
|
|
@@ -2687,7 +4054,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2687
4054
|
prefix: string;
|
|
2688
4055
|
suffix: string;
|
|
2689
4056
|
sourceFilePath: string;
|
|
2690
|
-
sourceRenderMode: "
|
|
4057
|
+
sourceRenderMode: "text" | "markdown";
|
|
2691
4058
|
comment?: unknown;
|
|
2692
4059
|
attachmentIds?: string[] | undefined;
|
|
2693
4060
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2723,6 +4090,19 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2723
4090
|
transcriptKind: "assistant" | "thinking";
|
|
2724
4091
|
comment?: string | null | undefined;
|
|
2725
4092
|
attachmentFileIndexes?: number[] | undefined;
|
|
4093
|
+
} | {
|
|
4094
|
+
id: string;
|
|
4095
|
+
surface: "agent_run_transcript";
|
|
4096
|
+
selectedText: string;
|
|
4097
|
+
sourceHash: string;
|
|
4098
|
+
attachmentIds: string[];
|
|
4099
|
+
sourceRunId: string;
|
|
4100
|
+
sourceAgentId: string;
|
|
4101
|
+
anchorKind: "text" | "transition";
|
|
4102
|
+
sourceEntryId: string | number;
|
|
4103
|
+
sourceMemberIds: (string | number)[];
|
|
4104
|
+
comment?: string | null | undefined;
|
|
4105
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2726
4106
|
} | {
|
|
2727
4107
|
start: number;
|
|
2728
4108
|
end: number;
|
|
@@ -2736,7 +4116,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2736
4116
|
attachmentIds: string[];
|
|
2737
4117
|
sourceFilePath: string;
|
|
2738
4118
|
sourceLibraryEntryId: string | null;
|
|
2739
|
-
sourceRenderMode: "
|
|
4119
|
+
sourceRenderMode: "text" | "markdown";
|
|
2740
4120
|
comment?: string | null | undefined;
|
|
2741
4121
|
attachmentFileIndexes?: number[] | undefined;
|
|
2742
4122
|
} | {
|
|
@@ -2751,7 +4131,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2751
4131
|
suffix: string;
|
|
2752
4132
|
attachmentIds: string[];
|
|
2753
4133
|
sourceFilePath: string;
|
|
2754
|
-
sourceRenderMode: "
|
|
4134
|
+
sourceRenderMode: "text" | "markdown";
|
|
2755
4135
|
comment?: string | null | undefined;
|
|
2756
4136
|
attachmentFileIndexes?: number[] | undefined;
|
|
2757
4137
|
}, {
|
|
@@ -2786,6 +4166,19 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2786
4166
|
comment?: unknown;
|
|
2787
4167
|
attachmentIds?: string[] | undefined;
|
|
2788
4168
|
attachmentFileIndexes?: number[] | undefined;
|
|
4169
|
+
} | {
|
|
4170
|
+
id: string;
|
|
4171
|
+
surface: "agent_run_transcript";
|
|
4172
|
+
selectedText: string;
|
|
4173
|
+
sourceHash: string;
|
|
4174
|
+
sourceRunId: string;
|
|
4175
|
+
sourceAgentId: string;
|
|
4176
|
+
anchorKind: "text" | "transition";
|
|
4177
|
+
sourceEntryId: string | number;
|
|
4178
|
+
sourceMemberIds: (string | number)[];
|
|
4179
|
+
comment?: unknown;
|
|
4180
|
+
attachmentIds?: string[] | undefined;
|
|
4181
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2789
4182
|
} | {
|
|
2790
4183
|
start: number;
|
|
2791
4184
|
end: number;
|
|
@@ -2798,7 +4191,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2798
4191
|
suffix: string;
|
|
2799
4192
|
sourceFilePath: string;
|
|
2800
4193
|
sourceLibraryEntryId: string | null;
|
|
2801
|
-
sourceRenderMode: "
|
|
4194
|
+
sourceRenderMode: "text" | "markdown";
|
|
2802
4195
|
comment?: unknown;
|
|
2803
4196
|
attachmentIds?: string[] | undefined;
|
|
2804
4197
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2813,7 +4206,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2813
4206
|
prefix: string;
|
|
2814
4207
|
suffix: string;
|
|
2815
4208
|
sourceFilePath: string;
|
|
2816
|
-
sourceRenderMode: "
|
|
4209
|
+
sourceRenderMode: "text" | "markdown";
|
|
2817
4210
|
comment?: unknown;
|
|
2818
4211
|
attachmentIds?: string[] | undefined;
|
|
2819
4212
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2849,6 +4242,19 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2849
4242
|
transcriptKind: "assistant" | "thinking";
|
|
2850
4243
|
comment?: string | null | undefined;
|
|
2851
4244
|
attachmentFileIndexes?: number[] | undefined;
|
|
4245
|
+
} | {
|
|
4246
|
+
id: string;
|
|
4247
|
+
surface: "agent_run_transcript";
|
|
4248
|
+
selectedText: string;
|
|
4249
|
+
sourceHash: string;
|
|
4250
|
+
attachmentIds: string[];
|
|
4251
|
+
sourceRunId: string;
|
|
4252
|
+
sourceAgentId: string;
|
|
4253
|
+
anchorKind: "text" | "transition";
|
|
4254
|
+
sourceEntryId: string | number;
|
|
4255
|
+
sourceMemberIds: (string | number)[];
|
|
4256
|
+
comment?: string | null | undefined;
|
|
4257
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2852
4258
|
} | {
|
|
2853
4259
|
start: number;
|
|
2854
4260
|
end: number;
|
|
@@ -2862,7 +4268,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2862
4268
|
attachmentIds: string[];
|
|
2863
4269
|
sourceFilePath: string;
|
|
2864
4270
|
sourceLibraryEntryId: string | null;
|
|
2865
|
-
sourceRenderMode: "
|
|
4271
|
+
sourceRenderMode: "text" | "markdown";
|
|
2866
4272
|
comment?: string | null | undefined;
|
|
2867
4273
|
attachmentFileIndexes?: number[] | undefined;
|
|
2868
4274
|
} | {
|
|
@@ -2877,7 +4283,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2877
4283
|
suffix: string;
|
|
2878
4284
|
attachmentIds: string[];
|
|
2879
4285
|
sourceFilePath: string;
|
|
2880
|
-
sourceRenderMode: "
|
|
4286
|
+
sourceRenderMode: "text" | "markdown";
|
|
2881
4287
|
comment?: string | null | undefined;
|
|
2882
4288
|
attachmentFileIndexes?: number[] | undefined;
|
|
2883
4289
|
})[], ({
|
|
@@ -2912,6 +4318,19 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2912
4318
|
comment?: unknown;
|
|
2913
4319
|
attachmentIds?: string[] | undefined;
|
|
2914
4320
|
attachmentFileIndexes?: number[] | undefined;
|
|
4321
|
+
} | {
|
|
4322
|
+
id: string;
|
|
4323
|
+
surface: "agent_run_transcript";
|
|
4324
|
+
selectedText: string;
|
|
4325
|
+
sourceHash: string;
|
|
4326
|
+
sourceRunId: string;
|
|
4327
|
+
sourceAgentId: string;
|
|
4328
|
+
anchorKind: "text" | "transition";
|
|
4329
|
+
sourceEntryId: string | number;
|
|
4330
|
+
sourceMemberIds: (string | number)[];
|
|
4331
|
+
comment?: unknown;
|
|
4332
|
+
attachmentIds?: string[] | undefined;
|
|
4333
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2915
4334
|
} | {
|
|
2916
4335
|
start: number;
|
|
2917
4336
|
end: number;
|
|
@@ -2924,7 +4343,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2924
4343
|
suffix: string;
|
|
2925
4344
|
sourceFilePath: string;
|
|
2926
4345
|
sourceLibraryEntryId: string | null;
|
|
2927
|
-
sourceRenderMode: "
|
|
4346
|
+
sourceRenderMode: "text" | "markdown";
|
|
2928
4347
|
comment?: unknown;
|
|
2929
4348
|
attachmentIds?: string[] | undefined;
|
|
2930
4349
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2939,7 +4358,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2939
4358
|
prefix: string;
|
|
2940
4359
|
suffix: string;
|
|
2941
4360
|
sourceFilePath: string;
|
|
2942
|
-
sourceRenderMode: "
|
|
4361
|
+
sourceRenderMode: "text" | "markdown";
|
|
2943
4362
|
comment?: unknown;
|
|
2944
4363
|
attachmentIds?: string[] | undefined;
|
|
2945
4364
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2986,6 +4405,19 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2986
4405
|
transcriptKind: "assistant" | "thinking";
|
|
2987
4406
|
comment?: string | null | undefined;
|
|
2988
4407
|
attachmentFileIndexes?: number[] | undefined;
|
|
4408
|
+
} | {
|
|
4409
|
+
id: string;
|
|
4410
|
+
surface: "agent_run_transcript";
|
|
4411
|
+
selectedText: string;
|
|
4412
|
+
sourceHash: string;
|
|
4413
|
+
attachmentIds: string[];
|
|
4414
|
+
sourceRunId: string;
|
|
4415
|
+
sourceAgentId: string;
|
|
4416
|
+
anchorKind: "text" | "transition";
|
|
4417
|
+
sourceEntryId: string | number;
|
|
4418
|
+
sourceMemberIds: (string | number)[];
|
|
4419
|
+
comment?: string | null | undefined;
|
|
4420
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2989
4421
|
} | {
|
|
2990
4422
|
start: number;
|
|
2991
4423
|
end: number;
|
|
@@ -2999,7 +4431,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2999
4431
|
attachmentIds: string[];
|
|
3000
4432
|
sourceFilePath: string;
|
|
3001
4433
|
sourceLibraryEntryId: string | null;
|
|
3002
|
-
sourceRenderMode: "
|
|
4434
|
+
sourceRenderMode: "text" | "markdown";
|
|
3003
4435
|
comment?: string | null | undefined;
|
|
3004
4436
|
attachmentFileIndexes?: number[] | undefined;
|
|
3005
4437
|
} | {
|
|
@@ -3014,7 +4446,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3014
4446
|
suffix: string;
|
|
3015
4447
|
attachmentIds: string[];
|
|
3016
4448
|
sourceFilePath: string;
|
|
3017
|
-
sourceRenderMode: "
|
|
4449
|
+
sourceRenderMode: "text" | "markdown";
|
|
3018
4450
|
comment?: string | null | undefined;
|
|
3019
4451
|
attachmentFileIndexes?: number[] | undefined;
|
|
3020
4452
|
})[];
|
|
@@ -3065,6 +4497,19 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3065
4497
|
comment?: unknown;
|
|
3066
4498
|
attachmentIds?: string[] | undefined;
|
|
3067
4499
|
attachmentFileIndexes?: number[] | undefined;
|
|
4500
|
+
} | {
|
|
4501
|
+
id: string;
|
|
4502
|
+
surface: "agent_run_transcript";
|
|
4503
|
+
selectedText: string;
|
|
4504
|
+
sourceHash: string;
|
|
4505
|
+
sourceRunId: string;
|
|
4506
|
+
sourceAgentId: string;
|
|
4507
|
+
anchorKind: "text" | "transition";
|
|
4508
|
+
sourceEntryId: string | number;
|
|
4509
|
+
sourceMemberIds: (string | number)[];
|
|
4510
|
+
comment?: unknown;
|
|
4511
|
+
attachmentIds?: string[] | undefined;
|
|
4512
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3068
4513
|
} | {
|
|
3069
4514
|
start: number;
|
|
3070
4515
|
end: number;
|
|
@@ -3077,7 +4522,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3077
4522
|
suffix: string;
|
|
3078
4523
|
sourceFilePath: string;
|
|
3079
4524
|
sourceLibraryEntryId: string | null;
|
|
3080
|
-
sourceRenderMode: "
|
|
4525
|
+
sourceRenderMode: "text" | "markdown";
|
|
3081
4526
|
comment?: unknown;
|
|
3082
4527
|
attachmentIds?: string[] | undefined;
|
|
3083
4528
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3092,7 +4537,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3092
4537
|
prefix: string;
|
|
3093
4538
|
suffix: string;
|
|
3094
4539
|
sourceFilePath: string;
|
|
3095
|
-
sourceRenderMode: "
|
|
4540
|
+
sourceRenderMode: "text" | "markdown";
|
|
3096
4541
|
comment?: unknown;
|
|
3097
4542
|
attachmentIds?: string[] | undefined;
|
|
3098
4543
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3134,6 +4579,19 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3134
4579
|
transcriptKind: "assistant" | "thinking";
|
|
3135
4580
|
comment?: string | null | undefined;
|
|
3136
4581
|
attachmentFileIndexes?: number[] | undefined;
|
|
4582
|
+
} | {
|
|
4583
|
+
id: string;
|
|
4584
|
+
surface: "agent_run_transcript";
|
|
4585
|
+
selectedText: string;
|
|
4586
|
+
sourceHash: string;
|
|
4587
|
+
attachmentIds: string[];
|
|
4588
|
+
sourceRunId: string;
|
|
4589
|
+
sourceAgentId: string;
|
|
4590
|
+
anchorKind: "text" | "transition";
|
|
4591
|
+
sourceEntryId: string | number;
|
|
4592
|
+
sourceMemberIds: (string | number)[];
|
|
4593
|
+
comment?: string | null | undefined;
|
|
4594
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3137
4595
|
} | {
|
|
3138
4596
|
start: number;
|
|
3139
4597
|
end: number;
|
|
@@ -3147,7 +4605,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3147
4605
|
attachmentIds: string[];
|
|
3148
4606
|
sourceFilePath: string;
|
|
3149
4607
|
sourceLibraryEntryId: string | null;
|
|
3150
|
-
sourceRenderMode: "
|
|
4608
|
+
sourceRenderMode: "text" | "markdown";
|
|
3151
4609
|
comment?: string | null | undefined;
|
|
3152
4610
|
attachmentFileIndexes?: number[] | undefined;
|
|
3153
4611
|
} | {
|
|
@@ -3162,7 +4620,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3162
4620
|
suffix: string;
|
|
3163
4621
|
attachmentIds: string[];
|
|
3164
4622
|
sourceFilePath: string;
|
|
3165
|
-
sourceRenderMode: "
|
|
4623
|
+
sourceRenderMode: "text" | "markdown";
|
|
3166
4624
|
comment?: string | null | undefined;
|
|
3167
4625
|
attachmentFileIndexes?: number[] | undefined;
|
|
3168
4626
|
})[];
|
|
@@ -3213,6 +4671,19 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3213
4671
|
comment?: unknown;
|
|
3214
4672
|
attachmentIds?: string[] | undefined;
|
|
3215
4673
|
attachmentFileIndexes?: number[] | undefined;
|
|
4674
|
+
} | {
|
|
4675
|
+
id: string;
|
|
4676
|
+
surface: "agent_run_transcript";
|
|
4677
|
+
selectedText: string;
|
|
4678
|
+
sourceHash: string;
|
|
4679
|
+
sourceRunId: string;
|
|
4680
|
+
sourceAgentId: string;
|
|
4681
|
+
anchorKind: "text" | "transition";
|
|
4682
|
+
sourceEntryId: string | number;
|
|
4683
|
+
sourceMemberIds: (string | number)[];
|
|
4684
|
+
comment?: unknown;
|
|
4685
|
+
attachmentIds?: string[] | undefined;
|
|
4686
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3216
4687
|
} | {
|
|
3217
4688
|
start: number;
|
|
3218
4689
|
end: number;
|
|
@@ -3225,7 +4696,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3225
4696
|
suffix: string;
|
|
3226
4697
|
sourceFilePath: string;
|
|
3227
4698
|
sourceLibraryEntryId: string | null;
|
|
3228
|
-
sourceRenderMode: "
|
|
4699
|
+
sourceRenderMode: "text" | "markdown";
|
|
3229
4700
|
comment?: unknown;
|
|
3230
4701
|
attachmentIds?: string[] | undefined;
|
|
3231
4702
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3240,7 +4711,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3240
4711
|
prefix: string;
|
|
3241
4712
|
suffix: string;
|
|
3242
4713
|
sourceFilePath: string;
|
|
3243
|
-
sourceRenderMode: "
|
|
4714
|
+
sourceRenderMode: "text" | "markdown";
|
|
3244
4715
|
comment?: unknown;
|
|
3245
4716
|
attachmentIds?: string[] | undefined;
|
|
3246
4717
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3352,6 +4823,46 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3352
4823
|
comment?: unknown;
|
|
3353
4824
|
attachmentIds?: string[] | undefined;
|
|
3354
4825
|
attachmentFileIndexes?: number[] | undefined;
|
|
4826
|
+
}>, z.ZodObject<{
|
|
4827
|
+
id: z.ZodString;
|
|
4828
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
4829
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
4830
|
+
sourceHash: z.ZodString;
|
|
4831
|
+
surface: z.ZodLiteral<"agent_run_transcript">;
|
|
4832
|
+
sourceRunId: z.ZodString;
|
|
4833
|
+
sourceAgentId: z.ZodString;
|
|
4834
|
+
anchorKind: z.ZodEnum<["text", "transition"]>;
|
|
4835
|
+
sourceEntryId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
4836
|
+
sourceMemberIds: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
4837
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4838
|
+
} & {
|
|
4839
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
4840
|
+
}, "strict", z.ZodTypeAny, {
|
|
4841
|
+
id: string;
|
|
4842
|
+
surface: "agent_run_transcript";
|
|
4843
|
+
selectedText: string;
|
|
4844
|
+
sourceHash: string;
|
|
4845
|
+
attachmentIds: string[];
|
|
4846
|
+
sourceRunId: string;
|
|
4847
|
+
sourceAgentId: string;
|
|
4848
|
+
anchorKind: "text" | "transition";
|
|
4849
|
+
sourceEntryId: string | number;
|
|
4850
|
+
sourceMemberIds: (string | number)[];
|
|
4851
|
+
comment?: string | null | undefined;
|
|
4852
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4853
|
+
}, {
|
|
4854
|
+
id: string;
|
|
4855
|
+
surface: "agent_run_transcript";
|
|
4856
|
+
selectedText: string;
|
|
4857
|
+
sourceHash: string;
|
|
4858
|
+
sourceRunId: string;
|
|
4859
|
+
sourceAgentId: string;
|
|
4860
|
+
anchorKind: "text" | "transition";
|
|
4861
|
+
sourceEntryId: string | number;
|
|
4862
|
+
sourceMemberIds: (string | number)[];
|
|
4863
|
+
comment?: unknown;
|
|
4864
|
+
attachmentIds?: string[] | undefined;
|
|
4865
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3355
4866
|
}>, z.ZodObject<{
|
|
3356
4867
|
surface: z.ZodLiteral<"workspace_file">;
|
|
3357
4868
|
sourceFilePath: z.ZodString;
|
|
@@ -3382,7 +4893,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3382
4893
|
attachmentIds: string[];
|
|
3383
4894
|
sourceFilePath: string;
|
|
3384
4895
|
sourceLibraryEntryId: string | null;
|
|
3385
|
-
sourceRenderMode: "
|
|
4896
|
+
sourceRenderMode: "text" | "markdown";
|
|
3386
4897
|
comment?: string | null | undefined;
|
|
3387
4898
|
attachmentFileIndexes?: number[] | undefined;
|
|
3388
4899
|
}, {
|
|
@@ -3397,7 +4908,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3397
4908
|
suffix: string;
|
|
3398
4909
|
sourceFilePath: string;
|
|
3399
4910
|
sourceLibraryEntryId: string | null;
|
|
3400
|
-
sourceRenderMode: "
|
|
4911
|
+
sourceRenderMode: "text" | "markdown";
|
|
3401
4912
|
comment?: unknown;
|
|
3402
4913
|
attachmentIds?: string[] | undefined;
|
|
3403
4914
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3429,7 +4940,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3429
4940
|
suffix: string;
|
|
3430
4941
|
attachmentIds: string[];
|
|
3431
4942
|
sourceFilePath: string;
|
|
3432
|
-
sourceRenderMode: "
|
|
4943
|
+
sourceRenderMode: "text" | "markdown";
|
|
3433
4944
|
comment?: string | null | undefined;
|
|
3434
4945
|
attachmentFileIndexes?: number[] | undefined;
|
|
3435
4946
|
}, {
|
|
@@ -3443,7 +4954,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3443
4954
|
prefix: string;
|
|
3444
4955
|
suffix: string;
|
|
3445
4956
|
sourceFilePath: string;
|
|
3446
|
-
sourceRenderMode: "
|
|
4957
|
+
sourceRenderMode: "text" | "markdown";
|
|
3447
4958
|
comment?: unknown;
|
|
3448
4959
|
attachmentIds?: string[] | undefined;
|
|
3449
4960
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3479,6 +4990,19 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3479
4990
|
transcriptKind: "assistant" | "thinking";
|
|
3480
4991
|
comment?: string | null | undefined;
|
|
3481
4992
|
attachmentFileIndexes?: number[] | undefined;
|
|
4993
|
+
} | {
|
|
4994
|
+
id: string;
|
|
4995
|
+
surface: "agent_run_transcript";
|
|
4996
|
+
selectedText: string;
|
|
4997
|
+
sourceHash: string;
|
|
4998
|
+
attachmentIds: string[];
|
|
4999
|
+
sourceRunId: string;
|
|
5000
|
+
sourceAgentId: string;
|
|
5001
|
+
anchorKind: "text" | "transition";
|
|
5002
|
+
sourceEntryId: string | number;
|
|
5003
|
+
sourceMemberIds: (string | number)[];
|
|
5004
|
+
comment?: string | null | undefined;
|
|
5005
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3482
5006
|
} | {
|
|
3483
5007
|
start: number;
|
|
3484
5008
|
end: number;
|
|
@@ -3492,7 +5016,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3492
5016
|
attachmentIds: string[];
|
|
3493
5017
|
sourceFilePath: string;
|
|
3494
5018
|
sourceLibraryEntryId: string | null;
|
|
3495
|
-
sourceRenderMode: "
|
|
5019
|
+
sourceRenderMode: "text" | "markdown";
|
|
3496
5020
|
comment?: string | null | undefined;
|
|
3497
5021
|
attachmentFileIndexes?: number[] | undefined;
|
|
3498
5022
|
} | {
|
|
@@ -3507,7 +5031,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3507
5031
|
suffix: string;
|
|
3508
5032
|
attachmentIds: string[];
|
|
3509
5033
|
sourceFilePath: string;
|
|
3510
|
-
sourceRenderMode: "
|
|
5034
|
+
sourceRenderMode: "text" | "markdown";
|
|
3511
5035
|
comment?: string | null | undefined;
|
|
3512
5036
|
attachmentFileIndexes?: number[] | undefined;
|
|
3513
5037
|
}, {
|
|
@@ -3542,6 +5066,19 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3542
5066
|
comment?: unknown;
|
|
3543
5067
|
attachmentIds?: string[] | undefined;
|
|
3544
5068
|
attachmentFileIndexes?: number[] | undefined;
|
|
5069
|
+
} | {
|
|
5070
|
+
id: string;
|
|
5071
|
+
surface: "agent_run_transcript";
|
|
5072
|
+
selectedText: string;
|
|
5073
|
+
sourceHash: string;
|
|
5074
|
+
sourceRunId: string;
|
|
5075
|
+
sourceAgentId: string;
|
|
5076
|
+
anchorKind: "text" | "transition";
|
|
5077
|
+
sourceEntryId: string | number;
|
|
5078
|
+
sourceMemberIds: (string | number)[];
|
|
5079
|
+
comment?: unknown;
|
|
5080
|
+
attachmentIds?: string[] | undefined;
|
|
5081
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3545
5082
|
} | {
|
|
3546
5083
|
start: number;
|
|
3547
5084
|
end: number;
|
|
@@ -3554,7 +5091,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3554
5091
|
suffix: string;
|
|
3555
5092
|
sourceFilePath: string;
|
|
3556
5093
|
sourceLibraryEntryId: string | null;
|
|
3557
|
-
sourceRenderMode: "
|
|
5094
|
+
sourceRenderMode: "text" | "markdown";
|
|
3558
5095
|
comment?: unknown;
|
|
3559
5096
|
attachmentIds?: string[] | undefined;
|
|
3560
5097
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3569,7 +5106,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3569
5106
|
prefix: string;
|
|
3570
5107
|
suffix: string;
|
|
3571
5108
|
sourceFilePath: string;
|
|
3572
|
-
sourceRenderMode: "
|
|
5109
|
+
sourceRenderMode: "text" | "markdown";
|
|
3573
5110
|
comment?: unknown;
|
|
3574
5111
|
attachmentIds?: string[] | undefined;
|
|
3575
5112
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3605,6 +5142,19 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3605
5142
|
transcriptKind: "assistant" | "thinking";
|
|
3606
5143
|
comment?: string | null | undefined;
|
|
3607
5144
|
attachmentFileIndexes?: number[] | undefined;
|
|
5145
|
+
} | {
|
|
5146
|
+
id: string;
|
|
5147
|
+
surface: "agent_run_transcript";
|
|
5148
|
+
selectedText: string;
|
|
5149
|
+
sourceHash: string;
|
|
5150
|
+
attachmentIds: string[];
|
|
5151
|
+
sourceRunId: string;
|
|
5152
|
+
sourceAgentId: string;
|
|
5153
|
+
anchorKind: "text" | "transition";
|
|
5154
|
+
sourceEntryId: string | number;
|
|
5155
|
+
sourceMemberIds: (string | number)[];
|
|
5156
|
+
comment?: string | null | undefined;
|
|
5157
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3608
5158
|
} | {
|
|
3609
5159
|
start: number;
|
|
3610
5160
|
end: number;
|
|
@@ -3618,7 +5168,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3618
5168
|
attachmentIds: string[];
|
|
3619
5169
|
sourceFilePath: string;
|
|
3620
5170
|
sourceLibraryEntryId: string | null;
|
|
3621
|
-
sourceRenderMode: "
|
|
5171
|
+
sourceRenderMode: "text" | "markdown";
|
|
3622
5172
|
comment?: string | null | undefined;
|
|
3623
5173
|
attachmentFileIndexes?: number[] | undefined;
|
|
3624
5174
|
} | {
|
|
@@ -3633,7 +5183,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3633
5183
|
suffix: string;
|
|
3634
5184
|
attachmentIds: string[];
|
|
3635
5185
|
sourceFilePath: string;
|
|
3636
|
-
sourceRenderMode: "
|
|
5186
|
+
sourceRenderMode: "text" | "markdown";
|
|
3637
5187
|
comment?: string | null | undefined;
|
|
3638
5188
|
attachmentFileIndexes?: number[] | undefined;
|
|
3639
5189
|
})[], ({
|
|
@@ -3668,6 +5218,19 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3668
5218
|
comment?: unknown;
|
|
3669
5219
|
attachmentIds?: string[] | undefined;
|
|
3670
5220
|
attachmentFileIndexes?: number[] | undefined;
|
|
5221
|
+
} | {
|
|
5222
|
+
id: string;
|
|
5223
|
+
surface: "agent_run_transcript";
|
|
5224
|
+
selectedText: string;
|
|
5225
|
+
sourceHash: string;
|
|
5226
|
+
sourceRunId: string;
|
|
5227
|
+
sourceAgentId: string;
|
|
5228
|
+
anchorKind: "text" | "transition";
|
|
5229
|
+
sourceEntryId: string | number;
|
|
5230
|
+
sourceMemberIds: (string | number)[];
|
|
5231
|
+
comment?: unknown;
|
|
5232
|
+
attachmentIds?: string[] | undefined;
|
|
5233
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3671
5234
|
} | {
|
|
3672
5235
|
start: number;
|
|
3673
5236
|
end: number;
|
|
@@ -3680,7 +5243,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3680
5243
|
suffix: string;
|
|
3681
5244
|
sourceFilePath: string;
|
|
3682
5245
|
sourceLibraryEntryId: string | null;
|
|
3683
|
-
sourceRenderMode: "
|
|
5246
|
+
sourceRenderMode: "text" | "markdown";
|
|
3684
5247
|
comment?: unknown;
|
|
3685
5248
|
attachmentIds?: string[] | undefined;
|
|
3686
5249
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3695,7 +5258,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3695
5258
|
prefix: string;
|
|
3696
5259
|
suffix: string;
|
|
3697
5260
|
sourceFilePath: string;
|
|
3698
|
-
sourceRenderMode: "
|
|
5261
|
+
sourceRenderMode: "text" | "markdown";
|
|
3699
5262
|
comment?: unknown;
|
|
3700
5263
|
attachmentIds?: string[] | undefined;
|
|
3701
5264
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3742,6 +5305,19 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3742
5305
|
transcriptKind: "assistant" | "thinking";
|
|
3743
5306
|
comment?: string | null | undefined;
|
|
3744
5307
|
attachmentFileIndexes?: number[] | undefined;
|
|
5308
|
+
} | {
|
|
5309
|
+
id: string;
|
|
5310
|
+
surface: "agent_run_transcript";
|
|
5311
|
+
selectedText: string;
|
|
5312
|
+
sourceHash: string;
|
|
5313
|
+
attachmentIds: string[];
|
|
5314
|
+
sourceRunId: string;
|
|
5315
|
+
sourceAgentId: string;
|
|
5316
|
+
anchorKind: "text" | "transition";
|
|
5317
|
+
sourceEntryId: string | number;
|
|
5318
|
+
sourceMemberIds: (string | number)[];
|
|
5319
|
+
comment?: string | null | undefined;
|
|
5320
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3745
5321
|
} | {
|
|
3746
5322
|
start: number;
|
|
3747
5323
|
end: number;
|
|
@@ -3755,7 +5331,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3755
5331
|
attachmentIds: string[];
|
|
3756
5332
|
sourceFilePath: string;
|
|
3757
5333
|
sourceLibraryEntryId: string | null;
|
|
3758
|
-
sourceRenderMode: "
|
|
5334
|
+
sourceRenderMode: "text" | "markdown";
|
|
3759
5335
|
comment?: string | null | undefined;
|
|
3760
5336
|
attachmentFileIndexes?: number[] | undefined;
|
|
3761
5337
|
} | {
|
|
@@ -3770,7 +5346,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3770
5346
|
suffix: string;
|
|
3771
5347
|
attachmentIds: string[];
|
|
3772
5348
|
sourceFilePath: string;
|
|
3773
|
-
sourceRenderMode: "
|
|
5349
|
+
sourceRenderMode: "text" | "markdown";
|
|
3774
5350
|
comment?: string | null | undefined;
|
|
3775
5351
|
attachmentFileIndexes?: number[] | undefined;
|
|
3776
5352
|
})[];
|
|
@@ -3821,6 +5397,19 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3821
5397
|
comment?: unknown;
|
|
3822
5398
|
attachmentIds?: string[] | undefined;
|
|
3823
5399
|
attachmentFileIndexes?: number[] | undefined;
|
|
5400
|
+
} | {
|
|
5401
|
+
id: string;
|
|
5402
|
+
surface: "agent_run_transcript";
|
|
5403
|
+
selectedText: string;
|
|
5404
|
+
sourceHash: string;
|
|
5405
|
+
sourceRunId: string;
|
|
5406
|
+
sourceAgentId: string;
|
|
5407
|
+
anchorKind: "text" | "transition";
|
|
5408
|
+
sourceEntryId: string | number;
|
|
5409
|
+
sourceMemberIds: (string | number)[];
|
|
5410
|
+
comment?: unknown;
|
|
5411
|
+
attachmentIds?: string[] | undefined;
|
|
5412
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3824
5413
|
} | {
|
|
3825
5414
|
start: number;
|
|
3826
5415
|
end: number;
|
|
@@ -3833,7 +5422,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3833
5422
|
suffix: string;
|
|
3834
5423
|
sourceFilePath: string;
|
|
3835
5424
|
sourceLibraryEntryId: string | null;
|
|
3836
|
-
sourceRenderMode: "
|
|
5425
|
+
sourceRenderMode: "text" | "markdown";
|
|
3837
5426
|
comment?: unknown;
|
|
3838
5427
|
attachmentIds?: string[] | undefined;
|
|
3839
5428
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3848,7 +5437,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3848
5437
|
prefix: string;
|
|
3849
5438
|
suffix: string;
|
|
3850
5439
|
sourceFilePath: string;
|
|
3851
|
-
sourceRenderMode: "
|
|
5440
|
+
sourceRenderMode: "text" | "markdown";
|
|
3852
5441
|
comment?: unknown;
|
|
3853
5442
|
attachmentIds?: string[] | undefined;
|
|
3854
5443
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3890,6 +5479,19 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3890
5479
|
transcriptKind: "assistant" | "thinking";
|
|
3891
5480
|
comment?: string | null | undefined;
|
|
3892
5481
|
attachmentFileIndexes?: number[] | undefined;
|
|
5482
|
+
} | {
|
|
5483
|
+
id: string;
|
|
5484
|
+
surface: "agent_run_transcript";
|
|
5485
|
+
selectedText: string;
|
|
5486
|
+
sourceHash: string;
|
|
5487
|
+
attachmentIds: string[];
|
|
5488
|
+
sourceRunId: string;
|
|
5489
|
+
sourceAgentId: string;
|
|
5490
|
+
anchorKind: "text" | "transition";
|
|
5491
|
+
sourceEntryId: string | number;
|
|
5492
|
+
sourceMemberIds: (string | number)[];
|
|
5493
|
+
comment?: string | null | undefined;
|
|
5494
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3893
5495
|
} | {
|
|
3894
5496
|
start: number;
|
|
3895
5497
|
end: number;
|
|
@@ -3903,7 +5505,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3903
5505
|
attachmentIds: string[];
|
|
3904
5506
|
sourceFilePath: string;
|
|
3905
5507
|
sourceLibraryEntryId: string | null;
|
|
3906
|
-
sourceRenderMode: "
|
|
5508
|
+
sourceRenderMode: "text" | "markdown";
|
|
3907
5509
|
comment?: string | null | undefined;
|
|
3908
5510
|
attachmentFileIndexes?: number[] | undefined;
|
|
3909
5511
|
} | {
|
|
@@ -3918,7 +5520,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3918
5520
|
suffix: string;
|
|
3919
5521
|
attachmentIds: string[];
|
|
3920
5522
|
sourceFilePath: string;
|
|
3921
|
-
sourceRenderMode: "
|
|
5523
|
+
sourceRenderMode: "text" | "markdown";
|
|
3922
5524
|
comment?: string | null | undefined;
|
|
3923
5525
|
attachmentFileIndexes?: number[] | undefined;
|
|
3924
5526
|
})[];
|
|
@@ -3969,6 +5571,19 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3969
5571
|
comment?: unknown;
|
|
3970
5572
|
attachmentIds?: string[] | undefined;
|
|
3971
5573
|
attachmentFileIndexes?: number[] | undefined;
|
|
5574
|
+
} | {
|
|
5575
|
+
id: string;
|
|
5576
|
+
surface: "agent_run_transcript";
|
|
5577
|
+
selectedText: string;
|
|
5578
|
+
sourceHash: string;
|
|
5579
|
+
sourceRunId: string;
|
|
5580
|
+
sourceAgentId: string;
|
|
5581
|
+
anchorKind: "text" | "transition";
|
|
5582
|
+
sourceEntryId: string | number;
|
|
5583
|
+
sourceMemberIds: (string | number)[];
|
|
5584
|
+
comment?: unknown;
|
|
5585
|
+
attachmentIds?: string[] | undefined;
|
|
5586
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3972
5587
|
} | {
|
|
3973
5588
|
start: number;
|
|
3974
5589
|
end: number;
|
|
@@ -3981,7 +5596,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3981
5596
|
suffix: string;
|
|
3982
5597
|
sourceFilePath: string;
|
|
3983
5598
|
sourceLibraryEntryId: string | null;
|
|
3984
|
-
sourceRenderMode: "
|
|
5599
|
+
sourceRenderMode: "text" | "markdown";
|
|
3985
5600
|
comment?: unknown;
|
|
3986
5601
|
attachmentIds?: string[] | undefined;
|
|
3987
5602
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -3996,7 +5611,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
3996
5611
|
prefix: string;
|
|
3997
5612
|
suffix: string;
|
|
3998
5613
|
sourceFilePath: string;
|
|
3999
|
-
sourceRenderMode: "
|
|
5614
|
+
sourceRenderMode: "text" | "markdown";
|
|
4000
5615
|
comment?: unknown;
|
|
4001
5616
|
attachmentIds?: string[] | undefined;
|
|
4002
5617
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4041,6 +5656,19 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4041
5656
|
transcriptKind: "assistant" | "thinking";
|
|
4042
5657
|
comment?: string | null | undefined;
|
|
4043
5658
|
attachmentFileIndexes?: number[] | undefined;
|
|
5659
|
+
} | {
|
|
5660
|
+
id: string;
|
|
5661
|
+
surface: "agent_run_transcript";
|
|
5662
|
+
selectedText: string;
|
|
5663
|
+
sourceHash: string;
|
|
5664
|
+
attachmentIds: string[];
|
|
5665
|
+
sourceRunId: string;
|
|
5666
|
+
sourceAgentId: string;
|
|
5667
|
+
anchorKind: "text" | "transition";
|
|
5668
|
+
sourceEntryId: string | number;
|
|
5669
|
+
sourceMemberIds: (string | number)[];
|
|
5670
|
+
comment?: string | null | undefined;
|
|
5671
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4044
5672
|
} | {
|
|
4045
5673
|
start: number;
|
|
4046
5674
|
end: number;
|
|
@@ -4054,7 +5682,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4054
5682
|
attachmentIds: string[];
|
|
4055
5683
|
sourceFilePath: string;
|
|
4056
5684
|
sourceLibraryEntryId: string | null;
|
|
4057
|
-
sourceRenderMode: "
|
|
5685
|
+
sourceRenderMode: "text" | "markdown";
|
|
4058
5686
|
comment?: string | null | undefined;
|
|
4059
5687
|
attachmentFileIndexes?: number[] | undefined;
|
|
4060
5688
|
} | {
|
|
@@ -4069,7 +5697,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4069
5697
|
suffix: string;
|
|
4070
5698
|
attachmentIds: string[];
|
|
4071
5699
|
sourceFilePath: string;
|
|
4072
|
-
sourceRenderMode: "
|
|
5700
|
+
sourceRenderMode: "text" | "markdown";
|
|
4073
5701
|
comment?: string | null | undefined;
|
|
4074
5702
|
attachmentFileIndexes?: number[] | undefined;
|
|
4075
5703
|
})[];
|
|
@@ -4124,6 +5752,19 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4124
5752
|
comment?: unknown;
|
|
4125
5753
|
attachmentIds?: string[] | undefined;
|
|
4126
5754
|
attachmentFileIndexes?: number[] | undefined;
|
|
5755
|
+
} | {
|
|
5756
|
+
id: string;
|
|
5757
|
+
surface: "agent_run_transcript";
|
|
5758
|
+
selectedText: string;
|
|
5759
|
+
sourceHash: string;
|
|
5760
|
+
sourceRunId: string;
|
|
5761
|
+
sourceAgentId: string;
|
|
5762
|
+
anchorKind: "text" | "transition";
|
|
5763
|
+
sourceEntryId: string | number;
|
|
5764
|
+
sourceMemberIds: (string | number)[];
|
|
5765
|
+
comment?: unknown;
|
|
5766
|
+
attachmentIds?: string[] | undefined;
|
|
5767
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4127
5768
|
} | {
|
|
4128
5769
|
start: number;
|
|
4129
5770
|
end: number;
|
|
@@ -4136,7 +5777,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4136
5777
|
suffix: string;
|
|
4137
5778
|
sourceFilePath: string;
|
|
4138
5779
|
sourceLibraryEntryId: string | null;
|
|
4139
|
-
sourceRenderMode: "
|
|
5780
|
+
sourceRenderMode: "text" | "markdown";
|
|
4140
5781
|
comment?: unknown;
|
|
4141
5782
|
attachmentIds?: string[] | undefined;
|
|
4142
5783
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4151,7 +5792,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4151
5792
|
prefix: string;
|
|
4152
5793
|
suffix: string;
|
|
4153
5794
|
sourceFilePath: string;
|
|
4154
|
-
sourceRenderMode: "
|
|
5795
|
+
sourceRenderMode: "text" | "markdown";
|
|
4155
5796
|
comment?: unknown;
|
|
4156
5797
|
attachmentIds?: string[] | undefined;
|
|
4157
5798
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4264,6 +5905,46 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4264
5905
|
comment?: unknown;
|
|
4265
5906
|
attachmentIds?: string[] | undefined;
|
|
4266
5907
|
attachmentFileIndexes?: number[] | undefined;
|
|
5908
|
+
}>, z.ZodObject<{
|
|
5909
|
+
id: z.ZodString;
|
|
5910
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
5911
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
5912
|
+
sourceHash: z.ZodString;
|
|
5913
|
+
surface: z.ZodLiteral<"agent_run_transcript">;
|
|
5914
|
+
sourceRunId: z.ZodString;
|
|
5915
|
+
sourceAgentId: z.ZodString;
|
|
5916
|
+
anchorKind: z.ZodEnum<["text", "transition"]>;
|
|
5917
|
+
sourceEntryId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5918
|
+
sourceMemberIds: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5919
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
5920
|
+
} & {
|
|
5921
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
5922
|
+
}, "strict", z.ZodTypeAny, {
|
|
5923
|
+
id: string;
|
|
5924
|
+
surface: "agent_run_transcript";
|
|
5925
|
+
selectedText: string;
|
|
5926
|
+
sourceHash: string;
|
|
5927
|
+
attachmentIds: string[];
|
|
5928
|
+
sourceRunId: string;
|
|
5929
|
+
sourceAgentId: string;
|
|
5930
|
+
anchorKind: "text" | "transition";
|
|
5931
|
+
sourceEntryId: string | number;
|
|
5932
|
+
sourceMemberIds: (string | number)[];
|
|
5933
|
+
comment?: string | null | undefined;
|
|
5934
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
5935
|
+
}, {
|
|
5936
|
+
id: string;
|
|
5937
|
+
surface: "agent_run_transcript";
|
|
5938
|
+
selectedText: string;
|
|
5939
|
+
sourceHash: string;
|
|
5940
|
+
sourceRunId: string;
|
|
5941
|
+
sourceAgentId: string;
|
|
5942
|
+
anchorKind: "text" | "transition";
|
|
5943
|
+
sourceEntryId: string | number;
|
|
5944
|
+
sourceMemberIds: (string | number)[];
|
|
5945
|
+
comment?: unknown;
|
|
5946
|
+
attachmentIds?: string[] | undefined;
|
|
5947
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4267
5948
|
}>, z.ZodObject<{
|
|
4268
5949
|
surface: z.ZodLiteral<"workspace_file">;
|
|
4269
5950
|
sourceFilePath: z.ZodString;
|
|
@@ -4294,7 +5975,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4294
5975
|
attachmentIds: string[];
|
|
4295
5976
|
sourceFilePath: string;
|
|
4296
5977
|
sourceLibraryEntryId: string | null;
|
|
4297
|
-
sourceRenderMode: "
|
|
5978
|
+
sourceRenderMode: "text" | "markdown";
|
|
4298
5979
|
comment?: string | null | undefined;
|
|
4299
5980
|
attachmentFileIndexes?: number[] | undefined;
|
|
4300
5981
|
}, {
|
|
@@ -4309,7 +5990,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4309
5990
|
suffix: string;
|
|
4310
5991
|
sourceFilePath: string;
|
|
4311
5992
|
sourceLibraryEntryId: string | null;
|
|
4312
|
-
sourceRenderMode: "
|
|
5993
|
+
sourceRenderMode: "text" | "markdown";
|
|
4313
5994
|
comment?: unknown;
|
|
4314
5995
|
attachmentIds?: string[] | undefined;
|
|
4315
5996
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4341,7 +6022,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4341
6022
|
suffix: string;
|
|
4342
6023
|
attachmentIds: string[];
|
|
4343
6024
|
sourceFilePath: string;
|
|
4344
|
-
sourceRenderMode: "
|
|
6025
|
+
sourceRenderMode: "text" | "markdown";
|
|
4345
6026
|
comment?: string | null | undefined;
|
|
4346
6027
|
attachmentFileIndexes?: number[] | undefined;
|
|
4347
6028
|
}, {
|
|
@@ -4355,7 +6036,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4355
6036
|
prefix: string;
|
|
4356
6037
|
suffix: string;
|
|
4357
6038
|
sourceFilePath: string;
|
|
4358
|
-
sourceRenderMode: "
|
|
6039
|
+
sourceRenderMode: "text" | "markdown";
|
|
4359
6040
|
comment?: unknown;
|
|
4360
6041
|
attachmentIds?: string[] | undefined;
|
|
4361
6042
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4391,6 +6072,19 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4391
6072
|
transcriptKind: "assistant" | "thinking";
|
|
4392
6073
|
comment?: string | null | undefined;
|
|
4393
6074
|
attachmentFileIndexes?: number[] | undefined;
|
|
6075
|
+
} | {
|
|
6076
|
+
id: string;
|
|
6077
|
+
surface: "agent_run_transcript";
|
|
6078
|
+
selectedText: string;
|
|
6079
|
+
sourceHash: string;
|
|
6080
|
+
attachmentIds: string[];
|
|
6081
|
+
sourceRunId: string;
|
|
6082
|
+
sourceAgentId: string;
|
|
6083
|
+
anchorKind: "text" | "transition";
|
|
6084
|
+
sourceEntryId: string | number;
|
|
6085
|
+
sourceMemberIds: (string | number)[];
|
|
6086
|
+
comment?: string | null | undefined;
|
|
6087
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4394
6088
|
} | {
|
|
4395
6089
|
start: number;
|
|
4396
6090
|
end: number;
|
|
@@ -4404,7 +6098,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4404
6098
|
attachmentIds: string[];
|
|
4405
6099
|
sourceFilePath: string;
|
|
4406
6100
|
sourceLibraryEntryId: string | null;
|
|
4407
|
-
sourceRenderMode: "
|
|
6101
|
+
sourceRenderMode: "text" | "markdown";
|
|
4408
6102
|
comment?: string | null | undefined;
|
|
4409
6103
|
attachmentFileIndexes?: number[] | undefined;
|
|
4410
6104
|
} | {
|
|
@@ -4419,7 +6113,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4419
6113
|
suffix: string;
|
|
4420
6114
|
attachmentIds: string[];
|
|
4421
6115
|
sourceFilePath: string;
|
|
4422
|
-
sourceRenderMode: "
|
|
6116
|
+
sourceRenderMode: "text" | "markdown";
|
|
4423
6117
|
comment?: string | null | undefined;
|
|
4424
6118
|
attachmentFileIndexes?: number[] | undefined;
|
|
4425
6119
|
}, {
|
|
@@ -4454,6 +6148,19 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4454
6148
|
comment?: unknown;
|
|
4455
6149
|
attachmentIds?: string[] | undefined;
|
|
4456
6150
|
attachmentFileIndexes?: number[] | undefined;
|
|
6151
|
+
} | {
|
|
6152
|
+
id: string;
|
|
6153
|
+
surface: "agent_run_transcript";
|
|
6154
|
+
selectedText: string;
|
|
6155
|
+
sourceHash: string;
|
|
6156
|
+
sourceRunId: string;
|
|
6157
|
+
sourceAgentId: string;
|
|
6158
|
+
anchorKind: "text" | "transition";
|
|
6159
|
+
sourceEntryId: string | number;
|
|
6160
|
+
sourceMemberIds: (string | number)[];
|
|
6161
|
+
comment?: unknown;
|
|
6162
|
+
attachmentIds?: string[] | undefined;
|
|
6163
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4457
6164
|
} | {
|
|
4458
6165
|
start: number;
|
|
4459
6166
|
end: number;
|
|
@@ -4466,7 +6173,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4466
6173
|
suffix: string;
|
|
4467
6174
|
sourceFilePath: string;
|
|
4468
6175
|
sourceLibraryEntryId: string | null;
|
|
4469
|
-
sourceRenderMode: "
|
|
6176
|
+
sourceRenderMode: "text" | "markdown";
|
|
4470
6177
|
comment?: unknown;
|
|
4471
6178
|
attachmentIds?: string[] | undefined;
|
|
4472
6179
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4481,7 +6188,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4481
6188
|
prefix: string;
|
|
4482
6189
|
suffix: string;
|
|
4483
6190
|
sourceFilePath: string;
|
|
4484
|
-
sourceRenderMode: "
|
|
6191
|
+
sourceRenderMode: "text" | "markdown";
|
|
4485
6192
|
comment?: unknown;
|
|
4486
6193
|
attachmentIds?: string[] | undefined;
|
|
4487
6194
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4517,6 +6224,19 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4517
6224
|
transcriptKind: "assistant" | "thinking";
|
|
4518
6225
|
comment?: string | null | undefined;
|
|
4519
6226
|
attachmentFileIndexes?: number[] | undefined;
|
|
6227
|
+
} | {
|
|
6228
|
+
id: string;
|
|
6229
|
+
surface: "agent_run_transcript";
|
|
6230
|
+
selectedText: string;
|
|
6231
|
+
sourceHash: string;
|
|
6232
|
+
attachmentIds: string[];
|
|
6233
|
+
sourceRunId: string;
|
|
6234
|
+
sourceAgentId: string;
|
|
6235
|
+
anchorKind: "text" | "transition";
|
|
6236
|
+
sourceEntryId: string | number;
|
|
6237
|
+
sourceMemberIds: (string | number)[];
|
|
6238
|
+
comment?: string | null | undefined;
|
|
6239
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4520
6240
|
} | {
|
|
4521
6241
|
start: number;
|
|
4522
6242
|
end: number;
|
|
@@ -4530,7 +6250,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4530
6250
|
attachmentIds: string[];
|
|
4531
6251
|
sourceFilePath: string;
|
|
4532
6252
|
sourceLibraryEntryId: string | null;
|
|
4533
|
-
sourceRenderMode: "
|
|
6253
|
+
sourceRenderMode: "text" | "markdown";
|
|
4534
6254
|
comment?: string | null | undefined;
|
|
4535
6255
|
attachmentFileIndexes?: number[] | undefined;
|
|
4536
6256
|
} | {
|
|
@@ -4545,7 +6265,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4545
6265
|
suffix: string;
|
|
4546
6266
|
attachmentIds: string[];
|
|
4547
6267
|
sourceFilePath: string;
|
|
4548
|
-
sourceRenderMode: "
|
|
6268
|
+
sourceRenderMode: "text" | "markdown";
|
|
4549
6269
|
comment?: string | null | undefined;
|
|
4550
6270
|
attachmentFileIndexes?: number[] | undefined;
|
|
4551
6271
|
})[], ({
|
|
@@ -4580,6 +6300,19 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4580
6300
|
comment?: unknown;
|
|
4581
6301
|
attachmentIds?: string[] | undefined;
|
|
4582
6302
|
attachmentFileIndexes?: number[] | undefined;
|
|
6303
|
+
} | {
|
|
6304
|
+
id: string;
|
|
6305
|
+
surface: "agent_run_transcript";
|
|
6306
|
+
selectedText: string;
|
|
6307
|
+
sourceHash: string;
|
|
6308
|
+
sourceRunId: string;
|
|
6309
|
+
sourceAgentId: string;
|
|
6310
|
+
anchorKind: "text" | "transition";
|
|
6311
|
+
sourceEntryId: string | number;
|
|
6312
|
+
sourceMemberIds: (string | number)[];
|
|
6313
|
+
comment?: unknown;
|
|
6314
|
+
attachmentIds?: string[] | undefined;
|
|
6315
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4583
6316
|
} | {
|
|
4584
6317
|
start: number;
|
|
4585
6318
|
end: number;
|
|
@@ -4592,7 +6325,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4592
6325
|
suffix: string;
|
|
4593
6326
|
sourceFilePath: string;
|
|
4594
6327
|
sourceLibraryEntryId: string | null;
|
|
4595
|
-
sourceRenderMode: "
|
|
6328
|
+
sourceRenderMode: "text" | "markdown";
|
|
4596
6329
|
comment?: unknown;
|
|
4597
6330
|
attachmentIds?: string[] | undefined;
|
|
4598
6331
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4607,7 +6340,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4607
6340
|
prefix: string;
|
|
4608
6341
|
suffix: string;
|
|
4609
6342
|
sourceFilePath: string;
|
|
4610
|
-
sourceRenderMode: "
|
|
6343
|
+
sourceRenderMode: "text" | "markdown";
|
|
4611
6344
|
comment?: unknown;
|
|
4612
6345
|
attachmentIds?: string[] | undefined;
|
|
4613
6346
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4660,6 +6393,19 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4660
6393
|
transcriptKind: "assistant" | "thinking";
|
|
4661
6394
|
comment?: string | null | undefined;
|
|
4662
6395
|
attachmentFileIndexes?: number[] | undefined;
|
|
6396
|
+
} | {
|
|
6397
|
+
id: string;
|
|
6398
|
+
surface: "agent_run_transcript";
|
|
6399
|
+
selectedText: string;
|
|
6400
|
+
sourceHash: string;
|
|
6401
|
+
attachmentIds: string[];
|
|
6402
|
+
sourceRunId: string;
|
|
6403
|
+
sourceAgentId: string;
|
|
6404
|
+
anchorKind: "text" | "transition";
|
|
6405
|
+
sourceEntryId: string | number;
|
|
6406
|
+
sourceMemberIds: (string | number)[];
|
|
6407
|
+
comment?: string | null | undefined;
|
|
6408
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4663
6409
|
} | {
|
|
4664
6410
|
start: number;
|
|
4665
6411
|
end: number;
|
|
@@ -4673,7 +6419,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4673
6419
|
attachmentIds: string[];
|
|
4674
6420
|
sourceFilePath: string;
|
|
4675
6421
|
sourceLibraryEntryId: string | null;
|
|
4676
|
-
sourceRenderMode: "
|
|
6422
|
+
sourceRenderMode: "text" | "markdown";
|
|
4677
6423
|
comment?: string | null | undefined;
|
|
4678
6424
|
attachmentFileIndexes?: number[] | undefined;
|
|
4679
6425
|
} | {
|
|
@@ -4688,7 +6434,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4688
6434
|
suffix: string;
|
|
4689
6435
|
attachmentIds: string[];
|
|
4690
6436
|
sourceFilePath: string;
|
|
4691
|
-
sourceRenderMode: "
|
|
6437
|
+
sourceRenderMode: "text" | "markdown";
|
|
4692
6438
|
comment?: string | null | undefined;
|
|
4693
6439
|
attachmentFileIndexes?: number[] | undefined;
|
|
4694
6440
|
})[] | undefined;
|
|
@@ -4733,6 +6479,19 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4733
6479
|
comment?: unknown;
|
|
4734
6480
|
attachmentIds?: string[] | undefined;
|
|
4735
6481
|
attachmentFileIndexes?: number[] | undefined;
|
|
6482
|
+
} | {
|
|
6483
|
+
id: string;
|
|
6484
|
+
surface: "agent_run_transcript";
|
|
6485
|
+
selectedText: string;
|
|
6486
|
+
sourceHash: string;
|
|
6487
|
+
sourceRunId: string;
|
|
6488
|
+
sourceAgentId: string;
|
|
6489
|
+
anchorKind: "text" | "transition";
|
|
6490
|
+
sourceEntryId: string | number;
|
|
6491
|
+
sourceMemberIds: (string | number)[];
|
|
6492
|
+
comment?: unknown;
|
|
6493
|
+
attachmentIds?: string[] | undefined;
|
|
6494
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4736
6495
|
} | {
|
|
4737
6496
|
start: number;
|
|
4738
6497
|
end: number;
|
|
@@ -4745,7 +6504,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4745
6504
|
suffix: string;
|
|
4746
6505
|
sourceFilePath: string;
|
|
4747
6506
|
sourceLibraryEntryId: string | null;
|
|
4748
|
-
sourceRenderMode: "
|
|
6507
|
+
sourceRenderMode: "text" | "markdown";
|
|
4749
6508
|
comment?: unknown;
|
|
4750
6509
|
attachmentIds?: string[] | undefined;
|
|
4751
6510
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4760,7 +6519,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4760
6519
|
prefix: string;
|
|
4761
6520
|
suffix: string;
|
|
4762
6521
|
sourceFilePath: string;
|
|
4763
|
-
sourceRenderMode: "
|
|
6522
|
+
sourceRenderMode: "text" | "markdown";
|
|
4764
6523
|
comment?: unknown;
|
|
4765
6524
|
attachmentIds?: string[] | undefined;
|
|
4766
6525
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4808,6 +6567,19 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4808
6567
|
transcriptKind: "assistant" | "thinking";
|
|
4809
6568
|
comment?: string | null | undefined;
|
|
4810
6569
|
attachmentFileIndexes?: number[] | undefined;
|
|
6570
|
+
} | {
|
|
6571
|
+
id: string;
|
|
6572
|
+
surface: "agent_run_transcript";
|
|
6573
|
+
selectedText: string;
|
|
6574
|
+
sourceHash: string;
|
|
6575
|
+
attachmentIds: string[];
|
|
6576
|
+
sourceRunId: string;
|
|
6577
|
+
sourceAgentId: string;
|
|
6578
|
+
anchorKind: "text" | "transition";
|
|
6579
|
+
sourceEntryId: string | number;
|
|
6580
|
+
sourceMemberIds: (string | number)[];
|
|
6581
|
+
comment?: string | null | undefined;
|
|
6582
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4811
6583
|
} | {
|
|
4812
6584
|
start: number;
|
|
4813
6585
|
end: number;
|
|
@@ -4821,7 +6593,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4821
6593
|
attachmentIds: string[];
|
|
4822
6594
|
sourceFilePath: string;
|
|
4823
6595
|
sourceLibraryEntryId: string | null;
|
|
4824
|
-
sourceRenderMode: "
|
|
6596
|
+
sourceRenderMode: "text" | "markdown";
|
|
4825
6597
|
comment?: string | null | undefined;
|
|
4826
6598
|
attachmentFileIndexes?: number[] | undefined;
|
|
4827
6599
|
} | {
|
|
@@ -4836,7 +6608,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4836
6608
|
suffix: string;
|
|
4837
6609
|
attachmentIds: string[];
|
|
4838
6610
|
sourceFilePath: string;
|
|
4839
|
-
sourceRenderMode: "
|
|
6611
|
+
sourceRenderMode: "text" | "markdown";
|
|
4840
6612
|
comment?: string | null | undefined;
|
|
4841
6613
|
attachmentFileIndexes?: number[] | undefined;
|
|
4842
6614
|
})[] | undefined;
|
|
@@ -4881,6 +6653,19 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4881
6653
|
comment?: unknown;
|
|
4882
6654
|
attachmentIds?: string[] | undefined;
|
|
4883
6655
|
attachmentFileIndexes?: number[] | undefined;
|
|
6656
|
+
} | {
|
|
6657
|
+
id: string;
|
|
6658
|
+
surface: "agent_run_transcript";
|
|
6659
|
+
selectedText: string;
|
|
6660
|
+
sourceHash: string;
|
|
6661
|
+
sourceRunId: string;
|
|
6662
|
+
sourceAgentId: string;
|
|
6663
|
+
anchorKind: "text" | "transition";
|
|
6664
|
+
sourceEntryId: string | number;
|
|
6665
|
+
sourceMemberIds: (string | number)[];
|
|
6666
|
+
comment?: unknown;
|
|
6667
|
+
attachmentIds?: string[] | undefined;
|
|
6668
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4884
6669
|
} | {
|
|
4885
6670
|
start: number;
|
|
4886
6671
|
end: number;
|
|
@@ -4893,7 +6678,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4893
6678
|
suffix: string;
|
|
4894
6679
|
sourceFilePath: string;
|
|
4895
6680
|
sourceLibraryEntryId: string | null;
|
|
4896
|
-
sourceRenderMode: "
|
|
6681
|
+
sourceRenderMode: "text" | "markdown";
|
|
4897
6682
|
comment?: unknown;
|
|
4898
6683
|
attachmentIds?: string[] | undefined;
|
|
4899
6684
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4908,7 +6693,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4908
6693
|
prefix: string;
|
|
4909
6694
|
suffix: string;
|
|
4910
6695
|
sourceFilePath: string;
|
|
4911
|
-
sourceRenderMode: "
|
|
6696
|
+
sourceRenderMode: "text" | "markdown";
|
|
4912
6697
|
comment?: unknown;
|
|
4913
6698
|
attachmentIds?: string[] | undefined;
|
|
4914
6699
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -4959,6 +6744,19 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4959
6744
|
transcriptKind: "assistant" | "thinking";
|
|
4960
6745
|
comment?: string | null | undefined;
|
|
4961
6746
|
attachmentFileIndexes?: number[] | undefined;
|
|
6747
|
+
} | {
|
|
6748
|
+
id: string;
|
|
6749
|
+
surface: "agent_run_transcript";
|
|
6750
|
+
selectedText: string;
|
|
6751
|
+
sourceHash: string;
|
|
6752
|
+
attachmentIds: string[];
|
|
6753
|
+
sourceRunId: string;
|
|
6754
|
+
sourceAgentId: string;
|
|
6755
|
+
anchorKind: "text" | "transition";
|
|
6756
|
+
sourceEntryId: string | number;
|
|
6757
|
+
sourceMemberIds: (string | number)[];
|
|
6758
|
+
comment?: string | null | undefined;
|
|
6759
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4962
6760
|
} | {
|
|
4963
6761
|
start: number;
|
|
4964
6762
|
end: number;
|
|
@@ -4972,7 +6770,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4972
6770
|
attachmentIds: string[];
|
|
4973
6771
|
sourceFilePath: string;
|
|
4974
6772
|
sourceLibraryEntryId: string | null;
|
|
4975
|
-
sourceRenderMode: "
|
|
6773
|
+
sourceRenderMode: "text" | "markdown";
|
|
4976
6774
|
comment?: string | null | undefined;
|
|
4977
6775
|
attachmentFileIndexes?: number[] | undefined;
|
|
4978
6776
|
} | {
|
|
@@ -4987,7 +6785,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
4987
6785
|
suffix: string;
|
|
4988
6786
|
attachmentIds: string[];
|
|
4989
6787
|
sourceFilePath: string;
|
|
4990
|
-
sourceRenderMode: "
|
|
6788
|
+
sourceRenderMode: "text" | "markdown";
|
|
4991
6789
|
comment?: string | null | undefined;
|
|
4992
6790
|
attachmentFileIndexes?: number[] | undefined;
|
|
4993
6791
|
})[] | undefined;
|
|
@@ -5035,6 +6833,19 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
5035
6833
|
comment?: unknown;
|
|
5036
6834
|
attachmentIds?: string[] | undefined;
|
|
5037
6835
|
attachmentFileIndexes?: number[] | undefined;
|
|
6836
|
+
} | {
|
|
6837
|
+
id: string;
|
|
6838
|
+
surface: "agent_run_transcript";
|
|
6839
|
+
selectedText: string;
|
|
6840
|
+
sourceHash: string;
|
|
6841
|
+
sourceRunId: string;
|
|
6842
|
+
sourceAgentId: string;
|
|
6843
|
+
anchorKind: "text" | "transition";
|
|
6844
|
+
sourceEntryId: string | number;
|
|
6845
|
+
sourceMemberIds: (string | number)[];
|
|
6846
|
+
comment?: unknown;
|
|
6847
|
+
attachmentIds?: string[] | undefined;
|
|
6848
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
5038
6849
|
} | {
|
|
5039
6850
|
start: number;
|
|
5040
6851
|
end: number;
|
|
@@ -5047,7 +6858,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
5047
6858
|
suffix: string;
|
|
5048
6859
|
sourceFilePath: string;
|
|
5049
6860
|
sourceLibraryEntryId: string | null;
|
|
5050
|
-
sourceRenderMode: "
|
|
6861
|
+
sourceRenderMode: "text" | "markdown";
|
|
5051
6862
|
comment?: unknown;
|
|
5052
6863
|
attachmentIds?: string[] | undefined;
|
|
5053
6864
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -5062,7 +6873,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
5062
6873
|
prefix: string;
|
|
5063
6874
|
suffix: string;
|
|
5064
6875
|
sourceFilePath: string;
|
|
5065
|
-
sourceRenderMode: "
|
|
6876
|
+
sourceRenderMode: "text" | "markdown";
|
|
5066
6877
|
comment?: unknown;
|
|
5067
6878
|
attachmentIds?: string[] | undefined;
|
|
5068
6879
|
attachmentFileIndexes?: number[] | undefined;
|