{"versions":{"0.1.0":{"name":"dsh-slides","version":"0.1.0","description":"Turn a structured outline into a presentation for DeepSeek Harness (dsh): one self-contained HTML deck that opens in any browser, presents offline, shows speaker notes, and prints to PDF. Five committed themes.","type":"module","license":"MIT","author":{"name":"ai4scholar"},"homepage":"https://ai4scholar.net?src=dsh","repository":{"type":"git","url":"git+https://github.com/literaf/dsh-slides.git"},"bugs":{"url":"https://github.com/literaf/dsh-slides/issues"},"main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"sideEffects":false,"keywords":["dsh-plugin","deepseek-harness","dsh","slides","presentation","deck","html-slides"],"engines":{"node":">=22.19.0"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"peerDependencies":{"@deepseek-ai/cordis":">=4.0.1","@deepseek-ai/dsh-fs":">=0.1.0-rc.6","@deepseek-ai/dsh-system-prompt":">=0.1.0-rc.6","@deepseek-ai/dsh-tools":">=0.1.0-rc.6","@deepseek-ai/schemastery":">=3.18.1"},"devDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-fs":"0.1.0-rc.6","@deepseek-ai/dsh-system-prompt":"0.1.0-rc.6","@deepseek-ai/dsh-tools":"0.1.0-rc.6","@deepseek-ai/schemastery":"3.18.1","@types/node":"^22.20.0","typescript":"^5.9.0","vitest":"^4.1.8"},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf lib","typecheck":"tsc -p tsconfig.json","pretest":"pnpm run build","test":"vitest run"},"_id":"dsh-slides@0.1.0","_integrity":"sha512-Jz3ukMIBGRrnG9qj71dbLyGbWpJSQZkH+OV1RM5wyu1K0PUJAVoxMhD2IDFFq5o9GAtAmQHTkLsAtRy5cixQ8A==","_resolved":"/private/var/folders/6x/gp6n_kpj1fq_7r2kc8lvl2s00000gn/T/c9dd3478fb2d4cb21997ca13987d1655/dsh-slides-0.1.0.tgz","_from":"file:dsh-slides-0.1.0.tgz","_nodeVersion":"24.5.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-Jz3ukMIBGRrnG9qj71dbLyGbWpJSQZkH+OV1RM5wyu1K0PUJAVoxMhD2IDFFq5o9GAtAmQHTkLsAtRy5cixQ8A==","shasum":"73a45eeeacb0f20d5ff81c4d594b9e9e2b041dca","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-slides/-/dsh-slides-0.1.0.tgz","fileCount":17,"unpackedSize":51130,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID1at8U8XkR9HTnmrza4SSLIrvowsmuWlWC1eSBDRQtzAiApKd6t3Gk011J/DFO7tzXcXrivKi3L+0a+VbJItneldg=="}],"size":18404},"_npmUser":{"name":"anonymous","email":"literaf@proton.me"},"directories":{},"maintainers":[{"name":"anonymous","email":"literaf@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-slides_0.1.0_1786928645353_0.8980213290447754"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-17T01:04:05.495Z","publish_time":1786928645495,"_source_registry_name":"default","contributors":[]},"0.2.0":{"name":"dsh-slides","version":"0.2.0","description":"Turn a structured outline into a presentation for DeepSeek Harness (dsh): a self-contained HTML deck that presents offline with speaker notes and prints to PDF, plus optional editable .pptx export. Five committed themes.","type":"module","license":"MIT","author":{"name":"ai4scholar"},"homepage":"https://ai4scholar.net?src=dsh","repository":{"type":"git","url":"git+https://github.com/literaf/dsh-slides.git"},"bugs":{"url":"https://github.com/literaf/dsh-slides/issues"},"main":"./lib/index.js","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"sideEffects":false,"keywords":["dsh-plugin","deepseek-harness","dsh","slides","presentation","deck","html-slides"],"engines":{"node":">=22.19.0"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"peerDependencies":{"@deepseek-ai/cordis":">=4.0.1","@deepseek-ai/dsh-fs":">=0.1.0-rc.6","@deepseek-ai/dsh-system-prompt":">=0.1.0-rc.6","@deepseek-ai/dsh-tools":">=0.1.0-rc.6","@deepseek-ai/schemastery":">=3.18.1"},"devDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-fs":"0.1.0-rc.6","@deepseek-ai/dsh-system-prompt":"0.1.0-rc.6","@deepseek-ai/dsh-tools":"0.1.0-rc.6","@deepseek-ai/schemastery":"3.18.1","@types/node":"^22.20.0","typescript":"^5.9.0","vitest":"^4.1.8"},"dependencies":{"pptxgenjs":"^4.0.1"},"scripts":{"build":"tsc -p tsconfig.build.json","clean":"rm -rf lib","typecheck":"tsc -p tsconfig.json","pretest":"pnpm run build","test":"vitest run"},"_id":"dsh-slides@0.2.0","_integrity":"sha512-H6+UslbtrBkxyxkPh8lrRAbDw12rC78Am0mponazAfwrOKStJ9RvWX/pLsa/78hwpfMDMZo9FbpJG6dwsRD1eA==","_resolved":"/private/var/folders/6x/gp6n_kpj1fq_7r2kc8lvl2s00000gn/T/7502cfec4ada65162f7ee2b4bbca727a/dsh-slides-0.2.0.tgz","_from":"file:dsh-slides-0.2.0.tgz","_nodeVersion":"24.5.0","_npmVersion":"11.5.1","dist":{"integrity":"sha512-H6+UslbtrBkxyxkPh8lrRAbDw12rC78Am0mponazAfwrOKStJ9RvWX/pLsa/78hwpfMDMZo9FbpJG6dwsRD1eA==","shasum":"6150fc36008ce1e292d74cc66e95b688b0d6deb5","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/dsh-slides/-/dsh-slides-0.2.0.tgz","fileCount":19,"unpackedSize":68678,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF4DMnhw47e0wizXaL4JiSAgj6akPp/f7IlthDi3TksFAiAzB3fgpZk3j5aATgN+3BlGeehM2rq8EJo7rbEyJBn8Qw=="}],"size":23500},"_npmUser":{"name":"anonymous","email":"literaf@proton.me"},"directories":{},"maintainers":[{"name":"anonymous","email":"literaf@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-slides_0.2.0_1786929370525_0.3999401226334409"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-08-17T01:16:10.653Z","publish_time":1786929370653,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.2.0"},"name":"dsh-slides","time":{"created":"2026-08-17T01:04:23.340Z","modified":"2026-08-17T01:16:16.174Z","0.1.0":"2026-08-17T01:04:05.495Z","0.2.0":"2026-08-17T01:16:10.653Z"},"readme":"<p align=\"center\"><strong>dsh-slides</strong></p>\n\n# Slides for DeepSeek Harness\n\nEnglish | [中文](README_CN.md)\n\n[![npm](https://img.shields.io/npm/v/dsh-slides?label=npm)](https://www.npmjs.com/package/dsh-slides) [![CI](https://github.com/literaf/dsh-slides/actions/workflows/ci.yml/badge.svg)](https://github.com/literaf/dsh-slides/actions/workflows/ci.yml) [![dsh-plugin](https://img.shields.io/badge/topic-dsh--plugin-blue)](https://github.com/topics/dsh-plugin) ![license](https://img.shields.io/badge/license-MIT-green)\n\nGive the agent a `make_slides` tool and it writes a talk to **one self-contained HTML file** — opens in any browser, presents fullscreen, keeps your speaker notes off the screen, and prints to PDF with Ctrl+P. Ask for `formats: [\"html\", \"pptx\"]` and it writes an editable PowerPoint file alongside it, speaker notes included.\n\nThe file loads nothing at presentation time. No CDN, no webfont, no image host. A deck that needs the network is a deck that can fail in the room you are presenting in.\n\n![A slide rendered in the ink theme](assets/theme-ink.png)\n\n## Install\n\n```sh\ndsh plugin --profile web add dsh-slides\ndsh web\n```\n\nThen just ask: *\"turn these results into a 10-minute talk\"*.\n\n## What the agent gets\n\nOne tool, `make_slides`, taking a deck as structured data rather than markdown the user has to convert:\n\n| Layout | Holds |\n|---|---|\n| `title` | Deck title, subtitle, presenter. Generated for you from the deck fields — do not write one |\n| `section` | A divider between parts of the talk |\n| `bullets` | A claim as the heading, points beneath it, optionally a figure alongside |\n| `image` | A figure with a caption, filling the slide |\n| `quote` | A pulled quote with an attribution |\n\nOmit `layout` and it is inferred from the fields you filled in.\n\nEvery slide takes `notes` — the speaker notes. They never appear on the slide; the presenter reveals them with `S` during the talk. This is the point of the tool: the claim goes on the slide, the talking goes in the notes, and the agent is told so in its guidance.\n\nBullets support `**bold**`, `*italic*` and `` `code` ``. Everything is escaped before formatting is applied, so content can never inject markup into the deck.\n\n## Formats\n\n`formats` defaults to `[\"html\"]`. Add `\"pptx\"` when the deck has to be edited by a co-author or uploaded to a conference system:\n\n| | HTML | PPTX |\n|---|---|---|\n| Presents offline | Yes, nothing is fetched | Yes |\n| Speaker notes | `S` during the talk | In PowerPoint's notes pane |\n| Prints to PDF | Ctrl+P, one slide per page | Through PowerPoint |\n| Editable by a co-author | Not really | Yes |\n| Images | Embed as `data:` URIs to stay self-contained | `data:` URIs are embedded; URLs stay links |\n\nBoth come from the same deck and the same inline-markup parse, so they cannot drift apart.\n\n## Presenting\n\n| Key | |\n|---|---|\n| `→` `←` `Space` | Next / previous slide |\n| `S` | Show and hide speaker notes |\n| `F` | Fullscreen |\n| `Home` `End` | First / last slide |\n| `Ctrl+P` | Print — one slide per page, chrome hidden, straight to PDF |\n\nClicking works too: the left third goes back, the rest goes forward. The URL carries the slide number, so a link can point at a specific slide.\n\n## Themes\n\nFive finished looks rather than a knob per property. Pick one; do not assemble one.\n\n| Theme | |\n|---|---|\n| `plain` | White ground, sans-serif, thin accent rules. The default; disappears behind the content |\n| `ink` | Warm paper ground with a serif face. Reads like a printed paper; suits a seminar or a defense |\n| `midnight` | Deep blue ground, light type. Holds up in a bright room where a white deck washes out |\n| `slate` | Neutral greys, no colour accent. For decks whose figures carry all the colour |\n| `sunrise` | Off-white ground with a warm accent. A lighter register for a talk meant to persuade |\n\n<p align=\"center\">\n  <img src=\"assets/theme-plain.png\" width=\"48%\" alt=\"plain theme\">\n  <img src=\"assets/theme-midnight.png\" width=\"48%\" alt=\"midnight theme\"><br>\n  <img src=\"assets/theme-slate.png\" width=\"48%\" alt=\"slate theme\">\n  <img src=\"assets/theme-sunrise.png\" width=\"48%\" alt=\"sunrise theme\">\n</p>\n\nFont stacks name system faces only, for the same reason the deck loads nothing else.\n\n## Configuration\n\nThe bundle inserts one row (`id: slides`). Override it from your profile's `cordis.patch.yml` (a patch replaces the whole `config`, so restate every key you keep):\n\n```yaml\n- id: slides\n  config:\n    outputDir: slides/       # where decks are written, relative to the workspace\n    defaultTheme: plain      # plain | ink | midnight | slate | sunrise\n    promptGuidance: true     # register the deck-writing guidance\n    promptOrder: 150\n```\n\n## Notes\n\n- Decks are written through `ctx.fs`, so a sandboxing filesystem backend fences the write like any other tool. The tool is therefore registered **only where a filesystem provider is composed** — with none, neither the tool nor its guidance appears, instead of offering a call that always fails.\n- `ctx.fs` exposes text writes only, and a sandboxing backend fences exactly those. So the pptx write asks for the path through the sanctioned `writeText` first: the backend applies its real policy and refuses with `FS_SANDBOX_DENIED` before any bytes exist, and only a path it allowed is then filled in. Resolving a path and writing to it directly would go around the fence, because `resolve` is not one of the fenced operations.\n- Images are yours to supply. A `data:` URI keeps the deck self-contained; an `https` URL works but makes the deck depend on that host at presentation time.\n- This package renders decks and knows nothing about where the content came from. Packages that do — `dsh-paper-slides` for academic talks — compose beside it and drive `make_slides`.\n\n## Known limitations\n\n- **No incremental reveal.** A slide appears whole. Builds and transitions are the kind of thing that reads as generated when an agent picks them.\n- **The pptx is a clean deck, not a designed one.** It carries your content, theme colours, fonts, bullets and notes into PowerPoint; it does not reproduce the HTML deck pixel for pixel, and it uses no master slides or animations.\n\n## License\n\nMIT","users":{}}