← 返回列表
D

@geml/dsh-plugin

v1.0.0 · 1 天前发布

Agent-Native document handling for DSH — addressable blocks let an agent read and edit one section instead of the whole file. Ships the geml MCP server and the authoring and code-graph skills.

dsh-plugindshdeepseek-harnessgemlmcpdocumentscodemap

README

@geml/dsh-plugin — DeepSeek Harness 上的 GEML

English | 中文

本插件为 harness 提供 Agent-Native 的文档处理能力。多轮交互最容易被 Token
膨胀拖垮——整篇读进来、整篇写回去,内容越滚越臃肿,也越来越偏离事实。
GEML 把文档呈现为可寻址的块,让 LLM
能精准理解与改写:取一个小节、写回一个小节,Token 只需零头,宝贵的上下文窗口
留给真正的工作。内建的引用机制维持**单一数据源(Single Source of
Truth)**,事实不再散落成互相漂移的副本,Agent 可以零负担地读写与维护。

这个 bundle 带三样东西:

  • GEML MCP server —— 一行 @deepseek-ai/dsh-mcp-client,运行

  • npx -y @geml/geml mcp --root .,限定在会话自己的项目目录内。模型看到的是
    mcp__geml__geml_getmcp__geml__geml_setmcp__geml__geml_check 等工具,
    于是一次改一个块,而不是重写整个文件。
  • 写作技能skills/geml/)—— 黄金规则、校验闭环,以及一份分节的参考文档

  • references/authoring.geml),Agent 按需取其中一节。
  • 代码图谱技能skills/geml-code-graph/)—— 构建、查看、更新和浏览项目的

  • 调用图:谁调用了 X、X 调用了谁、影响路径,并在浏览器里渲染出图。

    这个 bundle 自身不

    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    @geml/dsh-plugin
    Repo
    git+https://github.com/geml-spec/geml.git
    Engines
    {}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}