cc-viewer 1.0.3 → 1.0.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
@@ -16,9 +16,7 @@ npm install -g cc-viewer
16
16
  ccv
17
17
  ```
18
18
 
19
- 该命令会自动配置本地安装的 Claude Code 以启用监控,并在 shell 配置文件(`~/.zshrc` 或 `~/.bashrc`)中添加自动修复 hook。之后正常使用 Claude Code,打开浏览器访问 `http://localhost:7008` 即可查看监控界面。
20
-
21
- Claude Code 更新后无需手动操作,下次运行 `claude` 时会自动检测并重新配置。
19
+ 该命令会自动适配本地安装的 Claude Code。正常使用 Claude Code,打开浏览器访问 `http://localhost:7008` 即可查看监控界面。
22
20
 
23
21
  ### 卸载
24
22
 
@@ -26,8 +24,6 @@ Claude Code 更新后无需手动操作,下次运行 `claude` 时会自动检
26
24
  ccv --uninstall
27
25
  ```
28
26
 
29
- 一键清理 cli.js 中的配置和 shell 配置文件中的 hook。
30
-
31
27
  ## 功能
32
28
 
33
29
  ### 请求监控(原文模式)
package/cli.js CHANGED
@@ -149,7 +149,7 @@ try {
149
149
  }
150
150
 
151
151
  if (shellResult.status === 'installed') {
152
- console.log(t('cli.hook.installed', { path: shellResult.path }));
152
+ console.log('All READY!');
153
153
  } else if (shellResult.status !== 'exists') {
154
154
  console.log(t('cli.hook.fail', { error: shellResult.error }));
155
155
  }