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(package): 把 sync-lock.ts 加入 npm tarball

cli.ts 直接 import { SyncLockTimeoutError } from "./sync-lock",但
package.json 的 files 字段一直漏了 sync-lock.ts,导致 npm 装的全局
binary 一启动就报 "Cannot find module './sync-lock'",任何子命令都
无法运行。

实测路径: npm pack && npm i -g --prefix /tmp/test ./cxs-0.1.0.tgz
后跑 cxs --version 直接 exit 1。补 sync-lock.ts 后重测:
- --version / --help OK
- current --state-db <bad> --json 输出结构化 state_db_unavailable
- sync 空目录返回 SyncSummary 全 0
- stats / find 在空索引上正常返回

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

cat 5a4cac73 8f08ebb2

+1
+1
package.json
··· 25 25 "parser.ts", 26 26 "query.ts", 27 27 "ranking.ts", 28 + "sync-lock.ts", 28 29 "tokenize.ts", 29 30 "types.ts", 30 31 "eval/"