prompt-plus-plus-mcp
Version:
Advanced MCP server with 44+ metaprompt strategies including AI Core Principles, Vibe Coding Rules, and metadata-driven intelligent selection
291 lines • 10.1 kB
TypeScript
import { z } from 'zod';
export declare const NonEmptyStringSchema: z.ZodString;
export declare const StrategyKeySchema: z.ZodString;
export declare const ListStrategiesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const GetStrategyDetailsSchema: z.ZodObject<{
strategy: z.ZodString;
}, "strip", z.ZodTypeAny, {
strategy: string;
}, {
strategy: string;
}>;
export declare const DiscoverStrategiesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const GetPerformanceMetricsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const HealthCheckSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const ListCustomStrategiesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const ListCollectionsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const ManageCollectionSchema: z.ZodObject<{
action: z.ZodEnum<["create", "delete", "add_strategy", "remove_strategy", "update"]>;
collection: z.ZodString;
name: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
strategy: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
collection: string;
action: "create" | "delete" | "add_strategy" | "remove_strategy" | "update";
name?: string | undefined;
description?: string | undefined;
strategy?: string | undefined;
}, {
collection: string;
action: "create" | "delete" | "add_strategy" | "remove_strategy" | "update";
name?: string | undefined;
description?: string | undefined;
strategy?: string | undefined;
}>;
export declare const UserPromptSchema: z.ZodObject<{
user_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
}, {
user_prompt: string;
}>;
export declare const AutoRefineSchema: z.ZodObject<{
user_prompt: z.ZodString;
source: z.ZodOptional<z.ZodEnum<["all", "built-in", "custom"]>>;
collection: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
source?: "built-in" | "custom" | "all" | undefined;
collection?: string | undefined;
}, {
user_prompt: string;
source?: "built-in" | "custom" | "all" | undefined;
collection?: string | undefined;
}>;
export declare const CompareRefinementsSchema: z.ZodObject<{
user_prompt: z.ZodString;
strategies: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
strategies?: string | undefined;
}, {
user_prompt: string;
strategies?: string | undefined;
}>;
export declare const PrepareRefinementSchema: z.ZodObject<{
user_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
}, {
user_prompt: string;
}>;
export declare const ExecuteRefinementSchema: z.ZodObject<{
metaprompt_results: z.ZodString;
original_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
metaprompt_results: string;
original_prompt: string;
}, {
metaprompt_results: string;
original_prompt: string;
}>;
export declare const Step1GetCategoriesSchema: z.ZodObject<{
user_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
}, {
user_prompt: string;
}>;
export declare const Step2GetStrategiesSchema: z.ZodObject<{
category_name: z.ZodString;
user_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
category_name: string;
}, {
user_prompt: string;
category_name: string;
}>;
export declare const Step3ExecuteStrategySchema: z.ZodObject<{
strategy_key: z.ZodString;
user_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
strategy_key: string;
}, {
user_prompt: string;
strategy_key: string;
}>;
export declare const CustomStrategySchema: z.ZodObject<{
name: z.ZodString;
description: z.ZodString;
template: z.ZodEffects<z.ZodString, string, string>;
examples: z.ZodArray<z.ZodString, "many">;
complexity: z.ZodDefault<z.ZodEnum<["Low", "Medium", "High", "Medium-High"]>>;
timeInvestment: z.ZodDefault<z.ZodEnum<["Low", "Medium", "High", "Medium-High"]>>;
triggers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
bestFor: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
customCategory: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
description: string;
template: string;
examples: string[];
complexity: "Low" | "Medium" | "High" | "Medium-High";
timeInvestment: "Low" | "Medium" | "High" | "Medium-High";
triggers?: string[] | undefined;
bestFor?: string[] | undefined;
customCategory?: string | undefined;
}, {
name: string;
description: string;
template: string;
examples: string[];
complexity?: "Low" | "Medium" | "High" | "Medium-High" | undefined;
timeInvestment?: "Low" | "Medium" | "High" | "Medium-High" | undefined;
triggers?: string[] | undefined;
bestFor?: string[] | undefined;
customCategory?: string | undefined;
}>;
export declare const CategoryMetadataSchema: z.ZodObject<{
description: z.ZodString;
use_cases: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
description: string;
use_cases: string[];
}, {
description: string;
use_cases: string[];
}>;
export declare const CollectionSchema: z.ZodObject<{
name: z.ZodString;
description: z.ZodString;
strategies: z.ZodArray<z.ZodString, "many">;
created: z.ZodOptional<z.ZodString>;
updated: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name: string;
description: string;
strategies: string[];
created?: string | undefined;
updated?: string | undefined;
}, {
name: string;
description: string;
strategies: string[];
created?: string | undefined;
updated?: string | undefined;
}>;
export declare const MCPRequestSchema: z.ZodObject<{
jsonrpc: z.ZodOptional<z.ZodLiteral<"2.0">>;
id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
method: z.ZodString;
params: z.ZodAny;
}, "strip", z.ZodTypeAny, {
id: string | number;
method: string;
params?: any;
jsonrpc?: "2.0" | undefined;
}, {
id: string | number;
method: string;
params?: any;
jsonrpc?: "2.0" | undefined;
}>;
export declare const TOOL_SCHEMAS: {
readonly list_strategies: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
readonly get_strategy_details: z.ZodObject<{
strategy: z.ZodString;
}, "strip", z.ZodTypeAny, {
strategy: string;
}, {
strategy: string;
}>;
readonly discover_strategies: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
readonly get_performance_metrics: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
readonly health_check: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
readonly list_custom_strategies: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
readonly list_collections: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
readonly manage_collection: z.ZodObject<{
action: z.ZodEnum<["create", "delete", "add_strategy", "remove_strategy", "update"]>;
collection: z.ZodString;
name: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
strategy: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
collection: string;
action: "create" | "delete" | "add_strategy" | "remove_strategy" | "update";
name?: string | undefined;
description?: string | undefined;
strategy?: string | undefined;
}, {
collection: string;
action: "create" | "delete" | "add_strategy" | "remove_strategy" | "update";
name?: string | undefined;
description?: string | undefined;
strategy?: string | undefined;
}>;
};
export declare const PROMPT_SCHEMAS: {
readonly auto_refine: z.ZodObject<{
user_prompt: z.ZodString;
source: z.ZodOptional<z.ZodEnum<["all", "built-in", "custom"]>>;
collection: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
source?: "built-in" | "custom" | "all" | undefined;
collection?: string | undefined;
}, {
user_prompt: string;
source?: "built-in" | "custom" | "all" | undefined;
collection?: string | undefined;
}>;
readonly compare_refinements: z.ZodObject<{
user_prompt: z.ZodString;
strategies: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
strategies?: string | undefined;
}, {
user_prompt: string;
strategies?: string | undefined;
}>;
readonly prepare_refinement: z.ZodObject<{
user_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
}, {
user_prompt: string;
}>;
readonly execute_refinement: z.ZodObject<{
metaprompt_results: z.ZodString;
original_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
metaprompt_results: string;
original_prompt: string;
}, {
metaprompt_results: string;
original_prompt: string;
}>;
readonly step1_get_categories: z.ZodObject<{
user_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
}, {
user_prompt: string;
}>;
readonly step2_get_strategies: z.ZodObject<{
category_name: z.ZodString;
user_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
category_name: string;
}, {
user_prompt: string;
category_name: string;
}>;
readonly step3_execute_strategy: z.ZodObject<{
strategy_key: z.ZodString;
user_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
user_prompt: string;
strategy_key: string;
}, {
user_prompt: string;
strategy_key: string;
}>;
};
export declare function validateToolInput(toolName: string, input: unknown): unknown;
export declare function validatePromptArgs(promptName: string, args: unknown): unknown;
//# sourceMappingURL=validation-schemas.d.ts.map