dsh-plugin-om 0.0.59 → 0.0.60
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 -19
- package/dist/client/OmConfigCard.d.ts.map +1 -1
- package/dist/client/OmWarningCard.d.ts +1 -2
- package/dist/client/OmWarningCard.d.ts.map +1 -1
- package/dist/client/definition.d.ts +3 -3
- package/dist/client/locales.d.ts +3 -5
- package/dist/client/locales.d.ts.map +1 -1
- package/dist/client/om-config-controller.d.ts +1 -4
- package/dist/client/om-config-controller.d.ts.map +1 -1
- package/dist/client.js +26 -35
- package/dist/client.js.map +1 -1
- package/dist/compress-loop.d.ts +5 -5
- package/dist/compress-loop.d.ts.map +1 -1
- package/dist/compress-tools.d.ts +18 -2
- package/dist/compress-tools.d.ts.map +1 -1
- package/dist/compress-view.d.ts +37 -4
- package/dist/compress-view.d.ts.map +1 -1
- package/dist/compress.d.ts +46 -27
- package/dist/compress.d.ts.map +1 -1
- package/dist/config.d.ts +2 -6
- package/dist/config.d.ts.map +1 -1
- package/dist/constants.d.ts +13 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/degrade.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1290 -842
- package/dist/om-event-append.d.ts +5 -0
- package/dist/om-event-append.d.ts.map +1 -0
- package/dist/om-event.d.ts +16 -17
- package/dist/om-event.d.ts.map +1 -1
- package/dist/precompress.d.ts +1 -1
- package/dist/precompress.d.ts.map +1 -1
- package/dist/recall.d.ts +12 -20
- package/dist/recall.d.ts.map +1 -1
- package/dist/recompress.d.ts +1 -1
- package/dist/reflect.d.ts +89 -0
- package/dist/reflect.d.ts.map +1 -0
- package/dist/semantic-recall.d.ts +11 -4
- package/dist/semantic-recall.d.ts.map +1 -1
- package/dist/skill/compaction-eval/scripts/compress.mjs +104 -16
- package/dist/skill/compaction-eval/scripts/view.mjs +317 -104
- package/dist/types.d.ts +13 -12
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8,90 +8,14 @@ import "@deepseek-ai/dsh-llm";
|
|
|
8
8
|
import "@deepseek-ai/dsh-scope";
|
|
9
9
|
import { Session, SessionId } from "@deepseek-ai/dsh-session";
|
|
10
10
|
import "@deepseek-ai/dsh-system-prompt";
|
|
11
|
-
import "@deepseek-ai/dsh-subagent";
|
|
12
11
|
import { z } from "zod";
|
|
12
|
+
import "@deepseek-ai/dsh-subagent";
|
|
13
13
|
import Schema from "@deepseek-ai/schemastery";
|
|
14
14
|
import { homedir, tmpdir } from "node:os";
|
|
15
15
|
import { createRequire as createRequire$1 } from "module";
|
|
16
16
|
//#region \0rolldown/runtime.js
|
|
17
17
|
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
18
18
|
var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
|
|
19
|
-
/** 压缩日志标签名:<history>...</history> 包裹观察/反思日志块。 */
|
|
20
|
-
const HISTORY_TAG = "history";
|
|
21
|
-
/** skill 工具名:toolcall 条目的工具名为该值时视为 skill 加载,<history> 块中以 <skill_content> 元素呈现。 */
|
|
22
|
-
const SKILL_TOOL_NAME = "skill";
|
|
23
|
-
/**
|
|
24
|
-
* 提问工具名:成功且问题与答案完整配对时视为合法 ask,失败调用按普通 toolcall 处理。
|
|
25
|
-
* 合法 ask 直接压缩需二次确认;未直接压缩的原始 ask 重写后以 q/a 形式保留。
|
|
26
|
-
*/
|
|
27
|
-
const ASK_USER_QUESTION_TOOL_NAME = "ask_user_question";
|
|
28
|
-
/**
|
|
29
|
-
* 判定 user/message 的 source 是否为本插件自产或宿主压缩 checkpoint(压缩日志消息与
|
|
30
|
-
* 宿主压缩替换消息)。这类消息不占完整消息 index。宿主迁移前的 v3 信封形态
|
|
31
|
-
* (kind 'plugin' + plugin 字段)仅作读取防御保留。
|
|
32
|
-
*/
|
|
33
|
-
function isPluginOwnedSource(source) {
|
|
34
|
-
if (source?.kind === "compact-checkpoint") return true;
|
|
35
|
-
if (source?.kind === "plugin:dsh-plugin-om") return true;
|
|
36
|
-
if (source?.kind !== "plugin") return false;
|
|
37
|
-
return source.plugin === "dsh-plugin-om" || source.plugin === "compact";
|
|
38
|
-
}
|
|
39
|
-
//#endregion
|
|
40
|
-
//#region src/utils.ts
|
|
41
|
-
/** 判断值是否为普通对象(非 null、非数组)。 */
|
|
42
|
-
function isRecord(value) {
|
|
43
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
44
|
-
}
|
|
45
|
-
/** 提取 content 数组中的纯文本块(type === 'text' 的 block.text 拼接)。 */
|
|
46
|
-
function blocksToText(blocks) {
|
|
47
|
-
if (!Array.isArray(blocks)) return "";
|
|
48
|
-
const out = [];
|
|
49
|
-
for (const block of blocks) if (isRecord(block) && block.type === "text" && typeof block.text === "string") out.push(block.text);
|
|
50
|
-
return out.join("");
|
|
51
|
-
}
|
|
52
|
-
/** 消息内容的字符数:递归计入 text 块与 tool-result 内嵌文本。 */
|
|
53
|
-
function textCharCount(message) {
|
|
54
|
-
if (!message || !Array.isArray(message.content)) return 0;
|
|
55
|
-
let total = 0;
|
|
56
|
-
for (const block of message.content) if (block.type === "text") total += block.text.length;
|
|
57
|
-
else if (block.type === "tool-result") total += blocksToText(block.content).length;
|
|
58
|
-
return total;
|
|
59
|
-
}
|
|
60
|
-
/** 一组表层事件 seq 派生消息的字符数之和(OM 卡片「原始字符」口径)。 */
|
|
61
|
-
function seqsCharCount(session, seqs) {
|
|
62
|
-
const events = session.snapshotEvents();
|
|
63
|
-
return seqs.reduce((total, seq) => {
|
|
64
|
-
const event = events[seq];
|
|
65
|
-
return total + textCharCount(event ? session.deriveEventMessage(event) : null);
|
|
66
|
-
}, 0);
|
|
67
|
-
}
|
|
68
|
-
/** 面向 recall 的完整消息呈现:text 原样;tool-call 展开(参数=代码);tool-result 取文本。 */
|
|
69
|
-
function renderMessageText(message) {
|
|
70
|
-
if (!message || !Array.isArray(message.content)) return "";
|
|
71
|
-
const parts = [];
|
|
72
|
-
for (const block of message.content) if (block.type === "text") parts.push(block.text);
|
|
73
|
-
else if (block.type === "tool-call") parts.push(`[tool-call ${block.name} id=${String(block.id)}]
|
|
74
|
-
${toolArgsJson(block.arguments)}`);
|
|
75
|
-
else if (block.type === "tool-result") parts.push(blocksToText(block.content));
|
|
76
|
-
return parts.join("\n");
|
|
77
|
-
}
|
|
78
|
-
/** 安全 JSON 序列化:序列化失败时退回 String 呈现。 */
|
|
79
|
-
function safeJson(value) {
|
|
80
|
-
try {
|
|
81
|
-
return JSON.stringify(value, null, 2);
|
|
82
|
-
} catch {
|
|
83
|
-
return String(value);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* 工具调用参数的 JSON 文本(CDATA 内保持只有一层 JSON 转义):
|
|
88
|
-
* 字符串参数是模型产出的原始 JSON 串,原样返回(本身即合法 JSON,不再二次序列化);
|
|
89
|
-
* 其余结构 JSON.stringify 序列化一次。
|
|
90
|
-
*/
|
|
91
|
-
function toolArgsJson(args) {
|
|
92
|
-
if (typeof args === "string") return args;
|
|
93
|
-
return safeJson(args);
|
|
94
|
-
}
|
|
95
19
|
//#endregion
|
|
96
20
|
//#region node_modules/.pnpm/@xmldom+xmldom@0.9.11/node_modules/@xmldom/xmldom/lib/conventions.js
|
|
97
21
|
var require_conventions = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -7183,7 +7107,7 @@ var require_dom_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7183
7107
|
exports.onWarningStopParsing = onWarningStopParsing;
|
|
7184
7108
|
}));
|
|
7185
7109
|
//#endregion
|
|
7186
|
-
//#region src/
|
|
7110
|
+
//#region src/constants.ts
|
|
7187
7111
|
var import_lib = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
7188
7112
|
var conventions = require_conventions();
|
|
7189
7113
|
exports.assign = conventions.assign;
|
|
@@ -7223,6 +7147,86 @@ var import_lib = (/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7223
7147
|
exports.onErrorStopParsing = domParser.onErrorStopParsing;
|
|
7224
7148
|
exports.onWarningStopParsing = domParser.onWarningStopParsing;
|
|
7225
7149
|
})))();
|
|
7150
|
+
/** 压缩日志标签名:<history>...</history> 包裹观察/反思日志块。 */
|
|
7151
|
+
const HISTORY_TAG = "history";
|
|
7152
|
+
/** 归档块标签名:反思把较早的 <history> 块深度压缩为 <archived-history>。 */
|
|
7153
|
+
const ARCHIVED_HISTORY_TAG = "archived-history";
|
|
7154
|
+
/** skill 工具名:toolcall 条目的工具名为该值时视为 skill 加载,<history> 块中以 <skill_content> 元素呈现。 */
|
|
7155
|
+
const SKILL_TOOL_NAME = "skill";
|
|
7156
|
+
/**
|
|
7157
|
+
* 提问工具名:成功且问题与答案完整配对时视为合法 ask,失败调用按普通 toolcall 处理。
|
|
7158
|
+
* 合法 ask 直接压缩需二次确认;未直接压缩的原始 ask 重写后以 q/a 形式保留。
|
|
7159
|
+
*/
|
|
7160
|
+
const ASK_USER_QUESTION_TOOL_NAME = "ask_user_question";
|
|
7161
|
+
/**
|
|
7162
|
+
* 判定 user/message 的 source 是否为本插件自产或宿主压缩 checkpoint(压缩日志消息与
|
|
7163
|
+
* 宿主压缩替换消息)。这类消息不占完整消息 index。宿主迁移前的 v3 信封形态
|
|
7164
|
+
* (kind 'plugin' + plugin 字段)仅作读取防御保留。
|
|
7165
|
+
*/
|
|
7166
|
+
function isPluginOwnedSource(source) {
|
|
7167
|
+
if (source?.kind === "compact-checkpoint") return true;
|
|
7168
|
+
if (source?.kind === "plugin:dsh-plugin-om") return true;
|
|
7169
|
+
if (source?.kind !== "plugin") return false;
|
|
7170
|
+
return source.plugin === "dsh-plugin-om" || source.plugin === "compact";
|
|
7171
|
+
}
|
|
7172
|
+
//#endregion
|
|
7173
|
+
//#region src/utils.ts
|
|
7174
|
+
/** 判断值是否为普通对象(非 null、非数组)。 */
|
|
7175
|
+
function isRecord(value) {
|
|
7176
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
7177
|
+
}
|
|
7178
|
+
/** 提取 content 数组中的纯文本块(type === 'text' 的 block.text 拼接)。 */
|
|
7179
|
+
function blocksToText(blocks) {
|
|
7180
|
+
if (!Array.isArray(blocks)) return "";
|
|
7181
|
+
const out = [];
|
|
7182
|
+
for (const block of blocks) if (isRecord(block) && block.type === "text" && typeof block.text === "string") out.push(block.text);
|
|
7183
|
+
return out.join("");
|
|
7184
|
+
}
|
|
7185
|
+
/** 消息内容的字符数:递归计入 text 块与 tool-result 内嵌文本。 */
|
|
7186
|
+
function textCharCount(message) {
|
|
7187
|
+
if (!message || !Array.isArray(message.content)) return 0;
|
|
7188
|
+
let total = 0;
|
|
7189
|
+
for (const block of message.content) if (block.type === "text") total += block.text.length;
|
|
7190
|
+
else if (block.type === "tool-result") total += blocksToText(block.content).length;
|
|
7191
|
+
return total;
|
|
7192
|
+
}
|
|
7193
|
+
/** 一组表层事件 seq 派生消息的字符数之和(OM 卡片「原始字符」口径)。 */
|
|
7194
|
+
function seqsCharCount(session, seqs) {
|
|
7195
|
+
const events = session.snapshotEvents();
|
|
7196
|
+
return seqs.reduce((total, seq) => {
|
|
7197
|
+
const event = events[seq];
|
|
7198
|
+
return total + textCharCount(event ? session.deriveEventMessage(event) : null);
|
|
7199
|
+
}, 0);
|
|
7200
|
+
}
|
|
7201
|
+
/** 面向 recall 的完整消息呈现:text 原样;tool-call 展开(参数=代码);tool-result 取文本。 */
|
|
7202
|
+
function renderMessageText(message) {
|
|
7203
|
+
if (!message || !Array.isArray(message.content)) return "";
|
|
7204
|
+
const parts = [];
|
|
7205
|
+
for (const block of message.content) if (block.type === "text") parts.push(block.text);
|
|
7206
|
+
else if (block.type === "tool-call") parts.push(`[tool-call ${block.name} id=${String(block.id)}]
|
|
7207
|
+
${toolArgsJson(block.arguments)}`);
|
|
7208
|
+
else if (block.type === "tool-result") parts.push(blocksToText(block.content));
|
|
7209
|
+
return parts.join("\n");
|
|
7210
|
+
}
|
|
7211
|
+
/** 安全 JSON 序列化:序列化失败时退回 String 呈现。 */
|
|
7212
|
+
function safeJson(value) {
|
|
7213
|
+
try {
|
|
7214
|
+
return JSON.stringify(value, null, 2);
|
|
7215
|
+
} catch {
|
|
7216
|
+
return String(value);
|
|
7217
|
+
}
|
|
7218
|
+
}
|
|
7219
|
+
/**
|
|
7220
|
+
* 工具调用参数的 JSON 文本(CDATA 内保持只有一层 JSON 转义):
|
|
7221
|
+
* 字符串参数是模型产出的原始 JSON 串,原样返回(本身即合法 JSON,不再二次序列化);
|
|
7222
|
+
* 其余结构 JSON.stringify 序列化一次。
|
|
7223
|
+
*/
|
|
7224
|
+
function toolArgsJson(args) {
|
|
7225
|
+
if (typeof args === "string") return args;
|
|
7226
|
+
return safeJson(args);
|
|
7227
|
+
}
|
|
7228
|
+
//#endregion
|
|
7229
|
+
//#region src/log-index.ts
|
|
7226
7230
|
/**
|
|
7227
7231
|
* 会话日志索引:完整消息索引与渲染。
|
|
7228
7232
|
* 导出 indexCompleteMessages(完整消息三类折叠索引,recall 与摘要共用同一套编号)、
|
|
@@ -7689,6 +7693,28 @@ function childText(el, tag) {
|
|
|
7689
7693
|
return child === void 0 ? void 0 : child.textContent ?? "";
|
|
7690
7694
|
}
|
|
7691
7695
|
/**
|
|
7696
|
+
* 提取 skill 工具返回内容(原生 <skill_content> 包裹)中 <skill_resources> 与
|
|
7697
|
+
* <skill_instructions> 两段正文。非该包裹形态、两段缺失或两段之间存在其他内容时
|
|
7698
|
+
* 返回 undefined(调用方回退为整体 CDATA 原文)。
|
|
7699
|
+
*/
|
|
7700
|
+
function skillContentSections(text) {
|
|
7701
|
+
const wrapper = /^[\s]*<skill_content\b[^>]*>([\s\S]*)<\/skill_content>[\s]*$/.exec(text);
|
|
7702
|
+
if (!wrapper) return void 0;
|
|
7703
|
+
const body = wrapper[1] ?? "";
|
|
7704
|
+
const match = /^([\s\S]*?)<skill_resources>([\s\S]*?)<\/skill_resources>([\s\S]*?)<skill_instructions>([\s\S]*?)<\/skill_instructions>([\s\S]*)$/.exec(body);
|
|
7705
|
+
if (!match) return void 0;
|
|
7706
|
+
const before = match[1] ?? "";
|
|
7707
|
+
const resources = match[2] ?? "";
|
|
7708
|
+
const between = match[3] ?? "";
|
|
7709
|
+
const instructions = match[4] ?? "";
|
|
7710
|
+
const after = match[5] ?? "";
|
|
7711
|
+
if (before.trim() !== "" || between.trim() !== "" || after.trim() !== "") return void 0;
|
|
7712
|
+
return {
|
|
7713
|
+
resources,
|
|
7714
|
+
instructions
|
|
7715
|
+
};
|
|
7716
|
+
}
|
|
7717
|
+
/**
|
|
7692
7718
|
* 解析一个已有 <history> 块的内条目(反思视图):user_message / assistant
|
|
7693
7719
|
* (index 单条或 start/end 区间)/ skill_content(name 属性 + index 定位)/
|
|
7694
7720
|
* ask-user-question(index 定位)/ reasoning;其余标签(含旧版 sys)一律忽略。
|
|
@@ -7755,13 +7781,17 @@ function parseBlockEntries(blockText, blockSeq) {
|
|
|
7755
7781
|
}
|
|
7756
7782
|
const start = intAttr(el, "start");
|
|
7757
7783
|
const end = intAttr(el, "end");
|
|
7758
|
-
if (start !== void 0 && end !== void 0)
|
|
7759
|
-
|
|
7760
|
-
|
|
7761
|
-
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7784
|
+
if (start !== void 0 && end !== void 0) {
|
|
7785
|
+
const keyWord = el.getAttribute("key-word");
|
|
7786
|
+
entries.push({
|
|
7787
|
+
kind: "assistant",
|
|
7788
|
+
lo: start,
|
|
7789
|
+
hi: end,
|
|
7790
|
+
text,
|
|
7791
|
+
blockSeq,
|
|
7792
|
+
...keyWord === null || keyWord === "" ? {} : { keyWord }
|
|
7793
|
+
});
|
|
7794
|
+
}
|
|
7765
7795
|
} else if (el.nodeName === "skill_content") {
|
|
7766
7796
|
const index = intAttr(el, "index");
|
|
7767
7797
|
if (index !== void 0) {
|
|
@@ -7827,14 +7857,182 @@ function buildReflectView(blocks, options = {}) {
|
|
|
7827
7857
|
...viewBounds(filtered)
|
|
7828
7858
|
};
|
|
7829
7859
|
}
|
|
7860
|
+
/** 已处理的 ask 条目(q/a 形态,非失败 toolcall)。 */
|
|
7861
|
+
function isHandledAsk(entry) {
|
|
7862
|
+
return entry.kind === "assistant" && entry.toolName === "ask_user_question" && entry.toolArgs === void 0;
|
|
7863
|
+
}
|
|
7864
|
+
/** 转义 XML 属性值。 */
|
|
7865
|
+
function escapeAttr(value) {
|
|
7866
|
+
return value.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
7867
|
+
}
|
|
7868
|
+
/** 把 skill 条目渲染为宿主 skill 引用的注入正文:两段结构按宿主格式重建,已有包裹原样使用。 */
|
|
7869
|
+
function skillInjectionText(name, text) {
|
|
7870
|
+
const sections = skillContentSections(text);
|
|
7871
|
+
const head = `<skill_content name="${escapeAttr(name)}">`;
|
|
7872
|
+
if (sections) return `${head}<skill_resources>${sections.resources}</skill_resources>\n\n<skill_instructions>${sections.instructions}</skill_instructions></skill_content>`;
|
|
7873
|
+
if (/^\s*<skill_content\b[^>]*>[\s\S]*<\/skill_content>\s*$/.test(text)) return text.trim();
|
|
7874
|
+
return `${head}${text}</skill_content>`;
|
|
7875
|
+
}
|
|
7876
|
+
/**
|
|
7877
|
+
* 归档视图:被归档 <history> 块的条目去掉 reasoning 与具名 skill。用户条目与已处理
|
|
7878
|
+
* ask 原样保留并作为分隔,其间连续的可定位 assistant 条目构成一个归档段;不可定位的
|
|
7879
|
+
* 遗留条目同样作为分隔原样保留。具名 skill 按名称去重保留最新一份,随结果返回。
|
|
7880
|
+
*/
|
|
7881
|
+
function buildArchiveView(blocks) {
|
|
7882
|
+
const skills = /* @__PURE__ */ new Map();
|
|
7883
|
+
const entries = [];
|
|
7884
|
+
const segments = [];
|
|
7885
|
+
let open;
|
|
7886
|
+
const close = () => {
|
|
7887
|
+
if (open !== void 0) segments.push(open);
|
|
7888
|
+
open = void 0;
|
|
7889
|
+
};
|
|
7890
|
+
for (const block of blocks) for (const entry of parseBlockEntries(block.text, block.seq)) {
|
|
7891
|
+
if (entry.kind === "reasoning") continue;
|
|
7892
|
+
if (entry.toolName === "skill" && entry.skillName !== void 0 && entry.skillName !== "" && entry.lo !== void 0) {
|
|
7893
|
+
const name = entry.skillName;
|
|
7894
|
+
skills.delete(name);
|
|
7895
|
+
skills.set(name, {
|
|
7896
|
+
name,
|
|
7897
|
+
index: entry.lo,
|
|
7898
|
+
content: skillInjectionText(name, entry.text)
|
|
7899
|
+
});
|
|
7900
|
+
continue;
|
|
7901
|
+
}
|
|
7902
|
+
entries.push(entry);
|
|
7903
|
+
if (entry.kind === "user" || isHandledAsk(entry) || entry.lo === void 0 || entry.hi === void 0) {
|
|
7904
|
+
close();
|
|
7905
|
+
continue;
|
|
7906
|
+
}
|
|
7907
|
+
if (open === void 0) open = {
|
|
7908
|
+
lo: entry.lo,
|
|
7909
|
+
hi: entry.hi
|
|
7910
|
+
};
|
|
7911
|
+
else open.hi = Math.max(open.hi, entry.hi);
|
|
7912
|
+
}
|
|
7913
|
+
close();
|
|
7914
|
+
return {
|
|
7915
|
+
view: {
|
|
7916
|
+
entries,
|
|
7917
|
+
...viewBounds(entries),
|
|
7918
|
+
segments
|
|
7919
|
+
},
|
|
7920
|
+
skills: [...skills.values()].sort((a, b) => a.index - b.index)
|
|
7921
|
+
};
|
|
7922
|
+
}
|
|
7923
|
+
new Map(Object.entries({
|
|
7924
|
+
"om/warning": "plugin:dsh-plugin-om/warning",
|
|
7925
|
+
"om/observe-pending": "plugin:dsh-plugin-om/observe-pending",
|
|
7926
|
+
"om/observe-invalidate": "plugin:dsh-plugin-om/observe-invalidate",
|
|
7927
|
+
"om/observe-summary": "plugin:dsh-plugin-om/observe-summary"
|
|
7928
|
+
}).map(([kind, type]) => [type, kind]));
|
|
7830
7929
|
[
|
|
7831
|
-
|
|
7832
|
-
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7930
|
+
{
|
|
7931
|
+
name: "getHistory",
|
|
7932
|
+
description: "查看压缩区间内的历史条目,返回当前状态:本次已压缩的区间显示为摘要条目;区间切入已有 <history> 块时返回该块全部条目。start/end 缺省为要求区间的第一个/最后一个完整消息 index,必须在要求区间内。",
|
|
7933
|
+
parameters: {
|
|
7934
|
+
type: "object",
|
|
7935
|
+
properties: {
|
|
7936
|
+
start: {
|
|
7937
|
+
type: "number",
|
|
7938
|
+
description: "区间起始完整消息 index(缺省为要求区间第一个)"
|
|
7939
|
+
},
|
|
7940
|
+
end: {
|
|
7941
|
+
type: "number",
|
|
7942
|
+
description: "区间结束完整消息 index(缺省为要求区间最后一个)"
|
|
7943
|
+
}
|
|
7944
|
+
}
|
|
7945
|
+
}
|
|
7946
|
+
},
|
|
7947
|
+
{
|
|
7948
|
+
name: "compressHistory",
|
|
7949
|
+
description: "把 index 单条或 start..end 连续区间的 assistant 类条目(模型输出文本、工具调用)替换为 content 摘要。index 与 start/end 二选一,start 与 end 成对提供且 start==end 等同 index。区间不得覆盖用户消息,不得与已有替换区间部分重叠(完全包含则覆盖)。返回成功即已生效,无需查看验证,不要用单条 index 试探;修改已提交的摘要时用相同或更大的区间重新提交。用户消息保持原样,无需处理。",
|
|
7950
|
+
parameters: {
|
|
7951
|
+
type: "object",
|
|
7952
|
+
properties: {
|
|
7953
|
+
index: {
|
|
7954
|
+
type: "number",
|
|
7955
|
+
description: "单条完整消息 index"
|
|
7956
|
+
},
|
|
7957
|
+
start: {
|
|
7958
|
+
type: "number",
|
|
7959
|
+
description: "区间起始完整消息 index(与 end 成对提供)"
|
|
7960
|
+
},
|
|
7961
|
+
end: {
|
|
7962
|
+
type: "number",
|
|
7963
|
+
description: "区间结束完整消息 index(与 start 成对提供)"
|
|
7964
|
+
},
|
|
7965
|
+
content: {
|
|
7966
|
+
type: "string",
|
|
7967
|
+
description: [
|
|
7968
|
+
"替换后的摘要文本(纯文本,不要包含 CDATA 包裹,插件自动包裹)。忠实性要求:",
|
|
7969
|
+
"1. 只写本次 index 或 start..end 区间内的条目,区间之后的内容不提前写入。",
|
|
7970
|
+
"2. 数字、错误码、退出码、行号、版本号、事件类型名与文件路径从原文逐字照抄;原文没有或不确定时不写具体值,不推测补全。",
|
|
7971
|
+
"3. 变更日志、文档与注释的表述方向照原文(新增/移除、引入/废弃),不反转;旧记录与现状矛盾时写明出处与矛盾点。",
|
|
7972
|
+
"4. 工具结果为空或仅返回成功时,结合前序条目写明动作对象(哪个文件、哪条命令、哪个会话)。"
|
|
7973
|
+
].join("\n")
|
|
7974
|
+
}
|
|
7975
|
+
},
|
|
7976
|
+
required: ["content"]
|
|
7977
|
+
}
|
|
7978
|
+
},
|
|
7979
|
+
{
|
|
7980
|
+
name: "completeCompression",
|
|
7981
|
+
description: "处理完成后调用,成功时立即结束压缩会话。原始合法 ask 必须已成功压缩,或先查看并重写后保留;其他未压缩条目原样保留。无待处理的原始 ask 时允许直接完成。",
|
|
7982
|
+
parameters: {
|
|
7983
|
+
type: "object",
|
|
7984
|
+
properties: {}
|
|
7985
|
+
}
|
|
7986
|
+
}
|
|
7987
|
+
].map((schema) => {
|
|
7988
|
+
if (schema.name === "completeCompression") return {
|
|
7989
|
+
...schema,
|
|
7990
|
+
description: "全部归档段都已压缩后调用,成功时立即结束压缩会话。"
|
|
7991
|
+
};
|
|
7992
|
+
if (schema.name !== "compressHistory") return schema;
|
|
7993
|
+
return {
|
|
7994
|
+
name: "compressHistory",
|
|
7995
|
+
description: `把一个归档段(start..end 恰为首条消息列出的某个段)压成一句话摘要。content 不换行、不超过 300 字符,写清结论、决策与涉及的文件;keywords 为供 recall 检索原文的关键词。返回成功即已生效;修改时用同一区间重新提交。`,
|
|
7996
|
+
parameters: {
|
|
7997
|
+
type: "object",
|
|
7998
|
+
properties: {
|
|
7999
|
+
start: {
|
|
8000
|
+
type: "number",
|
|
8001
|
+
description: "归档段起始完整消息 index"
|
|
8002
|
+
},
|
|
8003
|
+
end: {
|
|
8004
|
+
type: "number",
|
|
8005
|
+
description: "归档段结束完整消息 index"
|
|
8006
|
+
},
|
|
8007
|
+
content: {
|
|
8008
|
+
type: "string",
|
|
8009
|
+
description: "一句话摘要(纯文本,不换行,不要包含 CDATA 包裹)。数字、路径、版本号与错误码从原文逐字照抄,不推测补全。"
|
|
8010
|
+
},
|
|
8011
|
+
keywords: {
|
|
8012
|
+
type: "array",
|
|
8013
|
+
minItems: 1,
|
|
8014
|
+
maxItems: 8,
|
|
8015
|
+
items: { type: "string" },
|
|
8016
|
+
description: "1.." + String(8) + " 个关键词:文件名、函数名、命令、主题词等原文中出现的词"
|
|
8017
|
+
}
|
|
8018
|
+
},
|
|
8019
|
+
required: [
|
|
8020
|
+
"start",
|
|
8021
|
+
"end",
|
|
8022
|
+
"content",
|
|
8023
|
+
"keywords"
|
|
8024
|
+
]
|
|
8025
|
+
}
|
|
8026
|
+
};
|
|
8027
|
+
});
|
|
8028
|
+
[
|
|
8029
|
+
"【归档深度压缩】",
|
|
8030
|
+
"- 本次产物是归档块,原文可由主模型通过 recall 按 index 找回;此规则优先于上方的粒度要求。",
|
|
8031
|
+
"- 用户消息与已处理的提问原样保留,无需处理。",
|
|
8032
|
+
"- 相邻两条用户消息之间的全部 assistant 条目构成一个归档段,每段压成一句话:写清结论、决策与涉及的文件,不写过程。",
|
|
8033
|
+
"- 一句话不超过 300 字符、不换行;已被段内后续进展取代的信息直接舍弃。",
|
|
8034
|
+
"- keywords 选原文中出现、便于检索的词:文件名、函数名、命令、错误码、主题词。"
|
|
7836
8035
|
].join("\n");
|
|
7837
|
-
["【反思合并】", "- 重新压缩已有摘要条目时,保留其中的不可再生信息,不要逐轮缩减。"].join("\n");
|
|
7838
8036
|
[
|
|
7839
8037
|
"【原始提问处理】",
|
|
7840
8038
|
"- 原始合法 ask_user_question 以 <ask-user-question index=\"N\"> 展示,每题为 q:问题、o1:选项一、o2:选项二等及 a:回答;选项包含 label 与 description,无选项题省略 oN 行。",
|
|
@@ -7852,15 +8050,33 @@ function viewCharCount(view) {
|
|
|
7852
8050
|
}
|
|
7853
8051
|
//#endregion
|
|
7854
8052
|
//#region src/compress.ts
|
|
8053
|
+
/** 插件自产 user/message 的文本;其余事件返回 undefined。 */
|
|
8054
|
+
function pluginOwnedText(event) {
|
|
8055
|
+
if (event?.type !== "user/message") return void 0;
|
|
8056
|
+
if (!isPluginOwnedSource(event.data.source)) return void 0;
|
|
8057
|
+
return blocksToText(event.data.content);
|
|
8058
|
+
}
|
|
8059
|
+
/**
|
|
8060
|
+
* 判定消息是否为本插件的归档块消息并返回整段文本:插件自产且文本以
|
|
8061
|
+
* <archived-history> 开标签起始;其余返回 undefined。
|
|
8062
|
+
*/
|
|
8063
|
+
function archivedHistoryTextOf(event) {
|
|
8064
|
+
const text = pluginOwnedText(event);
|
|
8065
|
+
if (text === void 0) return void 0;
|
|
8066
|
+
const head = text.trimStart();
|
|
8067
|
+
const open = `<${ARCHIVED_HISTORY_TAG}`;
|
|
8068
|
+
if (!head.startsWith(open)) return void 0;
|
|
8069
|
+
const next = head.charAt(open.length);
|
|
8070
|
+
return next === ">" || next === " " ? text : void 0;
|
|
8071
|
+
}
|
|
7855
8072
|
/**
|
|
7856
8073
|
* 判定消息是否为本插件的压缩日志消息并提取日志文本(按 source 标记判断,兼容旧宿主
|
|
7857
|
-
* checkpoint 标记 'compact')。仅当消息文本含 <history>
|
|
7858
|
-
*
|
|
8074
|
+
* checkpoint 标记 'compact')。仅当消息文本含 <history> 开标签且不是归档块时视为压缩
|
|
8075
|
+
* 日志,返回整段文本;其余返回 undefined。
|
|
7859
8076
|
*/
|
|
7860
8077
|
function historyTextOf(event) {
|
|
7861
|
-
|
|
7862
|
-
if (
|
|
7863
|
-
const text = blocksToText(event.data.content);
|
|
8078
|
+
const text = pluginOwnedText(event);
|
|
8079
|
+
if (text === void 0 || archivedHistoryTextOf(event) !== void 0) return void 0;
|
|
7864
8080
|
const idx = text.indexOf(`<${HISTORY_TAG}`);
|
|
7865
8081
|
if (idx === -1) return void 0;
|
|
7866
8082
|
const rest = text.slice(idx + 7 + 1);
|
|
@@ -7896,7 +8112,7 @@ function sharedModelDir() {
|
|
|
7896
8112
|
/** 默认配置(冻结对象,resolveConfig 合并的基底;debug 缺省值在解析时按 NODE_ENV 判定)。 */
|
|
7897
8113
|
const DEFAULT_CONFIG = Object.freeze({
|
|
7898
8114
|
observeThresholdTokens: 35e3,
|
|
7899
|
-
reflectThresholdTokens:
|
|
8115
|
+
reflectThresholdTokens: 8e4,
|
|
7900
8116
|
compressMaxTokens: void 0,
|
|
7901
8117
|
rateLimitWaitMs: 6e4,
|
|
7902
8118
|
recompressConcurrency: 2,
|
|
@@ -7908,7 +8124,6 @@ const DEFAULT_CONFIG = Object.freeze({
|
|
|
7908
8124
|
progressReminderIdleSteps: 4,
|
|
7909
8125
|
progressReminderIdleToolCalls: 10,
|
|
7910
8126
|
debug: false,
|
|
7911
|
-
recallEnabled: true,
|
|
7912
8127
|
semanticRecallEnabled: true,
|
|
7913
8128
|
modelDir: sharedModelDir(),
|
|
7914
8129
|
compressProvider: void 0,
|
|
@@ -7929,7 +8144,6 @@ Schema.object({
|
|
|
7929
8144
|
progressReminderIdleSteps: Schema.number().step(1).min(1).default(DEFAULT_CONFIG.progressReminderIdleSteps).volatile(),
|
|
7930
8145
|
progressReminderIdleToolCalls: Schema.number().step(1).min(0).default(DEFAULT_CONFIG.progressReminderIdleToolCalls).volatile(),
|
|
7931
8146
|
debug: Schema.boolean().default(process.env.NODE_ENV !== "production").volatile(),
|
|
7932
|
-
recallEnabled: Schema.boolean().default(DEFAULT_CONFIG.recallEnabled).volatile(),
|
|
7933
8147
|
semanticRecallEnabled: Schema.boolean().default(DEFAULT_CONFIG.semanticRecallEnabled).volatile(),
|
|
7934
8148
|
modelDir: Schema.string().default(DEFAULT_CONFIG.modelDir).volatile(),
|
|
7935
8149
|
compressProvider: Schema.string().volatile(),
|
|
@@ -7995,8 +8209,7 @@ function resolveConfig(raw) {
|
|
|
7995
8209
|
config.progressReminderEnabled = resolveBoolean(input.progressReminderEnabled, true);
|
|
7996
8210
|
config.progressReminderIdleEnabled = resolveBoolean(input.progressReminderIdleEnabled, DEFAULT_CONFIG.progressReminderIdleEnabled);
|
|
7997
8211
|
config.debug = resolveBoolean(input.debug, process.env.NODE_ENV !== "production");
|
|
7998
|
-
config.
|
|
7999
|
-
config.semanticRecallEnabled = config.recallEnabled && resolveBoolean(input.semanticRecallEnabled, true);
|
|
8212
|
+
config.semanticRecallEnabled = resolveBoolean(input.semanticRecallEnabled, true);
|
|
8000
8213
|
const modelDir = input.modelDir;
|
|
8001
8214
|
if (typeof modelDir === "string" && modelDir.trim() !== "") config.modelDir = modelDir;
|
|
8002
8215
|
config.compressProvider = resolveOptionalString(input.compressProvider);
|
|
@@ -8025,15 +8238,15 @@ function findLifecycle(session, compactionId) {
|
|
|
8025
8238
|
}
|
|
8026
8239
|
return lifecycle;
|
|
8027
8240
|
}
|
|
8028
|
-
/**
|
|
8241
|
+
/** 重建被压缩内容的视图:反思用被归档块的归档视图,观察用原消息;不可重建时返回错误。 */
|
|
8029
8242
|
function rebuildView(session, phase, shadowedSeqs, skipReasoning) {
|
|
8030
|
-
if (phase === "reflect") return
|
|
8243
|
+
if (phase === "reflect") return buildArchiveView(shadowedSeqs.flatMap((seq) => {
|
|
8031
8244
|
const text = historyTextOf(session.snapshotEvents()[seq]);
|
|
8032
8245
|
return text === void 0 ? [] : [{
|
|
8033
8246
|
text,
|
|
8034
8247
|
seq
|
|
8035
8248
|
}];
|
|
8036
|
-
})
|
|
8249
|
+
})).view;
|
|
8037
8250
|
return buildObserveView(session, shadowedSeqs, { skipReasoning });
|
|
8038
8251
|
}
|
|
8039
8252
|
/** 按 compactionId 重建一次已成功压缩的输入视图;不可重放时返回错误文本。 */
|
package/dist/types.d.ts
CHANGED
|
@@ -16,7 +16,8 @@ import type { SubagentResult, SubagentRun, SubagentStartRequest } from '@deepsee
|
|
|
16
16
|
import type { SystemPrompt } from '@deepseek-ai/dsh-system-prompt';
|
|
17
17
|
import type { TokenMeter } from '@deepseek-ai/dsh-token-meter';
|
|
18
18
|
import type { JsonSchemaNode, ToolDefinition, ToolRunContext } from '@deepseek-ai/dsh-tools';
|
|
19
|
-
import type { OmMessageSource } from './constants.ts';
|
|
19
|
+
import type { OmMessageSource, SkillInvocationSource } from './constants.ts';
|
|
20
|
+
import type { OmEventPayloadMap } from './om-event.ts';
|
|
20
21
|
import type { ProgressReminderSource } from './system-reminder.ts';
|
|
21
22
|
/** 插件配置类型(来自 config.ts)。 */
|
|
22
23
|
export type { PluginConfig } from './config.ts';
|
|
@@ -30,20 +31,20 @@ declare module '@deepseek-ai/dsh-llm' {
|
|
|
30
31
|
'plugin:dsh-plugin-om': OmMessageSource;
|
|
31
32
|
/** 进度提醒消息(system-reminder 用户消息)的 producer-owned source。 */
|
|
32
33
|
'plugin:dsh-plugin-om:progress': ProgressReminderSource;
|
|
34
|
+
/** 手动加载 skill 的 source:反思提交时按此形态重新注入被归档的 skill。 */
|
|
35
|
+
'skill-invocation': SkillInvocationSource;
|
|
33
36
|
}
|
|
34
37
|
}
|
|
35
38
|
declare module '@deepseek-ai/dsh-session/types' {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
'
|
|
45
|
-
text: string;
|
|
46
|
-
};
|
|
39
|
+
/**
|
|
40
|
+
* 本插件的 plugin record(ignorable,不进 surface):类型名与载荷见 om-event.ts。
|
|
41
|
+
* 键必须与 OM_RECORD_TYPES 一致。
|
|
42
|
+
*/
|
|
43
|
+
interface PluginRecordMap {
|
|
44
|
+
'plugin:dsh-plugin-om/warning': OmEventPayloadMap['om/warning'];
|
|
45
|
+
'plugin:dsh-plugin-om/observe-pending': OmEventPayloadMap['om/observe-pending'];
|
|
46
|
+
'plugin:dsh-plugin-om/observe-invalidate': OmEventPayloadMap['om/observe-invalidate'];
|
|
47
|
+
'plugin:dsh-plugin-om/observe-summary': OmEventPayloadMap['om/observe-summary'];
|
|
47
48
|
}
|
|
48
49
|
}
|
|
49
50
|
/** 官方包宿主类型再导出:插件 API 与工具签名统一从这里取型。 */
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,KAAK,EACV,YAAY,EACZ,UAAU,EACV,OAAO,EACP,UAAU,EACV,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACvF,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACnG,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM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