Skip to main content

How to use SpecFusion

Integrate cloud API documentation search for DeepSeek Harness, enabling the model to directly search 65,000+ documents across 20 Chinese open platforms without switching browsers to browse official documentation sites.

This article is auto-derived from indexed fields (wiki / faq / compatibility_json), not freshly AI-generated.

This article is derived from the plugin's already-indexed fields (wiki / faq / compatibility_json / readme), not freshly generated by AI. Source field is noted at the end of each section.

Quick start

SpecFusion

— source: plugin_wiki.wiki_content

Install & verify

dsh plugin --profile web add @wxkingstar/specfusion-dsh

Run the command above in your DSH Web Profile. Then enable the plugin in the plugin list.

— source: plugins.install

Key points

  • 不离开终端 — 写代码时直接问,Claude 帮你查文档、给出接口参数和示例
  • 中文搜索准确 — jieba 分词 + FTS5 全文索引,发送应用消息、access_token、40001 都能搜到
  • 零配置 — 云端服务已部署好,安装 Skill 后即可使用,无需自建后端
  • API: Node.js + Fastify + better-sqlite3 + FTS5
  • 中文分词: nodejieba

— source: plugin_wiki.readme_en (fallback readme_raw)

FAQ

Can it be used immediately after installation?

After installation, restart dsh web to reload the profile. No additional configuration needed. By default, it uses the public cloud service at https://specfusion.inagora.org/api.

How do I change the address for a self-hosted instance?

Two ways: set the environment variable export SPECFUSION_BASE_URL="http://your-host:3456/api", or override the baseUrl field in the specfusion-dsh line of the profile's cordis.patch.yml.

What format does the tool return?

All responses return Markdown plain text (Content-Type is text/markdown), not JSON. They can be directly fed to models for reading or rendering.

Can I search error codes directly?

Yes, just pass the error code number (e.g., 60011, 40001) as the search keyword. The tool will match by document ID and body text.

Does it search all platforms by default?

Yes, when no source is provided, it searches all 20 integrated platforms. To limit to a specific platform, pass the source parameter (e.g., wecom, feishu, taobao).

Do I need to distinguish between WeChat Work development modes?

Yes. WeChat Work distinguishes between internal applications (internal), third-party applications (third_party), and service provider development (service_provider). You can filter using the mode parameter, which defaults to no filtering.

— source: plugin_wiki.faq_json

Compatibility

  • DSH: 0.1.0-rc.6+
  • Node: 未声明

— source: plugin_wiki.compatibility_json

Pitfalls

Review the upstream repo before installing. This guide is auto-derived from indexed fields and may lag the latest release. If anything contradicts the official docs, treat the upstream source as authoritative.

— source: general rule