IvanWu2015/dsh-connect--packages-connect0

dsh-connect

Channel-agnostic messaging bridge core for DeepSeek Harness (DSH): binds chat channels to DSH agents, streams replies, and pushes work summaries

AI 分析

核心用途是作为消息桥接的核心,将外部聊天通道与DSH Agent绑定,支持流式回复与工作总结推送。适合需要开发或集成自定义聊天客户端(如飞书)的开发者。

パッケージ
dsh-connect
バージョン
0.5.2
ライセンス
MIT
最終更新
2026/08/16

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

Configuration

Configuration lives in the DSH profile patch (cordis.patch.yml) under each plugin's config:. dsh.shared.config.json in the project root (or its parent) can supply workspace/state defaults that take precedence for those keys.

dsh-connect (core)

KeyDefaultDescription
agentPresetroster defaultAgent preset id composed into each bound session
workDirprocess cwdAbsolute working directory for each bound agent
workspaces[]Extra workdirs offered by the /dir picker
visionModelauto-detected{ provider, model } used to describe images when the main model can't see them
languagezhUser-facing message language: zh / en
allowUsers[]Sender allowlist (open_id). Empty = allow all
allowChats[]Chat allowlist (chat_id). Empty = allow all
stateDir.dsh-connectDirectory holding the bindings.json route store (env DSH_CONNECT_STATE_DIR overrides)
autoMirrortrueAutomatically create a Web GUI mirror for every new session
streamHeartbeatMs60000Liveness heartbeat interval (ms) for the streaming card; 0 disables it
notifyLevelimportantDefault notification level: full (stream everything) / important (key milestones) / result (answer only); per-chat override via settings menu or /notify
progressTimeoutMs300000Proactive progress-notice interval (ms): when a turn has sent no standalone card/text for this long, a status card reports the latest milestone; 0 disables; per-chat override via settings menu or /progress

dsh-connect-feishu (adapter)

KeyDefaultDescription
appIdenv FEISHU_APP_IDFeishu custom app id (secret)
appSecretenv FEISHU_APP_SECRETFeishu custom app secret (secret)
transportwebsocketwebsocket = long connection (no public network); webhook needs public HTTPS
verificationTokenWebhook verification token (secret)
encryptKeyWebhook encrypt key (secret)
requireMentiontrueGroups only respond when the bot is @mentioned
dmModeopenDM policy: open / allowlist / pair / disabled
languagezhUser-facing message language: zh / en

Environment variables

VariablePurpose
FEISHU_APP_ID / FEISHU_APP_SECRETFeishu credentials — preferred over putting secrets in config files
DSH_CONNECT_STATE_DIROverrides stateDir for the binding store
DSH_HOMEOverrides the ~/.dsh base for credential files

Sensitive itemsappSecret, verificationToken, encryptKey, and feishu-credentials.json. Prefer environment variables or one-click onboarding; keep them out of version control.