Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
2694195
fix: 修复同窗格唯一标签拖回后丢失
wang-kaopu Oct 11, 2026
8e4abe1
fix(upload): 并发同名上传的 rename 争用 —— 有界重试 + 测试门闩
Max-Null Oct 15, 2026
0bc32a9
fix: serve HTML preview assets with browser-compatible MIME types
Azathoth125 Oct 16, 2026
c0e6851
fix(menu): close the reduced-motion media query that swallowed the su…
m4ku1337 Oct 16, 2026
88831b0
fix(search): handle synchronous engine probe spawn failures
lq-kiren Oct 22, 2026
9a11166
feat(sidechat): expose opt-in transcript surfaces for GenUI
sunxiuguo Oct 22, 2026
34fbad8
fix(sidechat): preserve child history across session restore
sunxiuguo Oct 22, 2026
e88456a
fix(markdown): 修复行内链接尖括号目标被追加问号
Nyarlathoteppppp Oct 27, 2026
fc717fb
merge origin/main into genui-sidechat-surface: keep main's row-level …
taekchef Oct 27, 2026
d953b7c
Merge current dev into maintainer sidechat surface assist candidate
sunxiuguo Oct 27, 2026
c03adfa
fix: keep a session cwd that is a subdirectory of the repository
hy5424 Oct 27, 2026
cff738b
fix(sidechat): render and open local source file links
CCColastic Oct 28, 2026
60c3fff
merge: integrate Sidebar provider PR #1033 with current dev
taekchef Oct 28, 2026
a7e3963
merge: retain published main metadata for sidechat release
taekchef Oct 28, 2026
cd1251b
feat: prepare Sidebar 0.29.0 GenUI provider release
taekchef Oct 28, 2026
5831053
feat: add GenUI sidechat provider and prepare 0.29.0 (#1075)
taekchef Oct 28, 2026
0659016
fix(paths): keep the UNC prefix when folding separators
yanzoro926 Oct 28, 2026
fe06211
fix(mermaid): isolate diagram layout in a sandboxed iframe
ponyololo Oct 23, 2026
aa198d7
perf(mermaid): keep scrolling and hidden tabs off the render queue
ponyololo Oct 23, 2026
7c1e671
fix(mermaid): show the mermaid error itself when a diagram fails
ponyololo Oct 23, 2026
d7925a8
fix(mermaid): separate diagram errors from frame failures and validat…
ponyololo Oct 26, 2026
d19a2db
docs(mermaid): keep the unreleased entries above v0.28.1 and record t…
ponyololo Oct 26, 2026
00553e2
fix: confirm before in-place file switch drops an unsaved draft
UNscientific-9 Oct 28, 2026
5981c7f
refactor: share the editor's draft-discard confirm fallback
UNscientific-9 Oct 28, 2026
9f92bff
test: widen the Windows temp-tree cleanup retry budget
UNscientific-9 Oct 28, 2026
50ecb43
fix(editor): use switch-specific copy for the draft guard
UNscientific-9 Oct 29, 2026
ae71cd0
test(editor): cover the three no-prompt switch branches
UNscientific-9 Oct 29, 2026
173e010
fix(i18n): align the switch-file confirm with each language's sibling…
UNscientific-9 Oct 29, 2026
10ccebb
test: let detached archive packs land before cleanup
UNscientific-9 Oct 29, 2026
3d44985
chore: retrigger CI after an unrelated plugin-mount e2e flake
UNscientific-9 Oct 29, 2026
6caec31
test: give the aggregate-auth shell probe a Windows-sized timeout
UNscientific-9 Oct 29, 2026
66337ff
merge PR #1040 mermaid sandbox iframe (review)
Menghuan1918 Oct 29, 2026
479582d
review: merge PR #1083 (in-place switch draft guard)
Menghuan1918 Oct 29, 2026
6f74c7e
merge: PR #974 close the reduced-motion media query (#955)
Menghuan1918 Oct 29, 2026
a2a0dee
Merge branch 'pr-972' into review/html-preview-mime
Menghuan1918 Oct 29, 2026
5834120
merge: PR #1067 (angle-delimited inline link destinations, #1015)
Menghuan1918 Oct 29, 2026
92b6ddc
merge: PR #922 — keep same-pane tab when dragging its only tab back
Menghuan1918 Oct 29, 2026
fbc7e4c
merge: PR #1032 — fix TDZ crash when probe spawn throws synchronously
Menghuan1918 Oct 29, 2026
27e9417
merge: PR #966 — bounded retry for concurrent same-name upload rename…
Menghuan1918 Oct 29, 2026
e790701
fix(git): publish submenu flip tokens for More Actions (#988)
Menghuan1918 Oct 29, 2026
f1d52c9
merge: PR #1074 (Side Chat local source links)
Menghuan1918 Oct 29, 2026
068b955
docs(readme): sync the HTML-preview MIME bullet into README_ZH
Menghuan1918 Oct 29, 2026
e290059
test(markdown): pin angle-delimited destination semantics with spaces
Menghuan1918 Oct 29, 2026
fcf7893
docs(changelog): record #1067 and #1074
Menghuan1918 Oct 29, 2026
56560e2
test(active-worktree): pin a subdirectory session cwd as the root (#1…
Menghuan1918 Oct 29, 2026
845837f
merge: keep a subdirectory session cwd (#1070)
Menghuan1918 Oct 29, 2026
6d9e02c
fix(active-worktree): keep the session cwd's own path as the root
Menghuan1918 Oct 29, 2026
e17ab5c
merge: keep the UNC prefix when folding separators (#1079)
Menghuan1918 Oct 29, 2026
5ad49ad
docs(changelog): record the subdirectory session-root fix
Menghuan1918 Oct 29, 2026
dcc2375
merge review/small-fixes: #922 split-pane tab, #1032 search probe TDZ…
Menghuan1918 Oct 29, 2026
51f8ceb
merge review/menu-submenu: #974 close the reduced-motion media query,…
Menghuan1918 Oct 29, 2026
b1c3357
merge review/html-preview-mime: #972 serve preview assets with real M…
Menghuan1918 Oct 29, 2026
2e69114
merge review/1083-editor-draft: #1083 confirm before an in-place file…
Menghuan1918 Oct 29, 2026
88c86ab
merge review/markdown-links: #1067 angle-bracket link destinations, #…
Menghuan1918 Oct 29, 2026
ac8fcd5
merge review/path-roots: #1079 UNC prefix, #1070 subdirectory session…
Menghuan1918 Oct 29, 2026
04c6cb8
merge review/mermaid-frame: #1040 sandbox-iframe mermaid layout isola…
Menghuan1918 Oct 29, 2026
eb7edb0
fix(panel-host): 宿主高度改用 100dvh 回退 100vh,修掉手机端整页可拖动(#1014)
Menghuan1918 Oct 29, 2026
dcd5cf6
merge fix/1014-panel-host-dvh: use 100dvh for the panel host (#1014)
Menghuan1918 Oct 29, 2026
15b51ca
fix(settings): stop inventorying programmatic-only tab types (#1009)
Menghuan1918 Oct 29, 2026
af0e7b7
fix(host): keep sidebar_open registered when the settings row is unre…
Menghuan1918 Oct 29, 2026
d7483f6
fix(sidechat): disable archiving a side thread the host can never rec…
Menghuan1918 Oct 29, 2026
d77adf2
merge fix/1009-card-toggles: hidden tab types are not settings cards …
Menghuan1918 Oct 29, 2026
7bff1a1
merge fix/949-951: block archiving side threads (#949), keep sidebar_…
Menghuan1918 Oct 29, 2026
2257a60
docs(changelog): file the #949/#951/#1009/#1014 fixes under 未发布
Menghuan1918 Oct 29, 2026
2c48ff4
test(e2e): match the visible preview copy, not the hidden editor's (m…
Menghuan1918 Oct 29, 2026
edde9de
docs: record the 2026-10-30 UX PR batch (verdicts, gates, residuals)
Menghuan1918 Oct 29, 2026
f1323d6
chore(e2e): launch dsh web with --no-open and add the opt-in page/API…
Menghuan1918 Oct 29, 2026
5f8b315
merge chore/perf-audit: --no-open for the mount lane + page/API perf …
Menghuan1918 Oct 29, 2026
e9003fc
docs(perf): list the audit gaps (settings UI, live tasks, desktop she…
Menghuan1918 Oct 29, 2026
0e64385
test(e2e): correct the audit seed comment (the tree cap is 1,000 rows)
Menghuan1918 Oct 29, 2026
bd6cfa5
test(e2e): measure the folder-archive flow in the perf audit
Menghuan1918 Oct 29, 2026
a3d0e30
fix(changelog): restore the release history the mermaid merge truncated
UNscientific-9 Oct 30, 2026
06c384e
test(changelog): guard both changelogs against silent truncation
UNscientific-9 Oct 30, 2026
23a2b61
feat(sidechat): accept pasted and selected image prompts
CCColastic Nov 2, 2026
dcafe7d
fix(sidechat): restore thread bindings after page reload
CCColastic Nov 2, 2026
ba72fc4
fix(sidechat): defer image reads until message projection
CCColastic Nov 2, 2026
00bb16a
fix(sidechat): guard model changes before image enqueue
CCColastic Nov 2, 2026
c15a8c4
fix(sidechat): use the host paperclip for image attachments
CCColastic Nov 2, 2026
9601182
test(sidechat): verify image input through a real host
CCColastic Nov 2, 2026
3ce803c
fix(changes): 修复 Changes 视角切换按钮样式
wang-kaopu Nov 2, 2026
b9ae002
fix(terminal): stop the bottom workbench terminal from painting black
WinterXMQ Nov 3, 2026
d3b887f
fix: account for CSS page zoom in panel host geometry checks
HootRock Nov 3, 2026
805a03f
feat(sidebar): 划选「添加到对话」落可点击引用 chip(点击回跳源文件并闪行段)
xiangzz Nov 3, 2026
f49bad2
feat(git): show every child repository in the Git panel with a visibl…
dragonnahs Nov 4, 2026
4b61d68
merge #1104: fix(terminal) 底部工作台终端不再自带黑底(:global 选择器 + 特异性 0,3,0)
Menghuan1918 Nov 4, 2026
f6008bd
merge #1110: fix 页面 CSS zoom 不再被误判为页面级 transform(panel host 几何自检按累积 z…
Menghuan1918 Nov 4, 2026
5178cab
merge #1101: fix(changes) 视角切换改用公开 SegmentedControl,删除对宿主私有 CSS 哈希类名的…
Menghuan1918 Nov 4, 2026
85593d4
merge #1112: feat(git) 容器工作区在 Git 面板顶部显示全部子仓库并可切换(#988 可见性后续)
Menghuan1918 Nov 4, 2026
82921c7
review(merge batch): Windows-only case fold for repo roots; changelog…
Menghuan1918 Nov 4, 2026
7780387
fix(sidechat): gate image prompt admission and classify host failures
Menghuan1918 Nov 4, 2026
68778b3
chore(sidechat): share image constants and drop the dead transcript h…
Menghuan1918 Nov 4, 2026
9c64e43
docs: move the side chat image section under the API chapter
Menghuan1918 Nov 4, 2026
90238e1
fix(client): 引用 chip 二次点击仍跳转闪光,落盘失败回退内置 chip
Menghuan1918 Nov 4, 2026
5de590e
test: 引用 chip 的二次点击、落盘失败与真实注册契约
Menghuan1918 Nov 4, 2026
3009374
docs: 同步 14 条 DSH peer,修正 chip 底部入口与行号漂移说明
Menghuan1918 Nov 4, 2026
45b5382
merge #1099: feat(sidechat) 支持粘贴/选中图片(合入前修正:大 body 才计入准入、宿主附件错误分类、文档与…
Menghuan1918 Nov 4, 2026
89b85a8
merge #1111: feat(sidebar) 划选引用 chip 可点击回跳源文件并闪行段(合入前修正:二次点击 nonce、落盘…
Menghuan1918 Nov 4, 2026
4f6b763
merge #1089: fix(changelog) 恢复被 mermaid 合并截断的发布历史,并加完整性守卫
Menghuan1918 Nov 4, 2026
45b4d42
fix(sidechat): rebase inherited delivery watermarks in the compaction…
Menghuan1918 Nov 4, 2026
4c1d417
fix(install): 装完先查 profile 自带的宿主包是否混版(#1107)
Menghuan1918 Nov 4, 2026
4224c78
fix(editor): 原生页签关闭与桌面退出保留未保存草稿(#1072 / #1071)
Menghuan1918 Nov 4, 2026
cf97688
merge #1107: fix(install) 装完先查 profile 自带的宿主包是否混版(诊断:peer 无法约束 profil…
Menghuan1918 Nov 4, 2026
cafb73b
merge #1109: fix(sidechat) 压缩 seed 里重映射 delivery 水位线,不再产出不可读的子会话日志
Menghuan1918 Nov 4, 2026
91a5d79
merge #1072/#1071: fix(editor) 原生页签关闭与桌面退出保留未保存草稿(宿主无确认钩子,改草稿备份 + 重开恢复)
Menghuan1918 Nov 4, 2026
a1af72a
test(e2e): 引用 chip 的可见标签是本地化文案,按文件名断言而不是冒号分隔(#1111 后续)
Menghuan1918 Nov 4, 2026
09b83cc
docs: 记录 2026-11-04 分诊与合入批次(10 个 PR/分支、18 条 issue 关闭、1 条判为宿主侧)
Menghuan1918 Nov 4, 2026
7a4a152
chore(dsh): 适配 DSH 0.2.2-rc.1(基线/peer/CI/脚本/文档 + AgentModel 与 PTC 类型变化)
Menghuan1918 Nov 4, 2026
78697ca
merge chore/dsh-0.2.2-rc.1: 适配 DSH 0.2.2-rc.1(基线抬到 0.2.2 线,v0.30.0)
Menghuan1918 Nov 4, 2026
7ef1dfa
fix(sidechat): 模型切换不再把 model/selection 记两次(0.2.2 的 AgentModel.select …
Menghuan1918 Nov 4, 2026
b10e3e9
merge fix/022-model-selection-dedupe: AgentModel.select 已是落盘动作,去掉重复 a…
Menghuan1918 Nov 4, 2026
908db10
docs: 记录 0.2.2 模型切换去重的那一笔
Menghuan1918 Nov 4, 2026
fdaa597
chore(release): prepare v0.30.0
Menghuan1918 Nov 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
{
"_comment": "已在 `dev` 修好、但还没随版本发布的 issue:看板 Status 固定 Done(脚本按它覆盖 等待开发/等待审核),因为队列里已经没有剩余开发工作,只剩发版。发版后把这里清空(或删掉已随该版本进 main 的号)。不要用这个文件表达排期——排期看 priority 标签与 promoted.json。",
"done": [915, 983, 992, 1059]
"done": [
877,
915,
949,
951,
955,
959,
983,
988,
992,
995,
1009,
1014,
1015,
1024,
1059,
1080
]
}
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,14 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

# Pin the exact 0.2.1-rc.1 host CLI; never use a dist-tag.
# Pin the exact 0.2.2-rc.1 host CLI; never use a dist-tag.
# Keep peer resolution ON: do not add --legacy-peer-deps; it skips boot peers.
# The lanes speak the slash-only RPC dialect (tests/e2e/host-protocol.ts).
# NODE_OPTIONS below preserves the heap budget needed for prerelease peer resolution.
- name: Install dsh CLI (pinned)
env:
NODE_OPTIONS: --max-old-space-size=4096
run: npm install -g @deepseek-ai/dsh@0.2.1-rc.1
run: npm install -g @deepseek-ai/dsh@0.2.2-rc.1

# lib/ is gitignored; the tarball is produced from this build.
- name: Build and pack the npm tarball
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,6 @@ registry/
playwright-report/
test-results/


# generated by scripts/build-mermaid-frame-asset.mjs
src/client/mermaid-frame-asset.generated.ts
8 changes: 4 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

本地:`pnpm build && pnpm pack && pnpm exec playwright install chromium && pnpm test:mount`。

- **钉版写精确版本号,绝不写 dist-tag**(`alpha` / `latest` / `next` 的指向与候选版经常不一致);默认与 CI 同为 `@deepseek-ai/dsh@0.2.1-rc.1`。
- **钉版写精确版本号,绝不写 dist-tag**(`alpha` / `latest` / `next` 的指向与候选版经常不一致);默认与 CI 同为 `@deepseek-ai/dsh@0.2.2-rc.1`。
- 该步骤需要 `NODE_OPTIONS=--max-old-space-size=4096`(浮动的传递依赖会组出混合 peer 图 → ERESOLVE 后 OOM);**不要加 `--legacy-peer-deps`**(会跳掉 boot 必需的 peer,CLI 直接 `ERR_MODULE_NOT_FOUND`)。
- 本机 npm registry 是 npmmirror、对新预发布滞后:装不到时 `pnpm install --registry https://registry.npmjs.org`。
- Windows lane 跑 `pnpm test:windows`(`--maxWorkers=1`),`vitest.config.ts` 的 `testTimeout: 30_000` 与它配套。e2e spec 命名 `*.e2e.ts` + vitest `exclude` 双保险;**改 `exclude` 必须保留默认排除项**。
Expand All @@ -40,14 +40,14 @@

## 3. DSH 版本适配

- **当前基线 DSH 0.2.1-rc.1(v0.28.0 正式版起)**。13 条 `@deepseek-ai/dsh-*` peer 下限均为 `^0.2.1-rc.1` 浮动 caret 范围、**绝不钉精确版本**(只有 devDependencies 精确钉);本包不声明 `package.json#engines.dsh`,因此走 peer 兼容性检查;宿主对声明了该字段的包优先且仅按它判定,不读 peer。`dsh.plugin.json#engines.dsh` 不参与这一规则。`tests/market-manifest.spec.ts` 钉住这条形状。
- **当前基线 DSH 0.2.2-rc.1(v0.30.0 起)**。**v0.30.0 起 14 条** `@deepseek-ai/dsh-*` peer(新增 `dsh-client-ui-input-trigger`,划选引用 chip 用它的 `ctx.inputTriggers`)下限均为 `^0.2.2-rc.1` 浮动 caret 范围、**绝不钉精确版本**(只有 devDependencies 精确钉);本包不声明 `package.json#engines.dsh`,因此走 peer 兼容性检查;宿主对声明了该字段的包优先且仅按它判定,不读 peer。`dsh.plugin.json#engines.dsh` 不参与这一规则。`tests/market-manifest.spec.ts` 钉住这条形状。
- **0.x caret 不跨 minor,但可跨 patch**:`^0.1.7-rc.1` 对 `0.2.0-rc.1` 判定为 false → 整行 `disabled`、插件静默不加载。**抬基线必须同批抬 peer 下限。**
- 支持线(用户侧):DSH **0.2.1-rc.1+** 使用插件 **v0.28.2**;0.2.1-alpha.5 用户固定 **v0.28.0-alpha.0**;0.2.0-rc.2 用户固定 **v0.26.1**(v0.27.0 尚未发布);0.2.0-rc.1 用户固定 v0.24.1;0.1.7 线的最后支持版是 **v0.22.1**(v0.23.0 从未发布到 npm)。按本仓库先例**不写运行时兼容层**。
- 支持线(用户侧):DSH **0.2.2-rc.1+** 使用插件 **v0.30.0**;DSH **0.2.1-rc.1+(含 npm `latest` 0.2.1-rc.5)** 固定 **v0.28.2**——v0.29.0 从未发布到 npm,0.2.1 线不要再抬;0.2.1-alpha.5 用户固定 **v0.28.0-alpha.0**;0.2.0-rc.2 用户固定 **v0.26.1**(v0.27.0 尚未发布);0.2.0-rc.1 用户固定 v0.24.1;0.1.7 线的最后支持版是 **v0.22.1**(v0.23.0 从未发布到 npm)。按本仓库先例**不写运行时兼容层**。
- **抬基线动作清单**:① `pnpm peers check`,把失配的传递 peer 提升进 devDependencies;② 扫宿主包产物的**裸 import 差集**(`pnpm peers check` 看不到这类失败,0.1.7 线是 `zustand` / `immer`);③ 对消费的宿主包做类型面 diff(重点 `ui-primitives` / `dsh-session` / `sidebar-right`),确认导出只增不减;④ 复查会话格式版本、`SUBAGENT_DESCRIPTOR_VERSION`、web profile 的 inject 列表;⑤ 同批同步 CI 钉版、`scripts/e2e-common.sh`、**`scripts/install.sh` / `scripts/install.ps1`(随包发布、会直接给用户 npx 命令)** 与 README / 指南的版本行。
- **用户 profile 自己的 `overrides: '@deepseek-ai/dsh-*'` 要同批抬**,否则旧包遮蔽 bundle → 预检禁用 `config-editor` → `settings` 行永久 `pending`;先看宿主日志的 `disabling profile plugin row` 与 `pending (waiting for service: …)`。
- **沿用 alpha.5 的删除契约**:不再依赖 `@deepseek-ai/dsh-invariants`、`ctx.invariants` 或上游 `/invariant` 子路径,也不发布本插件的 invariant companion;HTTP/WS 准入统一调用 `ctx.connection.requestRejection(req)`,仅 `undefined` 放行,不恢复 `webRuntime` / 自建信任例外。
- **v0.28.0 正式版接管 npm `latest`**:宿主 npm `latest` 此时仍指向 `0.2.0-rc.2`,不满足本插件 RC 基线;用户已明确接受这一分离,所有安装文档必须显著提醒旧宿主固定 `v0.26.1`,不要用浮动 `latest`。发布 workflow 沿用现有版本号规则,无需改动。
- **本次 RC 适配不改功能实现**:alpha.5 → rc.1 上游完整树差异共 355 项,全部为 `package.json`,源码零变化;同步版本、peer、伴随依赖与文档,重新获取 RC 验证证据,不沿用 alpha 测试数字。
- **本次 0.2.1 → 0.2.2 适配有真实代码改动**(不是纯版本同步):`dsh-agent` 用 agent 自有的 `AgentModel`(`agent.model`,`select()` 同时落盘并作用于下一步)替换了可安装的 `ModelSelectionRef` + `installModelSelection(ctx, ref)`,sidechat 的模型选择随之改写;`dsh-tools` 移除了 PTC(`tool/ptc-dispatch*`)的事件**类型声明**(运行期仍记录,`known-event-types` 仍在),只有测试要按擦除形状追加;图标从内联 `<path>` 变成 sprite `<use href="#dsw-icon-…">`,按图元的断言要跟着改。逐项证据见 [0.2.2 适配记录](docs/plans/2026-11-04-dsh-0.2.2-rc.1-adaptation.md)。
- 动设置面 / sidechat / 原生 tab 之前,先读 [docs/host-contracts.md](docs/host-contracts.md)(原 §3.4 的 1–13 条按原编号都在那里)。

---
Expand Down
Loading
Loading