DeepSHPlugins
bailinghub-dsh-plugin 项目预览
GITHUB / COMMUNITY PROJECT

bailinghub-dsh-plugin

工具与集成JavaScriptMIT

让本地 DeepSeek Harness 智能体通过 BailingHub,直接操作商城、SaaS 或其他业务系统后台,在现有账号权限内查询数据、修改资料并执行已开放的操作。

2 Starsbailinghub 更新时间 2026-09-08
访问 GitHub 仓库
bailinghub-dsh-plugin 项目预览

项目介绍

中文

让本地 DeepSeek Harness 智能体通过 BailingHub,直接操作商城、SaaS 或其他业务系统后台,在现有账号权限内查询数据、修改资料并执行已开放的操作。

English

Let a local DeepSeek Harness Agent use BailingHub to query data, update records, and run permitted actions in an online store, SaaS, or other admin system.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
bailinghub
仓库
bailinghub/bailinghub-dsh-plugin
GitHub Stars
2
Forks
0
开发语言
JavaScript
许可证
MIT
最近推送
2026-09-08
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

59/ 100
维护活跃
99
文档与实用信息
85
生态关注度
14
安装便捷信号
100
项目声明信号
100

近 3 天仍在更新;README 含完整安装与使用说明;关注度尚低(2)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:bailinghub/bailinghub-dsh-plugin

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

BailingHub for DeepSeek Harness

简体中文 | English

Ask your local DeepSeek Harness Agent to work with a business system connected to BailingHub: find records, update allowed fields, and follow the system's existing approval rules. BailingHub records which authorization was used and what each business action returned.

Version 0.4.0 lets one conversation use several authorizations for the same system. For example, after independently authorizing Store A and Store B, select both for a new conversation and ask:

Compare today's sales at Store A and Store B. Show each store separately.

The Agent can choose the right authorization for each call without asking you to switch the active connection. Available actions still depend on the capabilities and permissions your system exposes. This release does not provide orchestration across different systems or routes.

It also keeps the visible conversation together with links to its business actions. If uploading that record fails, it can retry after reconnecting or restarting without repeating those actions.

This is an independent community integration, not a plugin developed, certified, endorsed, or recommended by DeepSeek.

Install and start

You need Node.js 22.19.0+ or 24+, pnpm, and a compatible DeepSeek Harness release. Your administrator must first connect the business system to BailingHub. The matched release set is BailingHub Core 0.6.1 → BailingHub MCP/SDK 0.4.0 → this plugin 0.4.0.

npm install --global pnpm @deepseek-ai/[email protected]
dsh plugin --profile web add [email protected]

The plugin installs its exact [email protected] dependency automatically. For an existing installation, read the 0.3 to 0.4 migration steps.

Follow the getting started guide to enter your administrator's four public connection values and authorize in the browser. Do not put a business password, Client Token, signing secret, or model-provider key into this plugin's settings or chat.

Choose the accounts for each conversation

Authorize each account separately through the original business authorization page. Give each connection a clear local name, such as Store A and Store B, and verify the actual identity on that page. The name is a label you provide; it does not prove identity or grant permission. Names like default and default-2 do not tell the Agent which store you mean.

In a new conversation, before the first message, run:

/bailinghub connections list
/bailinghub scope set <store-a-connection-key> <store-b-connection-key>
/bailinghub scope

Replace the placeholders with the fixed keys from the list, not connection names. You can select just one account. Multiple selections must share the same Hub, Client App, and workspace. Wait for the command to confirm the selection, then send your request.

New conversations start as ordinary chat until you select their business scope. Logging in or changing the default connection does not enable business tools. /bailinghub scope none explicitly chooses ordinary chat. The first user message freezes the selection; start a new conversation to change accounts or move from ordinary chat to business access.

For the selected accounts, matching tools are shared. The Agent chooses the authorization for each call; it does not receive credentials. Every action still uses that account's own permissions and approval rules. An approval-required action continues the original call after approval while that conversation is still running.

If any selected authorization is revoked, replaced, or cannot be checked, business access pauses for the whole conversation. The plugin never silently switches to another account. A temporary connection failure can be retried with the same original selection after the network returns. A confirmed revocation or identity change requires a new conversation with a valid selection.

Follow the conversation and its actions

