top | item 46344105

(no title)

miki_oomiri | 2 months ago

I don't think they mean executing locally JS code generated server-side.

discuss

order

codegladiator|2 months ago

Its a "tool call" definition in their code named 'execute_javascript', which takes in a "code" parameter and executes it. The code here being provided by the LLM which is not sitting locally. So that code is not present "in the plugin binary" at the time when chrome store team is reviewing it.

miki_oomiri|2 months ago

I'd very curious to know how they managed to deal with this then. There's always the option of embedding quickjs-vm within the addon (as a wasm module), but that would not allow the executed code to access the document.

miki_oomiri|2 months ago

It seems like they are using the debugger.