dsh-vibe-assistant-bridge
DiscoveredDeepSeek Harness bridge plugin for Vibe Assistant: shared-memory injection, MCP observation, token usage, collection triggers, recall/skill tools
dsh-vibe-assistant-bridge
An open-source DeepSeek Harness (dsh) plugin that bridges your dsh sessions to Vibe Assistant (智管) — a local, privacy-first agent memory and governance workstation.
The plugin runs inside the dsh host with zero runtime npm dependencies (Node builtins only)
and talks to Vibe Assistant over loopback HTTP (http://127.0.0.1:9420 by default). Without
Vibe Assistant running, every background feature degrades silently and the tools return a
readable error — the plugin never disturbs your session.
Requirements
- dsh
>=0.2.0 <0.3.0(developer preview; the engine range is widened after each verified release) - Node.js
>=22 - Vibe Assistant running locally for full functionality (injection, telemetry, collection, tools)
Install
dsh desktop (Web UI) — open Plugins → Add plugin and paste the npm package name:
dsh-vibe-assistant-bridge
CLI — install into a profile with an exact version (the desktop's pnpm can lag behind a
fresh @latest publish for up to 24 h, so pin the version):
npx @deepseek-ai/dsh plugin --profile desktop add --save-exact dsh-vibe-assistant-bridge@0.1.0
From git / a local clone — the compiled lib/ bundle ships in the repository, so no build
step or prepare script is needed:
# from a GitHub ref
npx @deepseek-ai/dsh plugin --profile desktop add git+https://github.com/Zafer_Liu/dsh-vibe-assistant-bridge.git
# from a local checkout
git clone https://github.com/Zafer_Liu/dsh-vibe-assistant-bridge
npx @deepseek-ai/dsh plugin --profile desktop add ./dsh-vibe-assistant-bridge
Uninstall with dsh plugin --profile desktop remove dsh-vibe-assistant-bridge.
What it does
| Feature | Mechanism | Vibe Assistant endpoint |
|---|---|---|
| Memory injection | agent/pre-step — first step ≈ SessionStart injects L3+L2 shared memory; later steps re-pull and gate by content digest, so identical content is never injected twice | POST /memory/context?event=… |
| MCP observation | session/event tool/call × tool/result pairs under the mcp__<server>__<tool> namespace; only call boundaries and success/failure are reported — never arguments or result bodies | POST /mcp/observation |
| Token usage reporting | every assistant/message carrying usage becomes one usage record, attributed with the model tracked from model/selection events | POST /telemetry/usage |
| Session collection trigger | agent/turn-stopping notifies Vibe Assistant so L0→L1 memory extraction runs right after a session's turn closes, without waiting for a scan cycle | POST /collect/trigger |
| Memory tools | native dsh tools recall_memory and get_user_profile expose the shared memory center | POST /memory/recall, POST /memory/profile |
| Skill tools | native dsh tools list_shared_skills and read_shared_skill expose the published Skill library | POST /skills/list, POST /skills/read |
All six capabilities are independent: each is try/catch-isolated and can be switched off
individually. When the Vibe Assistant endpoint is unreachable, injection falls back to the
last locally cached snapshot (~/.dsh/profiles/desktop/plugins/vibe-assistant-memory-snapshot.md
by default), the background reports are dropped silently, and the four tools fail with a
readable error such as “Vibe Assistant is not running or unreachable at http://127.0.0.1:9420”.
Configuration
The defaults work with no configuration at all. To override, edit the plugin row's config
in your profile's cordis.patch.yml (write a same-id row in the user-level patch layer —
later layers win per row):
| Field | Type | Default | Description |
|---|---|---|---|
endpoint | string | http://127.0.0.1:9420 | Vibe Assistant local HTTP endpoint |
timeoutMs | number | 2000 | Per-request timeout for every bridge call |
maxInflight | number | 8 | Max concurrent fire-and-forget reports |
maxPending | number | 512 | Max remembered tool calls awaiting their call_end |
snapshotPath | string? | ~/.dsh/profiles/desktop/plugins/vibe-assistant-memory-snapshot.md | Offline injection fallback; null disables it |
features.injection | boolean | true | Memory injection |
features.observation | boolean | true | MCP call observation |
features.usage | boolean | true | Token usage reporting |
features.collect | boolean | true | Session collection trigger |
features.tools | boolean | true | The four memory/skill tools |
Example — turn off telemetry reporting only:
- id: vibe-assistant-bridge
config:
features:
usage: false
Development
npm install
npm run build # tsdown → lib/
npm test # vitest
npm run typecheck
Runtime code imports Node builtins only; @deepseek-ai/cordis stays a devDependency for
types, and the four tools register with raw JSON Schema — keeping the plugin resilient to
host churn during the dsh developer preview.
License
Comments
Loading…
Similar plugins
by KKL08
Memory plugin with built-in curation and governance for DeepSeek Harness: 为你的 DSH 赋予可塑性记忆
★ 3
MIT
TypeScript
Oct 28, 2026
dsh plugin --profile web add dsh-plastic-memoryby LoveDoLove
Codebase Memory MCP bridge plugin for DeepSeek Harness: knowledge-graph code search, AST snippets, architecture analysis, call-graph tracing, auto-started graph UI, bundled skill, and /cbm command.
★ 2
MIT
JavaScript
Oct 4, 2026
dsh plugin --profile web add @lovedolove/dsh-codebase-memory-mcpby Zh-U-hB
DeepSeek Harness plugin: route image-bearing messages to a user-configured OpenAI-compatible vision endpoint when the active text model cannot see images
★ 0
MIT
TypeScript
Aug 16, 2026
dsh plugin --profile web add @deepseek-ai/dsh-vision-bridgeby smter
DeepSeek Harness plugin: connects the codebase-memory-mcp code graph, nudges the model at the decision point, corrects failed MCP calls, and indexes repositories by itself.
★ 0
MIT
JavaScript
Oct 14, 2026
dsh plugin --profile web add dsh-codebase-memoryby guyuefangyuanl
Cross-session persistent memory for the DeepSeek Harness: a model-facing memory tool, an always-on index section, and a bundled maintenance skill.
★ 3
↓ 370/wk
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-memoryby guntur-d
Persistent cross-session memory plugin for DeepSeek Harness: workspace-scoped durable facts with memory_write/list/search/forget tools and bounded prompt injection
★ 0
TypeScript
Aug 14, 2026
dsh plugin --profile web add @guntur-d/dsh-memory