--- name: vartifact description: >- Show the user a visual result as a live page in VelaTerm. Use when the user asks to see, mock up, sketch or prototype a screen, page, form, chart or diagram, rather than to read code: write one self-contained HTML file and open it with `vartifact`, which renders it beside this conversation and reloads it on every save. Available only inside VelaTerm-hosted local sessions. argument-hint: "[what to show]" allowed-tools: Bash(vartifact:*) --- # vartifact VelaTerm previews HTML pages as artifacts. A page opened with the `vartifact` command from this conversation appears in a panel beside it, reloads whenever the file changes, and keeps each saved version so the user can step back through them. Errors the page logs show in the panel's console, and the user can send them back to you. User input: $ARGUMENTS ## Step 1: Decide where the page goes - Use the path the user named. Otherwise put it next to the code it is about, or in the working directory, with a short descriptive name such as `clone-dialog.html`. - Keep editing the same file across rounds. A new file starts a new history; the same file builds one. ## Step 2: Write the page - One self-contained HTML file: inline `