diff --git a/.changeset/report-agent-status-and-failures.md b/.changeset/report-agent-status-and-failures.md deleted file mode 100644 index c596c09..0000000 --- a/.changeset/report-agent-status-and-failures.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@pungrumpy/cursor-action": patch ---- - -Handle agent run statuses and report failures accurately: - -- Map cancelled and errored agent runs from `run.wait()` to exit code `1` instead of reporting success. -- Surface error messages from `runResult.error` in stderr and the step summary when a run fails. -- Expose the new `status` output (`finished`, `error`, or `cancelled`). -- Display run duration and total token usage in the job summary table when available from the SDK. diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dc5442..7f6c598 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # @pungrumpy/cursor-action +## 1.0.2 + +### Patch Changes + +- c95d0dc: Handle agent run statuses and report failures accurately: + + - Map cancelled and errored agent runs from `run.wait()` to exit code `1` instead of reporting success. + - Surface error messages from `runResult.error` in stderr and the step summary when a run fails. + - Expose the new `status` output (`finished`, `error`, or `cancelled`). + - Display run duration and total token usage in the job summary table when available from the SDK. + ## 1.0.1 ### Patch Changes diff --git a/package.json b/package.json index 5756fa8..9736793 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pungrumpy/cursor-action", - "version": "1.0.1", + "version": "1.0.2", "description": "GitHub Action to install Cursor CLI and run cursor-agent in CI", "keywords": [ "ai",