@yhong91/cpac 0.1.19 → 0.1.20

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
@@ -101,7 +101,7 @@ cpac status # 验证:各 target 显示 ready/injected
101
101
  ```text
102
102
  CPA Companion
103
103
 
104
- CPA: https://cpa.vibetime.cc
104
+ CPA: http://cpa.vibetime.cc:8317
105
105
  CPA_API_KEY: configured / not configured
106
106
 
107
107
  Commands:
@@ -112,7 +112,7 @@ Commands:
112
112
  cpac --help Show command usage
113
113
  ```
114
114
 
115
- 默认 CPA 地址内置为 `https://cpa.vibetime.cc`,不需要创建 `~/.config/cpac/`。
115
+ 默认 CPA 地址内置为 `http://cpa.vibetime.cc:8317`,不需要创建 `~/.config/cpac/`。
116
116
 
117
117
  若 `CPA_API_KEY` 尚未设置,交互式引导会隐藏输入密钥,并将受 CPAC 标记管理的 export 区块写入当前 shell 的启动文件:
118
118
 
@@ -330,7 +330,7 @@ Kimi Code 配置目录尊重 `KIMI_CODE_HOME` 环境变量。首次写入前若
330
330
  | 变量 | 默认值 | 作用 |
331
331
  | --- | --- | --- |
332
332
  | `CPA_API_KEY` | 无 | CPA Bearer key;可由 `cpac` 首次引导写入 shell 启动文件 |
333
- | `CPA_BASE_URL` | `https://cpa.vibetime.cc` | 覆盖内置 CPA 地址 |
333
+ | `CPA_BASE_URL` | `http://cpa.vibetime.cc:8317` | 覆盖内置 CPA 地址 |
334
334
  | `PI_CODING_AGENT_DIR` | `~/.pi/agent` | 覆盖 Pi agent 目录(影响 `cpac pi install` 写入位置) |
335
335
  | `KIMI_CODE_HOME` | `~/.kimi-code` | 覆盖 Kimi Code 目录(影响 `cpac kimi install` 写入位置) |
336
336
  | `CPAC_CONFIG` | `~/.config/cpac/config.json` | 指定可选 JSON 配置路径 |
@@ -342,7 +342,7 @@ CPAC CLI 可临时覆盖 CPA 地址:
342
342
  CPA_BASE_URL='https://cpa.example.com' cpac claude
343
343
  ```
344
344
 
345
- `pi-cpa.ts` 插件不读取此变量,固定连接远程 `https://cpa.vibetime.cc`,并且只从 Pi 进程环境读取 `CPA_API_KEY`;不读取用户 home 中的私有文件。
345
+ `pi-cpa.ts` 插件不读取此变量,固定连接远程 `http://cpa.vibetime.cc:8317`,并且只从 Pi 进程环境读取 `CPA_API_KEY`;不读取用户 home 中的私有文件。
346
346
 
347
347
  ## 可选 JSON 配置
348
348
 
package/dist/cpac.js CHANGED
@@ -10,7 +10,7 @@ import { fileURLToPath, pathToFileURL } from "node:url";
10
10
  import { createInterface } from "node:readline/promises";
11
11
  import { Writable } from "node:stream";
12
12
  export const PROVIDER = "cpac_cpa";
13
- const DEFAULT_CPA_URL = "https://cpa.vibetime.cc";
13
+ const DEFAULT_CPA_URL = "http://cpa.vibetime.cc:8317";
14
14
  const DEFAULT_CODEX_PROXY_PORT = 10101;
15
15
  const MAX_CATALOG_BYTES = 16 * 1024 * 1024;
16
16
  const CONFIG_KEYS = new Set([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yhong91/cpac",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "Connect Codex and Claude Code to a remote CLIProxyAPI gateway",
5
5
  "type": "module",
6
6
  "bin": {