sage-mem 1.7.0 → 1.7.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 CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  **Cross-session memory for DeepSeek Harness — plain markdown files, no database, no worker.**
14
14
 
15
- **Current release: `1.7.0`** — the npm badge above is the dynamic source of truth. **Contract baseline: `1.0.0`** — the first stable release, whose public commitments, the capability boundaries and the list of things it explicitly cannot do are frozen in the
15
+ **Current release: `1.7.2`** — the npm badge above is the dynamic source of truth. **Contract baseline: `1.0.0`** — the first stable release, whose public commitments, the capability boundaries and the list of things it explicitly cannot do are frozen in the
16
16
  [frozen contract](https://github.com/gezi-wen/sage-mem/blob/main/docs/1.0.0-contract.md).
17
17
 
18
18
  If it is useful to you, a Star is the most direct feedback.
package/README.zh.md CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  > File-based cross-session memory for DeepSeek Harness — every memory is a plain markdown file you can open, edit and delete. No database, no worker, no port.
16
16
 
17
- **当前发布版本:`1.7.0`** —— 顶部 npm 徽章是动态权威。**契约基线:`1.0.0`** —— 第一个稳定版,公开承诺、能力边界与「明确做不到」的清单冻结在
17
+ **当前发布版本:`1.7.2`** —— 顶部 npm 徽章是动态权威。**契约基线:`1.0.0`** —— 第一个稳定版,公开承诺、能力边界与「明确做不到」的清单冻结在
18
18
  [契约冻结](https://github.com/gezi-wen/sage-mem/blob/main/docs/1.0.0-contract.md)。
19
19
 
20
20
  如果它对你有用,给个 Star 是最直接的反馈。
package/lib/client.js CHANGED
@@ -2078,6 +2078,9 @@ const StarmapRuntime = (function (require, _react) {
2078
2078
  ".smem-dbg-dim{color:var(--dsw-alias-label-secondary);}",
2079
2079
  ".smem-dbg-query{font-size:12.5px;color:var(--dsw-alias-label-primary);white-space:pre-wrap;overflow-wrap:anywhere;}",
2080
2080
  ".smem-dbg-row{display:flex;gap:8px;align-items:flex-start;font-size:12px;}",
2081
+ // 行首标签**不许被挤压**:flex 子项默认会收缩,「摘要得分」四个中文字会被挤成
2082
+ // 一字一行(1.7.0 真机截图里就是这样)。标签固定不缩、不换行。
2083
+ ".smem-dbg-row>.smem-label{flex:none;white-space:nowrap;}",
2081
2084
  ".smem-dbg-scores{display:flex;flex-wrap:wrap;gap:4px 10px;}",
2082
2085
  ".smem-dbg-score{display:inline-flex;gap:4px;align-items:baseline;}",
2083
2086
  ".smem-dbg-file{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11.5px;overflow-wrap:anywhere;}",
@@ -2751,7 +2754,9 @@ h("span", { key: "sep", className: "smem-actions-sep", "aria-hidden": "true" }),
2751
2754
  : h("div", { key: "body" }, [
2752
2755
  h("div", { className: "smem-dbg-head", key: "meta" }, [
2753
2756
  h("span", { className: "smem-dbg-time", key: "t" }, clock(latest.at)),
2754
- h("span", { className: "smem-dbg-sess", key: "sid" }, String(latest.sessionId || "").slice(0, 8)),
2757
+ // 会话 id 前 8 位:真机上的 id 常以 `session-` 开头,直接截 8 位会只剩
2758
+ // 前缀(1.7.0 截图里那一行就是 `session-`)。先剥前缀再截,才有辨识度。
2759
+ h("span", { className: "smem-dbg-sess", key: "sid" }, String(latest.sessionId || "").replace(/^session-?/, "").slice(0, 8) || "—"),
2755
2760
  h("span", { className: "smem-dbg-out" + outcomeClass(latest), key: "o" }, outcomeText(latest)),
2756
2761
  ]),
2757
2762
  h("div", { className: "smem-dbg-query", key: "q" }, "问题:" + (String(latest.query || "").trim() || "(无)")),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sage-mem",
3
3
  "description": "Cross-session memory for DeepSeek Harness — plain markdown files, no database, no worker.",
4
- "version": "1.7.0",
4
+ "version": "1.7.2",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "exports": {