Repository navigation
v0.4.4 — Windows config.toml 路径转义崩溃修复
🚨 Windows 紧急修复
用户反馈 Codex 启动报 config.toml: too few unicode value digits —— tt 写 [[hooks.Stop]] 段时用 TOML basic string "..." 包裹 command,Windows 路径里 \U / \A / \P 等被当 unicode 转义起始符。
修复:改用 TOML literal string '...'(单引号无转义);regex 同时认双引号 + 单引号兼容老用户。
Windows 用户必升。已装 0.4.3 但未 setup Codex 的:升 0.4.4 后跑 tt setup。已被 0.4.3 写坏 config.toml 的:先手动删 ~/.codex/config.toml 里 tt 追加的那段 [[hooks.Stop]],再升 0.4.4 重 setup。
📦 安装
curl -sSL https://raw.githubusercontent.com/stormzhang/token-tracker/main/install.sh | bash升级:重跑上面的命令即可(脚本幂等)。