release: 0.9.10#312
Merged
stainless-app[bot] merged 5 commits intomainfrom Apr 7, 2026
Merged
Conversation
Contributor
Author
Release version edited manuallyThe Pull Request version has been manually set to If you instead want to use the version number |
b7946ad to
e873bba
Compare
e873bba to
c752366
Compare
c752366 to
6249002
Compare
6249002 to
6de71ad
Compare
declan-scale
approved these changes
Apr 7, 2026
Contributor
Author
|
🤖 Release is at https://github.com/scaleapi/scale-agentex-python/releases/tag/v0.9.10 🌻 |
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.
Automated Release PR
0.9.10 (2026-04-07)
Full Changelog: v0.9.9...v0.9.10
Features
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions
Greptile Summary
This release bumps the version to 0.9.10 and revamps
run_claude_agent_activityto use streaming for all content block types (text, thinking, tool use), with tool results handled via a newTemporalStreamingHooksclass with pre/post hook callbacks. Thecost_infoNone guard (previously flagged) is correctly implemented on line 382.subagent_spans(unlike the error path which does) — if aTasktool starts a span but itsPostToolUsehook never fires, those spans will be abandoned on a clean exit.Confidence Score: 4/5
Safe to merge; one minor cleanup gap on the success path
All findings are P2. The subagent span leak on success depends on an edge-case SDK behavior (PostToolUse not firing after a Task tool call) and won't cause data loss or incorrect results, but the success path should mirror the error path's cleanup for robustness.
src/agentex/lib/core/temporal/plugins/claude_agents/activities.py — success-path cleanup around line 397
Important Files Changed
Sequence Diagram
sequenceDiagram participant W as Temporal Workflow participant A as run_claude_agent_activity participant SDK as ClaudeSDKClient participant H as TemporalStreamingHooks participant UI as AgentEx UI W->>A: execute_activity(prompt, workspace, tools) A->>SDK: async with ClaudeSDKClient(options) A->>SDK: client.query(prompt) loop receive_response() SDK-->>A: AssistantMessage(TextBlock) A->>UI: stream_text_delta() SDK-->>A: AssistantMessage(ThinkingBlock) A->>UI: stream_reasoning() SDK-->>A: AssistantMessage(ToolUseBlock) A->>UI: stream_tool_request() Note over A: opens subagent span if Task tool SDK-->>H: PostToolUse hook H->>UI: stream tool response Note over H: closes subagent span SDK-->>A: SystemMessage(init) A->>A: capture session_id SDK-->>A: ResultMessage A->>A: capture cost/usage end A->>A: close_text_stream() Note over A: subagent_spans NOT cleaned up here A-->>W: {messages, session_id, usage, cost_usd}Prompt To Fix All With AI
Reviews (3): Last reviewed commit: "release: 0.9.10" | Re-trigger Greptile