dsh-plugin-om 0.0.44 → 0.0.45
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 +2 -0
- package/dist/compaction-log.d.ts +4 -4
- package/dist/compaction-log.d.ts.map +1 -1
- package/dist/compress-tools.d.ts +2 -2
- package/dist/compress-view.d.ts +4 -4
- package/dist/compress-view.d.ts.map +1 -1
- package/dist/index.mjs +101 -18
- package/package.json +8 -1
package/README.md
CHANGED
|
@@ -8,8 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
- 自动压缩主会话历史,并在摘要过大时再次合并
|
|
10
10
|
- 通过工具循环生成摘要,保留用户消息、系统消息和未压缩内容
|
|
11
|
+
- 保留工具加载与手动加载的 skill 原文,并在压缩前再次确认
|
|
11
12
|
- 使用 `recall` 按消息序号回看原文,使用 `recall-semantic` 进行本地语义检索
|
|
12
13
|
- 记录压缩过程、耗时和 token 用量
|
|
14
|
+
- 压缩会话记录显示在子智能体列表,随父会话 Session 日志一起下载
|
|
13
15
|
- 在浏览器中显示压缩结果、错误和降级警告
|
|
14
16
|
|
|
15
17
|
## 安装
|
package/dist/compaction-log.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 压缩会话记录落盘:把工具压缩循环的完整会话消息组原样落盘为一个 one-shot 诊断
|
|
3
|
-
* 子会话(header origin 'subagent' + 首事件 subagent/descriptor
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* 子会话(header origin 'subagent' + 首事件 subagent/descriptor),在父会话登记
|
|
4
|
+
* subagent/catalog,使其出现在宿主子智能体列表并随父会话日志导出。成功与失败
|
|
5
|
+
* 均落盘(label 区分)。导出 recordCompressionSession / compressionRecordLabel /
|
|
6
6
|
* formatCompressionStats / COMPACTION_LOG_PROVIDER。
|
|
7
7
|
*
|
|
8
|
-
* -
|
|
8
|
+
* - 循环消息组按宿主 turn/step 生命周期追加;未执行的工具调用补齐失败结果;
|
|
9
9
|
* 末尾追加一条插件来源的统计消息(formatCompressionStats:起止时间、总耗时、
|
|
10
10
|
* 逐轮请求耗时与 usage、usage 合计)
|
|
11
11
|
* - 失败时的子会话 id 由调用方写入主会话日志与 compaction/end 载荷(compress.ts /
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compaction-log.d.ts","sourceRoot":"","sources":["../src/compaction-log.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAEV,OAAO,
|
|
1
|
+
{"version":3,"file":"compaction-log.d.ts","sourceRoot":"","sources":["../src/compaction-log.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAEV,OAAO,EAKR,MAAM,sBAAsB,CAAC;AAK9B,OAAO,KAAK,EAAwB,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGjF,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,KAAK,YAAY,EAAQ,MAAM,YAAY,CAAC;AAErD,8CAA8C;AAC9C,eAAO,MAAM,uBAAuB,sBAAsB,CAAC;AAS3D,8CAA8C;AAC9C,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,EACxC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,GACf,MAAM,CAER;AAkCD;;;GAGG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,EACxC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,gBAAgB,GACtB,MAAM,CAsBR;AAUD;;;;;;;;GAQG;AACH,wBAAsB,wBAAwB,CAC5C,GAAG,EAAE,OAAO,EACZ,aAAa,EAAE,OAAO,EACtB,OAAO,EAAE;IACP,2BAA2B;IAC3B,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IACzC,iDAAiD;IACjD,MAAM,EAAE,YAAY,CAAC;IACrB,+DAA+D;IAC/D,QAAQ,EAAE,SAAS,OAAO,EAAE,CAAC;IAC7B,+BAA+B;IAC/B,KAAK,EAAE,gBAAgB,CAAC;IACxB,iCAAiC;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,uCAAuC;IACvC,KAAK,EAAE,OAAO,CAAC;CAChB,GACA,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAwH7B"}
|
package/dist/compress-tools.d.ts
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* content 摘要(纯文本,构建最终块时以 CDATA 包裹嵌入;含 CDATA 包裹时拒绝)。参数非法 / 越界 / 覆盖用户或
|
|
10
10
|
* 系统消息 / 与条目或已有替换区间部分重叠 → 返回错误结果(模型可修正重试);
|
|
11
11
|
* 重复覆盖同一区间:新区间完全包含旧区间时覆盖,部分重叠时报错
|
|
12
|
-
* - skill / ask_user_question
|
|
13
|
-
* ask_user_question
|
|
12
|
+
* - skill / ask_user_question 规则:区间覆盖 skill 条目(工具加载或手动加载)或
|
|
13
|
+
* ask_user_question(向用户的提问)条目时,该条目首次被覆盖不执行、返回要求
|
|
14
14
|
* 重新思考的提示;之后再次覆盖它的调用直接执行
|
|
15
15
|
* - completeCompression:标记完成(调用后压缩会话立即停止);空提交(0 次成功
|
|
16
16
|
* 压缩)允许
|
package/dist/compress-view.d.ts
CHANGED
|
@@ -28,9 +28,9 @@ export type ViewEntry = {
|
|
|
28
28
|
notes?: string[];
|
|
29
29
|
/** sys 条目的 source.kind。 */
|
|
30
30
|
sysKind?: string;
|
|
31
|
-
/**
|
|
31
|
+
/** skill 条目的工具名(skill 判定用)或普通 toolcall 的工具名。 */
|
|
32
32
|
toolName?: string;
|
|
33
|
-
/** skill
|
|
33
|
+
/** skill 条目的名称(工具参数或手动加载的消息来源提供;反思视图取自 name 属性)。 */
|
|
34
34
|
skillName?: string;
|
|
35
35
|
/** toolcall 条目的调用 id(结构化渲染为 callId 属性)。 */
|
|
36
36
|
callId?: string;
|
|
@@ -67,8 +67,8 @@ export type BuildViewOptions = {
|
|
|
67
67
|
};
|
|
68
68
|
/**
|
|
69
69
|
* 观察视图:被压缩区间(表层 seq 集合)内的完整消息投影为条目——
|
|
70
|
-
* user → 原文(图片等非文本块为注释)、sys →
|
|
71
|
-
* reasoning 作为参考条目置于其所属 assistant 条目之前(每条 assistant 消息输出一次;
|
|
70
|
+
* user → 原文(图片等非文本块为注释)、sys → 空条目(手动加载的 skill 为 skill 条目)、
|
|
71
|
+
* assistant/toolcall → 原文渲染,reasoning 作为参考条目置于其所属 assistant 条目之前(每条 assistant 消息输出一次;
|
|
72
72
|
* skipReasoning 时省略)。
|
|
73
73
|
* 要求区间为区间内完整消息的首尾 index。
|
|
74
74
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compress-view.d.ts","sourceRoot":"","sources":["../src/compress-view.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAQ,MAAM,gBAAgB,CAAC;AAU9D,OAAO,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAG3D;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,YAAY;IACZ,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,WAAW,GAAG,WAAW,CAAC;IACjD,6CAA6C;IAC7C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0CAA0C;IAC1C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,2BAA2B;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB
|
|
1
|
+
{"version":3,"file":"compress-view.d.ts","sourceRoot":"","sources":["../src/compress-view.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAQ,MAAM,gBAAgB,CAAC;AAU9D,OAAO,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAG3D;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,YAAY;IACZ,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,WAAW,GAAG,WAAW,CAAC;IACjD,6CAA6C;IAC7C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,0CAA0C;IAC1C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,2BAA2B;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,mEAAmE;AACnE,MAAM,MAAM,eAAe,GAAG;IAC5B,uDAAuD;IACvD,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AA8CF;;;GAGG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAaxF;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAmBrF;AAyHD,sDAAsD;AACtD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,+BAA+B;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,OAAO,GAAE,gBAAqB,GAC7B,eAAe,CAiHjB;AAiBD,0CAA0C;AAC1C,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CASjD;AAoFD;;GAEG;AACH,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AA+I7C;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,EAC5C,OAAO,GAAE,gBAAqB,GAC7B,eAAe,CAUjB;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAwHvE;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,GAAG,MAAM,CAO7D"}
|
package/dist/index.mjs
CHANGED
|
@@ -273,35 +273,101 @@ async function recordCompressionSession(ctx, parentSession, options) {
|
|
|
273
273
|
origin: "subagent",
|
|
274
274
|
delegationDepth: (header.delegationDepth ?? 0) + 1
|
|
275
275
|
} });
|
|
276
|
+
const label = compressionRecordLabel(options.phase, options.stats.rounds.length, options.success);
|
|
276
277
|
child.append("subagent/descriptor", {
|
|
277
278
|
version: SUBAGENT_DESCRIPTOR_VERSION,
|
|
278
279
|
mode: "one-shot",
|
|
279
280
|
provider: COMPACTION_LOG_PROVIDER,
|
|
280
|
-
label
|
|
281
|
+
label
|
|
281
282
|
});
|
|
283
|
+
child.append("turn/start", { turn: 1 });
|
|
282
284
|
let step = 0;
|
|
283
|
-
|
|
285
|
+
const executed = new Set(options.messages.filter((message) => message.role === "tool").map((message) => message.toolCallId));
|
|
286
|
+
let pending = [];
|
|
287
|
+
const closeStep = () => {
|
|
288
|
+
if (step === 0) return;
|
|
289
|
+
for (const call of pending) {
|
|
290
|
+
if (executed.has(call.id)) continue;
|
|
291
|
+
const repair = createToolResultMessage({
|
|
292
|
+
callId: call.id,
|
|
293
|
+
content: [{
|
|
294
|
+
type: "text",
|
|
295
|
+
text: "压缩循环未执行此工具调用"
|
|
296
|
+
}],
|
|
297
|
+
isError: true
|
|
298
|
+
});
|
|
299
|
+
child.append("tool/result", {
|
|
300
|
+
turn: 1,
|
|
301
|
+
step,
|
|
302
|
+
message: {
|
|
303
|
+
...repair,
|
|
304
|
+
id: `forked-tool-result-${call.id}-${uuid()}`
|
|
305
|
+
},
|
|
306
|
+
error: {
|
|
307
|
+
name: "ToolNotStartedError",
|
|
308
|
+
code: "TOOL_NOT_STARTED"
|
|
309
|
+
}
|
|
310
|
+
}, { surfaceOp: "append" });
|
|
311
|
+
}
|
|
312
|
+
child.append("step/end", {
|
|
313
|
+
turn: 1,
|
|
314
|
+
step
|
|
315
|
+
});
|
|
316
|
+
pending = [];
|
|
317
|
+
};
|
|
318
|
+
for (const message of options.messages) if (message.role === "assistant") {
|
|
319
|
+
closeStep();
|
|
284
320
|
step += 1;
|
|
285
|
-
|
|
286
|
-
turn:
|
|
321
|
+
child.append("step/start", {
|
|
322
|
+
turn: 1,
|
|
323
|
+
step
|
|
324
|
+
});
|
|
325
|
+
child.append("assistant/message", {
|
|
326
|
+
turn: 1,
|
|
287
327
|
step,
|
|
288
328
|
message,
|
|
289
329
|
stream: []
|
|
290
330
|
}, { surfaceOp: "append" });
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
331
|
+
pending = message.content.filter((block) => block.type === "tool-call");
|
|
332
|
+
for (const call of pending) {
|
|
333
|
+
if (!executed.has(call.id)) continue;
|
|
334
|
+
child.append("tool/call", {
|
|
335
|
+
turn: 1,
|
|
336
|
+
step,
|
|
337
|
+
callId: call.id,
|
|
338
|
+
name: call.name,
|
|
339
|
+
arguments: call.arguments
|
|
340
|
+
});
|
|
341
|
+
}
|
|
342
|
+
} else if (message.role === "tool") child.append("tool/result", {
|
|
343
|
+
turn: 1,
|
|
344
|
+
step,
|
|
345
|
+
message
|
|
346
|
+
}, { surfaceOp: "append" });
|
|
347
|
+
else child.append("user/message", message, { surfaceOp: "append" });
|
|
348
|
+
closeStep();
|
|
298
349
|
child.append("user/message", makeStatsMessage(formatCompressionStats(options.phase, options.success, options.stats)), { surfaceOp: "append" });
|
|
350
|
+
child.append("turn/end", {
|
|
351
|
+
turn: 1,
|
|
352
|
+
reason: { kind: "completed" }
|
|
353
|
+
});
|
|
354
|
+
const persistence = ctx.get("sessionPersistence");
|
|
355
|
+
if (persistence === void 0) throw new Error("宿主未提供 sessionPersistence 服务");
|
|
356
|
+
const write = await persistence.create(child.header);
|
|
299
357
|
try {
|
|
300
|
-
await
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
358
|
+
await write.append(child.snapshotEvents());
|
|
359
|
+
await write.flush();
|
|
360
|
+
} finally {
|
|
361
|
+
await write.close();
|
|
304
362
|
}
|
|
363
|
+
parentSession.append("subagent/catalog", {
|
|
364
|
+
version: 0,
|
|
365
|
+
childId: child.id,
|
|
366
|
+
childCreatedAt: child.header.createdAt,
|
|
367
|
+
mode: "one-shot",
|
|
368
|
+
label
|
|
369
|
+
});
|
|
370
|
+
await ctx.sessions.flush(parentSession);
|
|
305
371
|
return child.id;
|
|
306
372
|
} catch (error) {
|
|
307
373
|
const message = error instanceof Error ? error.message : String(error);
|
|
@@ -7793,8 +7859,8 @@ function askUserQuestionText(session, cm) {
|
|
|
7793
7859
|
}
|
|
7794
7860
|
/**
|
|
7795
7861
|
* 观察视图:被压缩区间(表层 seq 集合)内的完整消息投影为条目——
|
|
7796
|
-
* user → 原文(图片等非文本块为注释)、sys →
|
|
7797
|
-
* reasoning 作为参考条目置于其所属 assistant 条目之前(每条 assistant 消息输出一次;
|
|
7862
|
+
* user → 原文(图片等非文本块为注释)、sys → 空条目(手动加载的 skill 为 skill 条目)、
|
|
7863
|
+
* assistant/toolcall → 原文渲染,reasoning 作为参考条目置于其所属 assistant 条目之前(每条 assistant 消息输出一次;
|
|
7798
7864
|
* skipReasoning 时省略)。
|
|
7799
7865
|
* 要求区间为区间内完整消息的首尾 index。
|
|
7800
7866
|
*/
|
|
@@ -7815,6 +7881,23 @@ function buildObserveView(session, seqs, options = {}) {
|
|
|
7815
7881
|
for (const cm of indexCompleteMessages(session)) {
|
|
7816
7882
|
if (!cm.seqs.every((seq) => shadowed.has(seq))) continue;
|
|
7817
7883
|
if (cm.type === "sys") {
|
|
7884
|
+
const seq = cm.seqs[0];
|
|
7885
|
+
const event = seq === void 0 ? void 0 : session.snapshotEvents()[seq];
|
|
7886
|
+
const source = event?.type === "user/message" ? event.data.source : void 0;
|
|
7887
|
+
if (cm.kind === "skill-invocation" && source?.kind === "skill-invocation" && typeof source.name === "string") {
|
|
7888
|
+
const text = renderCompleteMessage(session, cm);
|
|
7889
|
+
if (text.trim() !== "") {
|
|
7890
|
+
entries.push({
|
|
7891
|
+
kind: "assistant",
|
|
7892
|
+
lo: cm.index,
|
|
7893
|
+
hi: cm.index,
|
|
7894
|
+
text,
|
|
7895
|
+
toolName: SKILL_TOOL_NAME,
|
|
7896
|
+
skillName: source.name
|
|
7897
|
+
});
|
|
7898
|
+
continue;
|
|
7899
|
+
}
|
|
7900
|
+
}
|
|
7818
7901
|
entries.push({
|
|
7819
7902
|
kind: "sys",
|
|
7820
7903
|
lo: cm.index,
|
|
@@ -8678,7 +8761,7 @@ function buildCompressionPrompt(skipReasoning) {
|
|
|
8678
8761
|
"- 摘要粒度越往后越细:靠近末尾(最近)的消息保留更多细节,开头(较早)的消息简写。",
|
|
8679
8762
|
"- <history> 条目正文以 CDATA 包裹(空的 <sys> 条目为自闭合空元素,无正文),CDATA 内为逐字原样内容。",
|
|
8680
8763
|
"- 工具调用条目为 <assistant index=\"N\" type=\"toolcall\" tool-name=\"…\" callId=\"…\">,内含 <tool-args>(调用参数 JSON)与 <tool-result>(工具返回内容)两个 CDATA 子元素。",
|
|
8681
|
-
"- 加载的 skill 以 <skill_content name=\"…\" index=\"N\"> 条目呈现,内含 <skill_resources> 与 <skill_instructions>
|
|
8764
|
+
"- 加载的 skill 以 <skill_content name=\"…\" index=\"N\"> 条目呈现,内含 <skill_resources> 与 <skill_instructions> 两段,内文为加载的 skill 内容,属于关键信息。仅在你明确判断该 skill 与后续任务无关时,压缩它;如果该 skill 与后续任务相关,或者你无法判断,不要压缩,**保持原文**。",
|
|
8682
8765
|
"- ask_user_question 工具调用(向用户的提问)以 <ask-user-question index=\"N\"> 条目呈现,CDATA 内为逐题成对的 q:(问题文本)与 a:(用户回答)行,未作答的题记为 a:(未回答),属于关键信息。仅在你明确判断该提问与后续任务无关时,压缩它;如果该提问与后续任务相关,或者你无法判断,不要压缩,**保持原文**。",
|
|
8683
8766
|
"- 未压缩的条目将原样保留;宁可保留也不要强行压缩不确定的内容。",
|
|
8684
8767
|
"- 全部完成后调用 completeCompression 结束;不要输出与工具调用无关的文本。"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-om",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.45",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.mjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
72
72
|
"@deepseek-ai/dsh-agent-loop": "0.2.0-rc.2",
|
|
73
73
|
"@deepseek-ai/dsh-attachment": "0.2.0-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-attachment-local": "0.2.0-rc.2",
|
|
74
75
|
"@deepseek-ai/dsh-client-locale": "0.2.0-rc.2",
|
|
75
76
|
"@deepseek-ai/dsh-client-store": "0.2.0-rc.2",
|
|
76
77
|
"@deepseek-ai/dsh-client-ui-chat": "0.2.0-rc.2",
|
|
@@ -87,7 +88,12 @@
|
|
|
87
88
|
"@deepseek-ai/dsh-scope": "0.2.0-rc.2",
|
|
88
89
|
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
89
90
|
"@deepseek-ai/dsh-session-format-v3-to-v4": "0.2.0-rc.2",
|
|
91
|
+
"@deepseek-ai/dsh-session-log-export": "0.2.0-rc.2",
|
|
92
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.0-rc.2",
|
|
93
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.0-rc.2",
|
|
90
94
|
"@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
|
|
95
|
+
"@deepseek-ai/dsh-session-query": "0.2.0-rc.2",
|
|
96
|
+
"@deepseek-ai/dsh-session-query-sqlite": "0.2.0-rc.2",
|
|
91
97
|
"@deepseek-ai/dsh-subagent": "0.2.0-rc.2",
|
|
92
98
|
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
|
|
93
99
|
"@deepseek-ai/dsh-token-meter": "0.2.0-rc.2",
|
|
@@ -102,6 +108,7 @@
|
|
|
102
108
|
"anser": "^2.3.5",
|
|
103
109
|
"clsx": "^2.1.1",
|
|
104
110
|
"diff": "^9.0.0",
|
|
111
|
+
"fflate": "0.8.2",
|
|
105
112
|
"immer": "^10.2.0",
|
|
106
113
|
"jsdom": "^26.1.0",
|
|
107
114
|
"katex": "^0.16.47",
|