Repository navigation
v1.0.1
MiseDeck v1.0.1
MiseDeck 1.0.1 — the first patch after 1.0.0.
Most of this release is the post-GA audit batch. The items under "From a real install" are the three that only showed up after 1.0.0 was actually installed and used on a Windows 11 machine, which is what this patch is mostly about.
Fixed in 1.0.1
From a real install
- A release build can no longer package a test fixture instead of the app.
tauri buildcompiles withcargo build --binsand then packages "the" app binary; with the app and two test harnesses in the same package it picked a harness, producing a 262 KB installer that printedno fixture for slugand exited 0. NeithermainBinaryNamenor-- --bin misedecksteered it. The harnesses now sit behind afixturesfeature, so a release build contains exactly one binary. (The released 1.0.0 installer was never affected — 2.7 MB — but nothing stopped CI.) - The activation banner names the PowerShell you actually have. It always pointed at pwsh 7's
Documents/PowerShell/…, so on a machine with only Windows PowerShell 5.1 — which readsDocuments/WindowsPowerShell/…and never opens that file — the instruction could not be followed. The prompt now followswhere pwsh.exe; both profiles stay in the candidate list. - The Home page's update dialog no longer prints
-C $HOME. It readmise -C $HOME self-update --yes, which is the runner's internal anchor, not something anyone types. It now showsmise self-update --yeswith the same "Working directory: ~ (home)" line every other command gets. - The Home page's raw output block prints its label once, not twice. The block that the disclosure reveals is now a
role="region"named by its own trigger.
Correctness
- Tasks: inline editing is gated to lossless, in-scope tasks.
- Env: parent configs no longer leak into directory-scoped writes; trust parsing hardened.
- Tools: a version that was requested but is missing shows as missing instead of being papered over; remote lists refresh.
- Data: wrong-shaped read payloads are rejected and surfaced instead of rendering as a healthy-looking blank screen.
- Overview preview: parent configs are distinguishable from Global.
- Plugins: installed plugins show their ref and commit.
- Reads dispatched from the execution panel run with
MISE_SAFE. - Streaming output is capped with a typed truncation event; Windows shell detection fixed.
- Layout: Tasks and Settings tables stay usable at 900×600 and 1200×720.
- Settings: "Show all" lists defaults in Directory mode.
Keyboard and dialogs
- Escape now reaches a confirm dialog nested inside the form that opened it.
- A bundle of keyboard and control-state polish: focus rings, tooltip tab stops, disabled-state contrast, nested interactives.
Under the hood
- The line reader retries an interrupted read instead of treating
EINTRas end of input — a path that dropped the pipe's read end, SIGPIPE'd the child, and reportedexited with status -1. terminate_allcan no longer kill a neighbouring test's child process; tests that can see the process-global registry are serialized.- CI: least-privilege workflow permissions, SHA-pinned actions, a
clippy -D warningsgate, and a failure digest that names the failing test. - Release notes for lightweight tags render the curated template instead of the commit message.
Install
GitHub Releases is the only distribution channel (per ADR-0002).
- macOS (Apple Silicon): download the
.dmg, open it, drag MiseDeck to Applications. The build is not notarized — after installing, clear the quarantine flag once:xattr -dr com.apple.quarantine /Applications/MiseDeck.app. - Windows x64 (beta): run the
.exe. It installs per-user into%LOCALAPPDATA%with no administrator rights; uninstall from Settings → Apps. The build is not code-signed, so SmartScreen shows "Windows protected your PC" — More info → Run anyway. - Linux (beta):
.deb,.rpm, or.AppImage. Built against Ubuntu 22.04; needs WebKitGTK 2.40+.
Verify
SHA256SUMS is attached below and lists every asset in this release. Run it from the folder you downloaded into:
shasum -a 256 -c SHA256SUMS # macOS
sha256sum -c SHA256SUMS # LinuxOn Windows, hash one file at a time: Get-FileHash -Algorithm SHA256 .\MiseDeck_1.0.1_x64-setup.exe.
Notes
- Builds are unsigned on every platform, by design. Windows and Linux remain beta: Windows has been exercised end-to-end on one real machine (and its installer now installed there), Linux has not been run on a real desktop yet.
- Update checks shell out to
curl, which ignores the Windows system proxy — sethttps_proxyon a machine that reaches GitHub only through one. - MiseDeck is a community project, not affiliated with or endorsed by the official mise project.
MiseDeck 1.0.1(简体中文)
1.0.0 之后的第一个补丁版本。主体是发版后审计修掉的正确性问题,而「真机安装后才暴露」的那三项是这一版的重点。
本次更新
真机安装后暴露的问题
- 打包不会再拿测试 fixture 当应用。
tauri build用cargo build --bins编译后要打包「那个」应用二进制;同一个包里还有两个测试 harness 时它会挑错,产出 262 KB、运行只打印no fixture for slug的安装包。mainBinaryName与-- --bin misedeck都管不住它。现在两个 harness 由fixtures特性门控,release 构建里只剩一个二进制。(正式发布的 1.0.0 安装包没有中招,但 CI 也没有任何东西拦着它。) - 激活提示会指向你真正装着的那个 PowerShell。 之前无条件指向 pwsh 7 的
Documents/PowerShell/…;只装了 Windows PowerShell 5.1 的机器读的是Documents/WindowsPowerShell/…,那个文件根本不会被打开,照做也没用。现在由where pwsh.exe决定报哪一个,两个 profile 仍在候选里。 - 首页更新弹窗不再打印
-C $HOME。 之前显示mise -C $HOME self-update --yes——那是 runner 内部锚定,不是人在终端里会敲的命令。现在显示mise self-update --yes,并和其余命令一样带「运行目录:~(主目录)」这一行。 - 首页原始输出展开后不再重复标签。 展开的内容改成
role="region",由触发按钮命名。
正确性
- 任务页:内联编辑只对无损、作用域正确的任务开放。
- 环境变量页:父级配置不再泄漏进目录作用域的写入;trust 解析加固。
- 工具页:请求了但缺失的版本如实显示为缺失;远程列表可刷新。
- 数据层:结构不对的读取负载会被拒绝并报错,而不是渲染成「看起来正常」的空页。
- 概览预览:父级配置与全局不再混淆。
- 插件页:显示插件的 ref 与 commit。
- 执行面板发起的读取走
MISE_SAFE。 - 流式输出加上限并带类型化截断事件;修正 Windows shell 探测。
- 布局:Tasks / Settings 表格在 900×600 与 1200×720 下仍可用。
- 设置页:「显示全部」在目录模式下也会列出默认值。
键盘与弹窗
- Esc 现在能到达嵌套在表单里的确认弹窗。
- 一批键盘与控件状态打磨:焦点环、Tooltip 的 tab 停靠、禁用态对比度、嵌套交互。
底层
- 行读取线程遇到被中断的读取会重试,而不是当成输入结束——那条路径会关掉管道读端、让子进程吃 SIGPIPE,最终报
exited with status -1。 terminate_all不会再误杀邻居测试的子进程;能看见进程级全局注册表的测试已串行化。- CI:最小权限、action 按 SHA 固定、
clippy -D warnings门禁、失败摘要直接点出失败的测试名。 - lightweight tag 也会渲染整理好的发布说明模板,而不是直接拿提交信息当正文。
安装
- macOS(Apple Silicon):下载
.dmg,打开后把 MiseDeck 拖进「应用程序」。构建未公证,装好后执行一次xattr -dr com.apple.quarantine /Applications/MiseDeck.app。 - Windows x64(beta):运行
.exe,按用户装进%LOCALAPPDATA%,不需要管理员权限;卸载走「设置 → 应用」。构建未签名,SmartScreen 会拦一次:更多信息 → 仍要运行。 - Linux(beta):
.deb/.rpm/.AppImage。以 Ubuntu 22.04 为构建基准,需要 WebKitGTK 2.40+。
校验
本 release 附带 SHA256SUMS,覆盖全部资产;在下好包的目录里执行 shasum -a 256 -c SHA256SUMS(macOS)或 sha256sum -c SHA256SUMS(Linux)。Windows 上逐个文件核对:Get-FileHash -Algorithm SHA256 .\MiseDeck_1.0.1_x64-setup.exe。
说明
- 各平台构建均未签名,这是既定方案。Windows 与 Linux 仍标为 beta:Windows 已在一台真机上完整走通、安装包也已在该机器上安装,Linux 尚未在真实桌面运行过。
- 更新检查走
curl,不读 Windows 系统代理——只能靠代理访问 GitHub 的机器请设置https_proxy。 - MiseDeck 是社区项目,与官方 mise 项目无隶属关系。