fix: sync CLI install version in run.ts (2.1.31 → 2.1.37)#908
Open
skorfmann wants to merge 1 commit intoanthropics:mainfrom
Open
fix: sync CLI install version in run.ts (2.1.31 → 2.1.37)#908skorfmann wants to merge 1 commit intoanthropics:mainfrom
skorfmann wants to merge 1 commit intoanthropics:mainfrom
Conversation
…1.37) The automated version bump workflow updates the CLI version in `base-action/action.yml` but never touches the hardcoded version in `src/entrypoints/run.ts`. Since `action.yml` runs `run.ts` as the unified entrypoint, the stale version in `run.ts` is what actually gets installed. This means features added after v2.1.31 (e.g., agent teams in v2.1.32) are unavailable when using the action, even though the package.json and base-action reference newer versions. This commit syncs the version to 2.1.37 to match `base-action/action.yml`. The version bump automation should also be updated to modify this file going forward.
|
@claude merge this |
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
The unified entrypoint
src/entrypoints/run.tshardcodesconst claudeCodeVersion = "2.1.31"(line 54), whilebase-action/action.ymlhas been bumped to2.1.37. Sinceaction.ymlrunsrun.tsas the entrypoint, the stale version inrun.tsis what actually gets installed.The automated version bump commits (e.g.,
6c61301"bump to 2.1.37") updatepackage.json,bun.lock,base-action/action.yml, andbase-action/package.json— but never touchrun.ts.This means features added after v2.1.31 are unavailable when using the action via
@v1, even thoughbase-action/action.ymlreferences the correct version.Evidence
base-action/action.yml:1272.1.37✅src/entrypoints/run.ts:542.1.31❌ (stale)package.jsonSDK^0.2.37✅Impact
Any CLI feature added after v2.1.31 doesn't work through the action. For example, agent teams (added in v2.1.32) fail silently — the
TeamCreate,SendMessage, etc. tools simply don't exist in the installed CLI.Fix
This PR updates the hardcoded version in
run.tsto2.1.37to matchbase-action/action.yml.Suggestion
The version bump automation should be updated to also modify
src/entrypoints/run.tsso this doesn't drift again.Test plan