@kirkchinese/dsh-citeciter 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -56
- package/README.zh.md +85 -56
- package/lib/client.js +6677 -953
- package/lib/index.js +1730 -538
- package/lib/{typert-common-C6yTitXx.js → typert-common-DxE1_Bn_.js} +1 -1
- package/lib/typert.host.js +2 -2
- package/lib/typert.remote-client.js +1 -1
- package/lib/types/actions.d.ts +47 -0
- package/lib/types/board-capture.d.ts +11 -0
- package/lib/types/board.d.ts +4 -4
- package/lib/types/citation-mapping.d.ts +8 -0
- package/lib/types/citer-agent-registry.d.ts +21 -0
- package/lib/types/citer-session-access.d.ts +11 -0
- package/lib/types/citer-session-store.d.ts +7 -0
- package/lib/types/citer-session-world.d.ts +21 -0
- package/lib/types/client/action-controller.d.ts +61 -0
- package/lib/types/client/action-executor.d.ts +6 -0
- package/lib/types/client/board-capture-target.d.ts +8 -0
- package/lib/types/client/citer-session-face.d.ts +59 -0
- package/lib/types/client/compact-navigation.d.ts +3 -0
- package/lib/types/client/companion-controller.d.ts +15 -4
- package/lib/types/client/components/ActionWheel.d.ts +12 -0
- package/lib/types/client/components/BoardCaptureSurface.d.ts +8 -0
- package/lib/types/client/components/BoardView.d.ts +5 -3
- package/lib/types/client/components/ChoicePopover.d.ts +8 -0
- package/lib/types/client/components/CiteLauncher.d.ts +9 -0
- package/lib/types/client/components/CitePanel.d.ts +7 -1
- package/lib/types/client/components/CompactBackButton.d.ts +4 -0
- package/lib/types/client/components/DocumentReader.d.ts +7 -1
- package/lib/types/client/components/FileAttachments.d.ts +9 -0
- package/lib/types/client/components/FileDropHint.d.ts +5 -0
- package/lib/types/client/components/LearningCards.d.ts +12 -0
- package/lib/types/client/components/LearningRoute.d.ts +7 -0
- package/lib/types/client/components/MessageAttachments.d.ts +12 -0
- package/lib/types/client/components/MessageFile.d.ts +8 -0
- package/lib/types/client/components/ModelChoice.d.ts +10 -0
- package/lib/types/client/components/NativeInteraction.d.ts +7 -0
- package/lib/types/client/components/NativeLearningDocument.d.ts +9 -0
- package/lib/types/client/components/NativeQueue.d.ts +6 -0
- package/lib/types/client/components/OverlayPortal.d.ts +10 -0
- package/lib/types/client/components/PermissionControl.d.ts +7 -0
- package/lib/types/client/components/QuestionCard.d.ts +10 -4
- package/lib/types/client/components/ReasoningDisclosure.d.ts +5 -0
- package/lib/types/client/components/ReferenceAttachments.d.ts +6 -0
- package/lib/types/client/components/TopicActions.d.ts +6 -0
- package/lib/types/client/components/TopicComposer.d.ts +36 -0
- package/lib/types/client/components/TopicHeader.d.ts +10 -0
- package/lib/types/client/components/TopicModelControls.d.ts +9 -0
- package/lib/types/client/components/TopicNavigation.d.ts +12 -0
- package/lib/types/client/components/TopicSettingsDialog.d.ts +21 -0
- package/lib/types/client/components/TopicTitle.d.ts +6 -0
- package/lib/types/client/components/UserMessageBody.d.ts +4 -0
- package/lib/types/client/components/WheelSettings.d.ts +7 -0
- package/lib/types/client/dock-geometry.d.ts +3 -3
- package/lib/types/client/draft-references.d.ts +20 -0
- package/lib/types/client/file-download.d.ts +16 -0
- package/lib/types/client/file-drop.d.ts +18 -0
- package/lib/types/client/host-dock.d.ts +2 -2
- package/lib/types/client/learning-route.d.ts +10 -0
- package/lib/types/client/native-composer.d.ts +18 -0
- package/lib/types/client/native-document.d.ts +13 -0
- package/lib/types/client/panel-drag.d.ts +10 -0
- package/lib/types/client/reader-controller.d.ts +6 -0
- package/lib/types/client/request-guard.d.ts +3 -2
- package/lib/types/client/submission-preference.d.ts +5 -0
- package/lib/types/client/transcript-position.d.ts +6 -0
- package/lib/types/client/types.d.ts +5 -4
- package/lib/types/client/view-actions.d.ts +1 -1
- package/lib/types/client/wheel-gesture.d.ts +13 -0
- package/lib/types/document-pages.d.ts +4 -0
- package/lib/types/documents.d.ts +7 -5
- package/lib/types/host-agent-modules.d.ts +15 -0
- package/lib/types/host-session-adapter.d.ts +31 -0
- package/lib/types/index.d.ts +5 -5
- package/lib/types/learning.d.ts +72 -0
- package/lib/types/native-attachment-read.d.ts +19 -0
- package/lib/types/native-session-contract.d.ts +198 -0
- package/lib/types/native-session-read.d.ts +4 -0
- package/lib/types/owned-session-cleanup.d.ts +2 -0
- package/lib/types/service.d.ts +1 -1
- package/lib/types/session-migration.d.ts +3 -0
- package/lib/types/source-session.d.ts +7 -0
- package/lib/types/source-storage.d.ts +12 -0
- package/lib/types/topic-index.d.ts +75 -0
- package/lib/types/topic-runtime.d.ts +19 -55
- package/lib/types/topic-stream.d.ts +14 -0
- package/lib/types/topic.d.ts +301 -2
- package/lib/types/typert-common.d.ts +210 -1
- package/lib/types/typert.host.d.ts +454 -3
- package/lib/{update-C0K5ekMg.js → update-0LcFDvI5.js} +279 -13
- package/package.json +86 -78
- package/lib/types/client/components/SelectionMenu.d.ts +0 -17
|
@@ -57,6 +57,13 @@ export declare const TYPERT: {
|
|
|
57
57
|
}, {
|
|
58
58
|
readonly name: "TopicSummary";
|
|
59
59
|
readonly schema: import("zod").ZodObject<{
|
|
60
|
+
permission: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
61
|
+
"read-only": "read-only";
|
|
62
|
+
"workspace-write": "workspace-write";
|
|
63
|
+
"danger-full-access": "danger-full-access";
|
|
64
|
+
}>>;
|
|
65
|
+
hosted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
66
|
+
storage: import("zod").ZodOptional<import("zod").ZodLiteral<"source">>;
|
|
60
67
|
topicId: import("zod").ZodNumber;
|
|
61
68
|
sessionId: import("zod").ZodString;
|
|
62
69
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -128,7 +135,16 @@ export declare const TYPERT: {
|
|
|
128
135
|
}, {
|
|
129
136
|
readonly name: "TopicSnapshot";
|
|
130
137
|
readonly schema: import("zod").ZodObject<{
|
|
138
|
+
captureId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
139
|
+
documentTitle: import("zod").ZodOptional<import("zod").ZodString>;
|
|
131
140
|
topic: import("zod").ZodObject<{
|
|
141
|
+
permission: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
142
|
+
"read-only": "read-only";
|
|
143
|
+
"workspace-write": "workspace-write";
|
|
144
|
+
"danger-full-access": "danger-full-access";
|
|
145
|
+
}>>;
|
|
146
|
+
hosted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
147
|
+
storage: import("zod").ZodOptional<import("zod").ZodLiteral<"source">>;
|
|
132
148
|
topicId: import("zod").ZodNumber;
|
|
133
149
|
sessionId: import("zod").ZodString;
|
|
134
150
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -199,11 +215,20 @@ export declare const TYPERT: {
|
|
|
199
215
|
}, import("zod/v4/core").$strict>;
|
|
200
216
|
messages: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
201
217
|
role: import("zod").ZodLiteral<"user">;
|
|
218
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
219
|
+
kind: import("zod").ZodEnum<{
|
|
220
|
+
image: "image";
|
|
221
|
+
file: "file";
|
|
222
|
+
}>;
|
|
223
|
+
id: import("zod").ZodString;
|
|
224
|
+
name: import("zod").ZodString;
|
|
225
|
+
}, import("zod/v4/core").$strict>>>;
|
|
202
226
|
text: import("zod").ZodString;
|
|
203
227
|
id: import("zod").ZodString;
|
|
204
228
|
seq: import("zod").ZodNumber;
|
|
205
229
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
206
230
|
role: import("zod").ZodLiteral<"assistant">;
|
|
231
|
+
renderKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
207
232
|
text: import("zod").ZodString;
|
|
208
233
|
reasoning: import("zod").ZodNullable<import("zod").ZodString>;
|
|
209
234
|
streaming: import("zod").ZodBoolean;
|
|
@@ -217,6 +242,14 @@ export declare const TYPERT: {
|
|
|
217
242
|
seq: import("zod").ZodNumber;
|
|
218
243
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
219
244
|
role: import("zod").ZodLiteral<"tool">;
|
|
245
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
246
|
+
kind: import("zod").ZodEnum<{
|
|
247
|
+
image: "image";
|
|
248
|
+
file: "file";
|
|
249
|
+
}>;
|
|
250
|
+
id: import("zod").ZodString;
|
|
251
|
+
name: import("zod").ZodString;
|
|
252
|
+
}, import("zod/v4/core").$strict>>>;
|
|
220
253
|
name: import("zod").ZodString;
|
|
221
254
|
arguments: import("zod").ZodString;
|
|
222
255
|
result: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -256,12 +289,12 @@ export declare const TYPERT: {
|
|
|
256
289
|
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
257
290
|
id: import("zod").ZodString;
|
|
258
291
|
kind: import("zod").ZodEnum<{
|
|
292
|
+
image: "image";
|
|
259
293
|
text: "text";
|
|
260
294
|
markdown: "markdown";
|
|
261
295
|
math: "math";
|
|
262
296
|
svg: "svg";
|
|
263
297
|
html: "html";
|
|
264
|
-
image: "image";
|
|
265
298
|
table: "table";
|
|
266
299
|
}>;
|
|
267
300
|
content: import("zod").ZodString;
|
|
@@ -293,6 +326,10 @@ export declare const TYPERT: {
|
|
|
293
326
|
readonly name: "CiteCiterRequest";
|
|
294
327
|
readonly schema: import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
295
328
|
action: import("zod").ZodLiteral<"create">;
|
|
329
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
330
|
+
provider: import("zod").ZodString;
|
|
331
|
+
model: import("zod").ZodString;
|
|
332
|
+
}, import("zod/v4/core").$strict>>;
|
|
296
333
|
requestId: import("zod").ZodString;
|
|
297
334
|
sourceSessionId: import("zod").ZodString;
|
|
298
335
|
question: import("zod").ZodString;
|
|
@@ -303,6 +340,10 @@ export declare const TYPERT: {
|
|
|
303
340
|
}>>;
|
|
304
341
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
305
342
|
action: import("zod").ZodLiteral<"create">;
|
|
343
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
344
|
+
provider: import("zod").ZodString;
|
|
345
|
+
model: import("zod").ZodString;
|
|
346
|
+
}, import("zod/v4/core").$strict>>;
|
|
306
347
|
requestId: import("zod").ZodString;
|
|
307
348
|
citation: import("zod").ZodObject<{
|
|
308
349
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -329,6 +370,10 @@ export declare const TYPERT: {
|
|
|
329
370
|
}>>;
|
|
330
371
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
331
372
|
action: import("zod").ZodLiteral<"create">;
|
|
373
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
374
|
+
provider: import("zod").ZodString;
|
|
375
|
+
model: import("zod").ZodString;
|
|
376
|
+
}, import("zod/v4/core").$strict>>;
|
|
332
377
|
requestId: import("zod").ZodString;
|
|
333
378
|
selectionClaim: import("zod").ZodObject<{
|
|
334
379
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -352,6 +397,10 @@ export declare const TYPERT: {
|
|
|
352
397
|
}>>;
|
|
353
398
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
354
399
|
action: import("zod").ZodLiteral<"create">;
|
|
400
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
401
|
+
provider: import("zod").ZodString;
|
|
402
|
+
model: import("zod").ZodString;
|
|
403
|
+
}, import("zod/v4/core").$strict>>;
|
|
355
404
|
requestId: import("zod").ZodString;
|
|
356
405
|
toolClaim: import("zod").ZodObject<{
|
|
357
406
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -377,6 +426,10 @@ export declare const TYPERT: {
|
|
|
377
426
|
}>>;
|
|
378
427
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
379
428
|
action: import("zod").ZodLiteral<"create">;
|
|
429
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
430
|
+
provider: import("zod").ZodString;
|
|
431
|
+
model: import("zod").ZodString;
|
|
432
|
+
}, import("zod/v4/core").$strict>>;
|
|
380
433
|
requestId: import("zod").ZodString;
|
|
381
434
|
documentClaim: import("zod").ZodObject<{
|
|
382
435
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -401,9 +454,23 @@ export declare const TYPERT: {
|
|
|
401
454
|
action: import("zod").ZodLiteral<"list">;
|
|
402
455
|
sourceSessionId: import("zod").ZodString;
|
|
403
456
|
includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
457
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
458
|
+
action: import("zod").ZodLiteral<"board-capture">;
|
|
459
|
+
topicSessionId: import("zod").ZodString;
|
|
460
|
+
id: import("zod").ZodString;
|
|
461
|
+
png: import("zod").ZodOptional<import("zod").ZodString>;
|
|
462
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
404
463
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
405
464
|
action: import("zod").ZodLiteral<"get">;
|
|
406
465
|
topicSessionId: import("zod").ZodString;
|
|
466
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
467
|
+
action: import("zod").ZodLiteral<"native-state">;
|
|
468
|
+
topicSessionId: import("zod").ZodString;
|
|
469
|
+
requestIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
470
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
471
|
+
action: import("zod").ZodLiteral<"native-attachment">;
|
|
472
|
+
topicSessionId: import("zod").ZodString;
|
|
473
|
+
attachmentId: import("zod").ZodString;
|
|
407
474
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
408
475
|
action: import("zod").ZodLiteral<"ask">;
|
|
409
476
|
requestId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -441,6 +508,14 @@ export declare const TYPERT: {
|
|
|
441
508
|
confirmSessionId: import("zod").ZodString;
|
|
442
509
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
443
510
|
action: import("zod").ZodLiteral<"models">;
|
|
511
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
512
|
+
action: import("zod").ZodLiteral<"set-permission">;
|
|
513
|
+
topicSessionId: import("zod").ZodString;
|
|
514
|
+
mode: import("zod").ZodEnum<{
|
|
515
|
+
"read-only": "read-only";
|
|
516
|
+
"workspace-write": "workspace-write";
|
|
517
|
+
"danger-full-access": "danger-full-access";
|
|
518
|
+
}>;
|
|
444
519
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
445
520
|
action: import("zod").ZodLiteral<"set-model-route">;
|
|
446
521
|
topicSessionId: import("zod").ZodString;
|
|
@@ -470,13 +545,154 @@ export declare const TYPERT: {
|
|
|
470
545
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
471
546
|
action: import("zod").ZodLiteral<"document-get">;
|
|
472
547
|
documentId: import("zod").ZodString;
|
|
548
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
473
549
|
}, import("zod/v4/core").$strict>], "action">]>;
|
|
474
550
|
}, {
|
|
475
551
|
readonly name: "CiteCiterResponse";
|
|
476
552
|
readonly schema: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
553
|
+
kind: import("zod").ZodLiteral<"native-state">;
|
|
554
|
+
state: import("zod").ZodObject<{
|
|
555
|
+
running: import("zod").ZodBoolean;
|
|
556
|
+
blank: import("zod").ZodBoolean;
|
|
557
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
558
|
+
queue: import("zod").ZodArray<import("zod").ZodObject<{
|
|
559
|
+
id: import("zod").ZodString;
|
|
560
|
+
placement: import("zod").ZodEnum<{
|
|
561
|
+
queued: "queued";
|
|
562
|
+
steering: "steering";
|
|
563
|
+
context: "context";
|
|
564
|
+
}>;
|
|
565
|
+
rpcId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
566
|
+
text: import("zod").ZodString;
|
|
567
|
+
attachments: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
568
|
+
type: import("zod").ZodLiteral<"image">;
|
|
569
|
+
attachment: import("zod").ZodPipe<import("zod").ZodObject<{
|
|
570
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
571
|
+
mediaType: import("zod").ZodEnum<{
|
|
572
|
+
"image/png": "image/png";
|
|
573
|
+
"image/jpeg": "image/jpeg";
|
|
574
|
+
"image/webp": "image/webp";
|
|
575
|
+
"image/gif": "image/gif";
|
|
576
|
+
}>;
|
|
577
|
+
bytes: import("zod").ZodNumber;
|
|
578
|
+
width: import("zod").ZodNumber;
|
|
579
|
+
height: import("zod").ZodNumber;
|
|
580
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
581
|
+
originalDimensions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
582
|
+
width: import("zod").ZodNumber;
|
|
583
|
+
height: import("zod").ZodNumber;
|
|
584
|
+
}, import("zod/v4/core").$strict>>;
|
|
585
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").ImageAttachmentRef, {
|
|
586
|
+
attachmentId: import("@deepseek-ai/dsh-attachment").AttachmentId;
|
|
587
|
+
mediaType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
588
|
+
bytes: number;
|
|
589
|
+
width: number;
|
|
590
|
+
height: number;
|
|
591
|
+
name?: string | undefined;
|
|
592
|
+
originalDimensions?: {
|
|
593
|
+
width: number;
|
|
594
|
+
height: number;
|
|
595
|
+
} | undefined;
|
|
596
|
+
}>>;
|
|
597
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
598
|
+
type: import("zod").ZodLiteral<"file">;
|
|
599
|
+
attachment: import("zod").ZodObject<{
|
|
600
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
601
|
+
name: import("zod").ZodString;
|
|
602
|
+
bytes: import("zod").ZodNumber;
|
|
603
|
+
}, import("zod/v4/core").$strict>;
|
|
604
|
+
}, import("zod/v4/core").$strict>], "type">>;
|
|
605
|
+
}, import("zod/v4/core").$strict>>;
|
|
606
|
+
receipts: import("zod").ZodArray<import("zod").ZodObject<{
|
|
607
|
+
requestId: import("zod").ZodString;
|
|
608
|
+
attachments: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
609
|
+
type: import("zod").ZodLiteral<"image">;
|
|
610
|
+
attachment: import("zod").ZodPipe<import("zod").ZodObject<{
|
|
611
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
612
|
+
mediaType: import("zod").ZodEnum<{
|
|
613
|
+
"image/png": "image/png";
|
|
614
|
+
"image/jpeg": "image/jpeg";
|
|
615
|
+
"image/webp": "image/webp";
|
|
616
|
+
"image/gif": "image/gif";
|
|
617
|
+
}>;
|
|
618
|
+
bytes: import("zod").ZodNumber;
|
|
619
|
+
width: import("zod").ZodNumber;
|
|
620
|
+
height: import("zod").ZodNumber;
|
|
621
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
622
|
+
originalDimensions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
623
|
+
width: import("zod").ZodNumber;
|
|
624
|
+
height: import("zod").ZodNumber;
|
|
625
|
+
}, import("zod/v4/core").$strict>>;
|
|
626
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").ImageAttachmentRef, {
|
|
627
|
+
attachmentId: import("@deepseek-ai/dsh-attachment").AttachmentId;
|
|
628
|
+
mediaType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
629
|
+
bytes: number;
|
|
630
|
+
width: number;
|
|
631
|
+
height: number;
|
|
632
|
+
name?: string | undefined;
|
|
633
|
+
originalDimensions?: {
|
|
634
|
+
width: number;
|
|
635
|
+
height: number;
|
|
636
|
+
} | undefined;
|
|
637
|
+
}>>;
|
|
638
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
639
|
+
type: import("zod").ZodLiteral<"file">;
|
|
640
|
+
attachment: import("zod").ZodObject<{
|
|
641
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
642
|
+
name: import("zod").ZodString;
|
|
643
|
+
bytes: import("zod").ZodNumber;
|
|
644
|
+
}, import("zod/v4/core").$strict>;
|
|
645
|
+
}, import("zod/v4/core").$strict>], "type">>;
|
|
646
|
+
}, import("zod/v4/core").$strict>>;
|
|
647
|
+
}, import("zod/v4/core").$strict>;
|
|
648
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
649
|
+
kind: import("zod").ZodLiteral<"native-attachment">;
|
|
650
|
+
attachment: import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodObject<{
|
|
651
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
652
|
+
mediaType: import("zod").ZodEnum<{
|
|
653
|
+
"image/png": "image/png";
|
|
654
|
+
"image/jpeg": "image/jpeg";
|
|
655
|
+
"image/webp": "image/webp";
|
|
656
|
+
"image/gif": "image/gif";
|
|
657
|
+
}>;
|
|
658
|
+
bytes: import("zod").ZodNumber;
|
|
659
|
+
width: import("zod").ZodNumber;
|
|
660
|
+
height: import("zod").ZodNumber;
|
|
661
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
662
|
+
originalDimensions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
663
|
+
width: import("zod").ZodNumber;
|
|
664
|
+
height: import("zod").ZodNumber;
|
|
665
|
+
}, import("zod/v4/core").$strict>>;
|
|
666
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").ImageAttachmentRef, {
|
|
667
|
+
attachmentId: import("@deepseek-ai/dsh-attachment").AttachmentId;
|
|
668
|
+
mediaType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
669
|
+
bytes: number;
|
|
670
|
+
width: number;
|
|
671
|
+
height: number;
|
|
672
|
+
name?: string | undefined;
|
|
673
|
+
originalDimensions?: {
|
|
674
|
+
width: number;
|
|
675
|
+
height: number;
|
|
676
|
+
} | undefined;
|
|
677
|
+
}>>, import("zod").ZodObject<{
|
|
678
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
679
|
+
name: import("zod").ZodString;
|
|
680
|
+
bytes: import("zod").ZodNumber;
|
|
681
|
+
}, import("zod/v4/core").$strict>]>;
|
|
682
|
+
data: import("zod").ZodString;
|
|
683
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
477
684
|
kind: import("zod").ZodLiteral<"topic">;
|
|
478
685
|
topic: import("zod").ZodObject<{
|
|
686
|
+
captureId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
687
|
+
documentTitle: import("zod").ZodOptional<import("zod").ZodString>;
|
|
479
688
|
topic: import("zod").ZodObject<{
|
|
689
|
+
permission: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
690
|
+
"read-only": "read-only";
|
|
691
|
+
"workspace-write": "workspace-write";
|
|
692
|
+
"danger-full-access": "danger-full-access";
|
|
693
|
+
}>>;
|
|
694
|
+
hosted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
695
|
+
storage: import("zod").ZodOptional<import("zod").ZodLiteral<"source">>;
|
|
480
696
|
topicId: import("zod").ZodNumber;
|
|
481
697
|
sessionId: import("zod").ZodString;
|
|
482
698
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -547,11 +763,20 @@ export declare const TYPERT: {
|
|
|
547
763
|
}, import("zod/v4/core").$strict>;
|
|
548
764
|
messages: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
549
765
|
role: import("zod").ZodLiteral<"user">;
|
|
766
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
767
|
+
kind: import("zod").ZodEnum<{
|
|
768
|
+
image: "image";
|
|
769
|
+
file: "file";
|
|
770
|
+
}>;
|
|
771
|
+
id: import("zod").ZodString;
|
|
772
|
+
name: import("zod").ZodString;
|
|
773
|
+
}, import("zod/v4/core").$strict>>>;
|
|
550
774
|
text: import("zod").ZodString;
|
|
551
775
|
id: import("zod").ZodString;
|
|
552
776
|
seq: import("zod").ZodNumber;
|
|
553
777
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
554
778
|
role: import("zod").ZodLiteral<"assistant">;
|
|
779
|
+
renderKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
555
780
|
text: import("zod").ZodString;
|
|
556
781
|
reasoning: import("zod").ZodNullable<import("zod").ZodString>;
|
|
557
782
|
streaming: import("zod").ZodBoolean;
|
|
@@ -565,6 +790,14 @@ export declare const TYPERT: {
|
|
|
565
790
|
seq: import("zod").ZodNumber;
|
|
566
791
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
567
792
|
role: import("zod").ZodLiteral<"tool">;
|
|
793
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
794
|
+
kind: import("zod").ZodEnum<{
|
|
795
|
+
image: "image";
|
|
796
|
+
file: "file";
|
|
797
|
+
}>;
|
|
798
|
+
id: import("zod").ZodString;
|
|
799
|
+
name: import("zod").ZodString;
|
|
800
|
+
}, import("zod/v4/core").$strict>>>;
|
|
568
801
|
name: import("zod").ZodString;
|
|
569
802
|
arguments: import("zod").ZodString;
|
|
570
803
|
result: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -604,12 +837,12 @@ export declare const TYPERT: {
|
|
|
604
837
|
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
605
838
|
id: import("zod").ZodString;
|
|
606
839
|
kind: import("zod").ZodEnum<{
|
|
840
|
+
image: "image";
|
|
607
841
|
text: "text";
|
|
608
842
|
markdown: "markdown";
|
|
609
843
|
math: "math";
|
|
610
844
|
svg: "svg";
|
|
611
845
|
html: "html";
|
|
612
|
-
image: "image";
|
|
613
846
|
table: "table";
|
|
614
847
|
}>;
|
|
615
848
|
content: import("zod").ZodString;
|
|
@@ -640,6 +873,13 @@ export declare const TYPERT: {
|
|
|
640
873
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
641
874
|
kind: import("zod").ZodLiteral<"topics">;
|
|
642
875
|
topics: import("zod").ZodArray<import("zod").ZodObject<{
|
|
876
|
+
permission: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
877
|
+
"read-only": "read-only";
|
|
878
|
+
"workspace-write": "workspace-write";
|
|
879
|
+
"danger-full-access": "danger-full-access";
|
|
880
|
+
}>>;
|
|
881
|
+
hosted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
882
|
+
storage: import("zod").ZodOptional<import("zod").ZodLiteral<"source">>;
|
|
643
883
|
topicId: import("zod").ZodNumber;
|
|
644
884
|
sessionId: import("zod").ZodString;
|
|
645
885
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -767,6 +1007,8 @@ export declare const TYPERT: {
|
|
|
767
1007
|
}>;
|
|
768
1008
|
content: import("zod").ZodString;
|
|
769
1009
|
truncated: import("zod").ZodBoolean;
|
|
1010
|
+
page: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1011
|
+
pageCount: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
770
1012
|
}, import("zod/v4/core").$strict>;
|
|
771
1013
|
}, import("zod/v4/core").$strict>], "kind">;
|
|
772
1014
|
}, {
|
|
@@ -814,6 +1056,10 @@ export declare const TYPERT: {
|
|
|
814
1056
|
readonly typeSymbol: "@kirkchinese/dsh-citeciter#CiteCiterRequest";
|
|
815
1057
|
readonly schema: import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
816
1058
|
action: import("zod").ZodLiteral<"create">;
|
|
1059
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1060
|
+
provider: import("zod").ZodString;
|
|
1061
|
+
model: import("zod").ZodString;
|
|
1062
|
+
}, import("zod/v4/core").$strict>>;
|
|
817
1063
|
requestId: import("zod").ZodString;
|
|
818
1064
|
sourceSessionId: import("zod").ZodString;
|
|
819
1065
|
question: import("zod").ZodString;
|
|
@@ -824,6 +1070,10 @@ export declare const TYPERT: {
|
|
|
824
1070
|
}>>;
|
|
825
1071
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
826
1072
|
action: import("zod").ZodLiteral<"create">;
|
|
1073
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1074
|
+
provider: import("zod").ZodString;
|
|
1075
|
+
model: import("zod").ZodString;
|
|
1076
|
+
}, import("zod/v4/core").$strict>>;
|
|
827
1077
|
requestId: import("zod").ZodString;
|
|
828
1078
|
citation: import("zod").ZodObject<{
|
|
829
1079
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -850,6 +1100,10 @@ export declare const TYPERT: {
|
|
|
850
1100
|
}>>;
|
|
851
1101
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
852
1102
|
action: import("zod").ZodLiteral<"create">;
|
|
1103
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1104
|
+
provider: import("zod").ZodString;
|
|
1105
|
+
model: import("zod").ZodString;
|
|
1106
|
+
}, import("zod/v4/core").$strict>>;
|
|
853
1107
|
requestId: import("zod").ZodString;
|
|
854
1108
|
selectionClaim: import("zod").ZodObject<{
|
|
855
1109
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -873,6 +1127,10 @@ export declare const TYPERT: {
|
|
|
873
1127
|
}>>;
|
|
874
1128
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
875
1129
|
action: import("zod").ZodLiteral<"create">;
|
|
1130
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1131
|
+
provider: import("zod").ZodString;
|
|
1132
|
+
model: import("zod").ZodString;
|
|
1133
|
+
}, import("zod/v4/core").$strict>>;
|
|
876
1134
|
requestId: import("zod").ZodString;
|
|
877
1135
|
toolClaim: import("zod").ZodObject<{
|
|
878
1136
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -898,6 +1156,10 @@ export declare const TYPERT: {
|
|
|
898
1156
|
}>>;
|
|
899
1157
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
900
1158
|
action: import("zod").ZodLiteral<"create">;
|
|
1159
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1160
|
+
provider: import("zod").ZodString;
|
|
1161
|
+
model: import("zod").ZodString;
|
|
1162
|
+
}, import("zod/v4/core").$strict>>;
|
|
901
1163
|
requestId: import("zod").ZodString;
|
|
902
1164
|
documentClaim: import("zod").ZodObject<{
|
|
903
1165
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -922,9 +1184,23 @@ export declare const TYPERT: {
|
|
|
922
1184
|
action: import("zod").ZodLiteral<"list">;
|
|
923
1185
|
sourceSessionId: import("zod").ZodString;
|
|
924
1186
|
includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1187
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1188
|
+
action: import("zod").ZodLiteral<"board-capture">;
|
|
1189
|
+
topicSessionId: import("zod").ZodString;
|
|
1190
|
+
id: import("zod").ZodString;
|
|
1191
|
+
png: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1192
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
925
1193
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
926
1194
|
action: import("zod").ZodLiteral<"get">;
|
|
927
1195
|
topicSessionId: import("zod").ZodString;
|
|
1196
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1197
|
+
action: import("zod").ZodLiteral<"native-state">;
|
|
1198
|
+
topicSessionId: import("zod").ZodString;
|
|
1199
|
+
requestIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
1200
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1201
|
+
action: import("zod").ZodLiteral<"native-attachment">;
|
|
1202
|
+
topicSessionId: import("zod").ZodString;
|
|
1203
|
+
attachmentId: import("zod").ZodString;
|
|
928
1204
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
929
1205
|
action: import("zod").ZodLiteral<"ask">;
|
|
930
1206
|
requestId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -962,6 +1238,14 @@ export declare const TYPERT: {
|
|
|
962
1238
|
confirmSessionId: import("zod").ZodString;
|
|
963
1239
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
964
1240
|
action: import("zod").ZodLiteral<"models">;
|
|
1241
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1242
|
+
action: import("zod").ZodLiteral<"set-permission">;
|
|
1243
|
+
topicSessionId: import("zod").ZodString;
|
|
1244
|
+
mode: import("zod").ZodEnum<{
|
|
1245
|
+
"read-only": "read-only";
|
|
1246
|
+
"workspace-write": "workspace-write";
|
|
1247
|
+
"danger-full-access": "danger-full-access";
|
|
1248
|
+
}>;
|
|
965
1249
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
966
1250
|
action: import("zod").ZodLiteral<"set-model-route">;
|
|
967
1251
|
topicSessionId: import("zod").ZodString;
|
|
@@ -991,6 +1275,7 @@ export declare const TYPERT: {
|
|
|
991
1275
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
992
1276
|
action: import("zod").ZodLiteral<"document-get">;
|
|
993
1277
|
documentId: import("zod").ZodString;
|
|
1278
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
994
1279
|
}, import("zod/v4/core").$strict>], "action">]>;
|
|
995
1280
|
};
|
|
996
1281
|
}];
|
|
@@ -1001,9 +1286,149 @@ export declare const TYPERT: {
|
|
|
1001
1286
|
readonly mode: "strict";
|
|
1002
1287
|
readonly typeSymbol: "@kirkchinese/dsh-citeciter#CiteCiterResponse";
|
|
1003
1288
|
readonly schema: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1289
|
+
kind: import("zod").ZodLiteral<"native-state">;
|
|
1290
|
+
state: import("zod").ZodObject<{
|
|
1291
|
+
running: import("zod").ZodBoolean;
|
|
1292
|
+
blank: import("zod").ZodBoolean;
|
|
1293
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1294
|
+
queue: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1295
|
+
id: import("zod").ZodString;
|
|
1296
|
+
placement: import("zod").ZodEnum<{
|
|
1297
|
+
queued: "queued";
|
|
1298
|
+
steering: "steering";
|
|
1299
|
+
context: "context";
|
|
1300
|
+
}>;
|
|
1301
|
+
rpcId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1302
|
+
text: import("zod").ZodString;
|
|
1303
|
+
attachments: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1304
|
+
type: import("zod").ZodLiteral<"image">;
|
|
1305
|
+
attachment: import("zod").ZodPipe<import("zod").ZodObject<{
|
|
1306
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
1307
|
+
mediaType: import("zod").ZodEnum<{
|
|
1308
|
+
"image/png": "image/png";
|
|
1309
|
+
"image/jpeg": "image/jpeg";
|
|
1310
|
+
"image/webp": "image/webp";
|
|
1311
|
+
"image/gif": "image/gif";
|
|
1312
|
+
}>;
|
|
1313
|
+
bytes: import("zod").ZodNumber;
|
|
1314
|
+
width: import("zod").ZodNumber;
|
|
1315
|
+
height: import("zod").ZodNumber;
|
|
1316
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1317
|
+
originalDimensions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1318
|
+
width: import("zod").ZodNumber;
|
|
1319
|
+
height: import("zod").ZodNumber;
|
|
1320
|
+
}, import("zod/v4/core").$strict>>;
|
|
1321
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").ImageAttachmentRef, {
|
|
1322
|
+
attachmentId: import("@deepseek-ai/dsh-attachment").AttachmentId;
|
|
1323
|
+
mediaType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
1324
|
+
bytes: number;
|
|
1325
|
+
width: number;
|
|
1326
|
+
height: number;
|
|
1327
|
+
name?: string | undefined;
|
|
1328
|
+
originalDimensions?: {
|
|
1329
|
+
width: number;
|
|
1330
|
+
height: number;
|
|
1331
|
+
} | undefined;
|
|
1332
|
+
}>>;
|
|
1333
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1334
|
+
type: import("zod").ZodLiteral<"file">;
|
|
1335
|
+
attachment: import("zod").ZodObject<{
|
|
1336
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
1337
|
+
name: import("zod").ZodString;
|
|
1338
|
+
bytes: import("zod").ZodNumber;
|
|
1339
|
+
}, import("zod/v4/core").$strict>;
|
|
1340
|
+
}, import("zod/v4/core").$strict>], "type">>;
|
|
1341
|
+
}, import("zod/v4/core").$strict>>;
|
|
1342
|
+
receipts: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1343
|
+
requestId: import("zod").ZodString;
|
|
1344
|
+
attachments: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1345
|
+
type: import("zod").ZodLiteral<"image">;
|
|
1346
|
+
attachment: import("zod").ZodPipe<import("zod").ZodObject<{
|
|
1347
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
1348
|
+
mediaType: import("zod").ZodEnum<{
|
|
1349
|
+
"image/png": "image/png";
|
|
1350
|
+
"image/jpeg": "image/jpeg";
|
|
1351
|
+
"image/webp": "image/webp";
|
|
1352
|
+
"image/gif": "image/gif";
|
|
1353
|
+
}>;
|
|
1354
|
+
bytes: import("zod").ZodNumber;
|
|
1355
|
+
width: import("zod").ZodNumber;
|
|
1356
|
+
height: import("zod").ZodNumber;
|
|
1357
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1358
|
+
originalDimensions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1359
|
+
width: import("zod").ZodNumber;
|
|
1360
|
+
height: import("zod").ZodNumber;
|
|
1361
|
+
}, import("zod/v4/core").$strict>>;
|
|
1362
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").ImageAttachmentRef, {
|
|
1363
|
+
attachmentId: import("@deepseek-ai/dsh-attachment").AttachmentId;
|
|
1364
|
+
mediaType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
1365
|
+
bytes: number;
|
|
1366
|
+
width: number;
|
|
1367
|
+
height: number;
|
|
1368
|
+
name?: string | undefined;
|
|
1369
|
+
originalDimensions?: {
|
|
1370
|
+
width: number;
|
|
1371
|
+
height: number;
|
|
1372
|
+
} | undefined;
|
|
1373
|
+
}>>;
|
|
1374
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1375
|
+
type: import("zod").ZodLiteral<"file">;
|
|
1376
|
+
attachment: import("zod").ZodObject<{
|
|
1377
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
1378
|
+
name: import("zod").ZodString;
|
|
1379
|
+
bytes: import("zod").ZodNumber;
|
|
1380
|
+
}, import("zod/v4/core").$strict>;
|
|
1381
|
+
}, import("zod/v4/core").$strict>], "type">>;
|
|
1382
|
+
}, import("zod/v4/core").$strict>>;
|
|
1383
|
+
}, import("zod/v4/core").$strict>;
|
|
1384
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1385
|
+
kind: import("zod").ZodLiteral<"native-attachment">;
|
|
1386
|
+
attachment: import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodObject<{
|
|
1387
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
1388
|
+
mediaType: import("zod").ZodEnum<{
|
|
1389
|
+
"image/png": "image/png";
|
|
1390
|
+
"image/jpeg": "image/jpeg";
|
|
1391
|
+
"image/webp": "image/webp";
|
|
1392
|
+
"image/gif": "image/gif";
|
|
1393
|
+
}>;
|
|
1394
|
+
bytes: import("zod").ZodNumber;
|
|
1395
|
+
width: import("zod").ZodNumber;
|
|
1396
|
+
height: import("zod").ZodNumber;
|
|
1397
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1398
|
+
originalDimensions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1399
|
+
width: import("zod").ZodNumber;
|
|
1400
|
+
height: import("zod").ZodNumber;
|
|
1401
|
+
}, import("zod/v4/core").$strict>>;
|
|
1402
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").ImageAttachmentRef, {
|
|
1403
|
+
attachmentId: import("@deepseek-ai/dsh-attachment").AttachmentId;
|
|
1404
|
+
mediaType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
1405
|
+
bytes: number;
|
|
1406
|
+
width: number;
|
|
1407
|
+
height: number;
|
|
1408
|
+
name?: string | undefined;
|
|
1409
|
+
originalDimensions?: {
|
|
1410
|
+
width: number;
|
|
1411
|
+
height: number;
|
|
1412
|
+
} | undefined;
|
|
1413
|
+
}>>, import("zod").ZodObject<{
|
|
1414
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
1415
|
+
name: import("zod").ZodString;
|
|
1416
|
+
bytes: import("zod").ZodNumber;
|
|
1417
|
+
}, import("zod/v4/core").$strict>]>;
|
|
1418
|
+
data: import("zod").ZodString;
|
|
1419
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1004
1420
|
kind: import("zod").ZodLiteral<"topic">;
|
|
1005
1421
|
topic: import("zod").ZodObject<{
|
|
1422
|
+
captureId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1423
|
+
documentTitle: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1006
1424
|
topic: import("zod").ZodObject<{
|
|
1425
|
+
permission: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1426
|
+
"read-only": "read-only";
|
|
1427
|
+
"workspace-write": "workspace-write";
|
|
1428
|
+
"danger-full-access": "danger-full-access";
|
|
1429
|
+
}>>;
|
|
1430
|
+
hosted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1431
|
+
storage: import("zod").ZodOptional<import("zod").ZodLiteral<"source">>;
|
|
1007
1432
|
topicId: import("zod").ZodNumber;
|
|
1008
1433
|
sessionId: import("zod").ZodString;
|
|
1009
1434
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -1074,11 +1499,20 @@ export declare const TYPERT: {
|
|
|
1074
1499
|
}, import("zod/v4/core").$strict>;
|
|
1075
1500
|
messages: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
1076
1501
|
role: import("zod").ZodLiteral<"user">;
|
|
1502
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1503
|
+
kind: import("zod").ZodEnum<{
|
|
1504
|
+
image: "image";
|
|
1505
|
+
file: "file";
|
|
1506
|
+
}>;
|
|
1507
|
+
id: import("zod").ZodString;
|
|
1508
|
+
name: import("zod").ZodString;
|
|
1509
|
+
}, import("zod/v4/core").$strict>>>;
|
|
1077
1510
|
text: import("zod").ZodString;
|
|
1078
1511
|
id: import("zod").ZodString;
|
|
1079
1512
|
seq: import("zod").ZodNumber;
|
|
1080
1513
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1081
1514
|
role: import("zod").ZodLiteral<"assistant">;
|
|
1515
|
+
renderKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1082
1516
|
text: import("zod").ZodString;
|
|
1083
1517
|
reasoning: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1084
1518
|
streaming: import("zod").ZodBoolean;
|
|
@@ -1092,6 +1526,14 @@ export declare const TYPERT: {
|
|
|
1092
1526
|
seq: import("zod").ZodNumber;
|
|
1093
1527
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1094
1528
|
role: import("zod").ZodLiteral<"tool">;
|
|
1529
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
1530
|
+
kind: import("zod").ZodEnum<{
|
|
1531
|
+
image: "image";
|
|
1532
|
+
file: "file";
|
|
1533
|
+
}>;
|
|
1534
|
+
id: import("zod").ZodString;
|
|
1535
|
+
name: import("zod").ZodString;
|
|
1536
|
+
}, import("zod/v4/core").$strict>>>;
|
|
1095
1537
|
name: import("zod").ZodString;
|
|
1096
1538
|
arguments: import("zod").ZodString;
|
|
1097
1539
|
result: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -1131,12 +1573,12 @@ export declare const TYPERT: {
|
|
|
1131
1573
|
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1132
1574
|
id: import("zod").ZodString;
|
|
1133
1575
|
kind: import("zod").ZodEnum<{
|
|
1576
|
+
image: "image";
|
|
1134
1577
|
text: "text";
|
|
1135
1578
|
markdown: "markdown";
|
|
1136
1579
|
math: "math";
|
|
1137
1580
|
svg: "svg";
|
|
1138
1581
|
html: "html";
|
|
1139
|
-
image: "image";
|
|
1140
1582
|
table: "table";
|
|
1141
1583
|
}>;
|
|
1142
1584
|
content: import("zod").ZodString;
|
|
@@ -1167,6 +1609,13 @@ export declare const TYPERT: {
|
|
|
1167
1609
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
1168
1610
|
kind: import("zod").ZodLiteral<"topics">;
|
|
1169
1611
|
topics: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1612
|
+
permission: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
1613
|
+
"read-only": "read-only";
|
|
1614
|
+
"workspace-write": "workspace-write";
|
|
1615
|
+
"danger-full-access": "danger-full-access";
|
|
1616
|
+
}>>;
|
|
1617
|
+
hosted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1618
|
+
storage: import("zod").ZodOptional<import("zod").ZodLiteral<"source">>;
|
|
1170
1619
|
topicId: import("zod").ZodNumber;
|
|
1171
1620
|
sessionId: import("zod").ZodString;
|
|
1172
1621
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -1294,6 +1743,8 @@ export declare const TYPERT: {
|
|
|
1294
1743
|
}>;
|
|
1295
1744
|
content: import("zod").ZodString;
|
|
1296
1745
|
truncated: import("zod").ZodBoolean;
|
|
1746
|
+
page: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1747
|
+
pageCount: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1297
1748
|
}, import("zod/v4/core").$strict>;
|
|
1298
1749
|
}, import("zod/v4/core").$strict>], "kind">;
|
|
1299
1750
|
};
|