# Conductor Theme [Paseo Plugin Registry](https://paseo.sh/plugins/nexmoe/conductor-theme) · [Overview (EN)](OVERVIEW.md) · [中文介绍](OVERVIEW.zh-CN.md) Conductor workspace and chat theme plugin for [Paseo](https://paseo.sh). It provides light (**Conductor Theme**), dark (**Conductor Dark**), and system-following (**Conductor Auto**) palettes across desktop, web, iOS, and Android. Beyond restyling the workspace and composer, it groups tool steps, adds per-turn Git file recaps, renders Mermaid diagrams to SVG with [Pele](https://www.npmjs.com/package/pele), and exposes an inline HTML tool (`html_render`) to agents. ![Conductor Theme workspace with chat, a Markdown table, and the file explorer](assets/chat.png) ## Install ```sh paseo plugin add nexmoe/conductor-theme ``` Or install directly from GitHub: ```sh paseo plugin add github:nexmoe/paseo-conductor-theme ``` Requirements: - **Paseo 0.16 or later** with plugins enabled on the host. Clickable file-recap chips require Paseo 0.19 or later. - **npm** on the daemon host to install locked runtime dependencies (`pele`, `diff`, `sharp`, `zod`). No separate account or API token is required. After installation, open **Settings → Appearance** on each device and select a theme: | Theme | Behavior | Palette | | --- | --- | --- | | **Conductor Auto** | Follows OS light/dark appearance | Switches between light and dark automatically | | **Conductor Theme** | Fixed light theme | `#ffffff` canvas, `#fdfcfc` sidebar, `#805d50` accent | | **Conductor Dark** | Fixed dark theme | `#211f1e` canvas, `#262321` sidebar, `#d7a68e` accent | ## Screenshots | Conductor Dark | Workspace and Git diff | | --- | --- | | ![Conductor Dark with a Pele-rendered Mermaid diagram](assets/dark-mermaid.png) | ![Workspace layout with Git diff view](assets/workspace.png) | | Mermaid rendered with Pele | Inline HTML (`html_render`) | | --- | --- | | ![A Mermaid flowchart rendered by Pele in a Paseo conversation](assets/mermaid-pele.png) | ![A chart rendered in the conversation by html_render](assets/inline-html.png) | | File changes in a completed turn | Expanded tool steps | | --- | --- | | ![File chips and the expanded list with repo-relative paths and line counts](assets/file-recap.png) | ![Expanded tool steps with inline details](assets/tool-steps.png) | | Formatted prompts and copy as Markdown | Fork and reset actions | | --- | --- | | ![Formatted prompts and copy as Markdown](assets/copy-markdown.png) | ![Fork and reset actions in the turn menu](assets/turn-actions.png) | ### Mobile web prompt outline Mobile web chat outline ## What changes | Area | Behavior | | --- | --- | | Workspace | Restyles the sidebar, workspace header, tabs, explorer, Git diff, and workspace menus. Wide layouts place files and changes in a separate rail beside the main pane. | | Composer | Restyles the input card, toolbar controls, and permission prompts. | | Timeline | Combines tool calls, reasoning, and progress updates into expandable groups. Summaries count reads, edits, commands, and other actions; expanded rows show shell output and inline diffs. | | Completed turns | Displays changed files with added and removed line counts, folds extra files into `+N more`, and opens files in Paseo on click (Paseo 0.19+). The turn menu groups fork-to-tab, fork-to-workspace, and provider-supported reset. | | Prompts and replies | Renders inline code and fenced blocks in user messages, folds long prompts, and adds a selection menu to copy as plain text or Markdown. | | Mermaid | Renders Mermaid code fences to SVG on the daemon with [Pele](https://www.npmjs.com/package/pele). Diagrams stay inline with zoom, fullscreen, source view, and redraw controls, and follow the active light or dark theme. | | Inline HTML | Adds the `html_render` MCP tool to new agent sessions for inline charts, tables, and interactive pages, with fullscreen, copy HTML, and open-in-browser actions. | | Images | Groups image previews and opens them in a full-size viewer with zoom and multi-image navigation. | | Localization | UI labels and summaries follow Paseo’s locale in English and Simplified Chinese (`zh-CN`). | ## Platform support | Capability | Desktop & Web | Narrow Web | iOS & Android | | --- | :---: | :---: | :---: | | Light, dark, and auto palettes | Yes | Yes | Yes | | Workspace header, tabs, sidebar, and composer restyling | Yes | Yes | Yes | | Separate Explorer rail in wide layouts | Yes | — | — | | Grouped tool steps and expandable file recaps | Yes | Yes | Yes | | Full-size image viewer | Yes | Yes | Yes | | Copy last turn as Markdown (Command Center) | Yes | Yes | Yes | | Formatted user prompts, selection copy, and prompt jump | Yes | Yes | — | | Prompt outline drawer | — | Yes | — | | Pele Mermaid diagrams and `html_render` inline pages | Yes | Yes | — | ## Shortcuts and Command Center - `⌥⌘↑` / `⌥⌘↓` (desktop and web): jump to the previous or next user prompt. - **Command Center** (agent context): - **Previous prompt** / **Next prompt** (desktop and web) - **Copy last turn as Markdown** (desktop, web, iOS, and Android) ## Data and local rendering - **Workspace files**: file recaps inspect the turn timeline and local Git worktree changes. When multiple turns run concurrently in the same checkout, indirect worktree diffing is skipped so edits are not misattributed. - **Mermaid**: the daemon renders Mermaid source to SVG locally with Pele (`links: false`, `images: false`) without external network requests. - **Images**: local image files (up to 12 MB) are read on demand through the daemon RPC when previews are requested. - **Inline HTML**: the plugin runs a loopback MCP and preview server on `127.0.0.1` protected by a bearer token (`html_render` is preapproved on `claude`, `codex`, and `opencode` base providers). Rendered pages are cached locally and served under a sandboxed CSP; pages may load external resources referenced in their HTML. If a compatible local Chrome Headless Shell (`156.0.8078.47`) is installed, agents also get `html_preview` to check layouts at 700px and 360px widths before publishing. ## Develop ```sh npm ci --ignore-scripts npm run typecheck npm test ``` Install and reload from a local checkout: ```sh paseo plugin install /absolute/path/to/paseo-conductor-theme paseo plugin reload paseo-mineral-light ``` ## Credits - The chat layout and inline HTML workflow build on [Chat Polish](https://github.com/lthieu96/paseo-chat-polish/tree/308b3e4f401222b797cec6a37ff4bbc2f81e9e) by Hieu Le. Its MIT notice is in [LICENSE.chat-polish](LICENSE.chat-polish). - Mermaid rendering uses [Pele](https://www.npmjs.com/package/pele).