Commit Graph

9 Commits

Author SHA1 Message Date
Cheng Zhou 2df8d60172 手动选择环境与配置不一致时自动更新 .ctms-env
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 22:26:54 +08:00
Cheng Zhou b83c900109 环境菜单标题显示已识别的环境名
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 22:23:50 +08:00
Cheng Zhou 20b414e741 环境菜单默认项显示为 dev(默认) 格式,操作菜单移除标签
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 22:22:36 +08:00
Cheng Zhou a81647a4f8 环境菜单中对自动识别的默认项标注 [自动]
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 22:18:11 +08:00
Cheng Zhou b72b5314a0 环境选择菜单始终显示,.ctms-env 配置作为默认选中项
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 22:14:05 +08:00
Cheng Zhou b126a759f0 有 .ctms-env 配置时直接展示部署环境,跳过选择菜单
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 22:09:46 +08:00
Cheng Zhou 05cd74fd43 修复滚动更新跳过环境选择的问题
.ctms-env 有配置时不再自动采用,改为作为菜单默认选中项,
用户仍可切换到其他环境。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 22:07:34 +08:00
Cheng Zhou 4bbc234b53 同步工作区更新:优化安装脚本与更新脚本,添加文档与测试脚本 2026-06-23 17:18:34 +08:00
Cheng Zhou efc325568d 美化终端脚本 UI 并修复对齐与闪屏
- 配色体系:256 色语义色板(primary/accent/success/warn/danger)与统一图标常量
- 修复右边框对齐:ctms_text_width 用 perl 精确计算显示宽度,剥离 sgr0 的 \e(B 序列
- 修复菜单闪屏:改用光标归位原地覆盖重绘,去掉每帧清屏
- 美化各面板:install.sh banner/确认/成功框、根菜单、status.sh 资源表格,标签列对齐
- 新增 ctms_pad_right 按显示宽度填充含中文标签

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 15:24:22 +08:00