rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:komoai2026/dsh-kolmopdf
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
@kolmopdf/dsh-kolmopdf)
English | 中文
Official KolmoPDF plugin for DeepSeek Harness (dsh): high-fidelity PDF → Markdown / OCR (preserving formulas, tables, columns, and images), layout-preserving PDF translation (translated-only or side-by-side bilingual PDF), Markdown export to Word (DOCX), PDF, HTML, and LaTeX, credit cost estimation, and balance checks.
| Tool | Capability |
|---|---|
kolmopdf_parse_pdf |
PDF → Markdown / OCR with formulas, tables, multi-column layout, images, optional translation, and enrichment sidecars (outline, summary) |
kolmopdf_translate_pdf |
Layout-preserving PDF translation (translated_only or side_by_side bilingual PDF, with optional image/table translation) |
kolmopdf_convert_markdown |
Convert .md / .markdown / .zip (with images) → DOCX, HTML, PDF, or LaTeX |
kolmopdf_estimate_cost |
Local PDF page-count + balance estimate before running a job (does not spend credits) |
kolmopdf_check_balance |
Query current credit balance for the configured API key |
kolmopdf_get_task_status |
Inspect an existing KolmoPDF task by task_id |
$DSH_HOME/.credentials.yaml under KOLMOPDF_API_KEY; never exposed in settings describe payloads).$DSH_HOME/kolmopdf/tasks.json, newest 200 tasks).KOLMOPDF_API_KEY in the process environment is also supported (read-only on the Settings page when present).>=0.2.0-rc.1 <0.3.0 (dsh.bundle + dsh.client lazy-CJS format)dsh plugin --profile web add @kolmopdf/dsh-kolmopdf
Restart the profile (dsh web) or let HMR apply if enabled.
kolmopdf or @kolmopdf/dsh-kolmopdf in Plugins and click Install.0.2.1+): Enable Custom plugin indexes under Experimental plugins, add an index source (such as https://cdn.jsdelivr.net/npm/dsh-plugin-catalog/index.json), search kolmopdf, and install.dsh plugin --profile web add github:komoai2026/dsh-kolmopdf
This repository ships prebuilt lib/ artifacts and declares dsh.bundle, so dsh plugin add appends @kolmopdf/dsh-kolmopdf to dsh.profile.bundles automatically without running build scripts. Host packages (@deepseek-ai/dsh-tools, @deepseek-ai/dsh-settings, etc.) are declared as optional peerDependencies so they always resolve to the running Harness instance.
dsh plugin --profile web exec kolmopdf -- config set-key
This stores KOLMOPDF_API_KEY inside $DSH_HOME/.credentials.yaml (version: 1, refs.KOLMOPDF_API_KEY) using DSH's file lock and atomic write (0600), so a running DSH picks up the change automatically.
# Pipe from stdin in scripts/CI
printf '%s' "$KOLMOPDF_API_KEY" | dsh plugin --profile web exec kolmopdf -- config set-key
# Check status (never prints the secret)
dsh plugin --profile web exec kolmopdf -- config status
# Print the credentials file path
dsh plugin --profile web exec kolmopdf -- config path
# Remove the stored key
dsh plugin --profile web exec kolmopdf -- config clear-key
export KOLMOPDF_API_KEY=sk-xxxxxxxxxxxxxxxx
dsh web
PowerShell:
$env:KOLMOPDF_API_KEY = 'sk-xxxxxxxxxxxxxxxx'
dsh web
- insert:
- id: kolmopdf
name: '@kolmopdf/dsh-kolmopdf'
config:
outputDir: ./kolmopdf-output
pollIntervalMs: 2000
maxPollMinutes: 30
httpTimeoutMs: 60000
uploadTimeoutMs: 600000
| Field | Default | Notes |
|---|---|---|
apiKey |
unset | Secret override; prefer Settings GUI or CLI .credentials.yaml |
apiKeyEnv |
KOLMOPDF_API_KEY |
Credential reference / environment variable name |
baseUrl |
https://www.kolmopdf.com |
KolmoPDF API origin |
outputDir |
./kolmopdf-output |
Result output directory (relative to DSH cwd) |
pollIntervalMs |
2000 |
Task status polling interval |
maxPollMinutes |
30 |
Maximum polling duration |
httpTimeoutMs |
60000 |
Standard HTTP timeout |
uploadTimeoutMs |
600000 |
File upload / result download timeout |
corepack enable pnpm
pnpm install
pnpm check
pnpm test:host
pnpm test:client
configured / writable state, never the secret value.realpath so output_subdir and symlinks cannot escape outputDir.../ entries (capped at 10,000 entries, 4 GiB uncompressed, 2 GiB download).MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。