Skip to content

v1.2.0 — 查看/编辑 UI / Shared Memory

Choose a tag to compare

@shadyyoung shadyyoung released this 26 Oct 14:12
· 9 commits to main since this release

AI 跨平台记忆增强 · Shared Memory v1.2.0

新增:浏览器查看 / 编辑 UI,以及配套的编辑 API 与 memory_update 工具。

新增 / Added

  • 查看 / 编辑 UI:打开服务地址下的 /ui(插件与独立 Hub 同一个页面)
    • 统计、当前焦点编辑(focus + 下一步)
    • 记忆列表:搜索、按 kind 过滤、加载更多、编辑正文/类型/标签、删除
    • 一键导出 JSONL 备份
    • 配置 apiToken 时页面内输入 token(仅存 localStorage)
    • 单文件、无构建;同源调 API,无需 CORS
  • 新 HTTP 接口
    • POST /api/update — 按 id 原地编辑(保留 id / 创建时间)
    • GET /api/items — 分页(limit / offset / q / kind / tag / days / session)
    • GET /api/export — NDJSON 下载
  • 新模型工具 memory_update — 纠正旧记忆而不是 forget + remember
  • message 原话缓存保持只读(可删除)

UI 地址

http://127.0.0.1:<端口>/dsh-memory/ui
# 独立 Hub 默认:http://127.0.0.1:7400/dsh-memory/ui

测试

  • host-smoke:memory_update、/api/update(含 404)、/api/items 分页、/api/export、/ui
  • standalone-smoke:Hub 上的 update / UI / export
  • CI:ubuntu / windows / macos × Node 20/22

Full Changelog: v1.1.0...v1.2.0