@openxiaobu/codexl 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
  - Manage multiple accounts or workspaces as separate slots
11
11
  - Fetch the latest usage from the official usage endpoint
12
12
  - Expose a local provider endpoint for Codex
13
- - Apply local cooldown rules for temporary, 5-hour, and weekly limits
13
+ - Apply local block rules for temporary, 5-hour, and weekly limits
14
14
  - Automatically switch `~/.codex/config.toml` to the `codexl` provider while the local proxy is running
15
15
 
16
16
  ## Installation
package/dist/cli.js CHANGED
@@ -23,10 +23,10 @@ async function handleStatus() {
23
23
  const statuses = (0, status_1.collectAccountStatuses)();
24
24
  console.log((0, status_1.renderStatusTable)(statuses));
25
25
  const available = statuses.filter((item) => item.isAvailable).length;
26
- const cooldown = statuses.filter((item) => item.isFiveHourLimited && !item.isWeeklyLimited).length;
26
+ const fiveHourLimited = statuses.filter((item) => item.isFiveHourLimited && !item.isWeeklyLimited).length;
27
27
  const weeklyLimited = statuses.filter((item) => item.isWeeklyLimited).length;
28
28
  console.log("");
29
- console.log(`available=${available} cooldown=${cooldown} weekly_limited=${weeklyLimited}`);
29
+ console.log(`available=${available} 5h_limited=${fiveHourLimited} weekly_limited=${weeklyLimited}`);
30
30
  }
31
31
  /**
32
32
  * 将已有的 Codex HOME 目录中的登录态复制到 codexl 自己的隔离目录并纳入管理。
package/dist/status.js CHANGED
@@ -100,7 +100,7 @@ function renderStatusTable(statuses) {
100
100
  status = "weekly_limited";
101
101
  }
102
102
  else if (item.isFiveHourLimited) {
103
- status = "cooldown";
103
+ status = "5h_limited";
104
104
  }
105
105
  else if (item.isAvailable) {
106
106
  status = "available";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openxiaobu/codexl",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "本地 Codex 多账号切换与状态管理工具",
5
5
  "type": "commonjs",
6
6
  "main": "dist/cli.js",