Menghuan1918
bc66e8dc53
feat(changes): add reveal/open exits to the diff content view ( #1092 )
2026-11-08 12:18:50 +08:00
Menghuan1918
376a57bfe5
merge #1027 : feat(media) built-in audio/video preview with range support
...
# Conflicts:
# CHANGELOG.md
# CHANGELOG_EN.md
# docs/external-plugin-guide.md
# src/index.ts
2026-11-08 12:17:07 +08:00
Menghuan1918
f433f98eed
fix(tab-actions): keep the in-flight guard until the run settles ( #1137 )
2026-11-08 12:14:31 +08:00
Menghuan1918
275ee76699
fix(tasks): open a transcript in the current right pane by default ( #1141 )
2026-11-08 11:50:37 +08:00
Menghuan1918
f3ff9d39df
fix(preview): keep the CSP sandbox scoped to scriptable documents ( #1123 )
2026-11-08 11:47:24 +08:00
Menghuan1918
641bf969ca
merge #1123 : fix(preview) sandbox streamed files and fix bundled KaTeX
2026-11-08 11:39:54 +08:00
Menghuan1918
a83f616dc3
merge #1135 : fix(git) run git inside the WSL distribution for UNC workspaces
2026-11-08 11:39:22 +08:00
gardenerHan
18fd83df51
chore(lockfile): regenerate for schemastery peer move
...
CI runs pnpm install --frozen-lockfile (pnpm@11.8.0); the committed lock still
pinned the old ~3.18.5 spec and 3.18.5 resolution, which would fail the gate.
Regenerated with pnpm@11.8.0 --lockfile-only; the diff is confined to the
schemastery version graph (3.18.5 -> 3.19.0).
(cherry picked from commit 5c74da5a5a9d716376d920c16c166e2e75eb3018)
2026-11-08 11:38:45 +08:00
gardenerHan
1ea716b6d6
fix(deps): declare @deepseek-ai/schemastery as peerDependency, not dependency
...
The host (dsh) bundles schemastery and expects plugins to share that single
instance (the schema type registry is module-level). Declaring it as a
dependency with ~3.18.5 makes pnpm install a profile-local 3.18.x copy that
cannot match the host's 3.19.0 on dsh 0.2.2+, so Node's nearest-resolution
loads two instances and the nearer copy shadows the core service.
Verified 3.18.5 and 3.19.0 export identical APIs (26/26) and this plugin
only uses the default export, so sharing the host instance is safe.
Fixes #546
(cherry picked from commit f3591ace5d7984bb89a9ae4e80ed063159e9f985)
2026-11-08 11:38:45 +08:00
Menghuan1918
ee04b5d4b3
test(fs): compare the session-relative tail in the missing-file message ( #963 )
2026-11-08 00:52:16 +08:00
Menghuan1918
fb1bf44ed2
test(e2e): use the shared onboarding dismissal and assert the visible marker ( #963 )
2026-11-08 00:37:31 +08:00
Menghuan1918
6cfbad5ce4
docs(changelog): restore the full release history and record the merged batch
2026-11-08 00:27:05 +08:00
Menghuan1918
64ec9d9745
test(tasks): keep the owned-task owner on a catalog row ( #1026 after #1139 )
2026-11-08 00:24:35 +08:00
Menghuan1918
69c32e78c6
merge #1026 : fix(tasks) keep owned task labels consistent with the board
2026-11-08 00:23:29 +08:00
Menghuan1918
041faf3412
merge #829 : fix(mermaid) zoom the content and frame on open
...
# Conflicts:
# src/client/mermaid.tsx
2026-11-08 00:23:27 +08:00
Menghuan1918
acea51ad13
merge #1048 : fix(editor) readable Windows markdown path failures and repair choices
...
# Conflicts:
# CHANGELOG.md
# src/client/EditorHost.tsx
# src/index.ts
2026-11-08 00:22:24 +08:00
Menghuan1918
11b9d4f963
merge #963 : fix(sidebar) resolve relative file links from the session cwd
...
# Conflicts:
# src/active-worktree.ts
2026-11-08 00:21:05 +08:00
Menghuan1918
77cbf420ce
merge #1043 : fix(editor) resolve markdown preview images on the page base
...
# Conflicts:
# src/client/markdown-images.ts
# src/client/markdown-labels.tsx
# src/client/markdown-navigation.ts
# tests/markdown-images.spec.ts
2026-11-08 00:19:09 +08:00
lu.wang7
d346322860
docs: 新条目归入「未发布」,同步扩展点计数与版本标注
...
- CHANGELOG 中英:两个新能力从 `v0.30.1` 段移出,落到新的「未发布 / Unreleased」段。
v0.30.1 是上游已发布版本,本 PR 的内容属于下一个版本,混进已发布段会让读者以为
这两个能力已在 0.30.1 里。
- README 中英:扩展点由四个改为五个,补上 `registerTabAction`(此前只列了
`registerFileAction`)。
- `tabActions` 的版本标注由 `v0.32.0` 统一为 `v0.31.0`:两个能力在同一个 PR 合入,
下一个版本同时携带,不该写成两个版本号。
2026-11-08 00:17:14 +08:00
Menghuan1918
c67a8d1aa8
merge #1139 : fix(tasks) read the team roster from subagentCatalog
...
# Conflicts:
# CHANGELOG.md
# CHANGELOG_EN.md
2026-11-08 00:17:14 +08:00
Menghuan1918
6145f758da
merge #976 : fix(active-worktree) invalidate cached roots whose directory is gone
...
# Conflicts:
# CHANGELOG.md
# CHANGELOG_EN.md
# src/active-worktree.ts
# tests/active-worktree.spec.ts
2026-11-08 00:16:42 +08:00
Menghuan1918
dc4dc11730
merge #1030 : fix(editor) open a directory target as the folder window
...
# Conflicts:
# CHANGELOG.md
# CHANGELOG_EN.md
# src/client/EditorHost.tsx
2026-11-08 00:15:31 +08:00
Menghuan1918
8b056f316c
fix(steady-state): declare the agent-opens heartbeat timer in the ledger ( #954 )
2026-11-08 00:14:24 +08:00
Menghuan1918
31449826ae
merge #1146 : fix(data-safety) literal pathspecs, archive operands, save races, task CAS, release dry-run
2026-11-08 00:11:16 +08:00
Menghuan1918
b8988aa389
merge #1117 : fix(floating) clear the desktop shell's native title-bar band
2026-11-08 00:10:32 +08:00
kousaka
1f1f29743c
fix(native): single-page tab chips take their title from the tab registry
...
(cherry picked from commit 5c65dd6bf49969983d83ddc612834c8dbe568b4c)
2026-11-08 00:10:06 +08:00
Menghuan1918
f65ac689fc
merge #954 : fix(sidebar) agent-opens heartbeat and never-give-up reconnect
2026-11-08 00:09:36 +08:00
Menghuan1918
7c395231b8
merge #1129 : fix(editor) selection popup uses host floating-button tokens
2026-11-08 00:09:10 +08:00
Menghuan1918
67c1f860bf
merge #1132 : fix(sidebar) merge quote records from other pages of the same origin
2026-11-08 00:08:07 +08:00
Menghuan1918
076fd17ef3
merge #1131 : fix(editor) restored drafts keep their mtime baseline
2026-11-08 00:07:45 +08:00
Menghuan1918
315193ad1f
merge #1154 : fix(markdown) restores nested code-region masks
2026-11-08 00:07:19 +08:00
majt415
01146717c0
feat(editor-header): 编辑器头部支持外部插件注册动作(registerTabAction,feature 'tabActions')
...
宿主的 sidebar.right.tab.document.actions 插槽属于宿主自己的文档预览面;
本插件接管 dsh-resource://file/** 之后文件不再进宿主预览,该插槽无人渲染,
「上传到云端」「存到云盘」「在 App 中打开」这类按钮整体消失。
新增 registerTabAction/getTabActions:按钮渲染在刷新与文件树开关右侧,
回调拿到 tabId/tabType/sessionId/path/isDir/title 与 fail 出口,失败落错误条,
同一 (id, tabId) 飞行中重复点击忽略,when 抛错只隐藏自身。
2026-11-08 00:07:03 +08:00
lu.wang7
bff5beb689
feat(file-tree): 行菜单支持外部插件注册动作(registerFileAction,feature 'fileActions')
...
文件树的行菜单此前完全由插件自己组装(打开方式 / 下载 / 上传到此目录 /
复制 / 重命名 / 删除),外部插件没有任何位置能加一项——「把这个文件传到
我的云端」这类入口只能另开界面,而它需要的恰恰是这个文件。
新增第四个注册表 `registerFileAction(descriptor)`(能力 'fileActions'):
- 菜单项排在内置打开/下载行之后、复制/重命名之前,多条外部动作之间不加
分隔线,第一个之前有一条;排序 order 升序、同 order 按注册序;
- `row: true` 在行右侧「引用」按钮旁再加一个悬停按钮(要求同时给 icon,
无图标的注册只进菜单);
- 回调拿到行的绝对路径 + 这棵树的 root 与会话;目录默认不认领(`dirs`);
- `when` 每行渲染与每次开菜单各调一次,抛错只隐藏该注册,不打断文件树;
- `run` 抛错/reject 以 error.message 落进既有错误条,resolve 静默(成功
提示由注册方自己给),同一 (id, path) 在飞行中的重复点击被忽略;
- 树只提供入口:不替注册方上传、复制或移动任何东西。
文档:指南新增 §7.3(类型、用例、渲染位置、两条约定),§1/§7 能力清单与
README 扩展点计数同步;CHANGELOG 中英各一条。
测试:新增 tests/file-actions.spec.tsx(12 例,注册表 5 + 文件树 7);
tests/file-tree-row-memo / file-tree-menu-perf 的最小 service stub 补
getFileActions(它们的计数器仍是重渲染探针)。
2026-11-08 00:07:03 +08:00
Menghuan1918
137a48d25f
merge #1152 : fix(sidechat) install model-selection notice in every thread setup
2026-11-08 00:06:57 +08:00
Menghuan1918
edc77eb1f2
merge #1149 : fix(tasks) re-read agentTeams/agents per request
2026-11-08 00:06:16 +08:00
Menghuan1918
bd6363021d
docs: 重构 AGENTS.md,把发版手册 / 开发规范 / 版本适配拆成独立文档
...
- docs/release.md: 完整发版流程、版本号同步清单、Release note 模板与写作规则
- docs/development.md: 开发红线细则(构建纯度 / chunk / i18n / 皮肤 / 图标 / 稳态 / 测试矩阵 / 跨平台)
- docs/dsh-version-adaptation.md: 基线、支持线矩阵、抬基线清单、0.2.1→0.2.2 差异
- AGENTS.md: 收缩为每次都要遵守的规则 + 索引,删掉过期的 0.2.x 历史与冗长叙述
- 修正 AGENTS §3/§3.10 的失效交叉引用(host-contracts / 指南 / 一个 spec 注释)
2026-11-07 22:17:22 +08:00
ymac
63097c8b79
fix(markdown): 代码区掩码可嵌套,restore 必须跑到稳定
...
markdown-code.ts 先用 NUL 占位替换围栏块,再在掩码后的文本上扫行内代码段;
一个行内段可以把围栏占位符包进自己的替换文本里,而 restore 只做一趟
String#replace —— 内层占位符原样留在输出里。NUL 一路穿过
rewriteLocalImageUrls / rewriteLocalMarkdownLinks 进 MarkdownText,被 markdown
解析器当成 U+FFFD,于是整段代码块渲染成 `�21�` 这样的字面段落(实测一份
中文契约文档:§2.3 的三段键清单只剩 `�17�` `�16�` `�15�`,整篇 22 个代码块
只剩 1 个)。
两处修:
- restore 循环到不再变化(嵌套深度 ≤ 掩码数),往返恢复字节级不变;
- 行内代码段不再跨空行配对(CommonMark 的行内段不能跨段落)。此前一个
落单反引号会与半篇之后的反引号配对,把中间整段内容一起掩掉,图片/链接
重写也会漏掉那一片。
tests/markdown-code.spec.ts 钉住往返与两个判别性用例(回退任一处即红),
并在 0.28.1 基线上跑通 markdown 相关 12 个套件(141 例)与 tsc。
2026-11-07 22:06:01 +08:00
PerryLink
fe291fa0af
fix(sidechat): 在 setup 里装回 installModelSelection,切模型后新模型收到 [model changed]
...
0.2.2 把路由挪到 AgentModel 后,0.30.0 适配把 installModelSelection 一并删了;但该函数仍注册 agent/pre-step 监听来追加 [model changed] 提示,宿主 composeAgent 在两条分支都先装它、再 presets.mount。恢复为共享 threadSetup:5 个 setup 分支先 install 再 mount,并补 create / cold-resume 的监听回归测试。
2026-11-07 20:56:17 +08:00
PerryLink
e70b4e516d
fix(tasks): 每请求重读 agentTeams/agents,晚挂载的实验层不再永久 503
...
buildTeamsApi() 把两个可选服务取成构建期快照;agent-teams 是本插件之后才可能挂载的实验层,快照到 undefined 后 membershipOf() 永远返回 503。改为在 membershipOf() 内逐请求 ctx.get()(与 subagent-live-route 的可选运行时同模式),并补一条晚挂载的回归测试。
2026-11-07 12:53:29 +08:00
unsc9
30b18ae20d
refactor: 注释去重,测试的假时钟还原移入 afterEach
2026-11-06 17:58:38 +08:00
unsc9
13ac6006fa
fix(search): 禁用引擎冷却后重试,不再整个会话禁用
2026-11-06 17:52:39 +08:00
unsc9
29f1d14a5b
fix(tasks): 编辑草稿与版本基准同源,冲突后等投影推进再重新基准
2026-11-06 17:52:39 +08:00
unsc9
d1f1254e48
docs: 同一理由只写一遍(注释去重)
2026-11-06 14:51:39 +08:00
unsc9
d86aab4bc0
test(archive): 合并重复的 argv 断言,去掉冗余用例
2026-11-06 14:51:39 +08:00
unsc9
bcdf1f1e06
perf(editor): 保存复用文档引用,省一次整篇字符串化
2026-11-06 14:51:38 +08:00
unsc9
5913c0ca07
refactor(git): status() 复用 literalPathspec()
2026-11-06 14:51:38 +08:00
unsc9
1130b26db5
ci(release): 发布改为精确 opt-in,空输入一律 dry-run
2026-11-06 14:22:10 +08:00
unsc9
02e7026f5c
fix(search): 超时打断失败链、成功恢复被禁引擎
2026-11-06 14:22:10 +08:00
unsc9
1ff3cde0a3
fix(editor): 保存回调加过期守卫,防跨文件串状态与基线
2026-11-06 14:22:10 +08:00
unsc9
2b22c05f7e
fix(tasks): 冲突后重新基准 revision 并保留草稿,消除死循环
2026-11-06 14:22:10 +08:00