dsh-markdownize

DSH PLUGIN记忆与知识

仓库 Gorkaseto/dsh-markdownize

记忆与知识 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

dsh-markdownize 是 Gorkaseto 维护的 记忆与知识 类 DSH 可安装插件, 仓库为 Gorkaseto/dsh-markdownize,许可证 Apache-2.0。 下面按「装什么、怎么装、验没验过、跑起来要注意什么」逐项列出。

一句话选型结论

按资料字段整理

dsh-markdownize 是记忆与知识类的 DSH 可安装插件,验证等级 L5 · 运行验证通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类记忆与知识 收录类型可安装插件 验证等级L5 · 运行验证通过 安全审查低风险
验证等级 L5 L5 · 运行验证通过
GitHub 星标 1 复刻 未标注 · 未关闭 issue 未标注
最近更新 2026-10-24 创建于 未标注
README 7.5 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:Gorkaseto/dsh-markdownize#0.2.0
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

记忆与知识
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

文件读写办公自动化

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L5:安装和运行都在沙盒里跑通过,装完能直接用的概率高。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在记忆与知识场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-markdownize当前 L5 · 运行验证通过 低风险 1 未标注 有
ruflo L3 · 安装规范通过 低风险 7.4 万 未标注 无
OpenViking L3 · 安装规范通过 低风险 3.9 万 未标注 无
WeKnora L4 · 沙盒安装通过 低风险 3.3 万 未标注 有
distilly L4 · 沙盒安装通过 低风险 2.5 万 未标注 有
EverOS L4 · 沙盒安装通过 低风险 1.3 万 未标注 有

仓库档案

记忆与知识
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方Gorkaseto仓库 dsh-markdownize · 默认分支 未标注
分类记忆与知识knowledge
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证Apache-2.0商用或二次分发前请确认条款原文
星标 / 复刻 / issue1 / 未标注 / 未标注收录时的数值,非实时
创建 / 更新未标注 · 2026-10-24最后推送 未标注
本站收录2026-10-30首次进入本站目录的时间

README 全文

7.5 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-markdownize

A DeepSeek Harness (dsh) plugin that converts documents to Markdown so an LLM
can read them.

Models work best with plain text. A PDF, a Word file or a spreadsheet read as
raw bytes is noise to them. Markdown keeps the structure (headings, lists,
tables, slides, pages) while staying compact and easy to read. This plugin
gives the agent a convert_to_markdown tool that does that conversion
locally. You can also preview a conversion yourself before anything is sent
to the model.

What it does

  • convert_to_markdown tool. The model calls it with a local file path
    and gets the document back as Markdown, truncated to max_chars
    (100,000 by default).
  • Two conversion engines. You pick one on the plugin's page:
  • its own engine, a pure-JavaScript port of MarkItDown's offline
    converters, bundled with the plugin and always available;
  • Microsoft MarkItDown (Python), used when it is installed.
  • Images in DOCX and PPTX. Embedded images become [Image N: alt text]
    markers. When the current model accepts images, each image is sent right
    after its marker.
  • Debug mode. Preview the Markdown a file turns into from the web
    composer (Ctrl+Shift+M). Nothing is sent to the model.

Supported formats

Format Own engine (JS) Microsoft MarkItDown
PDF yes (text per page) yes
Word .docx yes yes
PowerPoint .pptx yes (text and notes per slide) yes
Excel .xlsx yes (one table per sheet) yes
HTML / HTM yes yes
CSV / TSV yes (as a table) yes
JSON / XML yes (fenced code block) yes
TXT / MD yes (as is) yes
ZIP yes (each supported file inside) yes
Excel 97 .xls, EPUB, Jupyter .ipynb, Outlook .msg no yes

Conversion engines

Own engine (JavaScript)

convert.js mirrors MarkItDown's offline converters with Node libraries:

  • mammoth for DOCX;
  • exceljs for XLSX;
  • unpdf (pdf.js) for PDF;
  • turndown with GFM tables for HTML;
  • jszip and fast-xml-parser for PPTX and ZIP.

It needs no Python, no network and no child processes. The libraries ship
pre-bundled in vendor/, so the plugin has no runtime npm dependencies. This
matters because dsh installs local plugins as link: dependencies, and pnpm
never installs a linked package's dependencies.

Microsoft MarkItDown

MarkItDown is Microsoft's Python
tool for the same job. It gives the reference output and reads a few more
formats. Install it with:

pip install "markitdown[all]"

The plugin looks for it on PATH as markitdown, py -m markitdown,
python -m markitdown or python3 -m markitdown. If it lives somewhere else,
such as a virtualenv's markitdown.exe, set its command on the plugin's page.
Use double quotes around paths with spaces.

Choosing the engine

Open Plugins → dsh-markdownize. The page shows which engines were found.
When both are available, choose:

  • Automatic (the default): MarkItDown when it is found, otherwise the
    JavaScript engine.
  • Always MarkItDown: conversions fail if it is missing.
  • Always JavaScript.

