-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Description
Add support for mounting multiple filesystem backends at specific paths within a single virtual filesystem. This would allow combining read-only and read-write filesystems (e.g. knowledge bases, shared assets, and agent workspaces) into a unified namespace.
Ideal usage
// default in memory fs
const fs = new InMemoryFS();
// mount shared readonly data
fs.mount('/mnt/knowledge', new OverlayFs({ root: "/path/to/read-only-knowledge" }))
fs.mount('/mnt/skills', new OverlayFs({ root: "/path/to/read-only-skills" }))
// mount agent workspace
fs.mount('/home/agent', new ReadWriteFs({ root: "/path/to/workspace" }))
const env = new Bash({ fs, cwd: overlay.getMountPoint() });Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels