@kirkchinese/dsh-citeciter 0.5.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 +89 -70
- package/README.zh.md +91 -70
- package/lib/client.js +7028 -1167
- package/lib/index.js +1786 -587
- package/lib/{typert-common-DKqYKnRO.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 +19 -5
- package/lib/types/client/components/ActionWheel.d.ts +12 -0
- package/lib/types/client/components/BlackboardWorkspace.d.ts +7 -5
- 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/CiteCiterSettings.d.ts +12 -7
- package/lib/types/client/components/CiteLauncher.d.ts +9 -0
- package/lib/types/client/components/CitePanel.d.ts +15 -5
- package/lib/types/client/components/CompactBackButton.d.ts +4 -0
- package/lib/types/client/components/DocumentReader.d.ts +12 -3
- 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/UpdateNotice.d.ts +6 -3
- package/lib/types/client/components/UserMessageBody.d.ts +4 -0
- package/lib/types/client/components/WheelSettings.d.ts +7 -0
- package/lib/types/client/copy.d.ts +6 -0
- package/lib/types/client/dock-geometry.d.ts +23 -0
- package/lib/types/client/draft-references.d.ts +20 -0
- package/lib/types/client/entries.d.ts +3 -2
- 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 +18 -0
- 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 +7 -1
- package/lib/types/client/request-guard.d.ts +3 -2
- package/lib/types/client/selection.d.ts +1 -1
- 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 +6 -5
- package/lib/types/client/update-controller.d.ts +5 -3
- package/lib/types/client/view-actions.d.ts +26 -0
- 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 +6 -6
- 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/observer.d.ts +2 -1
- 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 +21 -57
- package/lib/types/topic-stream.d.ts +14 -0
- package/lib/types/topic.d.ts +301 -2
- package/lib/types/typert-common.d.ts +211 -1
- package/lib/types/typert.host.d.ts +456 -3
- package/lib/types/update.d.ts +1 -0
- package/lib/{update-u9-6c_qp.js → update-0LcFDvI5.js} +281 -14
- package/package.json +83 -70
- package/lib/types/client/components/SelectionMenu.d.ts +0 -13
|
@@ -16,6 +16,10 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
16
16
|
readonly typeSymbol: "@kirkchinese/dsh-citeciter#CiteCiterRequest";
|
|
17
17
|
readonly schema: import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
18
18
|
action: import("zod").ZodLiteral<"create">;
|
|
19
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
20
|
+
provider: import("zod").ZodString;
|
|
21
|
+
model: import("zod").ZodString;
|
|
22
|
+
}, import("zod/v4/core").$strict>>;
|
|
19
23
|
requestId: import("zod").ZodString;
|
|
20
24
|
sourceSessionId: import("zod").ZodString;
|
|
21
25
|
question: import("zod").ZodString;
|
|
@@ -26,6 +30,10 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
26
30
|
}>>;
|
|
27
31
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
28
32
|
action: import("zod").ZodLiteral<"create">;
|
|
33
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
34
|
+
provider: import("zod").ZodString;
|
|
35
|
+
model: import("zod").ZodString;
|
|
36
|
+
}, import("zod/v4/core").$strict>>;
|
|
29
37
|
requestId: import("zod").ZodString;
|
|
30
38
|
citation: import("zod").ZodObject<{
|
|
31
39
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -52,6 +60,10 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
52
60
|
}>>;
|
|
53
61
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
54
62
|
action: import("zod").ZodLiteral<"create">;
|
|
63
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
64
|
+
provider: import("zod").ZodString;
|
|
65
|
+
model: import("zod").ZodString;
|
|
66
|
+
}, import("zod/v4/core").$strict>>;
|
|
55
67
|
requestId: import("zod").ZodString;
|
|
56
68
|
selectionClaim: import("zod").ZodObject<{
|
|
57
69
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -75,6 +87,10 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
75
87
|
}>>;
|
|
76
88
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
77
89
|
action: import("zod").ZodLiteral<"create">;
|
|
90
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
91
|
+
provider: import("zod").ZodString;
|
|
92
|
+
model: import("zod").ZodString;
|
|
93
|
+
}, import("zod/v4/core").$strict>>;
|
|
78
94
|
requestId: import("zod").ZodString;
|
|
79
95
|
toolClaim: import("zod").ZodObject<{
|
|
80
96
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -100,6 +116,10 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
100
116
|
}>>;
|
|
101
117
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
102
118
|
action: import("zod").ZodLiteral<"create">;
|
|
119
|
+
modelRoute: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
120
|
+
provider: import("zod").ZodString;
|
|
121
|
+
model: import("zod").ZodString;
|
|
122
|
+
}, import("zod/v4/core").$strict>>;
|
|
103
123
|
requestId: import("zod").ZodString;
|
|
104
124
|
documentClaim: import("zod").ZodObject<{
|
|
105
125
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -124,9 +144,23 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
124
144
|
action: import("zod").ZodLiteral<"list">;
|
|
125
145
|
sourceSessionId: import("zod").ZodString;
|
|
126
146
|
includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
147
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
148
|
+
action: import("zod").ZodLiteral<"board-capture">;
|
|
149
|
+
topicSessionId: import("zod").ZodString;
|
|
150
|
+
id: import("zod").ZodString;
|
|
151
|
+
png: import("zod").ZodOptional<import("zod").ZodString>;
|
|
152
|
+
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
127
153
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
128
154
|
action: import("zod").ZodLiteral<"get">;
|
|
129
155
|
topicSessionId: import("zod").ZodString;
|
|
156
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
157
|
+
action: import("zod").ZodLiteral<"native-state">;
|
|
158
|
+
topicSessionId: import("zod").ZodString;
|
|
159
|
+
requestIds: import("zod").ZodArray<import("zod").ZodString>;
|
|
160
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
161
|
+
action: import("zod").ZodLiteral<"native-attachment">;
|
|
162
|
+
topicSessionId: import("zod").ZodString;
|
|
163
|
+
attachmentId: import("zod").ZodString;
|
|
130
164
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
131
165
|
action: import("zod").ZodLiteral<"ask">;
|
|
132
166
|
requestId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -164,6 +198,14 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
164
198
|
confirmSessionId: import("zod").ZodString;
|
|
165
199
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
166
200
|
action: import("zod").ZodLiteral<"models">;
|
|
201
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
202
|
+
action: import("zod").ZodLiteral<"set-permission">;
|
|
203
|
+
topicSessionId: import("zod").ZodString;
|
|
204
|
+
mode: import("zod").ZodEnum<{
|
|
205
|
+
"read-only": "read-only";
|
|
206
|
+
"workspace-write": "workspace-write";
|
|
207
|
+
"danger-full-access": "danger-full-access";
|
|
208
|
+
}>;
|
|
167
209
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
168
210
|
action: import("zod").ZodLiteral<"set-model-route">;
|
|
169
211
|
topicSessionId: import("zod").ZodString;
|
|
@@ -193,6 +235,7 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
193
235
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
194
236
|
action: import("zod").ZodLiteral<"document-get">;
|
|
195
237
|
documentId: import("zod").ZodString;
|
|
238
|
+
page: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
196
239
|
}, import("zod/v4/core").$strict>], "action">]>;
|
|
197
240
|
};
|
|
198
241
|
}];
|
|
@@ -203,9 +246,149 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
203
246
|
readonly mode: "strict";
|
|
204
247
|
readonly typeSymbol: "@kirkchinese/dsh-citeciter#CiteCiterResponse";
|
|
205
248
|
readonly schema: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
249
|
+
kind: import("zod").ZodLiteral<"native-state">;
|
|
250
|
+
state: import("zod").ZodObject<{
|
|
251
|
+
running: import("zod").ZodBoolean;
|
|
252
|
+
blank: import("zod").ZodBoolean;
|
|
253
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
254
|
+
queue: import("zod").ZodArray<import("zod").ZodObject<{
|
|
255
|
+
id: import("zod").ZodString;
|
|
256
|
+
placement: import("zod").ZodEnum<{
|
|
257
|
+
queued: "queued";
|
|
258
|
+
steering: "steering";
|
|
259
|
+
context: "context";
|
|
260
|
+
}>;
|
|
261
|
+
rpcId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
262
|
+
text: import("zod").ZodString;
|
|
263
|
+
attachments: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
264
|
+
type: import("zod").ZodLiteral<"image">;
|
|
265
|
+
attachment: import("zod").ZodPipe<import("zod").ZodObject<{
|
|
266
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
267
|
+
mediaType: import("zod").ZodEnum<{
|
|
268
|
+
"image/png": "image/png";
|
|
269
|
+
"image/jpeg": "image/jpeg";
|
|
270
|
+
"image/webp": "image/webp";
|
|
271
|
+
"image/gif": "image/gif";
|
|
272
|
+
}>;
|
|
273
|
+
bytes: import("zod").ZodNumber;
|
|
274
|
+
width: import("zod").ZodNumber;
|
|
275
|
+
height: import("zod").ZodNumber;
|
|
276
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
277
|
+
originalDimensions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
278
|
+
width: import("zod").ZodNumber;
|
|
279
|
+
height: import("zod").ZodNumber;
|
|
280
|
+
}, import("zod/v4/core").$strict>>;
|
|
281
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").ImageAttachmentRef, {
|
|
282
|
+
attachmentId: import("@deepseek-ai/dsh-attachment").AttachmentId;
|
|
283
|
+
mediaType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
284
|
+
bytes: number;
|
|
285
|
+
width: number;
|
|
286
|
+
height: number;
|
|
287
|
+
name?: string | undefined;
|
|
288
|
+
originalDimensions?: {
|
|
289
|
+
width: number;
|
|
290
|
+
height: number;
|
|
291
|
+
} | undefined;
|
|
292
|
+
}>>;
|
|
293
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
294
|
+
type: import("zod").ZodLiteral<"file">;
|
|
295
|
+
attachment: import("zod").ZodObject<{
|
|
296
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
297
|
+
name: import("zod").ZodString;
|
|
298
|
+
bytes: import("zod").ZodNumber;
|
|
299
|
+
}, import("zod/v4/core").$strict>;
|
|
300
|
+
}, import("zod/v4/core").$strict>], "type">>;
|
|
301
|
+
}, import("zod/v4/core").$strict>>;
|
|
302
|
+
receipts: import("zod").ZodArray<import("zod").ZodObject<{
|
|
303
|
+
requestId: import("zod").ZodString;
|
|
304
|
+
attachments: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
305
|
+
type: import("zod").ZodLiteral<"image">;
|
|
306
|
+
attachment: import("zod").ZodPipe<import("zod").ZodObject<{
|
|
307
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
308
|
+
mediaType: import("zod").ZodEnum<{
|
|
309
|
+
"image/png": "image/png";
|
|
310
|
+
"image/jpeg": "image/jpeg";
|
|
311
|
+
"image/webp": "image/webp";
|
|
312
|
+
"image/gif": "image/gif";
|
|
313
|
+
}>;
|
|
314
|
+
bytes: import("zod").ZodNumber;
|
|
315
|
+
width: import("zod").ZodNumber;
|
|
316
|
+
height: import("zod").ZodNumber;
|
|
317
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
318
|
+
originalDimensions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
319
|
+
width: import("zod").ZodNumber;
|
|
320
|
+
height: import("zod").ZodNumber;
|
|
321
|
+
}, import("zod/v4/core").$strict>>;
|
|
322
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").ImageAttachmentRef, {
|
|
323
|
+
attachmentId: import("@deepseek-ai/dsh-attachment").AttachmentId;
|
|
324
|
+
mediaType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
325
|
+
bytes: number;
|
|
326
|
+
width: number;
|
|
327
|
+
height: number;
|
|
328
|
+
name?: string | undefined;
|
|
329
|
+
originalDimensions?: {
|
|
330
|
+
width: number;
|
|
331
|
+
height: number;
|
|
332
|
+
} | undefined;
|
|
333
|
+
}>>;
|
|
334
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
335
|
+
type: import("zod").ZodLiteral<"file">;
|
|
336
|
+
attachment: import("zod").ZodObject<{
|
|
337
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
338
|
+
name: import("zod").ZodString;
|
|
339
|
+
bytes: import("zod").ZodNumber;
|
|
340
|
+
}, import("zod/v4/core").$strict>;
|
|
341
|
+
}, import("zod/v4/core").$strict>], "type">>;
|
|
342
|
+
}, import("zod/v4/core").$strict>>;
|
|
343
|
+
}, import("zod/v4/core").$strict>;
|
|
344
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
345
|
+
kind: import("zod").ZodLiteral<"native-attachment">;
|
|
346
|
+
attachment: import("zod").ZodUnion<readonly [import("zod").ZodPipe<import("zod").ZodObject<{
|
|
347
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
348
|
+
mediaType: import("zod").ZodEnum<{
|
|
349
|
+
"image/png": "image/png";
|
|
350
|
+
"image/jpeg": "image/jpeg";
|
|
351
|
+
"image/webp": "image/webp";
|
|
352
|
+
"image/gif": "image/gif";
|
|
353
|
+
}>;
|
|
354
|
+
bytes: import("zod").ZodNumber;
|
|
355
|
+
width: import("zod").ZodNumber;
|
|
356
|
+
height: import("zod").ZodNumber;
|
|
357
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
358
|
+
originalDimensions: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
359
|
+
width: import("zod").ZodNumber;
|
|
360
|
+
height: import("zod").ZodNumber;
|
|
361
|
+
}, import("zod/v4/core").$strict>>;
|
|
362
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").ImageAttachmentRef, {
|
|
363
|
+
attachmentId: import("@deepseek-ai/dsh-attachment").AttachmentId;
|
|
364
|
+
mediaType: "image/png" | "image/jpeg" | "image/webp" | "image/gif";
|
|
365
|
+
bytes: number;
|
|
366
|
+
width: number;
|
|
367
|
+
height: number;
|
|
368
|
+
name?: string | undefined;
|
|
369
|
+
originalDimensions?: {
|
|
370
|
+
width: number;
|
|
371
|
+
height: number;
|
|
372
|
+
} | undefined;
|
|
373
|
+
}>>, import("zod").ZodObject<{
|
|
374
|
+
attachmentId: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<import("@deepseek-ai/dsh-attachment").AttachmentId, string>>;
|
|
375
|
+
name: import("zod").ZodString;
|
|
376
|
+
bytes: import("zod").ZodNumber;
|
|
377
|
+
}, import("zod/v4/core").$strict>]>;
|
|
378
|
+
data: import("zod").ZodString;
|
|
379
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
206
380
|
kind: import("zod").ZodLiteral<"topic">;
|
|
207
381
|
topic: import("zod").ZodObject<{
|
|
382
|
+
captureId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
383
|
+
documentTitle: import("zod").ZodOptional<import("zod").ZodString>;
|
|
208
384
|
topic: import("zod").ZodObject<{
|
|
385
|
+
permission: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
386
|
+
"read-only": "read-only";
|
|
387
|
+
"workspace-write": "workspace-write";
|
|
388
|
+
"danger-full-access": "danger-full-access";
|
|
389
|
+
}>>;
|
|
390
|
+
hosted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
391
|
+
storage: import("zod").ZodOptional<import("zod").ZodLiteral<"source">>;
|
|
209
392
|
topicId: import("zod").ZodNumber;
|
|
210
393
|
sessionId: import("zod").ZodString;
|
|
211
394
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -276,11 +459,20 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
276
459
|
}, import("zod/v4/core").$strict>;
|
|
277
460
|
messages: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
278
461
|
role: import("zod").ZodLiteral<"user">;
|
|
462
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
463
|
+
kind: import("zod").ZodEnum<{
|
|
464
|
+
image: "image";
|
|
465
|
+
file: "file";
|
|
466
|
+
}>;
|
|
467
|
+
id: import("zod").ZodString;
|
|
468
|
+
name: import("zod").ZodString;
|
|
469
|
+
}, import("zod/v4/core").$strict>>>;
|
|
279
470
|
text: import("zod").ZodString;
|
|
280
471
|
id: import("zod").ZodString;
|
|
281
472
|
seq: import("zod").ZodNumber;
|
|
282
473
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
283
474
|
role: import("zod").ZodLiteral<"assistant">;
|
|
475
|
+
renderKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
284
476
|
text: import("zod").ZodString;
|
|
285
477
|
reasoning: import("zod").ZodNullable<import("zod").ZodString>;
|
|
286
478
|
streaming: import("zod").ZodBoolean;
|
|
@@ -294,6 +486,14 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
294
486
|
seq: import("zod").ZodNumber;
|
|
295
487
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
296
488
|
role: import("zod").ZodLiteral<"tool">;
|
|
489
|
+
attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
490
|
+
kind: import("zod").ZodEnum<{
|
|
491
|
+
image: "image";
|
|
492
|
+
file: "file";
|
|
493
|
+
}>;
|
|
494
|
+
id: import("zod").ZodString;
|
|
495
|
+
name: import("zod").ZodString;
|
|
496
|
+
}, import("zod/v4/core").$strict>>>;
|
|
297
497
|
name: import("zod").ZodString;
|
|
298
498
|
arguments: import("zod").ZodString;
|
|
299
499
|
result: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -333,12 +533,12 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
333
533
|
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
334
534
|
id: import("zod").ZodString;
|
|
335
535
|
kind: import("zod").ZodEnum<{
|
|
536
|
+
image: "image";
|
|
336
537
|
text: "text";
|
|
337
538
|
markdown: "markdown";
|
|
338
539
|
math: "math";
|
|
339
540
|
svg: "svg";
|
|
340
541
|
html: "html";
|
|
341
|
-
image: "image";
|
|
342
542
|
table: "table";
|
|
343
543
|
}>;
|
|
344
544
|
content: import("zod").ZodString;
|
|
@@ -369,6 +569,13 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
369
569
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
370
570
|
kind: import("zod").ZodLiteral<"topics">;
|
|
371
571
|
topics: import("zod").ZodArray<import("zod").ZodObject<{
|
|
572
|
+
permission: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
573
|
+
"read-only": "read-only";
|
|
574
|
+
"workspace-write": "workspace-write";
|
|
575
|
+
"danger-full-access": "danger-full-access";
|
|
576
|
+
}>>;
|
|
577
|
+
hosted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
578
|
+
storage: import("zod").ZodOptional<import("zod").ZodLiteral<"source">>;
|
|
372
579
|
topicId: import("zod").ZodNumber;
|
|
373
580
|
sessionId: import("zod").ZodString;
|
|
374
581
|
sourceSessionId: import("zod").ZodString;
|
|
@@ -496,6 +703,8 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
496
703
|
}>;
|
|
497
704
|
content: import("zod").ZodString;
|
|
498
705
|
truncated: import("zod").ZodBoolean;
|
|
706
|
+
page: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
707
|
+
pageCount: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
499
708
|
}, import("zod/v4/core").$strict>;
|
|
500
709
|
}, import("zod/v4/core").$strict>], "kind">;
|
|
501
710
|
};
|
|
@@ -527,6 +736,7 @@ export declare const updateCheckDescriptor: {
|
|
|
527
736
|
latestVersion: import("zod").ZodString;
|
|
528
737
|
updateAvailable: import("zod").ZodBoolean;
|
|
529
738
|
checkedAt: import("zod").ZodNumber;
|
|
739
|
+
profile: import("zod").ZodOptional<import("zod").ZodString>;
|
|
530
740
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
531
741
|
kind: import("zod").ZodLiteral<"error">;
|
|
532
742
|
code: import("zod").ZodEnum<{
|