Skip to content

Commit d17fae8

Browse files
committed
fix(ai): clarify takeScreenshot works globally, not just live preview
1 parent 8e35e40 commit d17fae8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src-node/claude-code-agent.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,9 @@ async function _runQuery(requestId, prompt, projectPath, model, signal, locale,
470470
"controlEditor). Never use relative paths." +
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." +
473-
"\n\nWhen planning, include a verification step. For HTML/CSS/JS work with " +
474-
"live preview, you can use execJsInLivePreview to run JS in the browser and " +
475-
"takeScreenshot to confirm the result visually." +
473+
"\n\nWhen planning, include a verification step. Use takeScreenshot to visually " +
474+
"verify the editor state at any time. For HTML/CSS/JS work with live preview, " +
475+
"also use execJsInLivePreview to run JS in the browser and confirm behavior." +
476476
(locale && !locale.startsWith("en")
477477
? "\n\nThe user's display language is " + locale + ". " +
478478
"Respond in this language unless they write in a different language."

0 commit comments

Comments
 (0)