You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v1.5.0 — Official AGY Native Plugin, Zero-Dep stdio MCP Server & Single-Instance Lock
Official Self-Contained AGY Native Plugin (plugins/agy-usage/): Installable via agy plugin install https://github.com/qiudai0627/agy-usage/tree/main/plugins/agy-usage with zero default side effects (no hooks.json, no automatic settings.json edits, no background daemon auto-start). Validated cleanly with agy plugin validate --strict --json (0 errors, 0 warnings).
Zero-Dependency stdio MCP Server (src/mcp_server.py): Pure Python 3.9+ standard library implementation of MCP 2024-11-05 newline-delimited JSON-RPC over stdio (quota server), exposing 4 strictly sanitized read-only tools (agy_usage_summary, agy_usage_quota, agy_usage_cache_health, agy_usage_health).
Pure-Query Sanitization Layer (src/pure_query.py): Completely decoupled from notification dispatch; strips conversation titles, bodies, previews, local workspace paths, and raw session IDs; gracefully falls back on read-only cache directories.
Cross-Platform Single-Instance Lock & Identity Handshake (src/instance_lock.py, src/server.py): Full-transaction POSIX flock / Windows msvcrt locking, 0600 instance metadata (instance_id, pid, pid_start, port), /api/health identity handshake, PID-reuse protection, and safe refusal to kill unrelated services occupying the target port.
Transparent Three-Layer Data Boundary & Version Sync: Updated README.md, README_EN.md, README_ZH-TW.md, and macos/build-app.sh (1.5.0).