@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.
Files changed (101) hide show
  1. package/README.md +89 -70
  2. package/README.zh.md +91 -70
  3. package/lib/client.js +7028 -1167
  4. package/lib/index.js +1786 -587
  5. package/lib/{typert-common-DKqYKnRO.js → typert-common-DxE1_Bn_.js} +1 -1
  6. package/lib/typert.host.js +2 -2
  7. package/lib/typert.remote-client.js +1 -1
  8. package/lib/types/actions.d.ts +47 -0
  9. package/lib/types/board-capture.d.ts +11 -0
  10. package/lib/types/board.d.ts +4 -4
  11. package/lib/types/citation-mapping.d.ts +8 -0
  12. package/lib/types/citer-agent-registry.d.ts +21 -0
  13. package/lib/types/citer-session-access.d.ts +11 -0
  14. package/lib/types/citer-session-store.d.ts +7 -0
  15. package/lib/types/citer-session-world.d.ts +21 -0
  16. package/lib/types/client/action-controller.d.ts +61 -0
  17. package/lib/types/client/action-executor.d.ts +6 -0
  18. package/lib/types/client/board-capture-target.d.ts +8 -0
  19. package/lib/types/client/citer-session-face.d.ts +59 -0
  20. package/lib/types/client/compact-navigation.d.ts +3 -0
  21. package/lib/types/client/companion-controller.d.ts +19 -5
  22. package/lib/types/client/components/ActionWheel.d.ts +12 -0
  23. package/lib/types/client/components/BlackboardWorkspace.d.ts +7 -5
  24. package/lib/types/client/components/BoardCaptureSurface.d.ts +8 -0
  25. package/lib/types/client/components/BoardView.d.ts +5 -3
  26. package/lib/types/client/components/ChoicePopover.d.ts +8 -0
  27. package/lib/types/client/components/CiteCiterSettings.d.ts +12 -7
  28. package/lib/types/client/components/CiteLauncher.d.ts +9 -0
  29. package/lib/types/client/components/CitePanel.d.ts +15 -5
  30. package/lib/types/client/components/CompactBackButton.d.ts +4 -0
  31. package/lib/types/client/components/DocumentReader.d.ts +12 -3
  32. package/lib/types/client/components/FileAttachments.d.ts +9 -0
  33. package/lib/types/client/components/FileDropHint.d.ts +5 -0
  34. package/lib/types/client/components/LearningCards.d.ts +12 -0
  35. package/lib/types/client/components/LearningRoute.d.ts +7 -0
  36. package/lib/types/client/components/MessageAttachments.d.ts +12 -0
  37. package/lib/types/client/components/MessageFile.d.ts +8 -0
  38. package/lib/types/client/components/ModelChoice.d.ts +10 -0
  39. package/lib/types/client/components/NativeInteraction.d.ts +7 -0
  40. package/lib/types/client/components/NativeLearningDocument.d.ts +9 -0
  41. package/lib/types/client/components/NativeQueue.d.ts +6 -0
  42. package/lib/types/client/components/OverlayPortal.d.ts +10 -0
  43. package/lib/types/client/components/PermissionControl.d.ts +7 -0
  44. package/lib/types/client/components/QuestionCard.d.ts +10 -4
  45. package/lib/types/client/components/ReasoningDisclosure.d.ts +5 -0
  46. package/lib/types/client/components/ReferenceAttachments.d.ts +6 -0
  47. package/lib/types/client/components/TopicActions.d.ts +6 -0
  48. package/lib/types/client/components/TopicComposer.d.ts +36 -0
  49. package/lib/types/client/components/TopicHeader.d.ts +10 -0
  50. package/lib/types/client/components/TopicModelControls.d.ts +9 -0
  51. package/lib/types/client/components/TopicNavigation.d.ts +12 -0
  52. package/lib/types/client/components/TopicSettingsDialog.d.ts +21 -0
  53. package/lib/types/client/components/TopicTitle.d.ts +6 -0
  54. package/lib/types/client/components/UpdateNotice.d.ts +6 -3
  55. package/lib/types/client/components/UserMessageBody.d.ts +4 -0
  56. package/lib/types/client/components/WheelSettings.d.ts +7 -0
  57. package/lib/types/client/copy.d.ts +6 -0
  58. package/lib/types/client/dock-geometry.d.ts +23 -0
  59. package/lib/types/client/draft-references.d.ts +20 -0
  60. package/lib/types/client/entries.d.ts +3 -2
  61. package/lib/types/client/file-download.d.ts +16 -0
  62. package/lib/types/client/file-drop.d.ts +18 -0
  63. package/lib/types/client/host-dock.d.ts +18 -0
  64. package/lib/types/client/learning-route.d.ts +10 -0
  65. package/lib/types/client/native-composer.d.ts +18 -0
  66. package/lib/types/client/native-document.d.ts +13 -0
  67. package/lib/types/client/panel-drag.d.ts +10 -0
  68. package/lib/types/client/reader-controller.d.ts +7 -1
  69. package/lib/types/client/request-guard.d.ts +3 -2
  70. package/lib/types/client/selection.d.ts +1 -1
  71. package/lib/types/client/submission-preference.d.ts +5 -0
  72. package/lib/types/client/transcript-position.d.ts +6 -0
  73. package/lib/types/client/types.d.ts +6 -5
  74. package/lib/types/client/update-controller.d.ts +5 -3
  75. package/lib/types/client/view-actions.d.ts +26 -0
  76. package/lib/types/client/wheel-gesture.d.ts +13 -0
  77. package/lib/types/document-pages.d.ts +4 -0
  78. package/lib/types/documents.d.ts +7 -5
  79. package/lib/types/host-agent-modules.d.ts +15 -0
  80. package/lib/types/host-session-adapter.d.ts +31 -0
  81. package/lib/types/index.d.ts +6 -6
  82. package/lib/types/learning.d.ts +72 -0
  83. package/lib/types/native-attachment-read.d.ts +19 -0
  84. package/lib/types/native-session-contract.d.ts +198 -0
  85. package/lib/types/native-session-read.d.ts +4 -0
  86. package/lib/types/observer.d.ts +2 -1
  87. package/lib/types/owned-session-cleanup.d.ts +2 -0
  88. package/lib/types/service.d.ts +1 -1
  89. package/lib/types/session-migration.d.ts +3 -0
  90. package/lib/types/source-session.d.ts +7 -0
  91. package/lib/types/source-storage.d.ts +12 -0
  92. package/lib/types/topic-index.d.ts +75 -0
  93. package/lib/types/topic-runtime.d.ts +21 -57
  94. package/lib/types/topic-stream.d.ts +14 -0
  95. package/lib/types/topic.d.ts +301 -2
  96. package/lib/types/typert-common.d.ts +211 -1
  97. package/lib/types/typert.host.d.ts +456 -3
  98. package/lib/types/update.d.ts +1 -0
  99. package/lib/{update-u9-6c_qp.js → update-0LcFDvI5.js} +281 -14
  100. package/package.json +83 -70
  101. package/lib/types/client/components/SelectionMenu.d.ts +0 -13
