kw78/dsh-office-tools
kw78★ 1TypeScriptLast synced: 2026-08-15
Model-facing Office tools for DeepSeek Harness: Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) create/read/update with workspace-safe paths and PPT image embedding.
README excerpt
dsh-office-tools Seven model-facing Office file tools for DeepSeek Harness, running entirely in the plugin host half. Install: dsh plugin --profile web add github:kw78/dsh-office-tools Tool Purpose Library word create Create .docx (title, paragraphs, bullets, one table) docx word read Extract plain text from .docx mammoth excel create Create a multi-sheet .xlsx from scalar cell grids SheetJS ( xlsx ) excel read Read one or all sheets as scalar rows SheetJS excel update Replace/create whole sheets, or write cells by A1 address SheetJS ppt create Create a 16:9 .pptx (title slide, titles, paragraphs, bullets, notes, PNG/JPG/GIF images) pptxgenjs ppt read Extract per-slide paragraph text, speaker notes, and image counts jszip Harness integration The plugin follows the standard DSH host-plugin contract: - It exports name / inject / apply ; inject = ['tools'] is its only runtime service dependency ( @deepseek-ai/dsh-tools ). - apply(ctx) wraps every ctx.tools.register(defineTool({...})) in ctx.effect(...) so Cordis disposes the registrations with the plugin fiber. - defineTool declares model-visible parameters , a validated canonical output.schema , and a pure output.render text projecti…
View full README on GitHub →