@rudderhq/shared 0.6.6-canary.2 → 0.6.6-canary.21
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/chat-subagents.d.ts +2 -1
- package/dist/chat-subagents.d.ts.map +1 -1
- package/dist/chat-subagents.js +5 -2
- package/dist/chat-subagents.js.map +1 -1
- package/dist/chat-subagents.test.js +33 -0
- package/dist/chat-subagents.test.js.map +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/organization-skill-reference.d.ts +2 -2
- package/dist/organization-skill-reference.d.ts.map +1 -1
- package/dist/organization-skill-reference.js +9 -2
- package/dist/organization-skill-reference.js.map +1 -1
- package/dist/organization-skill-reference.test.js +7 -4
- package/dist/organization-skill-reference.test.js.map +1 -1
- package/dist/types/app-builder.d.ts +24 -0
- package/dist/types/app-builder.d.ts.map +1 -0
- package/dist/types/app-builder.js +2 -0
- package/dist/types/app-builder.js.map +1 -0
- package/dist/types/budget.d.ts +0 -1
- package/dist/types/budget.d.ts.map +1 -1
- package/dist/types/chat.d.ts +27 -2
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/dashboard.d.ts +0 -1
- package/dist/types/dashboard.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/instance.d.ts +1 -0
- package/dist/types/instance.d.ts.map +1 -1
- package/dist/validators/app-builder.d.ts +76 -0
- package/dist/validators/app-builder.d.ts.map +1 -0
- package/dist/validators/app-builder.js +53 -0
- package/dist/validators/app-builder.js.map +1 -0
- package/dist/validators/app-builder.test.d.ts +2 -0
- package/dist/validators/app-builder.test.d.ts.map +1 -0
- package/dist/validators/app-builder.test.js +77 -0
- package/dist/validators/app-builder.test.js.map +1 -0
- package/dist/validators/budget.d.ts +3 -3
- package/dist/validators/calendar.d.ts +6 -6
- package/dist/validators/chat-inline-annotations.test.js +33 -0
- package/dist/validators/chat-inline-annotations.test.js.map +1 -1
- package/dist/validators/chat.d.ts +2451 -231
- package/dist/validators/chat.d.ts.map +1 -1
- package/dist/validators/chat.js +26 -1
- package/dist/validators/chat.js.map +1 -1
- package/dist/validators/index.d.ts +1 -0
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +1 -0
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/instance.d.ts +6 -0
- package/dist/validators/instance.d.ts.map +1 -1
- package/dist/validators/instance.js +1 -0
- package/dist/validators/instance.js.map +1 -1
- package/dist/validators/instance.test.js +1 -0
- package/dist/validators/instance.test.js.map +1 -1
- package/dist/validators/mcp.d.ts +18 -18
- package/dist/validators/messenger.d.ts +16 -16
- package/dist/validators/organization-portability.d.ts +24 -24
- package/dist/validators/organization-skill.d.ts +48 -48
- package/dist/validators/organization.d.ts +6 -6
- package/dist/validators/plugin.d.ts +22 -22
- package/dist/validators/project.d.ts +2 -2
- package/dist/validators/resource.d.ts +4 -4
- package/dist/validators/secret.d.ts +4 -4
- package/package.json +1 -1
|
@@ -23,11 +23,11 @@ export declare const MAX_CHAT_INLINE_ANNOTATION_CONTEXT_LENGTH = 160;
|
|
|
23
23
|
export declare const MAX_CHAT_INLINE_ANNOTATION_ATTACHMENTS = 10;
|
|
24
24
|
export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"surface", [z.ZodObject<{
|
|
25
25
|
surface: z.ZodLiteral<"assistant_body">;
|
|
26
|
+
sourceMessageId: z.ZodString;
|
|
26
27
|
id: z.ZodString;
|
|
27
28
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
28
29
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
29
30
|
sourceConversationId: z.ZodString;
|
|
30
|
-
sourceMessageId: z.ZodString;
|
|
31
31
|
sourceHash: z.ZodString;
|
|
32
32
|
start: z.ZodNumber;
|
|
33
33
|
end: z.ZodNumber;
|
|
@@ -62,6 +62,7 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
62
62
|
attachmentIds?: string[] | undefined;
|
|
63
63
|
}>, z.ZodObject<{
|
|
64
64
|
surface: z.ZodLiteral<"process_transcript">;
|
|
65
|
+
sourceMessageId: z.ZodString;
|
|
65
66
|
transcriptKind: z.ZodEnum<["thinking", "assistant"]>;
|
|
66
67
|
generationId: z.ZodString;
|
|
67
68
|
generationSeqStart: z.ZodNumber;
|
|
@@ -70,7 +71,6 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
70
71
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
71
72
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
72
73
|
sourceConversationId: z.ZodString;
|
|
73
|
-
sourceMessageId: z.ZodString;
|
|
74
74
|
sourceHash: z.ZodString;
|
|
75
75
|
start: z.ZodNumber;
|
|
76
76
|
end: z.ZodNumber;
|
|
@@ -111,148 +111,107 @@ export declare const chatInlineAnnotationSchema: z.ZodEffects<z.ZodDiscriminated
|
|
|
111
111
|
transcriptKind: "assistant" | "thinking";
|
|
112
112
|
comment?: unknown;
|
|
113
113
|
attachmentIds?: string[] | undefined;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
selectedText: string
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
114
|
+
}>, z.ZodObject<{
|
|
115
|
+
surface: z.ZodLiteral<"workspace_file">;
|
|
116
|
+
sourceFilePath: z.ZodString;
|
|
117
|
+
sourceLibraryEntryId: z.ZodNullable<z.ZodString>;
|
|
118
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
119
|
+
id: z.ZodString;
|
|
120
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
121
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
122
|
+
sourceConversationId: z.ZodString;
|
|
123
|
+
sourceHash: z.ZodString;
|
|
124
|
+
start: z.ZodNumber;
|
|
125
|
+
end: z.ZodNumber;
|
|
126
|
+
prefix: z.ZodString;
|
|
127
|
+
suffix: z.ZodString;
|
|
128
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
129
|
+
}, "strict", z.ZodTypeAny, {
|
|
128
130
|
start: number;
|
|
129
131
|
end: number;
|
|
130
|
-
generationId: string;
|
|
131
|
-
generationSeqStart: number;
|
|
132
|
-
generationSeqEnd: number;
|
|
133
132
|
id: string;
|
|
134
|
-
|
|
135
|
-
surface: "process_transcript";
|
|
133
|
+
surface: "workspace_file";
|
|
136
134
|
selectedText: string;
|
|
137
135
|
sourceConversationId: string;
|
|
138
136
|
sourceHash: string;
|
|
139
137
|
prefix: string;
|
|
140
138
|
suffix: string;
|
|
141
139
|
attachmentIds: string[];
|
|
142
|
-
|
|
140
|
+
sourceFilePath: string;
|
|
141
|
+
sourceLibraryEntryId: string | null;
|
|
142
|
+
sourceRenderMode: "markdown" | "text";
|
|
143
143
|
comment?: string | null | undefined;
|
|
144
144
|
}, {
|
|
145
145
|
start: number;
|
|
146
146
|
end: number;
|
|
147
147
|
id: string;
|
|
148
|
-
|
|
149
|
-
surface: "assistant_body";
|
|
150
|
-
selectedText: string;
|
|
151
|
-
sourceConversationId: string;
|
|
152
|
-
sourceHash: string;
|
|
153
|
-
prefix: string;
|
|
154
|
-
suffix: string;
|
|
155
|
-
comment?: unknown;
|
|
156
|
-
attachmentIds?: string[] | undefined;
|
|
157
|
-
} | {
|
|
158
|
-
start: number;
|
|
159
|
-
end: number;
|
|
160
|
-
generationId: string;
|
|
161
|
-
generationSeqStart: number;
|
|
162
|
-
generationSeqEnd: number;
|
|
163
|
-
id: string;
|
|
164
|
-
sourceMessageId: string;
|
|
165
|
-
surface: "process_transcript";
|
|
148
|
+
surface: "workspace_file";
|
|
166
149
|
selectedText: string;
|
|
167
150
|
sourceConversationId: string;
|
|
168
151
|
sourceHash: string;
|
|
169
152
|
prefix: string;
|
|
170
153
|
suffix: string;
|
|
171
|
-
|
|
154
|
+
sourceFilePath: string;
|
|
155
|
+
sourceLibraryEntryId: string | null;
|
|
156
|
+
sourceRenderMode: "markdown" | "text";
|
|
172
157
|
comment?: unknown;
|
|
173
158
|
attachmentIds?: string[] | undefined;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
|
|
159
|
+
}>, z.ZodObject<{
|
|
160
|
+
surface: z.ZodLiteral<"local_file">;
|
|
161
|
+
sourceFilePath: z.ZodString;
|
|
162
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
177
163
|
id: z.ZodString;
|
|
178
164
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
179
165
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
180
166
|
sourceConversationId: z.ZodString;
|
|
181
|
-
sourceMessageId: z.ZodString;
|
|
182
167
|
sourceHash: z.ZodString;
|
|
183
168
|
start: z.ZodNumber;
|
|
184
169
|
end: z.ZodNumber;
|
|
185
170
|
prefix: z.ZodString;
|
|
186
171
|
suffix: z.ZodString;
|
|
187
172
|
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
188
|
-
} & {
|
|
189
|
-
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
190
173
|
}, "strict", z.ZodTypeAny, {
|
|
191
174
|
start: number;
|
|
192
175
|
end: number;
|
|
193
176
|
id: string;
|
|
194
|
-
|
|
195
|
-
surface: "assistant_body";
|
|
177
|
+
surface: "local_file";
|
|
196
178
|
selectedText: string;
|
|
197
179
|
sourceConversationId: string;
|
|
198
180
|
sourceHash: string;
|
|
199
181
|
prefix: string;
|
|
200
182
|
suffix: string;
|
|
201
183
|
attachmentIds: string[];
|
|
184
|
+
sourceFilePath: string;
|
|
185
|
+
sourceRenderMode: "markdown" | "text";
|
|
202
186
|
comment?: string | null | undefined;
|
|
203
|
-
attachmentFileIndexes?: number[] | undefined;
|
|
204
187
|
}, {
|
|
205
188
|
start: number;
|
|
206
189
|
end: number;
|
|
207
190
|
id: string;
|
|
208
|
-
|
|
209
|
-
surface: "assistant_body";
|
|
191
|
+
surface: "local_file";
|
|
210
192
|
selectedText: string;
|
|
211
193
|
sourceConversationId: string;
|
|
212
194
|
sourceHash: string;
|
|
213
195
|
prefix: string;
|
|
214
196
|
suffix: string;
|
|
197
|
+
sourceFilePath: string;
|
|
198
|
+
sourceRenderMode: "markdown" | "text";
|
|
215
199
|
comment?: unknown;
|
|
216
200
|
attachmentIds?: string[] | undefined;
|
|
217
|
-
|
|
218
|
-
}>, z.ZodObject<{
|
|
219
|
-
surface: z.ZodLiteral<"process_transcript">;
|
|
220
|
-
transcriptKind: z.ZodEnum<["thinking", "assistant"]>;
|
|
221
|
-
generationId: z.ZodString;
|
|
222
|
-
generationSeqStart: z.ZodNumber;
|
|
223
|
-
generationSeqEnd: z.ZodNumber;
|
|
224
|
-
id: z.ZodString;
|
|
225
|
-
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
226
|
-
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
227
|
-
sourceConversationId: z.ZodString;
|
|
228
|
-
sourceMessageId: z.ZodString;
|
|
229
|
-
sourceHash: z.ZodString;
|
|
230
|
-
start: z.ZodNumber;
|
|
231
|
-
end: z.ZodNumber;
|
|
232
|
-
prefix: z.ZodString;
|
|
233
|
-
suffix: z.ZodString;
|
|
234
|
-
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
235
|
-
} & {
|
|
236
|
-
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
237
|
-
}, "strict", z.ZodTypeAny, {
|
|
201
|
+
}>]>, {
|
|
238
202
|
start: number;
|
|
239
203
|
end: number;
|
|
240
|
-
generationId: string;
|
|
241
|
-
generationSeqStart: number;
|
|
242
|
-
generationSeqEnd: number;
|
|
243
204
|
id: string;
|
|
244
205
|
sourceMessageId: string;
|
|
245
|
-
surface: "
|
|
206
|
+
surface: "assistant_body";
|
|
246
207
|
selectedText: string;
|
|
247
208
|
sourceConversationId: string;
|
|
248
209
|
sourceHash: string;
|
|
249
210
|
prefix: string;
|
|
250
211
|
suffix: string;
|
|
251
212
|
attachmentIds: string[];
|
|
252
|
-
transcriptKind: "assistant" | "thinking";
|
|
253
213
|
comment?: string | null | undefined;
|
|
254
|
-
|
|
255
|
-
}, {
|
|
214
|
+
} | {
|
|
256
215
|
start: number;
|
|
257
216
|
end: number;
|
|
258
217
|
generationId: string;
|
|
@@ -266,42 +225,38 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
266
225
|
sourceHash: string;
|
|
267
226
|
prefix: string;
|
|
268
227
|
suffix: string;
|
|
228
|
+
attachmentIds: string[];
|
|
269
229
|
transcriptKind: "assistant" | "thinking";
|
|
270
|
-
comment?:
|
|
271
|
-
|
|
272
|
-
attachmentFileIndexes?: number[] | undefined;
|
|
273
|
-
}>]>, {
|
|
230
|
+
comment?: string | null | undefined;
|
|
231
|
+
} | {
|
|
274
232
|
start: number;
|
|
275
233
|
end: number;
|
|
276
234
|
id: string;
|
|
277
|
-
|
|
278
|
-
surface: "assistant_body";
|
|
235
|
+
surface: "workspace_file";
|
|
279
236
|
selectedText: string;
|
|
280
237
|
sourceConversationId: string;
|
|
281
238
|
sourceHash: string;
|
|
282
239
|
prefix: string;
|
|
283
240
|
suffix: string;
|
|
284
241
|
attachmentIds: string[];
|
|
242
|
+
sourceFilePath: string;
|
|
243
|
+
sourceLibraryEntryId: string | null;
|
|
244
|
+
sourceRenderMode: "markdown" | "text";
|
|
285
245
|
comment?: string | null | undefined;
|
|
286
|
-
attachmentFileIndexes?: number[] | undefined;
|
|
287
246
|
} | {
|
|
288
247
|
start: number;
|
|
289
248
|
end: number;
|
|
290
|
-
generationId: string;
|
|
291
|
-
generationSeqStart: number;
|
|
292
|
-
generationSeqEnd: number;
|
|
293
249
|
id: string;
|
|
294
|
-
|
|
295
|
-
surface: "process_transcript";
|
|
250
|
+
surface: "local_file";
|
|
296
251
|
selectedText: string;
|
|
297
252
|
sourceConversationId: string;
|
|
298
253
|
sourceHash: string;
|
|
299
254
|
prefix: string;
|
|
300
255
|
suffix: string;
|
|
301
256
|
attachmentIds: string[];
|
|
302
|
-
|
|
257
|
+
sourceFilePath: string;
|
|
258
|
+
sourceRenderMode: "markdown" | "text";
|
|
303
259
|
comment?: string | null | undefined;
|
|
304
|
-
attachmentFileIndexes?: number[] | undefined;
|
|
305
260
|
}, {
|
|
306
261
|
start: number;
|
|
307
262
|
end: number;
|
|
@@ -315,7 +270,6 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
315
270
|
suffix: string;
|
|
316
271
|
comment?: unknown;
|
|
317
272
|
attachmentIds?: string[] | undefined;
|
|
318
|
-
attachmentFileIndexes?: number[] | undefined;
|
|
319
273
|
} | {
|
|
320
274
|
start: number;
|
|
321
275
|
end: number;
|
|
@@ -333,21 +287,51 @@ export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscrimi
|
|
|
333
287
|
transcriptKind: "assistant" | "thinking";
|
|
334
288
|
comment?: unknown;
|
|
335
289
|
attachmentIds?: string[] | undefined;
|
|
336
|
-
|
|
290
|
+
} | {
|
|
291
|
+
start: number;
|
|
292
|
+
end: number;
|
|
293
|
+
id: string;
|
|
294
|
+
surface: "workspace_file";
|
|
295
|
+
selectedText: string;
|
|
296
|
+
sourceConversationId: string;
|
|
297
|
+
sourceHash: string;
|
|
298
|
+
prefix: string;
|
|
299
|
+
suffix: string;
|
|
300
|
+
sourceFilePath: string;
|
|
301
|
+
sourceLibraryEntryId: string | null;
|
|
302
|
+
sourceRenderMode: "markdown" | "text";
|
|
303
|
+
comment?: unknown;
|
|
304
|
+
attachmentIds?: string[] | undefined;
|
|
305
|
+
} | {
|
|
306
|
+
start: number;
|
|
307
|
+
end: number;
|
|
308
|
+
id: string;
|
|
309
|
+
surface: "local_file";
|
|
310
|
+
selectedText: string;
|
|
311
|
+
sourceConversationId: string;
|
|
312
|
+
sourceHash: string;
|
|
313
|
+
prefix: string;
|
|
314
|
+
suffix: string;
|
|
315
|
+
sourceFilePath: string;
|
|
316
|
+
sourceRenderMode: "markdown" | "text";
|
|
317
|
+
comment?: unknown;
|
|
318
|
+
attachmentIds?: string[] | undefined;
|
|
337
319
|
}>;
|
|
338
|
-
export declare const
|
|
320
|
+
export declare const chatInlineAnnotationInputSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"surface", [z.ZodObject<{
|
|
339
321
|
surface: z.ZodLiteral<"assistant_body">;
|
|
322
|
+
sourceMessageId: z.ZodString;
|
|
340
323
|
id: z.ZodString;
|
|
341
324
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
342
325
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
343
326
|
sourceConversationId: z.ZodString;
|
|
344
|
-
sourceMessageId: z.ZodString;
|
|
345
327
|
sourceHash: z.ZodString;
|
|
346
328
|
start: z.ZodNumber;
|
|
347
329
|
end: z.ZodNumber;
|
|
348
330
|
prefix: z.ZodString;
|
|
349
331
|
suffix: z.ZodString;
|
|
350
332
|
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
333
|
+
} & {
|
|
334
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
351
335
|
}, "strict", z.ZodTypeAny, {
|
|
352
336
|
start: number;
|
|
353
337
|
end: number;
|
|
@@ -361,6 +345,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
361
345
|
suffix: string;
|
|
362
346
|
attachmentIds: string[];
|
|
363
347
|
comment?: string | null | undefined;
|
|
348
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
364
349
|
}, {
|
|
365
350
|
start: number;
|
|
366
351
|
end: number;
|
|
@@ -374,8 +359,10 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
374
359
|
suffix: string;
|
|
375
360
|
comment?: unknown;
|
|
376
361
|
attachmentIds?: string[] | undefined;
|
|
362
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
377
363
|
}>, z.ZodObject<{
|
|
378
364
|
surface: z.ZodLiteral<"process_transcript">;
|
|
365
|
+
sourceMessageId: z.ZodString;
|
|
379
366
|
transcriptKind: z.ZodEnum<["thinking", "assistant"]>;
|
|
380
367
|
generationId: z.ZodString;
|
|
381
368
|
generationSeqStart: z.ZodNumber;
|
|
@@ -384,13 +371,14 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
384
371
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
385
372
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
386
373
|
sourceConversationId: z.ZodString;
|
|
387
|
-
sourceMessageId: z.ZodString;
|
|
388
374
|
sourceHash: z.ZodString;
|
|
389
375
|
start: z.ZodNumber;
|
|
390
376
|
end: z.ZodNumber;
|
|
391
377
|
prefix: z.ZodString;
|
|
392
378
|
suffix: z.ZodString;
|
|
393
379
|
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
380
|
+
} & {
|
|
381
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
394
382
|
}, "strict", z.ZodTypeAny, {
|
|
395
383
|
start: number;
|
|
396
384
|
end: number;
|
|
@@ -408,6 +396,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
408
396
|
attachmentIds: string[];
|
|
409
397
|
transcriptKind: "assistant" | "thinking";
|
|
410
398
|
comment?: string | null | undefined;
|
|
399
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
411
400
|
}, {
|
|
412
401
|
start: number;
|
|
413
402
|
end: number;
|
|
@@ -425,49 +414,116 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
425
414
|
transcriptKind: "assistant" | "thinking";
|
|
426
415
|
comment?: unknown;
|
|
427
416
|
attachmentIds?: string[] | undefined;
|
|
428
|
-
|
|
417
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
418
|
+
}>, z.ZodObject<{
|
|
419
|
+
surface: z.ZodLiteral<"workspace_file">;
|
|
420
|
+
sourceFilePath: z.ZodString;
|
|
421
|
+
sourceLibraryEntryId: z.ZodNullable<z.ZodString>;
|
|
422
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
423
|
+
id: z.ZodString;
|
|
424
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
425
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
426
|
+
sourceConversationId: z.ZodString;
|
|
427
|
+
sourceHash: z.ZodString;
|
|
428
|
+
start: z.ZodNumber;
|
|
429
|
+
end: z.ZodNumber;
|
|
430
|
+
prefix: z.ZodString;
|
|
431
|
+
suffix: z.ZodString;
|
|
432
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
433
|
+
} & {
|
|
434
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
435
|
+
}, "strict", z.ZodTypeAny, {
|
|
429
436
|
start: number;
|
|
430
437
|
end: number;
|
|
431
438
|
id: string;
|
|
432
|
-
|
|
433
|
-
surface: "assistant_body";
|
|
439
|
+
surface: "workspace_file";
|
|
434
440
|
selectedText: string;
|
|
435
441
|
sourceConversationId: string;
|
|
436
442
|
sourceHash: string;
|
|
437
443
|
prefix: string;
|
|
438
444
|
suffix: string;
|
|
439
445
|
attachmentIds: string[];
|
|
446
|
+
sourceFilePath: string;
|
|
447
|
+
sourceLibraryEntryId: string | null;
|
|
448
|
+
sourceRenderMode: "markdown" | "text";
|
|
440
449
|
comment?: string | null | undefined;
|
|
441
|
-
|
|
450
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
451
|
+
}, {
|
|
442
452
|
start: number;
|
|
443
453
|
end: number;
|
|
444
|
-
generationId: string;
|
|
445
|
-
generationSeqStart: number;
|
|
446
|
-
generationSeqEnd: number;
|
|
447
454
|
id: string;
|
|
448
|
-
|
|
449
|
-
|
|
455
|
+
surface: "workspace_file";
|
|
456
|
+
selectedText: string;
|
|
457
|
+
sourceConversationId: string;
|
|
458
|
+
sourceHash: string;
|
|
459
|
+
prefix: string;
|
|
460
|
+
suffix: string;
|
|
461
|
+
sourceFilePath: string;
|
|
462
|
+
sourceLibraryEntryId: string | null;
|
|
463
|
+
sourceRenderMode: "markdown" | "text";
|
|
464
|
+
comment?: unknown;
|
|
465
|
+
attachmentIds?: string[] | undefined;
|
|
466
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
467
|
+
}>, z.ZodObject<{
|
|
468
|
+
surface: z.ZodLiteral<"local_file">;
|
|
469
|
+
sourceFilePath: z.ZodString;
|
|
470
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
471
|
+
id: z.ZodString;
|
|
472
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
473
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
474
|
+
sourceConversationId: z.ZodString;
|
|
475
|
+
sourceHash: z.ZodString;
|
|
476
|
+
start: z.ZodNumber;
|
|
477
|
+
end: z.ZodNumber;
|
|
478
|
+
prefix: z.ZodString;
|
|
479
|
+
suffix: z.ZodString;
|
|
480
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
481
|
+
} & {
|
|
482
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
483
|
+
}, "strict", z.ZodTypeAny, {
|
|
484
|
+
start: number;
|
|
485
|
+
end: number;
|
|
486
|
+
id: string;
|
|
487
|
+
surface: "local_file";
|
|
450
488
|
selectedText: string;
|
|
451
489
|
sourceConversationId: string;
|
|
452
490
|
sourceHash: string;
|
|
453
491
|
prefix: string;
|
|
454
492
|
suffix: string;
|
|
455
493
|
attachmentIds: string[];
|
|
456
|
-
|
|
494
|
+
sourceFilePath: string;
|
|
495
|
+
sourceRenderMode: "markdown" | "text";
|
|
457
496
|
comment?: string | null | undefined;
|
|
497
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
458
498
|
}, {
|
|
459
499
|
start: number;
|
|
460
500
|
end: number;
|
|
461
501
|
id: string;
|
|
462
|
-
|
|
463
|
-
surface: "assistant_body";
|
|
502
|
+
surface: "local_file";
|
|
464
503
|
selectedText: string;
|
|
465
504
|
sourceConversationId: string;
|
|
466
505
|
sourceHash: string;
|
|
467
506
|
prefix: string;
|
|
468
507
|
suffix: string;
|
|
508
|
+
sourceFilePath: string;
|
|
509
|
+
sourceRenderMode: "markdown" | "text";
|
|
469
510
|
comment?: unknown;
|
|
470
511
|
attachmentIds?: string[] | undefined;
|
|
512
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
513
|
+
}>]>, {
|
|
514
|
+
start: number;
|
|
515
|
+
end: number;
|
|
516
|
+
id: string;
|
|
517
|
+
sourceMessageId: string;
|
|
518
|
+
surface: "assistant_body";
|
|
519
|
+
selectedText: string;
|
|
520
|
+
sourceConversationId: string;
|
|
521
|
+
sourceHash: string;
|
|
522
|
+
prefix: string;
|
|
523
|
+
suffix: string;
|
|
524
|
+
attachmentIds: string[];
|
|
525
|
+
comment?: string | null | undefined;
|
|
526
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
471
527
|
} | {
|
|
472
528
|
start: number;
|
|
473
529
|
end: number;
|
|
@@ -482,40 +538,42 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
482
538
|
sourceHash: string;
|
|
483
539
|
prefix: string;
|
|
484
540
|
suffix: string;
|
|
541
|
+
attachmentIds: string[];
|
|
485
542
|
transcriptKind: "assistant" | "thinking";
|
|
486
|
-
comment?:
|
|
487
|
-
|
|
488
|
-
}
|
|
543
|
+
comment?: string | null | undefined;
|
|
544
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
545
|
+
} | {
|
|
489
546
|
start: number;
|
|
490
547
|
end: number;
|
|
491
548
|
id: string;
|
|
492
|
-
|
|
493
|
-
surface: "assistant_body";
|
|
549
|
+
surface: "workspace_file";
|
|
494
550
|
selectedText: string;
|
|
495
551
|
sourceConversationId: string;
|
|
496
552
|
sourceHash: string;
|
|
497
553
|
prefix: string;
|
|
498
554
|
suffix: string;
|
|
499
555
|
attachmentIds: string[];
|
|
556
|
+
sourceFilePath: string;
|
|
557
|
+
sourceLibraryEntryId: string | null;
|
|
558
|
+
sourceRenderMode: "markdown" | "text";
|
|
500
559
|
comment?: string | null | undefined;
|
|
560
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
501
561
|
} | {
|
|
502
562
|
start: number;
|
|
503
563
|
end: number;
|
|
504
|
-
generationId: string;
|
|
505
|
-
generationSeqStart: number;
|
|
506
|
-
generationSeqEnd: number;
|
|
507
564
|
id: string;
|
|
508
|
-
|
|
509
|
-
surface: "process_transcript";
|
|
565
|
+
surface: "local_file";
|
|
510
566
|
selectedText: string;
|
|
511
567
|
sourceConversationId: string;
|
|
512
568
|
sourceHash: string;
|
|
513
569
|
prefix: string;
|
|
514
570
|
suffix: string;
|
|
515
571
|
attachmentIds: string[];
|
|
516
|
-
|
|
572
|
+
sourceFilePath: string;
|
|
573
|
+
sourceRenderMode: "markdown" | "text";
|
|
517
574
|
comment?: string | null | undefined;
|
|
518
|
-
|
|
575
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
576
|
+
}, {
|
|
519
577
|
start: number;
|
|
520
578
|
end: number;
|
|
521
579
|
id: string;
|
|
@@ -528,6 +586,7 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
528
586
|
suffix: string;
|
|
529
587
|
comment?: unknown;
|
|
530
588
|
attachmentIds?: string[] | undefined;
|
|
589
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
531
590
|
} | {
|
|
532
591
|
start: number;
|
|
533
592
|
end: number;
|
|
@@ -545,20 +604,466 @@ export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodE
|
|
|
545
604
|
transcriptKind: "assistant" | "thinking";
|
|
546
605
|
comment?: unknown;
|
|
547
606
|
attachmentIds?: string[] | undefined;
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
sourceHash:
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
607
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
608
|
+
} | {
|
|
609
|
+
start: number;
|
|
610
|
+
end: number;
|
|
611
|
+
id: string;
|
|
612
|
+
surface: "workspace_file";
|
|
613
|
+
selectedText: string;
|
|
614
|
+
sourceConversationId: string;
|
|
615
|
+
sourceHash: string;
|
|
616
|
+
prefix: string;
|
|
617
|
+
suffix: string;
|
|
618
|
+
sourceFilePath: string;
|
|
619
|
+
sourceLibraryEntryId: string | null;
|
|
620
|
+
sourceRenderMode: "markdown" | "text";
|
|
621
|
+
comment?: unknown;
|
|
622
|
+
attachmentIds?: string[] | undefined;
|
|
623
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
624
|
+
} | {
|
|
625
|
+
start: number;
|
|
626
|
+
end: number;
|
|
627
|
+
id: string;
|
|
628
|
+
surface: "local_file";
|
|
629
|
+
selectedText: string;
|
|
630
|
+
sourceConversationId: string;
|
|
631
|
+
sourceHash: string;
|
|
632
|
+
prefix: string;
|
|
633
|
+
suffix: string;
|
|
634
|
+
sourceFilePath: string;
|
|
635
|
+
sourceRenderMode: "markdown" | "text";
|
|
636
|
+
comment?: unknown;
|
|
637
|
+
attachmentIds?: string[] | undefined;
|
|
638
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
639
|
+
}>;
|
|
640
|
+
export declare const chatInlineAnnotationsSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"surface", [z.ZodObject<{
|
|
641
|
+
surface: z.ZodLiteral<"assistant_body">;
|
|
642
|
+
sourceMessageId: z.ZodString;
|
|
643
|
+
id: z.ZodString;
|
|
644
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
645
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
646
|
+
sourceConversationId: z.ZodString;
|
|
647
|
+
sourceHash: z.ZodString;
|
|
648
|
+
start: z.ZodNumber;
|
|
649
|
+
end: z.ZodNumber;
|
|
650
|
+
prefix: z.ZodString;
|
|
651
|
+
suffix: z.ZodString;
|
|
652
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
653
|
+
}, "strict", z.ZodTypeAny, {
|
|
654
|
+
start: number;
|
|
655
|
+
end: number;
|
|
656
|
+
id: string;
|
|
657
|
+
sourceMessageId: string;
|
|
658
|
+
surface: "assistant_body";
|
|
659
|
+
selectedText: string;
|
|
660
|
+
sourceConversationId: string;
|
|
661
|
+
sourceHash: string;
|
|
662
|
+
prefix: string;
|
|
663
|
+
suffix: string;
|
|
664
|
+
attachmentIds: string[];
|
|
665
|
+
comment?: string | null | undefined;
|
|
666
|
+
}, {
|
|
667
|
+
start: number;
|
|
668
|
+
end: number;
|
|
669
|
+
id: string;
|
|
670
|
+
sourceMessageId: string;
|
|
671
|
+
surface: "assistant_body";
|
|
672
|
+
selectedText: string;
|
|
673
|
+
sourceConversationId: string;
|
|
674
|
+
sourceHash: string;
|
|
675
|
+
prefix: string;
|
|
676
|
+
suffix: string;
|
|
677
|
+
comment?: unknown;
|
|
678
|
+
attachmentIds?: string[] | undefined;
|
|
679
|
+
}>, z.ZodObject<{
|
|
680
|
+
surface: z.ZodLiteral<"process_transcript">;
|
|
681
|
+
sourceMessageId: z.ZodString;
|
|
682
|
+
transcriptKind: z.ZodEnum<["thinking", "assistant"]>;
|
|
683
|
+
generationId: z.ZodString;
|
|
684
|
+
generationSeqStart: z.ZodNumber;
|
|
685
|
+
generationSeqEnd: z.ZodNumber;
|
|
686
|
+
id: z.ZodString;
|
|
687
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
688
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
689
|
+
sourceConversationId: z.ZodString;
|
|
690
|
+
sourceHash: z.ZodString;
|
|
691
|
+
start: z.ZodNumber;
|
|
692
|
+
end: z.ZodNumber;
|
|
693
|
+
prefix: z.ZodString;
|
|
694
|
+
suffix: z.ZodString;
|
|
695
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
696
|
+
}, "strict", z.ZodTypeAny, {
|
|
697
|
+
start: number;
|
|
698
|
+
end: number;
|
|
699
|
+
generationId: string;
|
|
700
|
+
generationSeqStart: number;
|
|
701
|
+
generationSeqEnd: number;
|
|
702
|
+
id: string;
|
|
703
|
+
sourceMessageId: string;
|
|
704
|
+
surface: "process_transcript";
|
|
705
|
+
selectedText: string;
|
|
706
|
+
sourceConversationId: string;
|
|
707
|
+
sourceHash: string;
|
|
708
|
+
prefix: string;
|
|
709
|
+
suffix: string;
|
|
710
|
+
attachmentIds: string[];
|
|
711
|
+
transcriptKind: "assistant" | "thinking";
|
|
712
|
+
comment?: string | null | undefined;
|
|
713
|
+
}, {
|
|
714
|
+
start: number;
|
|
715
|
+
end: number;
|
|
716
|
+
generationId: string;
|
|
717
|
+
generationSeqStart: number;
|
|
718
|
+
generationSeqEnd: number;
|
|
719
|
+
id: string;
|
|
720
|
+
sourceMessageId: string;
|
|
721
|
+
surface: "process_transcript";
|
|
722
|
+
selectedText: string;
|
|
723
|
+
sourceConversationId: string;
|
|
724
|
+
sourceHash: string;
|
|
725
|
+
prefix: string;
|
|
726
|
+
suffix: string;
|
|
727
|
+
transcriptKind: "assistant" | "thinking";
|
|
728
|
+
comment?: unknown;
|
|
729
|
+
attachmentIds?: string[] | undefined;
|
|
730
|
+
}>, z.ZodObject<{
|
|
731
|
+
surface: z.ZodLiteral<"workspace_file">;
|
|
732
|
+
sourceFilePath: z.ZodString;
|
|
733
|
+
sourceLibraryEntryId: z.ZodNullable<z.ZodString>;
|
|
734
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
735
|
+
id: z.ZodString;
|
|
736
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
737
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
738
|
+
sourceConversationId: z.ZodString;
|
|
739
|
+
sourceHash: z.ZodString;
|
|
740
|
+
start: z.ZodNumber;
|
|
741
|
+
end: z.ZodNumber;
|
|
742
|
+
prefix: z.ZodString;
|
|
743
|
+
suffix: z.ZodString;
|
|
744
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
745
|
+
}, "strict", z.ZodTypeAny, {
|
|
746
|
+
start: number;
|
|
747
|
+
end: number;
|
|
748
|
+
id: string;
|
|
749
|
+
surface: "workspace_file";
|
|
750
|
+
selectedText: string;
|
|
751
|
+
sourceConversationId: string;
|
|
752
|
+
sourceHash: string;
|
|
753
|
+
prefix: string;
|
|
754
|
+
suffix: string;
|
|
755
|
+
attachmentIds: string[];
|
|
756
|
+
sourceFilePath: string;
|
|
757
|
+
sourceLibraryEntryId: string | null;
|
|
758
|
+
sourceRenderMode: "markdown" | "text";
|
|
759
|
+
comment?: string | null | undefined;
|
|
760
|
+
}, {
|
|
761
|
+
start: number;
|
|
762
|
+
end: number;
|
|
763
|
+
id: string;
|
|
764
|
+
surface: "workspace_file";
|
|
765
|
+
selectedText: string;
|
|
766
|
+
sourceConversationId: string;
|
|
767
|
+
sourceHash: string;
|
|
768
|
+
prefix: string;
|
|
769
|
+
suffix: string;
|
|
770
|
+
sourceFilePath: string;
|
|
771
|
+
sourceLibraryEntryId: string | null;
|
|
772
|
+
sourceRenderMode: "markdown" | "text";
|
|
773
|
+
comment?: unknown;
|
|
774
|
+
attachmentIds?: string[] | undefined;
|
|
775
|
+
}>, z.ZodObject<{
|
|
776
|
+
surface: z.ZodLiteral<"local_file">;
|
|
777
|
+
sourceFilePath: z.ZodString;
|
|
778
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
779
|
+
id: z.ZodString;
|
|
780
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
781
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
782
|
+
sourceConversationId: z.ZodString;
|
|
783
|
+
sourceHash: z.ZodString;
|
|
784
|
+
start: z.ZodNumber;
|
|
785
|
+
end: z.ZodNumber;
|
|
786
|
+
prefix: z.ZodString;
|
|
787
|
+
suffix: z.ZodString;
|
|
788
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
789
|
+
}, "strict", z.ZodTypeAny, {
|
|
790
|
+
start: number;
|
|
791
|
+
end: number;
|
|
792
|
+
id: string;
|
|
793
|
+
surface: "local_file";
|
|
794
|
+
selectedText: string;
|
|
795
|
+
sourceConversationId: string;
|
|
796
|
+
sourceHash: string;
|
|
797
|
+
prefix: string;
|
|
798
|
+
suffix: string;
|
|
799
|
+
attachmentIds: string[];
|
|
800
|
+
sourceFilePath: string;
|
|
801
|
+
sourceRenderMode: "markdown" | "text";
|
|
802
|
+
comment?: string | null | undefined;
|
|
803
|
+
}, {
|
|
804
|
+
start: number;
|
|
805
|
+
end: number;
|
|
806
|
+
id: string;
|
|
807
|
+
surface: "local_file";
|
|
808
|
+
selectedText: string;
|
|
809
|
+
sourceConversationId: string;
|
|
810
|
+
sourceHash: string;
|
|
811
|
+
prefix: string;
|
|
812
|
+
suffix: string;
|
|
813
|
+
sourceFilePath: string;
|
|
814
|
+
sourceRenderMode: "markdown" | "text";
|
|
815
|
+
comment?: unknown;
|
|
816
|
+
attachmentIds?: string[] | undefined;
|
|
817
|
+
}>]>, {
|
|
818
|
+
start: number;
|
|
819
|
+
end: number;
|
|
820
|
+
id: string;
|
|
821
|
+
sourceMessageId: string;
|
|
822
|
+
surface: "assistant_body";
|
|
823
|
+
selectedText: string;
|
|
824
|
+
sourceConversationId: string;
|
|
825
|
+
sourceHash: string;
|
|
826
|
+
prefix: string;
|
|
827
|
+
suffix: string;
|
|
828
|
+
attachmentIds: string[];
|
|
829
|
+
comment?: string | null | undefined;
|
|
830
|
+
} | {
|
|
831
|
+
start: number;
|
|
832
|
+
end: number;
|
|
833
|
+
generationId: string;
|
|
834
|
+
generationSeqStart: number;
|
|
835
|
+
generationSeqEnd: number;
|
|
836
|
+
id: string;
|
|
837
|
+
sourceMessageId: string;
|
|
838
|
+
surface: "process_transcript";
|
|
839
|
+
selectedText: string;
|
|
840
|
+
sourceConversationId: string;
|
|
841
|
+
sourceHash: string;
|
|
842
|
+
prefix: string;
|
|
843
|
+
suffix: string;
|
|
844
|
+
attachmentIds: string[];
|
|
845
|
+
transcriptKind: "assistant" | "thinking";
|
|
846
|
+
comment?: string | null | undefined;
|
|
847
|
+
} | {
|
|
848
|
+
start: number;
|
|
849
|
+
end: number;
|
|
850
|
+
id: string;
|
|
851
|
+
surface: "workspace_file";
|
|
852
|
+
selectedText: string;
|
|
853
|
+
sourceConversationId: string;
|
|
854
|
+
sourceHash: string;
|
|
855
|
+
prefix: string;
|
|
856
|
+
suffix: string;
|
|
857
|
+
attachmentIds: string[];
|
|
858
|
+
sourceFilePath: string;
|
|
859
|
+
sourceLibraryEntryId: string | null;
|
|
860
|
+
sourceRenderMode: "markdown" | "text";
|
|
861
|
+
comment?: string | null | undefined;
|
|
862
|
+
} | {
|
|
863
|
+
start: number;
|
|
864
|
+
end: number;
|
|
865
|
+
id: string;
|
|
866
|
+
surface: "local_file";
|
|
867
|
+
selectedText: string;
|
|
868
|
+
sourceConversationId: string;
|
|
869
|
+
sourceHash: string;
|
|
870
|
+
prefix: string;
|
|
871
|
+
suffix: string;
|
|
872
|
+
attachmentIds: string[];
|
|
873
|
+
sourceFilePath: string;
|
|
874
|
+
sourceRenderMode: "markdown" | "text";
|
|
875
|
+
comment?: string | null | undefined;
|
|
876
|
+
}, {
|
|
877
|
+
start: number;
|
|
878
|
+
end: number;
|
|
879
|
+
id: string;
|
|
880
|
+
sourceMessageId: string;
|
|
881
|
+
surface: "assistant_body";
|
|
882
|
+
selectedText: string;
|
|
883
|
+
sourceConversationId: string;
|
|
884
|
+
sourceHash: string;
|
|
885
|
+
prefix: string;
|
|
886
|
+
suffix: string;
|
|
887
|
+
comment?: unknown;
|
|
888
|
+
attachmentIds?: string[] | undefined;
|
|
889
|
+
} | {
|
|
890
|
+
start: number;
|
|
891
|
+
end: number;
|
|
892
|
+
generationId: string;
|
|
893
|
+
generationSeqStart: number;
|
|
894
|
+
generationSeqEnd: number;
|
|
895
|
+
id: string;
|
|
896
|
+
sourceMessageId: string;
|
|
897
|
+
surface: "process_transcript";
|
|
898
|
+
selectedText: string;
|
|
899
|
+
sourceConversationId: string;
|
|
900
|
+
sourceHash: string;
|
|
901
|
+
prefix: string;
|
|
902
|
+
suffix: string;
|
|
903
|
+
transcriptKind: "assistant" | "thinking";
|
|
904
|
+
comment?: unknown;
|
|
905
|
+
attachmentIds?: string[] | undefined;
|
|
906
|
+
} | {
|
|
907
|
+
start: number;
|
|
908
|
+
end: number;
|
|
909
|
+
id: string;
|
|
910
|
+
surface: "workspace_file";
|
|
911
|
+
selectedText: string;
|
|
912
|
+
sourceConversationId: string;
|
|
913
|
+
sourceHash: string;
|
|
914
|
+
prefix: string;
|
|
915
|
+
suffix: string;
|
|
916
|
+
sourceFilePath: string;
|
|
917
|
+
sourceLibraryEntryId: string | null;
|
|
918
|
+
sourceRenderMode: "markdown" | "text";
|
|
919
|
+
comment?: unknown;
|
|
920
|
+
attachmentIds?: string[] | undefined;
|
|
921
|
+
} | {
|
|
922
|
+
start: number;
|
|
923
|
+
end: number;
|
|
924
|
+
id: string;
|
|
925
|
+
surface: "local_file";
|
|
926
|
+
selectedText: string;
|
|
927
|
+
sourceConversationId: string;
|
|
928
|
+
sourceHash: string;
|
|
929
|
+
prefix: string;
|
|
930
|
+
suffix: string;
|
|
931
|
+
sourceFilePath: string;
|
|
932
|
+
sourceRenderMode: "markdown" | "text";
|
|
933
|
+
comment?: unknown;
|
|
934
|
+
attachmentIds?: string[] | undefined;
|
|
935
|
+
}>, "many">, ({
|
|
936
|
+
start: number;
|
|
937
|
+
end: number;
|
|
938
|
+
id: string;
|
|
939
|
+
sourceMessageId: string;
|
|
940
|
+
surface: "assistant_body";
|
|
941
|
+
selectedText: string;
|
|
942
|
+
sourceConversationId: string;
|
|
943
|
+
sourceHash: string;
|
|
944
|
+
prefix: string;
|
|
945
|
+
suffix: string;
|
|
946
|
+
attachmentIds: string[];
|
|
947
|
+
comment?: string | null | undefined;
|
|
948
|
+
} | {
|
|
949
|
+
start: number;
|
|
950
|
+
end: number;
|
|
951
|
+
generationId: string;
|
|
952
|
+
generationSeqStart: number;
|
|
953
|
+
generationSeqEnd: number;
|
|
954
|
+
id: string;
|
|
955
|
+
sourceMessageId: string;
|
|
956
|
+
surface: "process_transcript";
|
|
957
|
+
selectedText: string;
|
|
958
|
+
sourceConversationId: string;
|
|
959
|
+
sourceHash: string;
|
|
960
|
+
prefix: string;
|
|
961
|
+
suffix: string;
|
|
962
|
+
attachmentIds: string[];
|
|
963
|
+
transcriptKind: "assistant" | "thinking";
|
|
964
|
+
comment?: string | null | undefined;
|
|
965
|
+
} | {
|
|
966
|
+
start: number;
|
|
967
|
+
end: number;
|
|
968
|
+
id: string;
|
|
969
|
+
surface: "workspace_file";
|
|
970
|
+
selectedText: string;
|
|
971
|
+
sourceConversationId: string;
|
|
972
|
+
sourceHash: string;
|
|
973
|
+
prefix: string;
|
|
974
|
+
suffix: string;
|
|
975
|
+
attachmentIds: string[];
|
|
976
|
+
sourceFilePath: string;
|
|
977
|
+
sourceLibraryEntryId: string | null;
|
|
978
|
+
sourceRenderMode: "markdown" | "text";
|
|
979
|
+
comment?: string | null | undefined;
|
|
980
|
+
} | {
|
|
981
|
+
start: number;
|
|
982
|
+
end: number;
|
|
983
|
+
id: string;
|
|
984
|
+
surface: "local_file";
|
|
985
|
+
selectedText: string;
|
|
986
|
+
sourceConversationId: string;
|
|
987
|
+
sourceHash: string;
|
|
988
|
+
prefix: string;
|
|
989
|
+
suffix: string;
|
|
990
|
+
attachmentIds: string[];
|
|
991
|
+
sourceFilePath: string;
|
|
992
|
+
sourceRenderMode: "markdown" | "text";
|
|
993
|
+
comment?: string | null | undefined;
|
|
994
|
+
})[], ({
|
|
995
|
+
start: number;
|
|
996
|
+
end: number;
|
|
997
|
+
id: string;
|
|
998
|
+
sourceMessageId: string;
|
|
999
|
+
surface: "assistant_body";
|
|
1000
|
+
selectedText: string;
|
|
1001
|
+
sourceConversationId: string;
|
|
1002
|
+
sourceHash: string;
|
|
1003
|
+
prefix: string;
|
|
1004
|
+
suffix: string;
|
|
1005
|
+
comment?: unknown;
|
|
1006
|
+
attachmentIds?: string[] | undefined;
|
|
1007
|
+
} | {
|
|
1008
|
+
start: number;
|
|
1009
|
+
end: number;
|
|
1010
|
+
generationId: string;
|
|
1011
|
+
generationSeqStart: number;
|
|
1012
|
+
generationSeqEnd: number;
|
|
1013
|
+
id: string;
|
|
1014
|
+
sourceMessageId: string;
|
|
1015
|
+
surface: "process_transcript";
|
|
1016
|
+
selectedText: string;
|
|
1017
|
+
sourceConversationId: string;
|
|
1018
|
+
sourceHash: string;
|
|
1019
|
+
prefix: string;
|
|
1020
|
+
suffix: string;
|
|
1021
|
+
transcriptKind: "assistant" | "thinking";
|
|
1022
|
+
comment?: unknown;
|
|
1023
|
+
attachmentIds?: string[] | undefined;
|
|
1024
|
+
} | {
|
|
1025
|
+
start: number;
|
|
1026
|
+
end: number;
|
|
1027
|
+
id: string;
|
|
1028
|
+
surface: "workspace_file";
|
|
1029
|
+
selectedText: string;
|
|
1030
|
+
sourceConversationId: string;
|
|
1031
|
+
sourceHash: string;
|
|
1032
|
+
prefix: string;
|
|
1033
|
+
suffix: string;
|
|
1034
|
+
sourceFilePath: string;
|
|
1035
|
+
sourceLibraryEntryId: string | null;
|
|
1036
|
+
sourceRenderMode: "markdown" | "text";
|
|
1037
|
+
comment?: unknown;
|
|
1038
|
+
attachmentIds?: string[] | undefined;
|
|
1039
|
+
} | {
|
|
1040
|
+
start: number;
|
|
1041
|
+
end: number;
|
|
1042
|
+
id: string;
|
|
1043
|
+
surface: "local_file";
|
|
1044
|
+
selectedText: string;
|
|
1045
|
+
sourceConversationId: string;
|
|
1046
|
+
sourceHash: string;
|
|
1047
|
+
prefix: string;
|
|
1048
|
+
suffix: string;
|
|
1049
|
+
sourceFilePath: string;
|
|
1050
|
+
sourceRenderMode: "markdown" | "text";
|
|
1051
|
+
comment?: unknown;
|
|
1052
|
+
attachmentIds?: string[] | undefined;
|
|
1053
|
+
})[]>;
|
|
1054
|
+
export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"surface", [z.ZodObject<{
|
|
1055
|
+
surface: z.ZodLiteral<"assistant_body">;
|
|
1056
|
+
sourceMessageId: z.ZodString;
|
|
1057
|
+
id: z.ZodString;
|
|
1058
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1059
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1060
|
+
sourceConversationId: z.ZodString;
|
|
1061
|
+
sourceHash: z.ZodString;
|
|
1062
|
+
start: z.ZodNumber;
|
|
1063
|
+
end: z.ZodNumber;
|
|
1064
|
+
prefix: z.ZodString;
|
|
1065
|
+
suffix: z.ZodString;
|
|
1066
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
562
1067
|
} & {
|
|
563
1068
|
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
564
1069
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -591,6 +1096,7 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
591
1096
|
attachmentFileIndexes?: number[] | undefined;
|
|
592
1097
|
}>, z.ZodObject<{
|
|
593
1098
|
surface: z.ZodLiteral<"process_transcript">;
|
|
1099
|
+
sourceMessageId: z.ZodString;
|
|
594
1100
|
transcriptKind: z.ZodEnum<["thinking", "assistant"]>;
|
|
595
1101
|
generationId: z.ZodString;
|
|
596
1102
|
generationSeqStart: z.ZodNumber;
|
|
@@ -599,7 +1105,6 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
599
1105
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
600
1106
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
601
1107
|
sourceConversationId: z.ZodString;
|
|
602
|
-
sourceMessageId: z.ZodString;
|
|
603
1108
|
sourceHash: z.ZodString;
|
|
604
1109
|
start: z.ZodNumber;
|
|
605
1110
|
end: z.ZodNumber;
|
|
@@ -644,6 +1149,101 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
644
1149
|
comment?: unknown;
|
|
645
1150
|
attachmentIds?: string[] | undefined;
|
|
646
1151
|
attachmentFileIndexes?: number[] | undefined;
|
|
1152
|
+
}>, z.ZodObject<{
|
|
1153
|
+
surface: z.ZodLiteral<"workspace_file">;
|
|
1154
|
+
sourceFilePath: z.ZodString;
|
|
1155
|
+
sourceLibraryEntryId: z.ZodNullable<z.ZodString>;
|
|
1156
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
1157
|
+
id: z.ZodString;
|
|
1158
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1159
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1160
|
+
sourceConversationId: z.ZodString;
|
|
1161
|
+
sourceHash: z.ZodString;
|
|
1162
|
+
start: z.ZodNumber;
|
|
1163
|
+
end: z.ZodNumber;
|
|
1164
|
+
prefix: z.ZodString;
|
|
1165
|
+
suffix: z.ZodString;
|
|
1166
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1167
|
+
} & {
|
|
1168
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1169
|
+
}, "strict", z.ZodTypeAny, {
|
|
1170
|
+
start: number;
|
|
1171
|
+
end: number;
|
|
1172
|
+
id: string;
|
|
1173
|
+
surface: "workspace_file";
|
|
1174
|
+
selectedText: string;
|
|
1175
|
+
sourceConversationId: string;
|
|
1176
|
+
sourceHash: string;
|
|
1177
|
+
prefix: string;
|
|
1178
|
+
suffix: string;
|
|
1179
|
+
attachmentIds: string[];
|
|
1180
|
+
sourceFilePath: string;
|
|
1181
|
+
sourceLibraryEntryId: string | null;
|
|
1182
|
+
sourceRenderMode: "markdown" | "text";
|
|
1183
|
+
comment?: string | null | undefined;
|
|
1184
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1185
|
+
}, {
|
|
1186
|
+
start: number;
|
|
1187
|
+
end: number;
|
|
1188
|
+
id: string;
|
|
1189
|
+
surface: "workspace_file";
|
|
1190
|
+
selectedText: string;
|
|
1191
|
+
sourceConversationId: string;
|
|
1192
|
+
sourceHash: string;
|
|
1193
|
+
prefix: string;
|
|
1194
|
+
suffix: string;
|
|
1195
|
+
sourceFilePath: string;
|
|
1196
|
+
sourceLibraryEntryId: string | null;
|
|
1197
|
+
sourceRenderMode: "markdown" | "text";
|
|
1198
|
+
comment?: unknown;
|
|
1199
|
+
attachmentIds?: string[] | undefined;
|
|
1200
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1201
|
+
}>, z.ZodObject<{
|
|
1202
|
+
surface: z.ZodLiteral<"local_file">;
|
|
1203
|
+
sourceFilePath: z.ZodString;
|
|
1204
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
1205
|
+
id: z.ZodString;
|
|
1206
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1207
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1208
|
+
sourceConversationId: z.ZodString;
|
|
1209
|
+
sourceHash: z.ZodString;
|
|
1210
|
+
start: z.ZodNumber;
|
|
1211
|
+
end: z.ZodNumber;
|
|
1212
|
+
prefix: z.ZodString;
|
|
1213
|
+
suffix: z.ZodString;
|
|
1214
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1215
|
+
} & {
|
|
1216
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1217
|
+
}, "strict", z.ZodTypeAny, {
|
|
1218
|
+
start: number;
|
|
1219
|
+
end: number;
|
|
1220
|
+
id: string;
|
|
1221
|
+
surface: "local_file";
|
|
1222
|
+
selectedText: string;
|
|
1223
|
+
sourceConversationId: string;
|
|
1224
|
+
sourceHash: string;
|
|
1225
|
+
prefix: string;
|
|
1226
|
+
suffix: string;
|
|
1227
|
+
attachmentIds: string[];
|
|
1228
|
+
sourceFilePath: string;
|
|
1229
|
+
sourceRenderMode: "markdown" | "text";
|
|
1230
|
+
comment?: string | null | undefined;
|
|
1231
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1232
|
+
}, {
|
|
1233
|
+
start: number;
|
|
1234
|
+
end: number;
|
|
1235
|
+
id: string;
|
|
1236
|
+
surface: "local_file";
|
|
1237
|
+
selectedText: string;
|
|
1238
|
+
sourceConversationId: string;
|
|
1239
|
+
sourceHash: string;
|
|
1240
|
+
prefix: string;
|
|
1241
|
+
suffix: string;
|
|
1242
|
+
sourceFilePath: string;
|
|
1243
|
+
sourceRenderMode: "markdown" | "text";
|
|
1244
|
+
comment?: unknown;
|
|
1245
|
+
attachmentIds?: string[] | undefined;
|
|
1246
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
647
1247
|
}>]>, {
|
|
648
1248
|
start: number;
|
|
649
1249
|
end: number;
|
|
@@ -676,6 +1276,37 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
676
1276
|
transcriptKind: "assistant" | "thinking";
|
|
677
1277
|
comment?: string | null | undefined;
|
|
678
1278
|
attachmentFileIndexes?: number[] | undefined;
|
|
1279
|
+
} | {
|
|
1280
|
+
start: number;
|
|
1281
|
+
end: number;
|
|
1282
|
+
id: string;
|
|
1283
|
+
surface: "workspace_file";
|
|
1284
|
+
selectedText: string;
|
|
1285
|
+
sourceConversationId: string;
|
|
1286
|
+
sourceHash: string;
|
|
1287
|
+
prefix: string;
|
|
1288
|
+
suffix: string;
|
|
1289
|
+
attachmentIds: string[];
|
|
1290
|
+
sourceFilePath: string;
|
|
1291
|
+
sourceLibraryEntryId: string | null;
|
|
1292
|
+
sourceRenderMode: "markdown" | "text";
|
|
1293
|
+
comment?: string | null | undefined;
|
|
1294
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1295
|
+
} | {
|
|
1296
|
+
start: number;
|
|
1297
|
+
end: number;
|
|
1298
|
+
id: string;
|
|
1299
|
+
surface: "local_file";
|
|
1300
|
+
selectedText: string;
|
|
1301
|
+
sourceConversationId: string;
|
|
1302
|
+
sourceHash: string;
|
|
1303
|
+
prefix: string;
|
|
1304
|
+
suffix: string;
|
|
1305
|
+
attachmentIds: string[];
|
|
1306
|
+
sourceFilePath: string;
|
|
1307
|
+
sourceRenderMode: "markdown" | "text";
|
|
1308
|
+
comment?: string | null | undefined;
|
|
1309
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
679
1310
|
}, {
|
|
680
1311
|
start: number;
|
|
681
1312
|
end: number;
|
|
@@ -708,6 +1339,37 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
708
1339
|
comment?: unknown;
|
|
709
1340
|
attachmentIds?: string[] | undefined;
|
|
710
1341
|
attachmentFileIndexes?: number[] | undefined;
|
|
1342
|
+
} | {
|
|
1343
|
+
start: number;
|
|
1344
|
+
end: number;
|
|
1345
|
+
id: string;
|
|
1346
|
+
surface: "workspace_file";
|
|
1347
|
+
selectedText: string;
|
|
1348
|
+
sourceConversationId: string;
|
|
1349
|
+
sourceHash: string;
|
|
1350
|
+
prefix: string;
|
|
1351
|
+
suffix: string;
|
|
1352
|
+
sourceFilePath: string;
|
|
1353
|
+
sourceLibraryEntryId: string | null;
|
|
1354
|
+
sourceRenderMode: "markdown" | "text";
|
|
1355
|
+
comment?: unknown;
|
|
1356
|
+
attachmentIds?: string[] | undefined;
|
|
1357
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1358
|
+
} | {
|
|
1359
|
+
start: number;
|
|
1360
|
+
end: number;
|
|
1361
|
+
id: string;
|
|
1362
|
+
surface: "local_file";
|
|
1363
|
+
selectedText: string;
|
|
1364
|
+
sourceConversationId: string;
|
|
1365
|
+
sourceHash: string;
|
|
1366
|
+
prefix: string;
|
|
1367
|
+
suffix: string;
|
|
1368
|
+
sourceFilePath: string;
|
|
1369
|
+
sourceRenderMode: "markdown" | "text";
|
|
1370
|
+
comment?: unknown;
|
|
1371
|
+
attachmentIds?: string[] | undefined;
|
|
1372
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
711
1373
|
}>, "many">, ({
|
|
712
1374
|
start: number;
|
|
713
1375
|
end: number;
|
|
@@ -740,6 +1402,37 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
740
1402
|
transcriptKind: "assistant" | "thinking";
|
|
741
1403
|
comment?: string | null | undefined;
|
|
742
1404
|
attachmentFileIndexes?: number[] | undefined;
|
|
1405
|
+
} | {
|
|
1406
|
+
start: number;
|
|
1407
|
+
end: number;
|
|
1408
|
+
id: string;
|
|
1409
|
+
surface: "workspace_file";
|
|
1410
|
+
selectedText: string;
|
|
1411
|
+
sourceConversationId: string;
|
|
1412
|
+
sourceHash: string;
|
|
1413
|
+
prefix: string;
|
|
1414
|
+
suffix: string;
|
|
1415
|
+
attachmentIds: string[];
|
|
1416
|
+
sourceFilePath: string;
|
|
1417
|
+
sourceLibraryEntryId: string | null;
|
|
1418
|
+
sourceRenderMode: "markdown" | "text";
|
|
1419
|
+
comment?: string | null | undefined;
|
|
1420
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1421
|
+
} | {
|
|
1422
|
+
start: number;
|
|
1423
|
+
end: number;
|
|
1424
|
+
id: string;
|
|
1425
|
+
surface: "local_file";
|
|
1426
|
+
selectedText: string;
|
|
1427
|
+
sourceConversationId: string;
|
|
1428
|
+
sourceHash: string;
|
|
1429
|
+
prefix: string;
|
|
1430
|
+
suffix: string;
|
|
1431
|
+
attachmentIds: string[];
|
|
1432
|
+
sourceFilePath: string;
|
|
1433
|
+
sourceRenderMode: "markdown" | "text";
|
|
1434
|
+
comment?: string | null | undefined;
|
|
1435
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
743
1436
|
})[], ({
|
|
744
1437
|
start: number;
|
|
745
1438
|
end: number;
|
|
@@ -772,6 +1465,37 @@ export declare const chatInlineAnnotationsInputSchema: z.ZodEffects<z.ZodArray<z
|
|
|
772
1465
|
comment?: unknown;
|
|
773
1466
|
attachmentIds?: string[] | undefined;
|
|
774
1467
|
attachmentFileIndexes?: number[] | undefined;
|
|
1468
|
+
} | {
|
|
1469
|
+
start: number;
|
|
1470
|
+
end: number;
|
|
1471
|
+
id: string;
|
|
1472
|
+
surface: "workspace_file";
|
|
1473
|
+
selectedText: string;
|
|
1474
|
+
sourceConversationId: string;
|
|
1475
|
+
sourceHash: string;
|
|
1476
|
+
prefix: string;
|
|
1477
|
+
suffix: string;
|
|
1478
|
+
sourceFilePath: string;
|
|
1479
|
+
sourceLibraryEntryId: string | null;
|
|
1480
|
+
sourceRenderMode: "markdown" | "text";
|
|
1481
|
+
comment?: unknown;
|
|
1482
|
+
attachmentIds?: string[] | undefined;
|
|
1483
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1484
|
+
} | {
|
|
1485
|
+
start: number;
|
|
1486
|
+
end: number;
|
|
1487
|
+
id: string;
|
|
1488
|
+
surface: "local_file";
|
|
1489
|
+
selectedText: string;
|
|
1490
|
+
sourceConversationId: string;
|
|
1491
|
+
sourceHash: string;
|
|
1492
|
+
prefix: string;
|
|
1493
|
+
suffix: string;
|
|
1494
|
+
sourceFilePath: string;
|
|
1495
|
+
sourceRenderMode: "markdown" | "text";
|
|
1496
|
+
comment?: unknown;
|
|
1497
|
+
attachmentIds?: string[] | undefined;
|
|
1498
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
775
1499
|
})[]>;
|
|
776
1500
|
export declare function normalizeChatInlineAnnotations(annotations: readonly ChatInlineAnnotationInput[]): ChatInlineAnnotation[];
|
|
777
1501
|
export declare const createChatContextLinkSchema: z.ZodObject<{
|
|
@@ -1052,11 +1776,111 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1052
1776
|
body: z.ZodDefault<z.ZodString>;
|
|
1053
1777
|
inlineAnnotations: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"surface", [z.ZodObject<{
|
|
1054
1778
|
surface: z.ZodLiteral<"assistant_body">;
|
|
1779
|
+
sourceMessageId: z.ZodString;
|
|
1780
|
+
id: z.ZodString;
|
|
1781
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1782
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1783
|
+
sourceConversationId: z.ZodString;
|
|
1784
|
+
sourceHash: z.ZodString;
|
|
1785
|
+
start: z.ZodNumber;
|
|
1786
|
+
end: z.ZodNumber;
|
|
1787
|
+
prefix: z.ZodString;
|
|
1788
|
+
suffix: z.ZodString;
|
|
1789
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1790
|
+
} & {
|
|
1791
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1792
|
+
}, "strict", z.ZodTypeAny, {
|
|
1793
|
+
start: number;
|
|
1794
|
+
end: number;
|
|
1795
|
+
id: string;
|
|
1796
|
+
sourceMessageId: string;
|
|
1797
|
+
surface: "assistant_body";
|
|
1798
|
+
selectedText: string;
|
|
1799
|
+
sourceConversationId: string;
|
|
1800
|
+
sourceHash: string;
|
|
1801
|
+
prefix: string;
|
|
1802
|
+
suffix: string;
|
|
1803
|
+
attachmentIds: string[];
|
|
1804
|
+
comment?: string | null | undefined;
|
|
1805
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1806
|
+
}, {
|
|
1807
|
+
start: number;
|
|
1808
|
+
end: number;
|
|
1809
|
+
id: string;
|
|
1810
|
+
sourceMessageId: string;
|
|
1811
|
+
surface: "assistant_body";
|
|
1812
|
+
selectedText: string;
|
|
1813
|
+
sourceConversationId: string;
|
|
1814
|
+
sourceHash: string;
|
|
1815
|
+
prefix: string;
|
|
1816
|
+
suffix: string;
|
|
1817
|
+
comment?: unknown;
|
|
1818
|
+
attachmentIds?: string[] | undefined;
|
|
1819
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1820
|
+
}>, z.ZodObject<{
|
|
1821
|
+
surface: z.ZodLiteral<"process_transcript">;
|
|
1822
|
+
sourceMessageId: z.ZodString;
|
|
1823
|
+
transcriptKind: z.ZodEnum<["thinking", "assistant"]>;
|
|
1824
|
+
generationId: z.ZodString;
|
|
1825
|
+
generationSeqStart: z.ZodNumber;
|
|
1826
|
+
generationSeqEnd: z.ZodNumber;
|
|
1827
|
+
id: z.ZodString;
|
|
1828
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1829
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1830
|
+
sourceConversationId: z.ZodString;
|
|
1831
|
+
sourceHash: z.ZodString;
|
|
1832
|
+
start: z.ZodNumber;
|
|
1833
|
+
end: z.ZodNumber;
|
|
1834
|
+
prefix: z.ZodString;
|
|
1835
|
+
suffix: z.ZodString;
|
|
1836
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1837
|
+
} & {
|
|
1838
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1839
|
+
}, "strict", z.ZodTypeAny, {
|
|
1840
|
+
start: number;
|
|
1841
|
+
end: number;
|
|
1842
|
+
generationId: string;
|
|
1843
|
+
generationSeqStart: number;
|
|
1844
|
+
generationSeqEnd: number;
|
|
1845
|
+
id: string;
|
|
1846
|
+
sourceMessageId: string;
|
|
1847
|
+
surface: "process_transcript";
|
|
1848
|
+
selectedText: string;
|
|
1849
|
+
sourceConversationId: string;
|
|
1850
|
+
sourceHash: string;
|
|
1851
|
+
prefix: string;
|
|
1852
|
+
suffix: string;
|
|
1853
|
+
attachmentIds: string[];
|
|
1854
|
+
transcriptKind: "assistant" | "thinking";
|
|
1855
|
+
comment?: string | null | undefined;
|
|
1856
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1857
|
+
}, {
|
|
1858
|
+
start: number;
|
|
1859
|
+
end: number;
|
|
1860
|
+
generationId: string;
|
|
1861
|
+
generationSeqStart: number;
|
|
1862
|
+
generationSeqEnd: number;
|
|
1863
|
+
id: string;
|
|
1864
|
+
sourceMessageId: string;
|
|
1865
|
+
surface: "process_transcript";
|
|
1866
|
+
selectedText: string;
|
|
1867
|
+
sourceConversationId: string;
|
|
1868
|
+
sourceHash: string;
|
|
1869
|
+
prefix: string;
|
|
1870
|
+
suffix: string;
|
|
1871
|
+
transcriptKind: "assistant" | "thinking";
|
|
1872
|
+
comment?: unknown;
|
|
1873
|
+
attachmentIds?: string[] | undefined;
|
|
1874
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1875
|
+
}>, z.ZodObject<{
|
|
1876
|
+
surface: z.ZodLiteral<"workspace_file">;
|
|
1877
|
+
sourceFilePath: z.ZodString;
|
|
1878
|
+
sourceLibraryEntryId: z.ZodNullable<z.ZodString>;
|
|
1879
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
1055
1880
|
id: z.ZodString;
|
|
1056
1881
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1057
1882
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1058
1883
|
sourceConversationId: z.ZodString;
|
|
1059
|
-
sourceMessageId: z.ZodString;
|
|
1060
1884
|
sourceHash: z.ZodString;
|
|
1061
1885
|
start: z.ZodNumber;
|
|
1062
1886
|
end: z.ZodNumber;
|
|
@@ -1069,41 +1893,42 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1069
1893
|
start: number;
|
|
1070
1894
|
end: number;
|
|
1071
1895
|
id: string;
|
|
1072
|
-
|
|
1073
|
-
surface: "assistant_body";
|
|
1896
|
+
surface: "workspace_file";
|
|
1074
1897
|
selectedText: string;
|
|
1075
1898
|
sourceConversationId: string;
|
|
1076
1899
|
sourceHash: string;
|
|
1077
1900
|
prefix: string;
|
|
1078
1901
|
suffix: string;
|
|
1079
1902
|
attachmentIds: string[];
|
|
1903
|
+
sourceFilePath: string;
|
|
1904
|
+
sourceLibraryEntryId: string | null;
|
|
1905
|
+
sourceRenderMode: "markdown" | "text";
|
|
1080
1906
|
comment?: string | null | undefined;
|
|
1081
1907
|
attachmentFileIndexes?: number[] | undefined;
|
|
1082
1908
|
}, {
|
|
1083
1909
|
start: number;
|
|
1084
1910
|
end: number;
|
|
1085
1911
|
id: string;
|
|
1086
|
-
|
|
1087
|
-
surface: "assistant_body";
|
|
1912
|
+
surface: "workspace_file";
|
|
1088
1913
|
selectedText: string;
|
|
1089
1914
|
sourceConversationId: string;
|
|
1090
1915
|
sourceHash: string;
|
|
1091
1916
|
prefix: string;
|
|
1092
1917
|
suffix: string;
|
|
1918
|
+
sourceFilePath: string;
|
|
1919
|
+
sourceLibraryEntryId: string | null;
|
|
1920
|
+
sourceRenderMode: "markdown" | "text";
|
|
1093
1921
|
comment?: unknown;
|
|
1094
1922
|
attachmentIds?: string[] | undefined;
|
|
1095
1923
|
attachmentFileIndexes?: number[] | undefined;
|
|
1096
1924
|
}>, z.ZodObject<{
|
|
1097
|
-
surface: z.ZodLiteral<"
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
generationSeqStart: z.ZodNumber;
|
|
1101
|
-
generationSeqEnd: z.ZodNumber;
|
|
1925
|
+
surface: z.ZodLiteral<"local_file">;
|
|
1926
|
+
sourceFilePath: z.ZodString;
|
|
1927
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
1102
1928
|
id: z.ZodString;
|
|
1103
1929
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1104
1930
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1105
1931
|
sourceConversationId: z.ZodString;
|
|
1106
|
-
sourceMessageId: z.ZodString;
|
|
1107
1932
|
sourceHash: z.ZodString;
|
|
1108
1933
|
start: z.ZodNumber;
|
|
1109
1934
|
end: z.ZodNumber;
|
|
@@ -1113,6 +1938,50 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1113
1938
|
} & {
|
|
1114
1939
|
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
1115
1940
|
}, "strict", z.ZodTypeAny, {
|
|
1941
|
+
start: number;
|
|
1942
|
+
end: number;
|
|
1943
|
+
id: string;
|
|
1944
|
+
surface: "local_file";
|
|
1945
|
+
selectedText: string;
|
|
1946
|
+
sourceConversationId: string;
|
|
1947
|
+
sourceHash: string;
|
|
1948
|
+
prefix: string;
|
|
1949
|
+
suffix: string;
|
|
1950
|
+
attachmentIds: string[];
|
|
1951
|
+
sourceFilePath: string;
|
|
1952
|
+
sourceRenderMode: "markdown" | "text";
|
|
1953
|
+
comment?: string | null | undefined;
|
|
1954
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1955
|
+
}, {
|
|
1956
|
+
start: number;
|
|
1957
|
+
end: number;
|
|
1958
|
+
id: string;
|
|
1959
|
+
surface: "local_file";
|
|
1960
|
+
selectedText: string;
|
|
1961
|
+
sourceConversationId: string;
|
|
1962
|
+
sourceHash: string;
|
|
1963
|
+
prefix: string;
|
|
1964
|
+
suffix: string;
|
|
1965
|
+
sourceFilePath: string;
|
|
1966
|
+
sourceRenderMode: "markdown" | "text";
|
|
1967
|
+
comment?: unknown;
|
|
1968
|
+
attachmentIds?: string[] | undefined;
|
|
1969
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1970
|
+
}>]>, {
|
|
1971
|
+
start: number;
|
|
1972
|
+
end: number;
|
|
1973
|
+
id: string;
|
|
1974
|
+
sourceMessageId: string;
|
|
1975
|
+
surface: "assistant_body";
|
|
1976
|
+
selectedText: string;
|
|
1977
|
+
sourceConversationId: string;
|
|
1978
|
+
sourceHash: string;
|
|
1979
|
+
prefix: string;
|
|
1980
|
+
suffix: string;
|
|
1981
|
+
attachmentIds: string[];
|
|
1982
|
+
comment?: string | null | undefined;
|
|
1983
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1984
|
+
} | {
|
|
1116
1985
|
start: number;
|
|
1117
1986
|
end: number;
|
|
1118
1987
|
generationId: string;
|
|
@@ -1130,7 +1999,52 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1130
1999
|
transcriptKind: "assistant" | "thinking";
|
|
1131
2000
|
comment?: string | null | undefined;
|
|
1132
2001
|
attachmentFileIndexes?: number[] | undefined;
|
|
2002
|
+
} | {
|
|
2003
|
+
start: number;
|
|
2004
|
+
end: number;
|
|
2005
|
+
id: string;
|
|
2006
|
+
surface: "workspace_file";
|
|
2007
|
+
selectedText: string;
|
|
2008
|
+
sourceConversationId: string;
|
|
2009
|
+
sourceHash: string;
|
|
2010
|
+
prefix: string;
|
|
2011
|
+
suffix: string;
|
|
2012
|
+
attachmentIds: string[];
|
|
2013
|
+
sourceFilePath: string;
|
|
2014
|
+
sourceLibraryEntryId: string | null;
|
|
2015
|
+
sourceRenderMode: "markdown" | "text";
|
|
2016
|
+
comment?: string | null | undefined;
|
|
2017
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2018
|
+
} | {
|
|
2019
|
+
start: number;
|
|
2020
|
+
end: number;
|
|
2021
|
+
id: string;
|
|
2022
|
+
surface: "local_file";
|
|
2023
|
+
selectedText: string;
|
|
2024
|
+
sourceConversationId: string;
|
|
2025
|
+
sourceHash: string;
|
|
2026
|
+
prefix: string;
|
|
2027
|
+
suffix: string;
|
|
2028
|
+
attachmentIds: string[];
|
|
2029
|
+
sourceFilePath: string;
|
|
2030
|
+
sourceRenderMode: "markdown" | "text";
|
|
2031
|
+
comment?: string | null | undefined;
|
|
2032
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1133
2033
|
}, {
|
|
2034
|
+
start: number;
|
|
2035
|
+
end: number;
|
|
2036
|
+
id: string;
|
|
2037
|
+
sourceMessageId: string;
|
|
2038
|
+
surface: "assistant_body";
|
|
2039
|
+
selectedText: string;
|
|
2040
|
+
sourceConversationId: string;
|
|
2041
|
+
sourceHash: string;
|
|
2042
|
+
prefix: string;
|
|
2043
|
+
suffix: string;
|
|
2044
|
+
comment?: unknown;
|
|
2045
|
+
attachmentIds?: string[] | undefined;
|
|
2046
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2047
|
+
} | {
|
|
1134
2048
|
start: number;
|
|
1135
2049
|
end: number;
|
|
1136
2050
|
generationId: string;
|
|
@@ -1148,7 +2062,38 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1148
2062
|
comment?: unknown;
|
|
1149
2063
|
attachmentIds?: string[] | undefined;
|
|
1150
2064
|
attachmentFileIndexes?: number[] | undefined;
|
|
1151
|
-
}
|
|
2065
|
+
} | {
|
|
2066
|
+
start: number;
|
|
2067
|
+
end: number;
|
|
2068
|
+
id: string;
|
|
2069
|
+
surface: "workspace_file";
|
|
2070
|
+
selectedText: string;
|
|
2071
|
+
sourceConversationId: string;
|
|
2072
|
+
sourceHash: string;
|
|
2073
|
+
prefix: string;
|
|
2074
|
+
suffix: string;
|
|
2075
|
+
sourceFilePath: string;
|
|
2076
|
+
sourceLibraryEntryId: string | null;
|
|
2077
|
+
sourceRenderMode: "markdown" | "text";
|
|
2078
|
+
comment?: unknown;
|
|
2079
|
+
attachmentIds?: string[] | undefined;
|
|
2080
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2081
|
+
} | {
|
|
2082
|
+
start: number;
|
|
2083
|
+
end: number;
|
|
2084
|
+
id: string;
|
|
2085
|
+
surface: "local_file";
|
|
2086
|
+
selectedText: string;
|
|
2087
|
+
sourceConversationId: string;
|
|
2088
|
+
sourceHash: string;
|
|
2089
|
+
prefix: string;
|
|
2090
|
+
suffix: string;
|
|
2091
|
+
sourceFilePath: string;
|
|
2092
|
+
sourceRenderMode: "markdown" | "text";
|
|
2093
|
+
comment?: unknown;
|
|
2094
|
+
attachmentIds?: string[] | undefined;
|
|
2095
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2096
|
+
}>, "many">, ({
|
|
1152
2097
|
start: number;
|
|
1153
2098
|
end: number;
|
|
1154
2099
|
id: string;
|
|
@@ -1180,7 +2125,38 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1180
2125
|
transcriptKind: "assistant" | "thinking";
|
|
1181
2126
|
comment?: string | null | undefined;
|
|
1182
2127
|
attachmentFileIndexes?: number[] | undefined;
|
|
1183
|
-
}
|
|
2128
|
+
} | {
|
|
2129
|
+
start: number;
|
|
2130
|
+
end: number;
|
|
2131
|
+
id: string;
|
|
2132
|
+
surface: "workspace_file";
|
|
2133
|
+
selectedText: string;
|
|
2134
|
+
sourceConversationId: string;
|
|
2135
|
+
sourceHash: string;
|
|
2136
|
+
prefix: string;
|
|
2137
|
+
suffix: string;
|
|
2138
|
+
attachmentIds: string[];
|
|
2139
|
+
sourceFilePath: string;
|
|
2140
|
+
sourceLibraryEntryId: string | null;
|
|
2141
|
+
sourceRenderMode: "markdown" | "text";
|
|
2142
|
+
comment?: string | null | undefined;
|
|
2143
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2144
|
+
} | {
|
|
2145
|
+
start: number;
|
|
2146
|
+
end: number;
|
|
2147
|
+
id: string;
|
|
2148
|
+
surface: "local_file";
|
|
2149
|
+
selectedText: string;
|
|
2150
|
+
sourceConversationId: string;
|
|
2151
|
+
sourceHash: string;
|
|
2152
|
+
prefix: string;
|
|
2153
|
+
suffix: string;
|
|
2154
|
+
attachmentIds: string[];
|
|
2155
|
+
sourceFilePath: string;
|
|
2156
|
+
sourceRenderMode: "markdown" | "text";
|
|
2157
|
+
comment?: string | null | undefined;
|
|
2158
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2159
|
+
})[], ({
|
|
1184
2160
|
start: number;
|
|
1185
2161
|
end: number;
|
|
1186
2162
|
id: string;
|
|
@@ -1212,7 +2188,43 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1212
2188
|
comment?: unknown;
|
|
1213
2189
|
attachmentIds?: string[] | undefined;
|
|
1214
2190
|
attachmentFileIndexes?: number[] | undefined;
|
|
1215
|
-
}
|
|
2191
|
+
} | {
|
|
2192
|
+
start: number;
|
|
2193
|
+
end: number;
|
|
2194
|
+
id: string;
|
|
2195
|
+
surface: "workspace_file";
|
|
2196
|
+
selectedText: string;
|
|
2197
|
+
sourceConversationId: string;
|
|
2198
|
+
sourceHash: string;
|
|
2199
|
+
prefix: string;
|
|
2200
|
+
suffix: string;
|
|
2201
|
+
sourceFilePath: string;
|
|
2202
|
+
sourceLibraryEntryId: string | null;
|
|
2203
|
+
sourceRenderMode: "markdown" | "text";
|
|
2204
|
+
comment?: unknown;
|
|
2205
|
+
attachmentIds?: string[] | undefined;
|
|
2206
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2207
|
+
} | {
|
|
2208
|
+
start: number;
|
|
2209
|
+
end: number;
|
|
2210
|
+
id: string;
|
|
2211
|
+
surface: "local_file";
|
|
2212
|
+
selectedText: string;
|
|
2213
|
+
sourceConversationId: string;
|
|
2214
|
+
sourceHash: string;
|
|
2215
|
+
prefix: string;
|
|
2216
|
+
suffix: string;
|
|
2217
|
+
sourceFilePath: string;
|
|
2218
|
+
sourceRenderMode: "markdown" | "text";
|
|
2219
|
+
comment?: unknown;
|
|
2220
|
+
attachmentIds?: string[] | undefined;
|
|
2221
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2222
|
+
})[]>>;
|
|
2223
|
+
editUserMessageId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2224
|
+
queuedMessageId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2225
|
+
}, "strip", z.ZodTypeAny, {
|
|
2226
|
+
body: string;
|
|
2227
|
+
inlineAnnotations?: ({
|
|
1216
2228
|
start: number;
|
|
1217
2229
|
end: number;
|
|
1218
2230
|
id: string;
|
|
@@ -1244,7 +2256,43 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1244
2256
|
transcriptKind: "assistant" | "thinking";
|
|
1245
2257
|
comment?: string | null | undefined;
|
|
1246
2258
|
attachmentFileIndexes?: number[] | undefined;
|
|
1247
|
-
}
|
|
2259
|
+
} | {
|
|
2260
|
+
start: number;
|
|
2261
|
+
end: number;
|
|
2262
|
+
id: string;
|
|
2263
|
+
surface: "workspace_file";
|
|
2264
|
+
selectedText: string;
|
|
2265
|
+
sourceConversationId: string;
|
|
2266
|
+
sourceHash: string;
|
|
2267
|
+
prefix: string;
|
|
2268
|
+
suffix: string;
|
|
2269
|
+
attachmentIds: string[];
|
|
2270
|
+
sourceFilePath: string;
|
|
2271
|
+
sourceLibraryEntryId: string | null;
|
|
2272
|
+
sourceRenderMode: "markdown" | "text";
|
|
2273
|
+
comment?: string | null | undefined;
|
|
2274
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2275
|
+
} | {
|
|
2276
|
+
start: number;
|
|
2277
|
+
end: number;
|
|
2278
|
+
id: string;
|
|
2279
|
+
surface: "local_file";
|
|
2280
|
+
selectedText: string;
|
|
2281
|
+
sourceConversationId: string;
|
|
2282
|
+
sourceHash: string;
|
|
2283
|
+
prefix: string;
|
|
2284
|
+
suffix: string;
|
|
2285
|
+
attachmentIds: string[];
|
|
2286
|
+
sourceFilePath: string;
|
|
2287
|
+
sourceRenderMode: "markdown" | "text";
|
|
2288
|
+
comment?: string | null | undefined;
|
|
2289
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2290
|
+
})[] | undefined;
|
|
2291
|
+
editUserMessageId?: string | null | undefined;
|
|
2292
|
+
queuedMessageId?: string | null | undefined;
|
|
2293
|
+
}, {
|
|
2294
|
+
body?: string | undefined;
|
|
2295
|
+
inlineAnnotations?: ({
|
|
1248
2296
|
start: number;
|
|
1249
2297
|
end: number;
|
|
1250
2298
|
id: string;
|
|
@@ -1276,10 +2324,41 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1276
2324
|
comment?: unknown;
|
|
1277
2325
|
attachmentIds?: string[] | undefined;
|
|
1278
2326
|
attachmentFileIndexes?: number[] | undefined;
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
2327
|
+
} | {
|
|
2328
|
+
start: number;
|
|
2329
|
+
end: number;
|
|
2330
|
+
id: string;
|
|
2331
|
+
surface: "workspace_file";
|
|
2332
|
+
selectedText: string;
|
|
2333
|
+
sourceConversationId: string;
|
|
2334
|
+
sourceHash: string;
|
|
2335
|
+
prefix: string;
|
|
2336
|
+
suffix: string;
|
|
2337
|
+
sourceFilePath: string;
|
|
2338
|
+
sourceLibraryEntryId: string | null;
|
|
2339
|
+
sourceRenderMode: "markdown" | "text";
|
|
2340
|
+
comment?: unknown;
|
|
2341
|
+
attachmentIds?: string[] | undefined;
|
|
2342
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2343
|
+
} | {
|
|
2344
|
+
start: number;
|
|
2345
|
+
end: number;
|
|
2346
|
+
id: string;
|
|
2347
|
+
surface: "local_file";
|
|
2348
|
+
selectedText: string;
|
|
2349
|
+
sourceConversationId: string;
|
|
2350
|
+
sourceHash: string;
|
|
2351
|
+
prefix: string;
|
|
2352
|
+
suffix: string;
|
|
2353
|
+
sourceFilePath: string;
|
|
2354
|
+
sourceRenderMode: "markdown" | "text";
|
|
2355
|
+
comment?: unknown;
|
|
2356
|
+
attachmentIds?: string[] | undefined;
|
|
2357
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2358
|
+
})[] | undefined;
|
|
2359
|
+
editUserMessageId?: string | null | undefined;
|
|
2360
|
+
queuedMessageId?: string | null | undefined;
|
|
2361
|
+
}>, {
|
|
1283
2362
|
body: string;
|
|
1284
2363
|
inlineAnnotations?: ({
|
|
1285
2364
|
start: number;
|
|
@@ -1313,48 +2392,42 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1313
2392
|
transcriptKind: "assistant" | "thinking";
|
|
1314
2393
|
comment?: string | null | undefined;
|
|
1315
2394
|
attachmentFileIndexes?: number[] | undefined;
|
|
1316
|
-
}
|
|
1317
|
-
editUserMessageId?: string | null | undefined;
|
|
1318
|
-
queuedMessageId?: string | null | undefined;
|
|
1319
|
-
}, {
|
|
1320
|
-
body?: string | undefined;
|
|
1321
|
-
inlineAnnotations?: ({
|
|
2395
|
+
} | {
|
|
1322
2396
|
start: number;
|
|
1323
2397
|
end: number;
|
|
1324
2398
|
id: string;
|
|
1325
|
-
|
|
1326
|
-
surface: "assistant_body";
|
|
2399
|
+
surface: "workspace_file";
|
|
1327
2400
|
selectedText: string;
|
|
1328
2401
|
sourceConversationId: string;
|
|
1329
2402
|
sourceHash: string;
|
|
1330
2403
|
prefix: string;
|
|
1331
2404
|
suffix: string;
|
|
1332
|
-
|
|
1333
|
-
|
|
2405
|
+
attachmentIds: string[];
|
|
2406
|
+
sourceFilePath: string;
|
|
2407
|
+
sourceLibraryEntryId: string | null;
|
|
2408
|
+
sourceRenderMode: "markdown" | "text";
|
|
2409
|
+
comment?: string | null | undefined;
|
|
1334
2410
|
attachmentFileIndexes?: number[] | undefined;
|
|
1335
2411
|
} | {
|
|
1336
2412
|
start: number;
|
|
1337
2413
|
end: number;
|
|
1338
|
-
generationId: string;
|
|
1339
|
-
generationSeqStart: number;
|
|
1340
|
-
generationSeqEnd: number;
|
|
1341
2414
|
id: string;
|
|
1342
|
-
|
|
1343
|
-
surface: "process_transcript";
|
|
2415
|
+
surface: "local_file";
|
|
1344
2416
|
selectedText: string;
|
|
1345
2417
|
sourceConversationId: string;
|
|
1346
2418
|
sourceHash: string;
|
|
1347
2419
|
prefix: string;
|
|
1348
2420
|
suffix: string;
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
2421
|
+
attachmentIds: string[];
|
|
2422
|
+
sourceFilePath: string;
|
|
2423
|
+
sourceRenderMode: "markdown" | "text";
|
|
2424
|
+
comment?: string | null | undefined;
|
|
1352
2425
|
attachmentFileIndexes?: number[] | undefined;
|
|
1353
2426
|
})[] | undefined;
|
|
1354
2427
|
editUserMessageId?: string | null | undefined;
|
|
1355
2428
|
queuedMessageId?: string | null | undefined;
|
|
1356
|
-
}
|
|
1357
|
-
body
|
|
2429
|
+
}, {
|
|
2430
|
+
body?: string | undefined;
|
|
1358
2431
|
inlineAnnotations?: ({
|
|
1359
2432
|
start: number;
|
|
1360
2433
|
end: number;
|
|
@@ -1366,8 +2439,8 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1366
2439
|
sourceHash: string;
|
|
1367
2440
|
prefix: string;
|
|
1368
2441
|
suffix: string;
|
|
1369
|
-
|
|
1370
|
-
|
|
2442
|
+
comment?: unknown;
|
|
2443
|
+
attachmentIds?: string[] | undefined;
|
|
1371
2444
|
attachmentFileIndexes?: number[] | undefined;
|
|
1372
2445
|
} | {
|
|
1373
2446
|
start: number;
|
|
@@ -1383,44 +2456,38 @@ export declare const addChatMessageSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1383
2456
|
sourceHash: string;
|
|
1384
2457
|
prefix: string;
|
|
1385
2458
|
suffix: string;
|
|
1386
|
-
attachmentIds: string[];
|
|
1387
2459
|
transcriptKind: "assistant" | "thinking";
|
|
1388
|
-
comment?:
|
|
2460
|
+
comment?: unknown;
|
|
2461
|
+
attachmentIds?: string[] | undefined;
|
|
1389
2462
|
attachmentFileIndexes?: number[] | undefined;
|
|
1390
|
-
}
|
|
1391
|
-
editUserMessageId?: string | null | undefined;
|
|
1392
|
-
queuedMessageId?: string | null | undefined;
|
|
1393
|
-
}, {
|
|
1394
|
-
body?: string | undefined;
|
|
1395
|
-
inlineAnnotations?: ({
|
|
2463
|
+
} | {
|
|
1396
2464
|
start: number;
|
|
1397
2465
|
end: number;
|
|
1398
2466
|
id: string;
|
|
1399
|
-
|
|
1400
|
-
surface: "assistant_body";
|
|
2467
|
+
surface: "workspace_file";
|
|
1401
2468
|
selectedText: string;
|
|
1402
2469
|
sourceConversationId: string;
|
|
1403
2470
|
sourceHash: string;
|
|
1404
2471
|
prefix: string;
|
|
1405
2472
|
suffix: string;
|
|
2473
|
+
sourceFilePath: string;
|
|
2474
|
+
sourceLibraryEntryId: string | null;
|
|
2475
|
+
sourceRenderMode: "markdown" | "text";
|
|
1406
2476
|
comment?: unknown;
|
|
1407
2477
|
attachmentIds?: string[] | undefined;
|
|
1408
2478
|
attachmentFileIndexes?: number[] | undefined;
|
|
1409
2479
|
} | {
|
|
1410
2480
|
start: number;
|
|
1411
2481
|
end: number;
|
|
1412
|
-
generationId: string;
|
|
1413
|
-
generationSeqStart: number;
|
|
1414
|
-
generationSeqEnd: number;
|
|
1415
2482
|
id: string;
|
|
1416
|
-
|
|
1417
|
-
surface: "process_transcript";
|
|
2483
|
+
surface: "local_file";
|
|
1418
2484
|
selectedText: string;
|
|
1419
2485
|
sourceConversationId: string;
|
|
1420
2486
|
sourceHash: string;
|
|
1421
2487
|
prefix: string;
|
|
1422
2488
|
suffix: string;
|
|
1423
|
-
|
|
2489
|
+
sourceFilePath: string;
|
|
2490
|
+
sourceRenderMode: "markdown" | "text";
|
|
1424
2491
|
comment?: unknown;
|
|
1425
2492
|
attachmentIds?: string[] | undefined;
|
|
1426
2493
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -1433,11 +2500,11 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1433
2500
|
attachmentIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1434
2501
|
inlineAnnotations: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"surface", [z.ZodObject<{
|
|
1435
2502
|
surface: z.ZodLiteral<"assistant_body">;
|
|
2503
|
+
sourceMessageId: z.ZodString;
|
|
1436
2504
|
id: z.ZodString;
|
|
1437
2505
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1438
2506
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1439
2507
|
sourceConversationId: z.ZodString;
|
|
1440
|
-
sourceMessageId: z.ZodString;
|
|
1441
2508
|
sourceHash: z.ZodString;
|
|
1442
2509
|
start: z.ZodNumber;
|
|
1443
2510
|
end: z.ZodNumber;
|
|
@@ -1476,6 +2543,7 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1476
2543
|
attachmentFileIndexes?: number[] | undefined;
|
|
1477
2544
|
}>, z.ZodObject<{
|
|
1478
2545
|
surface: z.ZodLiteral<"process_transcript">;
|
|
2546
|
+
sourceMessageId: z.ZodString;
|
|
1479
2547
|
transcriptKind: z.ZodEnum<["thinking", "assistant"]>;
|
|
1480
2548
|
generationId: z.ZodString;
|
|
1481
2549
|
generationSeqStart: z.ZodNumber;
|
|
@@ -1484,7 +2552,6 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1484
2552
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1485
2553
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1486
2554
|
sourceConversationId: z.ZodString;
|
|
1487
|
-
sourceMessageId: z.ZodString;
|
|
1488
2555
|
sourceHash: z.ZodString;
|
|
1489
2556
|
start: z.ZodNumber;
|
|
1490
2557
|
end: z.ZodNumber;
|
|
@@ -1529,6 +2596,101 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1529
2596
|
comment?: unknown;
|
|
1530
2597
|
attachmentIds?: string[] | undefined;
|
|
1531
2598
|
attachmentFileIndexes?: number[] | undefined;
|
|
2599
|
+
}>, z.ZodObject<{
|
|
2600
|
+
surface: z.ZodLiteral<"workspace_file">;
|
|
2601
|
+
sourceFilePath: z.ZodString;
|
|
2602
|
+
sourceLibraryEntryId: z.ZodNullable<z.ZodString>;
|
|
2603
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
2604
|
+
id: z.ZodString;
|
|
2605
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
2606
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
2607
|
+
sourceConversationId: z.ZodString;
|
|
2608
|
+
sourceHash: z.ZodString;
|
|
2609
|
+
start: z.ZodNumber;
|
|
2610
|
+
end: z.ZodNumber;
|
|
2611
|
+
prefix: z.ZodString;
|
|
2612
|
+
suffix: z.ZodString;
|
|
2613
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2614
|
+
} & {
|
|
2615
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2616
|
+
}, "strict", z.ZodTypeAny, {
|
|
2617
|
+
start: number;
|
|
2618
|
+
end: number;
|
|
2619
|
+
id: string;
|
|
2620
|
+
surface: "workspace_file";
|
|
2621
|
+
selectedText: string;
|
|
2622
|
+
sourceConversationId: string;
|
|
2623
|
+
sourceHash: string;
|
|
2624
|
+
prefix: string;
|
|
2625
|
+
suffix: string;
|
|
2626
|
+
attachmentIds: string[];
|
|
2627
|
+
sourceFilePath: string;
|
|
2628
|
+
sourceLibraryEntryId: string | null;
|
|
2629
|
+
sourceRenderMode: "markdown" | "text";
|
|
2630
|
+
comment?: string | null | undefined;
|
|
2631
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2632
|
+
}, {
|
|
2633
|
+
start: number;
|
|
2634
|
+
end: number;
|
|
2635
|
+
id: string;
|
|
2636
|
+
surface: "workspace_file";
|
|
2637
|
+
selectedText: string;
|
|
2638
|
+
sourceConversationId: string;
|
|
2639
|
+
sourceHash: string;
|
|
2640
|
+
prefix: string;
|
|
2641
|
+
suffix: string;
|
|
2642
|
+
sourceFilePath: string;
|
|
2643
|
+
sourceLibraryEntryId: string | null;
|
|
2644
|
+
sourceRenderMode: "markdown" | "text";
|
|
2645
|
+
comment?: unknown;
|
|
2646
|
+
attachmentIds?: string[] | undefined;
|
|
2647
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2648
|
+
}>, z.ZodObject<{
|
|
2649
|
+
surface: z.ZodLiteral<"local_file">;
|
|
2650
|
+
sourceFilePath: z.ZodString;
|
|
2651
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
2652
|
+
id: z.ZodString;
|
|
2653
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
2654
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
2655
|
+
sourceConversationId: z.ZodString;
|
|
2656
|
+
sourceHash: z.ZodString;
|
|
2657
|
+
start: z.ZodNumber;
|
|
2658
|
+
end: z.ZodNumber;
|
|
2659
|
+
prefix: z.ZodString;
|
|
2660
|
+
suffix: z.ZodString;
|
|
2661
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
2662
|
+
} & {
|
|
2663
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
2664
|
+
}, "strict", z.ZodTypeAny, {
|
|
2665
|
+
start: number;
|
|
2666
|
+
end: number;
|
|
2667
|
+
id: string;
|
|
2668
|
+
surface: "local_file";
|
|
2669
|
+
selectedText: string;
|
|
2670
|
+
sourceConversationId: string;
|
|
2671
|
+
sourceHash: string;
|
|
2672
|
+
prefix: string;
|
|
2673
|
+
suffix: string;
|
|
2674
|
+
attachmentIds: string[];
|
|
2675
|
+
sourceFilePath: string;
|
|
2676
|
+
sourceRenderMode: "markdown" | "text";
|
|
2677
|
+
comment?: string | null | undefined;
|
|
2678
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2679
|
+
}, {
|
|
2680
|
+
start: number;
|
|
2681
|
+
end: number;
|
|
2682
|
+
id: string;
|
|
2683
|
+
surface: "local_file";
|
|
2684
|
+
selectedText: string;
|
|
2685
|
+
sourceConversationId: string;
|
|
2686
|
+
sourceHash: string;
|
|
2687
|
+
prefix: string;
|
|
2688
|
+
suffix: string;
|
|
2689
|
+
sourceFilePath: string;
|
|
2690
|
+
sourceRenderMode: "markdown" | "text";
|
|
2691
|
+
comment?: unknown;
|
|
2692
|
+
attachmentIds?: string[] | undefined;
|
|
2693
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1532
2694
|
}>]>, {
|
|
1533
2695
|
start: number;
|
|
1534
2696
|
end: number;
|
|
@@ -1561,6 +2723,37 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1561
2723
|
transcriptKind: "assistant" | "thinking";
|
|
1562
2724
|
comment?: string | null | undefined;
|
|
1563
2725
|
attachmentFileIndexes?: number[] | undefined;
|
|
2726
|
+
} | {
|
|
2727
|
+
start: number;
|
|
2728
|
+
end: number;
|
|
2729
|
+
id: string;
|
|
2730
|
+
surface: "workspace_file";
|
|
2731
|
+
selectedText: string;
|
|
2732
|
+
sourceConversationId: string;
|
|
2733
|
+
sourceHash: string;
|
|
2734
|
+
prefix: string;
|
|
2735
|
+
suffix: string;
|
|
2736
|
+
attachmentIds: string[];
|
|
2737
|
+
sourceFilePath: string;
|
|
2738
|
+
sourceLibraryEntryId: string | null;
|
|
2739
|
+
sourceRenderMode: "markdown" | "text";
|
|
2740
|
+
comment?: string | null | undefined;
|
|
2741
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2742
|
+
} | {
|
|
2743
|
+
start: number;
|
|
2744
|
+
end: number;
|
|
2745
|
+
id: string;
|
|
2746
|
+
surface: "local_file";
|
|
2747
|
+
selectedText: string;
|
|
2748
|
+
sourceConversationId: string;
|
|
2749
|
+
sourceHash: string;
|
|
2750
|
+
prefix: string;
|
|
2751
|
+
suffix: string;
|
|
2752
|
+
attachmentIds: string[];
|
|
2753
|
+
sourceFilePath: string;
|
|
2754
|
+
sourceRenderMode: "markdown" | "text";
|
|
2755
|
+
comment?: string | null | undefined;
|
|
2756
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1564
2757
|
}, {
|
|
1565
2758
|
start: number;
|
|
1566
2759
|
end: number;
|
|
@@ -1593,6 +2786,37 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1593
2786
|
comment?: unknown;
|
|
1594
2787
|
attachmentIds?: string[] | undefined;
|
|
1595
2788
|
attachmentFileIndexes?: number[] | undefined;
|
|
2789
|
+
} | {
|
|
2790
|
+
start: number;
|
|
2791
|
+
end: number;
|
|
2792
|
+
id: string;
|
|
2793
|
+
surface: "workspace_file";
|
|
2794
|
+
selectedText: string;
|
|
2795
|
+
sourceConversationId: string;
|
|
2796
|
+
sourceHash: string;
|
|
2797
|
+
prefix: string;
|
|
2798
|
+
suffix: string;
|
|
2799
|
+
sourceFilePath: string;
|
|
2800
|
+
sourceLibraryEntryId: string | null;
|
|
2801
|
+
sourceRenderMode: "markdown" | "text";
|
|
2802
|
+
comment?: unknown;
|
|
2803
|
+
attachmentIds?: string[] | undefined;
|
|
2804
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2805
|
+
} | {
|
|
2806
|
+
start: number;
|
|
2807
|
+
end: number;
|
|
2808
|
+
id: string;
|
|
2809
|
+
surface: "local_file";
|
|
2810
|
+
selectedText: string;
|
|
2811
|
+
sourceConversationId: string;
|
|
2812
|
+
sourceHash: string;
|
|
2813
|
+
prefix: string;
|
|
2814
|
+
suffix: string;
|
|
2815
|
+
sourceFilePath: string;
|
|
2816
|
+
sourceRenderMode: "markdown" | "text";
|
|
2817
|
+
comment?: unknown;
|
|
2818
|
+
attachmentIds?: string[] | undefined;
|
|
2819
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1596
2820
|
}>, "many">, ({
|
|
1597
2821
|
start: number;
|
|
1598
2822
|
end: number;
|
|
@@ -1625,6 +2849,37 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1625
2849
|
transcriptKind: "assistant" | "thinking";
|
|
1626
2850
|
comment?: string | null | undefined;
|
|
1627
2851
|
attachmentFileIndexes?: number[] | undefined;
|
|
2852
|
+
} | {
|
|
2853
|
+
start: number;
|
|
2854
|
+
end: number;
|
|
2855
|
+
id: string;
|
|
2856
|
+
surface: "workspace_file";
|
|
2857
|
+
selectedText: string;
|
|
2858
|
+
sourceConversationId: string;
|
|
2859
|
+
sourceHash: string;
|
|
2860
|
+
prefix: string;
|
|
2861
|
+
suffix: string;
|
|
2862
|
+
attachmentIds: string[];
|
|
2863
|
+
sourceFilePath: string;
|
|
2864
|
+
sourceLibraryEntryId: string | null;
|
|
2865
|
+
sourceRenderMode: "markdown" | "text";
|
|
2866
|
+
comment?: string | null | undefined;
|
|
2867
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2868
|
+
} | {
|
|
2869
|
+
start: number;
|
|
2870
|
+
end: number;
|
|
2871
|
+
id: string;
|
|
2872
|
+
surface: "local_file";
|
|
2873
|
+
selectedText: string;
|
|
2874
|
+
sourceConversationId: string;
|
|
2875
|
+
sourceHash: string;
|
|
2876
|
+
prefix: string;
|
|
2877
|
+
suffix: string;
|
|
2878
|
+
attachmentIds: string[];
|
|
2879
|
+
sourceFilePath: string;
|
|
2880
|
+
sourceRenderMode: "markdown" | "text";
|
|
2881
|
+
comment?: string | null | undefined;
|
|
2882
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1628
2883
|
})[], ({
|
|
1629
2884
|
start: number;
|
|
1630
2885
|
end: number;
|
|
@@ -1657,6 +2912,37 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1657
2912
|
comment?: unknown;
|
|
1658
2913
|
attachmentIds?: string[] | undefined;
|
|
1659
2914
|
attachmentFileIndexes?: number[] | undefined;
|
|
2915
|
+
} | {
|
|
2916
|
+
start: number;
|
|
2917
|
+
end: number;
|
|
2918
|
+
id: string;
|
|
2919
|
+
surface: "workspace_file";
|
|
2920
|
+
selectedText: string;
|
|
2921
|
+
sourceConversationId: string;
|
|
2922
|
+
sourceHash: string;
|
|
2923
|
+
prefix: string;
|
|
2924
|
+
suffix: string;
|
|
2925
|
+
sourceFilePath: string;
|
|
2926
|
+
sourceLibraryEntryId: string | null;
|
|
2927
|
+
sourceRenderMode: "markdown" | "text";
|
|
2928
|
+
comment?: unknown;
|
|
2929
|
+
attachmentIds?: string[] | undefined;
|
|
2930
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2931
|
+
} | {
|
|
2932
|
+
start: number;
|
|
2933
|
+
end: number;
|
|
2934
|
+
id: string;
|
|
2935
|
+
surface: "local_file";
|
|
2936
|
+
selectedText: string;
|
|
2937
|
+
sourceConversationId: string;
|
|
2938
|
+
sourceHash: string;
|
|
2939
|
+
prefix: string;
|
|
2940
|
+
suffix: string;
|
|
2941
|
+
sourceFilePath: string;
|
|
2942
|
+
sourceRenderMode: "markdown" | "text";
|
|
2943
|
+
comment?: unknown;
|
|
2944
|
+
attachmentIds?: string[] | undefined;
|
|
2945
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1660
2946
|
})[]>>>;
|
|
1661
2947
|
projectId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1662
2948
|
skillRefs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -1697,7 +2983,38 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1697
2983
|
prefix: string;
|
|
1698
2984
|
suffix: string;
|
|
1699
2985
|
attachmentIds: string[];
|
|
1700
|
-
transcriptKind: "assistant" | "thinking";
|
|
2986
|
+
transcriptKind: "assistant" | "thinking";
|
|
2987
|
+
comment?: string | null | undefined;
|
|
2988
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2989
|
+
} | {
|
|
2990
|
+
start: number;
|
|
2991
|
+
end: number;
|
|
2992
|
+
id: string;
|
|
2993
|
+
surface: "workspace_file";
|
|
2994
|
+
selectedText: string;
|
|
2995
|
+
sourceConversationId: string;
|
|
2996
|
+
sourceHash: string;
|
|
2997
|
+
prefix: string;
|
|
2998
|
+
suffix: string;
|
|
2999
|
+
attachmentIds: string[];
|
|
3000
|
+
sourceFilePath: string;
|
|
3001
|
+
sourceLibraryEntryId: string | null;
|
|
3002
|
+
sourceRenderMode: "markdown" | "text";
|
|
3003
|
+
comment?: string | null | undefined;
|
|
3004
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3005
|
+
} | {
|
|
3006
|
+
start: number;
|
|
3007
|
+
end: number;
|
|
3008
|
+
id: string;
|
|
3009
|
+
surface: "local_file";
|
|
3010
|
+
selectedText: string;
|
|
3011
|
+
sourceConversationId: string;
|
|
3012
|
+
sourceHash: string;
|
|
3013
|
+
prefix: string;
|
|
3014
|
+
suffix: string;
|
|
3015
|
+
attachmentIds: string[];
|
|
3016
|
+
sourceFilePath: string;
|
|
3017
|
+
sourceRenderMode: "markdown" | "text";
|
|
1701
3018
|
comment?: string | null | undefined;
|
|
1702
3019
|
attachmentFileIndexes?: number[] | undefined;
|
|
1703
3020
|
})[];
|
|
@@ -1748,6 +3065,37 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1748
3065
|
comment?: unknown;
|
|
1749
3066
|
attachmentIds?: string[] | undefined;
|
|
1750
3067
|
attachmentFileIndexes?: number[] | undefined;
|
|
3068
|
+
} | {
|
|
3069
|
+
start: number;
|
|
3070
|
+
end: number;
|
|
3071
|
+
id: string;
|
|
3072
|
+
surface: "workspace_file";
|
|
3073
|
+
selectedText: string;
|
|
3074
|
+
sourceConversationId: string;
|
|
3075
|
+
sourceHash: string;
|
|
3076
|
+
prefix: string;
|
|
3077
|
+
suffix: string;
|
|
3078
|
+
sourceFilePath: string;
|
|
3079
|
+
sourceLibraryEntryId: string | null;
|
|
3080
|
+
sourceRenderMode: "markdown" | "text";
|
|
3081
|
+
comment?: unknown;
|
|
3082
|
+
attachmentIds?: string[] | undefined;
|
|
3083
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3084
|
+
} | {
|
|
3085
|
+
start: number;
|
|
3086
|
+
end: number;
|
|
3087
|
+
id: string;
|
|
3088
|
+
surface: "local_file";
|
|
3089
|
+
selectedText: string;
|
|
3090
|
+
sourceConversationId: string;
|
|
3091
|
+
sourceHash: string;
|
|
3092
|
+
prefix: string;
|
|
3093
|
+
suffix: string;
|
|
3094
|
+
sourceFilePath: string;
|
|
3095
|
+
sourceRenderMode: "markdown" | "text";
|
|
3096
|
+
comment?: unknown;
|
|
3097
|
+
attachmentIds?: string[] | undefined;
|
|
3098
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1751
3099
|
})[] | undefined;
|
|
1752
3100
|
skillRefs?: string[] | undefined;
|
|
1753
3101
|
effort?: string | null | undefined;
|
|
@@ -1786,6 +3134,37 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1786
3134
|
transcriptKind: "assistant" | "thinking";
|
|
1787
3135
|
comment?: string | null | undefined;
|
|
1788
3136
|
attachmentFileIndexes?: number[] | undefined;
|
|
3137
|
+
} | {
|
|
3138
|
+
start: number;
|
|
3139
|
+
end: number;
|
|
3140
|
+
id: string;
|
|
3141
|
+
surface: "workspace_file";
|
|
3142
|
+
selectedText: string;
|
|
3143
|
+
sourceConversationId: string;
|
|
3144
|
+
sourceHash: string;
|
|
3145
|
+
prefix: string;
|
|
3146
|
+
suffix: string;
|
|
3147
|
+
attachmentIds: string[];
|
|
3148
|
+
sourceFilePath: string;
|
|
3149
|
+
sourceLibraryEntryId: string | null;
|
|
3150
|
+
sourceRenderMode: "markdown" | "text";
|
|
3151
|
+
comment?: string | null | undefined;
|
|
3152
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3153
|
+
} | {
|
|
3154
|
+
start: number;
|
|
3155
|
+
end: number;
|
|
3156
|
+
id: string;
|
|
3157
|
+
surface: "local_file";
|
|
3158
|
+
selectedText: string;
|
|
3159
|
+
sourceConversationId: string;
|
|
3160
|
+
sourceHash: string;
|
|
3161
|
+
prefix: string;
|
|
3162
|
+
suffix: string;
|
|
3163
|
+
attachmentIds: string[];
|
|
3164
|
+
sourceFilePath: string;
|
|
3165
|
+
sourceRenderMode: "markdown" | "text";
|
|
3166
|
+
comment?: string | null | undefined;
|
|
3167
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1789
3168
|
})[];
|
|
1790
3169
|
skillRefs: string[];
|
|
1791
3170
|
projectId?: string | null | undefined;
|
|
@@ -1834,6 +3213,37 @@ export declare const chatQueuedMessagePayloadSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1834
3213
|
comment?: unknown;
|
|
1835
3214
|
attachmentIds?: string[] | undefined;
|
|
1836
3215
|
attachmentFileIndexes?: number[] | undefined;
|
|
3216
|
+
} | {
|
|
3217
|
+
start: number;
|
|
3218
|
+
end: number;
|
|
3219
|
+
id: string;
|
|
3220
|
+
surface: "workspace_file";
|
|
3221
|
+
selectedText: string;
|
|
3222
|
+
sourceConversationId: string;
|
|
3223
|
+
sourceHash: string;
|
|
3224
|
+
prefix: string;
|
|
3225
|
+
suffix: string;
|
|
3226
|
+
sourceFilePath: string;
|
|
3227
|
+
sourceLibraryEntryId: string | null;
|
|
3228
|
+
sourceRenderMode: "markdown" | "text";
|
|
3229
|
+
comment?: unknown;
|
|
3230
|
+
attachmentIds?: string[] | undefined;
|
|
3231
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3232
|
+
} | {
|
|
3233
|
+
start: number;
|
|
3234
|
+
end: number;
|
|
3235
|
+
id: string;
|
|
3236
|
+
surface: "local_file";
|
|
3237
|
+
selectedText: string;
|
|
3238
|
+
sourceConversationId: string;
|
|
3239
|
+
sourceHash: string;
|
|
3240
|
+
prefix: string;
|
|
3241
|
+
suffix: string;
|
|
3242
|
+
sourceFilePath: string;
|
|
3243
|
+
sourceRenderMode: "markdown" | "text";
|
|
3244
|
+
comment?: unknown;
|
|
3245
|
+
attachmentIds?: string[] | undefined;
|
|
3246
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1837
3247
|
})[] | undefined;
|
|
1838
3248
|
skillRefs?: string[] | undefined;
|
|
1839
3249
|
effort?: string | null | undefined;
|
|
@@ -1846,11 +3256,11 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
1846
3256
|
attachmentIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1847
3257
|
inlineAnnotations: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"surface", [z.ZodObject<{
|
|
1848
3258
|
surface: z.ZodLiteral<"assistant_body">;
|
|
3259
|
+
sourceMessageId: z.ZodString;
|
|
1849
3260
|
id: z.ZodString;
|
|
1850
3261
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1851
3262
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1852
3263
|
sourceConversationId: z.ZodString;
|
|
1853
|
-
sourceMessageId: z.ZodString;
|
|
1854
3264
|
sourceHash: z.ZodString;
|
|
1855
3265
|
start: z.ZodNumber;
|
|
1856
3266
|
end: z.ZodNumber;
|
|
@@ -1889,6 +3299,7 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
1889
3299
|
attachmentFileIndexes?: number[] | undefined;
|
|
1890
3300
|
}>, z.ZodObject<{
|
|
1891
3301
|
surface: z.ZodLiteral<"process_transcript">;
|
|
3302
|
+
sourceMessageId: z.ZodString;
|
|
1892
3303
|
transcriptKind: z.ZodEnum<["thinking", "assistant"]>;
|
|
1893
3304
|
generationId: z.ZodString;
|
|
1894
3305
|
generationSeqStart: z.ZodNumber;
|
|
@@ -1897,7 +3308,6 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
1897
3308
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
1898
3309
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1899
3310
|
sourceConversationId: z.ZodString;
|
|
1900
|
-
sourceMessageId: z.ZodString;
|
|
1901
3311
|
sourceHash: z.ZodString;
|
|
1902
3312
|
start: z.ZodNumber;
|
|
1903
3313
|
end: z.ZodNumber;
|
|
@@ -1942,6 +3352,101 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
1942
3352
|
comment?: unknown;
|
|
1943
3353
|
attachmentIds?: string[] | undefined;
|
|
1944
3354
|
attachmentFileIndexes?: number[] | undefined;
|
|
3355
|
+
}>, z.ZodObject<{
|
|
3356
|
+
surface: z.ZodLiteral<"workspace_file">;
|
|
3357
|
+
sourceFilePath: z.ZodString;
|
|
3358
|
+
sourceLibraryEntryId: z.ZodNullable<z.ZodString>;
|
|
3359
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
3360
|
+
id: z.ZodString;
|
|
3361
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
3362
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
3363
|
+
sourceConversationId: z.ZodString;
|
|
3364
|
+
sourceHash: z.ZodString;
|
|
3365
|
+
start: z.ZodNumber;
|
|
3366
|
+
end: z.ZodNumber;
|
|
3367
|
+
prefix: z.ZodString;
|
|
3368
|
+
suffix: z.ZodString;
|
|
3369
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3370
|
+
} & {
|
|
3371
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
3372
|
+
}, "strict", z.ZodTypeAny, {
|
|
3373
|
+
start: number;
|
|
3374
|
+
end: number;
|
|
3375
|
+
id: string;
|
|
3376
|
+
surface: "workspace_file";
|
|
3377
|
+
selectedText: string;
|
|
3378
|
+
sourceConversationId: string;
|
|
3379
|
+
sourceHash: string;
|
|
3380
|
+
prefix: string;
|
|
3381
|
+
suffix: string;
|
|
3382
|
+
attachmentIds: string[];
|
|
3383
|
+
sourceFilePath: string;
|
|
3384
|
+
sourceLibraryEntryId: string | null;
|
|
3385
|
+
sourceRenderMode: "markdown" | "text";
|
|
3386
|
+
comment?: string | null | undefined;
|
|
3387
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3388
|
+
}, {
|
|
3389
|
+
start: number;
|
|
3390
|
+
end: number;
|
|
3391
|
+
id: string;
|
|
3392
|
+
surface: "workspace_file";
|
|
3393
|
+
selectedText: string;
|
|
3394
|
+
sourceConversationId: string;
|
|
3395
|
+
sourceHash: string;
|
|
3396
|
+
prefix: string;
|
|
3397
|
+
suffix: string;
|
|
3398
|
+
sourceFilePath: string;
|
|
3399
|
+
sourceLibraryEntryId: string | null;
|
|
3400
|
+
sourceRenderMode: "markdown" | "text";
|
|
3401
|
+
comment?: unknown;
|
|
3402
|
+
attachmentIds?: string[] | undefined;
|
|
3403
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3404
|
+
}>, z.ZodObject<{
|
|
3405
|
+
surface: z.ZodLiteral<"local_file">;
|
|
3406
|
+
sourceFilePath: z.ZodString;
|
|
3407
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
3408
|
+
id: z.ZodString;
|
|
3409
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
3410
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
3411
|
+
sourceConversationId: z.ZodString;
|
|
3412
|
+
sourceHash: z.ZodString;
|
|
3413
|
+
start: z.ZodNumber;
|
|
3414
|
+
end: z.ZodNumber;
|
|
3415
|
+
prefix: z.ZodString;
|
|
3416
|
+
suffix: z.ZodString;
|
|
3417
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
3418
|
+
} & {
|
|
3419
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
3420
|
+
}, "strict", z.ZodTypeAny, {
|
|
3421
|
+
start: number;
|
|
3422
|
+
end: number;
|
|
3423
|
+
id: string;
|
|
3424
|
+
surface: "local_file";
|
|
3425
|
+
selectedText: string;
|
|
3426
|
+
sourceConversationId: string;
|
|
3427
|
+
sourceHash: string;
|
|
3428
|
+
prefix: string;
|
|
3429
|
+
suffix: string;
|
|
3430
|
+
attachmentIds: string[];
|
|
3431
|
+
sourceFilePath: string;
|
|
3432
|
+
sourceRenderMode: "markdown" | "text";
|
|
3433
|
+
comment?: string | null | undefined;
|
|
3434
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3435
|
+
}, {
|
|
3436
|
+
start: number;
|
|
3437
|
+
end: number;
|
|
3438
|
+
id: string;
|
|
3439
|
+
surface: "local_file";
|
|
3440
|
+
selectedText: string;
|
|
3441
|
+
sourceConversationId: string;
|
|
3442
|
+
sourceHash: string;
|
|
3443
|
+
prefix: string;
|
|
3444
|
+
suffix: string;
|
|
3445
|
+
sourceFilePath: string;
|
|
3446
|
+
sourceRenderMode: "markdown" | "text";
|
|
3447
|
+
comment?: unknown;
|
|
3448
|
+
attachmentIds?: string[] | undefined;
|
|
3449
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1945
3450
|
}>]>, {
|
|
1946
3451
|
start: number;
|
|
1947
3452
|
end: number;
|
|
@@ -1974,6 +3479,37 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
1974
3479
|
transcriptKind: "assistant" | "thinking";
|
|
1975
3480
|
comment?: string | null | undefined;
|
|
1976
3481
|
attachmentFileIndexes?: number[] | undefined;
|
|
3482
|
+
} | {
|
|
3483
|
+
start: number;
|
|
3484
|
+
end: number;
|
|
3485
|
+
id: string;
|
|
3486
|
+
surface: "workspace_file";
|
|
3487
|
+
selectedText: string;
|
|
3488
|
+
sourceConversationId: string;
|
|
3489
|
+
sourceHash: string;
|
|
3490
|
+
prefix: string;
|
|
3491
|
+
suffix: string;
|
|
3492
|
+
attachmentIds: string[];
|
|
3493
|
+
sourceFilePath: string;
|
|
3494
|
+
sourceLibraryEntryId: string | null;
|
|
3495
|
+
sourceRenderMode: "markdown" | "text";
|
|
3496
|
+
comment?: string | null | undefined;
|
|
3497
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3498
|
+
} | {
|
|
3499
|
+
start: number;
|
|
3500
|
+
end: number;
|
|
3501
|
+
id: string;
|
|
3502
|
+
surface: "local_file";
|
|
3503
|
+
selectedText: string;
|
|
3504
|
+
sourceConversationId: string;
|
|
3505
|
+
sourceHash: string;
|
|
3506
|
+
prefix: string;
|
|
3507
|
+
suffix: string;
|
|
3508
|
+
attachmentIds: string[];
|
|
3509
|
+
sourceFilePath: string;
|
|
3510
|
+
sourceRenderMode: "markdown" | "text";
|
|
3511
|
+
comment?: string | null | undefined;
|
|
3512
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
1977
3513
|
}, {
|
|
1978
3514
|
start: number;
|
|
1979
3515
|
end: number;
|
|
@@ -2002,11 +3538,105 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2002
3538
|
sourceHash: string;
|
|
2003
3539
|
prefix: string;
|
|
2004
3540
|
suffix: string;
|
|
2005
|
-
transcriptKind: "assistant" | "thinking";
|
|
2006
|
-
comment?: unknown;
|
|
2007
|
-
attachmentIds?: string[] | undefined;
|
|
3541
|
+
transcriptKind: "assistant" | "thinking";
|
|
3542
|
+
comment?: unknown;
|
|
3543
|
+
attachmentIds?: string[] | undefined;
|
|
3544
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3545
|
+
} | {
|
|
3546
|
+
start: number;
|
|
3547
|
+
end: number;
|
|
3548
|
+
id: string;
|
|
3549
|
+
surface: "workspace_file";
|
|
3550
|
+
selectedText: string;
|
|
3551
|
+
sourceConversationId: string;
|
|
3552
|
+
sourceHash: string;
|
|
3553
|
+
prefix: string;
|
|
3554
|
+
suffix: string;
|
|
3555
|
+
sourceFilePath: string;
|
|
3556
|
+
sourceLibraryEntryId: string | null;
|
|
3557
|
+
sourceRenderMode: "markdown" | "text";
|
|
3558
|
+
comment?: unknown;
|
|
3559
|
+
attachmentIds?: string[] | undefined;
|
|
3560
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3561
|
+
} | {
|
|
3562
|
+
start: number;
|
|
3563
|
+
end: number;
|
|
3564
|
+
id: string;
|
|
3565
|
+
surface: "local_file";
|
|
3566
|
+
selectedText: string;
|
|
3567
|
+
sourceConversationId: string;
|
|
3568
|
+
sourceHash: string;
|
|
3569
|
+
prefix: string;
|
|
3570
|
+
suffix: string;
|
|
3571
|
+
sourceFilePath: string;
|
|
3572
|
+
sourceRenderMode: "markdown" | "text";
|
|
3573
|
+
comment?: unknown;
|
|
3574
|
+
attachmentIds?: string[] | undefined;
|
|
3575
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3576
|
+
}>, "many">, ({
|
|
3577
|
+
start: number;
|
|
3578
|
+
end: number;
|
|
3579
|
+
id: string;
|
|
3580
|
+
sourceMessageId: string;
|
|
3581
|
+
surface: "assistant_body";
|
|
3582
|
+
selectedText: string;
|
|
3583
|
+
sourceConversationId: string;
|
|
3584
|
+
sourceHash: string;
|
|
3585
|
+
prefix: string;
|
|
3586
|
+
suffix: string;
|
|
3587
|
+
attachmentIds: string[];
|
|
3588
|
+
comment?: string | null | undefined;
|
|
3589
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3590
|
+
} | {
|
|
3591
|
+
start: number;
|
|
3592
|
+
end: number;
|
|
3593
|
+
generationId: string;
|
|
3594
|
+
generationSeqStart: number;
|
|
3595
|
+
generationSeqEnd: number;
|
|
3596
|
+
id: string;
|
|
3597
|
+
sourceMessageId: string;
|
|
3598
|
+
surface: "process_transcript";
|
|
3599
|
+
selectedText: string;
|
|
3600
|
+
sourceConversationId: string;
|
|
3601
|
+
sourceHash: string;
|
|
3602
|
+
prefix: string;
|
|
3603
|
+
suffix: string;
|
|
3604
|
+
attachmentIds: string[];
|
|
3605
|
+
transcriptKind: "assistant" | "thinking";
|
|
3606
|
+
comment?: string | null | undefined;
|
|
3607
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3608
|
+
} | {
|
|
3609
|
+
start: number;
|
|
3610
|
+
end: number;
|
|
3611
|
+
id: string;
|
|
3612
|
+
surface: "workspace_file";
|
|
3613
|
+
selectedText: string;
|
|
3614
|
+
sourceConversationId: string;
|
|
3615
|
+
sourceHash: string;
|
|
3616
|
+
prefix: string;
|
|
3617
|
+
suffix: string;
|
|
3618
|
+
attachmentIds: string[];
|
|
3619
|
+
sourceFilePath: string;
|
|
3620
|
+
sourceLibraryEntryId: string | null;
|
|
3621
|
+
sourceRenderMode: "markdown" | "text";
|
|
3622
|
+
comment?: string | null | undefined;
|
|
3623
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3624
|
+
} | {
|
|
3625
|
+
start: number;
|
|
3626
|
+
end: number;
|
|
3627
|
+
id: string;
|
|
3628
|
+
surface: "local_file";
|
|
3629
|
+
selectedText: string;
|
|
3630
|
+
sourceConversationId: string;
|
|
3631
|
+
sourceHash: string;
|
|
3632
|
+
prefix: string;
|
|
3633
|
+
suffix: string;
|
|
3634
|
+
attachmentIds: string[];
|
|
3635
|
+
sourceFilePath: string;
|
|
3636
|
+
sourceRenderMode: "markdown" | "text";
|
|
3637
|
+
comment?: string | null | undefined;
|
|
2008
3638
|
attachmentFileIndexes?: number[] | undefined;
|
|
2009
|
-
}
|
|
3639
|
+
})[], ({
|
|
2010
3640
|
start: number;
|
|
2011
3641
|
end: number;
|
|
2012
3642
|
id: string;
|
|
@@ -2017,8 +3647,8 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2017
3647
|
sourceHash: string;
|
|
2018
3648
|
prefix: string;
|
|
2019
3649
|
suffix: string;
|
|
2020
|
-
|
|
2021
|
-
|
|
3650
|
+
comment?: unknown;
|
|
3651
|
+
attachmentIds?: string[] | undefined;
|
|
2022
3652
|
attachmentFileIndexes?: number[] | undefined;
|
|
2023
3653
|
} | {
|
|
2024
3654
|
start: number;
|
|
@@ -2034,39 +3664,38 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2034
3664
|
sourceHash: string;
|
|
2035
3665
|
prefix: string;
|
|
2036
3666
|
suffix: string;
|
|
2037
|
-
attachmentIds: string[];
|
|
2038
3667
|
transcriptKind: "assistant" | "thinking";
|
|
2039
|
-
comment?:
|
|
3668
|
+
comment?: unknown;
|
|
3669
|
+
attachmentIds?: string[] | undefined;
|
|
2040
3670
|
attachmentFileIndexes?: number[] | undefined;
|
|
2041
|
-
}
|
|
3671
|
+
} | {
|
|
2042
3672
|
start: number;
|
|
2043
3673
|
end: number;
|
|
2044
3674
|
id: string;
|
|
2045
|
-
|
|
2046
|
-
surface: "assistant_body";
|
|
3675
|
+
surface: "workspace_file";
|
|
2047
3676
|
selectedText: string;
|
|
2048
3677
|
sourceConversationId: string;
|
|
2049
3678
|
sourceHash: string;
|
|
2050
3679
|
prefix: string;
|
|
2051
3680
|
suffix: string;
|
|
3681
|
+
sourceFilePath: string;
|
|
3682
|
+
sourceLibraryEntryId: string | null;
|
|
3683
|
+
sourceRenderMode: "markdown" | "text";
|
|
2052
3684
|
comment?: unknown;
|
|
2053
3685
|
attachmentIds?: string[] | undefined;
|
|
2054
3686
|
attachmentFileIndexes?: number[] | undefined;
|
|
2055
3687
|
} | {
|
|
2056
3688
|
start: number;
|
|
2057
3689
|
end: number;
|
|
2058
|
-
generationId: string;
|
|
2059
|
-
generationSeqStart: number;
|
|
2060
|
-
generationSeqEnd: number;
|
|
2061
3690
|
id: string;
|
|
2062
|
-
|
|
2063
|
-
surface: "process_transcript";
|
|
3691
|
+
surface: "local_file";
|
|
2064
3692
|
selectedText: string;
|
|
2065
3693
|
sourceConversationId: string;
|
|
2066
3694
|
sourceHash: string;
|
|
2067
3695
|
prefix: string;
|
|
2068
3696
|
suffix: string;
|
|
2069
|
-
|
|
3697
|
+
sourceFilePath: string;
|
|
3698
|
+
sourceRenderMode: "markdown" | "text";
|
|
2070
3699
|
comment?: unknown;
|
|
2071
3700
|
attachmentIds?: string[] | undefined;
|
|
2072
3701
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2113,6 +3742,37 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2113
3742
|
transcriptKind: "assistant" | "thinking";
|
|
2114
3743
|
comment?: string | null | undefined;
|
|
2115
3744
|
attachmentFileIndexes?: number[] | undefined;
|
|
3745
|
+
} | {
|
|
3746
|
+
start: number;
|
|
3747
|
+
end: number;
|
|
3748
|
+
id: string;
|
|
3749
|
+
surface: "workspace_file";
|
|
3750
|
+
selectedText: string;
|
|
3751
|
+
sourceConversationId: string;
|
|
3752
|
+
sourceHash: string;
|
|
3753
|
+
prefix: string;
|
|
3754
|
+
suffix: string;
|
|
3755
|
+
attachmentIds: string[];
|
|
3756
|
+
sourceFilePath: string;
|
|
3757
|
+
sourceLibraryEntryId: string | null;
|
|
3758
|
+
sourceRenderMode: "markdown" | "text";
|
|
3759
|
+
comment?: string | null | undefined;
|
|
3760
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3761
|
+
} | {
|
|
3762
|
+
start: number;
|
|
3763
|
+
end: number;
|
|
3764
|
+
id: string;
|
|
3765
|
+
surface: "local_file";
|
|
3766
|
+
selectedText: string;
|
|
3767
|
+
sourceConversationId: string;
|
|
3768
|
+
sourceHash: string;
|
|
3769
|
+
prefix: string;
|
|
3770
|
+
suffix: string;
|
|
3771
|
+
attachmentIds: string[];
|
|
3772
|
+
sourceFilePath: string;
|
|
3773
|
+
sourceRenderMode: "markdown" | "text";
|
|
3774
|
+
comment?: string | null | undefined;
|
|
3775
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2116
3776
|
})[];
|
|
2117
3777
|
skillRefs: string[];
|
|
2118
3778
|
projectId?: string | null | undefined;
|
|
@@ -2161,6 +3821,37 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2161
3821
|
comment?: unknown;
|
|
2162
3822
|
attachmentIds?: string[] | undefined;
|
|
2163
3823
|
attachmentFileIndexes?: number[] | undefined;
|
|
3824
|
+
} | {
|
|
3825
|
+
start: number;
|
|
3826
|
+
end: number;
|
|
3827
|
+
id: string;
|
|
3828
|
+
surface: "workspace_file";
|
|
3829
|
+
selectedText: string;
|
|
3830
|
+
sourceConversationId: string;
|
|
3831
|
+
sourceHash: string;
|
|
3832
|
+
prefix: string;
|
|
3833
|
+
suffix: string;
|
|
3834
|
+
sourceFilePath: string;
|
|
3835
|
+
sourceLibraryEntryId: string | null;
|
|
3836
|
+
sourceRenderMode: "markdown" | "text";
|
|
3837
|
+
comment?: unknown;
|
|
3838
|
+
attachmentIds?: string[] | undefined;
|
|
3839
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3840
|
+
} | {
|
|
3841
|
+
start: number;
|
|
3842
|
+
end: number;
|
|
3843
|
+
id: string;
|
|
3844
|
+
surface: "local_file";
|
|
3845
|
+
selectedText: string;
|
|
3846
|
+
sourceConversationId: string;
|
|
3847
|
+
sourceHash: string;
|
|
3848
|
+
prefix: string;
|
|
3849
|
+
suffix: string;
|
|
3850
|
+
sourceFilePath: string;
|
|
3851
|
+
sourceRenderMode: "markdown" | "text";
|
|
3852
|
+
comment?: unknown;
|
|
3853
|
+
attachmentIds?: string[] | undefined;
|
|
3854
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2164
3855
|
})[] | undefined;
|
|
2165
3856
|
skillRefs?: string[] | undefined;
|
|
2166
3857
|
effort?: string | null | undefined;
|
|
@@ -2199,6 +3890,37 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2199
3890
|
transcriptKind: "assistant" | "thinking";
|
|
2200
3891
|
comment?: string | null | undefined;
|
|
2201
3892
|
attachmentFileIndexes?: number[] | undefined;
|
|
3893
|
+
} | {
|
|
3894
|
+
start: number;
|
|
3895
|
+
end: number;
|
|
3896
|
+
id: string;
|
|
3897
|
+
surface: "workspace_file";
|
|
3898
|
+
selectedText: string;
|
|
3899
|
+
sourceConversationId: string;
|
|
3900
|
+
sourceHash: string;
|
|
3901
|
+
prefix: string;
|
|
3902
|
+
suffix: string;
|
|
3903
|
+
attachmentIds: string[];
|
|
3904
|
+
sourceFilePath: string;
|
|
3905
|
+
sourceLibraryEntryId: string | null;
|
|
3906
|
+
sourceRenderMode: "markdown" | "text";
|
|
3907
|
+
comment?: string | null | undefined;
|
|
3908
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3909
|
+
} | {
|
|
3910
|
+
start: number;
|
|
3911
|
+
end: number;
|
|
3912
|
+
id: string;
|
|
3913
|
+
surface: "local_file";
|
|
3914
|
+
selectedText: string;
|
|
3915
|
+
sourceConversationId: string;
|
|
3916
|
+
sourceHash: string;
|
|
3917
|
+
prefix: string;
|
|
3918
|
+
suffix: string;
|
|
3919
|
+
attachmentIds: string[];
|
|
3920
|
+
sourceFilePath: string;
|
|
3921
|
+
sourceRenderMode: "markdown" | "text";
|
|
3922
|
+
comment?: string | null | undefined;
|
|
3923
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2202
3924
|
})[];
|
|
2203
3925
|
skillRefs: string[];
|
|
2204
3926
|
projectId?: string | null | undefined;
|
|
@@ -2247,6 +3969,37 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2247
3969
|
comment?: unknown;
|
|
2248
3970
|
attachmentIds?: string[] | undefined;
|
|
2249
3971
|
attachmentFileIndexes?: number[] | undefined;
|
|
3972
|
+
} | {
|
|
3973
|
+
start: number;
|
|
3974
|
+
end: number;
|
|
3975
|
+
id: string;
|
|
3976
|
+
surface: "workspace_file";
|
|
3977
|
+
selectedText: string;
|
|
3978
|
+
sourceConversationId: string;
|
|
3979
|
+
sourceHash: string;
|
|
3980
|
+
prefix: string;
|
|
3981
|
+
suffix: string;
|
|
3982
|
+
sourceFilePath: string;
|
|
3983
|
+
sourceLibraryEntryId: string | null;
|
|
3984
|
+
sourceRenderMode: "markdown" | "text";
|
|
3985
|
+
comment?: unknown;
|
|
3986
|
+
attachmentIds?: string[] | undefined;
|
|
3987
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
3988
|
+
} | {
|
|
3989
|
+
start: number;
|
|
3990
|
+
end: number;
|
|
3991
|
+
id: string;
|
|
3992
|
+
surface: "local_file";
|
|
3993
|
+
selectedText: string;
|
|
3994
|
+
sourceConversationId: string;
|
|
3995
|
+
sourceHash: string;
|
|
3996
|
+
prefix: string;
|
|
3997
|
+
suffix: string;
|
|
3998
|
+
sourceFilePath: string;
|
|
3999
|
+
sourceRenderMode: "markdown" | "text";
|
|
4000
|
+
comment?: unknown;
|
|
4001
|
+
attachmentIds?: string[] | undefined;
|
|
4002
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2250
4003
|
})[] | undefined;
|
|
2251
4004
|
skillRefs?: string[] | undefined;
|
|
2252
4005
|
effort?: string | null | undefined;
|
|
@@ -2288,6 +4041,37 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2288
4041
|
transcriptKind: "assistant" | "thinking";
|
|
2289
4042
|
comment?: string | null | undefined;
|
|
2290
4043
|
attachmentFileIndexes?: number[] | undefined;
|
|
4044
|
+
} | {
|
|
4045
|
+
start: number;
|
|
4046
|
+
end: number;
|
|
4047
|
+
id: string;
|
|
4048
|
+
surface: "workspace_file";
|
|
4049
|
+
selectedText: string;
|
|
4050
|
+
sourceConversationId: string;
|
|
4051
|
+
sourceHash: string;
|
|
4052
|
+
prefix: string;
|
|
4053
|
+
suffix: string;
|
|
4054
|
+
attachmentIds: string[];
|
|
4055
|
+
sourceFilePath: string;
|
|
4056
|
+
sourceLibraryEntryId: string | null;
|
|
4057
|
+
sourceRenderMode: "markdown" | "text";
|
|
4058
|
+
comment?: string | null | undefined;
|
|
4059
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4060
|
+
} | {
|
|
4061
|
+
start: number;
|
|
4062
|
+
end: number;
|
|
4063
|
+
id: string;
|
|
4064
|
+
surface: "local_file";
|
|
4065
|
+
selectedText: string;
|
|
4066
|
+
sourceConversationId: string;
|
|
4067
|
+
sourceHash: string;
|
|
4068
|
+
prefix: string;
|
|
4069
|
+
suffix: string;
|
|
4070
|
+
attachmentIds: string[];
|
|
4071
|
+
sourceFilePath: string;
|
|
4072
|
+
sourceRenderMode: "markdown" | "text";
|
|
4073
|
+
comment?: string | null | undefined;
|
|
4074
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2291
4075
|
})[];
|
|
2292
4076
|
skillRefs: string[];
|
|
2293
4077
|
projectId?: string | null | undefined;
|
|
@@ -2340,6 +4124,37 @@ export declare const createChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2340
4124
|
comment?: unknown;
|
|
2341
4125
|
attachmentIds?: string[] | undefined;
|
|
2342
4126
|
attachmentFileIndexes?: number[] | undefined;
|
|
4127
|
+
} | {
|
|
4128
|
+
start: number;
|
|
4129
|
+
end: number;
|
|
4130
|
+
id: string;
|
|
4131
|
+
surface: "workspace_file";
|
|
4132
|
+
selectedText: string;
|
|
4133
|
+
sourceConversationId: string;
|
|
4134
|
+
sourceHash: string;
|
|
4135
|
+
prefix: string;
|
|
4136
|
+
suffix: string;
|
|
4137
|
+
sourceFilePath: string;
|
|
4138
|
+
sourceLibraryEntryId: string | null;
|
|
4139
|
+
sourceRenderMode: "markdown" | "text";
|
|
4140
|
+
comment?: unknown;
|
|
4141
|
+
attachmentIds?: string[] | undefined;
|
|
4142
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4143
|
+
} | {
|
|
4144
|
+
start: number;
|
|
4145
|
+
end: number;
|
|
4146
|
+
id: string;
|
|
4147
|
+
surface: "local_file";
|
|
4148
|
+
selectedText: string;
|
|
4149
|
+
sourceConversationId: string;
|
|
4150
|
+
sourceHash: string;
|
|
4151
|
+
prefix: string;
|
|
4152
|
+
suffix: string;
|
|
4153
|
+
sourceFilePath: string;
|
|
4154
|
+
sourceRenderMode: "markdown" | "text";
|
|
4155
|
+
comment?: unknown;
|
|
4156
|
+
attachmentIds?: string[] | undefined;
|
|
4157
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2343
4158
|
})[] | undefined;
|
|
2344
4159
|
skillRefs?: string[] | undefined;
|
|
2345
4160
|
effort?: string | null | undefined;
|
|
@@ -2353,11 +4168,11 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2353
4168
|
attachmentIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2354
4169
|
inlineAnnotations: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"surface", [z.ZodObject<{
|
|
2355
4170
|
surface: z.ZodLiteral<"assistant_body">;
|
|
4171
|
+
sourceMessageId: z.ZodString;
|
|
2356
4172
|
id: z.ZodString;
|
|
2357
4173
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
2358
4174
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
2359
4175
|
sourceConversationId: z.ZodString;
|
|
2360
|
-
sourceMessageId: z.ZodString;
|
|
2361
4176
|
sourceHash: z.ZodString;
|
|
2362
4177
|
start: z.ZodNumber;
|
|
2363
4178
|
end: z.ZodNumber;
|
|
@@ -2396,6 +4211,7 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2396
4211
|
attachmentFileIndexes?: number[] | undefined;
|
|
2397
4212
|
}>, z.ZodObject<{
|
|
2398
4213
|
surface: z.ZodLiteral<"process_transcript">;
|
|
4214
|
+
sourceMessageId: z.ZodString;
|
|
2399
4215
|
transcriptKind: z.ZodEnum<["thinking", "assistant"]>;
|
|
2400
4216
|
generationId: z.ZodString;
|
|
2401
4217
|
generationSeqStart: z.ZodNumber;
|
|
@@ -2404,7 +4220,6 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2404
4220
|
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
2405
4221
|
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
2406
4222
|
sourceConversationId: z.ZodString;
|
|
2407
|
-
sourceMessageId: z.ZodString;
|
|
2408
4223
|
sourceHash: z.ZodString;
|
|
2409
4224
|
start: z.ZodNumber;
|
|
2410
4225
|
end: z.ZodNumber;
|
|
@@ -2416,36 +4231,131 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2416
4231
|
}, "strict", z.ZodTypeAny, {
|
|
2417
4232
|
start: number;
|
|
2418
4233
|
end: number;
|
|
2419
|
-
generationId: string;
|
|
2420
|
-
generationSeqStart: number;
|
|
2421
|
-
generationSeqEnd: number;
|
|
4234
|
+
generationId: string;
|
|
4235
|
+
generationSeqStart: number;
|
|
4236
|
+
generationSeqEnd: number;
|
|
4237
|
+
id: string;
|
|
4238
|
+
sourceMessageId: string;
|
|
4239
|
+
surface: "process_transcript";
|
|
4240
|
+
selectedText: string;
|
|
4241
|
+
sourceConversationId: string;
|
|
4242
|
+
sourceHash: string;
|
|
4243
|
+
prefix: string;
|
|
4244
|
+
suffix: string;
|
|
4245
|
+
attachmentIds: string[];
|
|
4246
|
+
transcriptKind: "assistant" | "thinking";
|
|
4247
|
+
comment?: string | null | undefined;
|
|
4248
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4249
|
+
}, {
|
|
4250
|
+
start: number;
|
|
4251
|
+
end: number;
|
|
4252
|
+
generationId: string;
|
|
4253
|
+
generationSeqStart: number;
|
|
4254
|
+
generationSeqEnd: number;
|
|
4255
|
+
id: string;
|
|
4256
|
+
sourceMessageId: string;
|
|
4257
|
+
surface: "process_transcript";
|
|
4258
|
+
selectedText: string;
|
|
4259
|
+
sourceConversationId: string;
|
|
4260
|
+
sourceHash: string;
|
|
4261
|
+
prefix: string;
|
|
4262
|
+
suffix: string;
|
|
4263
|
+
transcriptKind: "assistant" | "thinking";
|
|
4264
|
+
comment?: unknown;
|
|
4265
|
+
attachmentIds?: string[] | undefined;
|
|
4266
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4267
|
+
}>, z.ZodObject<{
|
|
4268
|
+
surface: z.ZodLiteral<"workspace_file">;
|
|
4269
|
+
sourceFilePath: z.ZodString;
|
|
4270
|
+
sourceLibraryEntryId: z.ZodNullable<z.ZodString>;
|
|
4271
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
4272
|
+
id: z.ZodString;
|
|
4273
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
4274
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
4275
|
+
sourceConversationId: z.ZodString;
|
|
4276
|
+
sourceHash: z.ZodString;
|
|
4277
|
+
start: z.ZodNumber;
|
|
4278
|
+
end: z.ZodNumber;
|
|
4279
|
+
prefix: z.ZodString;
|
|
4280
|
+
suffix: z.ZodString;
|
|
4281
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4282
|
+
} & {
|
|
4283
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
4284
|
+
}, "strict", z.ZodTypeAny, {
|
|
4285
|
+
start: number;
|
|
4286
|
+
end: number;
|
|
4287
|
+
id: string;
|
|
4288
|
+
surface: "workspace_file";
|
|
4289
|
+
selectedText: string;
|
|
4290
|
+
sourceConversationId: string;
|
|
4291
|
+
sourceHash: string;
|
|
4292
|
+
prefix: string;
|
|
4293
|
+
suffix: string;
|
|
4294
|
+
attachmentIds: string[];
|
|
4295
|
+
sourceFilePath: string;
|
|
4296
|
+
sourceLibraryEntryId: string | null;
|
|
4297
|
+
sourceRenderMode: "markdown" | "text";
|
|
4298
|
+
comment?: string | null | undefined;
|
|
4299
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4300
|
+
}, {
|
|
4301
|
+
start: number;
|
|
4302
|
+
end: number;
|
|
4303
|
+
id: string;
|
|
4304
|
+
surface: "workspace_file";
|
|
4305
|
+
selectedText: string;
|
|
4306
|
+
sourceConversationId: string;
|
|
4307
|
+
sourceHash: string;
|
|
4308
|
+
prefix: string;
|
|
4309
|
+
suffix: string;
|
|
4310
|
+
sourceFilePath: string;
|
|
4311
|
+
sourceLibraryEntryId: string | null;
|
|
4312
|
+
sourceRenderMode: "markdown" | "text";
|
|
4313
|
+
comment?: unknown;
|
|
4314
|
+
attachmentIds?: string[] | undefined;
|
|
4315
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4316
|
+
}>, z.ZodObject<{
|
|
4317
|
+
surface: z.ZodLiteral<"local_file">;
|
|
4318
|
+
sourceFilePath: z.ZodString;
|
|
4319
|
+
sourceRenderMode: z.ZodEnum<["markdown", "text"]>;
|
|
4320
|
+
id: z.ZodString;
|
|
4321
|
+
selectedText: z.ZodEffects<z.ZodString, string, string>;
|
|
4322
|
+
comment: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
4323
|
+
sourceConversationId: z.ZodString;
|
|
4324
|
+
sourceHash: z.ZodString;
|
|
4325
|
+
start: z.ZodNumber;
|
|
4326
|
+
end: z.ZodNumber;
|
|
4327
|
+
prefix: z.ZodString;
|
|
4328
|
+
suffix: z.ZodString;
|
|
4329
|
+
attachmentIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
4330
|
+
} & {
|
|
4331
|
+
attachmentFileIndexes: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
4332
|
+
}, "strict", z.ZodTypeAny, {
|
|
4333
|
+
start: number;
|
|
4334
|
+
end: number;
|
|
2422
4335
|
id: string;
|
|
2423
|
-
|
|
2424
|
-
surface: "process_transcript";
|
|
4336
|
+
surface: "local_file";
|
|
2425
4337
|
selectedText: string;
|
|
2426
4338
|
sourceConversationId: string;
|
|
2427
4339
|
sourceHash: string;
|
|
2428
4340
|
prefix: string;
|
|
2429
4341
|
suffix: string;
|
|
2430
4342
|
attachmentIds: string[];
|
|
2431
|
-
|
|
4343
|
+
sourceFilePath: string;
|
|
4344
|
+
sourceRenderMode: "markdown" | "text";
|
|
2432
4345
|
comment?: string | null | undefined;
|
|
2433
4346
|
attachmentFileIndexes?: number[] | undefined;
|
|
2434
4347
|
}, {
|
|
2435
4348
|
start: number;
|
|
2436
4349
|
end: number;
|
|
2437
|
-
generationId: string;
|
|
2438
|
-
generationSeqStart: number;
|
|
2439
|
-
generationSeqEnd: number;
|
|
2440
4350
|
id: string;
|
|
2441
|
-
|
|
2442
|
-
surface: "process_transcript";
|
|
4351
|
+
surface: "local_file";
|
|
2443
4352
|
selectedText: string;
|
|
2444
4353
|
sourceConversationId: string;
|
|
2445
4354
|
sourceHash: string;
|
|
2446
4355
|
prefix: string;
|
|
2447
4356
|
suffix: string;
|
|
2448
|
-
|
|
4357
|
+
sourceFilePath: string;
|
|
4358
|
+
sourceRenderMode: "markdown" | "text";
|
|
2449
4359
|
comment?: unknown;
|
|
2450
4360
|
attachmentIds?: string[] | undefined;
|
|
2451
4361
|
attachmentFileIndexes?: number[] | undefined;
|
|
@@ -2481,6 +4391,37 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2481
4391
|
transcriptKind: "assistant" | "thinking";
|
|
2482
4392
|
comment?: string | null | undefined;
|
|
2483
4393
|
attachmentFileIndexes?: number[] | undefined;
|
|
4394
|
+
} | {
|
|
4395
|
+
start: number;
|
|
4396
|
+
end: number;
|
|
4397
|
+
id: string;
|
|
4398
|
+
surface: "workspace_file";
|
|
4399
|
+
selectedText: string;
|
|
4400
|
+
sourceConversationId: string;
|
|
4401
|
+
sourceHash: string;
|
|
4402
|
+
prefix: string;
|
|
4403
|
+
suffix: string;
|
|
4404
|
+
attachmentIds: string[];
|
|
4405
|
+
sourceFilePath: string;
|
|
4406
|
+
sourceLibraryEntryId: string | null;
|
|
4407
|
+
sourceRenderMode: "markdown" | "text";
|
|
4408
|
+
comment?: string | null | undefined;
|
|
4409
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4410
|
+
} | {
|
|
4411
|
+
start: number;
|
|
4412
|
+
end: number;
|
|
4413
|
+
id: string;
|
|
4414
|
+
surface: "local_file";
|
|
4415
|
+
selectedText: string;
|
|
4416
|
+
sourceConversationId: string;
|
|
4417
|
+
sourceHash: string;
|
|
4418
|
+
prefix: string;
|
|
4419
|
+
suffix: string;
|
|
4420
|
+
attachmentIds: string[];
|
|
4421
|
+
sourceFilePath: string;
|
|
4422
|
+
sourceRenderMode: "markdown" | "text";
|
|
4423
|
+
comment?: string | null | undefined;
|
|
4424
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2484
4425
|
}, {
|
|
2485
4426
|
start: number;
|
|
2486
4427
|
end: number;
|
|
@@ -2513,6 +4454,37 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2513
4454
|
comment?: unknown;
|
|
2514
4455
|
attachmentIds?: string[] | undefined;
|
|
2515
4456
|
attachmentFileIndexes?: number[] | undefined;
|
|
4457
|
+
} | {
|
|
4458
|
+
start: number;
|
|
4459
|
+
end: number;
|
|
4460
|
+
id: string;
|
|
4461
|
+
surface: "workspace_file";
|
|
4462
|
+
selectedText: string;
|
|
4463
|
+
sourceConversationId: string;
|
|
4464
|
+
sourceHash: string;
|
|
4465
|
+
prefix: string;
|
|
4466
|
+
suffix: string;
|
|
4467
|
+
sourceFilePath: string;
|
|
4468
|
+
sourceLibraryEntryId: string | null;
|
|
4469
|
+
sourceRenderMode: "markdown" | "text";
|
|
4470
|
+
comment?: unknown;
|
|
4471
|
+
attachmentIds?: string[] | undefined;
|
|
4472
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4473
|
+
} | {
|
|
4474
|
+
start: number;
|
|
4475
|
+
end: number;
|
|
4476
|
+
id: string;
|
|
4477
|
+
surface: "local_file";
|
|
4478
|
+
selectedText: string;
|
|
4479
|
+
sourceConversationId: string;
|
|
4480
|
+
sourceHash: string;
|
|
4481
|
+
prefix: string;
|
|
4482
|
+
suffix: string;
|
|
4483
|
+
sourceFilePath: string;
|
|
4484
|
+
sourceRenderMode: "markdown" | "text";
|
|
4485
|
+
comment?: unknown;
|
|
4486
|
+
attachmentIds?: string[] | undefined;
|
|
4487
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2516
4488
|
}>, "many">, ({
|
|
2517
4489
|
start: number;
|
|
2518
4490
|
end: number;
|
|
@@ -2545,6 +4517,37 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2545
4517
|
transcriptKind: "assistant" | "thinking";
|
|
2546
4518
|
comment?: string | null | undefined;
|
|
2547
4519
|
attachmentFileIndexes?: number[] | undefined;
|
|
4520
|
+
} | {
|
|
4521
|
+
start: number;
|
|
4522
|
+
end: number;
|
|
4523
|
+
id: string;
|
|
4524
|
+
surface: "workspace_file";
|
|
4525
|
+
selectedText: string;
|
|
4526
|
+
sourceConversationId: string;
|
|
4527
|
+
sourceHash: string;
|
|
4528
|
+
prefix: string;
|
|
4529
|
+
suffix: string;
|
|
4530
|
+
attachmentIds: string[];
|
|
4531
|
+
sourceFilePath: string;
|
|
4532
|
+
sourceLibraryEntryId: string | null;
|
|
4533
|
+
sourceRenderMode: "markdown" | "text";
|
|
4534
|
+
comment?: string | null | undefined;
|
|
4535
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4536
|
+
} | {
|
|
4537
|
+
start: number;
|
|
4538
|
+
end: number;
|
|
4539
|
+
id: string;
|
|
4540
|
+
surface: "local_file";
|
|
4541
|
+
selectedText: string;
|
|
4542
|
+
sourceConversationId: string;
|
|
4543
|
+
sourceHash: string;
|
|
4544
|
+
prefix: string;
|
|
4545
|
+
suffix: string;
|
|
4546
|
+
attachmentIds: string[];
|
|
4547
|
+
sourceFilePath: string;
|
|
4548
|
+
sourceRenderMode: "markdown" | "text";
|
|
4549
|
+
comment?: string | null | undefined;
|
|
4550
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2548
4551
|
})[], ({
|
|
2549
4552
|
start: number;
|
|
2550
4553
|
end: number;
|
|
@@ -2577,6 +4580,37 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2577
4580
|
comment?: unknown;
|
|
2578
4581
|
attachmentIds?: string[] | undefined;
|
|
2579
4582
|
attachmentFileIndexes?: number[] | undefined;
|
|
4583
|
+
} | {
|
|
4584
|
+
start: number;
|
|
4585
|
+
end: number;
|
|
4586
|
+
id: string;
|
|
4587
|
+
surface: "workspace_file";
|
|
4588
|
+
selectedText: string;
|
|
4589
|
+
sourceConversationId: string;
|
|
4590
|
+
sourceHash: string;
|
|
4591
|
+
prefix: string;
|
|
4592
|
+
suffix: string;
|
|
4593
|
+
sourceFilePath: string;
|
|
4594
|
+
sourceLibraryEntryId: string | null;
|
|
4595
|
+
sourceRenderMode: "markdown" | "text";
|
|
4596
|
+
comment?: unknown;
|
|
4597
|
+
attachmentIds?: string[] | undefined;
|
|
4598
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4599
|
+
} | {
|
|
4600
|
+
start: number;
|
|
4601
|
+
end: number;
|
|
4602
|
+
id: string;
|
|
4603
|
+
surface: "local_file";
|
|
4604
|
+
selectedText: string;
|
|
4605
|
+
sourceConversationId: string;
|
|
4606
|
+
sourceHash: string;
|
|
4607
|
+
prefix: string;
|
|
4608
|
+
suffix: string;
|
|
4609
|
+
sourceFilePath: string;
|
|
4610
|
+
sourceRenderMode: "markdown" | "text";
|
|
4611
|
+
comment?: unknown;
|
|
4612
|
+
attachmentIds?: string[] | undefined;
|
|
4613
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2580
4614
|
})[]>>;
|
|
2581
4615
|
projectId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2582
4616
|
skillRefs: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
@@ -2626,6 +4660,37 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2626
4660
|
transcriptKind: "assistant" | "thinking";
|
|
2627
4661
|
comment?: string | null | undefined;
|
|
2628
4662
|
attachmentFileIndexes?: number[] | undefined;
|
|
4663
|
+
} | {
|
|
4664
|
+
start: number;
|
|
4665
|
+
end: number;
|
|
4666
|
+
id: string;
|
|
4667
|
+
surface: "workspace_file";
|
|
4668
|
+
selectedText: string;
|
|
4669
|
+
sourceConversationId: string;
|
|
4670
|
+
sourceHash: string;
|
|
4671
|
+
prefix: string;
|
|
4672
|
+
suffix: string;
|
|
4673
|
+
attachmentIds: string[];
|
|
4674
|
+
sourceFilePath: string;
|
|
4675
|
+
sourceLibraryEntryId: string | null;
|
|
4676
|
+
sourceRenderMode: "markdown" | "text";
|
|
4677
|
+
comment?: string | null | undefined;
|
|
4678
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4679
|
+
} | {
|
|
4680
|
+
start: number;
|
|
4681
|
+
end: number;
|
|
4682
|
+
id: string;
|
|
4683
|
+
surface: "local_file";
|
|
4684
|
+
selectedText: string;
|
|
4685
|
+
sourceConversationId: string;
|
|
4686
|
+
sourceHash: string;
|
|
4687
|
+
prefix: string;
|
|
4688
|
+
suffix: string;
|
|
4689
|
+
attachmentIds: string[];
|
|
4690
|
+
sourceFilePath: string;
|
|
4691
|
+
sourceRenderMode: "markdown" | "text";
|
|
4692
|
+
comment?: string | null | undefined;
|
|
4693
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2629
4694
|
})[] | undefined;
|
|
2630
4695
|
effort?: string | null | undefined;
|
|
2631
4696
|
}, {
|
|
@@ -2668,6 +4733,37 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2668
4733
|
comment?: unknown;
|
|
2669
4734
|
attachmentIds?: string[] | undefined;
|
|
2670
4735
|
attachmentFileIndexes?: number[] | undefined;
|
|
4736
|
+
} | {
|
|
4737
|
+
start: number;
|
|
4738
|
+
end: number;
|
|
4739
|
+
id: string;
|
|
4740
|
+
surface: "workspace_file";
|
|
4741
|
+
selectedText: string;
|
|
4742
|
+
sourceConversationId: string;
|
|
4743
|
+
sourceHash: string;
|
|
4744
|
+
prefix: string;
|
|
4745
|
+
suffix: string;
|
|
4746
|
+
sourceFilePath: string;
|
|
4747
|
+
sourceLibraryEntryId: string | null;
|
|
4748
|
+
sourceRenderMode: "markdown" | "text";
|
|
4749
|
+
comment?: unknown;
|
|
4750
|
+
attachmentIds?: string[] | undefined;
|
|
4751
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4752
|
+
} | {
|
|
4753
|
+
start: number;
|
|
4754
|
+
end: number;
|
|
4755
|
+
id: string;
|
|
4756
|
+
surface: "local_file";
|
|
4757
|
+
selectedText: string;
|
|
4758
|
+
sourceConversationId: string;
|
|
4759
|
+
sourceHash: string;
|
|
4760
|
+
prefix: string;
|
|
4761
|
+
suffix: string;
|
|
4762
|
+
sourceFilePath: string;
|
|
4763
|
+
sourceRenderMode: "markdown" | "text";
|
|
4764
|
+
comment?: unknown;
|
|
4765
|
+
attachmentIds?: string[] | undefined;
|
|
4766
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2671
4767
|
})[] | undefined;
|
|
2672
4768
|
skillRefs?: string[] | undefined;
|
|
2673
4769
|
effort?: string | null | undefined;
|
|
@@ -2712,6 +4808,37 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2712
4808
|
transcriptKind: "assistant" | "thinking";
|
|
2713
4809
|
comment?: string | null | undefined;
|
|
2714
4810
|
attachmentFileIndexes?: number[] | undefined;
|
|
4811
|
+
} | {
|
|
4812
|
+
start: number;
|
|
4813
|
+
end: number;
|
|
4814
|
+
id: string;
|
|
4815
|
+
surface: "workspace_file";
|
|
4816
|
+
selectedText: string;
|
|
4817
|
+
sourceConversationId: string;
|
|
4818
|
+
sourceHash: string;
|
|
4819
|
+
prefix: string;
|
|
4820
|
+
suffix: string;
|
|
4821
|
+
attachmentIds: string[];
|
|
4822
|
+
sourceFilePath: string;
|
|
4823
|
+
sourceLibraryEntryId: string | null;
|
|
4824
|
+
sourceRenderMode: "markdown" | "text";
|
|
4825
|
+
comment?: string | null | undefined;
|
|
4826
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4827
|
+
} | {
|
|
4828
|
+
start: number;
|
|
4829
|
+
end: number;
|
|
4830
|
+
id: string;
|
|
4831
|
+
surface: "local_file";
|
|
4832
|
+
selectedText: string;
|
|
4833
|
+
sourceConversationId: string;
|
|
4834
|
+
sourceHash: string;
|
|
4835
|
+
prefix: string;
|
|
4836
|
+
suffix: string;
|
|
4837
|
+
attachmentIds: string[];
|
|
4838
|
+
sourceFilePath: string;
|
|
4839
|
+
sourceRenderMode: "markdown" | "text";
|
|
4840
|
+
comment?: string | null | undefined;
|
|
4841
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2715
4842
|
})[] | undefined;
|
|
2716
4843
|
effort?: string | null | undefined;
|
|
2717
4844
|
}, {
|
|
@@ -2754,6 +4881,37 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2754
4881
|
comment?: unknown;
|
|
2755
4882
|
attachmentIds?: string[] | undefined;
|
|
2756
4883
|
attachmentFileIndexes?: number[] | undefined;
|
|
4884
|
+
} | {
|
|
4885
|
+
start: number;
|
|
4886
|
+
end: number;
|
|
4887
|
+
id: string;
|
|
4888
|
+
surface: "workspace_file";
|
|
4889
|
+
selectedText: string;
|
|
4890
|
+
sourceConversationId: string;
|
|
4891
|
+
sourceHash: string;
|
|
4892
|
+
prefix: string;
|
|
4893
|
+
suffix: string;
|
|
4894
|
+
sourceFilePath: string;
|
|
4895
|
+
sourceLibraryEntryId: string | null;
|
|
4896
|
+
sourceRenderMode: "markdown" | "text";
|
|
4897
|
+
comment?: unknown;
|
|
4898
|
+
attachmentIds?: string[] | undefined;
|
|
4899
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4900
|
+
} | {
|
|
4901
|
+
start: number;
|
|
4902
|
+
end: number;
|
|
4903
|
+
id: string;
|
|
4904
|
+
surface: "local_file";
|
|
4905
|
+
selectedText: string;
|
|
4906
|
+
sourceConversationId: string;
|
|
4907
|
+
sourceHash: string;
|
|
4908
|
+
prefix: string;
|
|
4909
|
+
suffix: string;
|
|
4910
|
+
sourceFilePath: string;
|
|
4911
|
+
sourceRenderMode: "markdown" | "text";
|
|
4912
|
+
comment?: unknown;
|
|
4913
|
+
attachmentIds?: string[] | undefined;
|
|
4914
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2757
4915
|
})[] | undefined;
|
|
2758
4916
|
skillRefs?: string[] | undefined;
|
|
2759
4917
|
effort?: string | null | undefined;
|
|
@@ -2801,6 +4959,37 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2801
4959
|
transcriptKind: "assistant" | "thinking";
|
|
2802
4960
|
comment?: string | null | undefined;
|
|
2803
4961
|
attachmentFileIndexes?: number[] | undefined;
|
|
4962
|
+
} | {
|
|
4963
|
+
start: number;
|
|
4964
|
+
end: number;
|
|
4965
|
+
id: string;
|
|
4966
|
+
surface: "workspace_file";
|
|
4967
|
+
selectedText: string;
|
|
4968
|
+
sourceConversationId: string;
|
|
4969
|
+
sourceHash: string;
|
|
4970
|
+
prefix: string;
|
|
4971
|
+
suffix: string;
|
|
4972
|
+
attachmentIds: string[];
|
|
4973
|
+
sourceFilePath: string;
|
|
4974
|
+
sourceLibraryEntryId: string | null;
|
|
4975
|
+
sourceRenderMode: "markdown" | "text";
|
|
4976
|
+
comment?: string | null | undefined;
|
|
4977
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
4978
|
+
} | {
|
|
4979
|
+
start: number;
|
|
4980
|
+
end: number;
|
|
4981
|
+
id: string;
|
|
4982
|
+
surface: "local_file";
|
|
4983
|
+
selectedText: string;
|
|
4984
|
+
sourceConversationId: string;
|
|
4985
|
+
sourceHash: string;
|
|
4986
|
+
prefix: string;
|
|
4987
|
+
suffix: string;
|
|
4988
|
+
attachmentIds: string[];
|
|
4989
|
+
sourceFilePath: string;
|
|
4990
|
+
sourceRenderMode: "markdown" | "text";
|
|
4991
|
+
comment?: string | null | undefined;
|
|
4992
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2804
4993
|
})[] | undefined;
|
|
2805
4994
|
effort?: string | null | undefined;
|
|
2806
4995
|
};
|
|
@@ -2846,6 +5035,37 @@ export declare const updateChatQueuedMessageSchema: z.ZodObject<{
|
|
|
2846
5035
|
comment?: unknown;
|
|
2847
5036
|
attachmentIds?: string[] | undefined;
|
|
2848
5037
|
attachmentFileIndexes?: number[] | undefined;
|
|
5038
|
+
} | {
|
|
5039
|
+
start: number;
|
|
5040
|
+
end: number;
|
|
5041
|
+
id: string;
|
|
5042
|
+
surface: "workspace_file";
|
|
5043
|
+
selectedText: string;
|
|
5044
|
+
sourceConversationId: string;
|
|
5045
|
+
sourceHash: string;
|
|
5046
|
+
prefix: string;
|
|
5047
|
+
suffix: string;
|
|
5048
|
+
sourceFilePath: string;
|
|
5049
|
+
sourceLibraryEntryId: string | null;
|
|
5050
|
+
sourceRenderMode: "markdown" | "text";
|
|
5051
|
+
comment?: unknown;
|
|
5052
|
+
attachmentIds?: string[] | undefined;
|
|
5053
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
5054
|
+
} | {
|
|
5055
|
+
start: number;
|
|
5056
|
+
end: number;
|
|
5057
|
+
id: string;
|
|
5058
|
+
surface: "local_file";
|
|
5059
|
+
selectedText: string;
|
|
5060
|
+
sourceConversationId: string;
|
|
5061
|
+
sourceHash: string;
|
|
5062
|
+
prefix: string;
|
|
5063
|
+
suffix: string;
|
|
5064
|
+
sourceFilePath: string;
|
|
5065
|
+
sourceRenderMode: "markdown" | "text";
|
|
5066
|
+
comment?: unknown;
|
|
5067
|
+
attachmentIds?: string[] | undefined;
|
|
5068
|
+
attachmentFileIndexes?: number[] | undefined;
|
|
2849
5069
|
})[] | undefined;
|
|
2850
5070
|
skillRefs?: string[] | undefined;
|
|
2851
5071
|
effort?: string | null | undefined;
|