Skip to content

v1.6.2 — Gemini CLI compatibility

Choose a tag to compare

@asbis asbis released this 21 Apr 21:07
· 77 commits to master since this release

1.6.2 (2026-04-21)

Patch: MCP tool schemas sanitized for strict clients (Gemini CLI).

Fixed

  • Gemini CLI now accepts the tool catalog. ShapeItUp's schemas previously
    emitted $schema, propertyNames, and object-valued additionalProperties
    (from z.record(...) params), all of which fail Gemini's OpenAPI-3.0-subset
    validator and caused "400 INVALID_ARGUMENT" on every request regardless of
    whether a tool was being called. A new sanitizer strips those fields
    universally; runtime validation is unchanged. Safe for all MCP clients —
    Claude Code, Cursor, and Claude Desktop continue to accept the simpler form.
  • check_collisions and preview_finder descriptions trimmed under 900
    chars (previously 1229 / 1207) to fit Gemini's per-function 1024-char limit.
  • Defense-in-depth: description truncation at emit-time caps any future tool
    description at 999 chars + ellipsis.

This release fixes Gemini CLI compatibility. Users seeing 400 INVALID_ARGUMENT when trying to use ShapeItUp from Gemini CLI should upgrade to 1.6.2.