@stablekernel/opencode-cursor 0.7.1-next.2 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -47
- package/dist/plugin/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,42 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
-
## [0.7.1
|
|
7
|
+
## [0.7.1] — 2026-08-05
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
The skills bridge (#90), per-model context limits and pricing (#89), and the
|
|
10
|
+
compaction fixes (#91, #92).
|
|
11
11
|
|
|
12
|
+
- **Skills bridge: opencode skills are now mirrored into `.cursor/skills/` for
|
|
13
|
+
the Cursor agent.** Both project-scoped and global skills are discovered
|
|
14
|
+
(matching opencode's resolution order: `.opencode/skills/`, `.claude/skills/`,
|
|
15
|
+
`.agents/skills/`, walked up to the git worktree root, plus global
|
|
16
|
+
`~/.config/opencode/skills/` etc.), filtered through opencode's `permission`
|
|
17
|
+
config, and materialised as a git-ignored mirror with a `generated:
|
|
18
|
+
opencode-cursor` sentinel. An `<available_skills>` catalogue is appended to
|
|
19
|
+
the generated system rule so the Cursor agent can discover and load skills on
|
|
20
|
+
demand. Works for the primary agent, Cursor sub-agents, and `cursor_delegate`
|
|
21
|
+
(which passes `settingSources: ["project"]`). `ask`-permissioned skills are
|
|
22
|
+
withheld (the ask prompt can't cross the Cursor boundary). Opt out with
|
|
23
|
+
`forwardSkills: false`; manual override with `skills: { include, exclude }`.
|
|
24
|
+
User-owned `.cursor/skills/<id>/` directories are never overwritten.
|
|
25
|
+
`config.skills.paths` directories are also scanned (lowest priority,
|
|
26
|
+
first-wins on duplicate ids). Symlinked skill directories and symlinked
|
|
27
|
+
supporting files are followed (broken links and symlink loops are skipped).
|
|
28
|
+
Mirror diagnostics (withheld skills, oversized files, write failures) route
|
|
29
|
+
through opencode's structured plugin logging rather than the terminal,
|
|
30
|
+
matching 0.7.0's logging change. `config.skills.urls` (HTTP catalogs) and
|
|
31
|
+
skills bundled inside opencode plugin packages are not yet supported.
|
|
32
|
+
Skills bridge contributed by Wayne Simpson (@WayneSimpson).
|
|
33
|
+
- **Per-model context limits and pricing generated from Cursor's docs.** Each
|
|
34
|
+
resolved model now carries a context-window limit and per-token pricing,
|
|
35
|
+
emitted on the config channel opencode reads so the TUI can show cost and
|
|
36
|
+
token counts. High-output frontier models carry a separate output-token
|
|
37
|
+
limit. The data ships as a generated `src/model-limits.ts`, produced from
|
|
38
|
+
Cursor's published tables by `npm run sync:model-limits`; a weekly CI job
|
|
39
|
+
re-checks the committed data against those tables and fails if it has fallen
|
|
40
|
+
behind (it verifies only — regenerating is a manual step).
|
|
41
|
+
- **Dependency bumps:** `@ai-sdk/provider` 3.0.13 → 3.0.14, `@types/node`
|
|
42
|
+
26.0.0 → 26.1.2, `vitest` 4.1.9 → 4.1.10 (dev-dependencies group, #88).
|
|
12
43
|
- **opencode's threshold-triggered auto-compaction is now suppressed for Cursor models by
|
|
13
44
|
default.** The Cursor agent runtime already self-compacts on its own context threshold
|
|
14
45
|
(`preCompact` hook with `trigger: "auto"`), so opencode-driven compaction was redundant —
|
|
@@ -31,12 +62,6 @@ Pre-release of the auto-compaction suppression (#92). Not yet on `latest`; insta
|
|
|
31
62
|
(new session, expired agent, changed MCP set) resends everything; if that overflows the
|
|
32
63
|
model the turn fails and `/compact` is the manual recovery. Opt back out with
|
|
33
64
|
`provider.cursor.options.autoCompaction: true`.
|
|
34
|
-
|
|
35
|
-
## [0.7.1-next.1] — 2026-08-03 (pre-release)
|
|
36
|
-
|
|
37
|
-
Pre-release of the compaction fix (#91). Not yet on `latest`; install with
|
|
38
|
-
`npm install @stablekernel/opencode-cursor@next` to test.
|
|
39
|
-
|
|
40
65
|
- **Fixed: auto-compaction (and manual `/compact`) failed with `Tool call not
|
|
41
66
|
allowed while generating summary` whenever the Cursor agent used a tool while
|
|
42
67
|
summarizing.** opencode declares zero tools on a compaction/summary turn, but
|
|
@@ -50,44 +75,6 @@ Pre-release of the compaction fix (#91). Not yet on `latest`; install with
|
|
|
50
75
|
pre-0.7.1 opencode saw `limit.context: 0` for every Cursor model, and a zero
|
|
51
76
|
context limit structurally disables the auto-compaction trigger.
|
|
52
77
|
|
|
53
|
-
## [0.7.1-next.0] — 2026-08-03 (pre-release)
|
|
54
|
-
|
|
55
|
-
Pre-release of the skills bridge (#90) and per-model context limits + pricing
|
|
56
|
-
(#89). Not yet on `latest`; install with
|
|
57
|
-
`npm install @stablekernel/opencode-cursor@next` to test.
|
|
58
|
-
|
|
59
|
-
- **Skills bridge: opencode skills are now mirrored into `.cursor/skills/` for
|
|
60
|
-
the Cursor agent.** Both project-scoped and global skills are discovered
|
|
61
|
-
(matching opencode's resolution order: `.opencode/skills/`, `.claude/skills/`,
|
|
62
|
-
`.agents/skills/`, walked up to the git worktree root, plus global
|
|
63
|
-
`~/.config/opencode/skills/` etc.), filtered through opencode's `permission`
|
|
64
|
-
config, and materialised as a git-ignored mirror with a `generated:
|
|
65
|
-
opencode-cursor` sentinel. An `<available_skills>` catalogue is appended to
|
|
66
|
-
the generated system rule so the Cursor agent can discover and load skills on
|
|
67
|
-
demand. Works for the primary agent, Cursor sub-agents, and `cursor_delegate`
|
|
68
|
-
(which passes `settingSources: ["project"]`). `ask`-permissioned skills are
|
|
69
|
-
withheld (the ask prompt can't cross the Cursor boundary). Opt out with
|
|
70
|
-
`forwardSkills: false`; manual override with `skills: { include, exclude }`.
|
|
71
|
-
User-owned `.cursor/skills/<id>/` directories are never overwritten.
|
|
72
|
-
`config.skills.paths` directories are also scanned (lowest priority,
|
|
73
|
-
first-wins on duplicate ids). Symlinked skill directories and symlinked
|
|
74
|
-
supporting files are followed (broken links and symlink loops are skipped).
|
|
75
|
-
Mirror diagnostics (withheld skills, oversized files, write failures) route
|
|
76
|
-
through opencode's structured plugin logging rather than the terminal,
|
|
77
|
-
matching 0.7.0's logging change. `config.skills.urls` (HTTP catalogs) and
|
|
78
|
-
skills bundled inside opencode plugin packages are not yet supported.
|
|
79
|
-
Skills bridge contributed by Wayne Simpson (@WayneSimpson).
|
|
80
|
-
- **Per-model context limits and pricing generated from Cursor's docs.** Each
|
|
81
|
-
resolved model now carries a context-window limit and per-token pricing,
|
|
82
|
-
emitted on the config channel opencode reads so the TUI can show cost and
|
|
83
|
-
token counts. High-output frontier models carry a separate output-token
|
|
84
|
-
limit. The data ships as a generated `src/model-limits.ts`, produced from
|
|
85
|
-
Cursor's published tables by `npm run sync:model-limits`; a weekly CI job
|
|
86
|
-
re-checks the committed data against those tables and fails if it has fallen
|
|
87
|
-
behind (it verifies only — regenerating is a manual step).
|
|
88
|
-
- **Dependency bumps:** `@ai-sdk/provider` 3.0.13 → 3.0.14, `@types/node`
|
|
89
|
-
26.0.0 → 26.1.2, `vitest` 4.1.9 → 4.1.10 (dev-dependencies group, #88).
|
|
90
|
-
|
|
91
78
|
## [0.7.0] — 2026-07-30
|
|
92
79
|
|
|
93
80
|
Structured logging (#85), the stream-watchdog tool-phase budget (#86), and the
|
package/dist/plugin/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stablekernel/opencode-cursor",
|
|
3
|
-
"version": "0.7.1
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "opencode provider plugin backed by the official Cursor SDK (@cursor/sdk) — adds a Cursor provider and lists its models",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|