Skip to content

feat(plugin): Add versioned plugin storage and lockfile - #1937

Merged
gtema merged 1 commit into
mainfrom
claude/extism-plugin-registry-d0p7e3
Aug 11, 2026
Merged

feat(plugin): Add versioned plugin storage and lockfile#1937
gtema merged 1 commit into
mainfrom
claude/extism-plugin-registry-d0p7e3

Conversation

@gtema

@gtema gtema commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Phase 2 of WASM auth plugin support: installed plugins now live at
<plugin_root>///.wasm and are tracked in a JSON
lockfile (plugins.lock) recording each entry's sha256, source, install
time, and trust metadata, plus which version of each plugin name is
active. Lockfile writes go through a tmp-file-then-rename atomic write
so a process killed mid-install can never leave it corrupted.

  • PluginLockfile/PluginEntry/TrustInfo with load/save and atomic_write
  • registry::install/remove/verify/installed for the full lifecycle,
    loading only the active version and re-checking sha256 on every load
  • osc plugin remove/info/verify commands; install/list updated for the
    versioned, multi-version-aware layout

Assisted-By: Claude Sonnet 5 noreply@anthropic.com
Signed-off-by: Artem Goncharov artem.goncharov@gmail.com

Phase 2 of WASM auth plugin support: installed plugins now live at
<plugin_root>/<name>/<version>/<name>.wasm and are tracked in a JSON
lockfile (plugins.lock) recording each entry's sha256, source, install
time, and trust metadata, plus which version of each plugin name is
active. Lockfile writes go through a tmp-file-then-rename atomic write
so a process killed mid-install can never leave it corrupted.

- PluginLockfile/PluginEntry/TrustInfo with load/save and atomic_write
- registry::install/remove/verify/installed for the full lifecycle,
  loading only the active version and re-checking sha256 on every load
- osc plugin remove/info/verify commands; install/list updated for the
  versioned, multi-version-aware layout

Assisted-By: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
@gtema
gtema merged commit 83a8b55 into main Aug 11, 2026
24 checks passed
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant