core-agent-ide/docs
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
..
agents_md.md
authentication.md
CLA.md
config.md
contributing.md
example-config.md
exec.md
execpolicy.md
exit-confirmation-prompt-design.md
getting-started.md
install.md
js_repl.md
license.md
open-source-fund.md
prompts.md
sandbox.md
skills.md
slash_commands.md
tui-alternate-screen.md
tui-chat-composer.md
tui-request-user-input.md
tui-stream-chunking-review.md
tui-stream-chunking-tuning.md
tui-stream-chunking-validation.md