Curtis 'Fjord' Hawthorne and GitHub
5a89660ae4
Add js_repl cwd and homeDir helpers ( #14385 )
...
## Summary
This PR adds two read-only path helpers to `js_repl`:
- `codex.cwd`
- `codex.homeDir`
They are exposed alongside the existing `codex.tmpDir` helper so the
REPL can reference basic host path context without reopening direct
`process` access.
## Implementation
- expose `codex.cwd` and `codex.homeDir` from the js_repl kernel
- make `codex.homeDir` come from the kernel process environment
- pass session dependency env through js_repl kernel startup so
`codex.homeDir` matches the env a shell-launched process would see
- keep existing shell `HOME` population behavior unchanged
- update js_repl prompt/docs and add runtime/integration coverage for
the new helpers
2026-03-11 14:44:44 -07:00
..
2026-03-11 12:33:10 -07:00
2026-02-20 23:45:35 -08:00
2026-03-11 12:33:09 -07:00
2026-03-11 12:33:09 -07:00
2026-03-04 04:40:22 +00:00
2026-03-06 15:39:13 -08:00
2026-02-18 09:27:04 -08:00
2026-02-20 23:45:35 -08:00
2026-03-11 12:33:10 -07:00
2026-03-09 22:25:43 -07:00
2026-03-11 12:33:10 -07:00
2026-02-20 23:45:35 -08:00
2026-03-11 12:33:10 -07:00
2026-03-11 12:33:10 -07:00
2026-03-05 16:40:09 -08:00
2026-03-04 04:40:22 +00:00
2026-03-04 04:40:22 +00:00
2026-03-04 04:40:22 +00:00
2026-03-07 02:30:21 +00:00
2026-02-20 23:45:35 -08:00
2025-11-21 22:10:52 +00:00
2026-03-04 04:40:22 +00:00
2026-03-02 20:29:33 -08:00
2026-03-11 12:33:08 -07:00
2026-03-11 14:44:44 -07:00
2026-03-02 20:29:33 -08:00
2025-11-13 17:12:10 -08:00
2025-12-23 19:29:32 -08:00
2026-03-02 20:29:33 -08:00
2026-03-07 03:48:36 -08:00
2026-03-11 12:33:10 -07:00
2026-02-25 15:20:46 -08:00
2026-03-02 20:29:33 -08:00
2026-03-05 07:02:27 +00:00
2026-03-04 04:40:22 +00:00
2026-03-05 07:02:27 +00:00
2026-03-02 20:29:33 -08:00
2026-03-08 19:06:30 -07:00
2026-03-02 20:29:33 -08:00
2026-02-20 23:45:35 -08:00
2026-03-09 09:25:24 -07:00
2026-03-02 11:57:32 +00:00
2026-03-11 12:33:10 -07:00
2026-03-09 22:25:43 -07:00
2026-03-04 04:40:22 +00:00
2026-02-20 23:45:35 -08:00
2025-11-13 17:12:10 -08:00
2026-03-09 22:30:03 -07:00
2026-03-05 07:02:27 +00:00
2026-03-04 04:40:22 +00:00
2026-03-09 16:11:19 -07:00
2026-03-09 14:36:38 -07:00
2026-03-04 04:40:22 +00:00
2026-03-05 13:26:48 -08:00
2026-03-09 11:48:13 -07:00
2026-03-02 20:29:33 -08:00
2026-03-09 19:52:55 +00:00
2026-03-07 03:48:36 -08:00
2026-03-02 20:29:33 -08:00
2026-03-09 22:25:43 -07:00
2026-02-20 23:45:35 -08:00
2026-03-09 19:09:56 +00:00
2026-03-08 13:37:41 -07:00
2026-03-04 04:40:22 +00:00
2026-03-11 12:33:09 -07:00
2026-03-02 20:29:33 -08:00
2026-03-11 12:33:10 -07:00
2026-03-04 04:40:22 +00:00
2026-02-20 23:45:35 -08:00
2026-03-09 22:34:44 -07:00
2026-03-11 12:33:10 -07:00
2025-11-20 11:04:11 -08:00
2026-03-04 04:40:22 +00:00
2026-03-02 20:29:33 -08:00
2026-03-04 04:40:22 +00:00
2026-03-02 20:29:33 -08:00
2026-03-11 12:33:09 -07:00
2026-03-04 04:40:22 +00:00
2026-03-04 04:40:22 +00:00
2026-03-04 04:40:22 +00:00
2026-02-27 16:05:44 +01:00
2026-03-07 02:30:21 +00:00
2026-03-11 12:33:07 -07:00
2026-03-07 00:50:50 +00:00
2026-03-04 04:40:22 +00:00