mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
fix(codex-local): avoid fast mode in env probe
This commit is contained in:
parent
2d8f97feb0
commit
a7dc88941b
2 changed files with 5 additions and 1 deletions
|
|
@ -41,8 +41,12 @@ When `fastMode` is enabled, Paperclip adds Codex config overrides equivalent to:
|
|||
|
||||
Paperclip currently applies that only when the selected model is `gpt-5.4`. On other models, the toggle is preserved in config but ignored at execution time to avoid unsupported runs.
|
||||
|
||||
## Managed `CODEX_HOME`
|
||||
|
||||
When Paperclip is running inside a managed worktree instance (`PAPERCLIP_IN_WORKTREE=true`), the adapter instead uses a worktree-isolated `CODEX_HOME` under the Paperclip instance so Codex skills, sessions, logs, and other runtime state do not leak across checkouts. It seeds that isolated home from the user's main Codex home for shared auth/config continuity.
|
||||
|
||||
## Manual Local CLI
|
||||
|
||||
For manual local CLI usage outside heartbeat runs (for example running as `codexcoder` directly), use:
|
||||
|
||||
```sh
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ export async function testEnvironment(
|
|||
hint: "Use the `codex` CLI command to run the automatic login and installation probe.",
|
||||
});
|
||||
} else {
|
||||
const execArgs = buildCodexExecArgs(config);
|
||||
const execArgs = buildCodexExecArgs({ ...config, fastMode: false });
|
||||
const args = execArgs.args;
|
||||
if (execArgs.fastModeIgnoredReason) {
|
||||
checks.push({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue