core: preserve command cwd path uri

This commit is contained in:
Adam Perry
2026-06-16 17:38:18 +00:00
parent d32386831d
commit 64540685af
22 changed files with 188 additions and 95 deletions
+5 -1
View File
@@ -97,7 +97,11 @@ pub(crate) struct ExecCommandRequest {
pub process_id: i32,
pub yield_time_ms: u64,
pub max_output_tokens: Option<usize>,
pub cwd: PathUri,
/// Environment-owned cwd retained for remote launch and emitted events.
pub cwd_uri: PathUri,
/// Host-native projection used only by approval, policy, and sandbox code
/// that has not migrated to foreign paths yet.
pub cwd: AbsolutePathBuf,
pub sandbox_cwd: AbsolutePathBuf,
pub turn_environment: TurnEnvironment,
pub shell_mode: UnifiedExecShellMode,