Repository navigation
Rename executable from claude-code to claude - #1
Merged
Merged
Conversation
The moonrepo/build-wasm-plugin action checks for a rust-toolchain.toml to determine the WASM target. Without it, it defaults to the deprecated wasm32-wasi target which fails on Rust >= 1.78. Adding rust-toolchain.toml with an explicit version lets the action correctly use wasm32-wasip1. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix executable name mismatch in locate_executables: the downloaded binary is named "claude" but locate_executables was referencing "claude-code", causing proto to not find the binary after download. - Add workflow_dispatch trigger to release.yml so an initial GitHub release can be created manually (the "asset_missing" error occurs because no release with the WASM plugin binary has been published yet). https://claude.ai/code/session_01MDcEp9zdPDEmwptZXUsWWb
- Remove Cargo.lock from .gitignore and commit it for reproducible CI builds. Without it, CI resolves dependencies from scratch which can lead to inconsistent builds. - Update extism-pdk (1.2.0 -> 1.4.1) and proto_pdk (0.32.6 -> 0.32.7) to match actually resolved versions. https://claude.ai/code/session_01MDcEp9zdPDEmwptZXUsWWb
moonrepo/build-wasm-plugin@v0 resolves to an older version that builds with the deprecated wasm32-wasi target, which no longer exists in Rust 1.93.1. Version v0.4.2 added wasm32-wasip1 support. https://claude.ai/code/session_01MDcEp9zdPDEmwptZXUsWWb
The latest tagged release (v0.4.2 / v0) still uses the deprecated wasm32-wasi target which fails on modern Rust toolchains. The fix (commit 212061e) exists on their main branch but hasn't been released yet, so we pin to the latest commit that includes it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the executable name from
claude-codetoclaudeacross the codebase and CI/CD pipeline.Key Changes
locate_executables()insrc/proto.rsto search forclaude.exe(Windows) andclaude(Unix-like systems) instead ofclaude-code.exeandclaude-codeworkflow_dispatchtrigger to the release workflow, allowing manual release creation with a custom tag input parameterImplementation Details
v0.1.0) without requiring a git tag pushhttps://claude.ai/code/session_01MDcEp9zdPDEmwptZXUsWWb