With Core 0.6.1 and SDK 0.4.0, BailingHub can show the visible user and assistant messages, turn boundaries, and links to the original business runs as one conversation record. Each authorization also keeps its own business-call record; the combined reply is not copied into every account's memory.

/bailinghub archive status
/bailinghub archive sync

archive status shows whether the visible record has uploaded. archive sync retries the saved record without running the business actions again. This is separate from /bailinghub sync, which retries a pending run completion in the currently running conversation.

StatusWhat it means
syncedSaved events have been acknowledged by the Hub; this does not prove a business action succeeded
pendingUpload is unfinished; retry when the connection is available
blockedOriginal authorization checks prevent upload; inspect /bailinghub scope
unsupportedThe connected SDK or Hub does not support this archive contract
storage_errorA local write failed; some visible events may not yet be safely saved
recovery_gapAvailable DSH history shows missing archive events; the record is incomplete

Reopening a saved business conversation restores its original selected accounts only after every original authorization is checked. If it was reopened offline, reconnect and run /bailinghub archive sync or /bailinghub scope in that same conversation to retry the check. This recovers scope and saved uploads, not pending business invocations or approvals after a process restart. A saved draft that never started needs explicit selection again. An older started conversation without a valid saved scope cannot adopt today's default account.

What is shared and stored

All selected accounts' context and your visible user request share the same local Agent/model conversation. The combined archive requires the full selected authorization set; an authorization for only one member is not sufficient to read the mixed conversation. Use separate conversations when those accounts' data must remain separate.

The plugin captures visible text from business turns enabled with this version, not all past conversations, attachments, or hidden reasoning. It cannot remove arbitrary secrets pasted into visible text. Missing local writes are reported as gaps when detectable; hosts without durable history report unverified coverage.

The private local outbox contains plaintext visible task text, including events already uploaded. It stays under the DSH home until the host/operator removes it; there is no automatic retention cleanup. Removing it does not delete the Hub's record. Credentials remain in SDK-owned secure storage. Review Privacy and Security before enabling business access.

Commands and administration

CommandPurpose
/bailinghub doctorCheck setup, SDK, authorization, and workspace without printing credentials
/bailinghub loginAuthorize the selected connection in the browser
/bailinghub statusInspect that connection's authorization
/bailinghub connections listList connection labels, fixed keys, and authorization state
/bailinghub connections add <name> <hub-url> <client-app-id> <workspace>Register a connection and select it for connection management; quote names containing spaces
/bailinghub connections use <name-or-key>Choose which connection to manage or authorize; does not change a conversation's scope
/bailinghub connections remove <name-or-key>Revoke its Agent Session before removing local credentials
/bailinghub workspacesList workspaces allowed by the current authorization
/bailinghub use <workspace>Select another already-authorized workspace for connection management
/bailinghub logoutRevoke and remove the selected Agent Session

Connection management and scope selection are user commands, not model tools. Reauthorizing the same trusted identity replaces its old connection and Agent Session. A different identity remains independent. If login reports cleanup required, the new connection is already authorized: inspect the listed old entry and retry its removal, rather than authorizing again. Details are in the host contract.

For integrators

DSH owns reasoning and tool orchestration. BailingHub Core owns trusted identity, governance, approvals, invocation state, and audit. The SDK owns browser authorization, secure credentials, and HTTP mapping. This plugin only adapts DSH sessions, prompts, commands, tools, and visible events; it does not call your business API directly or govern unrelated DSH tools.

Existing business integrations continue exposing the same capabilities and authorizing each identity separately. Custom DSH hosts must implement the scope selection and restore APIs and display confirmation before the first message. The native slash commands already use those APIs. Tool envelopes, persistence, event schemas, and recovery limits are documented in the Agent Client contract.

Use Native Tool Mode. DSH Code Mode is deliberately degraded because it cannot safely present the current-turn dynamic schemas. See the compatibility matrix.

Legacy 0.1.1 and feedback

Public [email protected] remains the separate static MCP compatibility path. It starts [email protected], uses one operator-provided route-scoped Client Token, and leaves orchestration in BailingHub. Version 0.4.0 does not read or convert that credential. Keep the exact legacy version when using that path and follow the migration guide.

Report issues at GitHub Issues with versions and redacted errors. Do not include tokens, private URLs, personal data, or production payloads. Compatibility tests and package downloads are not evidence of production adoption.

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目