core-agent-ide/codex-rs/exec
Dan Hernandez b4a53aef47
feat: Add support for --add-dir to exec and TypeScript SDK (#6565)
## Summary

Adds support for specifying additional directories in the TypeScript SDK
through a new `additionalDirectories` option in `ThreadOptions`.

## Changes

- Added `additionalDirectories` parameter to `ThreadOptions` interface
- Updated `CodexExec` to accept and pass through additional directories
via the `--config` flag for `sandbox_workspace_write.writable_roots`
- Added comprehensive test coverage for the new functionality

## Test plan

- Added test case that verifies `additionalDirectories` is correctly
passed as repeated flags
- Existing tests continue to pass

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-13 13:47:10 -08:00
..
src feat: Add support for --add-dir to exec and TypeScript SDK (#6565) 2025-11-13 13:47:10 -08:00
tests feat: Add support for --add-dir to exec and TypeScript SDK (#6565) 2025-11-13 13:47:10 -08:00
Cargo.toml [exec] Add MCP tool arguments and results (#5899) 2025-10-29 14:23:57 -07:00