Skip to content

Commit 09ee91c

Browse files
tombiiclaude
andcommitted
fix(core): Correct CLAUDE_CLI_VERSION to track official Claude Code [skip-version]
CLAUDE_CLI_VERSION should track the official Claude Code CLI version from npm (@anthropic-ai/claude-code), not the better-ccflare version. - Reverted CLAUDE_CLI_VERSION from 3.1.0-beta.6 to 2.1.7 (latest from npm) - Removed incorrect auto-sync logic from pre-push hook - Updated CLAUDE.md to clarify version update process The pre-push hook already handles updating CLAUDE_CLI_VERSION from npm. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent be500f2 commit 09ee91c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CLAUDE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ Always run: `bun run lint && bun run typecheck && bun run format`
3232
- Skip version bump: Add `[skip-version]` or `[no-version]` to commit message
3333

3434
## Version Updates
35-
When bumping version, update in all three files:
35+
When bumping better-ccflare version, update in both files:
3636
- `package.json` (root)
3737
- `apps/cli/package.json`
38-
- `packages/core/src/version.ts` (CLAUDE_CLI_VERSION constant)
38+
39+
Note: `CLAUDE_CLI_VERSION` in `packages/core/src/version.ts` tracks the official Claude Code CLI version and is auto-updated by the pre-push hook from npm registry.
3940

4041
## Commands
4142

packages/core/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
// Claude CLI version to use in user-agent headers and as fallback
6-
export const CLAUDE_CLI_VERSION = "3.1.0-beta.6";
6+
export const CLAUDE_CLI_VERSION = "2.1.7";
77

88
// Cache the version to avoid repeated file reads
99
let cachedVersion: string | null = null;

0 commit comments

Comments
 (0)