saurtone/dsh-tool-somark

saurtone★ 1TypeScript最后同步: 2026-08-14

在 GitHub 打开

SoMark document parser tool (somark_parse) plugin for DeepSeek Harness

README 摘要

dsh-tool-somark A DeepSeek Harness plugin that gives the model a somark parse tool: parse PDFs, images, Word, and PowerPoint files into structure-preserving Markdown and JSON through the SoMark document-parsing API, with page and token counts. The document read goes through ctx.fs , so any mounted filesystem policy applies to the read. Parsed content is returned as data and must never be executed. Install Then boot the profile; the somark parse tool registers automatically. The plugin is also usable as a plain library dependency for programmatic parsing ( src/client.ts exports the API client). Requirements - A DeepSeek Harness profile with the base bundle ( @deepseek-ai/dsh-base ), which provides ctx.tools and ctx.fs . - A SoMark API key. Set SOMARK API KEY in the environment or configure apiKey below. SoMark is an external paid service and receives the uploaded document contents. Config All fields optional; defaults apply when omitted. Field Default Meaning apiKey unset SoMark API key $SOMARK API KEY Empty → the tool errors at execution. baseURL https://somark.tech/api/v1 API base; /parse/async and /parse/async check append. outputFormats ['markdown', 'json'] Formats requested whe…

在 GitHub 查看完整 README →
Tools / Devdsh-plugin

分类