You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>Support image edits via the same <code>image_generation</code> tool: assistant-generated images now persist to chat history so subsequent turns can iterate ("now make it blue, smaller, with a red border"), resumed chats replay previously generated images, and clients can attach source images either by file path (existing <code>FileContext</code>) or via a new inline base64 <code>ImageContext</code> request type for clients without filesystem access.</li>
4209
4209
<li>Fix inline completion crash when renewing auth tokens before completion requests. #437</li>
4210
4210
<li>Bugfix: avoid <code>Divide by zero</code> crash in chat auto-compact when models.dev reports <code>0</code> for a model's context/output limits (e.g. <code>openai/chatgpt-image-latest</code>); such limits are now normalized to <code>nil</code> and <code>auto-compact?</code> skips models without a known positive context window.</li>
4211
-
<li>Bugfix: image edit follow-up turns no longer fail on the OpenAI Responses API when prior generations are replayed; generated images are now persisted under a dedicated <code>image_generation_call</code> history role and replayed as a user-role <code>input_image</code> data URL across providers.</li>
4211
+
<li>
4212
+
<p>Bugfix: image edit follow-up turns no longer fail on the OpenAI Responses API when prior generations are replayed; generated images are now persisted under a dedicated <code>image_generation_call</code> history role and replayed as a user-role <code>input_image</code> data URL across providers.</p>
4213
+
</li>
4214
+
<li>
4215
+
<p>Support regex patterns in markdown agent tool entries (e.g. <code>eca__shell_command(npm run .*)</code>) for fine-grained tool approval, currently limited to <code>eca__shell_command</code>.</p>
You should run sleep 1 and return "I slept 1 second"
1519
1519
</code></pre></div>
1520
1520
<divclass="admonition info">
1521
+
<pclass="admonition-title">Pattern-based tool approval in markdown</p>
1522
+
<p>You can append a regex pattern in parentheses after a tool name to restrict approval to calls matching the pattern. Currently only <code>eca__shell_command</code> supports this — the pattern is matched against its <code>command</code> argument. Multiple entries for the same tool are automatically merged.</p>
<p>This is equivalent to <code>argsMatchers</code> in JSON config. Patterns on tools other than <code>eca__shell_command</code> are currently ignored.</p>
1530
+
</div>
1531
+
<divclass="admonition info">
1521
1532
<pclass="admonition-title">Tool call approval</p>
1522
1533
<p>For more complex tool call approval, use toolCall via config</p>
0 commit comments