UNPKG

autosnippet

Version:

Extract code patterns into a knowledge base for AI coding assistants

37 lines (36 loc) 1.27 kB
/** * MCP Handler — autosnippet_panorama * * Project panorama query tool with 8 operations: * overview — project skeleton + layers + module roles * module — single module detail + neighbors + recipes + file groups * gaps — knowledge gaps (code without Recipes) * health — panorama health (coverage + coupling + cycles) * governance_cycle — full metabolism cycle (contradiction + redundancy + decay) * decay_report — decay assessment report * staging_check — staging entry check + auto-publish * enhancement_suggestions — usage-data-based enhancement suggestions * * All read-only except governance_cycle and staging_check (which perform state transitions). */ import type { McpContext } from './types.js'; interface PanoramaArgs { operation?: string; module?: string; } /** * autosnippet_panorama — unified panorama query */ export declare function panoramaHandler(ctx: McpContext, args: PanoramaArgs): Promise<{ success: boolean; errorCode: string | null; message: string; data: unknown; meta: { source?: string | undefined; responseTimeMs?: number | undefined; version: string; tool?: string | undefined; }; }>; export {};