Skip to content

v0.1.2

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Jul 02:30

⚠️ npm package renamed: @hoper-j/ccwrapccwrap-cli (unscoped)
Install is now npm i -g ccwrap-cli; the installed command is unchanged — still ccwrap.
If you installed the old package, switch over:

npm uninstall -g @hoper-j/ccwrap
npm install -g ccwrap-cli

The old @hoper-j/ccwrap package will be marked deprecated and won't receive further updates.

This is a packaging & documentation release — ccwrap's own behavior is unchanged, so upgrading is safe.

Changes

  • npm package renamed to the unscoped ccwrap-cli (the unscoped ccwrap name is taken by an unrelated project). Platform binaries move to @hoper-j/ccwrap-cli-<os>-<arch>, installed automatically per platform.
  • Added a contributing guide: CONTRIBUTING.md (English; a Simplified Chinese version is also available).
  • Internal: the web dashboard template was extracted to a standalone file embedded via go:embed (rendered output is byte-identical); release pipeline hardening.

Install

npm install -g ccwrap-cli
# or: install script (downloads a prebuilt binary)
curl -fsSL https://raw.githubusercontent.com/Hoper-J/ccwrap/main/install.sh | sh
# or: via Go
go install github.com/Hoper-J/ccwrap/cmd/ccwrap@latest

⚠️ npm 包已改名:@hoper-j/ccwrapccwrap-cli(无 scope)
安装命令现在是 npm i -g ccwrap-cli;安装后的命令名不变,仍然是 ccwrap
已经用旧包的用户请改装新包:

npm uninstall -g @hoper-j/ccwrap
npm install -g ccwrap-cli

旧包 @hoper-j/ccwrap 将被标记 deprecated,后续不再更新。

本次是一个打包与文档版本,ccwrap 本身的行为没有任何变化,放心升级。

变化

  • npm 包改名为无 scope 的 ccwrap-cli(原 @hoper-j/ccwrap 的无 scope 名 ccwrap 已被无关项目占用)。各平台二进制包也相应改为 @hoper-j/ccwrap-cli-<os>-<arch>,由 npm 自动按平台安装,无需手动指定。
  • 新增贡献指南 CONTRIBUTING.md(英文,另有简体中文版)。
  • 内部:web 仪表盘模板抽出为独立文件、经 go:embed 嵌入(渲染输出逐字节不变);发布流水线加固。

安装

npm install -g ccwrap-cli
# 或:安装脚本(下载预编译二进制)
curl -fsSL https://raw.githubusercontent.com/Hoper-J/ccwrap/main/install.sh | sh
# 或:用 Go 直接装
go install github.com/Hoper-J/ccwrap/cmd/ccwrap@latest