harness-read
Safe, bounded, line-numbered file reading with pagination, binary refusal, and fuzzy-sibling NOT_FOUND.
Rust port of @agent-sh/harness-read. 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;
let session = new;
let r = read.await;
Contract
The full contract lives in agent-knowledge/design/read.md. Changes to this crate must stay in sync with that spec, and with the TypeScript sibling at @agent-sh/harness-read.
License
MIT © Avi Fenesh