Skip to content
This repository was archived by the owner on Jul 2, 2026. It is now read-only.

chore(deps): update anthropic SDK and opentelemetry packages - #2319

Closed
corvid-agent wants to merge 3 commits into
mainfrom
agent/rook/update-anthropic-sdk-dependencies-to-lat-mp11byzg-9f8437
Closed

corvid-agent wants to merge 3 commits into
mainfrom
agent/rook/update-anthropic-sdk-dependencies-to-lat-mp11byzg-9f8437

Conversation

@corvid-agent

Copy link
Copy Markdown
Collaborator

Summary

  • Updated @anthropic-ai/claude-agent-sdk from 0.2.126 to 0.2.138
  • Updated @anthropic-ai/sdk from ^0.93.0 to ^0.95.1
  • Updated @opentelemetry/* packages to 0.217.0
  • Updated @biomejs/biome to 2.4.15
  • Updated @types/node to 25.6.2
  • Updated biome.json schema version to match CLI version

Verification

  • bun audit: clean (no vulnerabilities)
  • All changes include proper dependency pin updates in package.json overrides

corvid-agent and others added 2 commits May 10, 2026 19:19
…narrowing

- Replace `embed as any` / `embeds as any[]` in interaction reply calls with
  `as unknown as APIEmbed` double-cast; import APIEmbed from discord.js
- Replace `(this.rest.get as any)` URL hack with proper REST query options:
  `{ query: new URLSearchParams({ with_counts: 'true' }) }`
- Fix biome formatting: multi-line clientCaps in ws/handler, wrapped return
  in bridge.ts (both carry over from main after #2316 merge)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- @anthropic-ai/claude-agent-sdk: 0.2.126 → 0.2.138
- @anthropic-ai/sdk: ^0.93.0 → ^0.95.1
- @opentelemetry/* packages: 0.216.0 → 0.217.0
- @biomejs/biome: ^2.4.13 → ^2.4.15
- @types/node: ^25.6.0 → ^25.6.2
- Updated biome.json schema version to 2.4.15
- bun audit: clean (no vulnerabilities)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@corvid-agent
corvid-agent requested a review from a team as a code owner May 11, 2026 10:41
@corvid-agent
corvid-agent requested review from 0xGaspar, 0xLeif, Kyntrin and tofu-ux and removed request for a team May 11, 2026 10:41

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Corvin says...

      _
    <(;\  .oO(oh no...)
     |/(\
      \(\\
      " "\\

"Caw... validation failed..."

CI Summary

Check Status
CI (tsc, tests, migrations) ❌ failure
Spec Validation ❌ failure
📋 Spec Validation Details

✅ SpecSync: Passed

Metric Value
Specs checked 220
Passed 220
Errors 0
Warnings 0
File coverage 100% (591/591)
LOC coverage 100% (137235/137235)

Generated by specsync · Run specsync check --format github to reproduce


Powered by corvid-pet

@corvid-agent

Copy link
Copy Markdown
Collaborator Author

👋 CorvidAgent is looking into this.

The getGuild implementation was updated to use the proper
{ query: URLSearchParams } option instead of inline query string.
Update the test assertion to check options.query instead of route.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@corvid-agent

Copy link
Copy Markdown
Collaborator Author

Fixed in 8869f1c. The single failing test (getGuild > fetches guild with counts) was caused by a mismatch between the implementation and test: the PR updated getGuild to use the proper { query: URLSearchParams } option instead of an inline query string, but the test still checked calls[0].route for the query parameter.

Updated the test to assert against options.query.get('with_counts') instead. All 35 discord-rest-client tests pass now.

@corvid-agent

Copy link
Copy Markdown
Collaborator Author

👋 CorvidAgent is looking into this.

@github-actions
github-actions Bot dismissed their stale review May 11, 2026 10:56

Superseded by updated review.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Corvin says...

      _
    <(^\  .oO(Caw! ^v^)
     |/(\
      \(\\
      " "\\

"Caw! Found a shiny new spec!"

CI Summary

Check Status
CI (tsc, tests, migrations) ✅ Passed
Spec Validation ✅ Passed
📋 Spec Validation Details

✅ SpecSync: Passed

Metric Value
Specs checked 220
Passed 220
Errors 0
Warnings 0
File coverage 100% (591/591)
LOC coverage 100% (137235/137235)

Generated by specsync · Run specsync check --format github to reproduce


Powered by corvid-pet

@corvid-agent

Copy link
Copy Markdown
Collaborator Author

CI is now passing ✓ — typecheck, tests, and spec validation all green after the test fix in 8869f1c. Ready for review.

@corvid-agent

Copy link
Copy Markdown
Collaborator Author

👋 CorvidAgent is looking into this.

1 similar comment
@corvid-agent

Copy link
Copy Markdown
Collaborator Author

👋 CorvidAgent is looking into this.

@corvid-agent

Copy link
Copy Markdown
Collaborator Author

This PR's dependency changes are superseded by #2325, which applies the same CVE fix (OTel 0.217.0) cleanly to the current main without conflicts. The TypeScript file changes here were already merged via #2318 and #2308. I'd suggest closing this in favor of #2325.

@corvid-agent

Copy link
Copy Markdown
Collaborator Author

Closing as superseded

This PR can no longer be merged — main has since advanced past all of its changes with strictly newer versions. Merging it would downgrade the codebase:

Package This PR main
@anthropic-ai/sdk ^0.95.1 ^0.95.2
@opentelemetry/auto-instrumentations-node ^0.74.0 ^0.75.0
@types/node ^25.6.2 ^25.7.0
protobufjs override >=7.5.5 >=8.0.2 (CVE fix, #2329)

The discord type fixes included here were already merged via #2318. The test update is identical to what's on main. All of the intent of this PR has been incorporated and improved upon.

Closing as obsolete. No action needed.

— Jackdaw

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant