bailian-memo-dsh 2.3.2 → 2.5.0
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 +1 -1
- package/README.zh.md +1 -1
- package/dist/web/client.js +38 -38
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Bailian personal memory plugin for [DeepSeek Harness](https://github.com/deepsee
|
|
|
6
6
|
|
|
7
7
|
It adds automatic recall on top-level turns, silent auxiliary curation with recoverable async writes, explicit remember/forget tools, and a Plugins settings page. Identity and consent live in `~/.bailian/personal-memory/config.json` (shared with the `bailian-memory` skill). API keys use dsh credentials (`BAILIAN_MEMO_API_KEY`).
|
|
8
8
|
|
|
9
|
-
> **
|
|
9
|
+
> **2.5.0 validation scope:** this plugin follows the unified CLI release. Actual dsh/Skill host validation is outside this release preparation scope; CI build and unit checks do not establish a successful host install, Memory service GA, or live profile-value deletion. Those checks must not be reported as passed without separate evidence.
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
|
package/README.zh.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
提供顶层回合自动召回、静默辅助筛选与可恢复异步写入、显式记住/遗忘工具,以及 Plugins 设置页。身份与授权保存在 `~/.bailian/personal-memory/config.json`(与 `bailian-memory` skill 共享)。API Key 使用 dsh credentials(`BAILIAN_MEMO_API_KEY`)。
|
|
8
8
|
|
|
9
|
-
>
|
|
9
|
+
> **2.5.0验收范围:** 本插件跟随CLI统一发布,本轮发布准备不包含dsh/Skill实际宿主验收。CI构建及单测不代表宿主安装、Memory服务GA或画像值精确删除live已验证;没有独立证据时不能将这些检查标记为通过。
|
|
10
10
|
|
|
11
11
|
## 安装
|
|
12
12
|
|
package/dist/web/client.js
CHANGED
|
@@ -215,8 +215,8 @@ window.__ModuleLoader__.load({
|
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
217
|
//#endregion
|
|
218
|
-
//#region \0dsh-css:/
|
|
219
|
-
const css = ".
|
|
218
|
+
//#region \0dsh-css:/home/runner/work/cli/cli/packages/bailian-memo-dsh/src/web/MemoCard.module.css.mjs
|
|
219
|
+
const css = ".S6UY6a_root{flex-direction:column;gap:16px;width:min(100%,760px);display:flex}.S6UY6a_section{border:1px solid color-mix(in srgb, currentColor 12%, transparent);background:color-mix(in srgb, currentColor 2%, transparent);border-radius:12px;flex-direction:column;gap:14px;padding:18px;display:flex}.S6UY6a_sectionHeading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.S6UY6a_sectionHeading h2{margin:0;font-size:15px;font-weight:650}.S6UY6a_sectionHeading p{opacity:.68;margin:4px 0 0;font-size:12px;line-height:1.5}.S6UY6a_consent{background:color-mix(in srgb, currentColor 5%, transparent);border-radius:8px;margin:0;padding:12px;font-size:13px;line-height:1.55}.S6UY6a_status{border-radius:999px;flex:none;padding:4px 9px;font-size:11px;font-weight:650}.S6UY6a_setupRequired,.S6UY6a_initializing,.S6UY6a_automaticDisabled{color:#8a5700;background:#f2a90029}.S6UY6a_active{color:#137548;background:#1a9b6224}.S6UY6a_paused{color:#666;background:color-mix(in srgb, currentColor 8%, transparent)}.S6UY6a_factGrid{grid-template-columns:minmax(120px,.5fr) minmax(0,1fr);align-items:baseline;gap:9px 16px;font-size:12px;display:grid}.S6UY6a_factGrid>span{opacity:.65}.S6UY6a_factGrid code{overflow-wrap:anywhere;font-size:11px}.S6UY6a_inputGroup{flex-direction:column;gap:6px;font-size:12px;font-weight:600;display:flex}.S6UY6a_inputGroup small{opacity:.65;font-weight:400}.S6UY6a_fieldHead{justify-content:space-between;align-items:center;gap:8px;display:flex}.S6UY6a_fieldTitle{align-items:center;gap:8px;min-width:0;display:flex}.S6UY6a_getLink{white-space:nowrap;font-size:12px;font-weight:500}.S6UY6a_badge,.S6UY6a_badgeMuted{border-radius:999px;flex:none;padding:3px 8px;font-size:11px;font-weight:650}.S6UY6a_badge{color:#137548;background:#1a9b6224}.S6UY6a_badgeMuted{opacity:.72;background:color-mix(in srgb, currentColor 8%, transparent)}.S6UY6a_autofillRow{align-items:center;gap:10px;display:flex}.S6UY6a_autofillStatus{opacity:.68;font-size:12px;font-weight:400;line-height:1.45}.S6UY6a_autofillStatusSuccess{color:#137548;font-size:12px;font-weight:400;line-height:1.45}.S6UY6a_input{box-sizing:border-box;border:1px solid color-mix(in srgb, currentColor 20%, transparent);width:100%;color:inherit;background:0 0;border-radius:8px;padding:9px 10px}.S6UY6a_input:disabled{opacity:.65}.S6UY6a_actions{flex-wrap:wrap;gap:8px;display:flex}.S6UY6a_primaryButton,.S6UY6a_secondaryButton,.S6UY6a_resetButton{border:1px solid color-mix(in srgb, currentColor 30%, transparent);color:inherit;cursor:pointer;border-radius:7px;padding:7px 12px}.S6UY6a_primaryButton{color:#fff;background:#3377e5;border-color:#3377e5}.S6UY6a_secondaryButton,.S6UY6a_resetButton{background:0 0}.S6UY6a_resetButton{opacity:.72;border:0;padding:4px 7px;font-size:11px}.S6UY6a_primaryButton:disabled,.S6UY6a_secondaryButton:disabled,.S6UY6a_resetButton:disabled{opacity:.5;cursor:not-allowed}.S6UY6a_message{color:#c0392b;background:#c0392b14;border-radius:7px;padding:9px 10px;font-size:12px}.S6UY6a_flowStatus{color:#137548;background:#1a9b621a;border-radius:7px;padding:9px 10px;font-size:12px}.S6UY6a_settingRow{border-bottom:1px solid color-mix(in srgb, currentColor 8%, transparent);justify-content:space-between;align-items:center;gap:20px;padding:10px 0;display:flex}.S6UY6a_settingCopy{flex-direction:column;flex:1;gap:3px;display:flex}.S6UY6a_settingTitle{align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.S6UY6a_settingControl{align-items:center;gap:5px;display:flex}.S6UY6a_hint{opacity:.65;font-size:11px;line-height:1.4}.S6UY6a_overridden{background:color-mix(in srgb, currentColor 8%, transparent);border-radius:4px;padding:2px 5px;font-size:9px;font-weight:500}.S6UY6a_tasks{flex-direction:column;gap:8px;font-size:12px;display:flex}.S6UY6a_task{background:color-mix(in srgb, currentColor 4%, transparent);border-radius:7px;grid-template-columns:minmax(90px,auto) 1fr;gap:4px 12px;padding:9px 10px;display:grid}.S6UY6a_task span{overflow-wrap:anywhere;opacity:.7}.S6UY6a_taskError{color:#c0392b;grid-column:1/-1}@media (width<=560px){.S6UY6a_sectionHeading,.S6UY6a_settingRow{flex-direction:column;align-items:stretch}.S6UY6a_factGrid{grid-template-columns:1fr;gap:4px}.S6UY6a_factGrid>strong,.S6UY6a_factGrid>code{margin-bottom:6px}}";
|
|
220
220
|
const tagId = "bailian-memo-dsh/MemoCard.module.css";
|
|
221
221
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
222
222
|
const tag = document.createElement("style");
|
|
@@ -226,42 +226,42 @@ window.__ModuleLoader__.load({
|
|
|
226
226
|
document.head.appendChild(tag);
|
|
227
227
|
}
|
|
228
228
|
var MemoCard_module_css_default = {
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
"
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
"
|
|
253
|
-
"
|
|
254
|
-
"
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
"
|
|
258
|
-
"
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
"
|
|
263
|
-
"
|
|
264
|
-
"
|
|
229
|
+
"factGrid": "S6UY6a_factGrid",
|
|
230
|
+
"settingTitle": "S6UY6a_settingTitle",
|
|
231
|
+
"resetButton": "S6UY6a_resetButton",
|
|
232
|
+
"settingCopy": "S6UY6a_settingCopy",
|
|
233
|
+
"task": "S6UY6a_task",
|
|
234
|
+
"autofillRow": "S6UY6a_autofillRow",
|
|
235
|
+
"message": "S6UY6a_message",
|
|
236
|
+
"active": "S6UY6a_active",
|
|
237
|
+
"section": "S6UY6a_section",
|
|
238
|
+
"paused": "S6UY6a_paused",
|
|
239
|
+
"automaticDisabled": "S6UY6a_automaticDisabled",
|
|
240
|
+
"sectionHeading": "S6UY6a_sectionHeading",
|
|
241
|
+
"fieldTitle": "S6UY6a_fieldTitle",
|
|
242
|
+
"root": "S6UY6a_root",
|
|
243
|
+
"getLink": "S6UY6a_getLink",
|
|
244
|
+
"hint": "S6UY6a_hint",
|
|
245
|
+
"overridden": "S6UY6a_overridden",
|
|
246
|
+
"actions": "S6UY6a_actions",
|
|
247
|
+
"fieldHead": "S6UY6a_fieldHead",
|
|
248
|
+
"secondaryButton": "S6UY6a_secondaryButton",
|
|
249
|
+
"input": "S6UY6a_input",
|
|
250
|
+
"status": "S6UY6a_status",
|
|
251
|
+
"flowStatus": "S6UY6a_flowStatus",
|
|
252
|
+
"primaryButton": "S6UY6a_primaryButton",
|
|
253
|
+
"tasks": "S6UY6a_tasks",
|
|
254
|
+
"consent": "S6UY6a_consent",
|
|
255
|
+
"initializing": "S6UY6a_initializing",
|
|
256
|
+
"settingControl": "S6UY6a_settingControl",
|
|
257
|
+
"badgeMuted": "S6UY6a_badgeMuted",
|
|
258
|
+
"badge": "S6UY6a_badge",
|
|
259
|
+
"setupRequired": "S6UY6a_setupRequired",
|
|
260
|
+
"taskError": "S6UY6a_taskError",
|
|
261
|
+
"inputGroup": "S6UY6a_inputGroup",
|
|
262
|
+
"settingRow": "S6UY6a_settingRow",
|
|
263
|
+
"autofillStatus": "S6UY6a_autofillStatus",
|
|
264
|
+
"autofillStatusSuccess": "S6UY6a_autofillStatusSuccess"
|
|
265
265
|
};
|
|
266
266
|
//#endregion
|
|
267
267
|
//#region src/web/MemoCard.tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bailian-memo-dsh",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Bailian personal memory for DeepSeek Harness: automatic recall, silent curation, and user-controlled remember/forget.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"alibaba-cloud",
|
|
@@ -45,12 +45,6 @@
|
|
|
45
45
|
"access": "public",
|
|
46
46
|
"registry": "https://registry.npmjs.org/"
|
|
47
47
|
},
|
|
48
|
-
"scripts": {
|
|
49
|
-
"build": "tsc -b tsconfig.build.json && tsc -p tsconfig.web.json && tsdown",
|
|
50
|
-
"typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.web.json",
|
|
51
|
-
"test": "vp test",
|
|
52
|
-
"check": "vp check"
|
|
53
|
-
},
|
|
54
48
|
"dependencies": {
|
|
55
49
|
"zod": "^4.4.3"
|
|
56
50
|
},
|
|
@@ -77,13 +71,13 @@
|
|
|
77
71
|
"@deepseek-ai/dsh-user-approval": "0.2.1-alpha.1",
|
|
78
72
|
"@deepseek-ai/dsh-util-values": "0.2.1-alpha.1",
|
|
79
73
|
"@deepseek-ai/schemastery": "3.18.5-alpha.1",
|
|
80
|
-
"@types/node": "
|
|
74
|
+
"@types/node": "^24",
|
|
81
75
|
"@types/react": "~18.3.1",
|
|
82
76
|
"lightningcss": "^1.32.0",
|
|
83
77
|
"react": "^18.2.0",
|
|
84
78
|
"tsdown": "^0.22.2",
|
|
85
|
-
"typescript": "
|
|
86
|
-
"vite-plus": "
|
|
79
|
+
"typescript": "^5",
|
|
80
|
+
"vite-plus": "0.3.3"
|
|
87
81
|
},
|
|
88
82
|
"peerDependencies": {
|
|
89
83
|
"@deepseek-ai/cordis": "4.0.5-alpha.1",
|
|
@@ -140,5 +134,11 @@
|
|
|
140
134
|
],
|
|
141
135
|
"platform": "web"
|
|
142
136
|
}
|
|
137
|
+
},
|
|
138
|
+
"scripts": {
|
|
139
|
+
"build": "tsc -b tsconfig.build.json && tsc -p tsconfig.web.json && tsdown",
|
|
140
|
+
"typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.web.json",
|
|
141
|
+
"test": "vp test",
|
|
142
|
+
"check": "vp check"
|
|
143
143
|
}
|
|
144
|
-
}
|
|
144
|
+
}
|