Skip to content

feat(js): expose mounts option, mountReal, and unmount on wrapper - #1133

Merged
chaliy merged 1 commit into
mainfrom
feat/issue-1128-js-mounts
Apr 7, 2026
Merged

chaliy merged 1 commit into
mainfrom
feat/issue-1128-js-mounts

Conversation

@chaliy

@chaliy chaliy commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds mounts option to BashOptions for constructor-time real FS mounts with per-mount readOnly support
  • Exposes mountReal() and unmount() methods on both Bash and BashTool wrapper classes
  • Achieves full parity with the Python bindings' mount API

Test plan

  • New test: mountReal and unmount — mounts /tmp, verifies access, unmounts
  • JS crate compiles cleanly
  • No Rust code changes — wrapper only

Closes #1128

Adds mounts option to BashOptions for constructor-time real FS mounts.
Exposes mountReal() and unmount() methods on both Bash and BashTool
wrapper classes, achieving parity with the Python bindings' mount API.

Closes #1128
@chaliy
chaliy merged commit 3b59d52 into main Apr 7, 2026
20 checks passed
@chaliy
chaliy deleted the feat/issue-1128-js-mounts branch April 7, 2026 00:22
chaliy added a commit that referenced this pull request May 30, 2026
)

## Summary

- Adds `mounts` option to `BashOptions` for constructor-time real FS
mounts with per-mount `readOnly` support
- Exposes `mountReal()` and `unmount()` methods on both `Bash` and
`BashTool` wrapper classes
- Achieves full parity with the Python bindings' mount API

## Test plan

- [x] New test: `mountReal and unmount` — mounts /tmp, verifies access,
unmounts
- [x] JS crate compiles cleanly
- [x] No Rust code changes — wrapper only

Closes #1128
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(js): expose real filesystem mounts with per-mount readOnly support

1 participant