Releases: XieZongChen/dsh-md-notes
Releases · XieZongChen/dsh-md-notes
Release list
v0.5.0
[0.5.0] - 2026-08-19
Added
- Append-section format (记入笔记): the timestamp heading is now
## <session title> -- <timestamp>and role labels are h3 subsection
headings### 👤 <user>/### 🤖 <assistant>, so the question and the
answer read as distinct blocks in the preview; reasoning is intentionally
NOT captured — only the final answer is recorded, matching how dsh surfaces
the response (Think is transient). - Note references serialize as standard markdown links: a referenced note now
appears in the message as引用笔记 [title](path)/Referenced note [title](path)— the title and path bind as one structured token the model
parses reliably and any markdown renderer (including a future note-jump
feature) recognizes as a link. - Note preview uses dsh's
MarkdownText: the notes-manager preview now renders
with dsh's own MarkdownText (micromark stack: GFM tables / task lists / ordered
lists, TeX math, code highlighting, built-in XSS safety), matching the chat
rendering. See
User guide §2 — Opening the notes manager. - Notes-manager open behavior: clicking an existing note opens Preview
by default (the Preview tab comes first); a newly created note opens directly
in Edit mode. See
User guide §2 — Opening the notes manager.
Fixed
- Remote-update detection no longer false-positives: it now compares git
references (rev-list ahead count) instead of file contents — unsynced local
edits no longer report "update available"; a manual update no longer
overwrites local changes when the remote has nothing new.
See User guide §5 — Git sync.
[0.5.0] - 2026-08-19
Added
- 记入笔记的分段格式优化:时间戳标题改为「会话标题 -- 时间戳」,角色标签升级为
### 👤 用户/### 🤖 DSH小节标题(预览中提问与回答一眼可分);思考内容
(reasoning)不记入,只保留最终回答(与 dsh 界面一致)。 - 引用笔记序列化为标准 markdown 链接:被引用笔记在消息里显示为
引用笔记 [标题](路径)(中)/Referenced note [title](path)(英)——标题与路径绑定为
结构化 token,模型解析可靠,任何 markdown 渲染器(包括未来的笔记跳转功能)都能识别为链接。 - 笔记预览改用 dsh
MarkdownText:笔记管理器的预览 Tab 改用 dsh 自带的
MarkdownText 渲染(micromark 生态:GFM 表格 / 任务列表 / 有序列表、TeX 公式、代码高亮,
XSS 安全内置),与 dsh 聊天渲染一致。见
使用文档 §2 — 打开笔记管理器。 - 笔记管理器打开行为优化:点击已有笔记默认打开预览(预览 Tab 前置),
新建笔记后直接进入编辑模式。见
使用文档 §2 — 打开笔记管理器。
Fixed
- 修复远端更新检测误报:改为基于 git 引用比较(rev-list 领先数)而非内容比对——本地有
编辑未推送时不再误报「远端有更新」;手动更新在远端无新提交时不覆盖本地改动。
见 使用文档 §5 — Git 同步。
v0.4.0
[0.4.0] - 2026-08-18
Added
- Referencing notes in a conversation (
@): pick notes as chips in the chat
input — on send the host folds each referenced note's CONTENT into the model
request (agent/pre-step), so citations work without relying on the model
callingread; cross-workspace supported. See
User guide §4 — Referencing notes in a conversation. - Note-picker enhancements: the list is now grouped by workspace with
fold/collapse (matching the manager's left panel) and notes from any
workspace can be targeted; a + button on each workspace row creates a new
note on the spot; a progress hint shows while the list loads. See
User guide §3 — Capturing a conversation into a note. - Update/push shortcut buttons on workspace rows: each workspace row in the
manager's left panel gains update/push icon buttons (still usable after the
workspace's last note is deleted). See
User guide §2 — Opening the notes manager.
[0.4.0] - 2026-08-18
Added
- 对话中引用笔记(
@):在输入框输入@选择笔记,发送时 host 端把被引用笔记的
内容注入模型请求(agent/pre-step,不依赖模型自觉read),支持跨工作区引用。用法见
使用文档 §4 — 引用笔记进对话。 - 记入笔记弹窗增强:列表改为按工作区分组/折叠(与笔记管理器左侧一致),支持跨工作区
记入;每个工作区行「+」按钮可现场新建笔记;列表加载时显示进度提示。用法见
使用文档 §3 — 把对话记入笔记。 - 工作区行更新/推送快捷按钮:笔记管理器左栏每个工作区行提供更新/推送图标按钮
(工作区删空后仍可更新/推送)。用法见 使用文档 §2 — 打开笔记管理器。
v0.3.0
[0.3.0] - 2026-08-16
Breaking
rootconfig removed — notes are now bound to workspaces (<workspace>/.dsh-notes); the old
root-configured notes directory is ignored and existing notes there are not auto-migrated
(copy them into the workspace's.dsh-notesmanually). Without a workspace, notes can't be
read/written (the UI prompts to create one).listAPI response restructured — previously{ ok, notes, dir }for a single fixed directory,
now{ ok, workspaces: [{ workspaceId, name, notes }], noWorkspaces }grouped per workspace.notesApiHandlersignature changed — from a fixeddirto a deps object resolving the directory
per workspace (internal host API; the bundled client was updated in lockstep).
Added
- Git sync (URL-driven): configure a repo URL and the plugin manages a local
clone; two mutually exclusive modes (shared repo / own repos), mirror-sync
push, conflict handling and auto-pull. See
User guide §5 — Git sync (modes
§5.1, push
§5.2, update
§5.3, auto-pull
§5.4, rejected pushes
§5.5). - Git settings panel (dsh Settings → MD Notes) —
User guide §6. - Update notifications: an npm version check on load shows an "Update
available" tag — User guide §7. - Notes are workspace-bound (
<workspace>/.dsh-notes); without a workspace the
UI prompts to create one first — User guide §1. - Interface copy fully internationalized: host errors return machine codes +
detail, the client renders localized text (gitErrorText). - dsh-styled form controls (DshInput / DshSelect) and a restyled full-screen
notes manager (title-bar settings button, per-workspace grouping/collapse,
status line).
Fixed
- Notes appended from an English UI previously wrote Chinese section labels ("用户"/"DSH") — now
localized ("User"/"DSH"). - Primary buttons (save/confirm) were white-on-white in dark mode — now use theme tokens.
- Note-picker "New" button wrapped to its own line (input field consumed the row) — fixed.
- Punctuation normalized across locales (Chinese copy drops trailing periods; English sentences gain them).
[0.3.0] - 2026-08-16
Breaking(破坏式变更)
- 移除
root配置——笔记改为深度绑定工作区(<工作区>/.dsh-notes);原先root指向的
笔记目录被忽略,已有笔记不会自动迁移(请手动复制到对应工作区的.dsh-notes)。无工作区时
无法读写笔记(界面提示先新建工作区)。 listAPI 返回结构变更——由{ ok, notes, dir }(单一固定目录)改为
{ ok, workspaces: [{ workspaceId, name, notes }], noWorkspaces }(按工作区分组)。notesApiHandler签名变更——由固定dir改为 deps 对象按工作区解析目录
(内部 host API;打包的 client 已同步更新)。
Added
- Git 同步(URL 驱动):配置仓库 URL,插件自动管理本地 clone;支持共享 / 独立仓库两种
互斥模式、镜像同步推送、冲突处理与自动拉取。用法见
使用文档 §5 — Git 同步(模式
§5.1、推送 §5.2、
更新 §5.3、自动拉取
§5.4、推送被拒 §5.5)。 - Git 设置面板(dsh 设置 → MD 笔记)——见 使用文档 §6。
- 版本更新提示:加载时检查 npm 版本,有新版时显示「有新版本需要更新」tag——
见 使用文档 §7。 - 笔记深度绑定工作区(
<工作区>/.dsh-notes),无工作区时界面提示先新建——
见 使用文档 §1。 - 界面文案全面国际化:host 错误返回错误码 + detail,client 渲染本地化文案(
gitErrorText)。 - dsh 风格表单控件(DshInput / DshSelect)与笔记管理器整体改版(标题栏设置按钮、
按工作区分组/折叠、状态行)。
Fixed
- 英文界面记入笔记时此前写入中文分段标签(「用户」/「DSH」)——现本地化为 "User" / "DSH"。
- 主按钮(保存/确认)暗黑模式下白字白底——改用主题 token。
- 记入笔记弹窗「新建」按钮被挤到单独一行(输入框占满整行)——已修复。
- 文案标点规范化(中文去掉句尾句号;英文句子型文案补句号)。
v0.2.0
v0.2.0 - 2026-08-16
Added
- UI copy now follows dsh's locale: all interface texts (sidebar entry, action tooltip, both popups, buttons) moved to the
md-notesdictionary namespace — they switch between Chinese/English together with the host app's language.
v0.2.0 - 2026-08-16
Added
- UI 文案接入 dsh 的 locale 机制:全部界面文案(侧边栏入口、操作栏 tooltip、两个弹窗、按钮)抽成
md-notes命名空间字典,跟随宿主应用语言设置在中/英之间自动切换。
v0.1.1
v0.1.1 - 2026-08-16
Docs-only release — no functional changes. README and CHANGELOG now default to English, with Chinese versions available via README.zh.md / CHANGELOG.zh.md.
v0.1.1 - 2026-08-16
仅文档发布,无功能性改动。README 与 CHANGELOG 默认语言切换为英文(中文版见 README.zh.md / CHANGELOG.zh.md)。
v0.1.0
v0.1.0 - 2026-08-16
Added
- Official bundle plugin (persists with dsh, survives restarts), installed via
dsh plugin --profile web add - Sidebar entry: notes entry at the top row of the sidebar bottom area; click to open the notes manager
- Notes manager (
shell.overlayfull-screen panel):- Left: note list (title + updated time); create (an empty title auto-falls back to "Untitled note ") and delete
- Right: Edit / Preview tabs with a built-in lightweight markdown renderer; Save writes to disk
- Add to note: action icon below each answer; pick (or create) a target note in the popup — the user question + answer are appended to the end of the note with a timestamped section
- Notes are plain
.mdfiles (default<cwd>/.dsh-notes, overridable via Configroot);meta.jsonrecords the title and updated time; editable directly on the filesystem - Hover Tooltip "Add to note" on the assistant action (same as the copy button, side=bottom)
- Notes manager and note-picker popup titles now use the plugin SVG icon (same source as the sidebar/action icons)
- Icon trimmed: the SVG viewBox was tightened to remove the ~173px border, so it no longer renders small
- Sidebar entry and assistant-action styling aligned with native controls (Settings button / copy button)
v0.1.0 - 2026-08-16
Added
- 正式 bundle 插件(可随 dsh 常驻,重启不丢),经
dsh plugin --profile web add安装 - 侧边栏入口:笔记入口,位于侧边栏底部区域最上一行,点击打开笔记管理界面
- 笔记管理界面(
shell.overlay全屏面板):- 左侧笔记列表(标题 + 更新时间),支持新建(空标题自动用"未命名笔记 日期")与删除
- 右侧编辑 / 预览双 Tab,内置轻量 markdown 渲染器,保存即写入
- 记入笔记:每条回答下方操作栏图标,弹出面板选择(或新建)目标笔记,将「用户提问 + 回答」以时间戳分段追加到笔记末尾
- 笔记以普通
.md文件存储(默认<cwd>/.dsh-notes,可用 Configroot覆盖),meta.json记录标题与更新时间,可直接在文件系统编辑 - 回答操作栏新增悬停 Tooltip「发送到笔记」(与复制按钮同款,side=bottom)
- 笔记管理面板与记入笔记弹窗的标题图标改用插件 SVG 图标(与侧边栏/操作栏一致)
- 图标去掉四周留白(SVG viewBox 收紧),显示不再偏小
- 侧边栏笔记入口与回答操作栏按钮样式对齐原生控件(设置按钮 / 复制按钮)