{"id":"pele","repo":"sojuhub/paseo-plugin-pele","url":"https://github.com/sojuhub/paseo-plugin-pele","package":"paseo-plugin-pele","npm":{"package":"paseo-plugin-pele","version":"0.1.0","integrity":"sha512-uEugHkiTNQT/boC8i5FdbmCGrVCorZ9hvAqxjDFXFIHGOYMRNx9bcXmZ9t2aOTyUdteh59jNNYrj1/FpOJXXqw==","publishedAt":"2026-10-20T16:40:05.875Z","downloadsLast30Days":0},"name":"pele","description":"Render Mermaid and Pele code blocks as interactive SVG inside Paseo chat.","categories":["productivity"],"platforms":[],"caveats":["Requires Paseo 0.11.4 or later and its web client; native mobile rendering is not enabled.","Pele has its own Mermaid syntax coverage and layout; it is not pixel-identical to Mermaid.","Mixed Gen-UI and diagram blocks may be claimed by another timeline transformer; use separate messages.","Surrounding Markdown uses a limited renderer; built-in file previews and all tool-output widgets are not replaced."],"images":["https://raw.githubusercontent.com/sojuhub/paseo-plugin-pele/6c613ea7c6e4254a4e52c5b2a86a2c780ca90ba5/images/preview.png"],"themes":[],"health":{"manifestValid":true,"hasReadme":true,"hasLicense":true,"hasTests":true,"hasTypecheckScript":true,"updatedRecently":true},"scannedAt":"2026-10-20T16:50:52.512Z","addedAt":"2026-10-20T16:47:19Z","npmSecurity":{"status":"passed","blockingFindings":0,"advisoryFindings":0,"scannedAt":"2026-10-20T16:50:31.393Z","version":"0.1.0","integrity":"sha512-uEugHkiTNQT/boC8i5FdbmCGrVCorZ9hvAqxjDFXFIHGOYMRNx9bcXmZ9t2aOTyUdteh59jNNYrj1/FpOJXXqw=="},"version":"0.1.0","security":{"status":"passed","blockingFindings":0,"advisoryFindings":0,"scannedAt":"2026-10-20T16:50:31.393Z","commit":"6c613ea7c6e4254a4e52c5b2a86a2c780ca90ba5"},"author":"sojuhub","license":"MIT","paseoVersionRequirement":">=0.11.4","descriptionNodes":[{"type":"text","text":"Render Mermaid and Pele code blocks as interactive SVG inside Paseo chat."}],"caveatNodes":[[{"type":"text","text":"Requires Paseo 0.11.4 or later and its web client; native mobile rendering is not enabled."}],[{"type":"text","text":"Pele has its own Mermaid syntax coverage and layout; it is not pixel-identical to Mermaid."}],[{"type":"text","text":"Mixed Gen-UI and diagram blocks may be claimed by another timeline transformer; use separate messages."}],[{"type":"text","text":"Surrounding Markdown uses a limited renderer; built-in file previews and all tool-output widgets are not replaced."}]],"manifest":{"id":"pele","name":"Pele","media":["images/preview.png"],"requirements":{"paseo":">=0.11.4"},"description":"Render Mermaid and Pele code blocks as interactive SVG inside Paseo chat.","build":[["npm","ci","--omit=dev","--ignore-scripts"]]},"repoMeta":{"stars":0,"defaultBranch":"main","pushedAt":"2026-10-20T16:04:50Z"},"owner":{"login":"sojuhub","avatarUrl":"https://avatars.githubusercontent.com/u/237377310?v=4"},"installNotesHtml":"<pre><code class=\"language-sh\">paseo plugin add git:sojuhub/paseo-plugin-pele\n</code></pre>\n<p>Requires npm on the daemon host. Installation uses the committed dependency lock\nand disables dependency lifecycle scripts.</p>\n<p>For local development:</p>\n<pre><code class=\"language-sh\">git clone https://github.com/sojuhub/paseo-plugin-pele.git\ncd paseo-plugin-pele\nnpm ci --ignore-scripts\nbun run check\npaseo plugin install \"$PWD\"\n</code></pre>\n<p>Enable plugins in Paseo's settings first. After source changes use\n<code>paseo plugin reload pele</code>; no daemon restart is necessary.</p>\n<p>Tested with Paseo 0.11.4 on Mac's web client. The desktop app uses the web\nrendering path. Native iOS/Android chat is left to Paseo's original renderer.</p>","readmeText":"# Pele for Paseo\n\nRenders `mermaid` and `pele` fenced blocks directly inside Paseo chat as live SVG.\nIt uses Pele 1.7.0 locally in the client, without generating PNGs or calling a\nrendering service. Existing chat history uses the renderer too.\n\n## Install\n\n```sh\npaseo plugin add git:sojuhub/paseo-plugin-pele\n```\n\nRequires npm on the daemon host. Installation uses the committed dependency lock\nand disables dependency lifecycle scripts.\n\nFor local development:\n\n```sh\ngit clone https://github.com/sojuhub/paseo-plugin-pele.git\ncd paseo-plugin-pele\nnpm ci --ignore-scripts\nbun run check\npaseo plugin install \"$PWD\"\n```\n\nEnable plugins in Paseo's settings first. After source changes use\n`paseo plugin reload pele`; no daemon restart is necessary.\n\nTested with Paseo 0.11.4 on Mac's web client. The desktop app uses the web\nrendering path. Native iOS/Android chat is left to Paseo's original renderer.\n\n## Use\n\nAsk an agent to produce a Mermaid diagram, or send one yourself:\n\n````md\n```mermaid\nflowchart LR\n A[Order received] --> B[Delivered]\n```\n````\n\nThe diagram toolbar matches Paseo 0.11.4's built-in Mermaid controls: icon-only\n**Zoom in**, **Zoom out**, **Reset view**, **View source** and **Fullscreen**,\nin that order at the top right. Desktop controls appear on hover or keyboard\nfocus; compact/touch controls stay reachable. The same Lucide icons use 20 px\nbuttons / 14 px glyphs on desktop and 32 px / 18 px on compact layouts.\nTooltips and accessible names are English; button text and the percentage row\nare removed. Source view provides **View diagram** and an icon for **Copy code**.\n\nFullscreen fills the browser viewport and has zoom/reset/close icons. Escape\ncloses it. Inline Ctrl/Command-wheel zoom, fullscreen wheel zoom, drag and\nkeyboard controls remain available; double-click restores the fitted view.\nThe source remains Pele SVG, so diagram layout and gesture implementation are\nnot a byte-for-byte copy of Mermaid. Multiple diagrams and surrounding Markdown\nare retained, and incomplete streaming input remains recoverable.\n\nThe **Pele** sidebar is a paste-and-preview editor. `/pele path/to/file.md`\nopens it with the current workspace and path; press **Load**. The workspace\npanel and Command Center also expose Pele. Files are read-only, limited to\n200 KB and `.md`, `.markdown`, `.mmd`, `.mermaid` paths inside that workspace.\nSee [example.md](example.md).\n\n## Compatibility and boundaries\n\n- Pele supports the diagram families listed in its\n  [compatibility guide](https://pele.run/compatibility), with its own layout and\n  syntax differences. It is not a pixel-identical Mermaid engine.\n- Paseo 0.11.4 applies the **first matching timeline transformer** to a whole\n  message. In the current setup, a response mixing Gen-UI `ui`/`app` blocks and\n  diagrams is claimed by Gen-UI; its diagram text is not rendered by Pele.\n  Separate those into different messages. Neither plugin is disabled or modified.\n- The plugin cannot replace Paseo's built-in Markdown file preview or every\n  tool-output widget. Use its file panel for Pele preview.\n- Surrounding prose uses a small Markdown renderer. It preserves text, tables,\n  lists, safe web/mail links and ordinary code; host-specific file-link actions,\n  image previews and advanced Markdown extensions are not replicated.\n- The browser-only component is intentionally guarded by `Platform.OS === \"web\"`.\n  It uses a DOM container because SDK 0.11.4 has no arbitrary SVG component.\n  Native mobile clients do not run its chat transformers.\n- Diagram image loading and clickable links are disabled. Labels are escaped by\n  Pele; source length, output length and edge counts are bounded. File access\n  resolves symlinks and rejects paths outside the workspace. No credentials,\n  transcript collection, persistence or background jobs are added.\n\n## Verification\n\n`bun run check` runs TypeScript plus parser, Markdown, file-boundary and actual\nPele rendering tests. The 33 diagram-family fixtures are smoke tests, not an\nexhaustive guarantee for every Mermaid construct.\n\nActual local Paseo browser checks covered two inline assistant diagrams, user\ndiagrams, zoom/pan/fit, expanded view, source view/copy, invalid-input recovery,\nlight/dark themes, 390 px layout, slash command and a workspace Markdown file\ncontaining prose, a table and two diagrams.\n\nReal native-mobile rendering, every Mermaid syntax variant, every other\ntimeline-transforming plugin combination and packaged Electron UI were not\nseparately tested.\n\n## Preview\n\n![Pele preview with icon controls](images/preview.png)\n\n## License\n\nMIT. Rendering uses [Pele](https://pele.run/) and Markdown parsing uses Marked.\n"}