Releases: Cmochance/Codex_Account_Switch
v1.5.11
What's Changed
- docs(readme): restructure following codex-app-transfer template by @Cmochance in #39
- ci(release): add macOS Intel build to release matrix by @Cmochance in #41
- ci(release): switch macOS Intel runner from macos-13 to macos-15 by @Cmochance in #42
- ci(release): use macos-15-intel runner for Intel build by @Cmochance in #43
- fix(backend): relax tokens constraint to prevent silent account write-back bypass by @Cmochance in #44
- feat(ci): add experimental Linux x86_64 build (.deb + .AppImage) by @Cmochance in #40
- feat(quota): optimize quota refresh logic, add relative countdowns, parallelize card refreshes by @Cmochance in #45
Full Changelog: v1.5.10...v1.5.11
v1.5.10
🎨 UI overhaul: profiles list redesign + settings cleanup
This release is a focused UI / UX pass. No backend behaviour changed, no IPC contracts changed — purely how the existing data is laid out.
Highlights
- 账号页彻底重排为单行条目(cards → rows):每个账号从原来的卡片网格变成一条独立的横向条目,同行从左到右依次显示「账号名 · 邮箱 · 套餐」、「5 小时额度 + 刷新时间」、「周额度 + 刷新时间」、和「删除 / 重命名 / 刷新 / 登录 / Base / 切换」按钮。窗口高度相同的情况下可见账号数更多,眼睛沿一条横线即可读完一个账号的全部信息。
- 单页账号数 4 → 8:
DEFAULT_PAGE_SIZE提升一倍,配合行式布局减少翻页频次。 - 删除占位的 Runtime tab + 页:原本只是占位 UI、没有任何后端接入;同时移除
ShellRoute类型中的"runtime"分支。 - 顶部 nav 由右对齐改为水平居中。
- 设置页瘦身:移除「转发端口 / 管理端口 / 开机自启 / 配置备份(备份/导出/导入)」4 行未接后端的占位项;「Codex CLI 路径」从两行 stacked 布局收回到单行 inline(左侧路径文本,右侧「更改」按钮,路径过长自动省略)。
Why
之前的卡片布局每张卡占用 188px 最小高度 × 2 列网格,一屏只看到 4 个账号;切换 / 刷新 / 登录这些常用按钮被关在卡片内部需要鼠标进入;占位行(转发端口 / 备份)长期不接后端,反复给新用户带来「这些功能能用吗」的疑惑。这版把所有这些噪声一次扫掉。
Fix shipped with this release
feat(ui)commit 在 preview 模式 (!hasTauriRuntime) 下漏改了初始previewSnapshot.page_size字面量(仍是 4),导致直接vite跑前端时第一帧只渲染 4 个账号 — 由 chatgpt-codex-connector review 抓出,已在同 PR 内fix(preview)commit 修复 (#38)。
Files touched
13 个文件,+286 / −232。主要集中在:
src-tauri/shared/front/base.css+src-tauri/mac/front/styles.css+src-tauri/win/front/styles.css(CSS 三处镜像 — mac/win 当前还在重复 base,下一轮单独去重)src-tauri/mac/front/index.html+src-tauri/win/front/index.html(删 runtime page、删 4 个 settings 行、Codex CLI 行重排)src-tauri/shared/front/{types,render,state,tauri}.ts(路由清理 + page size 默认值)src-tauri/shared/runtime/paths.rs(DEFAULT_PAGE_SIZE: 4 → 8)
Downloads
| Platform | Asset |
|---|---|
| macOS Apple Silicon (DMG) | codex_switch_1.5.10_aarch64.dmg |
| macOS Apple Silicon (PKG) | codex_switch_1.5.10_aarch64.pkg |
| Windows x64 | codex_switch_1.5.10_x64-setup.exe |
两个平台都暂未做代码签名。macOS 首次启动按住 Control 点应用图标 → 选「打开」放行;Windows 在 SmartScreen 弹窗点「更多信息 → 仍要运行」。
Full Changelog
v1.5.9
What's Changed
- perf(refresh): bundle 5 small wins on the refresh hot path by @Cmochance in #36
- chore(release): prep v1.5.9 by @Cmochance in #37
Full Changelog: v1.5.8...v1.5.9
v1.5.8
What's Changed
- fix(refresh): replace
codex execfallback with app-server JSON-RPC by @Cmochance in #33 - chore(release): prep v1.5.8 by @Cmochance in #34
- feat(pr-2): version label binding + JSONL parse cache + guide scaffold by @Cmochance in #35
Full Changelog: v1.5.7...v1.5.8
v1.5.7
What's Changed
- docs: backfill CHANGELOG and README for 1.5.4–1.5.6 by @Cmochance in #28
- fix(login): hold Child handle and reap on cancel to close PID-reuse race by @Cmochance in #29
- feat(ui): paint card Base button red when a custom Base Url is set by @Cmochance in #26
- refactor: hoist InstallState + codex CLI helpers to shared module by @Cmochance in #30
- chore(login): a11y aria-label on cancel button + bound mac PATH probe by @Cmochance in #31
- chore(release): prep v1.5.7 by @Cmochance in #32
Full Changelog: v1.5.6...v1.5.7
v1.5.6
What's Changed
- fix(plan): trust API plan_type on downgrade; clear stale quota when API empty by @Cmochance in #25
- feat(login): surface and recover from missing codex CLI by @Cmochance in #27
Full Changelog: v1.5.5...v1.5.6
v1.5.5
What's Changed
- feat(plan): freshen plan_name with API plan_type + JWT fallback (Phase A) by @Cmochance in #19
- feat(plan): force-rotation, daily bulk refresh, last_plan_check_ms (Phase B) by @Cmochance in #20
- feat(plan): plan freshness tooltip + unknown_paid display state (Phase C) by @Cmochance in #21
- refactor(plan): split plan + quota sync paths (D1); drop D2 by @Cmochance in #22
- fix(quota): route rate-limit windows by window_minutes, not position by @Cmochance in #23
- fix(switch): unstick "switch already in progress" toast (stale lock + double-click) by @Cmochance in #24
Full Changelog: v1.5.4...v1.5.5
v1.5.4
What's Changed
- feat(quota): cherry-pick ChatGPT-API direct quota refresh onto 1.5.x by @Cmochance in #15
- chore(test): add live_quota_check example for codex CLI regression testing by @Cmochance in #16
- feat(login): per-card login via sandboxed CODEX_HOME by @Cmochance in #17
- fix(login): resolve real codex CLI from live home, not sandbox by @Cmochance in #18
Full Changelog: 1.5.3...v1.5.4
1.5.3
1.5.3 更新内容
本次版本重点补齐了 macOS 端发布能力、真实更新检测能力,并继续完善当前桌面端前端界面。
更新检测
- 新增真实的版本检查逻辑,不再只是打开 GitHub Release 页面。
- 设置页的「检查更新」现在会读取配置的 GitHub latest-release JSON 地址,并和当前应用版本进行对比。
- 当检测到远端存在新版本时,应用会自动提示有新版本可用。
- 修复历史非标准版本号导致的解析问题,例如旧的
1.5会按1.5.0参与比较,不再直接报「不是有效语义化版本」。
前端界面
- 新增并完善仪表盘、账号、运行时、设置和引导等页面入口。
- 账号页调整为单页 4 张卡片,并优化页面尺寸,让卡片区和右上角导航更紧凑。
- 移除首页和设置页左上角多余的标题说明区域,去掉突兀的装饰 logo。
- 移除右侧账号工具卡片,把「添加账号」移动到分页按钮左侧。
- 统一账号名称的字体和字号,避免账号名在卡片中被过度强调。
- 仪表盘移除上下说明文字,并将四个统计卡片改为同一行 4 列显示。
- 当前账号卡片改为首行独立布局,降低账号名称字号,避免撑高右侧控制区。
- 控制面板中已经迁移到设置页的重复入口已移除,并调整到对应路由。
主题与设置
- 保留原有主题,并新增 4 套以配色为主的主题方案,共 5 套主题可切换。
- 设置页主题选择改为单行颜色按钮,只显示主题核心颜色;主题名称和说明改为鼠标悬停时显示。
- 设置页补充转发端口、管理端口、开机自启、更新地址、配置备份、版本、许可证、检查更新和 GitHub 等前端条目。
- 移除暂不需要的「第三方兼容」条目。
macOS 打包与发布
- 新增 macOS
.pkg打包能力,并和.dmg一起作为最终发布产物。 - 本地测试阶段仅保留
.app,构建完成后清理中间生成的裸执行文件。 - 最终发布阶段只保留
.dmg和.pkg,并移除.app与中间执行文件。 - 打包产物统一直接落到
dist/根目录;旧版本发布产物按版本号移动到dist/history/。 - 修正 macOS 打包脚本,避免把中间产物或失败产物当作正式发布资产保留。
版本与文档
- 当前版本号更新为
1.5.3,后续 release 使用完整三段式语义化版本号。 - 更新 README 内容,并将仓库默认展示的
README.md改为中文版。 - 更新版本记录,明确历史上
1.5这种非标准 release 标签仅作为旧版本兼容记录,后续不再沿用。
规范化安装与版本控制
1.5.0 添加windows和macOS的版本信息和规范安装包
1.5.1 修复了windows端刷新出现 codex exec access is denied 的问题。
1.5.2 修复了部分特殊账号套餐变更时状态不更新的问题。添加了账号切换前额度回写逻辑。