Skip to content

Releases: antivirusakash/cursor-plugin-cc

v0.3.1

Choose a tag to compare

@akash-viven akash-viven released this 15 Jun 10:03

Bugfix: scope job listings to the current repo.

The job store is global across repos. Previously status, the statusline, and the completion hook showed jobs from every folder — a job running in repo A appeared as running in repo B.

Now each listing filters by the job's recorded cwd:

  • /cursor:status lists the current repo's jobs by default; --all shows every folder.
  • statusline counts only running jobs in the current repo.
  • completion hook announces only jobs under the session cwd.

89 mocked tests, all green.

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.

v0.2.1 — live-tested patch

Choose a tag to compare

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

Patch on top of v0.2.0 (live progress). Validated end-to-end against a real `cursor-agent` job (delegate + resume).

Fix

  • Status card tool count. job_tool_count printed 0 twice before any tool ran — grep -c exits 1 on no match, firing a fallback that doubled the line. Now captured cleanly.

Verified live

  • Delegate: real background job, live card (model, session, tool calls, activity timeline, changed files), files actually written.
  • Resume: continued the same session and applied a follow-up edit.
  • Mocked suite: 55/55 green.

Upgrade

/plugin marketplace update akash-viven
/reload-plugins

v0.2.0 — live progress

Choose a tag to compare

@akash-viven akash-viven released this 15 Jun 08:20

Watch delegated Cursor jobs work in real time — no daemon, no polling loop.

Highlights

  • Live progress. /cursor:delegate now drives cursor-agent with --output-format stream-json. /cursor:status <id> parses that NDJSON stream on demand to show status, elapsed time, model, recent activity, tool calls, and changed files.
  • Redesigned output. Boxed, icon-and-color status cards for status and result; result shows changed files, an activity timeline, the result text, and a resume box.
  • Timing. Start time recorded at spawn; duration_ms captured from the final result event.

Internals

  • New lib helpers: job_session, job_model, job_elapsed, job_tool_count, job_changed_files, job_activity, fmt_elapsed, status colors/icons, spinner.
  • Activity rendered in jq for robust whole-line reads; handles unterminated result.txt.
  • Mock emits rich stream-json; test suite grows to 55 (all green). CI unchanged.

Upgrade

/plugin marketplace update akash-viven
/reload-plugins

v0.1.1 — fix install validation

Choose a tag to compare

@akash-viven akash-viven released this 15 Jun 07:19

Patch release. Fixes plugin install failing with agents: Invalid input.

The commands/agents fields in plugin.json must be arrays of paths, not a string. Removed them — Claude Code auto-discovers commands/ and agents/.

Install

/plugin marketplace add akash-viven/cursor-plugin-cc
/plugin install cursor@akash-viven
/cursor:setup

🤖 Generated with Claude Code

v0.1.0 — Cursor handoff for Claude Code

Choose a tag to compare

@akash-viven akash-viven released this 15 Jun 07:17

First release. Hand off coding tasks from Claude Code to the Cursor CLI (cursor-agent) as tracked background jobs.

Install

/plugin marketplace add akash-viven/cursor-plugin-cc
/plugin install cursor@akash-viven
/cursor:setup

Commands

  • /cursor:delegate <task> — hand a task to cursor-agent as a background job
  • /cursor:status [id] — list jobs (auto-prunes finished >7d)
  • /cursor:result <id> — final output + session id (--json for raw)
  • /cursor:cancel <id> — stop a running job
  • /cursor:resume <id> <new> — continue a job's session
  • /cursor:setup — preflight (install/auth/version/jq)
  • cursor-rescue subagent — Claude self-delegates when stuck

Notes

  • Jobs run unattended (--force --trust --sandbox disabled) and edit files in place. Use a clean git tree or --worktree for risky handoffs.
  • Requires cursor-agent (https://cursor.com/cli) and jq.
  • 38 mocked tests + opt-in live smoke test; CI on push/PR.

🤖 Generated with Claude Code