v0.3.0
Five features for the Cursor handoff plugin.
Highlights
- Token + cost surfacing —
status,result, and the completion hook show usage like1.2k → 340 tok · $0.0123. Cost is omitted when cursor-agent doesn't report it. --retry Nondelegate/resume— auto-resume a crashed/failed job up to N times, continuing the prior session (--resume <id>) instead of restarting cold. Recordsattempts+retry_max./cursor:diff <id> [--stat]— review what a job changed as a git working-tree diff (vs HEAD + untracked). Diffs the whole tree, so it's reliable whether the model edits via edit/write tools or plain shell>>/teeredirects.- Completion hook (Stop/SubagentStop) — surfaces finished background jobs back into the session via
additionalContextplus a best-effort desktop notification. - Statusline — opt-in
statusline.shshowing running cursor jobs.
Testing
- 84 mocked tests (
tests/run.sh) - 3-model live harness (
tests/live-3.sh): composer-2.5-fast, gpt-5.5-high-fast, opus-4.8 — all green (21/21).
Notes
job_changed_files now harvests paths from both edit/write tool args and shell redirect/tee targets, so the changed-files view is populated for shell-driven agents.