/** * Canonical system-prompt composer for pi coding-agent forks. * * Forks pass in their domain-specific `body` (identity paragraph, core * expertise, principles, domain docs pointer, tool descriptions). This * composer wraps that body with the shared scaffolding: guidelines, * optional append, project context files, skills XML, and the date/time * + cwd footer. */ import { buildStandardGuidelines } from "./primitives.js"; import type { BuildSystemPromptOptions } from "./types.js"; /** * Compose a fork's full system prompt from a domain body + shared scaffolding. * * The composer applies the following order: * * 1. `customPrompt` (if set) OR `body` (if set) OR empty * 2. `appendSystemPrompt` (appended with a blank line if non-empty) * 3. Project context files, rendered via `renderProjectContextSection` * 4. Skills XML block (only when the `read` tool is available) * 5. Footer: "Current date and time" + "Current working directory" * * Forks typically build `body` themselves using `buildStandardGuidelines` and * `renderToolsList` from `./primitives`, then pass the result in. */ export declare function buildSystemPrompt(options?: BuildSystemPromptOptions): string; /** * Convenience re-export so callers can import the standard guidelines * builder alongside `buildSystemPrompt` from the package root. */ export { buildStandardGuidelines }; //# sourceMappingURL=build.d.ts.map