把 DSH 接到 MultiVibe 网关,并可查看可用模型与连接状态。
安装
# Release 预构建包
dsh plugin --profile web add -w "https://github.com/thibautrey/multivibe/releases/download/dsh-multivibe-v0.1.0/dsh-multivibe-0.1.0.tgz"
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:thibautrey/multivibe#path:/plugins/dsh-multivibe
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Connect DSH to a MultiVibe gateway and inspect available models and connection status.
A connection companion with a MultiVibe global panel in the sidebar, using the official Harness panel and plugin-manager contracts. The plugin reuses DSH's llm-pi-ai provider for inference and exposes two read-only tools. It does not import provider OAuth tokens, administer MultiVibe, or execute inference during discovery.
Compatibility
- Node.js 22 or later.
- DSH SDK
0.2.0-rc.2or compatible0.2.x, with the official connection, credentials, settings, tools, LLM andllm-pi-aipackages composed. - Desktop or a loopback DSH Web interface is required to change the connection. Remote Web pages are read-only.
- A running MultiVibe gateway, normally
http://127.0.0.1:1455. Use the public gateway port, never the loopback control-plane port1456.
Peer dependencies explicitly include the tested prerelease branch. Compatibility with older Harness releases is not claimed.
Install
Use the DSH plugin manager with the prebuilt release asset:
dsh plugin add https://github.com/thibautrey/multivibe/releases/download/dsh-multivibe-v0.1.0/dsh-multivibe-0.1.0.tgz
The package contains built Host and browser modules and its Cordis bundle patch. No install-time build script is required. Restart the Harness after installing a package version, then open MultiVibe in the sidebar. You can also open Plugins → MultiVibe → Open MultiVibe panel. In Desktop, install into its active profile through the plugin manager; a separate CLI home is not automatically the Desktop home.
Panel and existing providers
The sidebar entry uses sidebar.panellist and the matching main panel key. The installed bundle uses plugins.bundle.config to open that single panel. It is not a built-in Settings tab or a Desktop workbench bound to sessions. The panel distinguishes plugin activation, its own managed connection, and existing MultiVibe providers configured independently in DSH. Existing providers are read-only: their gateway, protocol, configured model IDs/limits and credential availability are projected without returning any key or changing configuration. Configuration and credential availability do not prove the gateway or inference works.
Providers are identified by MultiVibe names, the default loopback gateway on port 1455, or an already managed gateway URL. An arbitrary remote provider with no MultiVibe name cannot be identified reliably and is not shown. Keys unavailable to the Desktop process are displayed as missing; this does not mean a provider's external CLI configuration is invalid.
The global panel preserves the current conversation. Opening from the bundle detail selects the same panel instead of mounting another configuration form. Leaving it aborts pending requests and clears the typed password.
Official contracts used:
- Harness sidebar global panels and layout.
- Harness slots and plugin manager.
- Desktop plugin contract.
Connect
- In MultiVibe, create a dedicated proxy API key for the DSH application. Never use the MultiVibe administrator token here.
- Enter the gateway root or
/v1URL and the dedicated proxy key in the plugin's password field. - Choose the available DSH model-adapter configuration. If several namespaces are present, choose explicitly.
- Discover models and select their exact routable IDs. Aliases work when returned by the gateway.
- Confirm any missing context/output limits from authoritative model information. The plugin does not infer these numbers from model names or silently accept DSH defaults.
- Choose Chat Completions or Responses, then connect. Select the resulting MultiVibe provider/model in DSH's normal chat picker.
Discovery makes only an authenticated GET /v1/models request. It does not prove that a real coding task, tools, image input or a particular reasoning level works through the model. Run a normal DSH request to validate your chosen model; that request may incur usage.
Only HTTPS is accepted for remote gateways. HTTP is allowed on loopback (localhost, 127.*, ::1). Gateway redirects are not followed. Gateways behind arbitrary URL path prefixes are not supported in this MVP.
Tools
multivibe_status: managed connection state, provider ID, protocol and configured-model count. No endpoint or credential is returned to the model.multivibe_models: authenticated live model catalog, optional search and a result limit clamped to 1–100. Missing capabilities remain unknown. No inference or administration call.
Configuration actions are operator-only HTTP/UI actions, not agent tools. Existing DSH tool policies still apply. The plugin does not add shell, filesystem or administrative tools.
Secrets, ownership and recovery
- Keys are stored through DSH's credential service. Provider configuration contains a random credential reference, never the key.
- The browser holds a typed key only in the password input/request lifetime: no localStorage, URL, console log or persisted React key state. The field is cleared after successful changes and on unmount.
- Existing, inherited or adapter-owned provider IDs are never overwritten. Choose a new ID if
multivibealready exists. - Configuration updates use the actual adapter namespace and an expected settings revision. Unrelated providers remain unchanged.
- Credential and provider changes are not an atomic cross-service transaction. A durable, nonsecret operation journal and guarded compensation handle partial failure. Use Recover incomplete operation when prompted. Connect recovery removes its new managed provider; disconnect recovery finishes provider removal and respects the recorded credential-retention choice.
- Disconnect removes the authored managed provider. Its credential is retained by default: DSH settings forms do not expose inactive entries or non-live fields, so global non-use cannot be proven. The settings panel keeps a nonsecret list of retained references for operator maintenance.
- Deleting the credential is a separate, unchecked-by-default confirmation during disconnect. Only select it after checking that no other profile or setting uses the reference. The plugin additionally refuses deletion if an active editable settings view references it; this is not a global scan. Recovery retains this recorded choice. Fresh, failed connect operations compensate their newly allocated credential.
- If the provider is edited externally, the plugin refuses to remove or overwrite it. Restore its original authored configuration in DSH, or remove it manually and then disconnect in the companion to clean up its unused credential. It does not revoke the proxy key at MultiVibe; revoke it in MultiVibe when no longer needed.
- The Host plugin is trusted code, not an independently sandboxed security boundary. DSH's credential storage mechanism is reused; no encryption-at-rest/keychain guarantee is added by this plugin.
No quota, billing or route-simulation UI is claimed. Those features require an application-scoped supervision API in MultiVibe; the plugin deliberately does not use /admin or request an administrator token.
Development
From the Multivibe repository root, with its dependencies installed:
npm run test:dsh-plugin
npm run build:dsh-plugin
npm pack ./plugins/dsh-multivibe --ignore-scripts
Or install development dependencies in the subpackage and run npm test / npm run build there. Committed lib/ bundles make GitHub and tarball installation build-free; rebuild them when editing src/.
Tests cover URL/key validation, bounded and cancellable HTTP, catalog normalization, explicit capacities, transaction journals, revision conflicts, rollback, ownership, credential reuse, routes, tools and browser handlers/lifecycle. Browser handler tests use a small hook harness, not a real Desktop UI.
Optional installed-SDK contract tests load DSH's real tool compiler, SettingsForms implementation and React renderer, and run a real HTTP server through Connection's authenticated bridge (cookie exchange, local POST and cross-origin rejection):
DSH_SDK_ROOT=/absolute/path/to/isolated/sdk-root npm run test:dsh-plugin
DSH_SDK_ROOT must contain the relevant installed node_modules and a package root readable by Node. ASAR archives must first be extracted to an isolated development directory, without changing the live Desktop profile. These tests do not constitute an actual Desktop installation/open test.
Marketplace
This global connection companion belongs to awesome-dsh-plugin, not the separate workbench catalog. The monorepo entry points to plugins/dsh-multivibe and a pinned, prebuilt GitHub Release tarball. A submitted PR is not a published/approved marketplace listing.
Licence
Apache-2.0. Copyright 2026 Thibaut Rey and Pleiades Solutions.
链接
同类插件
Ebony-Vinyl/dsh-our-free-model★ 90775
为 dsh 接入免费模型车道(含 DeepSeek V4.1 Flash、Kimi K3 等),无需登录、注册或填写 API Key,并提供本地 OpenAI 兼容网关、降级路由与用量看板。
dingminhua/dsh-connect-workbuddy★ 2129
将本机登录的 WorkBuddy 模型(国内版与国际版)接入 DSH,每次刷新按上游目录读取每个模型的积分倍率,支持逐模型图片输入开关、带自动换号的账号池、手动每日签到,以及卡片与输入框里的只读积分胶囊读数。
Alice-Marx/dsh-model-router★ 1026
为 DeepSeek Harness 规划有依赖的工作包,将其分配给已配置的模型 API 或支持的厂商 CLI,并提供费用预览。
V1ki/dsh-plugin-subscriptions★ 646
把 ChatGPT(Codex)、Claude、Grok 订阅当作 DeepSeek Harness 的 LLM 提供方:设置页登录、模型目录、用量展示,以及 image_generate、video_generate 与 x_search 工具。
XDTrees/dsh-workbuddy-xdpool★ 638
把本机 WorkBuddy 桌面 App 登录过的所有账号自动并入 DSH 模型池:多账号轮换自动容错、实时积分,模型目录按模型标注积分倍率与限时免费 / 夜间折扣。
XDTrees/dsh-xdpool★ 638
把本机 WorkBuddy 桌面 App 登录过的所有账号自动并入 DSH 模型池:多账号轮换自动容错、429 冷却、实时积分,模型目录按模型标注积分倍率与限时免费 / 夜间折扣,扫码登录 13 家厂商,聚合免费额度渠道。账号重启不丢。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。