chore: exclude local resource artifacts from main sync
This commit is contained in:
3
scripts/run-plan-codex-once.mjs
Executable file → Normal file
3
scripts/run-plan-codex-once.mjs
Executable file → Normal file
@@ -562,10 +562,11 @@ async function wait(ms) {
|
||||
}
|
||||
|
||||
async function prepareWritableCodexHome(tempDir) {
|
||||
const writableCodexHome = process.env.CODEX_HOME?.trim() || path.join(tempDir, '.codex');
|
||||
const writableCodexHome = path.join(tempDir, '.codex');
|
||||
const sourceCodexHome =
|
||||
process.env.PLAN_CODEX_TEMPLATE_HOME?.trim() ||
|
||||
process.env.CODEX_HOME_TEMPLATE?.trim() ||
|
||||
process.env.CODEX_HOME?.trim() ||
|
||||
path.join(process.env.HOME ?? '/root', '.codex');
|
||||
|
||||
await mkdir(writableCodexHome, { recursive: true });
|
||||
|
||||
Reference in New Issue
Block a user