Commit Graph
1669 Commits
Author SHA1 Message Date
hairyfbot 3be1065d54 test(e2e): 真实宿主断言关闭按钮常驻 Tabs 行最右侧(#991)
git-graph 用例在「提交详情」页签上断言面板只有一个关闭按钮、它挂在 Tabs 那一行(tablist 的父行)末尾,切到「差异」后仍在同一行,点击它关闭整块面板。
2026-11-21 17:55:11 +08:00
hairyfbot 4a6c1bd880 fix(changes): Git 详情面板的关闭按钮常驻 Tabs 行最右侧(#991)
底部面板的「提交详情 / 内容 / 差异」是一条 Tabs,但关闭整块面板的 X 原先画在「内容 / 差异」的页内头行上——切到「提交详情」时那条头行整块不渲染,于是该页签没有关闭入口,只能先切页签再点 X。

现在关闭按钮属于 Tabs 那一行:无论选中哪个页签都停在最右端、位置不变,点击关闭的是整块面板;「内容 / 差异」头行里重复的 X 已移除。只有一个视图、没有 Tabs 行的预览保持原来的头行位置。
2026-11-21 17:45:14 +08:00
Hairy 2cb529f1b2 Merge pull request #1238 from omdsh-dev/fix/blank-session-dock-entry
fix(sidebar): 空白会话在右侧栏展开时仍能打开底部工作台(#989)
2026-11-21 15:31:13 +08:00
Hairy 7e757f972e Merge pull request #1011 from yanzhaohui1999/fix/native-files-header-align
fix(files): align the native files search header with the session tab rule (#1006)
2026-11-21 15:30:18 +08:00
hairyfbot 92899af758 test(e2e): 展开态入口位置断言改为轮询,避开面板滑入动画 2026-11-21 15:15:58 +08:00
hairyfbot fb9967b8df fix(sidebar): 空白会话在右侧栏展开时仍能打开底部工作台(#989)
blank 会话里宿主不渲染会话头 utilities,插件的底部工作台入口只剩右上角那个
备用入口;而它在宿主右侧面板展开时整个不渲染,于是「先开右栏」就再也打不开
底部工作台。#1053 修的是正常会话的会话头入口,这一处当时被留了下来。

现在展开态照常渲染,并改锚**面板左缘**:展开态宿主的 Split / Fullscreen /
Collapse 搬进了面板内部,锚在那簇控件左侧会落进面板、盖住面板内容;面板左缘
那一格是会话头那一行的右端空位,与收起态入口同一列。

真实宿主(DSH 0.2.2-rc.5 + Chromium,1440x900,空白新会话)实测:
- 收起态:入口 1364,11(不变);
- 展开态:修复前屏上 0 个入口,修复后 756,10(面板左缘 792),点击可打开底部面板。

tests/dock-fallback.spec.tsx 把「展开态不渲染」改成「展开态渲染且锚在面板左缘
756px 并仍可点击」(还原旧守卫即红);tests/e2e/blank-session-dock-entry.e2e.ts
新增真实宿主用例:展开右栏后入口仍在、屏上恰好一个、右缘不越过面板左缘。
2026-11-21 15:11:16 +08:00
ymac 69835c7b4f fix(files): align the native search header with the session tab rule
The right Sidebar's pane body starts directly under the host's 38px tab strip. The file tree's search header still used the workbench metrics (6px padding, 1px l1 border): its bottom rule landed at y=79 while the session tab bar's rule sits at y=76 on DSH 0.2.2-rc.5, so the two lines met in a 3px step with different weights and shades.

Match the header DSH's own ui-sidebar-files pane uses: a 38px border-box header with a .5px border-l3 hairline. The rule now joins the session tab bar's line at the split; the bottom workbench keeps its roomier header.
2026-11-21 15:02:24 +08:00
Hairy 9bed79d13a Merge pull request #1237 from omdsh-dev/docs/issue-985-docx-pdf-tohex
docs(plans): 记录 issue #985 诊断(docx 预览报 toHex 缺失,宿主侧)
2026-11-21 15:01:52 +08:00
hairyfbot 513ba567aa docs(plans): 收紧 #985 记录里插件侧渲染路径的措辞 2026-11-21 14:51:27 +08:00
hairyfbot 5ab0d49bfc docs(plans): 记录 issue #985 诊断(docx 预览报 toHex 缺失,宿主侧) 2026-11-21 14:48:59 +08:00
Hairy ddcd435f5f Merge pull request #1236 from omdsh-dev/fix/changes-lens-underline-tabs
fix(changes): 「Git / 本轮文件」切换恢复会话页的下划线 Tabs
2026-11-21 14:02:57 +08:00
hairyfbot 3f0f7c37e3 fix(changes): 「Git / 本轮文件」切换恢复会话页的下划线 Tabs
#1101 为摆脱宿主私有哈希类名(#1098)改用公开的 SegmentedControl,视觉随之退回灰底胶囊;#939 已按审阅意见改成官方会话页的下划线 Tabs,这一版把它丢了。

现在这条切换由插件自己的 changes.module.css 绘制:13px/500、未选中三级文字、选中态品牌色 + 2px 下划线压在页头分隔线上、24px 间距,ARIA 关联与左右方向键 / Home / End 漫游焦点照旧;不引用任何宿主私有类名。

Refs: #1235
2026-11-21 13:38:58 +08:00
Hairy a543cd257b Merge pull request #1233 from WinterXMQ/fix/sidebar-fullscreen-bottom-panel
fix: 侧边栏全屏时自动收起底部工作台
2026-11-21 12:58:15 +08:00
Hairy 1b36babe07 Merge pull request #945 from hairyf/fix/native-tab-chip-alignment
fix: 对齐原生 Tab 与官方图标尺寸、间距和居中
2026-11-21 12:54:45 +08:00
Hairy be0b5a3142 Merge pull request #948 from hairyf/fix/task-graph-square-control-items
fix: square task graph control items
2026-11-21 12:54:29 +08:00
Hairy 693b8d1f97 Merge pull request #1234 from omdsh-dev/chore/engines-dsh-floor
chore(manifest): 声明 engines.dsh,旧宿主的安装失败改判为「先升级 DSH」
2026-11-21 12:53:21 +08:00
hairyfbot 2f99d094f4 fix(installer): 恢复 install.ps1 的 UTF-8 BOM
上一提交改钉版时把文件头的 BOM 弄丢了,Windows PowerShell 5.1 用 -File 解码会
读坏脚本(tests/install-powershell.spec.ts 守护)。
2026-11-21 12:13:05 +08:00
hairyfbot ea8ee92527 test(baseline): CI 宿主钉版跟随 engines.dsh 到 rc.3
ci.yml 的宿主钉版已由维护者改为 0.2.2-rc.3,dsh-baseline 的 CI 断言从 dev 钉版
常量 baseline 换成运行侧常量 hostBaseline,与 e2e / 安装脚本同一来源。
2026-11-21 12:00:00 +08:00
hairyf 778d16883c ci: 更新dsh CLI版本至0.2.2-rc.3 2026-11-21 11:57:31 +08:00
hairyfbot 6024337a73 fix(host): 准入改用 admit 兜底,运行侧钉版抬到 rc.3
DSH 0.2.2-rc.3 之后官方删除 connection.requestRejection(升级指南写明用 admit
替代),插件此前每个请求第一句就抛 TypeError,被宿主兜底成空 body 的 400。
fence 改为:requestRejection 存在时照旧调用,缺席时改调 admit 读同一个
rejection 字段,两者都没有仍抛 TypeError,不重建信任表。

engines.dsh 已要求 rc.3,因此把真正运行插件的钉版同批抬到 rc.3:CI 的
npm install -g、e2e-common.sh 的 DSH_NPX_SPEC / expected、两个独立安装脚本的
npx 回退。dev 钉版与 14 条 peer 仍是 rc.2(rc.3 与本插件消费面无 API 差异),
tests/dsh-baseline.spec.ts 相应拆成两个常量。

关联 #1204。
2026-11-21 11:54:00 +08:00
hairyfbot be5dbb6db2 chore(manifest): 声明 engines.dsh,旧宿主的安装失败改判为「先升级 DSH」
package.json#engines.dsh 从缺席改为 >=0.2.2-rc.3 <0.3.0,dsh.plugin.json 同步。
宿主预检优先读该字段,字段存在时只按它判定,不再看 14 条 DSH peer(peer 仍为
^0.2.2-rc.2,未改)。

效果:停在 0.2.1 及更早宿主的安装失败,在插件市场里由 hostIncompatible 改判为
[dsh-too-old],给用户「先升级 DSH」的指引,不再作为插件缺陷自动给本仓库开 issue。

代价:engines.dsh 成为唯一裁决者,实际安装下限从 rc.2 抬到 rc.3;0.2.2-rc.2 及
更早的 0.2.2 宿主停在 v0.32.1。

按维护者在 #1230 的决定,不新增 engines/peer 同步守护测试。
2026-11-21 11:41:14 +08:00
WinterXMQ a5046aae12 fix: 侧边栏全屏时自动收起底部工作台 2026-11-20 23:09:51 +08:00
Menghuan1918 8d48469aea fix(catalog): install Session Sources without pinning better-sidebar (#1105) 2026-11-19 17:13:22 +08:00
Menghuan1918 09b01dd67e feat(sidechat): render PTC run_code sub-call rows
Fold the log-only PTC pair (tool/ptc-dispatch-start + tool/ptc-dispatch) into nested sub-call rows on the run_code transcript row. Sub-calls render indented below the root (outside its disclosure, so a collapsed root still shows them) through the same terminal/diff/read/search/web cards as direct calls; running, failed and start-less dispatches are covered. The run_code line shows the model description and its expanded body shows the program plus the final result. Successful PTC write/edit targets join the clickable path mentions; a PTC present keeps its top-level delivery card and also leaves a sub-call row. Tests: sidechat-ptc-rows, sidechat-ptc-subcalls, sidechat-mention-sources.
2026-11-18 16:56:36 +08:00
Luca Tzekos 168a572119 fix(catalog): drop the unpinned better-sidebar prerequisite from the five install lines 2026-11-18 16:18:07 +08:00
Luca Tzekos ddd5c58d87 feat(catalog): add five tab plugins (dsh-artifacts, dsh-conductor, dsh-mail, dsh-phone, dsh-voice) 2026-11-18 16:18:07 +08:00
CCColastic da0edff736 feat: add Session Sources to tab plugin catalog 2026-11-18 16:16:37 +08:00
shuuul 82e24d87b8 feat: add dsh-bioviewer to the file-previewer catalog
Register BioViewer as a recommended better-sidebar file previewer for
PDB, mmCIF, MRC maps, small molecules and Chimera .cmm markers.
2026-11-18 16:15:53 +08:00
vlln 47a27f1cca chore(catalog): pin dsh-pr-inbox v0.1.1 2026-11-18 16:14:40 +08:00
vlln d44fcb509c feat(catalog): add dsh-pr-inbox 2026-11-18 16:14:40 +08:00
Menghuan1918 4407b58d18 docs(locales): complete the dsh-zotero-workspace key set (#1140) 2026-11-18 16:13:47 +08:00
Hudson Hou 85d96b1090 catalog: localize dsh-zotero-workspace entry (zh/en/ja) 2026-11-18 16:13:47 +08:00
Hudson Hou 5c8477df1b catalog: add dsh-zotero-workspace (Zotero literature workspace tab) 2026-11-18 16:13:47 +08:00
SwinT f1a7669855 docs(catalog): 收录 dsh-copy-document(整篇文档复制伴生插件) 2026-11-18 16:12:31 +08:00
lipengfei d3b5a07bcf chore(plugin-list): dsh-memory-delta 的 pin 抬到 v1.3.4 2026-11-18 16:11:52 +08:00
KP a9da0abacf fix(catalog): 更新 dsh-dev-git-graph 的仓库地址(已改名为 kp-z/dsh-plugins) 2026-11-18 16:11:18 +08:00
gyixuan 4dd31d5a40 docs: 更新 Sidenote 推荐文案与独立安装命令
从侧聊追问、聊天批注、文档摘录和问答回流的使用场景介绍插件,同步全部推荐词典与中英文档,移除过时的前置安装步骤。
2026-11-18 16:10:29 +08:00
Menghuan1918 aa2a058037 docs(editor): drop the retired new-session tab seed claim; pin the blank-session right-column open
The editorExplorer comment still promised that new sessions seed an empty
editor tab, and the external plugin guide repeated it. Neither is true since
the plugin's own right panel was retired: the host owns the right column and
a brand-new session starts with no tab, so its first open lands on the start
page this plugin takes over (#1218).

Adds the one e2e case the mount lane was missing: a blank session's first
right-column expand must already render the start-page takeover, with no host
Split action in between.
2026-11-18 10:55:36 +08:00
Menghuan1918 bd8ce7da55 docs: record the 2026-11-17 open-PR/issue scan and UX-blocking batch 2026-11-18 00:15:23 +08:00
Menghuan1918 b559d0a0af docs: record the WSL git, LAN tab-id, start-page switch and find fixes
Covers #1206 (contributor @llwinty), #1166, #1212, #1159, #1214, #1165.
2026-11-18 00:12:20 +08:00
xucl 416e20d292 fix(git): re-spell the linked worktrees a WSL repository lists
`git worktree list` prints the same POSIX spelling as `rev-parse
--show-toplevel` when it runs inside the distribution, so in a WSL workspace
every linked checkout arrived as `/home/...`. That broke the worktree selector
in two ways at once: `current` compared a POSIX entry against the now-UNC
current root and never matched (so no checkout was marked as the current one),
and `resolveWorktree` handed the POSIX entry back as a command target, which
the Windows git then refused.

Re-spell in `listedWorktrees()`, the single place both the inventory
(`worktrees()`) and the selector (`resolveWorktree()`) read from.

Refs #1189
2026-11-18 00:07:48 +08:00
xucl 2c7c0cba22 fix(git): keep the UNC spelling of a WSL repository root
`rev-parse --show-toplevel` runs INSIDE the distribution (wslLaunch), so it
names the repository with a POSIX path — `/home/me/repo` for a
`\\wsl.localhost\Ubuntu\home\me\repo` cwd. wslLaunch only recognises the UNC
spelling, so every later command on that root fell through to the Windows git
and died with `cannot change to '/home/me/repo'`: `git.status`, `diff`, `log`,
`blame`, `stage` and `commit` all resolve their base through
`repoRoot()` → `runGit(root, …)`, so the whole Git panel read as "failed to
load" while the file tree and the editor stayed fine.

Re-spell the reported root through the cwd it was discovered from. The
function reproduces the share the cwd arrived on (`wsl.localhost` or the
legacy `wsl$`), which is why WSL_UNC_ROOT now captures it; wslLaunch reads the
same groups, so there is still one spelling of the UNC shape in this file.

Refs #1189
2026-11-18 00:07:48 +08:00
Menghuan1918 160f068224 chore(client): log the quote-chip probe at debug level (#1179)
The two success-path quote-chip-ready lines are positive proof the feature is live, but they greeted every page load. console.debug keeps them available in verbose consoles; the console.warn failure path is untouched.
2026-11-18 00:07:48 +08:00
Menghuan1918 ddfcb67017 fix(client): mint tab ids without crypto.randomUUID (closes #1166)
Side Chat and the bottom terminal called crypto.randomUUID() unguarded. In an insecure context — a GUI served over plain http:// on a LAN address — that throws, so the host left a dead data-slot-error instead of a tab. Mint both ids through one local freshId() helper: randomUUID when available, otherwise a base36 timestamp plus two getRandomValues draws (getRandomValues is exempt from the secure-context restriction). The helper stays internal; the public service surface is unchanged.

The regression test drives the real built-in createTab factories with randomUUID removed and checks unique ids plus a non-empty meta[INSTANCE_FIELD].
2026-11-18 00:07:48 +08:00
Menghuan1918 58cf84b733 fix(settings): re-show a start-page card with an explicit false (#1212) 2026-11-18 00:07:48 +08:00
Menghuan1918 c337adbbf7 fix(client): apply side-card prefs that arrive after the boot timeout (#1159) 2026-11-18 00:07:48 +08:00
Menghuan1918 62a9ceeed5 fix(editor): keep a single very long line out of the edit buffer (closes #1165) 2026-11-18 00:07:11 +08:00
Menghuan1918 da13770e35 fix(editor): offer find when the host owns the header (closes #1214) 2026-11-18 00:02:24 +08:00
naomi233 cbc2f575f9 Merge pull request #1209 from Henvy-Mango/fix/sidechat-to-latest-pill
fix(sidechat): keep the back-to-latest pill at its content height and round its ends
2026-11-17 23:00:55 +08:00
Menghuan1918 2647fbac2d docs: record local and rc3 verification results 2026-11-16 01:01:45 +08:00