dsh-pages

Lets the model turn an answer into a web page that lives right inside the chat. The show_page tool either fills one of 10 built-in templates (report, compare, checklist, dashboard, timeline, flashcards, quiz, flow, mind map, roadmap), where the model writes only the content and the plugin does layout, interaction and saving, or saves a full page the model wrote itself (calculators, games, custom layouts). The mind map spreads branches to both sides with collapsible nodes; the roadmap draws either a research-proposal style layered technical route, with links that route around boxes, or a quarterly swimlane roadmap with milestones. Hand-written pages get the same design as base styles inside a CSS @layer, so the page's own CSS still wins. The page appears under the reply at its content height, interactive and following DSH's light/dark theme. The page's localStorage is stored in DSH per page, so what users tick or type survives reopening and new versions, and the same page open in the chat and the right sidebar stays in sync. Each edit is saved as a new version you can flip back to. After saving, the page is checked in a hidden local Chrome or Edge (script errors, horizontal overflow, dark mode not applied) and problems go back to the model. The right sidebar shows the page full-size with versions, a gallery of all pages and export to PNG, PDF or HTML. Pages run in a sandboxed, separate-origin frame with a strict CSP: no access to DSH data and no fetch, XHR or WebSocket. Works on phones with dsh-mobile.

Overview

Lets the model turn an answer into a web page that lives right inside the chat. The show_page tool either fills one of 10 built-in templates (report, compare, checklist, dashboard, timeline, flashcards, quiz, flow, mind map, roadmap), where the model writes only the content and the plugin does layout, interaction and saving, or saves a full page the model wrote itself (calculators, games, custom layouts). The mind map spreads branches to both sides with collapsible nodes; the roadmap draws either a research-proposal style layered technical route, with links that route around boxes, or a quarterly swimlane roadmap with milestones. Hand-written pages get the same design as base styles inside a CSS @layer, so the page's own CSS still wins. The page appears under the reply at its content height, interactive and following DSH's light/dark theme. The page's localStorage is stored in DSH per page, so what users tick or type survives reopening and new versions, and the same page open in the chat and the right sidebar stays in sync. Each edit is saved as a new version you can flip back to. After saving, the page is checked in a hidden local Chrome or Edge (script errors, horizontal overflow, dark mode not applied) and problems go back to the model. The right sidebar shows the page full-size with versions, a gallery of all pages and export to PNG, PDF or HTML. Pages run in a sandboxed, separate-origin frame with a strict CSP: no access to DSH data and no fetch, XHR or WebSocket. Works on phones with dsh-mobile.

Installation

Install from npm

dsh plugin --profile web add @orderg-x/dsh-pages

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:OrderG-X/dsh-pages

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.