diff --git a/package.json b/package.json index 94fcc7025..cda7440ad 100644 --- a/package.json +++ b/package.json @@ -207,7 +207,8 @@ "xml2js": "^0.6.2", "yargs": "^17.7.2", "zod": "^3.22.0", - "zod-to-json-schema": "^3.24.6" + "zod-to-json-schema": "^3.24.6", + "@google-cloud/text-to-speech": "^5.0.0" }, "optionalDependencies": { "canvas": "^3.2.0" @@ -220,7 +221,6 @@ "@changesets/changelog-github": "^0.5.1", "@changesets/cli": "^2.29.7", "@eslint/js": "^9.35.0", - "@google-cloud/text-to-speech": "^5.0.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b3f579316..a2937e532 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,6 +59,9 @@ importers: '@aws-sdk/types': specifier: ^3.862.0 version: 3.901.0 + '@google-cloud/text-to-speech': + specifier: ^5.0.0 + version: 5.8.1(encoding@0.1.13) '@google-cloud/vertexai': specifier: ^1.10.0 version: 1.10.0(encoding@0.1.13) @@ -207,9 +210,6 @@ importers: '@eslint/js': specifier: ^9.35.0 version: 9.37.0 - '@google-cloud/text-to-speech': - specifier: ^5.0.0 - version: 5.8.1(encoding@0.1.13) '@semantic-release/changelog': specifier: ^6.0.3 version: 6.0.3(semantic-release@24.2.9(typescript@5.9.3)) diff --git a/src/lib/index.ts b/src/lib/index.ts index f2791bce4..cf22c35b4 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -35,30 +35,13 @@ // Core exports import { AIProviderFactory } from "./core/factory.js"; export { AIProviderFactory }; -export type { - AIProvider, - AIModelProviderConfig, - StreamingOptions, - ProviderAttempt, - SupportedModelName, -} from "./types/index.js"; -// NEW: Generate function exports -export type { - GenerateOptions, - GenerateResult, - EnhancedProvider, -} from "./types/generateTypes.js"; +// Export ALL types from the centralized type barrel +export * from "./types/index.js"; -// Tool Registration exports - use MCPServerInfo.tools format -export type { ToolContext } from "./types/tools.js"; +// Tool Registration utility export { validateTool } from "./sdk/toolRegistration.js"; -export type { ToolResult, ToolDefinition } from "./types/tools.js"; - -// Model enums -export { DEFAULT_PROVIDER_CONFIGS } from "./types/index.js"; - export { AIProviderName, BedrockModels,