bauerelizabeth07139/dsh-plugin-dxpdf ↗★ 0

dsh-plugin-dxpdf

DeepSeek Harness plugin exposing dxpdf_convert: convert a Microsoft Word DOCX file to PDF with the dxpdf Rust/Skia engine — no Microsoft Office, no LibreOffice, no network. It repairs the schema-invalid constructs WPS Office writes, lowers the equations the engine would silently drop, and restores Word's odd/even page parity. 适合需要在本地快速、高质量转换DOCX文件的用户。

패키지
dsh-plugin-dxpdf
호환성
미검증
Harness peer 범위
>=0.1.5-rc.1 <0.2.0-0 || >=0.2.0-rc.0 <0.3.0-0
Cordis peer 범위
>=4.0.2
버전
1.3.0
라이선스
MIT
최근 업데이트
2026. 10. 6.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bauerelizabeth07139/dsh-plugin-dxpdf

Configuration

Every field is optional; the row in cordis.patch.yml needs no config block. To override a default, add one:

- insert:
    - id: dsh-plugin-dxpdf
      name: 'dsh-plugin-dxpdf'
      config:
        timeoutMs: 300000
        pythonPath: 'C:\Python312\python.exe'
        cliPath: 'C:\Python312\Scripts\dxpdf_cli.py'
        duplicatePolicy: first
        announcePolicy: true
FieldDefaultMeaning
timeoutMs120000Wall-clock budget for one conversion.
paginateTimeoutMs2700000Budget for the pagination pass, which runs the engine once per parity section. Must exceed roughly 20 s × the section count.
maxPaginateSections48Refuse the pagination pass beyond this many parity breaks, reporting paginationSkipped instead.
matchWordPaginationtrueConverge odd/even section breaks onto Word's pagination. Documents with no such break are detected by a byte scan and cost nothing.
duplicatePolicyfirstWhich occurrence of a repeated property the repair keeps: first or last.
announcePolicytrueWhether to register the standing DOCX-to-PDF system-prompt section.
pythonPathunsetExplicit interpreter, tried first.
cliPathunsetExplicit CLI script, tried first (paired with pythonPath).
executableunsetExplicit dxpdf shim, tried in the cmd.exe row.

The two booleans are disabled only by false; duplicatePolicy is first unless it is exactly last; a non-positive or non-numeric timeout or cap falls back to its default. announcePolicy: false suppresses the standing DOCX→PDF system-prompt section — dxpdf:docx-to-pdf-policy, order 1250 — that makes this plugin the deployment's converter.