/** * Sandbox-bound bash tool factory. * * Separated from bash.ts to avoid pulling Node dependencies (child_process, Buffer) * into sandbox implementations that import this. */ import { tool } from '../../tools/tool-factory.js'; import { z } from 'zod'; import { Sandbox } from '../../sandbox/base.js'; export interface MakeBashOptions { name?: string; description?: string; inputSchema?: z.ZodType; } /** * Create a sandbox bash tool. If a sandbox is passed, it's bound at creation time. * Otherwise, the tool reads from `context.agent.sandbox` at call time. * Used by sandbox implementations in `getTools()` and by users who want a customized bash tool. */ export declare function makeBash(options?: MakeBashOptions): ReturnType; export declare function makeBash(sandbox: Sandbox | undefined, options?: MakeBashOptions): ReturnType; //# sourceMappingURL=make-bash.d.ts.map