The choice and the custom command are saved in
/storages/dsh-markdownize/settings.json, together with the image
settings. They apply to both the tool and debug mode. MarkItDown is detected once per Host start; press
Search again after installing it.

Images in documents

The JavaScript engine extracts the images embedded in DOCX and PPTX files
(including those inside a ZIP). Each one leaves a marker where it sat: in the
text for DOCX, after the slide's text for PPTX.

[Image 1: Sales by quarter]
[Image 2]
[Image 3: Company logo — same as image 1]
[Image 4: Vector logo — format not supported]

The plugin's page sets what happens next:

  • Send them to the model when it accepts images (the default). The tool
    checks the current model's declared input modalities, as the harness's
    read_image does. With an image-capable model, each image is stored as an
    attachment and sent right after its marker. With a text-only model, such as
    DeepSeek's, only the markers are sent, followed by a note saying why.
  • Text markers only. Images are never sent.

Most images per conversion (1–50, 10 by default) caps what one call sends,
and never exceeds the harness's own per-message image limit. Images past the
cap keep their marker with a note. The model can also pass
include_images: false to get the markers only; it cannot override the
settings.

Repeated images (a logo on every slide) are sent once. Icons smaller than
32 px on both sides are skipped when they have no alt text. PNG, JPEG, GIF
and WebP are sent; EMF, WMF and TIFF keep a marker only. Debug mode always
shows markers.

MarkItDown does not extract images, so these settings have no effect while
it is the engine in use.

Install

The plugin needs no build step and no Python. For a web profile:

dsh plugin --profile web add ./dsh-markdownize
dsh --profile web --dump-config

The dump should show a # == dsh-markdownize layer. Then start the client:

dsh web

On the desktop profile, add it from the app's plugin manager as a local
folder.

Debug mode (web client)

  1. Attach a compatible file to the composer, or mention one with @.
  2. Press Ctrl+Shift+M.

Each compatible attachment and @file reference is converted on the Host.
@file paths are resolved against the Session's workspace. The full output,
with no truncation, is written to /dsh-markdownize-debug/ and
opened in the right Sidebar preview. A composer notice reports its size, path
and the engine used.

Nothing is sent to the model, and the draft is left as it was. Images and
unsupported formats are skipped.

Limits and safety

  • Only local files: URLs are rejected (use the web tools for those).
  • Files are read with the privileges of the dsh process.
  • Files are capped at 50 MB.
  • ZIPs are capped at 200 entries and 50 MB uncompressed, and nest at most one
    level deep.
  • Tool output is truncated at 100,000 characters by default.

Not covered: OCR of scanned documents, images in PDFs, image captioning
for text-only models, audio transcription, YouTube, Azure Document
Intelligence, and the legacy .doc and .ppt formats.

Structure

  • index.js — the Host half. It registers the convert_to_markdown tool and
    the markdownize service (convert, convertPath, status, configure,
    configureImages, redetect), served through the Gateway's SRC fallback.
  • engine.js — engine selection, MarkItDown detection and invocation, and
    the saved settings.
  • convert.js — the JavaScript engine.
  • images.js — embedded images: markers, model hand-off, and the tool's
    output schema.
  • client.js — the Client half: the engine page under Plugins, the
    debug-mode shortcut, and the en / es / zh UI strings.
  • locale/ — the plugin's localized title and description.
  • cordis.patch.yml — inserts the dsh-markdownize plugin row.
  • vendor/ — the bundled converter libraries (generated; committed).
  • build-vendor.mjs — rebuilds vendor/.

Rebuilding vendor/

After changing a converter's version in devDependencies:

npm install && npm run build

Commit the regenerated vendor/ files: the plugin loads them at runtime.

License

Copyright 2026 gorkaseto. Licensed under the
Apache License, Version 2.0; see NOTICE for the bundled
third-party libraries and their licenses.

常见问题

6 问
答案由本站依据条目字段整理,不引用上游原文
dsh-markdownize 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:Gorkaseto/dsh-markdownize#0.2.0` 即可。

dsh-markdownize 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-markdownize 安全吗?

低风险。

dsh-markdownize 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-markdownize 用的是什么许可证?

上游标注为 Apache-2.0。商用或二次分发前请到仓库确认许可证原文。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

记忆与知识
按星标排序,可作替代方案

ruflo

ruflo

L3 · 安装规范通过 7.4 万 星

OpenViking

OpenViking

面向 DeepSeek Harness 的 OpenViking 记忆与上下文插件:pre-step 自动召回与画像注入、会话捕获、`vik

L3 · 安装规范通过 3.9 万 星

WeKnora

WeKnora

把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己

L4 · 沙盒安装通过 3.3 万 星

distilly

distilly

Distilly — Distill how they think into reusable Skills for any Agent o

L4 · 沙盒安装通过 2.5 万 星

EverOS

EverOS

L4 · 沙盒安装通过 1.3 万 星

MemOS

MemOS

L4 · 沙盒安装通过 1.2 万 星

Gorkaseto 的其它插件

4 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。