claude-cac 1.4.0-beta.5 → 1.4.0
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 +2 -2
- package/cac +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -202,7 +202,7 @@ cac docker port 6287 # 端口转发
|
|
|
202
202
|
- **首次登录**:启动 `claude` 后,输入 `/login` 完成 OAuth 授权
|
|
203
203
|
- **安全验证**:随时运行 `cac env check` 确认隐私保护状态,也可以 `which claude` 确认使用的是 cac 托管的 claude
|
|
204
204
|
- **自动安全检查**:每次启动 Claude Code 会话时,cac 会快速检查环境。如有异常会终止会话,不会发送任何数据
|
|
205
|
-
-
|
|
205
|
+
- **网络稳定性**:流量严格走代理——代理断开时流量完全停止,不会回退直连。内置心跳检测和自动恢复,断线后无需手动重启
|
|
206
206
|
- **IPv6**:建议系统级关闭,防止真实地址泄露
|
|
207
207
|
|
|
208
208
|
---
|
|
@@ -377,7 +377,7 @@ Proxy formats: `ip:port:user:pass` (SOCKS5), `ss://...`, `vmess://...`, `vless:/
|
|
|
377
377
|
- **First login**: Run `claude`, then type `/login`. Health check is automatically bypassed.
|
|
378
378
|
- **Verify your setup**: Run `cac env check` anytime. Use `which claude` to confirm you're using the cac-managed wrapper.
|
|
379
379
|
- **Automatic safety checks**: Every new Claude Code session runs a quick cac check. If anything is wrong, the session is terminated before any data is sent.
|
|
380
|
-
- **Network resilience**: Traffic is strictly routed through your proxy. If the proxy drops, traffic stops entirely — no fallback to direct connection.
|
|
380
|
+
- **Network resilience**: Traffic is strictly routed through your proxy. If the proxy drops, traffic stops entirely — no fallback to direct connection. Built-in heartbeat detection and auto-recovery — no manual restart needed after disconnections.
|
|
381
381
|
- **IPv6**: Recommend disabling system-wide to prevent real address exposure.
|
|
382
382
|
|
|
383
383
|
---
|
package/cac
CHANGED
|
@@ -11,7 +11,7 @@ VERSIONS_DIR="$CAC_DIR/versions"
|
|
|
11
11
|
# ── utils: colors, read/write, UUID, proxy parsing ───────────────────────
|
|
12
12
|
|
|
13
13
|
# shellcheck disable=SC2034 # used in build-concatenated cac script
|
|
14
|
-
CAC_VERSION="1.4.0
|
|
14
|
+
CAC_VERSION="1.4.0"
|
|
15
15
|
|
|
16
16
|
_read() { [[ -f "$1" ]] && tr -d '[:space:]' < "$1" || echo "${2:-}"; }
|
|
17
17
|
_die() { printf '%b\n' "$(_red "error:") $*" >&2; exit 1; }
|