DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Lark Bridge — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
L

@moyu-good/dsh-lark-bridge

Lark Bridge

面向 DeepSeek Harness agents 的 Feishu (Lark) IM 机器人频道——按聊天划分的会话、原生思考过程、交互式审批卡片、WebSocket 长连接。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:moyu-good/dsh-lark-bridge#0d1a44069bdfb534c678200d3e467d5d3e45311b
README兼容性版本

兼容性与来源证明

Lark Bridge 以 @moyu-good/dsh-lark-bridge 发布,当前版本为 0.9.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/9/13

版本

0.9.0stable
2026/9/13
0.8.1stable
2026/9/13
0.8.0stable
2026/9/10
查看其余 7 个版本收起版本
0.7.6stable
2026/9/9
0.7.5stable
2026/9/9
0.6.1stable
2026/9/3
0.5.0stable
2026/9/3
0.4.1stable
2026/9/3
0.4.0stable
2026/9/3
0.3.1stable
2026/8/25

相关插件

正在加载相关插件…

最新版
0.9.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
BSD-3-Clause
发布源
github
GitHub
★ 5
周下载
0
最近提交
2026/9/15
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

README

🕊️ dsh-lark-bridge

Run a full DeepSeek Harness coding agent inside Feishu / Lark
Native thinking process · approval cards · web/desktop/CLI fleet sync · one-tap account switching · balance & peak/off-peak awareness — no public webhook URL needed.

中文文档 · Quick Start · User Guide · Features · Extend It · FAQ


🖼️ Screenshots

Balance, account card, ack & thinking (illustrative) /manual guide and the device fleet roster (illustrative)

Illustrative Feishu-style renders. Left: /balance (live balance + peak/off-peak phase), the /bot account switcher card, task ack and the thinking state. Right: /manual — the full in-chat user guide — and the /bot devices fleet roster.

🤔 What is this?

dsh-lark-bridge is a Feishu/Lark IM channel for DeepSeek Harness — a plugin that makes your coding agent work right inside a chat. Each conversation (DM or group) drives its own dsh agent, and everything the desktop UI shows lives in the chat:

  • 🧠 Native thinking process — reasoning renders as Feishu's own "thinking" message; tool calls with icons, results as code blocks. No black box.
  • ✅ Interactive approval cards — risky operations become Allow-once / Deny cards, decision and decider written back.
  • 🎯 Live goal & todo cards — long-running tasks update a card in real time instead of going silent; goals auto-resume after restarts.
  • 🔌 WebSocket long connection — no public callback URL, no reverse proxy.
  • 🌐 Three-surface fleet sync — web (browser), desktop (DSH Desktop) and the CLI share one ~/.dsh session library; cloud arbitration keyed per ENDPOINT (deviceId:form:profile) means exactly one surface replies, and if the active one goes silent the fleet elects a successor automatically.
  • 🔄 One-tap account switching — /bot account renders an interactive card of saved Feishu-app credentials; two taps to switch, synced to every surface.
  • 💰 Balance & peak/off-peak awareness — /balance queries the DeepSeek open-platform balance live (per currency, timestamped); the model prompt carries the peak/off-peak tariff table so deferrable heavy work lands in the half-price windows.
  • 📖 /manual in chat — the full eight-section user guide, one command away.

Feishu is the carrier; the work is still done by DeepSeek Harness itself.

🚀 Quick Start in 60 Seconds

Prerequisites: Node 18+, pnpm (recommended, see note), a DeepSeek API key, and the Feishu app on your phone.

Harness version: this bridge targets DeepSeek Harness >= 0.1.5-rc.2. It talks to the harness through the plugin seam, and 0.1.5 moved the user-questions seam from a provider registry to the user-questions/request waterfall — see the CHANGELOG for the one-line compatibility note.

# 1. install the plugin into a dsh profile & boot (pnpm — ~20s, parallel install)
pnpm dlx @deepseek-ai/dsh plugin --profile web add @moyu-good/dsh-lark-bridge \
  && pnpm dlx @deepseek-ai/dsh web

# 2. a QR code prints → scan it with Feishu
#    (this creates the app + event subscription automatically)

# 3. open the dsh console → Settings → Models → paste your DeepSeek API key

# 4. DM the bot, or @ it in a group. That's it.

