/** * Host plugin setup for `gjc setup claude` and `gjc setup codex`. * * Renders install guidance and a fail-closed coordinator MCP config preview for * the canonical generated plugin bundle under `plugins/`. This is intentionally * render-only and fail-closed: the workdir allowlist is scoped to the project * root and no mutation class is enabled until the user opts in. */ export type HostPluginKind = "claude" | "codex"; export interface HostPluginSetupFlags { json?: boolean; check?: boolean; root?: string[]; repo?: string; } export interface HostPluginSetupResult { ok: true; host: HostPluginKind; mode: "render"; gated: boolean; pluginPath: string; manifestPath: string; marketplacePath: string; installGuidance: string[]; coordinatorConfigPreview: { command: string; args: string[]; env: Record; }; mutationPolicy: string; notes: string[]; check?: { ok: boolean; checked: string[]; missing: string[]; }; } export declare function buildHostPluginSetup(host: HostPluginKind, flags?: HostPluginSetupFlags): HostPluginSetupResult; export declare function formatHostPluginSetup(result: HostPluginSetupResult): string;