@anthonyhaussman/opencode-agy-auth 1.2.10-alpha.0 → 1.2.10-alpha.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.
package/dist/index.js CHANGED
@@ -19803,9 +19803,14 @@ function normalizeToolSchemaTypes(tools, toolMapper) {
19803
19803
  fn.name = toolMapper ? toolMapper.toGemini(fn.name) : sanitizeToolName(fn.name);
19804
19804
  }
19805
19805
  if (fn) {
19806
+ if (!fn.parameters) {
19807
+ fn.parameters = fn.parameters_json_schema ?? fn.parametersJsonSchema;
19808
+ }
19806
19809
  if (!fn.parameters) {
19807
19810
  fn.parameters = { type: "OBJECT", properties: {} };
19808
19811
  }
19812
+ delete fn.parameters_json_schema;
19813
+ delete fn.parametersJsonSchema;
19809
19814
  sanitizeSchema(fn.parameters);
19810
19815
  }
19811
19816
  }