core-agent-ide/codex-rs/exec/src
aaronl-openai f600453699
[js_repl] paths for node module resolution can be specified for js_repl (#11944)
# External (non-OpenAI) Pull Request Requirements

In `js_repl` mode, module resolution currently starts from
`js_repl_kernel.js`, which is written to a per-kernel temp dir. This
effectively means that bare imports will not resolve.

This PR adds a new config option, `js_repl_node_module_dirs`, which is a
list of dirs that are used (in order) to resolve a bare import. If none
of those work, the current working directory of the thread is used.

For example:
```toml
js_repl_node_module_dirs = [
    "/path/to/node_modules/",
    "/other/path/to/node_modules/",
]
```
2026-02-17 23:29:49 -08:00
..
cli.rs feat: split codex-common into smaller utils crates (#11422) 2026-02-11 12:59:24 +00:00
event_processor.rs Minor cleanup of codex exec output (#4585) 2025-10-02 14:17:42 -07:00
event_processor_with_human_output.rs Feat: add model reroute notification (#12001) 2026-02-17 11:02:23 -08:00
event_processor_with_jsonl_output.rs chore: persist turn_id in rollout session and make turn_id uuid based (#11246) 2026-02-11 03:56:01 +00:00
exec_events.rs feat: replace custom mcp-types crate with equivalents from rmcp (#10349) 2026-02-02 17:41:55 -08:00
lib.rs [js_repl] paths for node module resolution can be specified for js_repl (#11944) 2026-02-17 23:29:49 -08:00
main.rs feat: split codex-common into smaller utils crates (#11422) 2026-02-11 12:59:24 +00:00