Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 3 additions & 20 deletions src/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading