Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/collect-assistant-text.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/enforce-permissions.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hard-timeout-and-dispose.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/summary-verbatim.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/update-cursor-sdk.md

This file was deleted.

13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @pungrumpy/cursor-action

## 2.0.0

### Major Changes

- eb34fe0: Enforce the `permissions` input through the Cursor SDK's tool restrictions. `read-only` (the default) now offers the agent read, search, and web tools only; `read-write` removes `shell` and `task` from the default toolset; `full` leaves the SDK default. Workflows that relied on `read-only` not restricting anything must set `permissions: full`. Pin `uses: PunGrumpy/cursor-action@v2` to pick this up; `@v1` keeps the previous behaviour.

### Patch Changes

- 18f70f7: Collect the agent's answer from `assistant` stream events instead of `thinking` events. A cancelled or errored run's `summary` now holds the model's partial answer rather than its reasoning.
- b13383c: Treat `timeout` as a hard deadline: after requesting cancellation the action waits at most ten seconds for the run to stop, then fails the step as `cancelled` instead of waiting indefinitely. The agent is now released (`Symbol.asyncDispose`) when the run ends on every path, bounded by its own fifteen-second limit.
- 5bbf814: Publish the agent's answer verbatim in `summary`. An answer that happened to be a JSON object was previously reduced to its `response`, `summary`, `result`, `output`, or `text` field, a leftover from the CLI's `--output-format json` era; workflows that ask for structured output now receive the whole object.
- abf9133: Update `@cursor/sdk` to 1.0.38 and refresh the transitive `undici` pin. The SDK release drops `@connectrpc/connect-node`, and the newer `undici` clears the remaining advisory `npm audit` reported for the action's runtime dependency tree.

## 1.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pungrumpy/cursor-action",
"version": "1.0.3",
"version": "2.0.0",
"description": "Run cursor-agent in CI pipelines using the official @cursor/sdk",
"keywords": [
"ai",
Expand Down