dsh-dify-marketplace
界面增强 活跃维护

dsh-dify-marketplace

stvlynn/dsh-dify-marketplace

可在Dify设置页直接浏览、搜索并安装Marketplace插件的工具,支持基于守护进程的.difypkg包安装,采用Cordis子纤维技术保障安装流程稳定高效

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
676 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:stvlynn/dsh-dify-marketplace
git clone https://github.com/stvlynn/dsh-dify-marketplace.git
git clone git@github.com:stvlynn/dsh-dify-marketplace.git
README.md main

dsh-dify-marketplace

A DeepSeek Harness plugin that embeds a Dify Marketplace micro-frontend in Settings, talks to the public marketplace.dify.ai HTTP APIs, installs .difypkg packages through the official dify-plugin-daemon, and mounts each installed Dify plugin as a Cordis child fiber.

This is not an official Dify or DeepSeek product.

Compatibility

Surface Pin
DeepSeek Harness dsh-v0.1.0-rc.7 (99f6f02fecdb7dff40c3fbc9470f5907c29f74ca)
Package name dsh-dify-marketplace (not @deepseek-ai)
Delivery track Host + Web UI

No dsh CLI was installed on the machine that bootstrapped this repository. Develop against the Harness tag above.

What this plugin does

  • Browse and search Dify Marketplace plugins (All / Models / Tools / Data Sources / Agent Strategies / Triggers / Extensions / Bundles).
  • Show collections, tags, and plugin detail including credential schemas.
  • Download .difypkg via the marketplace download-url redirect and install through the daemon.
  • Register Dify tools on ctx.tools under dify__<org>__<plugin>__<tool> after a successful install.
  • Store credentials on the Host. The browser never holds secrets.

Install (after a release commit exists)

dsh plugin --profile web add ./
dsh --profile web --dump-config
dsh --profile web

From a public commit:

dsh plugin --profile web add github:<owner>/dsh-dify-marketplace#<40-character-commit>

Disable: remove the bundle row from the profile or uninstall the package with dsh plugin. Uninstall of an individual Dify plugin is a product flow inside Settings, not dsh plugin remove.

Configure

Host config (Cordis row):

Field Meaning
marketplaceBaseUrl Defaults to https://marketplace.dify.ai
daemonBaseUrl Attach to a running daemon instead of supervising Compose
daemonServerKey Daemon SERVER_KEY
daemonTenantId Tenant path segment (/plugin/:tenant_id/...)

Secrets live under $DSH_HOME/storages/dify-marketplace/ (installed.json and credentials/).

Verify

pnpm typecheck
pnpm test
pnpm test:e2e

pnpm test:e2e is the live marketplace information-architecture journey. The Settings journey needs a running web profile: DSH_WEB_URL=http://127.0.0.1:<port> pnpm test:e2e:dsh. Daemon install tests need Compose: pnpm daemon:up && pnpm test:integration.

Documentation

Start at docs/README.md. Plugin authors should also read the official DeepSeek Harness plugin development guide.

License

MIT. See LICENSE.