/** * Built-in agent tools (T1739 · epic T11456 · SG-TOOLS). * * Wires the existing CORE-SDK atomic primitives ({@link ./fs.js} + * {@link ./shell.js}) into the agent-facing {@link ./agent-registry.js | * AgentToolRegistry} as its FIRST registered tools, so the registry is never * empty and the Pi adapter / ModelRunner can consume them immediately. Every * built-in tool: * * - declares a Zod parameter schema (→ OpenAI-format schema via AC3); * - declares its agent-facing {@link Toolset} group (AC4) and side-effect * {@link ToolClass}; * - declares an {@link AvailabilityCheck} (AC5) — e.g. `run_git` is only * available when a `git` binary is known to be on PATH; * - performs ALL side effects through the injected {@link GuardedToolSurface} * (NEVER raw `fs`/`shell`), so the deny-first guard chokepoint * ({@link ./guard.js}) policy still applies — there is no bypass. * * The model-visible names are snake_case (OpenAI-function convention); the * underlying primitive names live in `@cleocode/contracts/tools/atomic`. * * @task T1739 * @epic T11456 */ import type { AgentToolRegistry } from './agent-registry.js'; /** * Register the built-in atomic-primitive tools into `registry`. * * Invoked by {@link AgentToolRegistry.init} (unless `skipBuiltins`). Pure * registration — no I/O, no scan; the tools' side effects happen later through * the {@link GuardedToolSurface} their executables receive. * * @param registry - The registry to populate. */ export declare function registerBuiltinAgentTools(registry: AgentToolRegistry): void; //# sourceMappingURL=builtin-agent-tools.d.ts.map