/**
 * Mock provider implementation
 */
import { callMock, callMockCustom } from '../mock/index.js';
function toMockOptions(options) {
    return {
        cwd: options.cwd,
        abortSignal: options.abortSignal,
        sessionId: options.sessionId,
        onStream: options.onStream,
        allowedTools: options.allowedTools,
    };
}
/** Mock provider — deterministic responses for testing */
export class MockProvider {
    supportsStructuredOutput = true;
    setup(config) {
        const { name, systemPrompt } = config;
        if (systemPrompt) {
            return {
                call: (prompt, options) => callMockCustom(name, prompt, systemPrompt, toMockOptions(options)),
            };
        }
        return {
            call: (prompt, options) => callMock(name, prompt, toMockOptions(options)),
        };
    }
}
//# sourceMappingURL=mock.js.map