@tanstack/ai-gemini 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.
package/README.md CHANGED
@@ -47,7 +47,7 @@ A powerful, type-safe AI SDK for building AI-powered applications.
47
47
  - **Enhanced integration with TanStack Start** - Share implementations between AI tools and server functions
48
48
  - **Observability events** - Structured, typed events for text, tools, image, speech, transcription, and video ([docs](./docs/guides/observability.md))
49
49
 
50
- ### <a href="https://tanstack.com/ai">Read the docs →</b></a>
50
+ ### <a href="https://tanstack.com/ai">Read the docs →</a>
51
51
 
52
52
  ## Tree-Shakeable Adapters
53
53
 
@@ -6,6 +6,7 @@ export type { GeminiImageProviderOptions, GeminiImageModelProviderOptionsByName,
6
6
  * @experimental Gemini TTS is an experimental feature and may change.
7
7
  */
8
8
  export { GeminiTTSAdapter, createGeminiSpeech, geminiSpeech, type GeminiTTSConfig, type GeminiTTSProviderOptions, } from './adapters/tts.js';
9
+ export { GEMINI_MODELS } from './model-meta.js';
9
10
  export { GEMINI_MODELS as GeminiTextModels } from './model-meta.js';
10
11
  export { GEMINI_IMAGE_MODELS as GeminiImageModels } from './model-meta.js';
11
12
  export { GEMINI_TTS_MODELS as GeminiTTSModels } from './model-meta.js';
package/dist/esm/index.js CHANGED
@@ -2,8 +2,9 @@ import { GeminiTextAdapter, createGeminiChat, geminiText } from "./adapters/text
2
2
  import { GeminiSummarizeAdapter, GeminiSummarizeModels, createGeminiSummarize, geminiSummarize } from "./adapters/summarize.js";
3
3
  import { GeminiImageAdapter, createGeminiImage, geminiImage } from "./adapters/image.js";
4
4
  import { GeminiTTSAdapter, createGeminiSpeech, geminiSpeech } from "./adapters/tts.js";
5
- import { GEMINI_IMAGE_MODELS, GEMINI_TTS_MODELS, GEMINI_TTS_VOICES, GEMINI_MODELS } from "./model-meta.js";
5
+ import { GEMINI_MODELS, GEMINI_IMAGE_MODELS, GEMINI_TTS_MODELS, GEMINI_TTS_VOICES, GEMINI_MODELS as GEMINI_MODELS2 } from "./model-meta.js";
6
6
  export {
7
+ GEMINI_MODELS,
7
8
  GeminiImageAdapter,
8
9
  GEMINI_IMAGE_MODELS as GeminiImageModels,
9
10
  GeminiSummarizeAdapter,
@@ -12,7 +13,7 @@ export {
12
13
  GEMINI_TTS_MODELS as GeminiTTSModels,
13
14
  GEMINI_TTS_VOICES as GeminiTTSVoices,
14
15
  GeminiTextAdapter,
15
- GEMINI_MODELS as GeminiTextModels,
16
+ GEMINI_MODELS2 as GeminiTextModels,
16
17
  createGeminiChat,
17
18
  createGeminiImage,
18
19
  createGeminiSpeech,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/ai-gemini",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Google Gemini adapter for TanStack AI",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -33,12 +33,12 @@
33
33
  "@google/genai": "^1.30.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "@tanstack/ai": "^0.5.0"
36
+ "@tanstack/ai": "^0.6.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@vitest/coverage-v8": "4.0.14",
40
40
  "vite": "^7.2.7",
41
- "@tanstack/ai": "0.5.0"
41
+ "@tanstack/ai": "0.6.1"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "vite build",
package/src/index.ts CHANGED
@@ -52,6 +52,7 @@ export {
52
52
  } from './adapters/tts'
53
53
 
54
54
  // Re-export models from model-meta for convenience
55
+ export { GEMINI_MODELS } from './model-meta'
55
56
  export { GEMINI_MODELS as GeminiTextModels } from './model-meta'
56
57
  export { GEMINI_IMAGE_MODELS as GeminiImageModels } from './model-meta'
57
58
  export { GEMINI_TTS_MODELS as GeminiTTSModels } from './model-meta'