Commit Graph
285 Commits
Author SHA1 Message Date
workbuddy-mac13 20d8b9056a feat(apesi): 以上游 v0.34.0-alpha.1 为基线重建定制侧边栏
CI / ci (push) Waiting to run
CI / ci-windows (push) Waiting to run
CI / plugin-mount (push) Waiting to run
基线:upstream omdsh-dev/DSH-better-sidebar @ 96d6ef4(main,npm 0.34.0-alpha.1,MIT)
宿主:DSH 0.2.3-alpha.2 / cordis 4.2.0-alpha.1(Desktop Beta 2.0.24-beta.2 实测)

改动(改名 + 身份对齐,不改架构):
- package.json:name → dsh-apes-sidebar,version 2.0.0,peer 升 ^0.2.3-alpha.2,cordis 钉 ^4.2.0-alpha.1
- dsh.plugin.json:id → dsh-external/dsh-apes-sidebar,engines.dsh >=0.2.3-alpha.2 <0.3.0
- cordis.patch.yml:挂载行 id better-sidebar → apes-sidebar
- tsdown.config.ts:客户端 factory id → dsh-apes-sidebar / dsh-external/dsh-apes-sidebar
- src/index.ts:SIDEBAR_PACKAGE_NAME → dsh-apes-sidebar(loader 行自查找)
- settings 命名空间保留 dsh-better-sidebar(用户既有偏好不丢)

文档:README.md(我们自己的)、NOTICE.md(上游 MIT 出处)、docs/apesi/(规则 + 第一代材料 + 重建记录)

