Repository navigation
Cover the direct Anthropic SDK contract - #891
Merged
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
pelikhan
marked this pull request as ready for review
November 21, 2026 23:43
Contributor
|
🧠 Matt Pocock Skills Reviewer is reviewing this pull request using Matt Pocock's engineering skills... |
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.
The direct Anthropic adapter's unit tests mock the SDK, and the Claude compatibility workflow goes through Copilot. Neither caught that Anthropic SDK 1.8.0 now creates server-side message threads by default.
The adapter now opts out of server-side threading so Rig continues to own and send the full conversation history. A contract test runs the installed SDK against an in-memory HTTP transport and checks structured-output serialization, tool execution and results, and history across turns. It runs in ordinary
npm testwithout credentials or network access. The Copilot workflow is unchanged.Validation:
npm test(739 passed),npm run typecheck, andnpm run lint.