Skip to content

Commit 597a102

Browse files
committed
收紧账号列表列宽\n\n- 调整,SPACE 列宽以提升表格紧凑度\n- 更新,README 与 release notes 对齐到 v0.1.9\n- 保持,字段顺序与当前账号展示逻辑不变
1 parent c3b4e3d commit 597a102

5 files changed

Lines changed: 43 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md).
157157

158158
Current recommended release notes:
159159

160-
- [v0.1.8 Release Notes](docs/releases/v0.1.8.md)
160+
- [v0.1.9 Release Notes](docs/releases/v0.1.9.md)
161161

162162
## License
163163

README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ CJFCodexSwitcher/
154154

155155
当前推荐版本 release notes:
156156

157-
- [v0.1.8 Release Notes](docs/releases/v0.1.8.md)
157+
- [v0.1.9 Release Notes](docs/releases/v0.1.9.md)
158158

159159
## License
160160

codex_switcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1409,7 +1409,7 @@ def print_accounts_table(
14091409
plan_width = 6
14101410
hourly_width = 20
14111411
weekly_width = 20
1412-
space_width = 24
1412+
space_width = 18
14131413
table_width = 2 + 2 + email_width + 1 + space_width + 1 + plan_width + 1 + hourly_width + 1 + weekly_width + 2
14141414

14151415
print()

docs/releases/v0.1.9.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# CJFCodexSwitcher v0.1.9
2+
3+
This release tightens the `SPACE` column width so the account table keeps the same information but reads more compactly in the terminal.
4+
5+
## Highlights
6+
7+
- Reduced the `SPACE` column width from 24 to 18 characters
8+
- Kept the current table order:
9+
- `邮箱 / SPACE / PLAN / 5小时 / 每周`
10+
- Preserved the current active-account UX:
11+
- active account stays at the top
12+
- active account stays visually separated from the remaining rows
13+
- Preserved the current remaining-count based ranking logic
14+
15+
## Installation
16+
17+
### Homebrew
18+
19+
```bash
20+
brew tap mileson/cjfcodexswitcher && brew upgrade cjfcodexswitcher
21+
```
22+
23+
### pipx
24+
25+
```bash
26+
pipx install --force git+https://github.com/mileson/CJFCodexSwitcher.git
27+
```
28+
29+
## Verification
30+
31+
- `python3 -m py_compile codex_switcher.py codex-switcher.py install.py`
32+
- `openspec validate tighten-space-column-width`
33+
- `codex-switcher --list` shows a visibly narrower `SPACE` column while keeping `SPACE` before `PLAN`
34+
35+
## How To Use
36+
37+
- Run `codex-switcher`
38+
- Read the compact `SPACE` column after the account email
39+
- Use `#` to switch accounts after reviewing workspace, plan, and quota in one line

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "codex-switcher"
7-
version = "0.1.8"
7+
version = "0.1.9"
88
description = "Codex account switcher with live quota inspection and agent-friendly CLI commands"
99
readme = "README.md"
1010
requires-python = ">=3.8"

0 commit comments

Comments
 (0)