/** * `cockpit_context` MCP tool handler. * * Wraps `runContext` — the internal function already returns the bundle * object directly (in addition to writing the JSON line to stdout). We * capture stdout to keep it off the MCP transport but use the return value * as `data`. */ import type { CommandRunner, GhWrapper } from '@generacy-ai/cockpit'; import { type ContextBundle } from '../../context.js'; import { type ToolResult } from '../errors.js'; import { type IssueRefInput } from '../schemas.js'; export interface CockpitContextInput { issue: IssueRefInput; } export interface CockpitContextDeps { runner?: CommandRunner; gh?: GhWrapper; } export declare function cockpitContext(input: CockpitContextInput, deps?: CockpitContextDeps): Promise>; //# sourceMappingURL=cockpit_context.d.ts.map