Documentation menu
CLI

ayjnt run

Run the full local harness: Bun host, workerd agents, host bridge, and cli.ts.

Usage

example
ayjnt run [options] [-- <args for cli.ts>]

--cwd <path>
--port <n>             default 8787; 0 chooses a free port
--data-dir <path>      Durable Object persistence directory
--allow-host-writes    allow hostTool sideEffects: "write"
--allow-host-exec      allow hostTool sideEffects: "exec"

Arguments and permissions

Non-flag arguments are passed to cli.ts. Use -- when your CLI needs a flag that Ayjnt would otherwise claim.

Read-only host tools are available by default. Write and execution permissions must be granted explicitly each run.