harness-webfetch
HTTP GET/POST with tool-layer SSRF defense, readability+markdown extraction, redirect-chain reporting, per-session cache.
Rust port of @agent-sh/harness-webfetch. 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_cache;
let r = webfetch.await;
Contract
The full contract lives in agent-knowledge/design/webfetch.md. Changes to this crate must stay in sync with that spec, and with the TypeScript sibling at @agent-sh/harness-webfetch.
License
MIT © Avi Fenesh