@dollhousemcp/mcp-server
Version:
DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.
49 lines • 1.71 kB
TypeScript
/**
* Goal Template System for Agent Goal Management
*
* Provides pre-configured goal templates for common patterns,
* making it easier to create well-structured goals with appropriate
* settings for different scenarios.
*/
import { GoalPriority, EisenhowerQuadrant } from './types.js';
export interface GoalTemplate {
id: string;
name: string;
description: string;
category: 'development' | 'operations' | 'research' | 'planning' | 'maintenance' | 'custom';
defaultValues: {
priority: GoalPriority;
importance: number;
urgency: number;
estimatedEffort?: number;
riskLevel?: 'low' | 'medium' | 'high';
tags?: string[];
};
requiredFields?: string[];
suggestedDependencies?: string[];
successCriteria?: string[];
riskMitigations?: string[];
}
export declare const GOAL_TEMPLATES: Record<string, GoalTemplate>;
/**
* Apply a goal template to create a new goal
*/
export declare function applyGoalTemplate(templateId: string, customFields: Record<string, any>): Partial<any>;
/**
* Calculate Eisenhower quadrant from importance and urgency.
* Uses the threshold from EISENHOWER_THRESHOLDS.HIGH_PRIORITY to classify goals.
*/
export declare function calculateEisenhowerQuadrant(importance: number, urgency: number): EisenhowerQuadrant;
/**
* Get template recommendations based on goal description
*/
export declare function recommendGoalTemplate(description: string): string[];
/**
* Validate goal against its template
*/
export declare function validateGoalAgainstTemplate(goal: any, // AgentGoal type
templateId?: string): {
valid: boolean;
errors: string[];
};
//# sourceMappingURL=goalTemplates.d.ts.map