@yhong91/cpac 0.1.17 → 0.1.18

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.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -40,6 +40,7 @@ cpac status
40
40
  cpac install --all # 注入所有检测到的目标(codex/pi/kimi)
41
41
  cpac install --target codex # 只注入 Codex(默认开启 multi-agent v2)
42
42
  cpac install --target codex --v2_models # 先多选 spawn_agent 模型再注入
43
+ cpac install --target codex --max_context # 注入时把模型上下文提升到实测上限(opt-in,仅限 codex)
43
44
  cpac uninstall --target codex # 字节级恢复原配置
44
45
 
45
46
  # 4b. 临时接管(退出无痕,不写任何配置文件)
@@ -159,7 +160,7 @@ cpac --help
159
160
 
160
161
  ```bash
161
162
  cpac detect [--json] [--home PATH]
162
- cpac install [--target codex,pi,kimi] [--all] [--dry-run] [--force] [--v2_off] [--v2_models] [--home PATH]
163
+ cpac install [--target codex,pi,kimi] [--all] [--dry-run] [--force] [--v2_off] [--v2_models] [--max_context] [--home PATH]
163
164
  cpac uninstall [--target codex,pi,kimi] [--all] [--dry-run] [--home PATH]
164
165
  cpac upgrade [--check]
165
166
  cpac version
@@ -222,7 +223,7 @@ Claude Code 的发现协议不携带 context 信息,claude 前缀的未知模
222
223
  注入 CPA 模型目录:
223
224
 
224
225
  ```bash
225
- cpac inject [--v2_off] [--v2_models] [--config PATH]
226
+ cpac inject [--v2_off] [--v2_models] [--max_context] [--config PATH]
226
227
  ```
227
228
 
228
229
  查看状态:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yhong91/cpac",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Connect Codex and Claude Code to a remote CLIProxyAPI gateway",
5
5
  "type": "module",
6
6
  "bin": {