Skip to content

chore: bump @anthropic-ai/claude-agent-sdk 0.3.146 -> 0.3.169 - #672

Merged
gewenyu99 merged 3 commits into
mainfrom
posthog-code/bump-claude-agent-sdk-0-3-169
Jun 16, 2026
Merged

gewenyu99 merged 3 commits into
mainfrom
posthog-code/bump-claude-agent-sdk-0-3-169

Conversation

@gewenyu99

@gewenyu99 gewenyu99 commented Jun 16, 2026 •

Copy link
Copy Markdown
Collaborator

Bumps @anthropic-ai/claude-agent-sdk 0.3.146 → 0.3.169.

Not the absolute latest (0.3.178): the repo's minimumReleaseAge: 10080 (7 days) guard blocks anything newer than ~Jun 8, so 0.3.169 is the newest eligible version. 0.3.170–0.3.178 come in the next bump once they age in.

Verification

pnpm build + full suite green (59 suites, 893 tests). No source changes required — the wizard already absorbs every behavior change in range.

Changelog grooming (0.3.147 → 0.3.169)

Nothing to fix. One free win, one near-miss the wizard is already inoculated against.

  • 0.3.160 — abort during a PostToolUse hook no longer hangs. Directly relevant: the wizard runs YARA scans as PostToolUse hooks (yara-hooks.ts) alongside an abortController. Previously an abort mid-hook could hang the process; now it ends the turn with a final result. Straight win.

  • 0.3.162 — native builds fold Grep/Glob into Bash unless named in allowedTools. This is the one that could have silently killed our security scanning — the YARA PostToolUse hook keys on the Grep tool, which would never fire if searches routed through Bash. We're safe because BASE_ALLOWED_TOOLS (agent-interface.ts:1175) explicitly lists Grep and Glob, which keeps the dedicated tools registered. Guard rail: those two must stay in allowedTools or the search-scan hook goes dark.

  • 0.3.149 — options.env documented as replacing (not merging) the subprocess env, and CLAUDE_AGENT_SDK_VERSION no longer dropped. We already spread ...process.env into options.env (agent-interface.ts:867), so no change; we just get correct User-Agent/telemetry back.

  • 0.3.150 — api_retry reports error: 'overloaded' for 529 (was 'rate_limit'). No impact — the wizard detects API errors by scanning assistant text, not by inspecting api_retry messages.

  • Additive / low-impact, no action: 0.3.154 (stdio MCP no longer restarted every reconcile), 0.3.166 (MCP resource tools for runtime-added servers), 0.3.152 (SessionStart reloadSkills + MessageDisplay hook), 0.3.163 (Stop/SubagentStop additionalContext), 0.3.162 (refusals now carry stop_reason: 'refusal' — a future upgrade for our refusal detection if we want it). The rest are "parity with Claude Code" internal bumps.

Deferred to the next bump (0.3.170–0.3.178, too fresh for the age guard)

  • 0.3.178 — MCP server-level disallowedTools specs (mcp__server, mcp__server__*) now honored instead of silently ignored. Once in, we could revisit the canUseTool hard-gate workaround in agent-interface.ts:375-381.
  • 0.3.176 — subagent fixes: turn result no longer dropped while a subagent runs; background/MCP task state restored on resume. Relevant to our subagent + orchestrator flows.
  • 0.3.170 — claude-fable-5 model + fable alias added to SDK model types.

Newest version within the repo's minimumReleaseAge (7-day) guard. Build +
893 tests green, no source changes needed. Notable in-range: 0.3.160 fixes
abort-during-PostToolUse-hook hangs (relevant to our YARA hooks + abort);
0.3.162 folds Grep/Glob into Bash unless named in allowedTools (we're safe —
BASE_ALLOWED_TOOLS lists both, keeping the search-scan hook alive).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions

Copy link
Copy Markdown

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci basic-integration
  • /wizard-ci error-tracking-upload-source-maps
  • /wizard-ci misc
  • /wizard-ci revenue

Test an individual app:

  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
Show more apps
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci error-tracking-upload-source-maps/android
  • /wizard-ci error-tracking-upload-source-maps/cicd-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-nested-docker-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-github-actions-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-gitlab-node-raw
  • /wizard-ci error-tracking-upload-source-maps/cicd-ssh-vps-node-raw
  • /wizard-ci error-tracking-upload-source-maps/flutter
  • /wizard-ci error-tracking-upload-source-maps/ios
  • /wizard-ci error-tracking-upload-source-maps/next
  • /wizard-ci error-tracking-upload-source-maps/next-no-posthog
  • /wizard-ci error-tracking-upload-source-maps/node-raw
  • /wizard-ci error-tracking-upload-source-maps/node-rollup
  • /wizard-ci error-tracking-upload-source-maps/node-rollup-typescript-plugin
  • /wizard-ci error-tracking-upload-source-maps/node-webpack
  • /wizard-ci error-tracking-upload-source-maps/nuxt-3-6
  • /wizard-ci error-tracking-upload-source-maps/nuxt-4-3
  • /wizard-ci error-tracking-upload-source-maps/react-native
  • /wizard-ci error-tracking-upload-source-maps/react-vite
  • /wizard-ci error-tracking-upload-source-maps/rust
  • /wizard-ci misc/quack-quack
  • /wizard-ci revenue/stripe

Results will be posted here when complete.

@gewenyu99
gewenyu99 marked this pull request as ready for review June 16, 2026 03:16
@gewenyu99
gewenyu99 requested a review from a team June 16, 2026 14:33
@gewenyu99
gewenyu99 merged commit 928db8c into main Jun 16, 2026
18 checks passed
@gewenyu99
gewenyu99 deleted the posthog-code/bump-claude-agent-sdk-0-3-169 branch June 16, 2026 17:45
sarahxsanders added a commit that referenced this pull request Jun 16, 2026
Reconcile main's analytics instrumentation (#661, #666) and SDK bump (#672)
against the branch's vitest migration:

- analytics.test.ts: port main's live IS_PRODUCTION_BUILD getter mock and
  run_id/$session_id uuid sequencing to vitest (vi.hoisted + importOriginal,
  vi.fn, `as Mock`)
- pnpm-lock.yaml: regenerate from merged package.json (claude-agent-sdk 0.3.169)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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