AI Helper now verifies its own errors and builds action bars
AI Helper is the assistant built into JustZix that writes CSS and JavaScript for you. In a recent version it gained four new tools: with them it verifies that the code works on its own and can build not just rules but interactive action bars. This post explains what that changes in practice.
The problem: code that looks right but does not run
A language model can write a convincing snippet that still fails on a specific page — a wrong selector, a typo, a syntax error. Previously AI Helper showed you that code and spotting the problem was on you. You had to paste it, run it, see the error and ask for a fix.
read_temp_pane — verification before you see the result
The read_temp_pane tool drops the generated code into a TEMP window and checks it. For JavaScript it actually runs the code and returns a synchronous error or a success confirmation; for CSS it checks basic syntax. AI Helper does this itself, in a loop, before it even shows you a proposal.
read_console — reading runtime errors
The second tool, read_console, opens a TEMP Output Console window and reads the page's captured console entries — including errors that only appear once code runs. The assistant sees the same thing you would see in DevTools and can fix the code before it reaches you.
create_bar and create_action — building action bars
Two more tools go beyond CSS and JS. create_bar creates an action bar pinned to a folder, group or rule set, and create_action adds an action to it: a button, a select, a text field, a slider, a textarea or a three-state toggle. So you can ask „make a bar with a font-size slider” and get a finished, interactive panel — not just a rule.
The workflow: describe, approve, done
A typical conversation goes like this: you describe what you want; AI Helper inspects the page, writes the code, tests it itself with read_temp_pane and read_console, fixes it if it fails, and finally shows you the finished result. Creating a rule, bar or action requires a separate confirmation in the extension — nothing reaches your library without your consent.
Full context in the system prompt
So the assistant picks the right tools, the system prompt was given a full picture of the data model: six action types with their configuration fields, plus guidance on when a CSS/JS set works better than an interactive bar. That is why the proposals fit how JustZix actually works rather than a generic idea of extensions.
Benefits
Fewer rounds of fixes — the code you see has already been checked once by the assistant itself. The assistant builds interfaces, not just rules — bars and buttons take shape right in the conversation. And you keep full control, because every write to the library needs your confirmation.
You configure AI Helper in settings with an OpenAI, Anthropic or Gemini API key — the key stays on your device. Install JustZix and describe your first tweak to the assistant.
Rate this post
★ 5.0 · 2 ratings