Skip to content

Commit 513286c

Browse files
authored
New version: dreamlonglll.Mini-Term version 0.4.20 (microsoft#380809)
1 parent 9343ccb commit 513286c

4 files changed

Lines changed: 175 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Created with YamlCreate.ps1 Dumplings Mod
2+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.12.0.schema.json
3+
4+
PackageIdentifier: dreamlonglll.Mini-Term
5+
PackageVersion: 0.4.20
6+
UpgradeBehavior: install
7+
ReleaseDate: 2026-05-28
8+
Installers:
9+
- Architecture: x64
10+
InstallerType: nullsoft
11+
Scope: user
12+
InstallerUrl: https://github.com/dreamlonglll/mini-term/releases/download/v0.4.20/Mini-Term_0.4.20_x64-setup.exe
13+
InstallerSha256: 86FEC1D982CDCD585B798C056E8406227F775C11B002EE200F1D3D557E6F682C
14+
ProductCode: Mini-Term
15+
- Architecture: x64
16+
InstallerType: wix
17+
Scope: machine
18+
InstallerUrl: https://github.com/dreamlonglll/mini-term/releases/download/v0.4.20/Mini-Term_0.4.20_x64_en-US.msi
19+
InstallerSha256: F839B82E2A5A01AFC1E401530A98DAE271C9EE397BD61B904426E73E64C2B52B
20+
InstallerSwitches:
21+
InstallLocation: INSTALLDIR="<INSTALLPATH>"
22+
ProductCode: '{6B9DE6AA-98D6-4C0E-AC52-D13F24CFD9AD}'
23+
AppsAndFeaturesEntries:
24+
- UpgradeCode: '{508EBA6B-F86F-54E3-A17E-094DDF898583}'
25+
ManifestType: installer
26+
ManifestVersion: 1.12.0
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Created with YamlCreate.ps1 Dumplings Mod
2+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.locale.1.12.0.schema.json
3+
4+
PackageIdentifier: dreamlonglll.Mini-Term
5+
PackageVersion: 0.4.20
6+
PackageLocale: en-US
7+
License: Freeware
8+
ShortDescription: Desktop Terminal Manager Built for the AI Era
9+
Description: |-
10+
An AI terminal management tool supporting multi-project, multi-terminal layout management
11+
12+
Features
13+
Terminal Core
14+
- Multi-tab management — Independent tabs per project, drag-to-sort, status icons at a glance
15+
- Recursive splitting — Horizontal/vertical nested splits, Allotment drag-to-adjust ratios
16+
- High-performance rendering — xterm.js v6 + WebGL acceleration, automatic Canvas fallback
17+
- 100K-line scrollback — Intercepts CSI 3J (ED3) commands, preserves scrollback history when Claude/Codex TUIs clear screen
18+
- Terminal caching — Switching tabs/splits without rebuilding xterm instances, existing content preserved
19+
- Copy & paste — Ctrl+Shift+C / Ctrl+Shift+V shortcuts + right-click menu, "Copy" auto-grayed when no selection; Windows large multi-line paste auto-chunked to prevent ConPTY line loss
20+
- Long text paste — Clipboard text ≥10 lines or ≥2000 chars auto-saved as temp .txt and pastes quoted file path, avoiding AI tool performance and paste bracket issues with ultra-long content
21+
- Image paste — Auto-detects screenshots in clipboard, saves as temp PNG via Win32 API and pastes quoted path, compatible with non-standard formats like PinPix
22+
- File drag-drop — Files dragged to terminal auto-insert quoted absolute paths, compatible with spaces-in-path
23+
- Multi-Shell config — Windows (cmd / powershell / pwsh), macOS (zsh / bash), Linux (bash / sh), freely add/remove
24+
AI Process Awareness
25+
- Real-time status detection — 500ms polling child process names, auto-identifies Claude/Codex, displays idle/working/error states
26+
- Status aggregation — Panel → Tab → Project layered aggregation, priority: error > ai-working > ai-idle > idle
27+
- Completion alert trio — Triggers immediately when AI task goes working → idle:
28+
- Bottom-right Toast desktop notification (inactive projects only, deduplicated per project)
29+
- Project list DONE badge, click to clear
30+
- Taskbar flash (Windows) / Dock bounce (macOS), only when window unfocused
31+
- Three toggles independently configurable
32+
- Session entry/exit detection — Command echo identifies AI entry; double Ctrl+C / Ctrl+D or exit/quit/:quit/logout identifies exit
33+
- Session history — Reads local Claude/Codex session history, right-click copy recovery command for quick resumption
34+
- AI task markers — Auto-logs xterm on each Enter press in AI session, tab top-right ⚑ button drops down history submission list, click or Ctrl+Shift+↑/↓ to jump between markers, target line briefly highlighted
35+
Project Management
36+
- Project list — Left sidebar manages multiple project directories, one-click workspace switch, auto-restores last active project on restart
37+
- Drag-to-add projects — Drag folders from Explorer to project list for quick add, auto-identifies files/folders/duplicates with visual feedback
38+
- Nested groups — Up to 3-level project grouping, drag-to-sort, collapse/expand
39+
- File tree — Integrated directory browser, nested .gitignore grayed out (per-subdirectory ignore rules and !pattern whitelists respected, consistent with git behavior), notify file watcher real-time refresh
40+
- File operations — New file/folder, rename, view content in file tree (binary and oversized file friendly prompts)
41+
- VS Code quick open — File tree top-right button opens current project with configured VS Code executable, path customizable in "Settings → System Settings → External Editor"
42+
Git Integration
43+
- File status — Git status colors in file tree (modified/added/deleted/conflict)
44+
- Change Diff — Detailed Diff for working directory changes, Hunk line-level parsing, side-by-side/inline dual view
45+
- Commit history — Browse repository commit log, cursor pagination (default 30 items)
46+
- Commit Diff — View file changes for any commit, per-file switching
47+
- Branch info — Local/remote branch list
48+
- Source control panel — VS Code-style Changes panel, Staged/Changes/Untrackedg grouping, single-file and bulk stage/unstage/discard, Ctrl+Enter quick commit, list/tree view toggle
49+
- Pull/Push — In-line repository buttons for one-click remote sync, refresh button reloads commit history and branch info
50+
- Multi-repo discovery — Auto-scans all Git repositories under project directory (recursive 5 levels, skips node_modules, etc.)
51+
Appearance & Configuration
52+
- Activity Bar sidebar — Leftmost permanent 40px icon bar, Projects/Sessions/Files/Git panel toggles, independent show/hide control, active state blue vertical bar indicator, state persistence
53+
- Three theme modes — Auto (follow system)/Light/Dark, dark based on Warm Carbon warm charcoal tones, custom CSS variable system
54+
- Independent font adjustment — UI and terminal font sizes separately adjustable (10-20px), terminal optional UI theme following
55+
- Layout persistence — Split ratios, tabs, window size/position auto-saved and restored on restart (tauri-plugin-window-state)
56+
- Close confirmation — Pre-close confirmation dialog, flushes all project layouts to prevent accidental operations
57+
- Version check — Fetches GitHub Release on startup, title bar shows new version notification
58+
- Settings center — Unified SettingsModal manages themes, fonts, Shell, AI notifications and all other toggles
59+
ManifestType: locale
60+
ManifestVersion: 1.12.0
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Created with YamlCreate.ps1 Dumplings Mod
2+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.12.0.schema.json
3+
4+
PackageIdentifier: dreamlonglll.Mini-Term
5+
PackageVersion: 0.4.20
6+
PackageLocale: zh-CN
7+
Publisher: tauri-app
8+
PublisherUrl: https://github.com/dreamlonglll
9+
PublisherSupportUrl: https://github.com/dreamlonglll/mini-term/issues
10+
PackageName: Mini-Term
11+
PackageUrl: https://github.com/dreamlonglll/mini-term
12+
License: 免费软件
13+
ShortDescription: 为 AI 时代打造的桌面终端管理器
14+
Description: |-
15+
一个 AI 终端管理工具,支持多项目、多终端布局管理
16+
17+
功能特性
18+
终端核心
19+
- 多标签管理 — 每个项目独立标签页,拖拽排序,状态图标一目了然
20+
- 递归分屏 — 横向 / 纵向任意嵌套分屏,Allotment 拖拽调整比例
21+
- 高性能渲染 — xterm.js v6 + WebGL 加速,自动降级为 Canvas
22+
- 10 万行滚动缓冲 — 拦截 CSI 3J(ED3)指令,Claude / Codex 等 TUI 清屏时保留上滚历史
23+
- 终端缓存 — 切换标签 / 分屏不重建 xterm 实例,已有内容不丢失
24+
- 复制粘贴 — Ctrl+Shift+C / Ctrl+Shift+V 快捷键 + 右键菜单,未选中时"复制"自动置灰;Windows 大段多行粘贴自动分块写入,防止 ConPTY 丢行
25+
- 长文本粘贴 — 剪贴板文本 ≥10 行或 ≥2000 字符时自动转存为临时 .txt 并粘贴带引号的文件路径,避免 AI 工具直接处理超长内容引发性能与 paste bracket 问题
26+
- 图片粘贴 — 剪贴板含截图时自动检测,通过 Win32 API 保存为临时 PNG 并粘贴带引号的路径,兼容 PinPix 等非标准格式
27+
- 文件拖拽 — 文件拖到终端自动插入带引号的绝对路径,兼容含空格的路径
28+
- 多 Shell 配置 — Windows(cmd / powershell / pwsh)、macOS(zsh / bash)、Linux(bash / sh)等,可自由增删
29+
AI 进程感知
30+
- 实时状态检测 — 500ms 轮询子进程名,自动识别 Claude / Codex,显示 idle / working / error 状态
31+
- 状态聚合 — 面板 → 标签页 → 项目逐层聚合,优先级 error > ai-working > ai-idle > idle
32+
- 完成提醒三件套 — AI 任务从 working → idle 时立刻触发:
33+
- 右下角 Toast 桌面通知(仅非活跃项目弹出,同项目去重)
34+
- 项目列表 DONE 徽章,点击清除
35+
- 任务栏闪烁(Windows)/ Dock 跳动(macOS),窗口失焦时才触发
36+
- 三个开关独立可配
37+
- 会话进出检测 — 命令 echo 识别进入 AI;双击 Ctrl+C / Ctrl+D 或 exit / quit / :quit / /logout 识别退出
38+
- 会话历史 — 读取本地 Claude / Codex 历史会话记录,右键复制恢复命令快速续接
39+
- AI 任务标记 — AI 会话内每次用户按 Enter 自动在 xterm 打点,标签右上角 ⚑ 按钮下拉展示历史提交列表,点击或 Ctrl+Shift+↑/↓ 在标记间跳转,目标行短暂高亮提示
40+
项目管理
41+
- 项目列表 — 左侧边栏管理多个项目目录,一键切换工作区,重启自动恢复上次激活项目
42+
- 拖拽添加项目 — 从资源管理器拖拽文件夹到项目列表即可快速添加,自动识别文件 / 文件夹 / 重复项目并给出视觉反馈
43+
- 嵌套分组 — 最多 3 级项目分组,拖拽排序,折叠 / 展开
44+
- 文件树 — 集成目录浏览器,嵌套 .gitignore 置灰(每层子目录的忽略规则与 !pattern 白名单都会生效,与 git 行为一致),notify 文件监听实时刷新
45+
- 文件操作 — 文件树内新建文件 / 文件夹、重命名、查看内容(二进制与超大文件友好提示)
46+
- VS Code 快捷打开 — 文件树右上角按钮一键用配置的 VS Code 可执行文件打开当前项目,路径可在「设置 → 系统设置 → 外部编辑器」自定义
47+
Git 集成
48+
- 文件状态 — 文件树显示 Git 状态颜色(修改 / 新增 / 删除 / 冲突)
49+
- 变更 Diff — 工作区文件变更的详细 Diff,Hunk 行级解析,并排 / 内联双视图
50+
- 提交历史 — 浏览仓库提交记录,游标分页加载(默认 30 条)
51+
- 提交 Diff — 查看任意提交的文件变更,逐文件切换
52+
- 分支信息 — 本地 / 远程分支列表
53+
- 源码控制面板 — VS Code 风格 Changes 面板,Staged / Changes / Untracked 分组展示,支持单文件和全量 stage / unstage / discard,Ctrl+Enter 快速提交,列表与树形视图切换
54+
- Pull / Push — 仓库行内按钮一键同步远端,支持刷新按钮重新加载提交记录与分支信息
55+
- 多仓库发现 — 自动扫描项目目录下所有 Git 仓库(递归 5 层,跳过 node_modules 等)
56+
外观与配置
57+
- Activity Bar 侧边栏 — 最左侧常驻 40px 图标栏,含 Projects / Sessions / Files / Git 四个面板开关,独立控制显隐,激活态蓝色竖条指示,状态持久化
58+
- 三种主题模式 — Auto(跟随系统)/ Light / Dark,深色基于 Warm Carbon 暖炭色调,自定义 CSS 变量体系
59+
- 字体独立调节 — UI 与终端字号分别可调(10-20px),终端可选是否跟随 UI 主题
60+
- 布局持久化 — 分屏比例、标签页、窗口大小 / 位置自动保存,重启恢复(tauri-plugin-window-state)
61+
- 关闭确认 — 关闭窗口前二次确认,并 flush 所有项目布局,避免误操作
62+
- 版本检查 — 启动时拉取 GitHub Release,标题栏显示新版本提示
63+
- 设置中心 — 统一的 SettingsModal 管理主题、字体、Shell、AI 通知等所有开关
64+
ReleaseNotes: |-
65+
更新内容
66+
新增
67+
- Fluent 2 皮肤 — 设置 → 外观新增「Fluent 2」选项,整体切到 Windows 11 风格视觉:柔和渐变背景配双层 radial-gradient「天光」、亚克力玻璃面板(backdrop-filter: blur(24px) saturate(140%))、Fluent 蓝主色(深色 #4cc2ff / 浅色 #0067c0)、清晰圆角与高光描边。File tree hover、button hover、scrollbar、Allotment 分隔条 hover 全套带 Fluent 缓动曲线(cubic-bezier(0.33, 0, 0.67, 1),180ms)。深/浅主题各自独立色板,终端配色随「终端跟随主题」切到 Fluent 专属色板。
68+
修复
69+
- Fluent 2 下右键 Session / Git 查看弹窗位置异常 — 启用 Fluent 2 后右键 Session 列表项「查看」、右键 Git 提交「查看」弹出的 modal 不再页面正中铺满,而是「挤」在对应面板的内容区域里,看起来像窗口被截断了一半。根因:Fluent 2 给 [data-panel] 加 backdrop-filter: blur(...) 实现亚克力玻璃,而 CSS 规范规定祖先有 backdrop-filter / transform / filter / perspective / will-change / contain 等属性时即成为后代 position: fixed 的 containing block —— modal 的 fixed inset-0 不再贴 viewport 而是贴面板边界。本版把挂在面板子树内的 7 个 modal(SessionViewer / CommitDiff / FileViewer / Diff / ProjectEnvVars / SshAssoc + ProjectList 内联删除确认)统一改用 createPortal(jsx, document.body) 渲染到 body 子节点,彻底绕开任何祖先的 containing block 拽拉,以后任何主题在祖先链加 containing-block-触发属性都不会再复现。
70+
- Fluent 2 亚克力面板内嵌 SessionList / GitHistoryContent 子容器实色背景破坏玻璃感 — Fluent 2 下 SessionList 与 Git 历史内容区子容器自带 bg-[var(--bg-surface)] 实色,叠在半透明亚克力面板内部呈现「面板里又套了一块深色矩形」,破坏整体玻璃感。本版加 [data-skin="fluent2"] [data-panel] .bg-[var(--bg-surface)]:not(.sticky) 透明覆盖让子容器继承面板亚克力底色,保留 GitHistoryContent sticky 表头实色避免滚动穿透。
71+
- v0.4.19 atlas glyph 错位乱码 _isPaused 拦截路径兜底 — v0.4.19 修复多 Claude Code 终端共享 atlas 同时乱码后,仍偶发单行/部分行换字型乱码(中文/数字变拉丁字母组合),切走再切回 tab 时部分行不自愈,必须 resize 才能恢复。根因:xterm.js core RenderService 自带 IntersectionObserver 监视 screenElement,wrapper.remove 后 _isPaused=true,atlas 事件路径的 term.refresh 全被 refreshRows 吞掉只设 _needsFullRefresh;切回 tab 时虽自动 flush 一次 refreshRows,但 partial _updateModel(start, end) 不覆盖含旧 glyph 坐标的行 → 表现为单行/部分行换字、不会自愈。本版在 TerminalInstance mount 第三层 rAF + visibilityObserver intersecting 回调内调 clearAtlasForPty(ptyId)(内部走 webglAddon.clearTextureAtlas() + 全行 _clearModel / _updateModel(0, rows-1) 重写所有 cell glyph 坐标),绕开 _isPaused 期间被吞的 term.refresh 残留;事件路径保留 term.refresh 不切 clearTextureAtlas,避免可见终端因 vertex buffer / lineLengths 全 fill(0) 出现 < 1 帧空白闪烁。新增可开关诊断日志 localStorage.miniterm.atlasDebug='1' 触发 atlas-event / clear-atlas console.log(含 reason / cacheSize / 各终端 isPaused 反射读 RenderService 私有字段),默认 OFF 不污染普通用户控制台。
72+
下载
73+
- Windows — Mini-Term_0.4.20_x64-setup.exe(NSIS,推荐)或 Mini-Term_0.4.20_x64_en-US.msi
74+
- macOS (Apple Silicon) — Mini-Term_0.4.20_aarch64.dmg(首次启动需在终端运行 xattr -cr /Applications/Mini-Term.app 解除 Gatekeeper quarantine)
75+
- Linux — Mini-Term_0.4.20_amd64.AppImage / Mini-Term_0.4.20_amd64.deb / Mini-Term-0.4.20-1.x86_64.rpm
76+
平台支持:Windows 为主要支持平台,日常开发与测试均在 Windows 上进行;macOS / Linux 代码层面已支持,但未经充分打磨,可用性欠佳,欢迎提 Issue 反馈。
77+
78+
完整 commits: https://github.com/dreamlonglll/mini-term/compare/v0.4.19...v0.4.20
79+
ReleaseNotesUrl: https://github.com/dreamlonglll/mini-term/releases/tag/v0.4.20
80+
ManifestType: defaultLocale
81+
ManifestVersion: 1.12.0
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Created with YamlCreate.ps1 Dumplings Mod
2+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.12.0.schema.json
3+
4+
PackageIdentifier: dreamlonglll.Mini-Term
5+
PackageVersion: 0.4.20
6+
DefaultLocale: zh-CN
7+
ManifestType: version
8+
ManifestVersion: 1.12.0

0 commit comments

Comments
 (0)