自 v0.12.0 以来,dsh-TUI 完成了侧边栏的一轮大改版:新面板、可互动的宠物、鼠标操作与启动页吉祥物一并就位;主题选择支持实时预览,后台任务卡按组折叠,输入历史按项目隔离,并修正了缓存计价等一批统计与输入问题。
亮点
- 侧栏大改版:新增信息(ⓘ)、轨迹(∿)、工作目录(⌗)三个面板,面板标签支持点击与悬停、⤢ 一键全屏,侧栏文字可直接框选复制。#1255
- 宠物与启动页吉祥物:宠物沉底常驻、可拖动互动、通知改为气泡、新增鲸娘皮肤;启动页也有吉祥物坐镇。#1255
- 主题实时预览:主题选择器旁实时渲染代码与工具卡预览,改主题不必再来回试探。#1166
- 任务卡成组:连续的后台任务卡自动成组折叠(圆角组框、组头汇总),长行自动换行,点击卡片直达 /jobs 详情。#1213 #1219
- Ctrl+Z 草稿撤销:输入框里的 Ctrl+Z 从挂起 TUI 改为词级撤销草稿,误删内容可一步步找回。#1233
- 历史按项目隔离:↑/↓ 与 Ctrl+R 的输入历史只记当前项目,不再被其它仓库的命令刷屏。#1248
修复
- raw-mode 切换不再重置 stdin 的 UTF-8 解码器,中文输入不会在切换后变乱码。#1280
- 缓存分项改按不重叠口径计价,状态栏花费估算修正了约 2.7 倍的低估。#1253
- 上下文占用统一读取内核 contextPressure 投影,状态栏、活动行与 /tokens 口径一致,token 估算对中日韩文本更准确。#1173 #1179
- 分片的 SGR 鼠标上报不再误入输入框;WSL 粘贴重试有上限,位图解码不再卡死。#1226 #1147
- 自更新更稳:版本年龄门禁豁免锁定与目标版本,替换进程的 stdin 保持 raw 交接。#1218 #1206
- 落定的思考 spinner 正常停住;状态栏悬停详情不再显示未上报的缓存分段;statusBar.cost 开关可持久化。#1184 #1176 #1164
- doctor 不再把旧版根配置 ~/.dsh-tui/cordis.yml 报成缺失;markdown 自动文件链接要求文本边界,误链接减少。#1243 #1182
- 编辑层 Esc 与首屏按键监听顺序稳定;落地页 /plan 不再被误判不可用。#1157 #1180
- 高兴鲸娘立绘重抠,去掉边缘白晕。#1210
性能与构建
文档
安装
npm install -g @deepseek-ai/dsh @deepseek-harness-tui/dsh-tui@0.13.0What's Changed
- fix(assets): recut the happy maid portrait to remove the white fringe by @ccch1mneyyy in #1210
- fix(update): keep the replacement TUI's stdin raw across the handoff by @2813892719 in #1206
- feat(jobs): 连续任务卡成组折叠 + 长行自动换行,点击卡片聚焦 /jobs by @ccch1mneyyy in #1213
- fix(clipboard): bound WSL paste retries and bitmap decoding by @xuzijian2019 in #1147
- fix(update): exempt both locked and target versions from release-age gate (#1205) by @zouyuxuan122 in #1218
- fix(input): keep fragmented SGR mouse reports out of the prompt(分片鼠标上报不再落进输入框) by @baobaolaodie in #1226
- fix(supervisor): clarify workspace history and actions by @xuzijian2019 in #1153
- docs(guide): sync bundled user guides(同步指南副本修复 CI) by @CikeSeven in #1230
- fix(input): stabilize listener order and preserve editor Esc(稳定首屏监听与编辑层 Esc) by @MomentDerek in #1157
- perf(build): parallelize verify:build and stop repeating CI work by @ccch1mneyyy in #1238
- ci(gates): read terminal size only through useTerminalSize() outside ink/ by @ccch1mneyyy in #1240
- feat(history): scope ↑/↓ and Ctrl+R input history to the current project by @ccch1mneyyy in #1248
- docs(readme): note the official lead's first recommended community plugin by @T-Auto in #1249
- fix(input): make Ctrl+Z a word-level draft undo instead of suspending the TUI by @Lucas2011wastaken in #1233
- feat: 侧栏大轮次——新面板/宠物全面改造/启动页吉祥物/渲染与选择修复 + 落地页帮助盖屏 by @ccch1mneyyy in #1255
- docs(profile): TUI 准入规范内联为仓内纯文件 tui-profile/,取消 dsh-ecosystem-spec submodule 挂载 by @T-Auto in #1256
- chore: remove three unreferenced root files (splash.png, wechat-group3.jpg, .npmignore) by @T-Auto in #1257
- fix(context): read context occupancy from the official contextPressure projection (failed turns included) by @T-Auto in #1173
- fix(context): make the segmented token estimate CJK-aware by @T-Auto in #1179
- fix(commands): derive per-agent command capabilities and stop advertising unavailable ones by @T-Auto in #1180
- fix(settings): declare statusBar.cost in Config so the toggle persists by @xiaoxiaohaigui in #1164
- fix(statusline): hide unreported cache-split segments in the hover detail by @xiaoxiaohaigui in #1176
- fix(markdown): require text boundaries for automatic file links by @xuzijian2019 in #1182
- fix(doctor): stop flagging the legacy ~/.dsh-tui/cordis.yml as missing(不再把裸组合时代的根配置报成缺失) by @xiaoxiaohaigui in #1243
- fix(cost): price cache tokens as disjoint counts(缓存分项按不重叠口径计价,修正状态栏花费估算少算约 2.7 倍) by @baobaolaodie in #1253
- fix(thinking): 停止已结束思考块的旋转符号 by @xuzijian2019 in #1184
- fix(jobs): 任务组改用圆角括号(只括任务卡,不多占行) by @ccch1mneyyy in #1219
- feat(theme): live code and tool-card preview beside the theme picker by @AdamPlatin123 in #1166
- fix(scripts): stop sync-profile from writing through hardlinks by @T-Auto in #1262
- chore(profile): 上游 dsh-std 迁移至 T-Auto/dsh-std,同步 Profile 与 vendor 挂载链接 by @T-Auto in #1265
- fix(input): keep the stdin UTF-8 decoder across raw-mode toggles by @wp3171216237 in #1280
- docs: add maintainers and contributors sections to both READMEs by @T-Auto in #1292
- chore(release): prepare v0.13.0 by @ccch1mneyyy in #1309
New Contributors
- @2813892719 made their first contribution in #1206
- @Lucas2011wastaken made their first contribution in #1233
- @wp3171216237 made their first contribution in #1280
Full Changelog: v0.12.0...v0.13.0