@withpica/mcp-server
Version:
MCP Server for withPICA — enables AI assistants to interact with your withPICA music catalog
16 lines • 854 B
TypeScript
/**
* ADR-158 Plan C Phase 2 — completion hints for pica_works_create.
*
* When a fresh work is created, the custody columns default to
* "entry_default" (the org that typed it in is the placeholder custodian
* until an actual claim is made). These hints nudge the agent to have
* the rights conversation immediately rather than leaving custody dangling.
*
* The helper is intentionally defensive — the SDK's `Work` TS interface
* does not declare `composition_custody_source` / `master_custody_source`,
* but the API returns them as JSON pass-through from `worksService.create`.
* Callers pass the raw work object; we read the fields with a typed wrapper.
*/
import type { CompletionHint } from "@withpica/mcp-utils";
export declare function buildCustodyHints(work: unknown): CompletionHint[];
//# sourceMappingURL=custody-hints.d.ts.map