super-agent
|
05639e8984
|
feat(state): 恢复「云状态 + git 历史」能力 (REQ-20261117-0013)
背景:qiudl 分支(0.4.9-rc.2,用户原本在用的)有云状态功能——状态落在一个
独立 git 仓(~/Library/Application Support/dsh-worktable-state/),由 launchd
每 5 分钟 commit+push。Gitea 0.5.x 线没有这个功能,只有 DSH_HOME 下的单文件
镜像(worktable-state.json)。升级到 0.5.3 后两处路径不同,用户 14 个工作台
布局在界面上「消失」(数据本身还在那个 git 仓里)。
改法(不移植 976 行云状态代码,改走配置指针):
- 宿主侧 /api/worktable/state 的文件路径改为优先取本机配置
03_local/local.json 的 cloudStatePath(指向那个 git 仓),未配置时回落到
DSH_HOME/worktable-state.json(与旧行为一致)
- 新增 localConfigPaths / readLocalConfigField:候选链含环境变量
DSH_WORKTABLE_LOCAL_DIR、插件根相对 03_local、DSH_HOME/03_local
- 客户端兼容旧 updatedAt 形态:旧线写 ISO 字符串,本线写毫秒数字,两种都认
(否则指向旧文件后永远判「宿主不比本地新」而不回填)
这样云状态写入自动进 git 仓,每次变更都有提交历史,launchd 继续 push 到远端。
版本 0.5.3-local.2 -> 0.5.3-local.3
验证:build 通过;client-factory-gate 10/10;7 个兼容回归 105/105;
配置解析链在本机实测命中 <DSH_HOME>/03_local/local.json -> 云状态 git 仓路径
|
2026-11-18 14:32:15 +08:00 |
|
wangheng
|
ff1abee438
|
fix: 恢复成功后整体替换待写队列,修首屏自愈抢跑写空
|
2026-11-02 23:30:30 +08:00 |
|
wangheng
|
8ae28b9a92
|
fix: 状态镜像防冲掉——服务端按 key 合并,客户端读不到宿主就不写
|
2026-11-02 23:14:04 +08:00 |
|
wangheng
|
a870f74875
|
fix(desktop): 状态镜像到宿主侧,修复随机端口导致重启丢数据
|
2026-11-02 18:20:16 +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
|
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
|
30b694341b
|
feat: native DSH skin template (dshell.css/html served at /api/worktable/template) + knowledge pack mandates it for generated HTML
|
2026-08-19 23:54:26 +08:00 |
|
Aisland
|
a4d5646f1d
|
fix: terminal garbled glyph + clipped long lines (spawn powershell with -NoProfile, force DECAWM wrap, Cascadia font)
|
2026-08-19 23:28:49 +08:00 |
|
Aisland
|
696f8070b9
|
feat: anim pane type + bind button redesign (aligned double-circle icon, status popup) + auto-bind rule + workspaces route BOM tolerance
|
2026-08-19 01:55:36 +08:00 |
|
Aisland
|
7b3388bfff
|
feat: group option in new-conversation pane (join existing / create new workspace via mkdir route)
|
2026-08-18 23:27:16 +08:00 |
|
Aisland
|
a84cb12c5f
|
feat: 会话下拉按用户面板工作区分组(optgroup分隔)+排除子代理/archived会话(新增只读workspaces路由)
|
2026-08-18 11:11:36 +08:00 |
|
Aisland
|
20f34fecbf
|
feat: MD编辑模式(预览/编辑切换+保存回磁盘,新增POST /api/worktable/write路由)
|
2026-08-18 00:44:48 +08:00 |
|
Aisland
|
1e9fb1e27f
|
fix: site路由rootToken漏decode导致not found(目录token现decodeURIComponent)
|
2026-08-18 00:04:20 +08:00 |
|
Aisland
|
ded6242548
|
feat: 本地站点目录级托管(/api/worktable/site前缀路由) 资源管理器点html完整渲染相对资源
|
2026-08-17 23:39:06 +08:00 |
|
Aisland
|
eaaef0945e
|
feat: 文件预览(MD渲染/TXT/PDF/图片 + 标签去重) + 预设3改左二右一对话 + 服务端MIME补pdf/markdown
|
2026-08-17 22:21:13 +08:00 |
|
Aisland
|
3fe012132e
|
fix: 终端shell改PowerShell(pwd/ls可用) + 浏览器默认页改example.com(可嵌入) + marker回显验证
|
2026-08-17 20:48:13 +08:00 |
|
Aisland
|
f83aa1d589
|
fix: file路由readFile改promise版 + 终端客户端自动聚焦(实机pwd已验证服务端通)
|
2026-08-17 20:45:29 +08:00 |
|
Aisland
|
825730c54c
|
fix: fs路由resolve引用错误 + 终端升级路由改同步ctx.effect注册(E2E验证pwd回显)
|
2026-08-17 12:54:40 +08:00 |
|
Aisland
|
dcb75d78cc
|
feat: 内容窗收敛4项 + 终端loadPkg修复(E2E验证) + 文件路由 + 标签跨窗拖动吸附 + 自动化测试
|
2026-08-17 12:49:27 +08:00 |
|
Aisland
|
eabd367e48
|
feat: 树形资源管理器(SVG图标/懒展开) + 任务窗子代理区 + 终端依赖loadPkg解析修复
|
2026-08-17 12:28:32 +08:00 |
|
Aisland
|
e2b43c475b
|
feat: 功能窗标签页模型(多标签/关闭回选择器)+ 服务端会话cwd解析(fs/git/term)
|
2026-08-17 12:19:08 +08:00 |
|
Aisland
|
981c2acfb3
|
feat: 五个功能窗第一版(资源管理器/SCM/任务/终端/浏览器,照搬 better-sidebar 架构)
|
2026-08-17 11:47:35 +08:00 |
|
Aisland
|
d58cbc583b
|
checkpoint: dsh-worktable v2 稳定版(PRD §10 全部定案并实现)
|
2026-08-16 23:34:22 +08:00 |
|