Repository navigation
feat(anthropic): peer SDK 1.x and send anthropic-version 2026-10-21 fixes NV-9269 - #26
Merged
ChmaraX merged 1 commit intoNov 2, 2026
Conversation
Consumers still on @anthropic-ai/sdk or @anthropic-ai/aws-sdk 0.x no longer satisfy the peer range. The edge observer now sends the same API version as SDK 1.3.0, and createClient returns AnthropicAws with no cast. fixes NV-9269
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Novu is moving to
@anthropic-ai/sdk1.3.0 and@anthropic-ai/aws-sdk1.1.1. Thalamus still allowed 0.x peers, and the edge observer sentanthropic-version: 2023-06-01while SDK 1.x sends2026-10-21.What changed
@anthropic-ai/sdkand@anthropic-ai/aws-sdk>=1.0.0 <2. Dev dependencies resolve to 1.3.0 and 1.1.1.createClientreturnsAnthropicAwswith no cast. aws-sdk 1.x extendsAnthropic.buildApiHeaderssendsanthropic-version: 2026-10-21. The edge test asserts that value and the existing beta header.CHANGELOG.mdis unchanged. The release script writes it from the commit subject, which is marked breaking (feat(anthropic)!:).Scope
This covers the Thalamus peer floor and the edge stream header. It does not bump the package version or publish a release. Novu still has to run SDK 1.x (NV-9264) or the edge stream and the SDK call in one session use different API versions.
Blast radius
Consumers still on SDK 0.x no longer satisfy the peer range. Session event mapping is unchanged.
Verification
tsc --noEmitpasses on this tree.2026-10-21assertion.2026-10-21.

Confidence Score: 5/5
The PR appears safe to merge; no actionable defects were established.Summary
Updates Anthropic support to SDK 1.x and changes the edge stream's API-version header.
No actionable issues were established. Dependencies were not installed, so tests and SDK behavior were not independently verified.
Acknowledged scope from
ChmaraX: dropping SDK 0.x support is intentional. Package publishing and the consumer SDK upgrade are deferred.CHANGELOG.mdis intentionally unchanged because the release script generates it.Reviews (1) · Last reviewed commit: "feat(anthropic)!: peer SDK 1.x and send ..." · Reviewed by Greptile