This repository was archived by the owner on May 21, 2026. It is now read-only.
v0.6.0
What's new
Added
changeModeonquerytool - opt-in flag that asks Gemini to emit structured**FILE: <path>:<start>-<end>**/===OLD===/===NEW===edit blocks. Parsed edits land on_meta.editsas a machine-applicable array, raw response stays inresponse. LegacyOLD:/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.appliedWritesis set andeditsis 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@mcpgallery) pick it up from there. mcpNameinpackage.json(io.github.hampsterx/gemini-mcp-bridge) - required for Registry ownership verification on publish.query-change-modesmoke 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 planand 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