UNPKG

@mseep/mcp-reasoner

Version:

MCP Reasoner with multiple reasoning strategies including Beam Search and Monte Carlo Tree Search

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; }