UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

15 lines (14 loc) • 753 B
import type { WriteContainment } from "./fs-write.js"; import { type ShellReadCheck } from "./shell-read-check.js"; export interface FileWriteStation { readonly check: ShellReadCheck; /** The station's membership: the write tools whose declared write target it judges. */ readonly tools: ReadonlySet<string>; } export interface FileWriteStationOptions { /** The write tools whose declared target the station judges (the catalog's write targets). */ readonly tools: ReadonlySet<string>; /** The band's write tools' own fence judgment (`writeContainmentOf` over the seats the tools take). */ readonly contain: WriteContainment; } export declare function createFileWriteStation(opts: FileWriteStationOptions): FileWriteStation;