Repository navigation
Move the Strands, LangSmith, Google ADK and AI SDK samples to the GA packages - #541
Merged
Merged
Conversation
Bump @temporalio/strands-agents to 2.0.0 with @strands-agents/sdk 1.13, @temporalio/langsmith to 2.0.0 with langsmith 0.10, @temporalio/google-adk to 1.0.0 and @temporalio/vercel-ai-sdk to 2.0.0. The LangSmith sample moves its Temporal SDK packages from 1.24.0 to 1.25, so the sample and the plugin share one copy. Strands: 2.0.0 removes StrandsFailureConverter, so fix the comments that mention it and drop the plugin from the activity-interrupt client, where it does nothing now. Carry modelState across continue-as-new, as a stateful model needs it. Update the Node.js versions the READMEs ask for.
In 2.0.0 the plugin only configures Workers, so on a Client it does nothing.
Co-authored-by: Brian Strauch <brian@brianstrauch.com>
brianstrauch
approved these changes
Nov 23, 2026
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.
What was changed
Moves four AI integration samples to the GA packages released on November 17 and 18:
strands-agents:@temporalio/strands-agents2.0.0 and@strands-agents/sdk^1.13.0.langsmith:@temporalio/langsmith2.0.0 andlangsmith>=0.10.13 <0.11.0. Its@temporalio/*packages move from exact 1.24.0 to^1.25.0, because the plugin resolves the 1.25 Worker types and the build fails with TS2322 on 1.24.google-adk:@temporalio/google-adk1.0.0. Its README asks for Node 22.17, as 1.0.0 does.vercel-ai-sdk:@temporalio/vercel-ai-sdk2.0.0. No code changes needed.Strands 2.0.0 changes how interrupts travel, so the Strands sample changes too:
StrandsFailureConverteris gone. An Activity interceptor packages interrupts, and it runs only on Workers that registerStrandsPlugin. The activity-interrupt snippet comment and the README row now say that, and the activity-interrupt and structured-output starters no longer register the plugin on their Clients (it does nothing on a Client now).modelState: agent.modelState.getAll()along withmessages. A stateful model clearsmessagesafter each turn, so without it the new run loses the conversation. This matches the 2.0.0 README.Why?
docs.temporal.io copies its Strands snippets from here, and every integration page sends readers to these samples. They still ran the versions from before the breaking changes.
Checklist
Closes: no issue.
How was this tested:
On Node 22.23.5, each sample's build, lint and format check pass, and:
OPENAI_API_KEY).Nothing ran against real model providers.
Any docs updates needed? Yes. Fix TypeScript AI integration pages for the GA releases documentation#5756 left out the Strands
modelStateandStrandsFailureConverterchanges until these snippets sync.Both this PR and #534 change
pnpm-lock.yaml, so whichever merges second needs a freshpnpm install.