semantic-prompt-mcp
Version:
MCP server for semantic prompt framework - NLP-inspired adaptive reasoning engine for LLM orchestration
82 lines • 2.12 kB
TypeScript
/**
* TypeScript interfaces for semantic-prompt-mcp
*/
export interface CommandSelection {
type: "command" | "skip" | "skip_reason";
command?: string;
reason?: string;
}
export interface AgentSelection {
type: "agents" | "skip" | "skip_reason";
agents?: string[];
reason?: string;
}
export interface ThoughtData {
thought: string;
thoughtNumber: number;
totalThoughts: number;
commandSelection?: CommandSelection;
agentSelection?: AgentSelection;
isRevision?: boolean;
revisesThought?: number;
branchFromThought?: number;
branchId?: string;
needsMoreThoughts?: boolean;
nextThoughtNeeded: boolean;
}
export interface ServerConfig {
commandPath?: string;
commandExtension?: string;
availableCommands?: string[];
requireSelectionByStep?: number;
enableAutoRead?: boolean;
agentsPath?: string;
agentsExtension?: string;
historyMaxLength?: number;
availableAgents?: string[];
step3RequiresAgentSelection?: boolean;
}
export interface ProcessResult {
content: Array<{
type: string;
text: string;
}>;
isError?: boolean;
}
export interface PromptConfig {
errors: {
invalidThought: string;
invalidThoughtNumber: string;
invalidTotalThoughts: string;
invalidNextThoughtNeeded: string;
commandFieldRequired: string;
reasonFieldRequired: string;
invalidSelectionType: string;
unexpectedThoughtNumber: string;
mandatoryViolation: string;
unknownTool: string;
};
messages: {
duplicateDocumentRead: string;
serverRunning: string;
fatalError: string;
};
console: {
thoughtPrefix: {
default: string;
revision: string;
branch: string;
};
thoughtContext: {
revision: string;
branch: string;
};
};
config: Record<string, any>;
tool?: {
name: string;
description: string;
};
inputSchema?: Record<string, any>;
}
//# sourceMappingURL=interfaces.d.ts.map