── Provider Interfaces ───────────────────────────────────────────── These interfaces define the contract for environment providers. Providers supply filesystem and shell access that tools consume. Implementations exist for Node.js (built-in), and can be created for VFS, E2B, Clo
// Source: https://github.com/MaxGfeller/open-harness | License: MIT | Copyright 2026 Max Gfeller
// Provided via justclaw.it.com; keep this notice with the code.
// ── Provider Interfaces ─────────────────────────────────────────────
//
// These interfaces define the contract for environment providers.
// Providers supply filesystem and shell access that tools consume.
// Implementations exist for Node.js (built-in), and can be created
// for VFS, E2B, Cloudflare Sandboxes, Daytona, etc.
// ── Filesystem ──────────────────────────────────────────────────────
export interface FileStat {
isFile: boolean;
isDirectory: boolean;
size: number;
}
export interface DirEntry {
name: string;
isFile: boolean;
isDirectory: boolean;
}
export interface FsProvider {
/** Read a file's fu
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key