@kirkchinese/dsh-citeciter 0.3.0 → 0.3.1
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 +34 -77
- package/README.zh.md +32 -75
- package/lib/client.js +484 -105
- package/lib/index.js +183 -16
- package/lib/{topic-CjNNXSWB.js → topic-BfAp9KoS.js} +68 -10
- package/lib/{typert-common-CPi6bVCr.js → typert-common-DXguoziV.js} +1 -1
- package/lib/typert.host.js +2 -2
- package/lib/typert.remote-client.js +1 -1
- package/lib/types/client/companion-controller.d.ts +3 -1
- package/lib/types/client/components/QuestionCard.d.ts +8 -0
- package/lib/types/index.d.ts +2 -2
- package/lib/types/topic-runtime.d.ts +6 -0
- package/lib/types/topic.d.ts +159 -19
- package/lib/types/typert-common.d.ts +55 -6
- package/lib/types/typert.host.d.ts +150 -18
- package/package.json +13 -1
package/lib/types/topic.d.ts
CHANGED
|
@@ -151,19 +151,76 @@ export declare const topicSummarySchema: z.ZodObject<{
|
|
|
151
151
|
}, z.core.$strict>;
|
|
152
152
|
}, z.core.$strict>;
|
|
153
153
|
export type TopicSummary = z.infer<typeof topicSummarySchema>;
|
|
154
|
-
export declare const topicMessageSchema: z.ZodObject<{
|
|
154
|
+
export declare const topicMessageSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
155
|
+
role: z.ZodLiteral<"user">;
|
|
156
|
+
text: z.ZodString;
|
|
155
157
|
id: z.ZodString;
|
|
156
158
|
seq: z.ZodNumber;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
user: "user";
|
|
160
|
-
assistant: "assistant";
|
|
161
|
-
}>;
|
|
159
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
160
|
+
role: z.ZodLiteral<"assistant">;
|
|
162
161
|
text: z.ZodString;
|
|
163
162
|
reasoning: z.ZodNullable<z.ZodString>;
|
|
164
163
|
streaming: z.ZodBoolean;
|
|
165
|
-
|
|
164
|
+
id: z.ZodString;
|
|
165
|
+
seq: z.ZodNumber;
|
|
166
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
167
|
+
role: z.ZodLiteral<"context">;
|
|
168
|
+
label: z.ZodString;
|
|
169
|
+
text: z.ZodString;
|
|
170
|
+
id: z.ZodString;
|
|
171
|
+
seq: z.ZodNumber;
|
|
172
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
173
|
+
role: z.ZodLiteral<"tool">;
|
|
174
|
+
name: z.ZodString;
|
|
175
|
+
arguments: z.ZodString;
|
|
176
|
+
result: z.ZodNullable<z.ZodString>;
|
|
177
|
+
isError: z.ZodBoolean;
|
|
178
|
+
running: z.ZodBoolean;
|
|
179
|
+
id: z.ZodString;
|
|
180
|
+
seq: z.ZodNumber;
|
|
181
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
182
|
+
role: z.ZodLiteral<"error">;
|
|
183
|
+
text: z.ZodString;
|
|
184
|
+
id: z.ZodString;
|
|
185
|
+
seq: z.ZodNumber;
|
|
186
|
+
}, z.core.$strict>], "role">;
|
|
166
187
|
export type TopicMessage = z.infer<typeof topicMessageSchema>;
|
|
188
|
+
export declare const questionOptionSchema: z.ZodObject<{
|
|
189
|
+
label: z.ZodString;
|
|
190
|
+
description: z.ZodOptional<z.ZodString>;
|
|
191
|
+
}, z.core.$strict>;
|
|
192
|
+
export declare const questionItemSchema: z.ZodObject<{
|
|
193
|
+
id: z.ZodString;
|
|
194
|
+
question: z.ZodString;
|
|
195
|
+
header: z.ZodOptional<z.ZodString>;
|
|
196
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
197
|
+
label: z.ZodString;
|
|
198
|
+
description: z.ZodOptional<z.ZodString>;
|
|
199
|
+
}, z.core.$strict>>>;
|
|
200
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
201
|
+
}, z.core.$strict>;
|
|
202
|
+
export declare const questionAnswerSchema: z.ZodObject<{
|
|
203
|
+
answers: z.ZodArray<z.ZodObject<{
|
|
204
|
+
id: z.ZodString;
|
|
205
|
+
selected: z.ZodArray<z.ZodString>;
|
|
206
|
+
custom: z.ZodOptional<z.ZodString>;
|
|
207
|
+
}, z.core.$strict>>;
|
|
208
|
+
}, z.core.$strict>;
|
|
209
|
+
export type QuestionAnswer = z.infer<typeof questionAnswerSchema>;
|
|
210
|
+
export declare const pendingQuestionSchema: z.ZodObject<{
|
|
211
|
+
key: z.ZodString;
|
|
212
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
213
|
+
id: z.ZodString;
|
|
214
|
+
question: z.ZodString;
|
|
215
|
+
header: z.ZodOptional<z.ZodString>;
|
|
216
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
217
|
+
label: z.ZodString;
|
|
218
|
+
description: z.ZodOptional<z.ZodString>;
|
|
219
|
+
}, z.core.$strict>>>;
|
|
220
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
}, z.core.$strict>>;
|
|
222
|
+
}, z.core.$strict>;
|
|
223
|
+
export type PendingQuestion = z.infer<typeof pendingQuestionSchema>;
|
|
167
224
|
export declare const topicSnapshotSchema: z.ZodObject<{
|
|
168
225
|
topic: z.ZodObject<{
|
|
169
226
|
topicId: z.ZodNumber;
|
|
@@ -203,17 +260,51 @@ export declare const topicSnapshotSchema: z.ZodObject<{
|
|
|
203
260
|
stop: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
204
261
|
}, z.core.$strict>;
|
|
205
262
|
}, z.core.$strict>;
|
|
206
|
-
messages: z.ZodArray<z.ZodObject<{
|
|
263
|
+
messages: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
264
|
+
role: z.ZodLiteral<"user">;
|
|
265
|
+
text: z.ZodString;
|
|
207
266
|
id: z.ZodString;
|
|
208
267
|
seq: z.ZodNumber;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
user: "user";
|
|
212
|
-
assistant: "assistant";
|
|
213
|
-
}>;
|
|
268
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
269
|
+
role: z.ZodLiteral<"assistant">;
|
|
214
270
|
text: z.ZodString;
|
|
215
271
|
reasoning: z.ZodNullable<z.ZodString>;
|
|
216
272
|
streaming: z.ZodBoolean;
|
|
273
|
+
id: z.ZodString;
|
|
274
|
+
seq: z.ZodNumber;
|
|
275
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
276
|
+
role: z.ZodLiteral<"context">;
|
|
277
|
+
label: z.ZodString;
|
|
278
|
+
text: z.ZodString;
|
|
279
|
+
id: z.ZodString;
|
|
280
|
+
seq: z.ZodNumber;
|
|
281
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
282
|
+
role: z.ZodLiteral<"tool">;
|
|
283
|
+
name: z.ZodString;
|
|
284
|
+
arguments: z.ZodString;
|
|
285
|
+
result: z.ZodNullable<z.ZodString>;
|
|
286
|
+
isError: z.ZodBoolean;
|
|
287
|
+
running: z.ZodBoolean;
|
|
288
|
+
id: z.ZodString;
|
|
289
|
+
seq: z.ZodNumber;
|
|
290
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
291
|
+
role: z.ZodLiteral<"error">;
|
|
292
|
+
text: z.ZodString;
|
|
293
|
+
id: z.ZodString;
|
|
294
|
+
seq: z.ZodNumber;
|
|
295
|
+
}, z.core.$strict>], "role">>;
|
|
296
|
+
pendingQuestion: z.ZodNullable<z.ZodObject<{
|
|
297
|
+
key: z.ZodString;
|
|
298
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
299
|
+
id: z.ZodString;
|
|
300
|
+
question: z.ZodString;
|
|
301
|
+
header: z.ZodOptional<z.ZodString>;
|
|
302
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
303
|
+
label: z.ZodString;
|
|
304
|
+
description: z.ZodOptional<z.ZodString>;
|
|
305
|
+
}, z.core.$strict>>>;
|
|
306
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
307
|
+
}, z.core.$strict>>;
|
|
217
308
|
}, z.core.$strict>>;
|
|
218
309
|
error: z.ZodNullable<z.ZodString>;
|
|
219
310
|
}, z.core.$strict>;
|
|
@@ -275,6 +366,21 @@ export declare const citeCiterRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
275
366
|
}, z.core.$strict>, z.ZodObject<{
|
|
276
367
|
action: z.ZodLiteral<"stop">;
|
|
277
368
|
topicSessionId: z.ZodString;
|
|
369
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
370
|
+
action: z.ZodLiteral<"answer-question">;
|
|
371
|
+
topicSessionId: z.ZodString;
|
|
372
|
+
key: z.ZodString;
|
|
373
|
+
answer: z.ZodObject<{
|
|
374
|
+
answers: z.ZodArray<z.ZodObject<{
|
|
375
|
+
id: z.ZodString;
|
|
376
|
+
selected: z.ZodArray<z.ZodString>;
|
|
377
|
+
custom: z.ZodOptional<z.ZodString>;
|
|
378
|
+
}, z.core.$strict>>;
|
|
379
|
+
}, z.core.$strict>;
|
|
380
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
381
|
+
action: z.ZodLiteral<"cancel-question">;
|
|
382
|
+
topicSessionId: z.ZodString;
|
|
383
|
+
key: z.ZodString;
|
|
278
384
|
}, z.core.$strict>, z.ZodObject<{
|
|
279
385
|
action: z.ZodLiteral<"rename">;
|
|
280
386
|
topicSessionId: z.ZodString;
|
|
@@ -339,17 +445,51 @@ export declare const citeCiterResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
339
445
|
stop: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
340
446
|
}, z.core.$strict>;
|
|
341
447
|
}, z.core.$strict>;
|
|
342
|
-
messages: z.ZodArray<z.ZodObject<{
|
|
448
|
+
messages: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
449
|
+
role: z.ZodLiteral<"user">;
|
|
450
|
+
text: z.ZodString;
|
|
343
451
|
id: z.ZodString;
|
|
344
452
|
seq: z.ZodNumber;
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
user: "user";
|
|
348
|
-
assistant: "assistant";
|
|
349
|
-
}>;
|
|
453
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
454
|
+
role: z.ZodLiteral<"assistant">;
|
|
350
455
|
text: z.ZodString;
|
|
351
456
|
reasoning: z.ZodNullable<z.ZodString>;
|
|
352
457
|
streaming: z.ZodBoolean;
|
|
458
|
+
id: z.ZodString;
|
|
459
|
+
seq: z.ZodNumber;
|
|
460
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
461
|
+
role: z.ZodLiteral<"context">;
|
|
462
|
+
label: z.ZodString;
|
|
463
|
+
text: z.ZodString;
|
|
464
|
+
id: z.ZodString;
|
|
465
|
+
seq: z.ZodNumber;
|
|
466
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
467
|
+
role: z.ZodLiteral<"tool">;
|
|
468
|
+
name: z.ZodString;
|
|
469
|
+
arguments: z.ZodString;
|
|
470
|
+
result: z.ZodNullable<z.ZodString>;
|
|
471
|
+
isError: z.ZodBoolean;
|
|
472
|
+
running: z.ZodBoolean;
|
|
473
|
+
id: z.ZodString;
|
|
474
|
+
seq: z.ZodNumber;
|
|
475
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
476
|
+
role: z.ZodLiteral<"error">;
|
|
477
|
+
text: z.ZodString;
|
|
478
|
+
id: z.ZodString;
|
|
479
|
+
seq: z.ZodNumber;
|
|
480
|
+
}, z.core.$strict>], "role">>;
|
|
481
|
+
pendingQuestion: z.ZodNullable<z.ZodObject<{
|
|
482
|
+
key: z.ZodString;
|
|
483
|
+
questions: z.ZodArray<z.ZodObject<{
|
|
484
|
+
id: z.ZodString;
|
|
485
|
+
question: z.ZodString;
|
|
486
|
+
header: z.ZodOptional<z.ZodString>;
|
|
487
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
488
|
+
label: z.ZodString;
|
|
489
|
+
description: z.ZodOptional<z.ZodString>;
|
|
490
|
+
}, z.core.$strict>>>;
|
|
491
|
+
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
492
|
+
}, z.core.$strict>>;
|
|
353
493
|
}, z.core.$strict>>;
|
|
354
494
|
error: z.ZodNullable<z.ZodString>;
|
|
355
495
|
}, z.core.$strict>;
|
|
@@ -47,6 +47,21 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
47
47
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
48
48
|
action: import("zod").ZodLiteral<"stop">;
|
|
49
49
|
topicSessionId: import("zod").ZodString;
|
|
50
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
51
|
+
action: import("zod").ZodLiteral<"answer-question">;
|
|
52
|
+
topicSessionId: import("zod").ZodString;
|
|
53
|
+
key: import("zod").ZodString;
|
|
54
|
+
answer: import("zod").ZodObject<{
|
|
55
|
+
answers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
56
|
+
id: import("zod").ZodString;
|
|
57
|
+
selected: import("zod").ZodArray<import("zod").ZodString>;
|
|
58
|
+
custom: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
}, import("zod/v4/core").$strict>>;
|
|
60
|
+
}, import("zod/v4/core").$strict>;
|
|
61
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
62
|
+
action: import("zod").ZodLiteral<"cancel-question">;
|
|
63
|
+
topicSessionId: import("zod").ZodString;
|
|
64
|
+
key: import("zod").ZodString;
|
|
50
65
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
51
66
|
action: import("zod").ZodLiteral<"rename">;
|
|
52
67
|
topicSessionId: import("zod").ZodString;
|
|
@@ -114,17 +129,51 @@ export declare const citeCiterRequestDescriptor: {
|
|
|
114
129
|
stop: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
115
130
|
}, import("zod/v4/core").$strict>;
|
|
116
131
|
}, import("zod/v4/core").$strict>;
|
|
117
|
-
messages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
132
|
+
messages: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
133
|
+
role: import("zod").ZodLiteral<"user">;
|
|
134
|
+
text: import("zod").ZodString;
|
|
118
135
|
id: import("zod").ZodString;
|
|
119
136
|
seq: import("zod").ZodNumber;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
user: "user";
|
|
123
|
-
assistant: "assistant";
|
|
124
|
-
}>;
|
|
137
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
138
|
+
role: import("zod").ZodLiteral<"assistant">;
|
|
125
139
|
text: import("zod").ZodString;
|
|
126
140
|
reasoning: import("zod").ZodNullable<import("zod").ZodString>;
|
|
127
141
|
streaming: import("zod").ZodBoolean;
|
|
142
|
+
id: import("zod").ZodString;
|
|
143
|
+
seq: import("zod").ZodNumber;
|
|
144
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
145
|
+
role: import("zod").ZodLiteral<"context">;
|
|
146
|
+
label: import("zod").ZodString;
|
|
147
|
+
text: import("zod").ZodString;
|
|
148
|
+
id: import("zod").ZodString;
|
|
149
|
+
seq: import("zod").ZodNumber;
|
|
150
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
151
|
+
role: import("zod").ZodLiteral<"tool">;
|
|
152
|
+
name: import("zod").ZodString;
|
|
153
|
+
arguments: import("zod").ZodString;
|
|
154
|
+
result: import("zod").ZodNullable<import("zod").ZodString>;
|
|
155
|
+
isError: import("zod").ZodBoolean;
|
|
156
|
+
running: import("zod").ZodBoolean;
|
|
157
|
+
id: import("zod").ZodString;
|
|
158
|
+
seq: import("zod").ZodNumber;
|
|
159
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
160
|
+
role: import("zod").ZodLiteral<"error">;
|
|
161
|
+
text: import("zod").ZodString;
|
|
162
|
+
id: import("zod").ZodString;
|
|
163
|
+
seq: import("zod").ZodNumber;
|
|
164
|
+
}, import("zod/v4/core").$strict>], "role">>;
|
|
165
|
+
pendingQuestion: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
166
|
+
key: import("zod").ZodString;
|
|
167
|
+
questions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
168
|
+
id: import("zod").ZodString;
|
|
169
|
+
question: import("zod").ZodString;
|
|
170
|
+
header: import("zod").ZodOptional<import("zod").ZodString>;
|
|
171
|
+
options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
172
|
+
label: import("zod").ZodString;
|
|
173
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
174
|
+
}, import("zod/v4/core").$strict>>>;
|
|
175
|
+
multiSelect: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
176
|
+
}, import("zod/v4/core").$strict>>;
|
|
128
177
|
}, import("zod/v4/core").$strict>>;
|
|
129
178
|
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
130
179
|
}, import("zod/v4/core").$strict>;
|
|
@@ -111,17 +111,51 @@ export declare const TYPERT: {
|
|
|
111
111
|
stop: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
112
112
|
}, import("zod/v4/core").$strict>;
|
|
113
113
|
}, import("zod/v4/core").$strict>;
|
|
114
|
-
messages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
114
|
+
messages: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
115
|
+
role: import("zod").ZodLiteral<"user">;
|
|
116
|
+
text: import("zod").ZodString;
|
|
115
117
|
id: import("zod").ZodString;
|
|
116
118
|
seq: import("zod").ZodNumber;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
user: "user";
|
|
120
|
-
assistant: "assistant";
|
|
121
|
-
}>;
|
|
119
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
120
|
+
role: import("zod").ZodLiteral<"assistant">;
|
|
122
121
|
text: import("zod").ZodString;
|
|
123
122
|
reasoning: import("zod").ZodNullable<import("zod").ZodString>;
|
|
124
123
|
streaming: import("zod").ZodBoolean;
|
|
124
|
+
id: import("zod").ZodString;
|
|
125
|
+
seq: import("zod").ZodNumber;
|
|
126
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
127
|
+
role: import("zod").ZodLiteral<"context">;
|
|
128
|
+
label: import("zod").ZodString;
|
|
129
|
+
text: import("zod").ZodString;
|
|
130
|
+
id: import("zod").ZodString;
|
|
131
|
+
seq: import("zod").ZodNumber;
|
|
132
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
133
|
+
role: import("zod").ZodLiteral<"tool">;
|
|
134
|
+
name: import("zod").ZodString;
|
|
135
|
+
arguments: import("zod").ZodString;
|
|
136
|
+
result: import("zod").ZodNullable<import("zod").ZodString>;
|
|
137
|
+
isError: import("zod").ZodBoolean;
|
|
138
|
+
running: import("zod").ZodBoolean;
|
|
139
|
+
id: import("zod").ZodString;
|
|
140
|
+
seq: import("zod").ZodNumber;
|
|
141
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
142
|
+
role: import("zod").ZodLiteral<"error">;
|
|
143
|
+
text: import("zod").ZodString;
|
|
144
|
+
id: import("zod").ZodString;
|
|
145
|
+
seq: import("zod").ZodNumber;
|
|
146
|
+
}, import("zod/v4/core").$strict>], "role">>;
|
|
147
|
+
pendingQuestion: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
148
|
+
key: import("zod").ZodString;
|
|
149
|
+
questions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
150
|
+
id: import("zod").ZodString;
|
|
151
|
+
question: import("zod").ZodString;
|
|
152
|
+
header: import("zod").ZodOptional<import("zod").ZodString>;
|
|
153
|
+
options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
154
|
+
label: import("zod").ZodString;
|
|
155
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
156
|
+
}, import("zod/v4/core").$strict>>>;
|
|
157
|
+
multiSelect: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
158
|
+
}, import("zod/v4/core").$strict>>;
|
|
125
159
|
}, import("zod/v4/core").$strict>>;
|
|
126
160
|
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
127
161
|
}, import("zod/v4/core").$strict>;
|
|
@@ -160,6 +194,21 @@ export declare const TYPERT: {
|
|
|
160
194
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
161
195
|
action: import("zod").ZodLiteral<"stop">;
|
|
162
196
|
topicSessionId: import("zod").ZodString;
|
|
197
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
198
|
+
action: import("zod").ZodLiteral<"answer-question">;
|
|
199
|
+
topicSessionId: import("zod").ZodString;
|
|
200
|
+
key: import("zod").ZodString;
|
|
201
|
+
answer: import("zod").ZodObject<{
|
|
202
|
+
answers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
203
|
+
id: import("zod").ZodString;
|
|
204
|
+
selected: import("zod").ZodArray<import("zod").ZodString>;
|
|
205
|
+
custom: import("zod").ZodOptional<import("zod").ZodString>;
|
|
206
|
+
}, import("zod/v4/core").$strict>>;
|
|
207
|
+
}, import("zod/v4/core").$strict>;
|
|
208
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
209
|
+
action: import("zod").ZodLiteral<"cancel-question">;
|
|
210
|
+
topicSessionId: import("zod").ZodString;
|
|
211
|
+
key: import("zod").ZodString;
|
|
163
212
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
164
213
|
action: import("zod").ZodLiteral<"rename">;
|
|
165
214
|
topicSessionId: import("zod").ZodString;
|
|
@@ -224,17 +273,51 @@ export declare const TYPERT: {
|
|
|
224
273
|
stop: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
225
274
|
}, import("zod/v4/core").$strict>;
|
|
226
275
|
}, import("zod/v4/core").$strict>;
|
|
227
|
-
messages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
276
|
+
messages: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
277
|
+
role: import("zod").ZodLiteral<"user">;
|
|
278
|
+
text: import("zod").ZodString;
|
|
228
279
|
id: import("zod").ZodString;
|
|
229
280
|
seq: import("zod").ZodNumber;
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
user: "user";
|
|
233
|
-
assistant: "assistant";
|
|
234
|
-
}>;
|
|
281
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
282
|
+
role: import("zod").ZodLiteral<"assistant">;
|
|
235
283
|
text: import("zod").ZodString;
|
|
236
284
|
reasoning: import("zod").ZodNullable<import("zod").ZodString>;
|
|
237
285
|
streaming: import("zod").ZodBoolean;
|
|
286
|
+
id: import("zod").ZodString;
|
|
287
|
+
seq: import("zod").ZodNumber;
|
|
288
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
289
|
+
role: import("zod").ZodLiteral<"context">;
|
|
290
|
+
label: import("zod").ZodString;
|
|
291
|
+
text: import("zod").ZodString;
|
|
292
|
+
id: import("zod").ZodString;
|
|
293
|
+
seq: import("zod").ZodNumber;
|
|
294
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
295
|
+
role: import("zod").ZodLiteral<"tool">;
|
|
296
|
+
name: import("zod").ZodString;
|
|
297
|
+
arguments: import("zod").ZodString;
|
|
298
|
+
result: import("zod").ZodNullable<import("zod").ZodString>;
|
|
299
|
+
isError: import("zod").ZodBoolean;
|
|
300
|
+
running: import("zod").ZodBoolean;
|
|
301
|
+
id: import("zod").ZodString;
|
|
302
|
+
seq: import("zod").ZodNumber;
|
|
303
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
304
|
+
role: import("zod").ZodLiteral<"error">;
|
|
305
|
+
text: import("zod").ZodString;
|
|
306
|
+
id: import("zod").ZodString;
|
|
307
|
+
seq: import("zod").ZodNumber;
|
|
308
|
+
}, import("zod/v4/core").$strict>], "role">>;
|
|
309
|
+
pendingQuestion: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
310
|
+
key: import("zod").ZodString;
|
|
311
|
+
questions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
312
|
+
id: import("zod").ZodString;
|
|
313
|
+
question: import("zod").ZodString;
|
|
314
|
+
header: import("zod").ZodOptional<import("zod").ZodString>;
|
|
315
|
+
options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
316
|
+
label: import("zod").ZodString;
|
|
317
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
318
|
+
}, import("zod/v4/core").$strict>>>;
|
|
319
|
+
multiSelect: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
320
|
+
}, import("zod/v4/core").$strict>>;
|
|
238
321
|
}, import("zod/v4/core").$strict>>;
|
|
239
322
|
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
240
323
|
}, import("zod/v4/core").$strict>;
|
|
@@ -351,6 +434,21 @@ export declare const TYPERT: {
|
|
|
351
434
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
352
435
|
action: import("zod").ZodLiteral<"stop">;
|
|
353
436
|
topicSessionId: import("zod").ZodString;
|
|
437
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
438
|
+
action: import("zod").ZodLiteral<"answer-question">;
|
|
439
|
+
topicSessionId: import("zod").ZodString;
|
|
440
|
+
key: import("zod").ZodString;
|
|
441
|
+
answer: import("zod").ZodObject<{
|
|
442
|
+
answers: import("zod").ZodArray<import("zod").ZodObject<{
|
|
443
|
+
id: import("zod").ZodString;
|
|
444
|
+
selected: import("zod").ZodArray<import("zod").ZodString>;
|
|
445
|
+
custom: import("zod").ZodOptional<import("zod").ZodString>;
|
|
446
|
+
}, import("zod/v4/core").$strict>>;
|
|
447
|
+
}, import("zod/v4/core").$strict>;
|
|
448
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
449
|
+
action: import("zod").ZodLiteral<"cancel-question">;
|
|
450
|
+
topicSessionId: import("zod").ZodString;
|
|
451
|
+
key: import("zod").ZodString;
|
|
354
452
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
355
453
|
action: import("zod").ZodLiteral<"rename">;
|
|
356
454
|
topicSessionId: import("zod").ZodString;
|
|
@@ -418,17 +516,51 @@ export declare const TYPERT: {
|
|
|
418
516
|
stop: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
419
517
|
}, import("zod/v4/core").$strict>;
|
|
420
518
|
}, import("zod/v4/core").$strict>;
|
|
421
|
-
messages: import("zod").ZodArray<import("zod").ZodObject<{
|
|
519
|
+
messages: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
520
|
+
role: import("zod").ZodLiteral<"user">;
|
|
521
|
+
text: import("zod").ZodString;
|
|
422
522
|
id: import("zod").ZodString;
|
|
423
523
|
seq: import("zod").ZodNumber;
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
user: "user";
|
|
427
|
-
assistant: "assistant";
|
|
428
|
-
}>;
|
|
524
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
525
|
+
role: import("zod").ZodLiteral<"assistant">;
|
|
429
526
|
text: import("zod").ZodString;
|
|
430
527
|
reasoning: import("zod").ZodNullable<import("zod").ZodString>;
|
|
431
528
|
streaming: import("zod").ZodBoolean;
|
|
529
|
+
id: import("zod").ZodString;
|
|
530
|
+
seq: import("zod").ZodNumber;
|
|
531
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
532
|
+
role: import("zod").ZodLiteral<"context">;
|
|
533
|
+
label: import("zod").ZodString;
|
|
534
|
+
text: import("zod").ZodString;
|
|
535
|
+
id: import("zod").ZodString;
|
|
536
|
+
seq: import("zod").ZodNumber;
|
|
537
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
538
|
+
role: import("zod").ZodLiteral<"tool">;
|
|
539
|
+
name: import("zod").ZodString;
|
|
540
|
+
arguments: import("zod").ZodString;
|
|
541
|
+
result: import("zod").ZodNullable<import("zod").ZodString>;
|
|
542
|
+
isError: import("zod").ZodBoolean;
|
|
543
|
+
running: import("zod").ZodBoolean;
|
|
544
|
+
id: import("zod").ZodString;
|
|
545
|
+
seq: import("zod").ZodNumber;
|
|
546
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
547
|
+
role: import("zod").ZodLiteral<"error">;
|
|
548
|
+
text: import("zod").ZodString;
|
|
549
|
+
id: import("zod").ZodString;
|
|
550
|
+
seq: import("zod").ZodNumber;
|
|
551
|
+
}, import("zod/v4/core").$strict>], "role">>;
|
|
552
|
+
pendingQuestion: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
553
|
+
key: import("zod").ZodString;
|
|
554
|
+
questions: import("zod").ZodArray<import("zod").ZodObject<{
|
|
555
|
+
id: import("zod").ZodString;
|
|
556
|
+
question: import("zod").ZodString;
|
|
557
|
+
header: import("zod").ZodOptional<import("zod").ZodString>;
|
|
558
|
+
options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
559
|
+
label: import("zod").ZodString;
|
|
560
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
561
|
+
}, import("zod/v4/core").$strict>>>;
|
|
562
|
+
multiSelect: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
563
|
+
}, import("zod/v4/core").$strict>>;
|
|
432
564
|
}, import("zod/v4/core").$strict>>;
|
|
433
565
|
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
434
566
|
}, import("zod/v4/core").$strict>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirkchinese/dsh-citeciter",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Private Observer-topic learning companion for live DeepSeek Harness conversations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
"@deepseek-ai/dsh-fs": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
104
104
|
"@deepseek-ai/dsh-home-paths": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
105
105
|
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
106
|
+
"@deepseek-ai/dsh-output-retention": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
106
107
|
"@deepseek-ai/dsh-sandbox-policy": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
107
108
|
"@deepseek-ai/dsh-session": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
108
109
|
"@deepseek-ai/dsh-session-persistence-jsonl": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
@@ -110,10 +111,15 @@
|
|
|
110
111
|
"@deepseek-ai/dsh-session-title": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
111
112
|
"@deepseek-ai/dsh-session-title-first-prompt-llm": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
112
113
|
"@deepseek-ai/dsh-settings": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
114
|
+
"@deepseek-ai/dsh-subprocess": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
115
|
+
"@deepseek-ai/dsh-spill": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
113
116
|
"@deepseek-ai/dsh-system-prompt": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
117
|
+
"@deepseek-ai/dsh-tool-ask-user": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
114
118
|
"@deepseek-ai/dsh-tool-fs": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
119
|
+
"@deepseek-ai/dsh-tool-fs-search": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
115
120
|
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
116
121
|
"@deepseek-ai/dsh-typert-protocol": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
122
|
+
"@deepseek-ai/dsh-user-questions": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
117
123
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
118
124
|
"react": "^18.2.0",
|
|
119
125
|
"zod": "^4.4.3"
|
|
@@ -131,6 +137,7 @@
|
|
|
131
137
|
"@deepseek-ai/dsh-fs": "0.1.0-rc.7",
|
|
132
138
|
"@deepseek-ai/dsh-home-paths": "0.1.0-rc.7",
|
|
133
139
|
"@deepseek-ai/dsh-llm": "0.1.0-rc.7",
|
|
140
|
+
"@deepseek-ai/dsh-output-retention": "0.1.0-rc.7",
|
|
134
141
|
"@deepseek-ai/dsh-sandbox-policy": "0.1.0-rc.7",
|
|
135
142
|
"@deepseek-ai/dsh-session": "0.1.0-rc.7",
|
|
136
143
|
"@deepseek-ai/dsh-session-persistence-jsonl": "0.1.0-rc.7",
|
|
@@ -138,10 +145,15 @@
|
|
|
138
145
|
"@deepseek-ai/dsh-session-title": "0.1.0-rc.7",
|
|
139
146
|
"@deepseek-ai/dsh-session-title-first-prompt-llm": "0.1.0-rc.7",
|
|
140
147
|
"@deepseek-ai/dsh-settings": "0.1.0-rc.7",
|
|
148
|
+
"@deepseek-ai/dsh-subprocess": "0.1.0-rc.7",
|
|
149
|
+
"@deepseek-ai/dsh-spill": "0.1.0-rc.7",
|
|
141
150
|
"@deepseek-ai/dsh-system-prompt": "0.1.0-rc.7",
|
|
151
|
+
"@deepseek-ai/dsh-tool-ask-user": "0.1.0-rc.7",
|
|
142
152
|
"@deepseek-ai/dsh-tool-fs": "0.1.0-rc.7",
|
|
153
|
+
"@deepseek-ai/dsh-tool-fs-search": "0.1.0-rc.7",
|
|
143
154
|
"@deepseek-ai/dsh-tools": "0.1.0-rc.7",
|
|
144
155
|
"@deepseek-ai/dsh-typert-protocol": "0.1.0-rc.7",
|
|
156
|
+
"@deepseek-ai/dsh-user-questions": "0.1.0-rc.7",
|
|
145
157
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
146
158
|
"@types/mdast": "^4.0.4",
|
|
147
159
|
"@types/node": "^24.10.0",
|