@fre4x/gemini 1.0.24 → 1.0.25

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -11
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -55372,8 +55372,8 @@ var GENERATE_TEXT_TOOL = {
55372
55372
  prompt: { type: "string", description: "The text prompt to generate content from" },
55373
55373
  model: {
55374
55374
  type: "string",
55375
- description: "Gemini model (default: gemini-2.0-flash). Use list_models to see options.",
55376
- default: "gemini-2.0-flash"
55375
+ description: "Gemini model \u2014 omit to use the default (gemini-2.5-flash, current stable). Use list_models to see options.",
55376
+ default: "gemini-2.5-flash"
55377
55377
  }
55378
55378
  },
55379
55379
  required: ["prompt"]
@@ -55393,8 +55393,8 @@ var ANALYZE_MEDIA_TOOL = {
55393
55393
  },
55394
55394
  model: {
55395
55395
  type: "string",
55396
- description: "Gemini model (default: gemini-2.0-flash)",
55397
- default: "gemini-2.0-flash"
55396
+ description: "Gemini model \u2014 omit to use the default (gemini-2.5-flash, current stable)",
55397
+ default: "gemini-2.5-flash"
55398
55398
  }
55399
55399
  },
55400
55400
  required: ["prompt", "media_url"]
@@ -55484,7 +55484,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
55484
55484
  const { name, arguments: args } = request.params;
55485
55485
  try {
55486
55486
  if (name === "generate_text") {
55487
- const { prompt, model = "gemini-2.0-flash" } = z2.object({ prompt: z2.string(), model: z2.string().optional() }).parse(args);
55487
+ const { prompt, model = "gemini-2.5-flash" } = z2.object({ prompt: z2.string(), model: z2.string().optional() }).parse(args);
55488
55488
  if (IS_MOCK) {
55489
55489
  return { content: [{ type: "text", text: `[Mock] Generated text for: "${prompt}" (model: ${model})
55490
55490
 
@@ -55494,7 +55494,7 @@ Mock response \u2014 no API call made.` }] };
55494
55494
  return { content: [{ type: "text", text: response.text || "No response generated." }] };
55495
55495
  }
55496
55496
  if (name === "analyze_media") {
55497
- const { prompt, media_url, mime_type: providedMimeType, model = "gemini-2.0-flash" } = z2.object({
55497
+ const { prompt, media_url, mime_type: providedMimeType, model = "gemini-2.5-flash" } = z2.object({
55498
55498
  prompt: z2.string(),
55499
55499
  media_url: z2.string(),
55500
55500
  mime_type: z2.string().optional(),
@@ -55534,11 +55534,10 @@ Mock response \u2014 no API call made.` }] };
55534
55534
  content: [{ type: "text", text: [
55535
55535
  "## Available Gemini Models\n",
55536
55536
  "### \u{1F4DD} Text Generation",
55537
- "- gemini-2.5-pro-preview-03-25 (latest, most capable)",
55538
- "- gemini-2.0-flash (fast, recommended default)",
55539
- "- gemini-2.0-flash-lite (lightweight)",
55540
- "- gemini-1.5-pro (stable)",
55541
- "- gemini-1.5-flash (stable, fast)",
55537
+ "- gemini-2.5-flash \u2B50 (stable GA, recommended default)",
55538
+ "- gemini-2.5-pro (most capable)",
55539
+ "- gemini-2.5-flash-lite (lightweight, preview)",
55540
+ "\u26A0\uFE0F gemini-1.5-* and gemini-2.0-* are deprecated (sunset Sep 2025 / Jun 2026)",
55542
55541
  "\n### \u{1F5BC}\uFE0F Image Generation (use with generate_image)",
55543
55542
  "- imagen-3.0-generate-002",
55544
55543
  "\n### \u{1F3AC} Video Generation (use with generate_video + get_video_status)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fre4x/gemini",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "A Gemini MCP server providing text completion, multimodal analysis, and image/video generation.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",