Skip to content

Commit 6ce8d19

Browse files
chore(release): 0.4.1 (#30)
* feat(read): surface lines-read/total in Read transcript label Cursor ReadArgs = { path } only — no offset/limit (cursor-sdk-shared ReadArgsSchema is a strip object). Two same-path reads are re-reads of identical content, never different sections. Derive per-call detail from result instead: count content lines and compare to totalLines. Title becomes e.g. "handlers.go (2000/5000 lines)" so a reader can spot redundant re-reads and see truncation at a glance. Also stores linesReturned + fileSize in block metadata, and documents the no-range constraint in a comment above the adapter so the question does not recur. * chore(deps-dev): bump the dev-dependencies group with 2 updates Bumps the dev-dependencies group with 2 updates: [@opencode-ai/sdk](https://github.com/sst/opencode-sdk-js) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `@opencode-ai/sdk` from 1.17.3 to 1.17.7 - [Release notes](https://github.com/sst/opencode-sdk-js/releases) - [Changelog](https://github.com/anomalyco/opencode-sdk-js/blob/main/CHANGELOG.md) - [Commits](https://github.com/sst/opencode-sdk-js/commits) Updates `vitest` from 4.1.8 to 4.1.9 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md) - [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.9/packages/vitest) --- updated-dependencies: - dependency-name: "@opencode-ai/sdk" dependency-version: 1.17.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies - dependency-name: vitest dependency-version: 4.1.9 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump @cursor/sdk from 1.0.18 to 1.0.19 Bumps [@cursor/sdk](https://github.com/cursor/cursor) from 1.0.18 to 1.0.19. - [Commits](https://github.com/cursor/cursor/commits) --- updated-dependencies: - dependency-name: "@cursor/sdk" dependency-version: 1.0.19 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): bump @opencode-ai/plugin from 1.17.3 to 1.17.7 Bumps @opencode-ai/plugin from 1.17.3 to 1.17.7. --- updated-dependencies: - dependency-name: "@opencode-ai/plugin" dependency-version: 1.17.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * chore(release): 0.4.1-next.0 Consolidate dependency updates and Read transcript feature for @next prerelease: - feat(read): surface lines-read/total in Read transcript label (#26) - chore(deps-dev): bump dev-dependencies group, 2 updates (#27) - chore(deps): bump @cursor/sdk 1.0.18 -> 1.0.19 (#28) - chore(deps): bump @opencode-ai/plugin 1.17.3 -> 1.17.7 (#29) * refactor: remove obsolete sqlite3 native-binding self-heal @cursor/sdk@1.0.19 (#28) drops the sqlite3 native addon in favor of Node's built-in node:sqlite, so the self-heal that rebuilt sqlite3's binding under Bun is no longer needed. - Remove src/native-binding.ts and its tests - Drop ensureSqliteBinding() from cursor-runtime loadCursorSdk and the sidecar agent backend (direct SDK import / client delegation) - Remove the now-obsolete sqlite troubleshooting note from README Verified: clean npm ci has no sqlite3, @cursor/sdk@1.0.19 imports cleanly, and the opencode integration smoke test lists Cursor models. * chore(release): 0.4.1 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent fbba872 commit 6ce8d19

10 files changed

Lines changed: 140 additions & 1107 deletions

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,6 @@ Override with `OPENCODE_CURSOR_SIDECAR=1` (always sidecar) or `OPENCODE_CURSOR_S
267267
on your `PATH`. Install Node.js 22+, or force the sidecar with `OPENCODE_CURSOR_SIDECAR=1`.
268268
- **"Running under Bun without a usable Node sidecar" warning.** Install Node.js 22+, or set
269269
`OPENCODE_CURSOR_SIDECAR=0` to accept in-process behavior and silence the warning.
270-
- **"Could not locate the bindings file" / `node_sqlite3.node` not found.** The `@cursor/sdk`
271-
native sqlite3 addon was skipped during Bun install. The plugin self-heals on first load (needs
272-
Node on `PATH`). If that fails, `cd` into the printed sqlite3 directory and run
273-
`npx prebuild-install -r napi`.
274270
- **Plugin enabled but no `cursor` provider/models appear.** Stale opencode plugin cache. Pin an
275271
exact version (`@stablekernel/opencode-cursor@<version>`) or delete
276272
`~/.cache/opencode/packages/` and restart.

0 commit comments

Comments
 (0)