Skip to content

Update plugin for proto v0.60 - #8

Merged
konomae merged 1 commit into
mainfrom
codex/proto-v0-60-support
Aug 18, 2026
Merged

Update plugin for proto v0.60#8
konomae merged 1 commit into
mainfrom
codex/proto-v0-60-support

Conversation

@konomae

@konomae konomae commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • upgrade the proto PDK and test dependencies for proto v0.60
  • migrate the host-environment API and shim registry snapshot to the v0.60 schema
  • raise the minimum supported proto version to 0.60.0
  • update Rust to 1.97.0 and bump the plugin version to 0.11.0

Why

The previous WASM was built against an older PDK context shape. Community plugins need to rebuild against the latest APIs to remain compatible with proto v0.60.

This follows the same migration applied in:

Impact

The newly built WASM requires proto 0.60.0 or newer. ZLS version resolution, downloads, installation, metadata, and shims continue to use the same plugin interface.

Validation

  • cargo fmt --all --check
  • cargo clippy --workspace --all-targets
  • cargo build --release --target wasm32-wasip1
  • PROTO_LOOKUP_DIR=/opt/homebrew/bin cargo test --no-default-features (21 tests passed)
  • git diff --check

@konomae
konomae marked this pull request as ready for review August 18, 2026 14:44
Copilot AI lite review requested due to automatic review settings August 18, 2026 14:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the zls proto plugin to align with proto v0.60 by bumping the minimum supported proto version and upgrading the Rust toolchain and PDK/test dependencies, along with updating the shim registry snapshot to the new schema.

Changes:

  • Raised the plugin’s minimum_proto_version to 0.60.0 and adjusted defaults usage in outputs.
  • Upgraded Rust toolchain (pinned) and crate dependencies (proto/extism PDK + test utilities).
  • Updated the shims registry snapshot schema keys (alt_binalt_exe, parentcontext) and included the new snapshot metadata field.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/snapshots/shims_test__creates_shims.snap Updates expected shim registry JSON snapshot to v0.60 schema.
src/proto.rs Raises minimum proto version and aligns output defaults / host-env API call shape.
rust-toolchain.toml Pins Rust toolchain to 1.97.0.
Cargo.toml Bumps plugin version and updates PDK/dev dependency versions for proto v0.60.
Cargo.lock Regenerates lockfile for the upgraded dependency set.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@konomae
konomae merged commit a3ff0a6 into main Aug 18, 2026
9 checks passed
@konomae
konomae deleted the codex/proto-v0-60-support branch August 18, 2026 14:49
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.

2 participants