Allows running JavaScript and STscript code from code blocks in chat.
  • JavaScript 92.7%
  • CSS 7.3%
Find a file
2026-04-06 00:50:43 +03:00
dist Fix npm audit 2026-04-06 00:50:43 +03:00
src Hide code runner from reasoning blocks 2025-01-30 21:25:00 +02:00
.gitignore Initial commit 2024-03-22 00:27:05 +02:00
LICENSE Initial commit 2024-03-22 00:27:05 +02:00
manifest.json Update manifest 2024-03-22 02:33:45 +02:00
package-lock.json Fix npm audit 2026-04-06 00:50:43 +03:00
package.json Bump @nyariv/sandboxjs in the npm_and_yarn group across 1 directory 2026-02-10 00:26:01 +00:00
README.md Add STscript support 2024-05-16 23:18:22 +03:00
webpack.config.js Fix npm audit, simplify dependency graph 2026-02-02 23:04:34 +02:00

Code Runner

This extension allows running JavaScript and STscript code from code blocks in chat.

If you can't see an execution button, edit the codeblock and specify the language manually after the opening triple backticks.

For JavaScript

``` => ```js

Calls to console and alert are redirected to the output block below the code.

To display anything in the final result, use return as the last statement.

For STscript

``` => ```stscript

To display anything in the final result, use any command that writes to the pipe as the last statement.

Security

The execution is sandboxed using SandboxJS, but please don't run anything that looks too sussy.