@withpica/mcp-server
Version:
MCP Server for withPICA — enables AI assistants to interact with your withPICA music catalog
21 lines • 1.23 kB
TypeScript
/**
* ADR-352 (amendment 2026-11-13): the words ChatGPT's curated list is served
* where a tool's own description or argument names a tool that list doesn't
* have. Each edit replaces one exact piece of today's text, for ChatGPT only;
* every other host keeps the tool's own words. Copy by e1, 2026-11-13.
*
* Applied once per connection, when the registry is built for the curated
* host (index.ts, `applyOpenAiWordings`). An edit whose `from` text is no
* longer there fails the build: openai-curated-surface.test.ts ("every
* ChatGPT wording still finds its text") runs the strict `applyEdits`. If
* one ever reaches production, the registry logs it and serves that tool's
* own words rather than stop (8b and Release, 2026-11-13).
*
* Paths: "" is the tool's description; "a.b" is the description of argument
* `b` inside argument `a`.
*/
export type Edit = readonly [from: string, to: string];
export declare const OPENAI_WORDINGS: Readonly<Record<string, Readonly<Record<string, readonly Edit[]>>>>;
/** Replace each edit's text once; throws if a `from` is not there. */
export declare function applyEdits(text: string, edits: readonly Edit[], where: string): string;
//# sourceMappingURL=openai-wordings.d.ts.map