[!NOTE] First-time plugin add fails once with ERR_PNPM_IGNORED_BUILDS ... protobufjs — pnpm 11 blocks the postinstall of protobufjs (a Feishu SDK dependency; its script is a harmless no-op). Open <your-home>/.dsh/profiles/web/pnpm-workspace.yaml and change the placeholder line to protobufjs: true, then re-run the same command. This is a one-time step per profile.

[!TIP] Not sure what the bot can do? Send it /manual — the full eight-section user guide arrives right in the chat. /help lists every command. The only skill you need is "say what you want".

[!WARNING] Use pnpm, not bare npx/npm, to run the upstream dsh CLI. Measured on the same machine: pnpm dlx installs dsh's dependency tree (197 packages, ~250 MB) in ~20 s including downloads, while npx/npm install takes ~25 minutes (npm's serial reify) even with a warm cache — and on machines with ≤4 GB RAM the npm process itself dies with "JavaScript heap out of memory" mid-install. If you must use npm, pre-set NODE_OPTIONS=--max-old-space-size=2048.

Do NOT npm i -g dsh-lark-bridge — that name on npm belongs to an unrelated project. This plugin is published as @moyu-good/dsh-lark-bridge (the GitHub source also works, but installing a git-hosted plugin makes pnpm block its prepare script until you whitelist it under allowBuilds in the profile's pnpm-workspace.yaml — the registry package needs no build at all).

Daily ops: run pnpm dlx @deepseek-ai/dsh web again (subsequent runs hit the pnpm store, so they're fast), or host it under systemd/supervisor. The package ships prebuilt (lib/ committed) — nothing compiles on install.

📦 Moving to a new machine

The bridge carries its own migration path — on the old machine:

/bot export include-secrets --to-feishu   # uploads to the app's own Feishu drive
/bot export include-secrets               # or a local file, credentials masked

The Feishu route needs no copying at all: the file lands in the app's own cloud space (visible only to this app), and the new machine pulls it with /bot import --from-feishu. For the local-file route, copy the printed file (the sync directory, e.g. ~/.dsh/dsh-lark-bridge/migrate.json) to the same path on the new machine, install the plugin there (Quick Start above), then:

/bot import                       # preview: settings + plugin plan + warnings
/bot import apply                 # execute (add --from-feishu for the cloud slot)

What travels: shared settings and per-profile plugin lists (installed through the upstream CLI, so cross-platform moves just work). What never travels: peer heartbeats, control tokens, node_modules, session history — sessions live under ~/.dsh (upstream-owned); copy that directory to carry them.

Device lifecycle: every machine mints a stable deviceId on first boot (/bot devices shows the roster: this machine, heartbeat-live peers, the cloud-active endpoint, and migration provenance). Instead of stopping the old service by hand, retire it — /bot retire on the old machine puts it out of the reply path (messages get a one-line notice, not an agent turn; the flag is per-machine local state and is never synced), and /bot activate brings it back — and when the cloud carrier is available it also claims the active slot, so other machines stand down on their next message. Every live machine renews its presence in the cloud ledger each minute; if the active machine goessilent, the freshest machine with the smallest deviceId is elected automatically on the next inbound message. /bot name <readable-name> names a device for the roster.

🗨️ Use it like a user

  • Just say what you want: "why are the tests failing in this project?" — drag files and images straight into the chat.
  • Three surfaces, one conversation: open http://127.0.0.1:18787 for the web UI (same session library as the Feishu side); once DSH Desktop runs the plugin it joins the same fleet. Exactly one surface replies; /bot devices shows who.
  • Switch Feishu apps in two taps: /bot account → tap Use on the card → /restart.
  • Guidance is built in: new chats get a short starter guide; /manual is the full one; /balance is the wallet.

The complete handbook lives at docs/用户手册.md (Chinese; /manual serves the same content in chat).

✨ Features

Highlights — the ones other bridges don't have:

🧠 Native Feishu CoTReasoning renders as the platform's own thinking message (cot), typewriter card fallback (stream)
📋 Approval cards + decider trailClick to decide; who decided is written back
🎯 Live goal / todo cards + auto-resumePhase changes stream into chat; autoResumeGoals re-arms after restarts
🔍 Session history search/sessions <keyword> full-text search over this chat's stored history
🌐 Bilingual slash panelEnglish on international Lark, Chinese on domestic Feishu — auto
🌐 Three-surface fleet syncweb/desktop/CLI share one session library; per-endpoint cloud arbitration (deviceId:form:profile) — no double replies, automatic failover election
🔄 Interactive account switcher/bot account stores/switches/forgets Feishu-app credentials from a card; shared settings push it to every surface
💰 Balance & peak/off-peak awareness/balance live DeepSeek balance (per currency, timestamped); the prompt embeds the tariff table so batch work lands in half-price windows
🛠️ Native Feishu agent toolsfeishu_notify proactive messages, feishu_drive_* cloud-drive scratchpad reachable from any device
🖥️ Self-healing slash panelthe panel has a single writer (the arbitration-active endpoint), bilingual, kept in step with what actually runs
All capabilities
🗂️ One agent per conversationsessionScope: whole chat / topic thread / single sender; sessions persist across restarts
✅ Live reactionsOK → THINKING → DONE/ERROR, states replace each other, configurable
📦 Compaction transparency"Compacting…" → summary + released tokens; prunes report trimmed count
🧑💻 Subagent fan-outWorkflow runs stream as text lines: run start, child open/end, run end
⏰ Scheduled reminders/schedules view (compose @deepseek-ai/dsh-schedule for the model-side tools)
⚙️ Background job notificationsrun_in_background jobs announce their terminal outcome
🧩 Skill ecosystem surface/skills lists workspace skills, /skills <name> peeks at one
🤖 Model switching/model <provider>/<model> through the host saveSelection seam (persistent)
🖥️ PC-parity toolingCompose dsh-terminal* / code-runtime-worker-thread / dsh-mcp-client → persistent PTY, Code Mode, external MCP servers
🗺️ Workspace visibility/ws lists workspaces and marks where new sessions land
🖼️ Image input (opt-in)attachImages passes chat images to the model
📎 File deliveryAgent send_file delivers artifacts with caption (default-deny local dirs)
🔑 QR onboardingFirst boot prints a QR; scanning creates the app with event subscription
🔒 Authorization narrowingsenderAllowlist / groupAllowlist / approvers
🧩 Chronicle hookchronicleEndpoint: fire-and-forget full-transcript POST per inbound message
🛡️ Deep dsh adaptationEverything through host service contracts — self-contained, no host source needed

vs. other Feishu/Lark bridges

Verification basis: re-checked against each project's public README on 2026-09-09 (links under Listings & Community). "Not found" means not seen in public docs — not proof of absence. Different bets: dsh-im is a multi-platform gateway (8+ channels) where breadth is the point; this bridge bets on single-platform depth plus a multi-surface fleet.

Capabilitydsh-lark-bridgexmanrui/dsh-imomdsh-dev/dsh-larkAX1202/ax-feishu-bridge
PositioningFeishu depth + multi-surface fleetMulti-platform gateway (Feishu/DingTalk/WeCom/WhatsApp/Discord/QQ…)Feishu depth, multi-agent groupsFeishu × Pi agent
Thinking displayFeishu-native "thinking" messageStreaming card (thinking/tool progress)Native (needs PC 7.70+/mobile 7.74+)Streaming card output
ApprovalsCards + decider written backText reply (approve/deny)Cards + decider resolutionNot documented
Live goal/todo cards✅Not foundNot foundNot found
Compaction transparency✅ (progress + freed tokens)/compact command/compact (host passthrough)Not found
Multi-surface fleet + endpoint arbitration✅ shared library, automatic failoverDM text two-way sync (opt-in)——
Interactive account switcher✅ two taps, propagates everywhere———
Balance + peak/off-peak awareness✅———
Slash panelBilingual registration + active-writer self-healNative panel (/repair grants)Host passthroughNot found

💬 Slash Commands

CommandDescription
/stopCancel the running turn
/helpShow this listing
/manualThe full user guide (start here if you're new)
/balanceDeepSeek API balance (with the live peak/off-peak phase)
/presetView / switch agent preset (standard / code / minimal / cordis)
/permissionView / switch permission mode (host)
/goalView / set the goal (host)
/planEnter / leave plan mode (host)
/compactCompact older history (host)
/sessionsSearch this chat's session history
/toolsView / deny / allow tools at runtime
/skillsList skills, or peek at one
/modelView / switch the default model
/wsList registered workspaces
/jobsThis chat's background jobs
/schedulesThis chat's scheduled reminders
/contextCurrent context token pressure
/auditOperation audit summary
/configThe bridge's live configuration
/feedbackRate the last answer

Set locale: zh|en to force a language; otherwise it follows the platform domain.

/bot subcommands (bridge admin): set / unset / peers / sync-plugins / account (save·use·forget, interactive card) / export / import / devices / retire / activate / name. The slash panel has a single writer — the arbitration-active endpoint — so it always matches what actually runs.

⚙️ Configuration

Essentials:

FieldDefaultMeaning
appId, appSecretfirst-boot QR registrationFeishu/Lark app credentials
cwdhost process cwdAbsolute workspace directory for chat agents
provider, modelhost defaultModel routing for chat agents
outputcotNative thinking message vs typewriter card
requireMentiontrueIn groups, respond only when @-mentioned
outbound.allowedFileDirsunset → disabledLocal dirs send_file may read from
chronicleEndpoint''Optional external full-transcript ledger

Full option reference: README.zh.md 配置 · credentials resolve in three layers (bundle patch config → settings document plugin section → first-boot QR registration).

Required app permissions (manual app creation)
ScopeNeeded for
application:app_slash_command (read + write)Slash panel — without it sync fails with 99991672
im:message / im:message:readonlySend / read messages
im:message.receive_v1 eventReceive messages (Events → long connection)
im:resourceUpload images and files
im:chat:readGroup info
im:message.reactions:read / write_onlyReaction feedback

QR onboarding grants these automatically; manually created apps must publish a new version after adding scopes. Panel sync runs on session create/resume — send the bot one message after granting.

🧭 Architecture

Feishu / Lark ── WebSocket long connection ──►  dsh-lark-bridge (feishu-channel plugin
   (chat/approval/images)                        INSIDE the dsh process)
                                                      │  host service contracts:
                                                      │  agents / sessions / tools /
                                                      ▼  approval / goal / settings
                                              DeepSeek Harness itself

Any launcher works (shell, systemd, supervisor) — no dependency on any other agent framework.

🧩 Extend It

Three invariants keep the bridge maintainable:

  1. Grafted channel, not re-integration — the bridge only normalizes messages; every capability comes from official opt-in dsh plugin families composed in your profile. Zero bridge code = zero upgrade cost when upstream ships features.
  2. Everything through host service contracts — agents, agentPresets, approval, goals, settings… self-contained against published packages only.
  3. Every change archives a design card first — see docs/design/; implementation notes are backfilled, and blocked investigations are archived as assets too.

Repo map

src/
  bridge.ts        message pipeline: normalize → authorize → ack → agent turn → render
  commands.ts      slash commands (i18n bilingual)
  cot.ts outbound.ts  thinking-process & answer rendering
  feishu-tools.ts    native Feishu agent tools (notify / cloud drive)
  sync/              dual-end sync: settings source of truth, peers, control API,
                     migration, account book, endpoint arbitration
  pricing.ts         live DeepSeek peak/off-peak phase
  user-guide.ts      single source of the /manual content
  chronicle.ts     optional external-ledger ingest hook (integration example)
  config.ts        schema + defaults
tests/             vitest suites (397) incl. harness-based fakes
scripts/           verify-dsh-contract.mjs — asserts no drift vs upstream master
plugin-contract-test.mjs   43 assertions on the host contract surface

Quality gates

pnpm test                        # 397 unit/integration tests
node plugin-contract-test.mjs    # 43 host-contract assertions
node scripts/verify-dsh-contract.mjs   # drift check against upstream master
pnpm typecheck && pnpm run build # tsc + tsdown (lib/ is committed)

CI runs all of the above on every push and pull request, with the upstream drift check pinned to dsh master — if upstream changes a contract, the build tells you before users do.

Adding a feature? Write the design card first (template in docs/design/), implement, backfill the change record. For an integration that only needs message visibility, prefer the chronicleEndpoint hook over modifying the pipeline — see src/chronicle.ts.

🧱 Development & MR Flow

main is the stable baseline and only receives reviewed merge requests. All development happens on feature branches (feat/<name>), never directly on main.

Per-MR checklist:

  1. Branch from main; keep the change small and single-purpose.
  2. Full quality gate green (pnpm hygiene, pnpm test, node plugin-contract-test.mjs, node scripts/verify-dsh-contract.mjs, pnpm typecheck && pnpm build).
  3. Repo hygiene scan — pnpm hygiene — must exit 0. Deployment-specific terms go in a local .leak-patterns file (see .leak-patterns.example), never in the repo.
  4. Reviewer approves → merge to main → deploy from main.
  5. Production incidents revert on the spot (history stays in git); the reverted branch is rebased and re-MR'd with a fix.

Releases are tags. Pushing a v* tag runs the same gate as CI, verifies the tag matches package.json, and publishes the CHANGELOG section as the release notes — so a tag can never point at a commit that would have failed CI.

This is enforced because past direct-to-main experiments had to be rolled back as a multi-commit revert in one batch — feature branches keep main shippable at all times.

📦 Version & Release Policy

Two tracks, written down so nobody guesses:

  • preview track — development/experimentation. Pull the latest upstream (GitHub releases including alpha/rc, or master) and the newest bridge features; breakage is expected here.
  • stable track — production deployments. Pin the npm latest / release-candidate line. Production never runs an alpha.

Moving to a new harness version

The bridge consumes the harness through the plugin seam, so a harness upgrade can move the seam under it. The check is one command:

node scripts/verify-dsh-contract.mjs   # compares the bridge's host mirrors with upstream

It fetches the harness source it declares a contract against and fails when an entry the bridge mirrors has moved or vanished — run it before and after an upgrade. When it fails, the fix belongs in the bridge (src/bridge.ts, src/questions.ts), not in a pin: the bridge follows the newest harness, and the host-contract mirrors in those files are the single place that records what the seam looked like when it was last verified.

Two rules keep the upgrade honest:

  1. Upgrade the engine by switching trees, not by layering one on top. A dsh profile resolves the harness's own packages from the tree the CLI runs out of, so pointing the launcher at a new checkout is the whole switch. Side-by-side trees fight over the profile's node_modules.
  2. A profile declares only its own additions (this bridge, extra plugins). Harness packages are not profile dependencies — declaring them pins the profile to a version and hides the seam behind a stale copy.

Promoting preview → stable requires the full quality gate to pass: pnpm test → node plugin-contract-test.mjs → node scripts/verify-dsh-contract.mjs → pnpm typecheck && pnpm run build → live smoke.

❓ FAQ

Do I need a public IP or webhook? No. The transport is a WebSocket long connection; the app must use long-connection event subscription (self-built app).
Which models work? Any model routable by your dsh deployment — the bridge is model-agnostic and `/model` switches at runtime.
The agent says it sent a file but nothing arrives File delivery is default-deny: configure outbound.allowedFileDirs. URLs and raw buffers always work.
The slash panel is empty or partial after a restart Boot registers constant commands; the full panel sync runs on the first message of a session. Send the bot anything. If it stays empty, check the application:app_slash_command scope and publish an app version.
Will multiple machines / surfaces double-reply? No. Cloud arbitration is keyed per endpoint (deviceId:form:profile): exactly one surface replies at any moment, and if the active one goes silent the freshest endpoints elect a successor automatically on the next message.
How do I switch to a different Feishu app? /bot account save <name> archives the current credentials; later /bot account and tap Use on the card, then /restart (web) or restart Desktop. Multiple credential sets can live side by side.
What survives a restart? Sessions resume from their logs; active goals re-arm (autoResumeGoals); permission and preset choices ride with the session state.

🌍 Listings & Community

  • dshbase.com — listed & verified (headless L3: install + load + Q&A) · 中文页
  • awesome-dsh-plugin — merged
  • dsh-suite catalog — accepted (orchestration)

Issues and PRs welcome — design cards first, please.

📋 Known limitations

  • Transport-level config (credentials, requireMention, allowlists) is read once at startup; other config edits hot-reload via dsh Config-only HMR (/config shows live values)
  • Events during a long-connection outage are not replayed (no cursor); outbound sends are queued by the replay port
  • schedule_* model tools need composing @deepseek-ai/dsh-schedule in your profile

📄 License

BSD-3-Clause. Architecture inspired by dsh-lark (also BSD-3-Clause).

相关插件

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

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rPocketdsh-pocket把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫码即同步访问电脑上的 DSH(局域网 + 公网,实时同屏)。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。