pakrym-oai and GitHub
1e015884c5
[codex] Use local environment for user shell commands ( #28163 )
...
## Why
User shell commands still read the legacy turn cwd and session shell
even though execution context is now owned by selected turn
environments. App-server also defines `thread/shellCommand` as a
local-host escape hatch, so it must use an available local environment
even when a remote environment is primary.
## What changed
- Add `ResolvedTurnEnvironments::local()` to find the selected local
environment.
- Resolve the user shell command cwd and shell from that local
`TurnEnvironment`.
- Emit the standard `shell is unavailable in this session` error when no
selected local environment or resolved local shell is available.
- Add an integration test covering `/shell` without a local environment.
## Test plan
- `just test -p codex-core
user_shell_command_without_local_environment_emits_error`
2026-06-16 04:55:20 +00:00
..
2026-06-12 13:50:04 -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-06-15 21:53:47 -07:00
2026-05-27 11:09:33 -07:00
2026-06-15 20:10:53 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-05-14 16:15:56 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-05-14 18:04:26 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-11 16:32:52 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-16 00:38:41 +00:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 15:05:28 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-11 16:32:52 -07:00
2026-05-18 21:03:51 -07:00
2026-06-11 23:23:44 -07:00
2026-06-10 20:42:55 -07:00
2026-06-15 21:53:47 -07:00
2026-06-10 20:42:55 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -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-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 15:05:28 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-11 10:07:19 +00:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 08:06:14 -07:00
2026-06-08 13:55:15 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-11 15:10:29 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-16 04:55:20 +00:00
2026-06-16 00:38:41 +00:00
2026-06-15 21:53:47 -07:00
2026-06-08 13:55:15 -07:00
2026-06-15 21:53:47 -07:00
2026-06-03 15:33:34 -07:00