deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:kw78/dsh-office-tools
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
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 |
The plugin follows the standard DSH host-plugin contract:
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 projection.execute(args, exec) resolves every path against exec.agent.session.header.cwd; relative paths stay in the session workspace and absolute paths are accepted only when still inside it. A realpath check on the nearest existing ancestor closes the symlink escape hatch..png/.jpg/.jpeg/.gif, 20 MiB each); explicit inch coordinates x/y/w/h are supported, or omit them for automatic placement below the text.rename; overwrite defaults to false.pnpm install
pnpm run check # typecheck + tests + build
Artifacts: lib/index.js (ESM host bundle with Office libraries inlined; @deepseek-ai/* and cordis stay external) and lib/types/**/*.d.ts.
# npm (recommended)
dsh plugin --profile web add dsh-office-tools
# GitHub source
dsh plugin --profile web add github:kw78/dsh-office-tools
# local checkout
dsh plugin --profile web add /path/to/dsh-office-tools
Restart the DSH server after installation. The seven tools appear in the next prompt assembly.
dsh, dsh-plugin, deepseek-harness, office.truncated.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。