DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
P

@sldmn233/dsh-profile-share

Profile Share

将选定的 DSH 插件导出为一段可粘贴的分享代码,在另一台机器上应用增量,并报告仍需配置哪些凭据。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:sldmn233/dsh-profile-share#51db1938af756186534e81b77639e1a863c259bf
README兼容性版本

兼容性与来源证明

Profile Share 以 @sldmn233/dsh-profile-share 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/27

版本

0.1.0stable
2026/10/27

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/27
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Experimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundle为 Web 组合添加 Schedule、其任务页面和时间上下文的可选捆绑包Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / pet / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Ab Ocrdsh-ab-ocr--- description: "外部 ocr 工具:逐页识别扫描的 PDF 或图像,仅在处理完最后一页后按顺序合并页面,并使用模型确定的标题级别保存为一个 Markdown 文档。" kind: "package-reference" ---

README

dsh-profile-share

English | 简体中文

Share a DSH plugin setup as one pasteable code.

dsh-profile-share packages the plugins you selected in a DSH profile — their enabled state and your explicit configuration — into a single short code. Another machine pastes that code and ends up with the same setup; subsequent codes carry only what changed. The same page then reports which API keys, environment variables and logins each machine still has to supply for itself, because credentials never travel in the code.

Features

  • Export — pick plugins (all / none / invert), generate one DSH-SHARE/1: code. Suspected credential fields are stripped by default and every stripped path is listed.
  • Apply — paste a code, preview the exact diff, then apply it. Only additions and updates by default; nothing is disabled or removed unless you turn on full alignment.
  • First-run configuration — one page listing the credentials a machine still needs, with the secret fields writable there and login-only plugins linked to their own settings.

Requirements

  • A DSH profile that mounts the pluginManager and configEditor services (the desktop and web profiles of DSH 0.2.x do). Endpoints answer 503 with an explicit message when either is absent.
  • Node.js ^22.19.0 || >=24.0.0 for the host half.
  • The receiving machine needs this plugin installed too; a share code alone cannot bootstrap it.

Installation

dsh plugin add https://github.com/sldmn233/dsh-profile-share

Or, from the plugin manager, install this checkout as a local directory. Restart DSH once after installing. The page lives in Settings → 分享与同步 (section id profile-sync).

Usage

1. Export a code

Open Settings → 分享与同步 → 分享, tick the plugins you want to carry over, and press 生成分享码. The result is one line of text; copy it and send it however you like.

2. Apply a code

On the other machine open the 同步 tab, paste the code, press 预览, and read the plan: installations, enable/disable switches, and configuration writes. Press 应用 to run it.

3. Finish credentials

Open 首次配置. Every detected requirement is listed as a secret, an environment variable, or a login. Fill in your own values — the sender's keys were never in the code.

The page never shows a bare input box. Every item carries what the plugin can actually prove:

  • the provider's application page, matched from the environment variable name, the configured base URL, the row id or the bundle name (DeepSeek, 阿里云百炼, OpenAI, Anthropic, Google, Moonshot, 智谱, MiniMax, 硅基流动, OpenRouter, 火山方舟, Groq, WorkBuddy);
  • a copyable setx / export command for environment variables, so the value does not depend on remembering the syntax;
  • the field's own description from the plugin's config schema, when it documents itself.

Requirements that match a flow registered through ctx.authorization also get a 直接授权 button. The flow runs in the background: its links and its questions come back to this page, and whatever it commits is the plugin's own credential record — not this plugin guessing at a config field. Flows that ask for a secret are never answered from chat; the agent tool refuses and points at the page instead.

Bootstrap on a machine that does not have the plugin

A share code cannot install its own reader, so a handoff starts with one message. The 分享 tab's 复制引导语(含码) button copies exactly this:

帮我安装这个 DSH 插件:https://github.com/sldmn233/dsh-profile-share
装好后用 profile_share_import 导入下面这条分享码,先给我看计划,我确认后再用 apply=true 执行:
DSH-SHARE/1:…

The receiving agent reads it, asks whether to install the plugin — that is the confirmation step — installs it through the plugin manager, calls profile_share_import for a preview, applies it once you agree, and then reports what is still missing, which is the same list the 首次配置 page shows.

Why the message instead of full automation: nothing in a bare DSH can recognise a DSH-SHARE/1: string before the plugin that understands it is installed. A prefix detector in DSH core would remove the message entirely; until then this two-line prompt is the seam.

Agent tools

ToolPurpose
profile_share_importpreview a share code, or apply it with apply: true
profile_share_requirementslist the credentials this profile still lacks, with the same guidance the page shows
profile_share_authorizelist authorization flows, start one, read its prompts, answer a non-secret one, or cancel

Share code format

The code is gzip(JSON) encoded as base64url behind a DSH-SHARE/1: prefix. The version suffix is checked: a code from an incompatible format is rejected instead of being half-applied. The payload holds the selected bundles (name, version, install spec, enabled state), the explicit profile configuration of each row, and the sender's profile name and DSH version for the header.

How it works

The host half (index.js) uses only public services, so the Loader keeps owning schema validation, the profile file lock and hot reload:

Service callPurpose
pluginManager.listBundles() / listPlugins()read the live inventory
configEditor.configuration()read each row's explicit profile override
configEditor.edit()write a row's configuration back through the profile patch
installBundle() / setBundleEnabled() / setPluginEnabled()install and switch

Six endpoints live under /api/dsh-profile-sync/: state, export, preview, apply, requirements, configure. Writes require application/json and a same-origin request, and reuse the host's own connection.requestRejection admission decision.

The client half (client.js) is a single settings.section page registered through ctx.slots.register, requires only react, and has no build step.

Security

  • Suspected credentials (apiKey, token, secret, password, cookie, …) are removed on export by default, and the removed paths are reported. Enabling 包含可能的密钥字段 is an explicit, deliberate action.
  • The code carries apiKeyEnv-style variable names, not the keys they name.
  • Writes are same-origin only and go through the profile's own configuration editor, so every change is a normal, reviewable profile patch.

Behavior notes

  • Bundles provided by the DSH installation itself (availability: 'installation') are never installed; they ship with DSH. Their configuration overrides are still shared, because that is what reproduces the setup.
  • Bundles the sender has not installed are not shared and are reported as stats.uninstalled.
  • Registry sources install as declared; git+… and file:… declarations pass through unchanged rather than being guessed at as name@version.
  • Full alignment is off by default: nothing is disabled or removed unless you ask for it.

Differences from similar plugins

wbb316/dsh-profile-sync moves a plugin set between two profiles on one machine and deliberately installs nothing. This plugin targets the machine-to- machine, person-to-person case: the code is self-contained and the receiving DSH installs and enables the delta itself. Both exist on purpose.

Project layout

index.js            Host half: six endpoints, snapshot codec, plan/apply engine
client.js           Client half: the settings page (three tabs)
cordis.patch.yml    Bundle patch inserting the row
locale/             Localized plugin title and description
test/local-smoke.mjs  Offline harness driving the real handlers against mock services

Development

No build step, no runtime dependencies.

npm run check              # syntax-check both halves
node test/local-smoke.mjs  # run the offline harness

The harness covers export and secret stripping, idempotent replay, install → enable → write on an empty profile, requirement detection, configure path allow-listing, cross-origin rejection, installation-provided bundles never being scheduled for install, row-level enable sync, and route registration collisions during a hot reload.

Contributing

Issues and pull requests are welcome: https://github.com/sldmn233/dsh-profile-share/issues.

License

MIT