liuke101/dsh-PdfCraft ↗★ 0

dsh-pdfcraft

A PdfCraft panel in DSH's right sidebar, plus the PdfCraft PDF tools for each conversation's agent.

包名
dsh-pdfcraft
兼容性
待验证
版本
0.2.0
许可证
MIT
最近更新
2026年10月22日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:liuke101/dsh-PdfCraft

Every configuration field

Each row validates only its own fields; a field placed on the other row is not read by it.

Web Component (pdfcraft-web)

FieldTypeDefaultWhat it does
webBuildDirstring$DSH_HOME/pdfcraft/web via the bundle patch; the schema default is an empty stringDirectory containing the extracted web build's index.html. An empty or wrong value leaves the component mounted and makes the Panel show the missing-build card naming what to fetch. The web build is never downloaded by the plugin.
openToolbooleantrueRegister the person's /pdfcraft command and the agent's pdfcraft_open tool. Set to false to withdraw both and drop any open request that has not reached the browser yet; an already-open Panel is untouched.
maxDocumentBytesinteger33554432 (32 MiB)Largest Workspace Document the Panel will open or save, in bytes. A larger read or Write-back is refused with a message naming this limit. This does not limit the agent's tools, which use the upstream engine directly.

CLI Component (pdfcraft-cli)

FieldTypeDefaultWhat it does
cliPathstringpdfcraft-cli, resolved through PATHThe pdfcraft-cli executable the agent's engine runs. Use an absolute path to pin a specific release. An empty value falls back to pdfcraft-cli.
staticRootstring"", meaning each conversation's own workspacePin every agent's engine to this absolute directory instead of its conversation's workspace. It must exist; otherwise no engine starts and the warning names the root. This gives up per-conversation isolation; the Panel stays confined to the conversation workspace either way.
compactSurfacebooleantrueOffer the compact agent surface: a small core set of tools plus tool_search and tool_call, which reach every remaining tool. Set to false to expose the full catalogue, at a much higher context cost.

The three fields on each row are that row's whole configuration surface. The bundle patch points the Web row's webBuildDir at the Harness home; if you install the package by some other route, set it explicitly.