New Features
- Console capture — HTML artifacts now capture
console.log,console.warn,console.error,console.info, and uncaught exceptions from user code. - Console footer — A collapsible console footer appears in the panel when log entries exist. Auto-expands when an error is captured.
- Log type filters — Clickable filter chips in the console header let you show/hide entries by type (error, warn, info, log).
console:logevent — Listen for console output from artifacts to send errors back to your AI agent for auto-fixing.
New Config Options
New Events
consolePanel: false in config or per-artifact options to hide the footer UI while still receiving events.Documentation
- Added Console Output section to Code artifacts page
New Features
- Multi-tab mode — Open multiple artifacts as tabs, like a code editor. Switch between tabs, close individually, and each tab remembers its own view mode. Opt-in via
multiTab: truein config.
New Config Options
New Methods
| Method | Description |
|---|---|
closeTab(artifactId) | Close a specific tab |
closeOtherTabs(artifactId) | Close all tabs except the specified one |
closeAllTabs() | Close all open tabs |
How It Works
- Clicking an artifact card or using
openFile()/openCode()opens the artifact in a new tab (or focuses it if already open) - Each tab preserves its own view mode (preview, code, split, edit)
- Closing the active tab switches to the adjacent tab
- The old prev/next navigation is hidden when multi-tab is active
- When disabled (default), the existing single-artifact behavior is unchanged
Documentation
- Added Multi-Tab section to ArtifactusePanel page
New Features
panelWidthconfig & prop — Set the initial panel width as a percentage (25–75). Configurable globally or per-component. Users can still drag to resize.splitPositionconfig & prop — Set the initial split view position as a percentage (20–80). Configurable globally or per-component.
New Config Options
New Component Props
| Prop | Type | Default | Description |
|---|---|---|---|
panelWidth | Number | 65 | Initial panel width (25–75%) |
splitPosition | Number | 50 | Initial split position (20–80%) |
Documentation
All Panels Are Now Free
Every panel — including Canvas Editor, Video Editor, and Code Runtime — is now free and open source under the MIT license. No more Pro-gated features.What changed
- Canvas Editor — previously Pro, now free
- Video Editor — previously Pro, now free
- Code Runtime (JavaScript & Python) — previously Pro, now free
- All panels can be self-hosted without restrictions
New pricing model
| Free | Pro | |
|---|---|---|
| All panels | Yes | Yes |
| Save, share, publish | Yes | Yes |
| Shared CDN | Yes | Yes |
| Custom domain | — | Yes |
| Dedicated CDN | — | Yes |
| No badge | — | Yes |
| Priority support | — | Yes |
Why
We believe the interaction layer for AI should be open and accessible to everyone. The value we provide is in managed infrastructure — CDN hosting, cloud services, and custom domains — not in gating panel features.New Features
- CSV/TSV Spreadsheet Panel - New
sheet-panelrenders CSV and TSV data in an interactive spreadsheet powered by jspreadsheet-ce. Auto-detects delimiters (comma, tab, pipe, semicolon). Cells are editable with auto-save back to the artifact.
Supported Languages
| Language | Code Block | Panel |
|---|---|---|
| CSV | ```csv | sheet-panel |
| TSV | ```tsv | sheet-panel |
Documentation
- Added CSV / TSV section to Code artifacts page
- Updated panel README with sheet-panel docs
New Features
excludeLanguages- Exclude specific languages from inline preview when usinglanguages: true. Excluded languages fall back to artifact cards.
New Config Options
Documentation
- Added Exclude Languages section
New Features
- Inline Code Preview - Code artifacts now show a truncated syntax-highlighted preview directly in the message instead of a plain card. Click to open in panel. Configurable per language.
- Smart Diff (
smartdiff) - New language identifier for structured JSON diffs ({oldCode, newCode, language}). Uses the actual language grammar for syntax highlighting with red/green line backgrounds for deletions/insertions. - Standard
diffpreserved -```diffblocks now render normally with Prism’s built-in diff grammar, separate from the structured JSON format. - Inline Code (
inlineCode) - Show full syntax-highlighted code directly in the message without extraction or panel. Code stays as normal<pre><code>blocks. - Component-Level Config - All config options (
inlinePreview,inlineCode,tabs,viewMode,inlineCards) now work as both global config and per-message component props with clean precedence: component prop → global config → default. - Global
tabs&viewMode- Control visible panel tabs and initial view mode globally or per-message. minClickableLines- Disable clicking on short inline previews where the panel adds no value. SupportsignoreLanguagesto exempt previewable languages (HTML, markdown).actionLabel- Customize the fade overlay label per language (e.g., “Open preview” for HTML, “Open document” for markdown).
New Config Options
New Component Props
| Prop | Type | Default | Description |
|---|---|---|---|
inlinePreview | object | null | Override global inlinePreview for this message |
inlineCode | object | null | Override global inlineCode for this message |
tabs | string[] | null | Override visible panel tabs for this message |
viewMode | string | null | Override initial view mode for this message |
Documentation
- Added Smart Diff section to Code artifacts page
- Added Inline Code, Tabs & View Mode, and Config Precedence sections
- Updated Inline Code Preview with per-message override examples
- Updated panel mappings to include
smartdiff - Added Non-Clickable Short Code and Custom Action Labels sections
New Features
updateFile()— Update an existing artifact’s code and refresh the panel in place, without creating duplicate tabs. Accepts the artifact object (returned byopenFile) or an artifact ID string.
New Methods
| Method | Description |
|---|---|
updateFile(artifact, code, options?) | Update existing artifact’s code and refresh panel |
New Events
| Event | Payload | Description |
|---|---|---|
artifact:updated | { artifactId, artifact } | Artifact updated via updateFile |
Documentation
- Added
updateFilesection to Code artifacts page - Updated all framework guides with
updateFilein API listings - Updated Panel component with
updateFileexample
New Features
openFile()/openCode()- Open artifacts programmatically without processing AI messages.openFileauto-detects language from the file extension,openCodeaccepts an explicit language- Tab Filtering - Control which view mode tabs are visible with the
tabsoption:['preview', 'code', 'split', 'edit'] - Edit Tab - In-panel code editor powered by CodeMirror 6 with syntax highlighting for 18+ languages. Users provide CodeMirror modules via the
editorconfig option clearArtifacts()- Remove all artifacts and close the panelpanelUrlOption - Pass a custom iframe URL toopenFile/openCodeto bypass the panel registry for one-off custom viewers- Plain Text Fallback - Unknown file extensions automatically fall back to
txttype, rendered in the code panel as plain text
New Methods
| Method | Description |
|---|---|
openFile(filename, code, options?) | Open file in panel (auto-detect language from extension) |
openCode(code, language, options?) | Open code in panel (explicit language) |
clearArtifacts() | Clear all artifacts and close panel |
New Events
| Event | Payload | Description |
|---|---|---|
edit:save | { artifactId, artifact, code } | Code saved from edit tab |
New Config Options
Documentation
- Added Programmatic API section to Code artifacts page
- Added Edit Tab setup guide with CodeMirror configuration
- Updated all framework guides with
openFile,openCode,clearArtifacts, andedit:save - Updated Panel component with edit view mode and tab filtering
- Added
txtto default panels list
New Features
- Cloudflare Workers Deployment - Deploy panels to Cloudflare’s edge network with a single command
- Simplified Self-Hosting - New
npm run deploy:cfcommand for instant global deployment - Automatic CORS - Cloudflare Worker handles CORS headers automatically
New Deployment Commands
Quick Start
Documentation
- Updated CDN page with Cloudflare Workers as recommended option
- Added deployment comparison table (Artifactuse CDN vs Cloudflare vs AWS)
- Added custom domain configuration guide
New Features
- Configurable Panels - Add, override, or disable panels via configuration without modifying SDK source code
- Runtime Panel Registration - Register and unregister panels at runtime with
registerPanel()andunregisterPanel() - Array Type Support - Register multiple types/aliases at once:
registerPanel(['python', 'py'], 'code-panel') - Mixed CDN Support - Use different CDNs for different panel types
New Config Options
New Methods
| Method | Description |
|---|---|
hasPanel(artifact) | Check if panel exists for artifact |
registerPanel(types, panel) | Register panel (accepts string or string[]) |
unregisterPanel(types) | Disable panel (accepts string or string[]) |
getPanelTypes() | Get list of registered panel types |
New Computed/Stores
| Property | Description |
|---|---|
panelTypes | Reactive list of registered panel types |
activePanelUrl | URL for active artifact’s panel |
React Hook
NewusePanelRegistry() hook for panel management:Documentation
- Added Panels configuration guide
- Updated CDN page with panel configuration options
- Updated README with Panels section
New Features
- Media Lightbox - Images and PDFs now open in a fullscreen viewer with zoom, download, and keyboard controls
- Typing Indicator - New
typingprop on ArtifactuseAgentMessage for streaming responses - Modular CSS - Styles split into 19 files for tree-shaking and easier maintenance
Breaking Changes
- Form buttons structure - Buttons now use
data.fieldsarray withtype: "button"instead ofdata.buttons
New Events
media-open- Fired when image/PDF opens in lightbox viewer
Documentation
- Added dedicated component pages for ArtifactuseAgentMessage, ArtifactusePanel, ArtifactusePanelToggle
- Added modular CSS imports guide to Theming page
- Added Custom Panels page with framework-agnostic development guide
- Added PANEL_URL_MAP extension documentation for custom panel registration
Features
- Canvas Artifacts - Create graphics, banners, logos, diagrams
- Video Artifacts - Timeline-based video editing with effects and transitions
- Code Artifacts - HTML, React, Vue, JavaScript, Python with live preview
- Form Artifacts - Interactive forms, wizards, button groups
- Social Artifacts - Twitter, LinkedIn, Instagram, Facebook previews
Framework Support
- React 18+
- Vue 3 (and Vue 2 with @vue/composition-api)
- Svelte 4+
- Vanilla JavaScript
Packages
artifactuse- Core SDK@artifactuse/prompts- AI system prompts@artifactuse/panels- CDN panel renderers