What's Changed
Bug Fixes
Gemini CLI Integration Fix
- Use
httpUrlfor Streamable HTTP transport: The Gemini CLI configuration now uses the correcthttpUrlkey instead ofurlfor Streamable HTTP transport. Theurlkey in Gemini CLI is specifically for SSE (Server-Sent Events) transport. - Remove invalid
typekey: Thegemini mcp add -t httpcommand was injecting atype: httpkey that Gemini CLI doesn't recognize, causing startup failures. The script now writes configuration directly viajqwith the correct format. - Cleanup legacy config: Added cleanup step to remove any invalid configuration from previous runs.
Codex CLI Integration Fix
- TOML structure correction: Fixed TOML syntax by ensuring top-level keys (like
notify) appear before section headers (like[mcp_servers.mcp_agent_mail]). This was causing parsing errors. - Notify hook handling: Fixed the notify hook to handle JSON payload as a command-line argument (how Codex CLI actually passes it) instead of via stdin.
- Removed obsolete config: Removed the unused
transport = "http"line and obsolete[hooks]section.
File Reservation Git Artifacts
- Write artifacts on release/expire: File reservation Git artifacts (JSON files under
file_reservations/) are now properly updated when reservations are released or expired, maintaining consistency between the database and the human-auditable Git archive. - Centralized payload building: New helper functions
_file_reservation_payload()and_write_file_reservation_records()centralize the logic for building and writing file reservation records. - Lifespan improvements: Added proper engine disposal and repo cache clearing on shutdown.
Documentation
- Clarified that
notifyconfiguration must appear before any[section]headers in TOML files - Updated hooks table to indicate Claude Code-specific hooks
Commits
- fix(gemini-cli): use httpUrl for Streamable HTTP transport and remove type key
- fix(codex-cli): correct TOML structure and notify hook handling
- fix(file-reservations): write Git artifacts on release and expire operations
- chore(release): bump version to 0.1.4
Full Changelog: v0.1.3...v0.1.4