DeepSeek Harness Plugin

hg1048596-pixel/dsh-ppt-canvas

Stars ★ 5 Downloads (30d) 2,564 Category UI Enhancements Added 2026-10-19 npm dsh-ppt-canvas

PowerPoint workbench for DeepSeek Harness: drag in a PPTX, annotate objects or regions across slides, review AI changes on the canvas, and confirm one batch with undo and redo.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-ppt-canvas

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:hg1048596-pixel/dsh-ppt-canvas

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README


v1.1.1, for DSH desktop/web profiles. Windows validation uses local Chromium, the real document engine and LibreOffice. Mac input/paths and DSH/AI sessions use simulation; native Mac and live DSH platform compatibility remain unverified.

  • Direct editing: select, move, resize and rotate objects; edit text, align selections and undo with byte snapshots.
  • Annotations across pages: mark objects or regions and send separate instructions with real page images, numbers and coordinates.
  • Review before saving: compare before/after on the original canvas, inspect each result and confirm one batch with one-step undo.
  • Continuous navigation: zoom around the pointer, pan with a trackpad, retain page views and local drafts, and follow light/dark themes.

How it works

Open a .pptx → edit directly or annotate changes → send to a DSH session → inspect the proposal → confirm and save.

Light workbench with page navigation and annotation summaries

Dark workbench

Proposal review on the original canvas

Compact workbench and sidebar editor

Screenshots use the same components and real document engine in a local preview. The review image uses fixed AI simulation, not a live model. Gestures use a lightweight preview; an exact image replaces it when ready. Assess complex theme shadows, charts and mixed text layout in the exact preview.

Installation

Search the plugin market for the npm package dsh-ppt-canvas, or install/update through the official CLI:

dsh plugin --profile desktop add dsh-ppt-canvas@1.1.1

Use web instead of desktop for DSH Web, then restart that DSH profile. Prepare Node.js 22+ and LibreOffice. Exact previews and images sent to AI require LibreOffice; the selected model must accept image input. The plugin has no additional npm runtime dependencies.

See the development guide for source installation and diagnostics.

Use from DSH

  1. Click PPT Canvas in the sidebar footer, or drop one .pptx on its entry, minimized launcher or workbench. Alternatively, choose More → Open local presentation.
  2. Click to select; double-click, Enter or F2 to edit text. Drag handles to resize, or use properties to adjust position and style. Manual edits save directly.
  3. Press A to mark an object or region and enter its instructions. Continue on other pages. Enter adds a line; Ctrl/⌘ + Enter finishes the note without sending it. One editor moves into the sidebar when the viewport is narrow or space is insufficient, preserving text selection.
  4. Select notes in the sidebar and send the batch. Check Before/After and Previous/Next change, then confirm the batch. Generating or discarding a proposal does not write the deck.
  5. Choose Return to DSH in the top-right corner to collapse the workbench. With focus on the canvas, Esc dismisses the current interaction or selection first. Reopen the workbench to resume editing.

The title bar identifies the save destination. Choose More → Export saved PPTX to download the edited copy, or export annotation drafts and completed rounds as JSON. After restarting, Continue last presentation reopens the saved file and its local drafts.

Action Shortcut
Select / annotate / hand V / A / H
Add to selection Shift or Ctrl/⌘ + click
Finish editing / cancel Ctrl/⌘ + Enter / Esc
Undo / redo Ctrl/⌘ + Z / Ctrl/⌘ + Shift + Z
Zoom / pan Ctrl/⌘ + wheel; two-finger scroll, Space + drag or middle button

Files and limits: .pptx only, 80 MiB per file, one open deck. A real local path opens the original file for editing. When the browser provides only file contents, a persistent imported copy is opened and labeled in the title bar. Copies default to ~/.dsh/ppt-canvas/imports/; DSH_PPT_DATA_ROOT overrides the data root.

Batches normally allow 4 pages, subject to lower host image limits. Limits, unsupported changes, conflicts and invalid anchors are reported without deleting drafts. Drafts and the latest 30 batch records stay in this device's localStorage, not cloud sync or native PPT comments. Undo retains up to 50 steps. This edits existing decks; it does not provide full-deck generation from themes/outlines, new pages or local image insertion. See the protocol and capability limits.

Documentation

Detailed technical documentation is currently in Chinese.

Development

npm ci
npm run build
npm test
npm run preview

Requires local Chromium and LibreOffice. The preview edits a disposable deck with fixed AI simulation; the plugin uses DSH sessions. All 387 checks passed with zero skips for 1.1.1, including narrow-window exit, failed-save recovery, PPTX downloads and annotation recovery.

Report an issue · MIT License

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.