feat: make cwd a required field of Config so we stop assuming std::env::current_dir() in a session

This commit is contained in:
Michael Bolin
2025-05-04 08:48:32 -07:00
parent 0442458309
commit 72b1d3ad57
14 changed files with 172 additions and 98 deletions
+1
View File
@@ -81,6 +81,7 @@ pub async fn run_main(cli: Cli) -> anyhow::Result<()> {
} else {
None
},
cwd: None,
};
let config = Config::load_with_overrides(overrides)?;
let (codex_wrapper, event, ctrl_c) = codex_wrapper::init_codex(config).await?;