/** * Pi coding agent adapter. * * Provides pi-specific behavior for session tracking, working directory * extraction, content normalization, and tool configuration. * * Pi (@mariozechner/pi-coding-agent) is a CLI coding agent that makes * standard Anthropic Messages API calls. When using a custom baseUrl * (pointing at Meridian), pi operates in non-OAuth mode with lowercase * tool names and its own tool execution loop. * * Key characteristics: * - User-Agent: claude-cli/ (mimics Claude Code) or default SDK UA * - No session header: relies on fingerprint-based session cache * - CWD in system prompt: "Current working directory: /path/to/project" * - 7 lowercase tools: read, write, edit, bash, grep, find, ls * - Always streams (stream: true) * - Manages its own tool execution loop: passthrough mode is appropriate * - No subagent routing: pi-coding-agent is single-agent (pylon adds orchestration on top) * * Detection: pi mimics Claude Code's User-Agent, so automatic detection is * unreliable. Use one of: * - x-meridian-agent: pi header (per-request) * - MERIDIAN_DEFAULT_AGENT=pi env var (global default) */ import type { AgentAdapter } from "../adapter"; export declare const piAdapter: AgentAdapter; import { piTransforms } from "../transforms/pi"; export { piTransforms }; //# sourceMappingURL=pi.d.ts.map