@@ -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
0 commit comments