UNPKG

@mastra/core

Version:
35 lines 1.22 kB
/** * Base system prompt — shared behavioral instructions for a coding agent. * This is the "brain" that makes the agent a good coding assistant. * * Product-specific strings (the agent's display name and the commit * `Co-Authored-By` name) are parameterized via `productName` / `coAuthorName` * and default to "Mastra Code" so existing callers keep identical output. */ export interface PromptContext { projectPath: string; projectName: string; gitBranch?: string; platform: string; commonBinaries?: { name: string; path: string | null; }[]; date: string; mode: string; modelId?: string; activePlan?: { title: string; plan: string; approvedAt: string; } | null; toolGuidance: string; /** Display name used in the prompt header. Default: "Mastra Code". */ productName?: string; /** Name used in the commit `Co-Authored-By` line. Default: "Mastra Code". */ coAuthorName?: string; /** Email used in the commit `Co-Authored-By` line. Default: "noreply@mastra.ai". */ coAuthorEmail?: string; } export declare function buildBasePrompt(ctx: PromptContext): string; //# sourceMappingURL=prompt.d.ts.map