@@ -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
  }, {
@@ -777,6 +1019,7 @@ export declare const TYPERT: {
777
1019
  latestVersion: import("zod").ZodString;
778
1020
  updateAvailable: import("zod").ZodBoolean;
779
1021
  checkedAt: import("zod").ZodNumber;
1022
+ profile: import("zod").ZodOptional<import("zod").ZodString>;
780
1023
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
781
1024
  kind: import("zod").ZodLiteral<"error">;
782
1025
  code: import("zod").ZodEnum<{
@@ -813,6 +1056,10 @@ export declare const TYPERT: {
813
1056
  readonly typeSymbol: "@kirkchinese/dsh-citeciter#CiteCiterRequest";
814
1057
  readonly schema: import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
815
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>>;
816
1063
  requestId: import("zod").ZodString;
817
1064
  sourceSessionId: import("zod").ZodString;
818
1065
  question: import("zod").ZodString;
@@ -823,6 +1070,10 @@ export declare const TYPERT: {
823
1070
  }>>;
824
1071
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
825
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>>;
826
1077
  requestId: import("zod").ZodString;
827
1078
  citation: import("zod").ZodObject<{
828
1079
  sourceSessionId: import("zod").ZodString;
@@ -849,6 +1100,10 @@ export declare const TYPERT: {
849
1100
  }>>;
850
1101
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
851
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>>;
852
1107
  requestId: import("zod").ZodString;
853
1108
  selectionClaim: import("zod").ZodObject<{
854
1109
  sourceSessionId: import("zod").ZodString;
@@ -872,6 +1127,10 @@ export declare const TYPERT: {
872
1127
  }>>;
873
1128
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
874
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>>;
875
1134
  requestId: import("zod").ZodString;
876
1135
  toolClaim: import("zod").ZodObject<{
877
1136
  sourceSessionId: import("zod").ZodString;
@@ -897,6 +1156,10 @@ export declare const TYPERT: {
897
1156
  }>>;
898
1157
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
899
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>>;
900
1163
  requestId: import("zod").ZodString;
901
1164
  documentClaim: import("zod").ZodObject<{
902
1165
  sourceSessionId: import("zod").ZodString;
@@ -921,9 +1184,23 @@ export declare const TYPERT: {
921
1184
  action: import("zod").ZodLiteral<"list">;
922
1185
  sourceSessionId: import("zod").ZodString;
923
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>;
924
1193
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
925
1194
  action: import("zod").ZodLiteral<"get">;
926
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;
927
1204
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
928
1205
  action: import("zod").ZodLiteral<"ask">;
929
1206
  requestId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -961,6 +1238,14 @@ export declare const TYPERT: {
961
1238
  confirmSessionId: import("zod").ZodString;
962
1239
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
963
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
+ }>;
964
1249
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
965
1250
  action: import("zod").ZodLiteral<"set-model-route">;
966
1251
  topicSessionId: import("zod").ZodString;
@@ -990,6 +1275,7 @@ export declare const TYPERT: {
990
1275
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
991
1276
  action: import("zod").ZodLiteral<"document-get">;
992
1277
  documentId: import("zod").ZodString;
1278
+ page: import("zod").ZodOptional<import("zod").ZodNumber>;
993
1279
  }, import("zod/v4/core").$strict>], "action">]>;
994
1280
  };
995
1281
  }];
@@ -1000,9 +1286,149 @@ export declare const TYPERT: {
1000
1286
  readonly mode: "strict";
1001
1287
  readonly typeSymbol: "@kirkchinese/dsh-citeciter#CiteCiterResponse";
1002
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<{
1003
1420
  kind: import("zod").ZodLiteral<"topic">;
1004
1421
  topic: import("zod").ZodObject<{
1422
+ captureId: import("zod").ZodOptional<import("zod").ZodString>;
1423
+ documentTitle: import("zod").ZodOptional<import("zod").ZodString>;
1005
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">>;
1006
1432
  topicId: import("zod").ZodNumber;
1007
1433
  sessionId: import("zod").ZodString;
1008
1434
  sourceSessionId: import("zod").ZodString;
@@ -1073,11 +1499,20 @@ export declare const TYPERT: {
1073
1499
  }, import("zod/v4/core").$strict>;
1074
1500
  messages: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
1075
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>>>;
1076
1510
  text: import("zod").ZodString;
1077
1511
  id: import("zod").ZodString;
1078
1512
  seq: import("zod").ZodNumber;
1079
1513
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1080
1514
  role: import("zod").ZodLiteral<"assistant">;
1515
+ renderKey: import("zod").ZodOptional<import("zod").ZodString>;
1081
1516
  text: import("zod").ZodString;
1082
1517
  reasoning: import("zod").ZodNullable<import("zod").ZodString>;
1083
1518
  streaming: import("zod").ZodBoolean;
@@ -1091,6 +1526,14 @@ export declare const TYPERT: {
1091
1526
  seq: import("zod").ZodNumber;
1092
1527
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1093
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>>>;
1094
1537
  name: import("zod").ZodString;
1095
1538
  arguments: import("zod").ZodString;
1096
1539
  result: import("zod").ZodNullable<import("zod").ZodString>;
@@ -1130,12 +1573,12 @@ export declare const TYPERT: {
1130
1573
  elements: import("zod").ZodArray<import("zod").ZodObject<{
1131
1574
  id: import("zod").ZodString;
1132
1575
  kind: import("zod").ZodEnum<{
1576
+ image: "image";
1133
1577
  text: "text";
1134
1578
  markdown: "markdown";
1135
1579
  math: "math";
1136
1580
  svg: "svg";
1137
1581
  html: "html";
1138
- image: "image";
1139
1582
  table: "table";
1140
1583
  }>;
1141
1584
  content: import("zod").ZodString;
@@ -1166,6 +1609,13 @@ export declare const TYPERT: {
1166
1609
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1167
1610
  kind: import("zod").ZodLiteral<"topics">;
1168
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">>;
1169
1619
  topicId: import("zod").ZodNumber;
1170
1620
  sessionId: import("zod").ZodString;
1171
1621
  sourceSessionId: import("zod").ZodString;
@@ -1293,6 +1743,8 @@ export declare const TYPERT: {
1293
1743
  }>;
1294
1744
  content: import("zod").ZodString;
1295
1745
  truncated: import("zod").ZodBoolean;
1746
+ page: import("zod").ZodDefault<import("zod").ZodNumber>;
1747
+ pageCount: import("zod").ZodDefault<import("zod").ZodNumber>;
1296
1748
  }, import("zod/v4/core").$strict>;
1297
1749
  }, import("zod/v4/core").$strict>], "kind">;
1298
1750
  };
@@ -1322,6 +1774,7 @@ export declare const TYPERT: {
1322
1774
  latestVersion: import("zod").ZodString;
1323
1775
  updateAvailable: import("zod").ZodBoolean;
1324
1776
  checkedAt: import("zod").ZodNumber;
1777
+ profile: import("zod").ZodOptional<import("zod").ZodString>;
1325
1778
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
1326
1779
  kind: import("zod").ZodLiteral<"error">;
1327
1780
  code: import("zod").ZodEnum<{