Won Park and GitHub
19ce6394af
Route image extension reads through turn environments v2 ( #27498 )
...
## Why
Image generation used `std::fs::read` for referenced image paths, which
did not support environment-backed filesystems or their sandbox context.
## What changed
- Expose optional turn environments to extension tool calls.
- Include each environment’s ID, working directory, filesystem, and
sandbox context.
- Read referenced images through the selected environment filesystem.
- Keep sandbox usage at the extension call site so extensions can choose
the appropriate access mode.
- Consolidate image request construction into one async function.
- Add coverage for successful environment reads and read failures.
## Validation
- `cargo check -p codex-image-generation-extension --tests`
- `just fmt`
- `just bazel-lock-update`
- `just bazel-lock-check`
`just test -p codex-image-generation-extension` could not complete
because the build exhausted available disk space.
2026-06-11 16:32:52 -07:00
..
2026-06-11 15:10:29 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 14:21:28 +02:00
2026-03-27 19:00:44 -07:00
2026-05-27 11:09:33 -07:00
2026-06-11 19:28:47 +00:00
2026-06-11 18:44:18 +00:00
2026-06-08 13:55:15 -07:00
2026-06-10 20:42:55 -07:00
2026-06-10 12:19:26 -07:00
2026-06-11 13:42:09 -07:00
2026-06-11 13:42:09 -07:00
2026-06-11 15:10:29 -07:00
2026-05-14 16:15:56 -07:00
2026-06-08 13:55:15 -07:00
2026-06-11 19:28:47 +00:00
2026-06-11 13:42:09 -07:00
2026-06-08 13:55:15 -07:00
2026-06-11 10:07:19 +00:00
2026-05-14 18:04:26 -07:00
2026-06-08 13:55:15 -07:00
2026-05-28 15:26:55 -07:00
2026-06-11 16:32:52 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-11 18:44:18 +00:00
2026-05-29 10:22:27 -07:00
2026-06-11 10:07:19 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-05-22 16:58:14 +00:00
2026-06-08 13:55:15 -07:00
2026-06-11 16:32:52 -07:00
2026-05-18 21:03:51 -07:00
2026-06-08 13:55:15 -07:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-05-15 01:26:50 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-02 12:10:14 +02:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-11 19:28:47 +00:00
2026-06-11 19:28:47 +00:00
2026-06-08 13:55:15 -07:00
2026-06-09 17:54:32 -07:00
2026-06-11 18:44:18 +00:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-05-19 14:45:37 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-11 10:07:19 +00:00
2026-06-11 04:11:26 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-11 18:44:18 +00:00
2026-06-01 04:33:20 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-05-14 16:15:56 -07:00
2026-05-18 09:57:54 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-11 18:44:18 +00:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-09 19:51:54 +02:00
2026-06-11 15:10:29 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-03-11 12:33:09 -07:00
2026-06-08 13:55:15 -07:00
2026-06-11 18:44:18 +00:00
2026-06-01 23:33:42 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-11 18:44:18 +00:00
2026-04-28 23:01:40 +00:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-03 15:33:34 -07:00