harness-bash
Shell with cwd-carry, inactivity + wall-clock timeouts, head+tail spill-to-file on overflow, and background jobs.
Rust port of @agent-sh/harness-bash. Part of the harness-* monorepo — see the top-level README for architectural context.
Install
[]
= "0.1"
Usage
use ;
use PermissionPolicy;
use json;
let perms = new
.with_unsafe_bypass;
let session = new
.with_logical_cwd_carry;
let r = bash.await;
Contract
The full contract lives in agent-knowledge/design/bash.md. Changes to this crate must stay in sync with that spec, and with the TypeScript sibling at @agent-sh/harness-bash.
License
MIT © Avi Fenesh