wangheng
|
8255ad604c
|
feat(ui): 停靠态改为左缘细条 + hover 滑出面板 (v0.5.3-local.11)
停靠态原先把整个工作台面板常驻挂在 footer 槽位,占用侧栏纵向空间。
改为 12px 左缘细条 + 悬停滑出 250px 面板:
- 自动隐藏(默认):悬停细条滑出,移开 180ms 自动收回
- 固定常开:面板常显,可点右侧 « 手柄收成细条,之后仅点击展开
- 任一弹窗打开期间保持展开,避免误收回
- measureFloatGeo 新增细条左缘测量:优先 footerActions/footArea 左缘 −8,
链断裂回退侧栏左缘,避免旧兜底 64 的残带
- footer 槽位只留零尺寸锚点,不再占位
- 浮动态(dock=float)保持原浮动卡片,不渲染细条
新增 04_test/edge-panel.test.mjs 并纳入 pack 兼容回归,覆盖默认自动隐藏、
设置开关持久化、固定常开 + « 收起、浮动态不受影响。
验证:npm run pack 全绿,双资产同源 sha256 faed3889…。
|
2026-12-03 15:56:42 +08:00 |
|
wangheng
|
468b0cebec
|
fix(update): 复制 AI 提示词可用性与升级命令版本 (v0.5.3-local.10)
三个问题一起修:
1. 复制不生效:copyText 只试 navigator.clipboard.writeText,在 webview
(非安全上下文/权限未授予)会抛错直接返回 false,且按钮仍显示原样 →
表现为「点了没反应」。改为三级降级:Clipboard API → execCommand('copy')
→ 再次 Clipboard API;并新增 update.copyFailed 失败态提示(3s)。
2. 按钮颜色太浅:.dsh-wt_updateBtnCopy 原为 rgba(79,142,247,.18) 半透明底
+ #cfe0ff 浅蓝字,在浅色主题上几乎看不见。改为实心强调色 + 白字 + 加粗,
并补 hover/active 反馈。
3. 升级命令用的是当前版本:UPDATE_TGZ 写死 v0.5.3-local.9,不随检测结果变化,
「有新版本」提示里给的却是自己这一版的地址。改为
worktableUpgrade(tag) 按目标版本生成;index.tsx / split.tsx 两个调用点
均传 updateInfo.latest。
测试:
- host-transport.test.mjs 调用签名补 tag 参数
- 新增断言:命令必须指向目标版本(local.10 与 local.9 各验一次)
验证:npm run pack 全绿,双资产同源 sha256 2ff7d45a…。
|
2026-12-02 17:51:52 +08:00 |
|
wangheng
|
1b053e5577
|
fix(update): 更新检查改走宿主中转,修复 Gitea 无 CORS 导致请求被拦 (v0.5.3-local.8)
0.5.3-local.6 把更新检查从上游 GitHub 改到自建 Gitea API,但仍不通:
页面来源是 http://127.0.0.1:<随机端口>,请求 https://gitea.ququclean.com/api/...
属跨源,而 Gitea 不返回 Access-Control-Allow-Origin,浏览器直接拦截 fetch。
表现为「立即检查」无反应、长期显示「上次检查未成功」。
改为宿主中转:
- src/index.ts 新增 /api/worktable/update-check 路由,服务端(Node 无 CORS
约束)代取 Gitea releases/latest,客户端只请求同源路径
- updateCheck.ts / index.tsx 的 fetch 改指向该同源路由
- 该路由沿既有约定需要鉴权(request-auth.test.mjs 要求除 health/preview-static
外所有路由都必须拒绝未鉴权请求),未传 publicAsset
测试:sidebar-popup.test.mjs 的 releaseUrl 改为 /api/worktable/update-check。
验证:npm run pack 全绿,双资产同源 sha256 225e8568…。
|
2026-12-02 17:30:41 +08:00 |
|
wangheng
|
f65694516f
|
fix(update): 更新检查改查本仓 Gitea,修复查不到新版 (v0.5.3-local.6)
本仓从上游 fork 后,更新检查仍查上游 GitHub,导致:
- 上游只发官方版(无本地补丁),本仓 -local.* 版本它不知道
- 国内网络访问 api.github.com 常失败,显示「上次检查未成功」
- 安装命令也指向上游 github.com
三处改动:
- updateCheck.ts(控制室):改为 Gitea API /api/v1/repos/xiaoqu/dsh-worktable/releases/latest
- index.tsx(设置面板,独立实现):同样改 Gitea API
- hostTransport.ts:安装命令改为带具体 tag 的本仓 tgz
注意 Gitea 不支持 /releases/latest/download 简写(实测 404),
安装命令必须带具体 tag,UPDATE_TGZ 每次发版需同步更新。
版本比较无需改动:cmpVer('v0.5.2-local.6','0.5.3-local.5') = -1,
core 段 0.5.2 < 0.5.3 已能正确判定有新版。
测试同步:sidebar-popup.test.mjs 的 releaseUrl 断言改为新 API 地址。
验证:npm run pack 全绿,双资产同源 sha256 95b2b6b1…。
|
2026-12-02 17:00:56 +08:00 |
|
wangheng
|
b567701fa1
|
feat: 二级页面、孤儿路由防护、iframe 全屏与 DS Bot 侧栏隐藏 (v0.5.3-local.5)
借鉴同线分支 dsh-worktable 0.5.2-local.9 的四项改造,逐项评估后移植:
- 二级页面:LayoutSpec.parentId + layoutTree 树形侧栏 + 折叠/展开。
仅一级嵌套;删父项目不级联删子页面(提升为顶级,避免误删用户内容)。
管理面板加「+新增二级页面」,继承父项目文件夹。
- 孤儿路由防护:register 遇 duplicate 路由只 warn 不抛,避免热重载时
旧 fiber 未释放导致新 fiber 激活失败、侧边栏抽屉整体消失。
- iframe allowFullScreen:项目窗格里的 HTML 看板可全屏。
- DS Bot 侧栏隐藏:由本插件注入 CSS,替代改 ds-bot/client.js 的做法
(ds-bot 随应用升级,改源码必丢)。nav.bt-home-nav 带标签选择器避免误伤。
未移植对方的状态防清空(stateStore.serverKeys):本仓 hostState.ts 已有
hydrated 守卫(读完宿主前禁写、读不到整场不写)与更细的 6 段退避重试,
覆盖面更强。
顺带修三个 Windows 兼容缺陷,否则 pack 门禁过不去:
- release-prep.mjs:tar 加 --force-local(GNU tar 把 C: 当 rsh 主机)
- preview-files.test.mjs:rmSync 删 junction 失败,加 unlinkSync 兜底
- widget-mount.test.mjs:提取段缺 normalizeProjects 依赖,起点前移
验证:npm run pack 全绿(139 项兼容回归 + 工厂门禁 10/10 + 结构 7 文件 +
独立安装 import + 锚点 14 场景 + Chromium 分栏 5 场景 + 服务端 3 场景)。
双资产同源 sha256 cf633ad7…。
|
2026-12-02 16:37:29 +08:00 |
|
super-agent
|
4dd3a8c785
|
feat(theme): 恢复主题桥,工作台页重新跟随 DSH 深浅色 (REQ-20261117-0013)
问题:Gitea 0.5.x 线缺了 qiudl 0.4.x 分支的整套主题桥能力,升级后所有工作台
产物页都不再跟随 DSH 主题(浅色/深色/跟随系统全部失效),页面各自锁死自己的配色。
这是升级引入的真实回归,比单个页面的配色问题严重得多。
移植内容(来自 qiudl 0.4.9-rc.2,theme.ts 无外部依赖,纯函数 + 浏览器脚本):
- 新增 src/theme.ts(191 行):THEME_BRIDGE_JS / injectThemeBridge / 前缀判定
- 模板路由补 /api/worktable/template/theme.js(独立打开/嵌套 iframe 显式引用)
- 站点路由对 .html/.htm 自动注入主题桥(幂等:已含 data-wt-theme-bridge 则原样)
- 新增 04_test/theme-bridge.test.mjs(7 个回归用例,含接线防漏)
顺带修两处写死项(同属「不跟随主题」根因):
- dshell.css::root{color-scheme:dark} → color-scheme:light dark + 浅/深两套
兜底 token(历史事故:写死深色会让所有页面锁死深色)
- dshell.css:正文字体改走 var(--dsw-font-family, ...)
版本 0.5.3-local.3 -> 0.5.3-local.4
验证:build 通过;client-factory-gate 10/10;主题桥测试 7/7;兼容回归 105/105;
release-prep 全过(结构断言、独立安装 import、split anchor dom 14 场景、
sidebar popup、真实 Chromium split margin 5 场景、server home 3 场景)
|
2026-11-18 15:03:50 +08:00 |
|
Aisland
|
f98246ef0c
|
fix(v0.5.1): 适配rc.5并修正控制室与更新提醒
|
2026-10-31 17:05:17 +08:00 |
|
Aisland
|
56ffe0cd1c
|
feat(v0.5.0): secure project previews and fix host UI compatibility
|
2026-10-27 23:09:34 +08:00 |
|
Aisland
|
6cb86b6c73
|
feat(v0.4.0): support Windows Desktop and isolate project widget mounts
|
2026-10-03 13:02:20 +08:00 |
|
Aisland
|
e63d122142
|
fix(v0.3.4): adapt worktable to DSH 0.2 Web
|
2026-10-02 12:58:44 +08:00 |
|
Aisland
|
a7b8803978
|
fix(v0.3.3): 分栏引擎双版本锚点(0.1.1-rc.2/0.1.2-rc.1) + 数据目录解析循环修复 + 发布流水线加防(锚点8场景/数据目录3场景) + 公告/文档同步
|
2026-09-06 11:32:43 +08:00 |
|
Aisland
|
b6a96405e8
|
release: v0.2.2 - cross-platform paths, health version, update-check hardening, clean packaging
|
2026-08-25 02:14:02 +08:00 |
|
Aisland
|
eaa5ebecd7
|
docs: bilingual README with real screenshots; publish as public repo
|
2026-08-22 18:51:25 +08:00 |
|
Aisland
|
e8f1c80708
|
fix: inherit current session model for new sessions instead of picking arbitrary
|
2026-08-21 22:52:21 +08:00 |
|
Aisland
|
819a3c6d1e
|
fix: repair stale session model selection (real root cause of model-unavailable)
|
2026-08-21 22:43:08 +08:00 |
|
Aisland
|
874ee5f7be
|
fix: apply deployment default preset to new sessions (stale deleted model)
|
2026-08-21 22:30:55 +08:00 |
|
Aisland
|
7efb07fd1a
|
feat: clickable square rail buttons when collapsed + eye icon toggle in manage panel
|
2026-08-21 18:17:59 +08:00 |
|
Aisland
|
d4d1cc1f49
|
fix: move sweep shimmer to busy cards only, remove panel-wide sweep
|
2026-08-21 14:04:26 +08:00 |
|
Aisland
|
fd03ef6cc6
|
feat: periodic glass sweep shimmer across console panel
|
2026-08-21 13:59:49 +08:00 |
|
Aisland
|
06fcd8bafb
|
fix: drop frosted blur for clearer glass, right-align runtime without icon
|
2026-08-21 13:11:45 +08:00 |
|
Aisland
|
0324644d0c
|
fix: clearer glass transparency, remove status dot, filter code from previews
|
2026-08-21 12:28:10 +08:00 |
|
Aisland
|
e95eda9292
|
fix: adapt glassmorphism for light theme (stronger dark corners, white edge)
|
2026-08-21 12:10:20 +08:00 |
|
Aisland
|
6834ba3fd7
|
feat: iOS glassmorphism console cards (corner gradient edge + inner sheen + backdrop blur)
|
2026-08-21 12:05:20 +08:00 |
|
Aisland
|
14f654adda
|
fix: console area 2x (edge 1.4), comet moving light, darker blueprint grid bg
|
2026-08-21 02:03:16 +08:00 |
|
Aisland
|
dbb5a01a8e
|
fix: console cards 80%, single title, stronger busy glow, thinner dividers
|
2026-08-21 01:52:02 +08:00 |
|
Aisland
|
3d96a07f9d
|
feat: console spacing/cards polish, create card, drop kids/jump, borderless entry
|
2026-08-21 01:39:38 +08:00 |
|
Aisland
|
5196d0f768
|
fix: self-heal broken console view (tab-closed legacy state)
|
2026-08-21 01:24:16 +08:00 |
|
Aisland
|
14c21a10bd
|
fix: unclosable console tab, compact grid with neon outline glow, naming fix
|
2026-08-21 01:15:59 +08:00 |
|
Aisland
|
142860b15a
|
feat: console glow cards, icon theme toggle, cold preview warmup, unified naming
|
2026-08-21 01:04:29 +08:00 |
|
Aisland
|
249f09d8d6
|
feat: built-in Worktable console project with monitor panel and theme
|
2026-08-21 00:37:00 +08:00 |
|
Aisland
|
5bfa108628
|
fix: put symbols after text on both bind buttons
|
2026-08-20 23:21:57 +08:00 |
|
Aisland
|
fbca9f4e66
|
feat: add refresh symbol to folder change button
|
2026-08-20 23:17:57 +08:00 |
|
Aisland
|
56c2778508
|
fix: bind popup drop title, move unbind into row, toggle session list
|
2026-08-20 23:14:32 +08:00 |
|
Aisland
|
48f3edeaa5
|
refactor: compact bind popup with unified boxes and right-side session list
|
2026-08-20 22:59:46 +08:00 |
|
Aisland
|
dc585ac3dd
|
chore: drop stray diag fixture
|
2026-08-20 22:44:25 +08:00 |
|
Aisland
|
adec7498ae
|
refactor: unify refresh button at far left of web tab bar
|
2026-08-20 22:44:19 +08:00 |
|
Aisland
|
47c5ccc034
|
feat: remove Deleted-projects section (delete = permanent removal, files kept) + refresh button on iframe tab windows
|
2026-08-20 22:29:39 +08:00 |
|
Aisland
|
3d7efadfe2
|
feat: add refresh button to browser and anim panes (iframe remount reload)
|
2026-08-20 22:21:15 +08:00 |
|
Aisland
|
6720b4dfab
|
feat: lock mounted results as the window's permanent content (lockPane replaces tabs and persists across sessions)
|
2026-08-20 22:03:10 +08:00 |
|
Aisland
|
54bfcccd67
|
feat: auto-mount generated results into windows via widget-result.json handshake on bound-session completion (with pending re-mount)
|
2026-08-20 21:57:50 +08:00 |
|
Aisland
|
be098258b2
|
fix: inline xterm.css into injected style string (host never loads standalone lib/client.css, helper textarea was visible)
|
2026-08-20 12:39:45 +08:00 |
|
Aisland
|
3f01b8f4e0
|
fix: stale ack suppressed new pending rounds — clear ack on state transition so every new question re-lights yellow
|
2026-08-20 00:48:41 +08:00 |
|
Aisland
|
7a2e75acd9
|
fix: aggregate subagent pending interactions when mirroring conversation state to project cards
|
2026-08-20 00:43:19 +08:00 |
|
Aisland
|
817db79638
|
fix: pending-interaction must outrank busy (native UI shows yellow while running+awaiting decision)
|
2026-08-20 00:30:07 +08:00 |
|
Aisland
|
eb8177bc22
|
feat: busy state on bind dots — bound conversation running shows alternating blinking blue glow
|
2026-08-20 00:22:23 +08:00 |
|
Aisland
|
10ee100922
|
feat: task-type-based output form guidance in window prompt (no more default HTML)
|
2026-08-19 22:47:44 +08:00 |
|
Aisland
|
ca88b6840d
|
feat: mirror bound conversation task state (completed/pending) onto project cards as glowing green/yellow dots with click-to-ack
|
2026-08-19 22:30:25 +08:00 |
|
Aisland
|
9975e889f8
|
fix: include ungrouped conversations in bind/send lists + left-align new-project folder row with wider path
|
2026-08-19 22:05:56 +08:00 |
|
Aisland
|
e9f839d3d0
|
fix: plugin-initiated session switches (new-conversation/send) must not auto-close the project; auto-bind now completes (project stays open)
|
2026-08-19 22:00:45 +08:00 |
|
Aisland
|
04b984a246
|
feat: custom pane defaults to send-to-session mode (order swapped) + native folder-picker for project folder
|
2026-08-19 21:48:32 +08:00 |
|