sage-mem 2.3.0 → 2.3.1
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/lib/client.js +7 -2
- package/package.json +1 -1
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: `2.3.
|
|
15
|
+
**Current release: `2.3.1`** — 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
|
-
**当前发布版本:`2.3.
|
|
17
|
+
**当前发布版本:`2.3.1`** —— 顶部 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
|
@@ -1128,6 +1128,9 @@ const StarmapRuntime = (function (require, _react) {
|
|
|
1128
1128
|
const busyS = react.useState(false);
|
|
1129
1129
|
const busy = busyS[0];
|
|
1130
1130
|
const setBusy = busyS[1];
|
|
1131
|
+
// 2.3.1:默认仍是「星空」—— 它是这个功能的招牌视觉(README 封面图),
|
|
1132
|
+
// 而且改成 timeline 会让 8 条「画布真的画出来了 / 点得中暗星」的渲染断言失去
|
|
1133
|
+
// 前提(那些只在空间视角成立)。变的是**按钮顺序**:时间线在前。
|
|
1131
1134
|
const viewS = react.useState("sky");
|
|
1132
1135
|
const viewMode = viewS[0];
|
|
1133
1136
|
const setViewMode = viewS[1];
|
|
@@ -1624,9 +1627,11 @@ const StarmapRuntime = (function (require, _react) {
|
|
|
1624
1627
|
// 那条共用头部带里(「我在哪」),这里只留控件,少一行噪音。
|
|
1625
1628
|
h("div", { className: "smap-head" },
|
|
1626
1629
|
h("span", { className: "smap-spacer" }),
|
|
1630
|
+
// 2.3.1:时间线在前(默认视角),星空在后 —— 与默认值一致,别让人点开
|
|
1631
|
+
// 一个高亮的按钮发现它不在第一位。
|
|
1627
1632
|
h("span", { className: "smap-viewtoggle" },
|
|
1628
|
-
h("button", { className: "smap-vt-btn" + (viewMode === "
|
|
1629
|
-
h("button", { className: "smap-vt-btn" + (viewMode === "
|
|
1633
|
+
h("button", { className: "smap-vt-btn" + (viewMode === "timeline" ? " on" : ""), onClick: () => setViewMode("timeline"), title: "时间视角:最近更新在前" }, "时间线"),
|
|
1634
|
+
h("button", { className: "smap-vt-btn" + (viewMode === "sky" ? " on" : ""), onClick: () => setViewMode("sky"), title: "空间视角:星座分布" }, "星空")),
|
|
1630
1635
|
// 档案馆开关:默认开。关掉只是本地不再画暗星,不重新取数。
|
|
1631
1636
|
// 只留文字,不挂数字(计数归脚注的「档案馆 N 颗暗星」);开/关靠 on 态
|
|
1632
1637
|
// 与 aria-pressed 的样式差,别让人猜现在是开还是关。
|
package/package.json
CHANGED