CLI Adapters exports - CLI integration with defensive parsing Split from index.ts for file size compliance (Issue #285)
Creates a CLI adapter based on configuration.
Adapter configuration
The configured CLI adapter
Error if CLI name is not supported
const adapter = createCliAdapter({ cli: 'claude', model: 'claude-opus-4' });const result = await adapter.execute({ content: 'Hello!' }); Copy
const adapter = createCliAdapter({ cli: 'claude', model: 'claude-opus-4' });const result = await adapter.execute({ content: 'Hello!' });
CLI Adapters exports - CLI integration with defensive parsing Split from index.ts for file size compliance (Issue #285)