יום שבת, 24 באוקטובר 2026 LIVE
AI־INFO

כתבה Claude Agent SDK (py) ·

עדכון Claude Agent SDK

v0.2.158
חבילת התוכנה Claude Agent SDK עודכנה לגרסה 0.2.158, עם תכונות חדשות ושיפורים. העדכון כולל אפשרות verbatim_prompts, המאפשרת העברת הודעות משתמשים ל-CLI בדיוק כפי שנכתבו.
תקציר מקורי באנגלית<h3>New Features</h3> <ul> <li><strong><code>verbatim_prompts</code> option</strong>: Added <code>ClaudeAgentOptions.verbatim_prompts</code> (default <code>False</code>). When <code>True</code>, user messages are delivered to the CLI exactly as written — no <code>@path</code> file expansion and no slash-command dispatch. This prevents untrusted text inlined into prompts from triggering unintended file reads or command execution. Works with <code>query()</code>, <code>ClaudeSDKClient.connect()</code>, and <code>ClaudeSDKClient.query()</code> for both string and async-iterable prompts. Requires CLI 2.1.248+; a warning is logged on older CLIs. (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5483532201" data-permission-text="Title is private" data-url="http
קרא במקור המקורי