fix(eval): replMode so successive evals can re-declare let/const; snapshot-first skill rule (#37, #38)
#38: `chrome-use eval` now runs with Runtime.evaluate replMode (like the DevTools console) — top-level `let`/`const` no longer throw "already been declared" across successive evals (independent `eval` steps in a `test` suite collided in the page's shared lexical scope), and top-level await is allowed. Main-world and completion-value semantics are unchanged. #37: core skill gains a hard rule — snapshot-first, never screenshot+coordinates to locate form fields/buttons; `snapshot -i` now pierces cross-origin iframes and lists their elements by @ref; screenshots are for visual checks only, and a full-page retina screenshot often exceeds an image reader's limits.
This commit is contained in:
Generated
+1
-1
@@ -290,7 +290,7 @@ checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
|
||||
|
||||
[[package]]
|
||||
name = "chrome-use"
|
||||
version = "1.5.12"
|
||||
version = "1.5.13"
|
||||
dependencies = [
|
||||
"aes",
|
||||
"aes-gcm",
|
||||
|
||||
Reference in New Issue
Block a user