staff-os/dsh-dify

staff-os★ 0TypeScript最后同步: 2026-08-19

在 GitHub 打开

Dify agent and knowledge-base capability for the DeepSeek Harness

README 摘要

dsh-dify English 中文 Dify agent and knowledge-base capability for the DeepSeek Harness. It gives the agent two tools — dify chat that calls a Dify agent app, and dify retrieve that queries a Dify knowledge base (dataset) for relevant chunks. Design The package follows the Harness three-role capability pattern: one seam, one provider, one consumer — shipped as one package with four plugin entry points (the fourth is the configuration page over the same values), so a profile can override, replace, or drop any single role without touching the others. Role Module Plugin name Responsibility Service Definition src/index.ts @deepseek-ai/dsh-dify Owns ctx.dify : provider registry, order-independent selection Service Provider src/http.ts @deepseek-ai/dsh-dify/http Calls Dify Service API ( /chat-messages , /datasets/{id}/retrieve ), resolves credentials, normalizes results Consumer src/tool.ts @deepseek-ai/dsh-dify/tool The model-facing tools: dify chat , dify retrieve — schema, prompt guidance, presentation Consumer src/config.ts @deepseek-ai/dsh-dify/config The person-facing configuration page over the same settings and credential seams The provider and the consumer depend only on the Servi…

在 GitHub 查看完整 README →
Agent/智能体deepseek-harnessdifydsh-pluginagent

分类