Repository navigation
🚀 Release v1.0.1 — Agent Stability, Universal Tool Calling & Keep-Alive Heartbeat
This release brings critical stability improvements and bug fixes for running autonomous coding agents (such as Hermes Agent, Pi Agent, OpenCode, Aider, and Cline) against the Antigravity backend.
🐛 Bug Fixes & Improvements
-
🧠 Agent-on-Agent Inception Fix:
- Automatically provisions
/root/.gemini/config/GEMINI.mdsystem rule on container startup viaentrypoint.sh. - Strictly forces the underlying
agymodel to act as a pure LLM inference engine, preventing it from executing bash commands or exploring the container environment when given user/agent prompts. - Enforced
cwd="/tmp"across all subprocess executions to prevent container workspace inspection.
- Automatically provisions
-
🛠️ Universal Tool Calling Parser:
- Enhanced tool call extraction (
_extract_single_tool_callintasks.py) to flawlessly handle both flat{"name": ..., "arguments": ...}and standard nested OpenAI{"id": ..., "type": "function", "function": {"name": ..., "arguments": ...}}formats. - Fixes the
Model generated invalid tool call:error observed in Hermes Agent and other OpenAI-compatible tooling.
- Enhanced tool call extraction (
-
💓 Two-Tier SSE Liveness Keep-Alive:
- Emits HTTP SSE comments (
: ping\n\n) every 10 seconds to maintain persistent connections across reverse proxies (Caddy, Nginx, Cloudflare). - Emits empty OpenAI completion chunks (
{"choices":[{"delta":{}}]}) every 10 seconds during model thinking/wait phases. This resets client-side inactivity timers (such as Hermes'StreamingWaitMonitor), completely preventing premature 180s stream disconnects on long-running tasks.
- Emits HTTP SSE comments (
-
🩺 Internal Diagnostics CLI & Endpoint:
- Run
docker compose exec api python -m doctorto verify Copilot token, Antigravity session, Redis connection, and Rate Limiter health. - Authenticated diagnostic endpoint available at
GET /v1/doctor.
- Run
📦 Container Images
Published to GitHub Container Registry:
ghcr.io/metagliatore/cli2api-llm-gate:v1.0.1ghcr.io/metagliatore/cli2api-llm-gate:latest