feat(release): GH Actions binary matrix + 一行 install.sh + README rework
提供给最终用户的零依赖安装路径:
- .github/workflows/release.yml: tag push v* 或手动 workflow_dispatch
触发,matrix 5 平台 (darwin-arm64/x64 / linux-x64/arm64 / windows-x64),
全在 ubuntu-latest 上用 bun build --compile 跨平台编译,upload 到
release 资产
- scripts/install.sh: 一行 curl ... | bash,自动 detect uname,从
release 拉对应 binary 到 ~/.local/bin/cxs (CXS_INSTALL_DIR 覆盖),
chmod +x 并跑一次 --version 自检;如果 install dir 不在 PATH 主动
提示
- README "CLI Install Guide" 重写:把 binary 一行装放第一位,源码
模式作为 dev/PR 路径放第二;补 CXS_DATA_DIR 数据目录覆盖说明
binary 模式无 Bun/Node 运行时依赖。本地实测 bun build --compile
--target=bun-darwin-arm64 出 58 MB binary,--version / current
schema-error / sync empty / stats 全部跑通。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Entire-Checkpoint: b17128559666