28 lines
1 KiB
TypeScript
28 lines
1 KiB
TypeScript
/**
|
|
* System prompt construction and project context loading
|
|
*/
|
|
import { type Skill } from "./skills.ts";
|
|
export interface BuildSystemPromptOptions {
|
|
/** Custom system prompt (replaces default). */
|
|
customPrompt?: string;
|
|
/** Tools to include in prompt. Default: [read, bash, edit, write] */
|
|
selectedTools?: string[];
|
|
/** Optional one-line tool snippets keyed by tool name. */
|
|
toolSnippets?: Record<string, string>;
|
|
/** Additional guideline bullets appended to the default system prompt guidelines. */
|
|
promptGuidelines?: string[];
|
|
/** Text to append to system prompt. */
|
|
appendSystemPrompt?: string;
|
|
/** Working directory. */
|
|
cwd: string;
|
|
/** Pre-loaded context files. */
|
|
contextFiles?: Array<{
|
|
path: string;
|
|
content: string;
|
|
}>;
|
|
/** Pre-loaded skills. */
|
|
skills?: Skill[];
|
|
}
|
|
/** Build the system prompt with tools, guidelines, and context */
|
|
export declare function buildSystemPrompt(options: BuildSystemPromptOptions): string;
|
|
//# sourceMappingURL=system-prompt.d.ts.map
|