wozoulesky/dsh-obsidian1

dsh-obsidian

把 DeepSeek Harness (DSH) 嵌入 Obsidian:聊天侧边栏、内联编辑、@提及与斜杠命令

AI 분석

将 DSH 作为 AI 助手无缝嵌入 Obsidian 笔记软件中,直接读写和检索库文件。适合重度 Obsidian 笔记用户进行 AI 协同创作。

패키지
dsh-obsidian
버전
0.1.1
라이선스
MIT
최근 업데이트
2026. 8. 16.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

DSH Bridge

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.

中文文档

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

  • Chat sidebar — streamed responses, tool-call cards, approval/question popups (retryable), session switching and creation, "load older" pagination, and automatic re-sync after reconnects
  • 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/plan, /compact, /feedback, /goal with autocomplete; Shift+Tab toggles plan mode with a status banner

Installation (local)

  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.

Development

npm install
npm run dev    # watch build
npm test       # unit tests (74)

Architecture

Transport: unary RPC over Node http (POST /api/, /api/respond); live events over a bundled ws WebSocket (/api/events.mux — the server rejects plain SSE with 426). A core layer folds session events into view models; a UI layer renders the sidebar and modals. See docs/superpowers/specs/2026-08-13-dsh-obsidian-design.md.