@emmahyde/thinking-patterns
Version:
MCP server combining systematic thinking, mental models, debugging approaches, and stochastic algorithms for comprehensive cognitive pattern support
60 lines (59 loc) • 2.08 kB
TypeScript
import { z } from 'zod';
/**
* Tool Schemas
*
* Defines the structure for tool recommendations, usage tracking, and context
* management. Supports systematic tool selection, confidence assessment,
* and usage history for enhanced decision-making processes.
*/
export declare const ToolRecommendationSchema: z.ZodObject<{
toolName: z.ZodString;
confidence: z.ZodNumber;
rationale: z.ZodString;
priority: z.ZodNumber;
alternativeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
toolName: string;
confidence: number;
rationale: string;
priority: number;
alternativeTools?: string[] | undefined;
}, {
toolName: string;
confidence: number;
rationale: string;
priority: number;
alternativeTools?: string[] | undefined;
}>;
export declare const ToolUsageHistorySchema: z.ZodObject<{
toolName: z.ZodString;
usedAt: z.ZodString;
effectivenessScore: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
toolName: string;
usedAt: string;
effectivenessScore?: number | undefined;
}, {
toolName: string;
usedAt: string;
effectivenessScore?: number | undefined;
}>;
export declare const ToolContextSchema: z.ZodObject<{
availableTools: z.ZodArray<z.ZodString, "many">;
userPreferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
sessionHistory: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
problemDomain: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
availableTools: string[];
userPreferences?: Record<string, any> | undefined;
sessionHistory?: string[] | undefined;
problemDomain?: string | undefined;
}, {
availableTools: string[];
userPreferences?: Record<string, any> | undefined;
sessionHistory?: string[] | undefined;
problemDomain?: string | undefined;
}>;
export type ToolRecommendationData = z.infer<typeof ToolRecommendationSchema>;
export type ToolUsageHistoryData = z.infer<typeof ToolUsageHistorySchema>;
export type ToolContextData = z.infer<typeof ToolContextSchema>;