@chrischall/gemini-mcp 1.0.3 → 1.0.4

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": "1.0.3"
10
+ "version": "1.0.4"
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": "1.0.3",
18
+ "version": "1.0.4",
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": "1.0.3",
4
+ "version": "1.0.4",
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
@@ -27186,6 +27186,7 @@ var require_fast_uri = __commonJS({
27186
27186
  return uriTokens.join("");
27187
27187
  }
27188
27188
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
27189
+ var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
27189
27190
  function getParseError(parsed, matches) {
27190
27191
  if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
27191
27192
  return 'URI path must start with "/" when authority is present.';
@@ -27215,6 +27216,11 @@ var require_fast_uri = __commonJS({
27215
27216
  uri = "//" + uri;
27216
27217
  }
27217
27218
  }
27219
+ const authorityMatch = uri.match(AUTHORITY_PREFIX);
27220
+ if (authorityMatch !== null && authorityMatch[1].indexOf("\\") !== -1) {
27221
+ parsed.error = "URI authority must not contain a literal backslash.";
27222
+ malformedAuthorityOrPort = true;
27223
+ }
27218
27224
  const matches = uri.match(URI_PARSE);
27219
27225
  if (matches) {
27220
27226
  parsed.scheme = matches[1];
@@ -27258,7 +27264,7 @@ var require_fast_uri = __commonJS({
27258
27264
  if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
27259
27265
  if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
27260
27266
  try {
27261
- parsed.host = URL.domainToASCII(parsed.host.toLowerCase());
27267
+ parsed.host = new URL("http://" + parsed.host).hostname;
27262
27268
  } catch (e) {
27263
27269
  parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
27264
27270
  }
@@ -32802,7 +32808,7 @@ async function loadStdioDotenv() {
32802
32808
  }
32803
32809
 
32804
32810
  // src/version.ts
32805
- var VERSION = "1.0.3";
32811
+ var VERSION = "1.0.4";
32806
32812
 
32807
32813
  // src/tools/models.ts
32808
32814
  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 = '1.0.3'; // x-release-please-version
2
+ export const VERSION = '1.0.4'; // x-release-please-version
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrischall/gemini-mcp",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
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>",
@@ -55,13 +55,13 @@
55
55
  "zod": "^4.4.2"
56
56
  },
57
57
  "devDependencies": {
58
- "@chrischall/mcp-connector": "^1.0.0",
58
+ "@chrischall/mcp-connector": "^1.1.1",
59
59
  "@cloudflare/vitest-pool-workers": "^0.18.6",
60
60
  "@cloudflare/workers-oauth-provider": "^0.8.2",
61
61
  "@cloudflare/workers-types": "^5.20260719.1",
62
62
  "@types/node": "^26.0.0",
63
63
  "@vitest/coverage-v8": "^4.1.2",
64
- "agents": "^0.17.4",
64
+ "agents": "^0.19.0",
65
65
  "esbuild": "^0.28.0",
66
66
  "typescript": "^7.0.2",
67
67
  "vitest": "^4.1.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": "1.0.3",
9
+ "version": "1.0.4",
10
10
  "packages": [
11
11
  {
12
12
  "registryType": "npm",
13
13
  "identifier": "@chrischall/gemini-mcp",
14
- "version": "1.0.3",
14
+ "version": "1.0.4",
15
15
  "transport": {
16
16
  "type": "stdio"
17
17
  },