Repository navigation
fix(server-utils): Read pi-durable 1.2.0 tool results from output - #25312
Merged
Merged
Conversation
pi-durable 1.2.0 renamed the tool result field `content` to `output`. A tool call outside a tool task phase, such as a tool that calls another tool, now records the result from `output` and falls back to `content` for older versions. The integration scenarios return `output` and install `^1.2.0`. The e2e apps run on the pinned 1.0.0 and on the latest version, so their tools set both fields. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JPeer264
marked this pull request as ready for review
October 13, 2026 08:33
JPeer264
requested review from
andreiborza,
mydea and
s1gr1d
and removed request for
a team
October 13, 2026 08:33
nicohrubec
approved these changes
Oct 13, 2026
andreiborza
approved these changes
Oct 13, 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.
Note: this is now backwards compatible, we can also make it pointing to the latest version only
This fixes the pi-durable tests for pi-durable 1.2.0, and makes the SDK read tool results from the new
outputfield. On 1.2.0, a tool call outside a tool task phase (for example, a tool that calls another tool) lost its result.Why
pi-durable 1.2.0 (released 2026-10-12) renamed the tool result field
contenttooutput. The test tools still return{ content }, so since that release all pi-durable integration tests and both(latest)e2e variants fail ondevelop.Test decisions
The integration suite now installs
^1.2.0and its tools returnoutput. The e2e apps keep the 1.0.0 pin and the latest variant, so their tools set both fields. The alternative is to set both fields in the integration scenarios too and keep^1.0.0.Known issues
api.executeTool()of pi-durable 1.2.0 are not tested yet.