@kirkchinese/dsh-citeciter 0.9.0-beta.2 → 0.9.0-beta.4
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 +17 -10
- package/README.zh.md +17 -10
- package/assets/citeciter-mascot.png +0 -0
- package/assets/locale/en.json +6 -0
- package/assets/locale/zh.json +6 -0
- package/lib/client.js +6111 -3495
- package/lib/index.js +1769 -314
- package/lib/{typert-common-g1lnIG8u.js → typert-common-BtQUArWP.js} +1 -1
- package/lib/typert.host.js +2 -2
- package/lib/typert.remote-client.js +1 -1
- package/lib/types/actions.d.ts +15 -0
- package/lib/types/blackboard-tool.d.ts +6 -0
- package/lib/types/board-animation.d.ts +278 -0
- package/lib/types/board-capture-protocol.d.ts +61 -1
- package/lib/types/board-capture.d.ts +2 -0
- package/lib/types/board.d.ts +62 -3
- package/lib/types/client/action-controller.d.ts +14 -1
- package/lib/types/client/action-executor.d.ts +3 -1
- package/lib/types/client/board-citation.d.ts +2 -0
- package/lib/types/client/board-timeline.d.ts +33 -0
- package/lib/types/client/components/BoardCaptureSurface.d.ts +3 -1
- package/lib/types/client/components/BoardView.d.ts +5 -1
- package/lib/types/client/components/CiteCiterSettings.d.ts +13 -2
- package/lib/types/client/components/CitePanel.d.ts +14 -1
- package/lib/types/client/components/CiterTab.d.ts +15 -0
- package/lib/types/client/components/ContextRow.d.ts +7 -0
- package/lib/types/client/components/PermissionControl.d.ts +1 -1
- package/lib/types/client/components/SelectionToolbar.d.ts +2 -0
- package/lib/types/client/components/ToolMessage.d.ts +10 -5
- package/lib/types/client/components/TopicActions.d.ts +4 -1
- package/lib/types/client/components/TopicHeader.d.ts +4 -3
- package/lib/types/client/components/TopicModelControls.d.ts +1 -1
- package/lib/types/client/components/TopicUsage.d.ts +5 -0
- package/lib/types/client/components/UserMessageBody.d.ts +7 -2
- package/lib/types/client/conversation-dom.d.ts +2 -0
- package/lib/types/client/copy.d.ts +16 -4
- package/lib/types/client/draft-references.d.ts +3 -1
- package/lib/types/client/entries.d.ts +3 -0
- package/lib/types/client/i18n.d.ts +23 -0
- package/lib/types/client/locales/board.d.ts +51 -0
- package/lib/types/client/locales/common.d.ts +7 -0
- package/lib/types/client/locales/index.d.ts +564 -0
- package/lib/types/client/locales/panel.d.ts +215 -0
- package/lib/types/client/locales/settings.d.ts +179 -0
- package/lib/types/client/locales/transcript.d.ts +127 -0
- package/lib/types/client/main-quote.d.ts +16 -0
- package/lib/types/client/native-file-link.d.ts +10 -0
- package/lib/types/client/request-guard.d.ts +2 -1
- package/lib/types/client/rich-content.d.ts +7 -0
- package/lib/types/client/selection-references.d.ts +1 -1
- package/lib/types/client/tool-cards.d.ts +84 -0
- package/lib/types/client/tool-presentation.d.ts +1 -4
- package/lib/types/client/topic-presentation.d.ts +8 -3
- package/lib/types/client/types.d.ts +12 -0
- package/lib/types/client/view-actions.d.ts +1 -1
- package/lib/types/evidence-text.d.ts +8 -0
- package/lib/types/host-agent-modules.d.ts +4 -1
- package/lib/types/line-diff.d.ts +12 -0
- package/lib/types/message-projection.d.ts +25 -7
- package/lib/types/model-admission.d.ts +1 -1
- package/lib/types/observer.d.ts +0 -30
- package/lib/types/owned-session-cleanup.d.ts +7 -1
- package/lib/types/source-read-tool.d.ts +3 -3
- package/lib/types/source-session.d.ts +11 -2
- package/lib/types/source-transcript.d.ts +58 -0
- package/lib/types/tool-events.d.ts +2 -0
- package/lib/types/topic-context.d.ts +80 -0
- package/lib/types/topic-log.d.ts +5 -1
- package/lib/types/topic-prompts.d.ts +4 -0
- package/lib/types/topic-runtime.d.ts +5 -1
- package/lib/types/topic.d.ts +273 -15
- package/lib/types/typert-common.d.ts +148 -5
- package/lib/types/typert.host.d.ts +383 -14
- package/lib/types/workspace-changes.d.ts +90 -0
- package/lib/{update-B_0nN1_f.js → update-D-jnLTb5.js} +681 -5
- package/package.json +70 -65
- package/lib/types/client/board-capture-target.d.ts +0 -8
- package/lib/types/client/components/ChoicePopover.d.ts +0 -8
package/lib/types/topic.d.ts
CHANGED
|
@@ -56,6 +56,12 @@ export declare const citeCiterSettingsSchema: z.ZodObject<{
|
|
|
56
56
|
"danger-full-access": "danger-full-access";
|
|
57
57
|
}>>;
|
|
58
58
|
learningRoute: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
+
autoReadSource: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
+
workspaceChanges: z.ZodOptional<z.ZodEnum<{
|
|
61
|
+
off: "off";
|
|
62
|
+
summary: "summary";
|
|
63
|
+
diff: "diff";
|
|
64
|
+
}>>;
|
|
59
65
|
}, z.core.$strict>;
|
|
60
66
|
export type CiteCiterSettings = z.infer<typeof citeCiterSettingsSchema>;
|
|
61
67
|
/** Settings used before an optional DSH settings provider becomes available. */
|
|
@@ -104,9 +110,9 @@ export declare const citationEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
104
110
|
callId: z.ZodString;
|
|
105
111
|
toolName: z.ZodString;
|
|
106
112
|
projection: z.ZodEnum<{
|
|
113
|
+
diff: "diff";
|
|
107
114
|
"result-text": "result-text";
|
|
108
115
|
terminal: "terminal";
|
|
109
|
-
diff: "diff";
|
|
110
116
|
}>;
|
|
111
117
|
fileIndex: z.ZodOptional<z.ZodNumber>;
|
|
112
118
|
side: z.ZodOptional<z.ZodEnum<{
|
|
@@ -132,9 +138,9 @@ export declare const citationRecordSchema: z.ZodObject<{
|
|
|
132
138
|
callId: z.ZodString;
|
|
133
139
|
toolName: z.ZodString;
|
|
134
140
|
projection: z.ZodEnum<{
|
|
141
|
+
diff: "diff";
|
|
135
142
|
"result-text": "result-text";
|
|
136
143
|
terminal: "terminal";
|
|
137
|
-
diff: "diff";
|
|
138
144
|
}>;
|
|
139
145
|
fileIndex: z.ZodOptional<z.ZodNumber>;
|
|
140
146
|
side: z.ZodOptional<z.ZodEnum<{
|
|
@@ -174,9 +180,9 @@ declare const citationRecordFileSchema: z.ZodObject<{
|
|
|
174
180
|
callId: z.ZodString;
|
|
175
181
|
toolName: z.ZodString;
|
|
176
182
|
projection: z.ZodEnum<{
|
|
183
|
+
diff: "diff";
|
|
177
184
|
"result-text": "result-text";
|
|
178
185
|
terminal: "terminal";
|
|
179
|
-
diff: "diff";
|
|
180
186
|
}>;
|
|
181
187
|
fileIndex: z.ZodOptional<z.ZodNumber>;
|
|
182
188
|
side: z.ZodOptional<z.ZodEnum<{
|
|
@@ -235,9 +241,9 @@ export declare const topicMetadataSchema: z.ZodObject<{
|
|
|
235
241
|
callId: z.ZodString;
|
|
236
242
|
toolName: z.ZodString;
|
|
237
243
|
projection: z.ZodEnum<{
|
|
244
|
+
diff: "diff";
|
|
238
245
|
"result-text": "result-text";
|
|
239
246
|
terminal: "terminal";
|
|
240
|
-
diff: "diff";
|
|
241
247
|
}>;
|
|
242
248
|
fileIndex: z.ZodOptional<z.ZodNumber>;
|
|
243
249
|
side: z.ZodOptional<z.ZodEnum<{
|
|
@@ -263,9 +269,9 @@ export declare const topicMetadataSchema: z.ZodObject<{
|
|
|
263
269
|
schemaVersion: z.ZodLiteral<4>;
|
|
264
270
|
}, z.core.$strict>>;
|
|
265
271
|
scenario: z.ZodEnum<{
|
|
272
|
+
read: "read";
|
|
266
273
|
qa: "qa";
|
|
267
274
|
present: "present";
|
|
268
|
-
read: "read";
|
|
269
275
|
investigate: "investigate";
|
|
270
276
|
}>;
|
|
271
277
|
documentId: z.ZodNullable<z.ZodString>;
|
|
@@ -351,9 +357,9 @@ export declare const topicSummarySchema: z.ZodObject<{
|
|
|
351
357
|
callId: z.ZodString;
|
|
352
358
|
toolName: z.ZodString;
|
|
353
359
|
projection: z.ZodEnum<{
|
|
360
|
+
diff: "diff";
|
|
354
361
|
"result-text": "result-text";
|
|
355
362
|
terminal: "terminal";
|
|
356
|
-
diff: "diff";
|
|
357
363
|
}>;
|
|
358
364
|
fileIndex: z.ZodOptional<z.ZodNumber>;
|
|
359
365
|
side: z.ZodOptional<z.ZodEnum<{
|
|
@@ -421,6 +427,14 @@ export declare const topicMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
421
427
|
}, z.core.$strict>, z.ZodObject<{
|
|
422
428
|
role: z.ZodLiteral<"assistant">;
|
|
423
429
|
renderKey: z.ZodOptional<z.ZodString>;
|
|
430
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
431
|
+
kind: z.ZodEnum<{
|
|
432
|
+
file: "file";
|
|
433
|
+
image: "image";
|
|
434
|
+
}>;
|
|
435
|
+
id: z.ZodString;
|
|
436
|
+
name: z.ZodString;
|
|
437
|
+
}, z.core.$strict>>>;
|
|
424
438
|
text: z.ZodString;
|
|
425
439
|
reasoning: z.ZodNullable<z.ZodString>;
|
|
426
440
|
streaming: z.ZodBoolean;
|
|
@@ -429,6 +443,12 @@ export declare const topicMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
429
443
|
}, z.core.$strict>, z.ZodObject<{
|
|
430
444
|
role: z.ZodLiteral<"context">;
|
|
431
445
|
label: z.ZodString;
|
|
446
|
+
contextRole: z.ZodOptional<z.ZodEnum<{
|
|
447
|
+
inject: "inject";
|
|
448
|
+
recall: "recall";
|
|
449
|
+
}>>;
|
|
450
|
+
producer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
451
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
432
452
|
text: z.ZodString;
|
|
433
453
|
id: z.ZodString;
|
|
434
454
|
seq: z.ZodNumber;
|
|
@@ -454,6 +474,8 @@ export declare const topicMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
454
474
|
name: z.ZodString;
|
|
455
475
|
arguments: z.ZodString;
|
|
456
476
|
result: z.ZodNullable<z.ZodString>;
|
|
477
|
+
meta: z.ZodOptional<z.ZodUnknown>;
|
|
478
|
+
parentCallId: z.ZodOptional<z.ZodString>;
|
|
457
479
|
isError: z.ZodBoolean;
|
|
458
480
|
errorCode: z.ZodOptional<z.ZodEnum<{
|
|
459
481
|
ASK_CANCELLED: "ASK_CANCELLED";
|
|
@@ -466,6 +488,7 @@ export declare const topicMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
466
488
|
seq: z.ZodNumber;
|
|
467
489
|
}, z.core.$strict>, z.ZodObject<{
|
|
468
490
|
role: z.ZodLiteral<"error">;
|
|
491
|
+
turn: z.ZodOptional<z.ZodNumber>;
|
|
469
492
|
text: z.ZodString;
|
|
470
493
|
bodyRetained: z.ZodBoolean;
|
|
471
494
|
attempt: z.ZodNumber;
|
|
@@ -522,8 +545,24 @@ export declare const pendingQuestionSchema: z.ZodObject<{
|
|
|
522
545
|
blocking: z.ZodOptional<z.ZodBoolean>;
|
|
523
546
|
}, z.core.$strict>;
|
|
524
547
|
export type PendingQuestion = z.infer<typeof pendingQuestionSchema>;
|
|
548
|
+
/** Topic-owned usage totals; context occupancy refers to the latest reported request. */
|
|
549
|
+
export declare const topicUsageSchema: z.ZodObject<{
|
|
550
|
+
inputTokens: z.ZodNumber;
|
|
551
|
+
outputTokens: z.ZodNumber;
|
|
552
|
+
cachedInputTokens: z.ZodNumber;
|
|
553
|
+
lastContextTokens: z.ZodOptional<z.ZodNumber>;
|
|
554
|
+
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
555
|
+
}, z.core.$strict>;
|
|
556
|
+
export type TopicUsage = z.infer<typeof topicUsageSchema>;
|
|
525
557
|
export declare const topicSnapshotSchema: z.ZodObject<{
|
|
526
558
|
captureId: z.ZodOptional<z.ZodString>;
|
|
559
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
560
|
+
inputTokens: z.ZodNumber;
|
|
561
|
+
outputTokens: z.ZodNumber;
|
|
562
|
+
cachedInputTokens: z.ZodNumber;
|
|
563
|
+
lastContextTokens: z.ZodOptional<z.ZodNumber>;
|
|
564
|
+
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
565
|
+
}, z.core.$strict>>;
|
|
527
566
|
documentTitle: z.ZodOptional<z.ZodString>;
|
|
528
567
|
topic: z.ZodObject<{
|
|
529
568
|
modelSelectionRequired: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -546,9 +585,9 @@ export declare const topicSnapshotSchema: z.ZodObject<{
|
|
|
546
585
|
callId: z.ZodString;
|
|
547
586
|
toolName: z.ZodString;
|
|
548
587
|
projection: z.ZodEnum<{
|
|
588
|
+
diff: "diff";
|
|
549
589
|
"result-text": "result-text";
|
|
550
590
|
terminal: "terminal";
|
|
551
|
-
diff: "diff";
|
|
552
591
|
}>;
|
|
553
592
|
fileIndex: z.ZodOptional<z.ZodNumber>;
|
|
554
593
|
side: z.ZodOptional<z.ZodEnum<{
|
|
@@ -615,6 +654,14 @@ export declare const topicSnapshotSchema: z.ZodObject<{
|
|
|
615
654
|
}, z.core.$strict>, z.ZodObject<{
|
|
616
655
|
role: z.ZodLiteral<"assistant">;
|
|
617
656
|
renderKey: z.ZodOptional<z.ZodString>;
|
|
657
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
658
|
+
kind: z.ZodEnum<{
|
|
659
|
+
file: "file";
|
|
660
|
+
image: "image";
|
|
661
|
+
}>;
|
|
662
|
+
id: z.ZodString;
|
|
663
|
+
name: z.ZodString;
|
|
664
|
+
}, z.core.$strict>>>;
|
|
618
665
|
text: z.ZodString;
|
|
619
666
|
reasoning: z.ZodNullable<z.ZodString>;
|
|
620
667
|
streaming: z.ZodBoolean;
|
|
@@ -623,6 +670,12 @@ export declare const topicSnapshotSchema: z.ZodObject<{
|
|
|
623
670
|
}, z.core.$strict>, z.ZodObject<{
|
|
624
671
|
role: z.ZodLiteral<"context">;
|
|
625
672
|
label: z.ZodString;
|
|
673
|
+
contextRole: z.ZodOptional<z.ZodEnum<{
|
|
674
|
+
inject: "inject";
|
|
675
|
+
recall: "recall";
|
|
676
|
+
}>>;
|
|
677
|
+
producer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
678
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
626
679
|
text: z.ZodString;
|
|
627
680
|
id: z.ZodString;
|
|
628
681
|
seq: z.ZodNumber;
|
|
@@ -648,6 +701,8 @@ export declare const topicSnapshotSchema: z.ZodObject<{
|
|
|
648
701
|
name: z.ZodString;
|
|
649
702
|
arguments: z.ZodString;
|
|
650
703
|
result: z.ZodNullable<z.ZodString>;
|
|
704
|
+
meta: z.ZodOptional<z.ZodUnknown>;
|
|
705
|
+
parentCallId: z.ZodOptional<z.ZodString>;
|
|
651
706
|
isError: z.ZodBoolean;
|
|
652
707
|
errorCode: z.ZodOptional<z.ZodEnum<{
|
|
653
708
|
ASK_CANCELLED: "ASK_CANCELLED";
|
|
@@ -660,6 +715,7 @@ export declare const topicSnapshotSchema: z.ZodObject<{
|
|
|
660
715
|
seq: z.ZodNumber;
|
|
661
716
|
}, z.core.$strict>, z.ZodObject<{
|
|
662
717
|
role: z.ZodLiteral<"error">;
|
|
718
|
+
turn: z.ZodOptional<z.ZodNumber>;
|
|
663
719
|
text: z.ZodString;
|
|
664
720
|
bodyRetained: z.ZodBoolean;
|
|
665
721
|
attempt: z.ZodNumber;
|
|
@@ -739,10 +795,10 @@ export declare const topicSnapshotSchema: z.ZodObject<{
|
|
|
739
795
|
focused: z.ZodBoolean;
|
|
740
796
|
animation: z.ZodOptional<z.ZodObject<{
|
|
741
797
|
name: z.ZodEnum<{
|
|
798
|
+
highlight: "highlight";
|
|
742
799
|
"fade-in": "fade-in";
|
|
743
800
|
"slide-in": "slide-in";
|
|
744
801
|
pulse: "pulse";
|
|
745
|
-
highlight: "highlight";
|
|
746
802
|
}>;
|
|
747
803
|
durationMs: z.ZodNumber;
|
|
748
804
|
iterations: z.ZodNumber;
|
|
@@ -750,6 +806,65 @@ export declare const topicSnapshotSchema: z.ZodObject<{
|
|
|
750
806
|
}, z.core.$strict>>;
|
|
751
807
|
}, z.core.$strict>>;
|
|
752
808
|
invalid: z.ZodNumber;
|
|
809
|
+
timeline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
810
|
+
id: z.ZodString;
|
|
811
|
+
spec: z.ZodObject<{
|
|
812
|
+
durationMs: z.ZodNumber;
|
|
813
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
814
|
+
beats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
815
|
+
atMs: z.ZodNumber;
|
|
816
|
+
caption: z.ZodString;
|
|
817
|
+
}, z.core.$strict>>>;
|
|
818
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
819
|
+
target: z.ZodString;
|
|
820
|
+
verb: z.ZodEnum<{
|
|
821
|
+
appear: "appear";
|
|
822
|
+
disappear: "disappear";
|
|
823
|
+
move: "move";
|
|
824
|
+
scale: "scale";
|
|
825
|
+
rotate: "rotate";
|
|
826
|
+
highlight: "highlight";
|
|
827
|
+
reveal: "reveal";
|
|
828
|
+
follow: "follow";
|
|
829
|
+
keyframes: "keyframes";
|
|
830
|
+
parametric: "parametric";
|
|
831
|
+
}>;
|
|
832
|
+
startMs: z.ZodOptional<z.ZodNumber>;
|
|
833
|
+
endMs: z.ZodOptional<z.ZodNumber>;
|
|
834
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
835
|
+
linear: "linear";
|
|
836
|
+
"ease-in": "ease-in";
|
|
837
|
+
"ease-out": "ease-out";
|
|
838
|
+
"ease-in-out": "ease-in-out";
|
|
839
|
+
}>>;
|
|
840
|
+
to: z.ZodOptional<z.ZodObject<{
|
|
841
|
+
x: z.ZodNumber;
|
|
842
|
+
y: z.ZodNumber;
|
|
843
|
+
}, z.core.$strict>>;
|
|
844
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
845
|
+
degrees: z.ZodOptional<z.ZodNumber>;
|
|
846
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
847
|
+
left: "left";
|
|
848
|
+
right: "right";
|
|
849
|
+
up: "up";
|
|
850
|
+
down: "down";
|
|
851
|
+
}>>;
|
|
852
|
+
path: z.ZodOptional<z.ZodString>;
|
|
853
|
+
orient: z.ZodOptional<z.ZodBoolean>;
|
|
854
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
855
|
+
atMs: z.ZodNumber;
|
|
856
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
857
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
858
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
859
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
860
|
+
rotate: z.ZodOptional<z.ZodNumber>;
|
|
861
|
+
}, z.core.$strict>>>;
|
|
862
|
+
x: z.ZodOptional<z.ZodString>;
|
|
863
|
+
y: z.ZodOptional<z.ZodString>;
|
|
864
|
+
t: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
865
|
+
}, z.core.$strict>>;
|
|
866
|
+
}, z.core.$strict>;
|
|
867
|
+
}, z.core.$strict>>>;
|
|
753
868
|
}, z.core.$strict>>;
|
|
754
869
|
}, z.core.$strict>;
|
|
755
870
|
export type TopicSnapshot = z.infer<typeof topicSnapshotSchema>;
|
|
@@ -776,15 +891,15 @@ export declare const providerOptionSchema: z.ZodObject<{
|
|
|
776
891
|
}, z.core.$strict>>;
|
|
777
892
|
}, z.core.$strict>;
|
|
778
893
|
export type ProviderOption = z.infer<typeof providerOptionSchema>;
|
|
779
|
-
/**
|
|
894
|
+
/** Tool-result claim of the whole card or a selected part of it; the Host verifies it against the committed `tool/result`. */
|
|
780
895
|
export declare const toolEvidenceClaimSchema: z.ZodObject<{
|
|
781
896
|
sourceSessionId: z.ZodString;
|
|
782
897
|
callId: z.ZodString;
|
|
783
898
|
displayText: z.ZodString;
|
|
784
899
|
projection: z.ZodOptional<z.ZodEnum<{
|
|
900
|
+
diff: "diff";
|
|
785
901
|
"result-text": "result-text";
|
|
786
902
|
terminal: "terminal";
|
|
787
|
-
diff: "diff";
|
|
788
903
|
}>>;
|
|
789
904
|
}, z.core.$strict>;
|
|
790
905
|
/** Browser-submitted claim that anchors one Topic on a committed tool result. */
|
|
@@ -863,9 +978,9 @@ export declare const citeCiterRequestSchema: z.ZodUnion<readonly [z.ZodUnion<rea
|
|
|
863
978
|
callId: z.ZodString;
|
|
864
979
|
displayText: z.ZodString;
|
|
865
980
|
projection: z.ZodOptional<z.ZodEnum<{
|
|
981
|
+
diff: "diff";
|
|
866
982
|
"result-text": "result-text";
|
|
867
983
|
terminal: "terminal";
|
|
868
|
-
diff: "diff";
|
|
869
984
|
}>>;
|
|
870
985
|
}, z.core.$strict>;
|
|
871
986
|
action: z.ZodLiteral<"create">;
|
|
@@ -1188,10 +1303,10 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1188
1303
|
focused: z.ZodBoolean;
|
|
1189
1304
|
animation: z.ZodOptional<z.ZodObject<{
|
|
1190
1305
|
name: z.ZodEnum<{
|
|
1306
|
+
highlight: "highlight";
|
|
1191
1307
|
"fade-in": "fade-in";
|
|
1192
1308
|
"slide-in": "slide-in";
|
|
1193
1309
|
pulse: "pulse";
|
|
1194
|
-
highlight: "highlight";
|
|
1195
1310
|
}>;
|
|
1196
1311
|
durationMs: z.ZodNumber;
|
|
1197
1312
|
iterations: z.ZodNumber;
|
|
@@ -1199,7 +1314,67 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1199
1314
|
}, z.core.$strict>>;
|
|
1200
1315
|
}, z.core.$strict>>;
|
|
1201
1316
|
invalid: z.ZodNumber;
|
|
1317
|
+
timeline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1318
|
+
id: z.ZodString;
|
|
1319
|
+
spec: z.ZodObject<{
|
|
1320
|
+
durationMs: z.ZodNumber;
|
|
1321
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
1322
|
+
beats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1323
|
+
atMs: z.ZodNumber;
|
|
1324
|
+
caption: z.ZodString;
|
|
1325
|
+
}, z.core.$strict>>>;
|
|
1326
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
1327
|
+
target: z.ZodString;
|
|
1328
|
+
verb: z.ZodEnum<{
|
|
1329
|
+
appear: "appear";
|
|
1330
|
+
disappear: "disappear";
|
|
1331
|
+
move: "move";
|
|
1332
|
+
scale: "scale";
|
|
1333
|
+
rotate: "rotate";
|
|
1334
|
+
highlight: "highlight";
|
|
1335
|
+
reveal: "reveal";
|
|
1336
|
+
follow: "follow";
|
|
1337
|
+
keyframes: "keyframes";
|
|
1338
|
+
parametric: "parametric";
|
|
1339
|
+
}>;
|
|
1340
|
+
startMs: z.ZodOptional<z.ZodNumber>;
|
|
1341
|
+
endMs: z.ZodOptional<z.ZodNumber>;
|
|
1342
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
1343
|
+
linear: "linear";
|
|
1344
|
+
"ease-in": "ease-in";
|
|
1345
|
+
"ease-out": "ease-out";
|
|
1346
|
+
"ease-in-out": "ease-in-out";
|
|
1347
|
+
}>>;
|
|
1348
|
+
to: z.ZodOptional<z.ZodObject<{
|
|
1349
|
+
x: z.ZodNumber;
|
|
1350
|
+
y: z.ZodNumber;
|
|
1351
|
+
}, z.core.$strict>>;
|
|
1352
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
1353
|
+
degrees: z.ZodOptional<z.ZodNumber>;
|
|
1354
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
1355
|
+
left: "left";
|
|
1356
|
+
right: "right";
|
|
1357
|
+
up: "up";
|
|
1358
|
+
down: "down";
|
|
1359
|
+
}>>;
|
|
1360
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
orient: z.ZodOptional<z.ZodBoolean>;
|
|
1362
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1363
|
+
atMs: z.ZodNumber;
|
|
1364
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
1365
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
1366
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1367
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
1368
|
+
rotate: z.ZodOptional<z.ZodNumber>;
|
|
1369
|
+
}, z.core.$strict>>>;
|
|
1370
|
+
x: z.ZodOptional<z.ZodString>;
|
|
1371
|
+
y: z.ZodOptional<z.ZodString>;
|
|
1372
|
+
t: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1373
|
+
}, z.core.$strict>>;
|
|
1374
|
+
}, z.core.$strict>;
|
|
1375
|
+
}, z.core.$strict>>>;
|
|
1202
1376
|
}, z.core.$strict>;
|
|
1377
|
+
atMs: z.ZodOptional<z.ZodNumber>;
|
|
1203
1378
|
}, z.core.$strict>>;
|
|
1204
1379
|
}, z.core.$strict>, z.ZodObject<{
|
|
1205
1380
|
kind: z.ZodLiteral<"board-capture-accepted">;
|
|
@@ -1339,6 +1514,13 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1339
1514
|
kind: z.ZodLiteral<"topic">;
|
|
1340
1515
|
topic: z.ZodObject<{
|
|
1341
1516
|
captureId: z.ZodOptional<z.ZodString>;
|
|
1517
|
+
usage: z.ZodOptional<z.ZodObject<{
|
|
1518
|
+
inputTokens: z.ZodNumber;
|
|
1519
|
+
outputTokens: z.ZodNumber;
|
|
1520
|
+
cachedInputTokens: z.ZodNumber;
|
|
1521
|
+
lastContextTokens: z.ZodOptional<z.ZodNumber>;
|
|
1522
|
+
contextWindow: z.ZodOptional<z.ZodNumber>;
|
|
1523
|
+
}, z.core.$strict>>;
|
|
1342
1524
|
documentTitle: z.ZodOptional<z.ZodString>;
|
|
1343
1525
|
topic: z.ZodObject<{
|
|
1344
1526
|
modelSelectionRequired: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1361,9 +1543,9 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1361
1543
|
callId: z.ZodString;
|
|
1362
1544
|
toolName: z.ZodString;
|
|
1363
1545
|
projection: z.ZodEnum<{
|
|
1546
|
+
diff: "diff";
|
|
1364
1547
|
"result-text": "result-text";
|
|
1365
1548
|
terminal: "terminal";
|
|
1366
|
-
diff: "diff";
|
|
1367
1549
|
}>;
|
|
1368
1550
|
fileIndex: z.ZodOptional<z.ZodNumber>;
|
|
1369
1551
|
side: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1430,6 +1612,14 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1430
1612
|
}, z.core.$strict>, z.ZodObject<{
|
|
1431
1613
|
role: z.ZodLiteral<"assistant">;
|
|
1432
1614
|
renderKey: z.ZodOptional<z.ZodString>;
|
|
1615
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1616
|
+
kind: z.ZodEnum<{
|
|
1617
|
+
file: "file";
|
|
1618
|
+
image: "image";
|
|
1619
|
+
}>;
|
|
1620
|
+
id: z.ZodString;
|
|
1621
|
+
name: z.ZodString;
|
|
1622
|
+
}, z.core.$strict>>>;
|
|
1433
1623
|
text: z.ZodString;
|
|
1434
1624
|
reasoning: z.ZodNullable<z.ZodString>;
|
|
1435
1625
|
streaming: z.ZodBoolean;
|
|
@@ -1438,6 +1628,12 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1438
1628
|
}, z.core.$strict>, z.ZodObject<{
|
|
1439
1629
|
role: z.ZodLiteral<"context">;
|
|
1440
1630
|
label: z.ZodString;
|
|
1631
|
+
contextRole: z.ZodOptional<z.ZodEnum<{
|
|
1632
|
+
inject: "inject";
|
|
1633
|
+
recall: "recall";
|
|
1634
|
+
}>>;
|
|
1635
|
+
producer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1636
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1441
1637
|
text: z.ZodString;
|
|
1442
1638
|
id: z.ZodString;
|
|
1443
1639
|
seq: z.ZodNumber;
|
|
@@ -1463,6 +1659,8 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1463
1659
|
name: z.ZodString;
|
|
1464
1660
|
arguments: z.ZodString;
|
|
1465
1661
|
result: z.ZodNullable<z.ZodString>;
|
|
1662
|
+
meta: z.ZodOptional<z.ZodUnknown>;
|
|
1663
|
+
parentCallId: z.ZodOptional<z.ZodString>;
|
|
1466
1664
|
isError: z.ZodBoolean;
|
|
1467
1665
|
errorCode: z.ZodOptional<z.ZodEnum<{
|
|
1468
1666
|
ASK_CANCELLED: "ASK_CANCELLED";
|
|
@@ -1475,6 +1673,7 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1475
1673
|
seq: z.ZodNumber;
|
|
1476
1674
|
}, z.core.$strict>, z.ZodObject<{
|
|
1477
1675
|
role: z.ZodLiteral<"error">;
|
|
1676
|
+
turn: z.ZodOptional<z.ZodNumber>;
|
|
1478
1677
|
text: z.ZodString;
|
|
1479
1678
|
bodyRetained: z.ZodBoolean;
|
|
1480
1679
|
attempt: z.ZodNumber;
|
|
@@ -1554,10 +1753,10 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1554
1753
|
focused: z.ZodBoolean;
|
|
1555
1754
|
animation: z.ZodOptional<z.ZodObject<{
|
|
1556
1755
|
name: z.ZodEnum<{
|
|
1756
|
+
highlight: "highlight";
|
|
1557
1757
|
"fade-in": "fade-in";
|
|
1558
1758
|
"slide-in": "slide-in";
|
|
1559
1759
|
pulse: "pulse";
|
|
1560
|
-
highlight: "highlight";
|
|
1561
1760
|
}>;
|
|
1562
1761
|
durationMs: z.ZodNumber;
|
|
1563
1762
|
iterations: z.ZodNumber;
|
|
@@ -1565,6 +1764,65 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1565
1764
|
}, z.core.$strict>>;
|
|
1566
1765
|
}, z.core.$strict>>;
|
|
1567
1766
|
invalid: z.ZodNumber;
|
|
1767
|
+
timeline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1768
|
+
id: z.ZodString;
|
|
1769
|
+
spec: z.ZodObject<{
|
|
1770
|
+
durationMs: z.ZodNumber;
|
|
1771
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
1772
|
+
beats: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1773
|
+
atMs: z.ZodNumber;
|
|
1774
|
+
caption: z.ZodString;
|
|
1775
|
+
}, z.core.$strict>>>;
|
|
1776
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
1777
|
+
target: z.ZodString;
|
|
1778
|
+
verb: z.ZodEnum<{
|
|
1779
|
+
appear: "appear";
|
|
1780
|
+
disappear: "disappear";
|
|
1781
|
+
move: "move";
|
|
1782
|
+
scale: "scale";
|
|
1783
|
+
rotate: "rotate";
|
|
1784
|
+
highlight: "highlight";
|
|
1785
|
+
reveal: "reveal";
|
|
1786
|
+
follow: "follow";
|
|
1787
|
+
keyframes: "keyframes";
|
|
1788
|
+
parametric: "parametric";
|
|
1789
|
+
}>;
|
|
1790
|
+
startMs: z.ZodOptional<z.ZodNumber>;
|
|
1791
|
+
endMs: z.ZodOptional<z.ZodNumber>;
|
|
1792
|
+
easing: z.ZodOptional<z.ZodEnum<{
|
|
1793
|
+
linear: "linear";
|
|
1794
|
+
"ease-in": "ease-in";
|
|
1795
|
+
"ease-out": "ease-out";
|
|
1796
|
+
"ease-in-out": "ease-in-out";
|
|
1797
|
+
}>>;
|
|
1798
|
+
to: z.ZodOptional<z.ZodObject<{
|
|
1799
|
+
x: z.ZodNumber;
|
|
1800
|
+
y: z.ZodNumber;
|
|
1801
|
+
}, z.core.$strict>>;
|
|
1802
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
1803
|
+
degrees: z.ZodOptional<z.ZodNumber>;
|
|
1804
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
1805
|
+
left: "left";
|
|
1806
|
+
right: "right";
|
|
1807
|
+
up: "up";
|
|
1808
|
+
down: "down";
|
|
1809
|
+
}>>;
|
|
1810
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1811
|
+
orient: z.ZodOptional<z.ZodBoolean>;
|
|
1812
|
+
frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1813
|
+
atMs: z.ZodNumber;
|
|
1814
|
+
x: z.ZodOptional<z.ZodNumber>;
|
|
1815
|
+
y: z.ZodOptional<z.ZodNumber>;
|
|
1816
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
1817
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
1818
|
+
rotate: z.ZodOptional<z.ZodNumber>;
|
|
1819
|
+
}, z.core.$strict>>>;
|
|
1820
|
+
x: z.ZodOptional<z.ZodString>;
|
|
1821
|
+
y: z.ZodOptional<z.ZodString>;
|
|
1822
|
+
t: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
1823
|
+
}, z.core.$strict>>;
|
|
1824
|
+
}, z.core.$strict>;
|
|
1825
|
+
}, z.core.$strict>>>;
|
|
1568
1826
|
}, z.core.$strict>>;
|
|
1569
1827
|
}, z.core.$strict>;
|
|
1570
1828
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1590,9 +1848,9 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
1590
1848
|
callId: z.ZodString;
|
|
1591
1849
|
toolName: z.ZodString;
|
|
1592
1850
|
projection: z.ZodEnum<{
|
|
1851
|
+
diff: "diff";
|
|
1593
1852
|
"result-text": "result-text";
|
|
1594
1853
|
terminal: "terminal";
|
|
1595
|
-
diff: "diff";
|
|
1596
1854
|
}>;
|
|
1597
1855
|
fileIndex: z.ZodOptional<z.ZodNumber>;
|
|
1598
1856
|
side: z.ZodOptional<z.ZodEnum<{
|