Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

v0.6.0

Choose a tag to compare

@hampsterx hampsterx released this 20 Apr 23:33
· 8 commits to master since this release

What's new

Added

  • changeMode on query tool - opt-in flag that asks Gemini to emit structured **FILE: <path>:<start>-<end>** / ===OLD=== / ===NEW=== edit blocks. Parsed edits land on _meta.edits as a machine-applicable array, raw response stays in response. Legacy OLD: / NEW: markers still accepted per-block.
  • Change-mode write guardrail - pre/post-spawn snapshot of tracked-file mtime+size and git status --porcelain. If Gemini mutates files during the spawn, _meta.appliedWrites is set and edits is omitted so callers can't re-apply half-applied state.
  • MCP Registry manifest (server.json) - registers the bridge at registry.modelcontextprotocol.io. Downstream aggregators (PulseMCP, FindMCP, VS Code @mcp gallery) pick it up from there.
  • mcpName in package.json (io.github.hampsterx/gemini-mcp-bridge) - required for Registry ownership verification on publish.
  • query-change-mode smoke target - node scripts/smoke-test.mjs query-change-mode <repo> exercises the full change-mode path end-to-end.

Notes

  • Change mode is text-only for v1 (image files rejected) and requires a git working directory (the guardrail needs git ls-files / git status).
  • Change mode spawns without --approval-mode plan and without --yolo: plan mode refuses to emit edit blocks on CLI 0.38.0. The snapshot guardrail is the safety net against the default-mode write capability.

Full Changelog: v0.5.0...v0.6.0