πŸ“¦ @goodandready/dsh-live-canvas

September 1, 2026 Β· View on GitHub

Interactive Visual Frontend Studio, Retool-Style CRUD Admin Engine, Time-Travel Debugger, 1-Click Multi-Deploy (Vercel, Cloudflare, Netlify, Gist), Figma Vector Bridge, Effective HTML Artifacts, UI Sound FX, and 30 Agent Tools for DeepSeek Harness

npm version license DSH Plugin Node version

GoodAndReady Showcase

πŸ‡¬πŸ‡§ English β€’ πŸ‡·πŸ‡Ί Русский β€’ πŸ‡¨πŸ‡³ δΈ­ζ–‡θ―΄ζ˜Ž


⚑ Overview & The Problem

When coding assistants work in standard terminal or chat windows, they typically produce static code snippets or markdown blocks. This creates critical friction:

  1. No Live Feedback: Developers cannot see or test interactivity, form validations, animations, or responsive breakpoints without manually copying code into a local build toolchain.
  2. Context Fragmentation: Reviewing UI changes requires switching back and forth between IDE, terminal, browser, and design tools.
  3. Verbose Text Overload: Explaining architecture, roadmaps, and wireframes in raw text produces walls of markdown that are difficult to scan.

The Solution: dsh-live-canvas

Inspired by Thariq Shihipar's The Unreasonable Effectiveness of HTML, Plannotator, and modern visual studios (Figma, Retool, V0), @goodandready/dsh-live-canvas transforms DeepSeek Harness into a complete, standalone frontend development suite. It provides in-memory ESM bundling, real-time SSE hot-reloading, in-chat interactive preview cards, a split-view code editor, time-travel history debugging, 1-click cloud deployment, and 30 dedicated Agent Tools.


πŸ›οΈ System Architecture

graph TD
    classDef agent fill:#1e1b4b,stroke:#6366f1,stroke-width:2px,color:#fff;
    classDef core fill:#064e3b,stroke:#10b981,stroke-width:2px,color:#fff;
    classDef ui fill:#451a03,stroke:#f59e0b,stroke-width:2px,color:#fff;
    classDef sandbox fill:#18181b,stroke:#71717a,stroke-width:2px,color:#fff;

    Agent[πŸ€– DeepSeek Harness Agent / 30 Tools]:::agent
    Store[πŸ’Ύ PreviewStore LRU Cache & History Snapshots]:::core
    Watcher[πŸ“ WorkspaceWatcher File Change Detection]:::core
    Bundler[⚑ Smart Recursive ESM Bundler & Transpiler]:::core
    Deployer[🌍 Multi-Platform Deploy Engine]:::core
    FigmaBridge[🎨 Figma Vector Bridge]:::core
    SoundEngine[πŸ”Š Web Audio FX Synthesis]:::core
    Themes[🎨 AI Theme Tokens Engine]:::core

    WebUI[πŸ’» DSH WebUI BetterSidebar Tab]:::ui
    ChatCards[πŸ’¬ In-Chat Live Preview Tool Cards]:::ui
    EditorDrawer[πŸ“ Split-View Code Editor Drawer]:::ui
    TimeTravelUI[⏳ Time-Travel History Scrubber]:::ui
    DeployModal[🌍 Instant Deploy Dialog]:::ui

    SandboxFrame[πŸ›‘οΈ Sandboxed Iframe Preview Runtime]:::sandbox
    WYSIWYG[✏️ Double-Click Inline WYSIWYG Editor]:::sandbox
    DnD[↕️ Drag & Drop Section Reordering]:::sandbox
    Blueprint[πŸ“ Blueprint Grayscale Filter Mode]:::sandbox

    Agent -->|live_canvas_* tools| Store
    Watcher -->|Auto file sync| Store
    Store --> Bundler
    Deployer --> Store
    FigmaBridge --> Store
    Themes --> SandboxFrame
    Bundler --> SandboxFrame
    SoundEngine --> SandboxFrame

    WebUI --> EditorDrawer
    WebUI --> TimeTravelUI
    WebUI --> DeployModal
    WebUI --> SandboxFrame
    ChatCards -->|1-Click Activate Tab| WebUI

    SandboxFrame --> WYSIWYG
    SandboxFrame --> DnD
    SandboxFrame --> Blueprint
    WYSIWYG -->|POST /api/save-content| Watcher
    DnD -->|POST /api/save-reorder| Watcher

