Auto-create missing cwd for claude_local and codex_local

This commit is contained in:
Dotta
2026-03-03 12:29:32 -06:00
parent 01210cef49
commit 8351f7f1bd
11 changed files with 97 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ export async function testEnvironment(
const cwd = asString(config.cwd, process.cwd());
try {
await ensureAbsoluteDirectory(cwd);
await ensureAbsoluteDirectory(cwd, { createIfMissing: true });
checks.push({
code: "codex_cwd_valid",
level: "info",