cxs is a local-first CLI for searching Codex session logs. It is designed for progressive retrieval: find the right session first, then read
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(release): npm 包名改 scoped @catoncat/cxs 以避开占用,修 bin 字段格式

- 实测 npm publish 发现 cxs 包名已被 css-in-js 库占用(发到 6.2.0),
改成 scoped @catoncat/cxs(npm 标准做法,GitHub username 作 scope)。
全局命令名仍是 cxs(由 bin map key 决定,跟包名解耦)
- bin 值去掉 "./" 前缀: { "cxs": "dist/cli.js" } —— 此前 npm publish
warning "bin[cxs] script name dist/cli.js was invalid and removed"
- 加 publishConfig.access=public —— scoped 包默认 private,显式声明 public
避免每次 npm publish 都要带 --access public flag
- README CLI Install Guide 同步改 npm i -g @catoncat/cxs,加一句解释
scoped 原因

GH Release v0.2.0 binary 不受影响(binary 路径独立于 npm 包名)。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Entire-Checkpoint: 12b7e8c0e860

cat 7fdc12cb e5addb4e

+9 -4
+4 -2
README.md
··· 45 45 ### npm 全局安装(需要 Node 22+) 46 46 47 47 ```bash 48 - npm i -g cxs 48 + npm i -g @catoncat/cxs 49 49 ``` 50 50 51 - 约 13 MB,不含 runtime,启动快。CI / 容器场景以及已有 Node 工具链的用户首选。 51 + 装出来的命令是 `cxs`。约 13 MB,不含 runtime,启动快。CI / 容器场景以及已有 Node 工具链的用户首选。 52 + 53 + > 包名是 scoped 的,因为 npm 上 `cxs` 已被 css-in-js 库占用。 52 54 53 55 ### 从源码(开发者 / 需要 PR) 54 56
+5 -2
package.json
··· 1 1 { 2 - "name": "cxs", 2 + "name": "@catoncat/cxs", 3 3 "version": "0.2.0", 4 4 "type": "module", 5 5 "description": "Progressive search CLI for local Codex session logs", ··· 13 13 "url": "https://github.com/catoncat/cxs/issues" 14 14 }, 15 15 "bin": { 16 - "cxs": "./dist/cli.js" 16 + "cxs": "dist/cli.js" 17 17 }, 18 18 "files": [ 19 19 "dist/", 20 20 "README.md", 21 21 "LICENSE" 22 22 ], 23 + "publishConfig": { 24 + "access": "public" 25 + }, 23 26 "keywords": [ 24 27 "codex", 25 28 "cli",