semantic-prompt-mcp
Version:
MCP server for semantic prompt framework - NLP-inspired adaptive reasoning engine for LLM orchestration
31 lines • 970 B
TypeScript
/**
* Simple Parameter Normalizer
* Handles various input formats to prevent errors in chain_of_thought tool
* Follows KISS principle - only does what's necessary
*/
export declare class ParameterNormalizer {
/**
* Main normalization function for chain_of_thought parameters
* Handles XML-like strings, malformed JSON, and ensures correct types
*/
normalizeChainOfThoughtParams(input: any): any;
/**
* Normalizes commandSelection parameter
* Handles XML strings like '<parameter name="type">command</parameter>'
*/
normalizeCommandSelection(input: any): any;
/**
* Normalizes agentSelection parameter
*/
normalizeAgentSelection(input: any): any;
/**
* Converts value to number
*/
private toNumber;
/**
* Converts value to boolean
*/
private toBoolean;
}
export declare const parameterNormalizer: ParameterNormalizer;
//# sourceMappingURL=parameterNormalizer.d.ts.map