@tanstack/ai-anthropic 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  export { AnthropicTextAdapter, anthropicText, createAnthropicChat, type AnthropicTextConfig, type AnthropicTextProviderOptions, } from './adapters/text.js';
2
2
  export { AnthropicSummarizeAdapter, anthropicSummarize, createAnthropicSummarize, type AnthropicSummarizeConfig, type AnthropicSummarizeProviderOptions, } from './adapters/summarize.js';
3
- export { ANTHROPIC_MODELS } from './model-meta.js';
4
3
  export type { AnthropicChatModelProviderOptionsByName, AnthropicModelInputModalitiesByName, AnthropicChatModel, } from './model-meta.js';
4
+ export { ANTHROPIC_MODELS } from './model-meta.js';
5
5
  export type { AnthropicTextMetadata, AnthropicImageMetadata, AnthropicDocumentMetadata, AnthropicAudioMetadata, AnthropicVideoMetadata, AnthropicMessageMetadataByModality, } from './message-types.js';
6
6
  export { convertToolsToProviderFormat } from './tools/tool-converter.js';
7
7
  export type { AnthropicTool, CustomTool } from './tools.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/ai-anthropic",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Anthropic Claude adapter for TanStack AI",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -34,12 +34,12 @@
34
34
  },
35
35
  "peerDependencies": {
36
36
  "zod": "^4.0.0",
37
- "@tanstack/ai": "^0.5.0"
37
+ "@tanstack/ai": "^0.6.1"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@vitest/coverage-v8": "4.0.14",
41
41
  "zod": "^4.2.0",
42
- "@tanstack/ai": "0.5.0"
42
+ "@tanstack/ai": "0.6.1"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "vite build",
package/src/index.ts CHANGED
@@ -19,7 +19,6 @@ export {
19
19
  type AnthropicSummarizeConfig,
20
20
  type AnthropicSummarizeProviderOptions,
21
21
  } from './adapters/summarize'
22
- export { ANTHROPIC_MODELS } from './model-meta'
23
22
  // ============================================================================
24
23
  // Type Exports
25
24
  // ============================================================================
@@ -29,6 +28,7 @@ export type {
29
28
  AnthropicModelInputModalitiesByName,
30
29
  AnthropicChatModel,
31
30
  } from './model-meta'
31
+ export { ANTHROPIC_MODELS } from './model-meta'
32
32
  export type {
33
33
  AnthropicTextMetadata,
34
34
  AnthropicImageMetadata,