DeepSeek Harness Plugin

baihui3311/dsh-aipp

Stars ★ 0 Category Workflow & Automation Added 2026-12-01 npm dsh-plugin-aipp

Publish agents, mini-apps, apps and dashboards generated in DeepSeek Harness sessions as cards, with gallery, categories, publish audit, read-only data-source queries and local folder knowledge base. Companion plugin of M10 Publisher: mounts 14 MCP tools (publish 5 + data/KB 9) via a stdio launcher. No standalone UI; requires a local M10 Publisher installation.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-plugin-aipp

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:baihui3311/dsh-aipp

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

本插件是 M10 Publisher(AI 工作发布台) 的 DSH 伴侣包:把 DSH 会话中生成的智能体、小程序、应用和数据大屏一键发布成卡片,提供发布画廊、分类管理、上架/下线/审计、数据源只读取数、本地文件夹知识库与统计大屏。

本插件提供 14 个 MCP 工具,无独立界面,必须配合 M10 Publisher 使用——MCP 工具实际由 Publisher 提供,未安装 Publisher 时插件可用性为零(launcher 会输出中文引导)。

主要特点

  1. 数据保存在本机,不上传业务数据;数据源口令经 Windows DPAPI(本机当前用户)加密落库;
  2. 零外部依赖,开箱即用;发布组 5 个 MCP 工具 + 数据知识组 9 个工具,dependencies 为空(纯 Node 内置模块);
  3. 发布全生命周期闭环:DSH 会话一句话发布 → 卡片画廊(分类/类型/搜索)→ 发布管理(上架/下线/改分类/批量)→ 全程审计留痕;
  4. 数据与知识双对接:SQL Server / MySQL / PostgreSQL 数据源只读取数、本地文件夹知识库全文检索;
  5. 中英双语切换、Windows 风格多时区、暗色模式、Ctrl+K 命令面板。

前置安装(M10 Publisher,必做)

插件功能由 Publisher 提供,先在任意目录完成 Publisher 安装(不写死盘符):

git clone https://github.com/baihui3311/dsh-aipp.git <安装目录>
cd <安装目录>
powershell -ExecutionPolicy Bypass -File install.ps1

install.ps1 会在 <安装目录> 内创建 .venv、初始化 data\m10agent.db(SQLite + 种子数据)、生成 .env。

插件安装(DSH 宿主)

dsh plugin --profile <name> add <安装目录>

(或按插件市场的安装入口直接安装;cordis.patch.yml 以 node launcher.mjs 拉起 MCP 服务器。)

验证

  1. 启动 Publisher 后端:cd <安装目录>\backend && .venv\Scripts\python.exe -m uvicorn app.main:app --host 127.0.0.1 --port 8000,浏览器打开发布台 http://127.0.0.1:8000/;
  2. 重启 DSH 宿主(或设置环境变量 M10_PUBLISHER_HOME=<安装目录> 后重启);
  3. 新建 DSH 会话,说「列出可发布分类」——走 list_categories 工具返回分类表即安装成功。

技术栈

FastAPI + SQLAlchemy 2.0 + SQLite(WAL)· 无构建依赖的单文件 SPA(DSH token 设计体系)· MCP stdio(launcher.mjs 拉起)· Windows DPAPI。

免责声明

本项目为个人开发、个人维护,不是 DeepSeek 或其他公司的官方产品,与相关公司不存在隶属或授权关系。

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.