Repository navigation
chore(deps): upgrade @anthropic-ai/claude-agent-sdk to ^0.3.310 - #31
cryptotavares wants to merge 3 commits into
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
CI compatibility failure diagnosis — shared dependency driftRun 40555627897, Compatibility test (22.x), job 122371407968, fails during Install dependencies via Yarn, before tests run. The workflow at Cause: Fresh resolution selects Base comparison and reproduction:
Disposition: This is a reproducible base dependency-policy incompatibility caused by fresh Langfuse resolution, not an SDK-upgrade regression. No source changes or follow-up commit are required for this upgrade. The failure is deterministic, so this investigation does not rerun or bypass CI. The compatibility check remains failing; 20.x/24.x are cancelled by fail-fast. Build and lint on Node24, and regular tests on Node20/22/24, pass. The PR remains draft. |
|
Updated LavaMoat policy in f82a6e5 via |
Description
Version selection
The npm registry check at
2026-10-27T17:40:32.851Zuses cutoff2026-10-24T17:40:32.839Z.0.3.3102026-10-23T21:21:54.828Z0.3.311(latest)2026-10-26T19:49:59.951ZInstall command:
corepack yarn add '@anthropic-ai/claude-agent-sdk@^0.3.310'.Yarn applies
npmMinimalAgeGate: 4320without overrides or new preapprovals.Changes
package.jsonto^0.3.310.0.3.310inyarn.lock.flowchart TD A[Request SDK upgrade] --> B[Apply three-day minimum-age policy] B --> C[Select SDK 0.3.310] C --> D[Resolve eight matching platform packages] D --> E[Validate compatibility and built package types] classDef new fill:#fff3cd,stroke:#d39e00 class C,D newYellow boxes are new.
Outcome
^0.3.220^0.3.3100.3.2200.3.310Decisions for reviewers
0.3.3100.3.311does not.Review guide
package.jsonyarn.lockVerification and review
Environment: Node
v24.22.1, Yarn4.16.0, native Darwin ARM64.Checks completed by the parent session against these changes:
corepack yarn typecheck— passes.corepack yarn lint— passes.corepack yarn test— 652 tests pass; four tests skip. Coverage thresholds pass.corepack yarn build— passes.2.1.310; this checks only the CLI version.The initial test run precedes the build. Its ATTW step reports
This package does not contain types, with exit code zero. That initial ATTW result does not validate the published types.Finalization validates the built package separately:
corepack yarn attw --pack— exits zero.node node_modules/@arethetypeswrong/cli/dist/index.js --pack --format json— confirmstypes.kind: "included"and an emptyproblemsarray. Root declarations resolve for Node10, Node16 CJS, Node16 ESM, and bundler modes.git diff --check— passes.Independent review reports no findings requiring fixes. It covers old/new metadata and declarations, adapter/query/public aliases, translator fields, judge options and structured output, host SDK version discovery, and Docker bridge compatibility. Existing peer warnings are unchanged.
Live model execution and Docker runtime execution are not verified. No paid model calls, Langfuse writes, or wallet/browser sessions are performed.
Preexisting follow-up
src/adapters/claude-message-translator.ts:253readselapsed_seconds. Both SDK versions exposeelapsed_time_seconds. The existing test fixture also uses the wrong field. This predates the upgrade and belongs in a separate PR.References
.yarnrc.yml:18–27.Checklist