UNPKG

@mcpflow.io/mcp-mcp-reasoner

Version:

为Claude Desktop 实现的基于系统推理的MCP服务器,采用波束搜索和思维评估。

13 lines (12 loc) 433 B
import { ThoughtNode } from './types.js'; export declare class StateManager { private cache; private nodes; constructor(cacheSize: number); getNode(id: string): Promise<ThoughtNode | undefined>; saveNode(node: ThoughtNode): Promise<void>; getChildren(nodeId: string): Promise<ThoughtNode[]>; getPath(nodeId: string): Promise<ThoughtNode[]>; getAllNodes(): Promise<ThoughtNode[]>; clear(): void; }