Skip to content

Commit a4f54b2

Browse files
committed
fix(ai): mention takeScreenshot can target specific panels
1 parent aadad78 commit a4f54b2

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src-node/claude-code-agent.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,9 @@ async function _runQuery(requestId, prompt, projectPath, model, signal, locale,
471471
"\n\nWhen a tool response mentions the user has typed a clarification, immediately " +
472472
"call getUserClarification to read it and incorporate the user's feedback into your current work." +
473473
"\n\nWhen planning, consider if verification is needed. takeScreenshot can " +
474-
"visually verify the editor state. For HTML/CSS/JS with live preview, " +
475-
"execJsInLivePreview can run JS in the browser to confirm behavior." +
474+
"capture the full editor, specific panels, the code area, or the live preview. " +
475+
"For HTML/CSS/JS with live preview, execJsInLivePreview can run JS in the " +
476+
"browser to confirm behavior." +
476477
(locale && !locale.startsWith("en")
477478
? "\n\nThe user's display language is " + locale + ". " +
478479
"Respond in this language unless they write in a different language."

0 commit comments

Comments
 (0)