Skip to content

Commit cc8eecb

Browse files
committed
chore: bump @anthropic-ai/claude-code to 2.1.98, add sync phase to updating skill
- Bump catalog and minimumReleaseAgeExclude to match installed version - Add phase 3c to updating skill: sync Claude Code version from installed binary, bypasses cooldown since we're the ones running it
1 parent cf82389 commit cc8eecb

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.claude/skills/updating/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Your task is to update all dependencies in socket-cli: npm packages via `pnpm ru
2727
2. **Update npm Packages** - Run `pnpm run update`; commit if changes detected.
2828
3. **Update External Tool Checksums** - Invoke the `updating-checksums` skill.
2929
3b. **Update Security Tools** - Run `node .claude/hooks/setup-security-tools/update.mts` to check for new zizmor/sfw releases. Respects pnpm `minimumReleaseAge` cooldown for third-party tools (zizmor) but updates Socket tools (sfw) immediately. Updates embedded checksums in the setup hook.
30+
3c. **Sync Claude Code version** - Run `claude --version` to get the installed version. If it's newer than the `@anthropic-ai/claude-code` entry in `pnpm-workspace.yaml` catalog, update both the catalog entry AND the `minimumReleaseAgeExclude` pinned version. This bypasses cooldown since we're the ones running it. Then run `pnpm install` to update the lockfile.
3031
4. **Final Validation** - In interactive mode: `pnpm run fix --all`, `pnpm run check --all`, `pnpm test`. Skipped in CI.
3132
5. **Report Summary** - List updates applied, commits created, validation results, and next steps.
3233

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Wait 7 days (10080 minutes) before installing newly published packages.
22
minimumReleaseAge: 10080
33
minimumReleaseAgeExclude:
4-
- '@anthropic-ai/claude-code@2.1.92'
4+
- '@anthropic-ai/claude-code@2.1.98'
55
- '@socketaddon/*'
66
- '@socketbin/*'
77
- '@socketregistry/*'
@@ -12,7 +12,7 @@ packages:
1212
- '!packages/package-builder/build'
1313

1414
catalog:
15-
'@anthropic-ai/claude-code': 2.1.92
15+
'@anthropic-ai/claude-code': 2.1.98
1616
'@babel/core': 7.28.4
1717
'@babel/generator': 7.28.5
1818
'@babel/parser': 7.28.4

0 commit comments

Comments
 (0)