/** * ForgeCode agent adapter. * * Provides ForgeCode-specific behavior for session tracking, working directory * extraction, content normalization, and tool configuration. * * ForgeCode (forgecode.dev) is a Rust-based terminal coding agent by Antinomy * that makes standard Anthropic Messages API calls. When using a custom provider * URL (pointing at Meridian), ForgeCode operates in passthrough mode with its * own tool execution loop. * * Key characteristics: * - User-Agent: reqwest default (no distinctive prefix) — use x-meridian-agent or env var * - No session header: relies on fingerprint-based session cache * - CWD in system prompt: /path * - Snake_case tools: read, write, patch, multi_patch, shell, fs_search, etc. * - Always streams (stream: true by default) * - Manages its own tool execution loop: passthrough mode is appropriate * - Subagent routing handled client-side via Task tool — invisible to proxy * * Detection: ForgeCode uses reqwest's default User-Agent, so automatic detection * is unreliable. Use one of: * - x-meridian-agent: forgecode header (per-request) * - MERIDIAN_DEFAULT_AGENT=forgecode env var (global default) */ import type { AgentAdapter } from "../adapter"; export declare const forgeCodeAdapter: AgentAdapter; import { forgeCodeTransforms } from "../transforms/forgecode"; export { forgeCodeTransforms }; //# sourceMappingURL=forgecode.d.ts.map