jeopi-ai 16.6.8 → 16.6.11

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [16.6.10] - 2026-10-25
6
+
7
+ ### Fixed
8
+
9
+ - Synthesize an empty `items` schema on bare `type: "array"` tool-parameter properties in `normalizeSchemaForCCA` and `normalizeSchemaForGoogle` so switching from Anthropic or OpenAI to Antigravity (`gemini-4-argon-*`) with MCP or custom tools does not fail with HTTP 400 (`items: missing field`).
10
+ - Treat Gemini 4+ models (`gemini-4-argon-*`) as Gemini 3+ in `google-shared` so cross-provider unsigned `functionCall` turns receive `skip_thought_signature_validator` instead of failing thought-signature validation when switching from Anthropic or OpenAI mid-session.
11
+
5
12
  ## [16.6.6] - 2026-10-17
6
13
 
7
14
  ### Fixed
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "jeopi-ai",
4
- "version": "16.6.8",
4
+ "version": "16.6.11",
5
5
  "description": "Unified LLM API with automatic model discovery and provider configuration",
6
6
  "homepage": "https://github.com/akillness/jeopi",
7
7
  "author": "Can Boluk",
@@ -38,9 +38,9 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@bufbuild/protobuf": "^2.12.0",
41
- "jeopi-catalog": "16.6.8",
42
- "jeopi-utils": "16.6.8",
43
- "jeopi-wire": "16.6.8",
41
+ "jeopi-catalog": "16.6.11",
42
+ "jeopi-utils": "16.6.11",
43
+ "jeopi-wire": "16.6.11",
44
44
  "arktype": "2.2.3",
45
45
  "zod": "^4"
46
46
  },
@@ -163,7 +163,11 @@ function supportsMultimodalFunctionResponse(modelId: string): boolean {
163
163
  }
164
164
 
165
165
  function isGemini3Model(modelId: string): boolean {
166
- return modelId.includes("gemini-3");
166
+ const geminiMajorVersion = getGeminiMajorVersion(modelId);
167
+ if (geminiMajorVersion !== undefined) {
168
+ return geminiMajorVersion >= 3;
169
+ }
170
+ return modelId.toLowerCase().includes("gemini-3");
167
171
  }
168
172
 
169
173
  /**
@@ -415,8 +415,12 @@ function normalizeSchemaObjectNode(value: JsonObject, options: NormalizeSchemaWa
415
415
  if (keys.length > 1) result.propertyOrdering = keys;
416
416
  }
417
417
 
418
- if (options.ensureObjectProperties && result.type === "object" && !outHasOwn(result, "properties")) {
419
- result.properties = {};
418
+ if (options.ensureObjectProperties) {
419
+ if (result.type === "object" && !outHasOwn(result, "properties")) {
420
+ result.properties = {};
421
+ } else if (result.type === "array" && (!outHasOwn(result, "items") || Array.isArray(result.items))) {
422
+ result.items = {};
423
+ }
420
424
  }
421
425
 
422
426
  applyDescriptionSpill(result, spill, options);
@@ -432,6 +436,13 @@ function applyNodePostProcessing(schema: JsonObject, options: NormalizeSchemaWal
432
436
  }
433
437
  if (options.foldOneOfIntoAnyOf) current = foldOneOfIntoAnyOf(current);
434
438
  if (options.dropNonScalarEnum) current = dropNonScalarEnumForMfjs(current);
439
+ if (options.ensureObjectProperties) {
440
+ if (current.type === "object" && !outHasOwn(current, "properties")) {
441
+ current = { ...current, properties: {} };
442
+ } else if (current.type === "array" && (!outHasOwn(current, "items") || Array.isArray(current.items))) {
443
+ current = { ...current, items: {} };
444
+ }
445
+ }
435
446
  return current;
436
447
  }
437
448