Skip to content

Commit eaebe8d

Browse files
committed
chore(release): 0.4.5-next.0
1 parent 4cd396c commit eaebe8d

3 files changed

Lines changed: 26 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,36 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
## [0.4.5-next.0] — 2026-07-06
8+
79
- **Fixed: Cursor agent rejecting turns as "prompt injection" / "gaslighting."**
810
The provider flattened opencode's system prompt into the user-message transcript;
911
Cursor's agent (which has its own system prompt) treated that as an injection
1012
attempt. opencode's system prompt is now delivered through Cursor's authoritative
1113
rules channel — written to a git-ignored `.cursor/rules/opencode.mdc` and loaded
1214
via `settingSources` — so opencode keeps control without being flagged. New
1315
`systemPrompt` option: `"rules"` (default), `"message"` (legacy inline), `"omit"`.
16+
An explicit `settingSources` opt-out of the `"project"` layer is respected
17+
(degrades to `"message"` delivery), and a failed rule write degrades gracefully
18+
instead of failing the turn. The generated rule carries a `generated: opencode-cursor`
19+
sentinel so a user-owned `opencode.mdc` is never overwritten or deleted (#56).
20+
- **Added: warm resume for multi-message prompt interjections.** When a resumed
21+
Cursor agent has several queued user messages, the earlier messages are now
22+
delivered as silent turns and the final one streams, instead of forcing a cold
23+
full-transcript replay. A tail mismatch safely falls back to cold replay so no
24+
messages are dropped (#57).
25+
- **Fixed: resumed turns against an expired Cursor agent are retried.** A pooled
26+
agent whose server-side state expired would pass `resume()` locally but error in
27+
`run.wait()`; the turn now retries once with a fresh agent when nothing was
28+
emitted yet, re-pointing the pool (#52).
29+
- **Fixed: file/dir `@`-mentions no longer fail the turn.** The local Cursor SDK
30+
agent rejects attachment forms, so file/dir mentions are now noted as text
31+
(with a filesystem path for `file://` sources) instead of attached; raw base64
32+
data without a filename is guarded against inlining a blob into the note (#58).
33+
- **Added: warn when the installed plugin lags the npm registry latest.** A
34+
throttled (24h) startup check compares the installed version against `latest`
35+
and prints a one-line upgrade hint; skipped under `CI` / `NO_UPDATE_NOTIFIER`,
36+
never blocks init (#33).
1437

1538
## [0.4.4] — 2026-06-24
1639

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stablekernel/opencode-cursor",
3-
"version": "0.4.4",
3+
"version": "0.4.5-next.0",
44
"description": "opencode provider plugin backed by the official Cursor SDK (@cursor/sdk) — adds a Cursor provider and lists its models",
55
"type": "module",
66
"license": "MIT",

0 commit comments

Comments
 (0)