ccus-cli 0.2.11 → 0.2.12
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.
|
@@ -17,8 +17,8 @@ const node_path_1 = require("node:path");
|
|
|
17
17
|
const debug_1 = require("./debug");
|
|
18
18
|
const api_mode_1 = require("./api-mode");
|
|
19
19
|
const paths_1 = require("./paths");
|
|
20
|
-
// app-server 子进程参数:read-only +
|
|
21
|
-
const CODEX_ARGS = ["-s", "read-only", "-a", "
|
|
20
|
+
// app-server 子进程参数:read-only + never,避免新版 Codex 拒绝已移除的 untrusted 审批策略。
|
|
21
|
+
const CODEX_ARGS = ["-s", "read-only", "-a", "never", "app-server"];
|
|
22
22
|
const DEFAULT_TIMEOUT_MS = 10_000;
|
|
23
23
|
// notify 每 turn 触发,额度缓存 5 分钟,命中秒回避免阻塞 Codex 主流程。
|
|
24
24
|
const DEFAULT_TTL_MS = 5 * 60 * 1000;
|