实测:boot 18–29s,include:apes-sidebar ready,无重复 factory 注册 / 无 loader 行告警 / 无 React #130
2026-11-28 19:08:52 +08:00
Atlas Zeng 96d6ef4442 Merge pull request #1285 from omdsh-dev/dev
release: v0.34.0-alpha.1(侧边对话关闭 Tab 后无法继续对话的修复)
2026-11-27 21:44:55 +08:00
Menghuan1918 fa8f2445c6 chore(release): prepare v0.34.0-alpha.1
- 版本号三处同步到 0.34.0-alpha.1:package.json、dsh.plugin.json、SIDEBAR_SERVICE_VERSION
- CHANGELOG 中英:「未发布 / Unreleased」改为 v0.34.0-alpha.1(侧边对话归档线程修复,含 #1265)
- README 双语:安装命令、一键脚本、版本对照表、兼容性警告与常见问题同步;「最近更新」新增本版,保留最近三条
- docs/external-plugin-guide.md:当前版本行同步
2026-11-27 21:24:54 +08:00
Atlas Zeng 922ad237e0 Merge pull request #1279 from omdsh-dev/Menghuan1918-patch-5
Change WeChat group QR code image link
2026-11-27 00:21:32 +08:00
Menghuan1918 7b88125279 chore(release): prepare v0.34.0-alpha.0
- CHANGELOG:未发布 → v0.34.0-alpha.0,补 Git 页可拖动分区、界面组件收敛、文件树右键修复三条
- CHANGELOG_EN:同步英文段
- README / README_ZH:安装脚本版本改为 0.34.0-alpha.0,最近更新加入本版并保留最近三条
- docs/external-plugin-guide:当前版本行与版本对照提醒抬到 0.2.3-alpha.2 线
- docs/dsh-version-adaptation:支持线表去掉「进行中」
2026-11-26 13:42:11 +08:00
Menghuan1918 795beabe22 chore(dsh): adapt to DSH 0.2.3-alpha.2 and drop pre-0.2.3 compatibility
Raise the whole baseline to the alpha line and stop carrying code that only
exists for older hosts (no runtime compatibility layer, per AGENTS §4):

- peers/engines: 14 DSH peers and engines.dsh -> 0.2.3-alpha.2, Cordis ->
  4.2.0-alpha.1, group/include 1.2.0-alpha.1, schemastery 3.20.0-alpha.1;
  dev pins and CI/e2e/install scripts move with them; plugin version
  0.34.0-alpha.0.
- admission: DSH 0.2.3 deleted `requestRejection`, so only the injected
  `connection.authentication` provider can call `admit`; the legacy branch
  and the direct-admit fallback are gone and the fence fails loudly.
- directory events: the projection authority is `workspace-root/change`;
  the side-chat cwd stamp emits it and the worktree scan no longer reads
  the retired `working-directory/change`.
- llm types: `@deepseek-ai/dsh-llm` no longer exports `./brand`, so
  MessageId comes from `./types`.
- client anchors: only `[data-slot="main.conversation"]`; the alpha.1
  `conversation` key is retired. `webServer.getOrigin` is called directly.

Gates: peers check, typecheck, lint, test (366 files / 4615 passed),
build, check:consumer-types.
2026-11-25 01:03:57 +08:00
Menghuan1918 99ecc6dee7 feat(navigation): clarify Clues labels and reorder default guide 2026-11-24 16:43:27 +08:00
hairyf 3e3d3196d5 chore(release): prepare v0.33.0
- bump package.json, dsh.plugin.json and SIDEBAR_SERVICE_VERSION to 0.33.0
- move both changelogs out of Unreleased and add the four merged UI fixes
  (#1011, #1233, #945, #948) plus the recommended-catalog batch
- update README install commands, compatibility table, DSH badge and Recent Updates
- point the external plugin guide and the adaptation doc at v0.33.0 and the rc.3 floor
2026-11-24 11:53:51 +08:00
SwinT f1a7669855 docs(catalog): 收录 dsh-copy-document(整篇文档复制伴生插件) 2026-11-18 16:12:31 +08:00
gyixuan 4dd31d5a40 docs: 更新 Sidenote 推荐文案与独立安装命令
从侧聊追问、聊天批注、文档摘录和问答回流的使用场景介绍插件,同步全部推荐词典与中英文档,移除过时的前置安装步骤。
2026-11-18 16:10:29 +08:00
Menghuan1918 5575ee29b9 docs: record the contributor batch, rc3 evidence and release dependency slim-down (#1115 #1130 #882 #1191) 2026-11-16 00:49:08 +08:00
kelvinwww 47bcd230d0 fix: 支持点击聊天中的绝对 Markdown 路径 2026-11-16 00:32:56 +08:00
Atlas Zeng 4588593160 Update README.md 2026-11-13 00:40:54 +08:00
Menghuan1918 e321771e02 chore(release): prepare v0.32.1 2026-11-12 21:29:42 +08:00
Menghuan1918 e6f1af2f82 chore(dsh): 适配 DSH 0.2.2-rc.2 并补齐插件页图文详情(v0.32.1) 2026-11-12 21:20:46 +08:00
Menghuan1918 363f740be8 chore(release): prepare v0.32.0
- bump package.json, dsh.plugin.json and SIDEBAR_SERVICE_VERSION to 0.32.0
- move the changelog out of Unreleased
- update README install commands, compatibility table and Recent Updates
- point the DSH plugin description at Settings → Side card and keep the SVG icon wiring
- refresh the external plugin guide version line
2026-11-12 14:59:16 +08:00
Menghuan1918 9c3c01cf8e feat(markdown): render file:// image URLs through the media routes
Markdown-syntax and raw-HTML file: destinations are converted to an absolute local path before rendering or sanitization, then served by the same session media route as relative images. POSIX, Windows drive, localhost, UNC and percent-encoded URLs are covered; the file: scheme is never handed to the renderer or DOMPurify. Also prepares v0.31.1.
2026-11-11 21:58:56 +08:00
Menghuan1918 ce54c074ac chore(release): prepare v0.31.0
Version 0.31.0 across package.json, dsh.plugin.json and SIDEBAR_SERVICE_VERSION; move both changelogs to v0.31.0; refresh README install commands and the three recent-release blocks; update the external plugin guide's current version.
2026-11-11 21:33:20 +08:00
Menghuan1918 37db37f57e docs: list contributors and prefer rebase/ff integration 2026-11-09 11:57:01 +08:00
Menghuan1918 d6e43a007e docs: sync built-in viewer and tab-action test counts 2026-11-08 12:34:06 +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
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 0b6293f051 release: merge dev for v0.30.1 (settings nav icon via the shell's icon slot) 2026-11-05 11:00:34 +08:00
Menghuan1918 050ae69d40 chore(release): prepare v0.30.1
- package.json / dsh.plugin.json / SIDEBAR_SERVICE_VERSION -> 0.30.1
- CHANGELOG: 未发布 -> v0.30.1 (bilingual)
- README / README_ZH: install commands target 0.30.1; Recent Updates trimmed to
  v0.30.1 / v0.30.0 / v0.29.0
- external-plugin-guide: current version v0.30.1
2026-11-05 11:00:34 +08:00
Menghuan1918 9285c06e00 release: merge dev for v0.30.0 (DSH 0.2.2 support, side-chat images, clickable quote chips, editor draft backup) 2026-11-04 22:52:19 +08:00
Menghuan1918 fdaa597121 chore(release): prepare v0.30.0
- package.json / dsh.plugin.json / SIDEBAR_SERVICE_VERSION already at 0.30.0
- CHANGELOG: 未发布 → v0.30.0 (25 entries, bilingual)
- README / README_ZH: install commands target 0.30.0; Recent Updates trimmed to
  v0.30.0 / v0.29.0 / v0.28.2
- AGENTS + external-plugin-guide: baseline DSH 0.2.2-rc.1, current version v0.30.0
- plan record: docs/plans/2026-11-04-dsh-0.2.2-rc.1-adaptation.md
2026-11-04 22:51:32 +08:00
Menghuan1918 7a4a15292e chore(dsh): 适配 DSH 0.2.2-rc.1(基线/peer/CI/脚本/文档 + AgentModel 与 PTC 类型变化) 2026-11-04 22:13:07 +08:00
Menghuan1918 4c1d4177d9 fix(install): 装完先查 profile 自带的宿主包是否混版(#1107)
profile 自带的 @deepseek-ai/dsh-* 会覆盖宿主安装的同一批包(DSH 的 profile
解析先取 profile 前缀内的副本),本插件静态 import 的 dsh-subagent 因此绑到
混搭版本;混版缺导出时宿主只报 DesktopHostFatalError / required plugins did
not activate,看不到是哪个包缺了什么。

新增随包发布的 scripts/check-profile-host-tree.mjs:按 DSH 的 profile 解析
规则(只看 profile 前缀内的副本、上级 profiles/node_modules 不参与)判定
dsh-subagent 精确声明的 dsh-attachment peer。install.sh / install.ps1 装完
运行它,混版时打印两份版本号与修复命令并退出,不再提示重启。README 常见
问题、docs/host-contracts.md 与中英 CHANGELOG 同批记录;新增
tests/install-host-tree.spec.ts 真跑发布脚本钉住行为。
2026-11-04 21:03:54 +08:00
xiangzz 805a03f91f feat(sidebar): 划选「添加到对话」落可点击引用 chip(点击回跳源文件并闪行段)
- 移植到 dev 基线(#1052 / #1002 之上):只加「可点击 + 行段落地」,不重做 chip 本体
- 自有 input-trigger source `betterSidebarQuote`:`openReference` 校验会话后回跳,
  `codec.serialize` 在发送时还原成与升级前字节一致的 `路径:起止` + 围栏正文
- 行段末行走模块级一次性旁路 `src/client/line-target.ts`(key = path + line,cap 32),
  不写进宿主导航参数(宿主 `SidebarRightResourceParamsMap.file` 只声明了 `line`)
- 引用记录存 `localStorage`(`dsh-better-sidebar:quote-refs`,FIFO 200):模块同时进
  core bundle 与 lazy editor chunk,两个实例只能靠它互见;插入失败即回滚记录
- 行段闪光用 CodeMirror 行装饰 + 皮肤令牌 `--dsw-alias-interactive-bg-hover-accent`
- 三级降级:自有 chip → #1052 内置 chip → 纯文本,永不比升级前更差
- 新增 peer `@deepseek-ai/dsh-client-ui-input-trigger` `^0.2.1-rc.1`(DSH peer 增至 14 条)
- 文档:指南新增 §7.2,并补 `openFile` options / `FileViewerProps.lineEnd` / peer 说明;
  AGENTS §3、CHANGELOG 双语、README 双语、`docs/plans/2026-11-03-selection-quote-chip.md`
- 测试:`selection-quote` 23、`quote-flash` 13、`line-target` 7,`conversation-draft` +2
2026-11-04 01:47:15 +08:00
Atlas Zeng 2da93f6841 Update README.md 2026-10-30 16:26:07 +08:00
Menghuan1918 a2a0dee305 Merge branch 'pr-972' into review/html-preview-mime 2026-10-29 23:27:19 +08:00
taekchef cd1251be2d feat: prepare Sidebar 0.29.0 GenUI provider release 2026-10-28 14:48:08 +08:00
taekchef 60c3fff158 merge: integrate Sidebar provider PR #1033 with current dev 2026-10-28 14:40:13 +08:00
Menghuan1918 b0e0fab50e release: merge dev for v0.28.2 (cold-cwd read fix) 2026-10-27 23:08:25 +08:00
Menghuan1918 e3d32cde42 chore(release): prepare v0.28.2
- bump package.json / dsh.plugin.json / SIDEBAR_SERVICE_VERSION to 0.28.2
- CHANGELOG: v0.28.2 (cold cwd from the stored workspace header) with the
  measured numbers; CHANGELOG_EN mirrors it
- README / README_ZH: install commands and installer args target 0.28.2;
  Recent Updates trimmed to v0.28.2 / v0.28.1 / v0.28.0
- AGENTS + external-plugin-guide: current stable version is v0.28.2
- plan record: 40,157,518-byte session benchmark (1 header read, 0 full
  reads, 3 ms, +0.3 MB RSS; pre-fix 6 calls = 6 full reads, +1.0 GB peak)
2026-10-27 22:58:01 +08:00
Atlas Zeng 8ae97dec5b Update README.md 2026-10-26 20:19:26 +08:00
Menghuan1918 7ecf6a14af perf(host): share one cold cwd read across concurrent /sidebar requests
cwdOf() resolves the session cwd for all twelve /sidebar routes. On a
detached session every call runs one host observation — the whole log read
plus decode — and the host's cold cache only helps AFTER a read completes,
so a session-switch burst decoded the same multi-MB log N times in parallel
(0.28.0: 39 MB × 44 requests ≈ 1.7 GB, OOM). Concurrent asks for the same
session + client cwd hint now share ONE resolution; there is no TTL (the
host already caches completed cold reads by persistence revision), and the
hint stays in the key so different fallbacks never leak across each other.

tests/smoke.spec.ts pins 12 concurrent calls → 1 observeSession (red before
this change: expected 12 to be 1) and the per-hint key. The dock-fallback
reserve test now clears localStorage per case — a previous case persisted
bottomOpen and made the new click toggle it closed.
2026-10-26 17:51:30 +08:00
Menghuan1918 8ee6e8de27 chore(release): prepare v0.28.1
- bump package.json / dsh.plugin.json / SIDEBAR_SERVICE_VERSION to 0.28.1
- CHANGELOG: 未发布 → v0.28.1; CHANGELOG_EN gains the v0.28.1 summary
- README / README_ZH: install commands target 0.28.1; Recent Updates
  trimmed to v0.28.1 / v0.28.0 / v0.27.0; Git screenshot alt + tags note
- refresh docs/screenshots/files-tree.png and changes-tree.png from a
  neutral demo workspace (git colors + tag pills in the commit graph)
- AGENTS + external-plugin-guide: current stable version is v0.28.1
2026-10-26 17:43:39 +08:00
Menghuan1918 a1dd6b0eb8 merge #983: 提交图显示 tag(独立 tag 预算 + 分页指纹)
# Conflicts:
#	CHANGELOG.md
2026-10-26 15:20:04 +08:00
Menghuan1918 5bacf5fa0c 修复提交图标签缺失并校验标签分页快照 2026-10-26 15:19:02 +08:00
Menghuan1918 9d973ccf8c docs: file the merged batch under 未发布 and refresh the version matrix
- CHANGELOG: move #929/#1013/#1020 entries out of released sections and add
  the remaining merged-batch entries (#999 #956 #981 #965 #1012 #1002 #1052)
- README/README_ZH: DSH npm latest is now 0.2.1-rc.2; spell out the old-host
  pin and the marketplace latest-vs-host mismatch
- issue-triage: the 0.26.0/0.28.0 fixes are released; only #915 is still
  dev-fixed-pending-release
2026-10-26 15:12:01 +08:00
Menghuan1918 66c91091bc chore(release): adapt to DSH 0.2.1-rc.1 for 0.28.0 2026-10-17 14:03:22 +08:00
Menghuan1918 2b8a4da569 chore(release): prepare alpha.0 with latest dev fixes 2026-10-17 12:02:59 +08:00
Menghuan1918 6417547bb5 merge origin/dev: include Context diagnostics and graph layout fixes
# Conflicts:
#	CHANGELOG.md
2026-10-17 11:52:48 +08:00
Menghuan1918 93c43b0ac9 feat: add optional Context diagnostics navigation
Use an activation-scoped Cordis controller for session, agent, and job-owner entries. Reuse native Context tabs, cancel stale navigation, and close source overlays without canceling pending requests.

Verify optional capability lifecycle, truthful job ownership, three real dsh-context configurations, and the existing mount regression suite.
2026-10-17 02:20:53 +08:00
Menghuan1918 4ebd3e9bdd chore: adapt sidebar to DSH 0.2.1-alpha.5 2026-10-17 02:12:44 +08:00
Menghuan1918 b5fec8d9a2 chore(release): prepare 0.27.0 Git page integration 2026-10-16 21:57:02 +08:00
Menghuan1918 88ded478de merge pr-969 (#969 feat(git-graph): 只读提交图) into dev(@vlln)
融合(D5):#969 的图谱引擎作为 Git 镜头内的「提交图」区上线,不再新增第三个镜头。
- 保留:src/git-graph.ts(有界路由 + graph-stale/graph-limit)、graph-layout.ts、
  graph.module.css、CommitDetails、DiffPane 的 PaneTabStrip 与 details/content/diff 分签、
  hover 卡片、引用徽章、分支筛选、无限滚动、e2e 与设计文档;
- 落位:GitGraphLens → GitGraphSection(挂在 GitLens 的 Graph 区,目标读镜头自己的
  仓库/worktree 选择,不再自持选择器);行右键接回 #944 的提交菜单(查看/复制/revert/cherry-pick);
- 去掉:第三镜头与 changesGraphLens 键、#944 的 GitGraph.tsx(及随之无消费者的
  log 行样式与 historyLoadError/changesNoHistory 词典键);
- 镜头常驻保留(hidden 切换):Graph 的滚动/选中、Changes 的展开与草稿切走不丢,
  同时 store 槽位与轮询按「可见 + 在屏」分别门控(切回不闪 loading);
- 两套重写过的测试按新契约对齐(底部面板分签、图谱区与 Git 镜头的关系、图行/历史断言)。
2026-10-16 17:30:44 +08:00
Siyan Li 0bc32a9945 fix: serve HTML preview assets with browser-compatible MIME types 2026-10-16 16:20:16 +08:00
vlln ab7db3a313 docs(git-graph): 设计文档与 README 章节
`docs/plans/git-graph.md` 记录取舍:为什么第一版只读、为什么分页用不透明游标
而不是服务端游标缓存、为什么**没有**颜色图例(颜色属于泳道而不是分支,泳道可以
比创建它的分支活得更久,图例会暗示一种不存在的一一对应)、连线与徽章的配色
规则、底部面板固定的三个标签、以及 hover / 点击两档信息密度的分工。

README 中英双语各加一节 Git Graph:顶部选择入口、不 checkout / 不 fetch、
单行提交行的构成(徽章含义、✓ 表示当前分支)、统一底部面板的三个标签,以及
资源上限与分页过期的行为。
2026-10-15 20:44:33 -07:00