Repository navigation
Description
The work
Add an automated dependency-update mechanism (Renovate or Dependabot config, or a scheduled CI job) that keeps @anthropic-ai/claude-agent-sdk current against newly published npm versions, and opens a PR when a new one lands. Scope it to plugins/provider-claude-code/package.json#L49, since buildClaudeCodeModels() and the discovery probe derive the entire model picker from whatever this SDK's bundled CLI build reports — there's no other catalog to maintain since #4084.
At minimum this could be a renovate.json/.github/dependabot.yml entry scoped to this one package, or a scheduled workflow that runs pnpm update @anthropic-ai/claude-agent-sdk --filter bb-plugin-provider-claude-code and opens a PR when the lockfile changes.
Why now
Confirmed today (2026-10-05, base commit 5d31d8c32) that the pin was stuck at 0.3.245 on main while npm has published up through 0.3.289 — 44 versions behind. That gap is exactly why claude-opus-5-5, claude-sonnet-5-5, and claude-fable-5-1 don't show up in the bb model picker: none of those ids exist anywhere in 0.3.245's bundled code, confirmed by diffing sdk.mjs/core-*.mjs between the two published npm tarballs.
This is the same root cause #4082 and #2825 both reported — closed via #4084, which deleted the static curated catalog and switched the picker to pure SDK-probe discovery. But #4082's own suggestion ("a renovate-style automated bump … since its releases track the Claude Code CLI version and carry the model list") was never implemented, and there's no renovate/dependabot config anywhere in this repo today. So the exact failure mode recurred with no tracking issue covering the actual gap.
Locally bumped the pin to ^0.3.289 (scoped via pnpm install --filter bb-plugin-provider-claude-code, not a repo-wide update) and confirmed: the three model ids now resolve, tsc --noEmit is clean, and the full bb-plugin-provider-claude-code test suite passes (371 tests). That's a one-off fix, not a process — it'll drift again on the next model launch without this.
Acceptance criteria
- A new
@anthropic-ai/claude-agent-sdknpm release results in an automated PR (Renovate/Dependabot), or a scheduled check that flags CI/opens an issue when the installed version falls more than N releases behind — without a user noticing a missing model first. - The mechanism's existence is documented somewhere discoverable (e.g. a note near the dependency, or this repo's dependency-update docs) so a future "model X is missing from the picker" report checks it before re-diagnosing the same root cause.
- No product behavior change otherwise — this is process/tooling only.
AGENT GENERATED
Activity
bb-slop-cop commentedon Oct 5, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotApplied missing classification: Type: Task · Priority: Medium · Effort: Low. Added labels:
providers,provider-claude-code. No existing values were changed; the final Type was re-read and verified.This is contained dependency-maintenance work. Trusted
origin/mainalready has.github/dependabot.yml, but it covers GitHub Actions only, not the Claude provider SDK.No reproduction report or pull request: the verified Type is Task, so this rule skips bug-report and fix steps.