@kirkchinese/dsh-citeciter 0.3.1 → 0.3.2
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 +5 -3
- package/README.zh.md +5 -3
- package/lib/client.js +991 -14838
- package/lib/index.js +14960 -90
- package/lib/{topic-BfAp9KoS.js → topic-DByv84H6.js} +52 -15
- package/lib/{typert-common-DXguoziV.js → typert-common-Bvx1k2cq.js} +1 -1
- package/lib/typert.host.js +2 -2
- package/lib/typert.remote-client.js +1 -1
- package/lib/types/citation-mapping.d.ts +17 -0
- package/lib/types/client/companion-controller.d.ts +18 -6
- package/lib/types/client/components/CitePanel.d.ts +2 -1
- package/lib/types/client/prompt.d.ts +7 -0
- package/lib/types/client/response-guard.d.ts +1 -1
- package/lib/types/client/selection.d.ts +3 -3
- package/lib/types/client/types.d.ts +1 -0
- package/lib/types/index.d.ts +1 -1
- package/lib/types/observer.d.ts +3 -1
- package/lib/types/topic-runtime.d.ts +56 -2
- package/lib/types/topic.d.ts +61 -3
- package/lib/types/typert-common.d.ts +35 -2
- package/lib/types/typert.host.d.ts +76 -4
- package/package.json +3 -3
|
@@ -141,6 +141,12 @@ export declare const TYPERT: {
|
|
|
141
141
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
142
142
|
role: import("zod").ZodLiteral<"error">;
|
|
143
143
|
text: import("zod").ZodString;
|
|
144
|
+
bodyRetained: import("zod").ZodBoolean;
|
|
145
|
+
attempt: import("zod").ZodNumber;
|
|
146
|
+
status: import("zod").ZodEnum<{
|
|
147
|
+
failed: "failed";
|
|
148
|
+
stopped: "stopped";
|
|
149
|
+
}>;
|
|
144
150
|
id: import("zod").ZodString;
|
|
145
151
|
seq: import("zod").ZodNumber;
|
|
146
152
|
}, import("zod/v4/core").$strict>], "role">>;
|
|
@@ -161,8 +167,9 @@ export declare const TYPERT: {
|
|
|
161
167
|
}, import("zod/v4/core").$strict>;
|
|
162
168
|
}, {
|
|
163
169
|
readonly name: "CiteCiterRequest";
|
|
164
|
-
readonly schema: import("zod").
|
|
170
|
+
readonly schema: import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
165
171
|
action: import("zod").ZodLiteral<"create">;
|
|
172
|
+
requestId: import("zod").ZodString;
|
|
166
173
|
citation: import("zod").ZodObject<{
|
|
167
174
|
sourceSessionId: import("zod").ZodString;
|
|
168
175
|
anchorSeq: import("zod").ZodNumber;
|
|
@@ -181,6 +188,23 @@ export declare const TYPERT: {
|
|
|
181
188
|
"exact-when-available": "exact-when-available";
|
|
182
189
|
}>;
|
|
183
190
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
191
|
+
action: import("zod").ZodLiteral<"create">;
|
|
192
|
+
requestId: import("zod").ZodString;
|
|
193
|
+
selectionClaim: import("zod").ZodObject<{
|
|
194
|
+
sourceSessionId: import("zod").ZodString;
|
|
195
|
+
anchorSeq: import("zod").ZodNumber;
|
|
196
|
+
displayText: import("zod").ZodString;
|
|
197
|
+
sourceHintText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
198
|
+
prefixText: import("zod").ZodString;
|
|
199
|
+
suffixText: import("zod").ZodString;
|
|
200
|
+
}, import("zod/v4/core").$strict>;
|
|
201
|
+
question: import("zod").ZodString;
|
|
202
|
+
mode: import("zod").ZodEnum<{
|
|
203
|
+
observer: "observer";
|
|
204
|
+
"exact-fork": "exact-fork";
|
|
205
|
+
"exact-when-available": "exact-when-available";
|
|
206
|
+
}>;
|
|
207
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
184
208
|
action: import("zod").ZodLiteral<"list">;
|
|
185
209
|
sourceSessionId: import("zod").ZodString;
|
|
186
210
|
includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -223,13 +247,22 @@ export declare const TYPERT: {
|
|
|
223
247
|
confirmSessionId: import("zod").ZodString;
|
|
224
248
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
225
249
|
action: import("zod").ZodLiteral<"models">;
|
|
250
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
251
|
+
action: import("zod").ZodLiteral<"set-model-route">;
|
|
252
|
+
topicSessionId: import("zod").ZodString;
|
|
253
|
+
provider: import("zod").ZodString;
|
|
254
|
+
model: import("zod").ZodString;
|
|
255
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
256
|
+
action: import("zod").ZodLiteral<"set-reasoning-effort">;
|
|
257
|
+
topicSessionId: import("zod").ZodString;
|
|
258
|
+
reasoningEffort: import("zod").ZodNullable<import("zod").ZodString>;
|
|
226
259
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
227
260
|
action: import("zod").ZodLiteral<"select-model">;
|
|
228
261
|
topicSessionId: import("zod").ZodString;
|
|
229
262
|
provider: import("zod").ZodString;
|
|
230
263
|
model: import("zod").ZodString;
|
|
231
264
|
reasoningEffort: import("zod").ZodNullable<import("zod").ZodString>;
|
|
232
|
-
}, import("zod/v4/core").$strict>], "action">;
|
|
265
|
+
}, import("zod/v4/core").$strict>], "action">]>;
|
|
233
266
|
}, {
|
|
234
267
|
readonly name: "CiteCiterResponse";
|
|
235
268
|
readonly schema: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
@@ -303,6 +336,12 @@ export declare const TYPERT: {
|
|
|
303
336
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
304
337
|
role: import("zod").ZodLiteral<"error">;
|
|
305
338
|
text: import("zod").ZodString;
|
|
339
|
+
bodyRetained: import("zod").ZodBoolean;
|
|
340
|
+
attempt: import("zod").ZodNumber;
|
|
341
|
+
status: import("zod").ZodEnum<{
|
|
342
|
+
failed: "failed";
|
|
343
|
+
stopped: "stopped";
|
|
344
|
+
}>;
|
|
306
345
|
id: import("zod").ZodString;
|
|
307
346
|
seq: import("zod").ZodNumber;
|
|
308
347
|
}, import("zod/v4/core").$strict>], "role">>;
|
|
@@ -401,8 +440,9 @@ export declare const TYPERT: {
|
|
|
401
440
|
readonly codec: {
|
|
402
441
|
readonly mode: "strict";
|
|
403
442
|
readonly typeSymbol: "@kirkchinese/dsh-citeciter#CiteCiterRequest";
|
|
404
|
-
readonly schema: import("zod").
|
|
443
|
+
readonly schema: import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodObject<{
|
|
405
444
|
action: import("zod").ZodLiteral<"create">;
|
|
445
|
+
requestId: import("zod").ZodString;
|
|
406
446
|
citation: import("zod").ZodObject<{
|
|
407
447
|
sourceSessionId: import("zod").ZodString;
|
|
408
448
|
anchorSeq: import("zod").ZodNumber;
|
|
@@ -421,6 +461,23 @@ export declare const TYPERT: {
|
|
|
421
461
|
"exact-when-available": "exact-when-available";
|
|
422
462
|
}>;
|
|
423
463
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
464
|
+
action: import("zod").ZodLiteral<"create">;
|
|
465
|
+
requestId: import("zod").ZodString;
|
|
466
|
+
selectionClaim: import("zod").ZodObject<{
|
|
467
|
+
sourceSessionId: import("zod").ZodString;
|
|
468
|
+
anchorSeq: import("zod").ZodNumber;
|
|
469
|
+
displayText: import("zod").ZodString;
|
|
470
|
+
sourceHintText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
471
|
+
prefixText: import("zod").ZodString;
|
|
472
|
+
suffixText: import("zod").ZodString;
|
|
473
|
+
}, import("zod/v4/core").$strict>;
|
|
474
|
+
question: import("zod").ZodString;
|
|
475
|
+
mode: import("zod").ZodEnum<{
|
|
476
|
+
observer: "observer";
|
|
477
|
+
"exact-fork": "exact-fork";
|
|
478
|
+
"exact-when-available": "exact-when-available";
|
|
479
|
+
}>;
|
|
480
|
+
}, import("zod/v4/core").$strict>]>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
424
481
|
action: import("zod").ZodLiteral<"list">;
|
|
425
482
|
sourceSessionId: import("zod").ZodString;
|
|
426
483
|
includeArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -463,13 +520,22 @@ export declare const TYPERT: {
|
|
|
463
520
|
confirmSessionId: import("zod").ZodString;
|
|
464
521
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
465
522
|
action: import("zod").ZodLiteral<"models">;
|
|
523
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
524
|
+
action: import("zod").ZodLiteral<"set-model-route">;
|
|
525
|
+
topicSessionId: import("zod").ZodString;
|
|
526
|
+
provider: import("zod").ZodString;
|
|
527
|
+
model: import("zod").ZodString;
|
|
528
|
+
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
529
|
+
action: import("zod").ZodLiteral<"set-reasoning-effort">;
|
|
530
|
+
topicSessionId: import("zod").ZodString;
|
|
531
|
+
reasoningEffort: import("zod").ZodNullable<import("zod").ZodString>;
|
|
466
532
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
467
533
|
action: import("zod").ZodLiteral<"select-model">;
|
|
468
534
|
topicSessionId: import("zod").ZodString;
|
|
469
535
|
provider: import("zod").ZodString;
|
|
470
536
|
model: import("zod").ZodString;
|
|
471
537
|
reasoningEffort: import("zod").ZodNullable<import("zod").ZodString>;
|
|
472
|
-
}, import("zod/v4/core").$strict>], "action">;
|
|
538
|
+
}, import("zod/v4/core").$strict>], "action">]>;
|
|
473
539
|
};
|
|
474
540
|
}];
|
|
475
541
|
readonly result: {
|
|
@@ -546,6 +612,12 @@ export declare const TYPERT: {
|
|
|
546
612
|
}, import("zod/v4/core").$strict>, import("zod").ZodObject<{
|
|
547
613
|
role: import("zod").ZodLiteral<"error">;
|
|
548
614
|
text: import("zod").ZodString;
|
|
615
|
+
bodyRetained: import("zod").ZodBoolean;
|
|
616
|
+
attempt: import("zod").ZodNumber;
|
|
617
|
+
status: import("zod").ZodEnum<{
|
|
618
|
+
failed: "failed";
|
|
619
|
+
stopped: "stopped";
|
|
620
|
+
}>;
|
|
549
621
|
id: import("zod").ZodString;
|
|
550
622
|
seq: import("zod").ZodNumber;
|
|
551
623
|
}, import("zod/v4/core").$strict>], "role">>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirkchinese/dsh-citeciter",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "Private Observer-topic learning companion for live DeepSeek Harness conversations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@deepseek-ai/dsh-session-persistence-jsonl": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
110
110
|
"@deepseek-ai/dsh-session-query": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
111
111
|
"@deepseek-ai/dsh-session-title": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
112
|
-
"@deepseek-ai/dsh-session-title-
|
|
112
|
+
"@deepseek-ai/dsh-session-title-llm": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
113
113
|
"@deepseek-ai/dsh-settings": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
114
114
|
"@deepseek-ai/dsh-subprocess": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
115
115
|
"@deepseek-ai/dsh-spill": ">=0.1.0-rc.7 <0.1.0-rc.8",
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
"@deepseek-ai/dsh-session-persistence-jsonl": "0.1.0-rc.7",
|
|
144
144
|
"@deepseek-ai/dsh-session-query": "0.1.0-rc.7",
|
|
145
145
|
"@deepseek-ai/dsh-session-title": "0.1.0-rc.7",
|
|
146
|
-
"@deepseek-ai/dsh-session-title-
|
|
146
|
+
"@deepseek-ai/dsh-session-title-llm": "0.1.0-rc.7",
|
|
147
147
|
"@deepseek-ai/dsh-settings": "0.1.0-rc.7",
|
|
148
148
|
"@deepseek-ai/dsh-subprocess": "0.1.0-rc.7",
|
|
149
149
|
"@deepseek-ai/dsh-spill": "0.1.0-rc.7",
|