/** * `cockpit_scope_add` MCP tool handler. * * Appends a task-list ref to a scope (epic or tracking) issue's body, * concurrency-safe via bounded retry (see scope/retry.ts). */ import type { CommandRunner, GhWrapper } from '@generacy-ai/cockpit'; import { type ToolResult } from '../errors.js'; import { type CockpitScopeAddInput } from '../schemas.js'; import type { BodyShape } from '../../scope/writer.js'; export interface CockpitScopeAddData { scope: { owner: string; repo: string; number: number; }; ref: { owner: string; repo: string; number: number; }; shape: BodyShape; alreadyPresent: boolean; attempts: number; } export interface CockpitScopeAddDeps { runner?: CommandRunner; gh?: GhWrapper; } export declare function cockpitScopeAdd(input: CockpitScopeAddInput, deps?: CockpitScopeAddDeps): Promise>; //# sourceMappingURL=cockpit_scope_add.d.ts.map