UNPKG

@adeu/mcp-server

Version:

[![GitHub Repo stars](https://img.shields.io/github/stars/dealfluence/adeu?style=social)](https://github.com/dealfluence/adeu) [![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-green.svg)](https://modelcontextprotocol.io/) [![License: MIT](ht

25 lines • 1.16 kB
import type { ProjectionBundle, ToolResult } from "./response-builders.js"; export declare function banner_for_path(path: string, hint: string, load: (p: string) => Promise<any>): Promise<string | null>; export declare function fields_discovery_hint(): string; /** * Render `mode="fields"` — the content-control ledger (spec §2-§4). * * `text` must be the RAW projection: the ledger previews values by reading the * text between a control's anchors, so a clean view (which drops placeholder * bubbles) would report a different document than the one the agent edits. */ export declare function build_fields_response(doc: any, text: string, file_path: string, opts?: { offset?: number; bundle?: ProjectionBundle; no_chrome?: boolean; }): ToolResult; export declare function build_changes_response(text: string, file_path: string, opts?: { comments_data?: Record<string, any> | null; author_filter?: string | null; page?: number | string | null; offset?: number; bundle?: ProjectionBundle; existing_change_ids?: Iterable<string> | null; no_chrome?: boolean; }): ToolResult; //# sourceMappingURL=ledger.d.ts.map