Skip to content

fix: sync CLI install version in run.ts (2.1.31 → 2.1.37)#908

Open
skorfmann wants to merge 1 commit intoanthropics:mainfrom
skorfmann:fix/sync-cli-version-in-run-ts
Open

fix: sync CLI install version in run.ts (2.1.31 → 2.1.37)#908
skorfmann wants to merge 1 commit intoanthropics:mainfrom
skorfmann:fix/sync-cli-version-in-run-ts

Conversation

@skorfmann
Copy link

Summary

The unified entrypoint src/entrypoints/run.ts hardcodes const claudeCodeVersion = "2.1.31" (line 54), while base-action/action.yml has been bumped to 2.1.37. Since action.yml runs run.ts as the entrypoint, the stale version in run.ts is what actually gets installed.

The automated version bump commits (e.g., 6c61301 "bump to 2.1.37") update package.json, bun.lock, base-action/action.yml, and base-action/package.json — but never touch run.ts.

This means features added after v2.1.31 are unavailable when using the action via @v1, even though base-action/action.yml references the correct version.

Evidence

Location Version
base-action/action.yml:127 2.1.37
src/entrypoints/run.ts:54 2.1.31 ❌ (stale)
package.json SDK ^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.ts to 2.1.37 to match base-action/action.yml.

Suggestion

The version bump automation should be updated to also modify src/entrypoints/run.ts so this doesn't drift again.

Test plan

  • Verify the action installs Claude Code v2.1.37 (check install log output)
  • Verify features from v2.1.32+ (e.g., agent teams) work when enabled via settings

…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.
@mtparet
Copy link

mtparet commented Feb 9, 2026

@claude merge this

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