✨ Exhaustive Feature Breakdown

1. πŸ—„οΈ Retool-Style CRUD Admin Dashboard Studio (lib/crud.js / Tool 26)

  • Instant Data Grids: Generates full-featured data management micro-apps with live search, column sorting, and status filter pills (Active, Pending, Suspended).
  • Interactive Modals: Form validation for creating and editing records on the fly.
  • Persistent Database: Automatically syncs record changes to localStorage so data survives page reloads.
  • CSV Data Export: 1-click export of table data directly to downloadable .csv files.

2. ⏳ Time-Travel Debugger & History Timeline Scrubber (lib/timetravel.js / Tool 27)

  • Visual Revision Slider: Interactive scrubber bar allowing developers and agents to slide through historical session snapshots.
  • Instant Rollback: 1-click restore of any previous snapshot directly back into the live canvas without touching Git.
  • Timestamped Revisions: Compares intermediate iterations generated across conversation turns.

3. 🌍 1-Click Multi-Platform Web Deployment (lib/deploy.js / Tool 28)

  • Vercel: Prepares static distribution with vercel.json routing rules.
  • Cloudflare Pages: Generates _routes.json and security headers (_headers).
  • Netlify: Packages static dist with SPA redirects (_redirects).
  • GitHub Gist: Generates standalone single-file HTML ready for immediate public sharing via Gist preview.

4. 🎨 Figma & Penpot Vector Bridge (lib/figma.js / Tool 29)

  • SVG-to-Tailwind Converter: Pasted vector SVG code from Figma or Penpot is automatically parsed into clean, responsive React JSX or HTML with Tailwind CSS classes.
  • Export to Figma: Wraps canvas components into standard SVG with foreignObject for direct pasting (Ctrl+V) into Figma design files.

5. πŸ”Š UI Sound FX & Micro-Interactions Synthesis (lib/sound.js / Tool 30)

  • Zero-Dependency Web Audio API: Pure mathematical synthesis of UI feedback sounds without external audio assets.
  • Curated Sound Presets: Tactile click, switch tap, 2-tone success chime, warning error buzz, modal pop, and 3-tone levelup arpeggio.

6. πŸ“‹ Effective HTML Artifact Archetypes (lib/wireframe.js, lib/plan.js, lib/diagram.js, lib/prototype.js)

  • πŸ“ Low-Fi Wireframes (Tool 21): Monochromatic blueprint layouts with skeleton loaders and placeholder image boxes to evaluate UX hierarchy without styling bias.
  • πŸ“‹ Interactive Release Plans (Tool 22): Release readiness roadmaps with priority badges (P0, P1, P2), dynamic progress bars, milestone checkboxes, and persistent state.
  • πŸ“Š Living Architecture Diagrams (Tool 23): Zoomable node-graph diagrams with animated data flow lines and detailed service popups on click.
  • πŸ§ͺ Multi-Step Prototype Flows (Tool 24): Onboarding wizards and checkout flows with step transitions and validation state machines.
  • ✍️ Visual Annotation Sign-Off (Tool 25): Boxed markup with resolution statuses (open / resolved) and response threads.

7. πŸ’¬ In-Chat Live Preview Tool Cards (LiveCanvasChatCard)

  • Embedded Sandbox Preview: Directly in the chat stream, tool executions render an interactive preview card.
  • 1-Click Studio Activation: Clicking πŸš€ Open in Live Canvas automatically opens the BetterSidebar Live Canvas tab and loads the session.

