// --------------------------------------------------------------------------- // CopilotAdapter โ€” Phase 2 stub // Spec reference: ยง3.4 // --------------------------------------------------------------------------- import type { Provider } from '../task/task-state.js'; import type { TaskHandle } from '../task/task-handle.js'; import type { ProviderCapabilities } from './provider-capabilities.js'; import { COPILOT_CAPABILITIES } from './provider-capabilities.js'; import { BaseProviderAdapter, type ProviderSpawnOptions, type AvailabilityResult, } from './base-adapter.js'; export class CopilotAdapter extends BaseProviderAdapter { readonly id: Provider = 'copilot'; readonly displayName = 'Copilot'; checkAvailability(): AvailabilityResult { return { available: false, reason: 'Phase 2 โ€” not yet implemented' }; } getCapabilities(): ProviderCapabilities { return COPILOT_CAPABILITIES; } getStats(): Record { return {}; } protected async executeSession( _handle: TaskHandle, _prompt: string, _signal: AbortSignal, _options: ProviderSpawnOptions, ): Promise { throw new Error('Not implemented โ€” Phase 2'); } }