Skip to content

[typescript/strands-agents] require @strands-agents/sdk 1.13 - #654

Merged
campoy merged 1 commit into
mainfrom
fix/strands-agents-ts-sdk-1.13
Nov 17, 2026
Merged

campoy merged 1 commit into
mainfrom
fix/strands-agents-ts-sdk-1.13

Conversation

@campoy

@campoy campoy commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

What was changed

@temporalio/strands-agents now requires @strands-agents/sdk ^1.13.0 instead of ^1.3.0, in both peerDependencies and devDependencies. The lock file only changes the specifier; it still installs 1.19.0.

Why?

Since #297, the model activity passes its cancellation signal to the model as cancelSignal, and StreamOptions only has that field from Strands 1.13.0. Below that, the plugin doesn't compile:

src/model-activity.ts(54,49): error TS2353: Object literal may only specify known properties, and 'cancelSignal' does not exist in type 'StreamOptions'.

npm still accepts any 1.3.0+ next to the plugin, so a project on Strands 1.3 to 1.12 gets an install that doesn't match what the plugin expects. CI never saw it: PR CI uses the lock (1.19.0) and the nightly uses the newest version (1.25.0).

I found this while testing the GA-wave release candidates at their lowest allowed versions. With clean builds, every Strands release from 1.13.0 to 1.19.0 passes all 139 tests, and 1.10.0, 1.11.x and 1.12.0 fail to compile.

Checklist

  1. Closes: no issue.

  2. How was this tested: in typescript/strands-agents,

    • with the committed lock (@strands-agents/sdk 1.19.0): make lint passes and make test passes 139 tests.
    • with @strands-agents/sdk pinned to exactly 1.13.0: make test passes 139 tests.
    • scripts/ci/check_conventions.py passes.
  3. Any docs updates needed? No. The README doesn't state a Strands range.

The plugin passes the model activity's cancellation signal as
cancelSignal (#297), and StreamOptions only has it from Strands 1.13.0.
Below that, the plugin doesn't compile. Raise the peer and dev floors
from ^1.3.0 to ^1.13.0.
@campoy
campoy requested a review from a team as a code owner November 17, 2026 20:53
@campoy
campoy merged commit 60fe441 into main Nov 17, 2026
16 checks passed
@campoy
campoy deleted the fix/strands-agents-ts-sdk-1.13 branch November 17, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants