Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

DSH Bridge

skysky410 downloads

Embed your local DeepSeek Harness (DSH) agent in Obsidian to chat, edit, and manage notes in your vault.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates7

Embed your locally running DeepSeek Harness (DSH) into Obsidian as an AI collaborator: your vault becomes its working directory, and DSH can read, write, and search your notes directly.

中文文档

Why this plugin

Most Obsidian ↔ agent bridges wrap a web UI or shell out to a CLI. This one is a native client: it speaks DSH's own RPC and event stream, then renders everything with Obsidian's own UI.

  • Native, not embedded — chat, tool cards, approvals and plan mode are real Obsidian UI: your theme, your fonts, your hotkeys.
  • Inline edit with a word-level diff — select text, give an instruction, review the diff, apply; Cmd+Z undoes it.
  • Approvals land where you are — DSH's write/exec confirmations and its questions appear inside the panel, no window switching, and they survive a reconnect.
  • Connection diagnosis — 401 / 404 / connection-refused are translated into an actionable conclusion (Settings → Diagnose connection).
  • Engineered to last — 550+ unit tests, strict TypeScript build, byte-reproducible artifacts, listed in the community directory.

The plugin is a client, not a runtime: it needs a local DSH to talk to (see Prerequisites). If something looks wrong, the diagnose button will tell you which of the two it is.

Prerequisites

  • A running DSH instance on your machine (default http://127.0.0.1:3080)
  • Your vault must be inside DSH's accessible directory scope (decided by DSH's sandbox / workspace config)
  • Obsidian ≥ 1.7.2, desktop only

Features

Conversation

  • Chat sidebar — streamed responses, tool-call cards, session switching and creation, "load older" pagination, and automatic re-sync after reconnects
  • Approval & question popups — retryable, grouped per session, replayed after a reconnect
  • Thinking process — collapsible reasoning block above each reply, streamed live and folded once the turn completes
  • Image attachments — attach images from your vault to a prompt; the agent reads them directly

Editing your notes

  • Inline edit — select text + hotkey → instruction → word-level diff preview → apply (editor selection is re-validated before applying; large selections degrade to a plain confirm dialog)
  • @mentions — type @ to pick vault files (@file:path, content injected) or folders (@folder:path, directory tree injected), with truncation and missing-file notices
  • Slash commands & plan mode — commands come from the running DSH (so the list always matches your install), plus the local /clear; Shift+Tab toggles plan mode with a status banner

Context & control

  • Model & reasoning effort — pick provider/model and reasoning effort from the panel; the list is grouped from your DSH model catalog
  • Context usage — a status line showing projected tokens against the context window, plus output tokens
  • Todo list — the agent's live todo list with pending / in-progress / completed states
  • Goal panel — view and control a long-running goal (create / pause / resume / complete / clear)

Long sessions stay bounded: when DSH compacts history, replaced messages collapse into the summary instead of piling up.

Screenshots

Chat sidebar @ Mention picker
Chat sidebar with streamed conversation @ mention file picker
Inline edit diff preview Approval popup
Inline edit word-level diff preview DSH tool approval popup
Thinking process & context usage Todos & goal
Collapsible reasoning block while streaming, with the context/usage status line Live todo list with three states and the goal bar
Model & reasoning effort Connection diagnosis
Model dropdown grouped by provider, next to the reasoning-effort selector Settings → Diagnose connection reporting a healthy connection

Installation (Community Plugins)

  1. Settings → Third-party plugins → Browse → search DSH Bridge → Install → Enable (desktop only)
  2. Make sure DSH is running locally (default http://127.0.0.1:3080)

Prefer a manual install? Grab the latest artifacts from the GitHub releases page and extract them into vault/.obsidian/plugins/dsh-bridge/.

Installation (local / dev)

  1. npm install && npm run build
  2. Copy main.js, manifest.json, and styles.css into vault/.obsidian/plugins/dsh-bridge/
  3. Settings → Community plugins → enable "DSH Bridge"

Privacy

All data flows through your local DSH to its configured model providers, using the same policy as the DSH Web GUI. The plugin sends no telemetry.

Translations / Localization

The plugin ships with all UI strings in a key-value table (built-in default: Chinese). To switch the UI to another language:

  1. In the plugin settings tab, click Export i18n template — this creates dsh-bridge.i18n.json at the root of your vault (visible in Obsidian's file explorer).
  2. Replace the values with your translations (or hand the file to your local DSH / any translator).
  3. Reload Obsidian (or disable/enable the plugin) to apply — repeatable.

The vault-root file takes priority; a legacy i18n.json inside the plugin directory (.obsidian/plugins/dsh-bridge/) is still read as a fallback. Missing keys or invalid JSON silently fall back to the built-in defaults. In v0.1.x, model-facing instructions (inline-edit prompt, @mention expansion) intentionally remain in Chinese; the UI-only string table is safe to translate.

Development

npm install
npm run dev    # watch build
npm test       # unit tests

Architecture

Transport: unary RPC over Node http (POST /api/<namespace>/<method> with {args} payload + self-signed browser-session cookie); live streams over a bundled ws WebSocket (/api/remote.mux — session/follow, session/control, $events). A core layer folds session events into view models; a UI layer renders the sidebar and modals.

DSH compatibility

DSH version line Plugin version Status
0.1.5 line (verified on 0.1.5-rc.1) 0.1.6+ (incl. 0.1.7) ✅ Verified end to end on a real vault (2026-09-13): streamed output, approvals, inline-edit diff, reconnect
0.1.2 line (0.1.2-rc.1, 0.1.2) 0.1.5+ ✅ Supported — the contract this plugin was built against. 0.1.6+ keeps it working through capability probing: the 0.1.5 streaming channel is requested field by field and dropped automatically if the server rejects it. Verified on a real machine at plugin 0.1.5, covered by unit tests since
before 0.1.2 (e.g. 0.1.0-rc.6) ≤ 0.1.4 ❌ Not supported — returns 401/404. Upgrade DSH, or stay on plugin 0.1.4
newer than the verified line latest plugin ⚠️ Unverified — DSH ships often and has already changed this plugin's contract twice (0.1.2 → 0.1.5). If the panel breaks after a DSH upgrade, check for a plugin update first

Direct filesystem access (disclosed for community review): DSH's browser-session authentication requires reading the signing secret from ~/.dsh/.credentials.yaml (the DSH process's credentials store, outside the vault). The plugin reads this file read-only — it never writes, never logs its contents, and only uses the secret to sign the per-request cookie required by DSH's browser-session API (0.1.2-rc.1 onwards). The vault API cannot reach this path (it is outside the vault root), so Node fs is required for this one purpose.

Related

  • obsidian-project-management — the Obsidian-based project management skill that governs this plugin's development workflow (project records are tracked in a local Obsidian vault).
HealthExcellent
ReviewSatisfactory
About
Embed a local DeepSeek Harness (DSH) as an AI collaborator in Obsidian, letting DSH read, write, and search your vault as its workspace. Open a chat sidebar with streaming replies, tool cards, approval prompts and session controls; perform instruction-driven inline edits with word-level diff previews, inject file content via @mentions, and use slash commands like /plan and /feedback. Keep data local: the plugin forwards data to your running DSH service for model access and emits no telemetry.
AISidebarEditing
Details
Current version
0.1.8
Last updated
6 days ago
Created
Last month
Updates
7 releases
Downloads
410
Compatible with
Obsidian 1.7.2+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
skyskywozoulesky
GitHubwozoulesky
  1. Community
  2. Plugins
  3. AI
  4. DSH Bridge

Related plugins

Gemini Scribe

Allows you to interact with Gemini and use your notes as context.

Claude Sidebar

Run Claude Code in your sidebar.

Notebook Navigator

A better file browser and calendar inspired by Apple Notes, Bear, Evernote and Day One.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Claudian

Embeds Claude Code/Codex and other local Agents as AI collaborators in your vault.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.

Tag Wrangler

Rename, merge, toggle, and search tags from the tag pane.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Advanced Tables

Improved table navigation, formatting, and manipulation.