mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-01-30 06:12:03 +00:00
- Introduced a new Simple Query Service to streamline basic AI queries, allowing for structured JSON outputs. - Updated existing routes to utilize the new service, replacing direct SDK calls with a unified interface for querying. - Enhanced provider handling in various routes, including generate-spec, generate-features-from-spec, and validate-issue, to support both Claude and Cursor models seamlessly. - Added structured output support for improved response handling and error management across the application.
41 lines
1009 B
TypeScript
41 lines
1009 B
TypeScript
/**
|
|
* Provider exports
|
|
*/
|
|
|
|
// Base providers
|
|
export { BaseProvider } from './base-provider.js';
|
|
export {
|
|
CliProvider,
|
|
type SpawnStrategy,
|
|
type CliSpawnConfig,
|
|
type CliErrorInfo,
|
|
} from './cli-provider.js';
|
|
export type {
|
|
ProviderConfig,
|
|
ExecuteOptions,
|
|
ProviderMessage,
|
|
InstallationStatus,
|
|
ModelDefinition,
|
|
} from './types.js';
|
|
|
|
// Claude provider
|
|
export { ClaudeProvider } from './claude-provider.js';
|
|
|
|
// Cursor provider
|
|
export { CursorProvider, CursorErrorCode, CursorError } from './cursor-provider.js';
|
|
export { CursorConfigManager } from './cursor-config-manager.js';
|
|
|
|
// OpenCode provider
|
|
export { OpencodeProvider } from './opencode-provider.js';
|
|
|
|
// Provider factory
|
|
export { ProviderFactory } from './provider-factory.js';
|
|
|
|
// Simple query service - unified interface for basic AI queries
|
|
export { simpleQuery, streamingQuery } from './simple-query-service.js';
|
|
export type {
|
|
SimpleQueryOptions,
|
|
SimpleQueryResult,
|
|
StreamingQueryOptions,
|
|
} from './simple-query-service.js';
|