Preserve foreign cwd URIs for turn-input contributors (#37342)

## Why

Converting each environment's working directory to a host-native path caused
turn-input contributors to omit environments with foreign path formats.

## What changed

- Expose `TurnInputEnvironment.cwd` as a `PathUri`.
- Pass every turn environment to contributors without host-path conversion.

## Testing

Added an integration test that submits a foreign working-directory URI and
verifies the contributor receives the environment unchanged.

GitOrigin-RevId: a122526be47f5331614381e9c6e4b85087a96bed
This commit is contained in:
jif authored and copyberry committed 2026-08-07 00:42:06 +00:00
1 parent 29dce2db43
commit bcea6447ee
5 files changed
+93 -11

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ codex-mcp = { workspace = true }
codex-protocol = { workspace = true }
codex-tools = { workspace = true }
codex-utils-absolute-path = { workspace = true }
codex-utils-path-uri = { workspace = true }
serde_json = { workspace = true }
[dev-dependencies]