UNPKG

histoire

Version:

A fast story book powered by Vite

12 lines • 719 B
import type { DiagnosticsMcpDto } from '@histoire/cli/protocol/diagnostics'; import type { UiMcpSnapshot } from '@histoire/shared'; /** * Connects diagnostics to the dev session's MCP runtime (`session.mcp?.snapshot()`), which * `dev-child` owns. The existing safe snapshot is reused: protocol arguments, tokens and * client envelopes are never read here. * @param source Returns the current snapshot, or undefined when MCP is disabled. */ export declare function setMcpSnapshotSource(source: () => UiMcpSnapshot | undefined): void; /** Safe MCP summary from the live snapshot and the published adapter state. */ export declare function projectMcpDiagnostics(): DiagnosticsMcpDto; //# sourceMappingURL=mcp.d.ts.map