dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
English | 简体中文
Discover. Verify. Install with confidence.
面向 DeepSeek Harness 生态的可信插件注册、发现与安装平台。
🌐 https://dsh-plugin.market
本项目面向 DeepSeek Harness 生态。DeepSeek Harness 本身处于 Developer Preview,插件规范和兼容性规则可能快速变化,本项目的扫描规则会随之演进。
DeepSeek Harness 的核心理念是 Everything is a Plugin。官方目前通过 GitHub dsh-plugin Topic 帮助社区发现插件。
但 GitHub Topic 只能回答:
“哪些仓库声称自己与 DSH Plugin 有关?”
它不能回答用户安装前更重要的问题:
prepare / postinstall 等脚本?DSH Plugin Market 不只是 GitHub Topic 的展示层,而是把候选仓库转换为结构化、可验证、可追溯的 Plugin Registry。
持续从 GitHub 等公开来源发现 DSH 插件候选仓库,而不是依赖人工维护一份静态清单。
自动分析插件结构,包括:
package.jsondsh.bundle.patchcordis.patch.yml候选仓库通过明确的生命周期逐步升级:
Candidate
↓
Detected
↓
Format Verified
↓
Featured (curated)为每个插件生成独立的 Trust Profile:
Format Verification
Compatibility
Security Scan
Maintenance
Publisher Trust例如:
✓ Format Verified
✓ Compatible with current DSH baseline
⚠ prepare script detected
✓ Active maintenance
○ Publisher not verified扫描结果绑定具体 commit SHA。对于 GitHub 安装,优先推荐安装已扫描的 commit:
dsh plugin --profile web add github:owner/repo#<scanned_commit_sha>这样用户实际安装的代码,可以和市场展示的扫描结果一一对应。
这是本项目最重要的设计原则之一:
Format Verified ≠ Safe
Format Verified 只表示仓库符合当前 Scanner 所理解的 DSH Plugin / Bundle 结构规则。
安全相关信息独立展示,包括:
即使 Security Scan 没有发现高风险信号,也不代表第三方插件绝对安全。
DeepSeek Harness 支持直接从 GitHub 安装插件:
dsh plugin --profile web add github:owner/repo对于需要构建的 Git dependency,作者可能通过 prepare 脚本生成产物。允许该脚本意味着第三方代码会在安装阶段执行。
因此 DSH Plugin Market 会把以下信息作为一等信息展示:
Install scripts
Build required
Scanned commit
Recommended pinned install而不是只展示 Stars、Language 和 License。
dsh-plugin topic 候选发现 + 增量同步(SHA 增量 + ETag + rate-limit / 429 退避)repo_id + sha + scanner_version)GET /api/plugins/:owner/:repo/scans)GET /api/stats:candidates / verified / updated-this-week)GET /api/publishers/:owner + /publisher/:owner)GitHub dsh-plugin Topic / Submit
│
▼
Candidate Discovery
│
▼
GitHub REST API
│
┌───────┴────────┐
│ │
▼ ▼
Repository Commit / Tree
Metadata Files
│ │
└───────┬────────┘
▼
Static Scanner
│
┌───────┼──────────┐
▼ ▼ ▼
Format Compatibility Security
│ │ │
└───────┼──────────┘
▼
Trust Profile
│
▼
Cloudflare D1 Registry
│
▼
dsh-plugin.market自动更新链路:
Cloudflare Cron(每小时)
↓
Discover new / changed repos
↓
Cloudflare Queue
↓
Static Scan
↓
D1项目不会通过高频爬取 GitHub HTML 页面获取数据。
v1.0 坚持一个原则:
Never execute untrusted plugin code.
Scanner 只通过 API 读取和静态分析源码/配置,不会:
npm install third-party repo
pnpm install third-party repo
run prepare / postinstall
execute plugin entry
execute repository shell scripts对于无法静态判断的内容,结果明确标记为 Unknown,而不是猜测为安全。
Frontend React 19 + TypeScript + Vite 7 + Tailwind CSS 4 + daisyUI 5
API Hono 4
Runtime Cloudflare Workers
Registry Cloudflare D1(SQLite)
Scheduling Cloudflare Cron Triggers(每小时)
Scan Jobs Cloudflare Queues
Source GitHub REST API
Test Vitest(scanner / discovery / curation 单测)详细架构、数据模型、扫描规则和分期方案请阅读:
技术方案 v1.0 · 开发计划 · 设计语言
安装依赖:
npm install配置本地 secret(仅浏览可省略;发现/扫描需要):
cp .dev.vars.example .dev.vars创建并迁移本地 D1 数据库:
wrangler d1 migrations apply DB --local本地启动:
npm run dev