Repository navigation
Releases: baixiaoyin666/dsh-long-memory
Release list
v0.13.0 · 人格化情绪卡 / Persona mood cards
中文
dsh-long-memory 0.13.0 —— 情绪卡不再千篇一律。
新增
- 每个心情一个表情:自定义人格可以分别给开心 / 生气 / 难过 / 害羞 / 困惑 / 日常设置 emoji,只填想改的那几个即可。
- 文案模板:情绪卡标题支持
{name}和{mood},例如{name}·{mood}·今天也要开心。 - 配色跟随人格:卡片的渐变底与描边改用该人格的强调色。
- 人格编辑更清楚:头像 emoji 与强调色加上说明,并新增 8 个预设头像(🐟 😼 🍵 🤖 🧘 🦊 🐧 🎩)一键填入。
- 旧日记与未设置的人格自动回退到内置表情与默认文案,不需要迁移。
实测
保存一个人格(moods: {happy:"🎉", angry:"💢", daily:"🌤"}、cardCaption: "{name}·{mood}·情绪卡")后,面板返回的数据里 moods / cardCaption / accent 全部正确保留。
要求
DeepSeek Harness 0.2.x(已在 0.2.1-rc.3 的 desktop profile 验证)。
English
dsh-long-memory 0.13.0 — mood cards are no longer one-size-fits-all.
Added
- A face per mood: custom personas can set emoji for happy / angry / sad / shy / confused / daily individually; only the ones you fill in change.
- Caption template: the card title supports
{name}and{mood}, e.g.{name}·{mood}·keep smiling. - Persona-tinted: the gradient and border now follow the persona accent colour.
- Clearer editor: the avatar emoji and accent colour are labelled, with eight preset avatars (🐟 😼 🍵 🤖 🧘 🦊 🐧 🎩).
- Older diaries and unconfigured personas fall back to the built-in faces and caption, so no migration is needed.
Verified
Saving a persona with moods: {happy:"🎉", angry:"💢", daily:"🌤"} and cardCaption: "{name}·{mood}·情绪卡" returned all three fields intact from the panel API.
Requirements
DeepSeek Harness 0.2.x (verified on 0.2.1-rc.3, desktop profile).
v0.12.0 · 可编辑与导入 / Editable & importable
中文
dsh-long-memory 0.12.0 —— 可编辑、可恢复、会话内可见。
新增
- 记忆可编辑:每条记忆的「编辑」能改正文、标签、范围(全局 / 工作区)和所属目录;保存立即生效,不用删了重建。
- 导入 JSON:面板右上角「导入」读入导出的备份,按
id去重合并;导入条目自动补齐weight/lastUsedAt/archived。 - 会话内刷新摘要:上下文压缩发生时重建该会话的记忆摘要——缓存本来就在此刻失效,零额外成本;长会话后半段也能看到刚记住的事实。
实测
- 编辑:正文、标签、范围、目录四项写入后
entries立即更新; - 导入:
{"added":1,"skipped":0},重复 id 自动跳过。
要求
DeepSeek Harness 0.2.x(已在 0.2.1-rc.3 的 desktop profile 验证)。
English
dsh-long-memory 0.12.0 — editable, restorable, visible within a session.
Added
- Editable memories: each row's "编辑" edits the text, tags, scope (global / workspace) and directory; saving takes effect immediately.
- JSON import: "导入" reads an exported backup and merges by
id, skipping duplicates and filling inweight/lastUsedAt/archived. - In-session brief refresh: compaction rebuilds the session's memory digest — the prompt cache is already invalid then, so it costs nothing extra.
Verified
- Editing writes text, tags, scope and workspace and the store updates immediately.
- Import reported
{"added":1,"skipped":0}, skipping an existing id.
Requirements
DeepSeek Harness 0.2.x (verified on 0.2.1-rc.3, desktop profile).
v0.11.0 · 整理与生命周期 / Curation & lifecycle
中文
dsh-long-memory 0.11.0 —— 第二批:整理与生命周期。
新增
- 衰减归档:超过 60 天未更新、命中少于 2 次的记忆自动
archived,不再进入系统提示;默认隐藏,archived:true可查,支持单条与批量恢复。 - 疑似重复 / 冲突:相似度 0.62–0.9 的记忆成对列出,一键合并(保留更长表述、合并标签与来源、累加命中)。
- 搜索语法:
tag:xxx、scope:global|workspace、archived:true、before:YYYY-MM-DD。 - 批量操作:复选框多选后批量归档 / 恢复 / 合并 / 删除。
- 日记可编辑:每篇右上角「编辑」,保存即写回
diary.json。
数据变化
- 记忆新增
weight、lastUsedAt、archived三个字段;旧数据在下次写入时自动补齐,无需迁移脚本。
要求
DeepSeek Harness 0.2.x(已在 0.2.1-rc.3 的 desktop profile 验证)。
English
dsh-long-memory 0.11.0 — batch two: curation and lifecycle.
Added
- Decay / archive: memories untouched for 60 days with fewer than two hits are archived and dropped from the system brief; hidden by default, shown with
archived:true, restorable individually or in bulk. - Suspected duplicates / conflicts: pairs at 0.62–0.9 similarity are listed with one-click merge (longest wording, unioned tags and origins, summed hits).
- Search syntax:
tag:xxx,scope:global|workspace,archived:true,before:YYYY-MM-DD. - Bulk actions: multi-select with archive / restore / merge / delete.
- Editable diary: an "编辑" button on each entry writes the body back to
diary.json.
Data
- Memories gained
weight,lastUsedAtandarchived; older rows fill them in on their next write, so no migration script is needed.
Requirements
DeepSeek Harness 0.2.x (verified on 0.2.1-rc.3, desktop profile).
v0.10.1 · 情绪卡兜底 / Mood card fallback
中文
dsh-long-memory 0.10.1 —— 修复「其他用户日记没有表情包」。
修复
- 没有安装 dsh-meme 时,日记条目原本不显示任何配图;现在会渲染内置情绪卡(按当天心情配色的 emoji 卡片),并提示装 dsh-meme 可换成真实表情包。
- 表情包挑选增加降级链:按心情取图 →
daily→ 不限分类 → 情绪卡,任一环节拿到图就停。
为什么之前只有你有图
配图来自 dsh-meme 的只读服务 ctx.get('dshMeme').pick({ tag })。它属于可选依赖:装了才有、没装就没有,插件此前没有兜底,所以其他用户只看到 emoji 文字,没有图。
要求
DeepSeek Harness 0.2.x(已在 0.2.1-rc.3 的 desktop profile 验证)。
English
dsh-long-memory 0.10.1 — fixes "other users' diaries have no meme".
Fixed
- Without dsh-meme installed, diary entries showed no illustration at all; they now render a built-in mood card (an emoji card tinted by the day's mood) with a hint that dsh-meme swaps in real images.
- Meme selection now degrades: mood tag →
daily→ any tag → mood card, stopping at the first hit.
Why only you had images
Illustrations come from dsh-meme's read-only ctx.get('dshMeme').pick({ tag }). It is an optional dependency, and the plugin previously had no fallback, so other users saw only the emoji text.
Requirements
DeepSeek Harness 0.2.x (verified on 0.2.1-rc.3, desktop profile).
v0.10.0 · 历史回填 / History backfill
中文
dsh-long-memory 0.10.0 —— 历史会话回填。
新增
- 扫描所有工作区的旧会话:读取
~/.dsh/sessions/,自动解码多帧 zstd 日志,每个会话取最近 10 轮对话。 - 一次调用提炼 ≤6 条:把整段对话交给模型,按 global / workspace 分类并入记忆库,来源写入
origins。 - 面板进度:开始 / 取消、进度条,以及会话数、新增、合并、跳过、失败计数;运行中每 3 秒刷新。
- 安全跳过:子代理会话、已暂停的工作区、没有完整对话的会话都会被跳过;逐条去重,不覆盖已有记忆。
说明
- 回填按会话计费,默认最多 40 个会话。
- 单次请求 2400 token(预算太小会被推理占满,返回空文本)。
要求
DeepSeek Harness 0.2.x(已在 0.2.1-rc.3 的 desktop profile 验证)。
English
dsh-long-memory 0.10.0 — history backfill.
Added
- Scans every workspace's old sessions under
~/.dsh/sessions/, decoding multi-frame zstd logs and taking the last ten turns of each session. - One call, up to six facts: the transcript goes to the model and the facts are stored as global / workspace memories with
origins. - Panel progress: start / cancel, a progress bar, and session / added / merged / skipped / failed counters, refreshing every three seconds.
- Safe skips: subagent sessions, paused workspaces and sessions without a complete turn are skipped; facts are deduplicated against the existing store.
Notes
- Backfill is billed per session; the default cap is 40 sessions.
- Each request gets 2400 tokens (too small a budget was consumed by reasoning and returned no text).
Requirements
DeepSeek Harness 0.2.x (verified on 0.2.1-rc.3, desktop profile).
v0.9.1 · 表情情绪与日期 / Emoji moods & dates
中文
dsh-long-memory 0.9.1 —— 表情化情绪趋势与更清楚的日期。
变更
- 情绪趋势改成表情:最近 14 天每天一格,用 😊 😠 😢 😳 😕 😐 😐 表示当天心情;没有记录显示「·」;悬停显示「11月4日 周二 · 开心」。
- 日期显示优化:日记标题改为「今天 · 11月4日 周二」,昨天/更早自动切换前缀;右侧显示「更新于 10:32」而不是模糊的相对时间;趋势格下方显示日号。
要求
DeepSeek Harness 0.2.x(已在 0.2.1-rc.3 的 desktop profile 验证)。
English
dsh-long-memory 0.9.1 — emoji mood trend and clearer dates.
Changed
- Mood trend uses faces: one cell per day for the last 14 days with 😊 😠 😢 😳 😕 😐 😐; 「·」 when there is no entry; hover shows「11月4日 周二 · 开心」.
- Better dates: diary titles read「今天 · 11月4日 周二」(yesterday and earlier switch the prefix); the right side shows「更新于 10:32」instead of a fuzzy relative time; each trend cell carries its day number.
Requirements
DeepSeek Harness 0.2.x (verified on 0.2.1-rc.3, desktop profile).
v0.9.0 · 安全与导出 / Safety & export
中文
dsh-long-memory 0.9.0 —— 第一批体验与安全升级。
新增
- 敏感信息过滤:写入记忆与来源对话前,GitHub token、
sk-密钥、AWS/Slack 凭据、私钥块、身份证号、手机号、密码: xxx会被替换成[已脱敏]。 - 导出:面板「导出 MD / JSON」两个链接,
?export=markdown|json直接下载;Markdown 按全局 / 工作区 / 日记 / 人格分组,JSON 是完整备份。 - 情绪趋势:日记页顶部一条最近 14 篇的情绪色块(happy/angry/sad/shy/confused/daily)。
- 按工作区开关:记忆页列出所有工作区,可单独「暂停记录」;暂停后该项目不再自动提炼,手动工具不受影响。
变更
- 新增
diary.json/personas.json/settings.json三个数据文件(与memories.json并列)。
要求
DeepSeek Harness 0.2.x(已在 0.2.1-rc.3 的 desktop profile 验证)。
English
dsh-long-memory 0.9.0 — first batch of usability and safety upgrades.
Added
- Secret scrubbing: before anything is stored, GitHub tokens,
sk-keys, AWS/Slack credentials, private-key blocks, ID numbers, phone numbers andpassword: …are replaced with[已脱敏], including in captured conversations. - Export: "Export MD / JSON" links in the panel (
?export=markdown|json); Markdown groups memories by global/workspace plus diary and personas, JSON is a full backup. - Mood trend: the diary tab shows the last 14 moods as coloured blocks (happy/angry/sad/shy/confused/daily).
- Per-workspace switch: every workspace can be paused from the memory tab; a paused workspace stops automatic distillation while manual tools keep working.
Changed
- New data files
diary.json,personas.jsonandsettings.jsonalongsidememories.json.
Requirements
DeepSeek Harness 0.2.x (verified on 0.2.1-rc.3, desktop profile).
v0.8.0 · 会写作的日记 / Diary that writes
中文
dsh-long-memory 0.8.0 —— 会写作的日记,带情绪、表情与配图。
新增
- 日记改为 300–420 字、2–3 段的真实写作:具体场景与细节、有起承转合,不再罗列事实。
- 每篇带情绪标签(happy / angry / sad / shy / confused / daily)与 2–3 个 emoji。
- 配图:装了 dsh-meme 时,按其只读服务
ctx.get('dshMeme').pick({ tag })按情绪选图;图片由本插件data?meme=<date>路由直接读文件返回,不依赖外部图床。 - 人格编辑独立页面:点新建/编辑进入独立界面,列表隐藏,左上角可返回。
变更
- 日记 token 上限 2200 → 2600,正文上限 1200 → 2000 字。
要求
DeepSeek Harness 0.2.x(已在 0.2.1-rc.3 的 desktop profile 验证)。
English
dsh-long-memory 0.8.0 — a diary that actually writes, with mood, expressions and art.
Added
- The diary is now 300–420 characters in two or three paragraphs: concrete scenes, a real beginning and ending, no bullet-point reporting.
- Each entry carries a mood (happy / angry / sad / shy / confused / daily) and two or three emoji.
- Illustration: with dsh-meme installed,
ctx.get('dshMeme').pick({ tag })picks an image for the mood; this plugin serves it fromdata?meme=<date>so no third-party image host is involved. - Dedicated persona editor screen with a back link; the table hides while it is open.
Changed
- Diary token budget 2200 → 2600, body cap 1200 → 2000 characters.
Requirements
DeepSeek Harness 0.2.x (verified on 0.2.1-rc.3, desktop profile).
v0.7.0 · 高级交互 / Advanced motion
中文
dsh-long-memory 0.7.0 —— 高级交互动效。
新增
- 指针跟踪光斑:玻璃卡片悬停时出现跟随鼠标的柔光。
- 3D 倾斜:统计卡与健康度卡片随指针做 ≤6° 透视倾斜,移出回弹。
- 数字滚动:统计卡数值 550ms 缓动累加。
- 磁吸按钮:刷新 / 重写今天 / 新建人格 / 保存,按钮向指针轻微偏移。
- 环形健康度:SVG 环 +
stroke-dashoffset700ms 过渡,颜色随分数变化。 - 错峰入场:记忆与人格列表逐行淡入(每行延迟 22ms)。
- 标签页激活态:阴影加深 + 上浮。
纯 CSS + 极少量指针计算,无动画库,不改数据与接口。
要求
DeepSeek Harness 0.2.x(已在 0.2.1-rc.3 的 desktop profile 验证)。
English
dsh-long-memory 0.7.0 — advanced interaction motion.
Added
- Pointer-tracked spotlight on glass cards.
- 3D tilt (≤6°) on stat and health cards, springing back on leave.
- Number count-up over 550ms.
- Magnetic buttons (refresh / rewrite / new persona / save).
- SVG ring health meter with a 700ms
stroke-dashoffsettransition. - Staggered entrance for memory and persona rows (22ms each).
- Stronger active-tab state.
Plain CSS plus a little pointer math — no animation library, no data or API changes.
Requirements
DeepSeek Harness 0.2.x (verified on 0.2.1-rc.3, desktop profile).
v0.6.0 · 玻璃交互动效 / Glass interaction motion
中文
dsh-long-memory 0.6.0 —— 与玻璃质感配套的交互动效。
新增
- 玻璃卡片:悬停上浮 2px、阴影加深、边框提亮(240ms 缓动)。
- 记忆列表与人格表格:行悬停高亮(品牌色 9% 叠加)。
- 按钮:悬浮上移、按下缩放;标签页悬浮微抬。
- 输入框:聚焦时出现品牌色光环。
- 统计卡、健康度区、记忆列表、日记卡片、人格编辑器:300ms 淡入上浮。
- 人格强调色圆点:缓慢呼吸光。
全部为纯 CSS 过渡与关键帧,不引入动画库,不改变数据与接口。
要求
DeepSeek Harness 0.2.x(已在 0.2.1-rc.3 的 desktop profile 验证)。
English
dsh-long-memory 0.6.0 — interaction motion matched to the glass surfaces.
Added
- Glass cards lift 2px with a deeper shadow and brighter edge on hover (240ms easing).
- Memory and persona table rows highlight on hover (9% brand tint).
- Buttons lift on hover and scale on press; tabs lift slightly.
- Inputs show a brand-coloured focus ring.
- Stat cards, the health block, the memory list, diary cards and the persona editor fade up over 300ms.
- Persona accent dots carry a slow breathing glow.
All plain CSS transitions and keyframes — no animation library, no data or API changes.
Requirements
DeepSeek Harness 0.2.x (verified on 0.2.1-rc.3, desktop profile).