@chrischall/gemini-mcp 0.6.0 → 0.6.1

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.
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "metadata": {
9
9
  "description": "MCP server for Google Gemini image generation and editing — generate and edit images via the Gemini API",
10
- "version": "0.6.0"
10
+ "version": "0.6.1"
11
11
  },
12
12
  "plugins": [
13
13
  {
@@ -15,7 +15,7 @@
15
15
  "displayName": "Gemini Images",
16
16
  "source": "./",
17
17
  "description": "Generate and edit images with Google Gemini image models (Nano Banana / Nano Banana Pro) via natural language prompts",
18
- "version": "0.6.0",
18
+ "version": "0.6.1",
19
19
  "author": {
20
20
  "name": "Chris Hall"
21
21
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gemini-mcp",
3
3
  "displayName": "Gemini Images",
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "description": "MCP server for Google Gemini image generation and editing — generate and edit images via the Gemini API",
6
6
  "author": {
7
7
  "name": "Chris Hall",
package/dist/bundle.js CHANGED
@@ -5,11 +5,20 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __esm = (fn, res) => function __init() {
9
- return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
8
+ var __esm = (fn, res, err) => function __init() {
9
+ if (err) throw err[0];
10
+ try {
11
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
12
+ } catch (e) {
13
+ throw err = [e], e;
14
+ }
10
15
  };
11
16
  var __commonJS = (cb, mod) => function __require() {
12
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
17
+ try {
18
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19
+ } catch (e) {
20
+ throw mod = 0, e;
21
+ }
13
22
  };
14
23
  var __export = (target, all) => {
15
24
  for (var name in all)
@@ -32375,6 +32384,12 @@ var init_http = __esm({
32375
32384
  }
32376
32385
  });
32377
32386
 
32387
+ // node_modules/@chrischall/mcp-utils/dist/concurrency/index.js
32388
+ var init_concurrency = __esm({
32389
+ "node_modules/@chrischall/mcp-utils/dist/concurrency/index.js"() {
32390
+ }
32391
+ });
32392
+
32378
32393
  // node_modules/@chrischall/mcp-utils/dist/dates/index.js
32379
32394
  var init_dates = __esm({
32380
32395
  "node_modules/@chrischall/mcp-utils/dist/dates/index.js"() {
@@ -32382,7 +32397,7 @@ var init_dates = __esm({
32382
32397
  });
32383
32398
 
32384
32399
  // node_modules/@chrischall/mcp-utils/dist/zod/index.js
32385
- var PositiveInt, NonNegInt, NonEmptyString, IsoDate, IsoTime, schemaOrigin, schemaConfirm, paginationSchema, pageSchema;
32400
+ var PositiveInt, NonNegInt, NonEmptyString, IsoDate, IsoTime, NumericIdString, SafePathSegment, schemaOrigin, schemaConfirm, paginationSchema, pageSchema;
32386
32401
  var init_zod2 = __esm({
32387
32402
  "node_modules/@chrischall/mcp-utils/dist/zod/index.js"() {
32388
32403
  init_zod();
@@ -32391,6 +32406,8 @@ var init_zod2 = __esm({
32391
32406
  NonEmptyString = external_exports.string().min(1);
32392
32407
  IsoDate = external_exports.iso.date();
32393
32408
  IsoTime = external_exports.string().regex(/^([01]?\d|2[0-3]):[0-5]\d$/, "must be HH:MM (24h), e.g. 19:30");
32409
+ NumericIdString = external_exports.string().regex(/^\d+$/, "must be a numeric id (digits only)").describe("A numeric id string (digits only), safe to interpolate into a URL path.");
32410
+ SafePathSegment = external_exports.string().min(1).regex(/^[^/?#\s]+$/, 'must not contain "/", "?", "#", or whitespace').refine((v) => !v.includes(".."), 'must not contain ".."').describe('A single URL path segment, safe to interpolate: no "/", "..", "?", "#", or whitespace.');
32394
32411
  schemaOrigin = external_exports.string().optional().describe("Portal origin (e.g. https://<vendor>.example.co) selecting which active session to use. Optional when only one session is active.");
32395
32412
  schemaConfirm = external_exports.boolean().optional().describe("Must be true to proceed. Without this, the tool returns a preview.");
32396
32413
  paginationSchema = {
@@ -32422,6 +32439,7 @@ var init_dist = __esm({
32422
32439
  init_config();
32423
32440
  init_fs();
32424
32441
  init_http();
32442
+ init_concurrency();
32425
32443
  init_dates();
32426
32444
  init_zod2();
32427
32445
  init_auth();
@@ -32492,7 +32510,7 @@ var init_clipboard = __esm({
32492
32510
  init_dist();
32493
32511
 
32494
32512
  // src/version.ts
32495
- var VERSION = "0.6.0";
32513
+ var VERSION = "0.6.1";
32496
32514
 
32497
32515
  // src/tools/models.ts
32498
32516
  init_dist();
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /** Single source of the server version. release-please bumps the literal below. */
2
- export const VERSION = '0.6.0'; // x-release-please-version
2
+ export const VERSION = '0.6.1'; // x-release-please-version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrischall/gemini-mcp",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "mcpName": "io.github.chrischall/gemini-mcp",
5
5
  "description": "Gemini image-generation MCP server for Claude — developed and maintained by AI (Claude Code)",
6
6
  "author": "Claude Code (AI) <https://www.anthropic.com/claude>",
@@ -44,13 +44,13 @@
44
44
  "test:coverage": "vitest run --coverage"
45
45
  },
46
46
  "dependencies": {
47
- "@chrischall/mcp-utils": "^0.7.0",
47
+ "@chrischall/mcp-utils": "^0.10.3",
48
48
  "@modelcontextprotocol/sdk": "^1.29.0",
49
49
  "dotenv": "^17.4.0",
50
50
  "zod": "^4.4.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@types/node": "^25.5.2",
53
+ "@types/node": "^26.0.0",
54
54
  "@vitest/coverage-v8": "^4.1.2",
55
55
  "esbuild": "^0.28.0",
56
56
  "typescript": "^6.0.2",
package/server.json CHANGED
@@ -6,12 +6,12 @@
6
6
  "url": "https://github.com/chrischall/gemini-mcp",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.6.0",
9
+ "version": "0.6.1",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@chrischall/gemini-mcp",
14
- "version": "0.6.0",
14
+ "version": "0.6.1",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },