Skip to content

Rename executable from claude-code to claude - #1

Merged
rhuanbarreto merged 6 commits into
mainfrom
claude/fix-proto-plugin-download-vc8xO
Mar 10, 2026
Merged

rhuanbarreto merged 6 commits into
mainfrom
claude/fix-proto-plugin-download-vc8xO

Conversation

@rhuanbarreto

Copy link
Copy Markdown
Contributor

Summary

This PR updates the executable name from claude-code to claude across the codebase and CI/CD pipeline.

Key Changes

  • Executable naming: Updated locate_executables() in src/proto.rs to search for claude.exe (Windows) and claude (Unix-like systems) instead of claude-code.exe and claude-code
  • Release workflow: Added workflow_dispatch trigger to the release workflow, allowing manual release creation with a custom tag input parameter

Implementation Details

  • The executable name change is applied consistently across both Windows and non-Windows platforms
  • The workflow dispatch feature enables on-demand releases by specifying a tag (e.g., v0.1.0) without requiring a git tag push
  • The manual release step uses the same artifact publishing configuration as the automated releases

https://claude.ai/code/session_01MDcEp9zdPDEmwptZXUsWWb

rhuanbarreto and others added 6 commits September 6, 2025 14:08
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>
@rhuanbarreto
rhuanbarreto merged commit cb07e4a into main Mar 10, 2026
4 checks passed
@rhuanbarreto
rhuanbarreto deleted the claude/fix-proto-plugin-download-vc8xO branch March 10, 2026 15:54
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