כתבה
Claude Agent SDK (py) ·
עדכון Claude Agent SDK 0.2.127
v0.2.127
עדכון Claude Agent SDK 0.2.127: תיקוני באגים ושינויים פנימיים. העדכון כולל תיקון לסגירה מוקדמת של stdin כאשר משימות רקע עדיין פעילות. כמו כן, הועדכה גרסת Claude CLI ל-2.1.219.
תקציר מקורי באנגלית<h3>Bug Fixes</h3> <ul> <li><strong>Fixed premature stdin closure when background tasks are in flight</strong>: <code>query()</code> no longer closes stdin on the first <code>result</code> frame when background tasks (e.g. <code>run_in_background: true</code> subagents) are still running. Previously, closing stdin too early caused SDK-MCP tool calls from background tasks to fail with <code>"Stream closed"</code> and silently bypassed PreToolUse hooks. Stdin now stays open until all in-flight tasks complete and the final result frame arrives (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4853398623" data-permission-text="Title is private" data-url="https://github.com/anthropics/claude-agent-sdk-python/issues/1103" data-hovercard-type="pull_request" data
קרא במקור המקורי
github.com
פתח כתבה מקורית