Workspace operations.
Node only. Pi is a CLI agent; it uses
process.cwd(), agent directories, and other Node-only APIs.Install
Usage
Exports
mirageExtension accepts { cwd?: string }, defaults to '/', which tells Pi the working directory inside the mounted workspace.
Examples
examples/typescript/agents/pi/ram_pi.ts, RAM-only sandbox.examples/typescript/agents/pi/s3_pi.ts, Pi exploring an S3 bucket through Mirage.