Experience-Driven Black-Box Cost Control for Coding Agents
Python agentic-aiagentic-codingai-codingai-coding-assistantanthropicartificial-intelligenceclaude-codecodexcoding-agentcoding-agentscost-optimizationcost-reductiondeveloper-toolsgithub-copilotllmopen-sourceopenaiproductivitytoken-optimization
Clarify Cursor app and hook verification status
Shadowb375ac12771c
diff --git a/README.md b/README.mdindex 841f6f2..e86c6a1 100644--- a/README.md+++ b/README.md@@ -222,8 +222,8 @@ been tested. OpenCode versions tested are listed individually.full path; `git pull` in the clone updates it.- **opencode** support is experimental: it was tested on 1.19.5, 2.1.4, and 2.2.0, and not in the2.x terminal UI.-- **Cursor Agent** support is experimental; the hook event mapping has not yet been verified in- the live Cursor app.+- **Cursor Agent** support is experimental. Cursor 3.24.9 loaded the local plugin, but hook delivery+ from a live Agent session has not yet been verified.### Everyday commandsdiff --git a/docs/PLUGIN.md b/docs/PLUGIN.mdindex f4cfc6e..30f9a09 100644--- a/docs/PLUGIN.md+++ b/docs/PLUGIN.md@@ -575,11 +575,12 @@ open-vocabulary. On a repository you do not trust, leave micro-skills off (the dalready found its cause and was working around it; since 2026-10-25 the judge decides everyredirect but the backstop's, which still counts.* **Pi** — tool pruning is not planned there, since Pi declares only four tools by default.-* **Cursor Agent (experimental)** — hook event mapping is based on Cursor's published hook- schemas but has not been exercised in the live app. Cursor's transcript format is undocumented- and hook payloads do not expose session token usage, so the adapter records only prompt and tool- events needed for learning and loop detection; session and side-call costs are reported as- unavailable. Tool pruning is not implemented for Cursor.+* **Cursor Agent (experimental)** — hook event mapping follows Cursor's published hook schemas.+ Cursor 3.24.9 loaded the local plugin, but hook delivery from a live Agent session has not been+ verified. Cursor's transcript format is undocumented, and its hook payloads do not expose+ session token usage. The adapter records prompt and tool events for learning and loop detection;+ session and side-call costs are reported as unavailable. Tool pruning is not implemented for+ Cursor.* **Known gaps:*** `codex exec` prints no hook messages, so a headless Codex run shows no notice; `te status`counts it afterwards. On Claude Code the notice reaches the conversation and `claude -p`'s