Skip to content

v0.3.0

Choose a tag to compare

@akash-viven akash-viven released this 15 Jun 09:41

Five features for the Cursor handoff plugin.

Highlights

  • Token + cost surfacingstatus, result, and the completion hook show usage like 1.2k → 340 tok · $0.0123. Cost is omitted when cursor-agent doesn't report it.
  • --retry N on delegate/resume — auto-resume a crashed/failed job up to N times, continuing the prior session (--resume <id>) instead of restarting cold. Records attempts + 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 >>/tee redirects.
  • Completion hook (Stop/SubagentStop) — surfaces finished background jobs back into the session via additionalContext plus a best-effort desktop notification.
  • Statusline — opt-in statusline.sh showing 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.