pit-manager
Version:
Centralized prompt management system for Human Behavior AI agents
110 lines • 2.96 kB
TypeScript
/**
* Prompt Version Control System
* Centralized management of AI agent prompts across HB projects
*/
declare class PromptManager {
private promptCache;
private baseDir;
constructor(baseDir?: string);
/**
* Load a prompt template from markdown file
*/
private loadPromptFromFile;
/**
* Replace template variables with actual values
*/
private interpolateTemplate;
/**
* Get workflow detection prompt
*/
getWorkflowDetectionPrompt(input: {
projectDescription: string;
formattedData: string;
}): string;
/**
* Get review agent prompt
*/
getReviewAgentPrompt(input: {
workflowsJson: string;
formattedData: string;
projectDescription: string;
}): string;
/**
* Get judge agent prompt
*/
getJudgeAgentPrompt(input: {
option1Json: string;
option2Json: string;
formattedData: string;
projectDescription: string;
}): string;
/**
* Get delete agent prompt
*/
getDeleteAgentPrompt(input: {
workflowsJson: string;
formattedData: string;
projectDescription: string;
}): string;
/**
* Get deduplication agent prompt
*/
getDeduplicationPrompt(input: {
workflowName: string;
workflowDescription: string;
workflowGoal: string;
currentWorkflowSteps: string;
similarString: string;
}): string;
/**
* Get base templates
*/
getBaseTemplate(templateName: string): string;
/**
* Clear the prompt cache (useful for development)
*/
clearCache(): void;
/**
* List all available prompts
*/
listAvailablePrompts(): string[];
}
export declare const promptManager: PromptManager;
export declare const WorkflowAgentPrompts: {
getWorkflowDetectionPrompt: (input: {
projectDescription: string;
formattedData: string;
}) => string;
getReviewAgentPrompt: (input: {
workflowsJson: string;
formattedData: string;
projectDescription: string;
}) => string;
getJudgeAgentPrompt: (input: {
option1Json: string;
option2Json: string;
formattedData: string;
projectDescription: string;
}) => string;
getDeleteAgentPrompt: (input: {
workflowsJson: string;
formattedData: string;
projectDescription: string;
}) => string;
getDeduplicationPrompt: (input: {
workflowName: string;
workflowDescription: string;
workflowGoal: string;
currentWorkflowSteps: string;
similarString: string;
}) => string;
};
export declare const CommonPrompts: {
getBaseTemplate: (templateName: string) => string;
};
export * from './interfaces/prompt-types';
export declare const PromptUtils: {
clearCache: () => void;
listAvailablePrompts: () => string[];
};
//# sourceMappingURL=index.d.ts.map