8. ⚑ Smart Multi-File ESM Bundler (lib/transpiler.js)

  • Recursive Local Import Resolution: Resolves relative ./Header.jsx, ./Card.tsx, ./data.js, and ./styles.css imports in-memory.
  • Babel JSX & PostCSS: Transpiles modern React 18, Vue, HTML5, SVG, and Mermaid diagrams without external build tools.
  • Asset Streaming: Safely streams local workspace images via GET /dsh-live-canvas/assets/*.

9. 🎨 AI Theme Tokens Engine (lib/themes.js)

  • 1-Click Design System Switcher: Linear Dark, Vercel Clean, Swiss Editorial, Glassmorphism Neon, and Cyberpunk Terminal.

10. πŸ” Visual Regression & Layout Audit (Tool 18)

  • Inspects canvas DOM for text overflow clipping, missing alt attributes, low contrast, and viewport responsiveness issues.

11. πŸ“± QR Code Mobile Live Share (Tool 20)

  • Generates instant SVG QR codes and local network URLs for testing canvas previews on real smartphones over Wi-Fi.

12. πŸ“¦ 1-Click Vite Project ZIP Packager (lib/packager.js / Tool 13)

  • Bundles the active canvas into a complete production-ready Vite + React or Vite + Vue project with package.json, vite.config.js, and tailwind.config.js.

πŸ› οΈ Complete 30 Agent Tools Reference

#Tool NameDescriptionKey ParametersReturn Values
1live_canvas_previewRenders or updates preview session for HTML/React/SVG/Mermaidcontent, componentType, title, themepreviewUrl, canvasId, success
2live_canvas_inspectRetrieves user DOM clicks, CSS selectors, and element attributescanvasId, limitinspections: [...], count
3live_canvas_reloadForces instant SSE reload on open preview framescanvasIdreloaded, timestamp
4live_canvas_diagnoseQueries sandbox console errors and exceptions for self-healingcanvasId, levellogs: [...], hasErrors
5live_canvas_exportExports standalone zero-dependency HTML bundlecanvasId, saveToDiskdownloadUrl, savedPath
6live_canvas_annotationsQueries or clears boxed visual annotations and user markupcanvasId, actionannotations: [...], count
7live_canvas_galleryCreates multi-variant Storybook comparison matrixvariants, titlevariantsCount, previewUrl
8live_canvas_watchScans and binds workspace files to live file watchersubDir, extsfiles: [...], watchedFiles
9live_canvas_controlsUpdates Storybook-style interactive props sliderscanvasId, values, schemavalues: {...}, schema: {...}
10live_canvas_diffVisual split slider comparing two session snapshotscanvasId, fromId, toIddiffUrl, snapshotCount
11live_canvas_matrixMulti-device viewport matrix (Mobile, Tablet, Desktop)canvasIdmatrixUrl
12live_canvas_mockConfigures intercepted REST API mock routes in preview framecanvasId, endpointsendpointsCount, mockData
13live_canvas_pack1-Click Vite+React or Vite+Vue project ZIP bundle packagercanvasId, frameworkdownloadUrl, writtenDir
14live_canvas_refine_elementTargets AI visual/structural refinement to a DOM elementcanvasId, selector, promptsuccess, message
15live_canvas_storybookAuto-scans workspace components and creates UI Kit gallerysubDir, frameworkgalleryUrl, componentsCount
16live_canvas_insert_blockInserts curated design block (Hero, Bento, Pricing, FAQ, Footer)blockId, canvasIdblockId, title
17live_canvas_vision_importConverts image mockup/screenshot into interactive canvasimagePath, frameworkpreviewUrl, framework
18live_canvas_visual_auditInspects canvas DOM for overflow, contrast, and layout issuescanvasIdscore, issuesCount, issues
19live_canvas_generate_mockGenerates realistic mock JSON datasets and injects into sandboxtype, count, canvasIddatasetType, mockData
20live_canvas_shareGenerates mobile QR code and local network preview URLcanvasIdshareUrl, qrSvg
21live_canvas_create_wireframeGenerates low-fidelity structural HTML wireframe artifacttitle, layout, canvasIdpreviewUrl, layout
22live_canvas_create_planGenerates interactive HTML project plan & release roadmaptitle, version, canvasIdpreviewUrl, version
23live_canvas_create_diagramGenerates living interactive architecture diagram artifacttitle, diagramType, canvasIdpreviewUrl, diagramType
24live_canvas_create_prototypeGenerates multi-step interactive prototype wizard flowtitle, flowType, canvasIdpreviewUrl, flowType
25live_canvas_resolve_annotationMarks visual user annotation as resolved with notescanvasId, annotationId, notestatus: 'resolved'
26live_canvas_create_crudGenerates Retool-style admin CRUD dashboard with table and modalstitle, entityName, canvasIdpreviewUrl, entityName
27live_canvas_timetravelSteps through snapshot history timeline or restores revisionscanvasId, action, snapshotIndextimetravelUrl, snapshotsCount
28live_canvas_instant_deployGenerates ready-to-ship bundle for Vercel, Cloudflare, Netlify, GistcanvasId, targetdownloadUrl, instructions
29live_canvas_figma_bridgeConverts Figma SVG vector code to Tailwind or exports component SVGsvg, action, canvasIdaction, componentName
30live_canvas_sound_fxSynthesizes and previews Web Audio UI feedback soundsaction, soundTypepresetsCount, soundType

πŸ“¦ Installation

Install into your DeepSeek Harness profile with one command:

dsh plugin --profile web add @goodandready/dsh-live-canvas

βš™οΈ Configuration (settings.yaml)

plugins:
  "@goodandready/dsh-live-canvas":
    defaultViewport: "responsive" # Options: responsive, mobile, tablet, desktop, matrix
    autoOpenOnHtmlGen: true       # Automatically focus Live Canvas tab upon UI generation
    enableHotReload: true         # Enable SSE real-time hot-reloading on code updates
    maxSessionCache: 50           # Maximum active preview sessions in LRU memory cache
    enableFileWatcher: true       # Enable filesystem watcher for live project sync
    workspaceDir: ""              # Custom project root path (defaults to working directory)
ParameterTypeDefaultDescription
defaultViewportstring"responsive"Initial viewport dimension (responsive, mobile, tablet, desktop, matrix)
autoOpenOnHtmlGenbooleantrueAutomatically opens BetterSidebar Live Canvas tab when agent generates UI
enableHotReloadbooleantrueReal-time SSE hot-reload stream for sandbox frames
maxSessionCachenumber50Maximum number of active preview sessions kept in memory
enableFileWatcherbooleantrueMonitors workspace directory for file changes
workspaceDirstring""Base directory for scanning workspace components

⌨️ Interactive Controls & Shortcuts

ActionShortcut / TriggerResult
Inline WYSIWYG Text EditDouble-click text element on canvasEdit heading/paragraph inline and save with Enter
Split-View Code EditorClick πŸ’» Code in toolbarCollapsible side-by-side code editor with live debounce sync
Blueprint ModeClick πŸ“ Wireframe in toolbarToggles high-contrast monochromatic structural view
Drag & Drop ReorderingClick ↕️ D&D in toolbarDrag section and card blocks to reorder layout visually
Time-Travel ScrubberClick ⏳ Timeline in toolbarSlide through revision history and restore previous snapshots
1-Click Web DeployClick 🌍 Deploy in toolbarPrepares Vercel, Cloudflare, Netlify, or Gist deployment package
Sound FX ToggleClick πŸ”Š Sound in toolbarEnables/disables synthesized Web Audio feedback
Inspect ElementClick πŸ” Inspect in toolbarClick any DOM element to capture CSS selector and computed styles
Visual AnnotationsClick πŸ– Annotate in toolbarDraw bounding boxes and leave review comments for the agent

πŸ“„ License

MIT Β© GooDAnDReaDY