Skip to content

v0.40.1

Choose a tag to compare

@ualtinok ualtinok released this 26 Aug 08:29
· 702 commits to master since this release

v0.40.1

Patch release: a database-open fix for users upgrading early installs, and local embeddings for musl-based Linux.

Fixes

  • Legacy database open wedge (#365, #366): databases created by plugin versions before cross-harness support landed (late April 2026) could fail to open on v0.40.0 with no such column: harness — an index was created ahead of the column heal it depends on, and the failure blocked the migrations that would have healed it. The index now waits for the heal, and a new regression fence opens the database from every historical schema version on both the OpenCode and Pi paths.
  • Local embeddings on Alpine/musl (#364): when the native ONNX runtime cannot load (ERR_DLOPEN_FAILED on musl-based distros), the local embedding provider now falls back to the bundled WASM runtime instead of disabling itself. WASM is slower than native — remote providers remain the faster option for large memory pools — and doctor now reports which runtime is active.
  • Task tool visibility under wildcard denies: with a wildcard task-permission deny in the session config, OpenCode could still show the task tool while refusing every call (the wildcard deny was shadowed by Magic Context's own internal-agent deny entries). The internal denies are now emitted so the ambient wildcard stays authoritative and the tool hides correctly.
  • Reminder rendering: standalone transport reminders no longer carry a tag-number marker.

No schema migration; no configuration action required.