DeepSeek Harness Native

by wuruihi
5
4
3
2
1
Score: 31/100

Description

The DeepSeek Harness Native plugin embeds the local DeepSeek Harness panel in the note sidebar, keeping its agent conversations, code execution and document retrieval within the workspace. It connects only to a DSH service on 127.0.0.1 and can start that service automatically when the panel opens. Notes or selected content can be sent to DSH, while generated results can be written back into the vault. The panel supports new, existing and historical sessions, streams DSH responses with reasoning content and provides controls for switching between DeepSeek V4 Flash and Pro models. Queue and steer execution modes are available from the panel. Its settings cover the service port, startup command, automatic launch, vault workspace path and sending mode, with DSH listening on port 3080 by default.

Reviews

No reviews yet.

Stats

5
stars
1,133
downloads
0
forks
95
days
34
days
34
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
2
total issues
2
open issues
0
closed issues
48
commits

RequirementsExperimental

  • DeepSeek Harness (DSH) installed locally

Latest Version

a month ago

Changelog

0.7.11 — 转录显示修复 + 消息级对齐 VSCode

修:自己的消息在 AI 回复后消失

turn 结束后插件会从历史全量重建 DOM;历史渲染此前仍走「本地已发送」文本去重,同一会话里前一条同文消息会把最新一条顶掉。现在历史回放(权威源)只剥注入、不按文本去重,重复发送同一句话也逐条保留。

修:回复里混入注入提示词

DSH 0.2.0+ 给每条 user/message 带 source.kind,一次发送实际是「1 条 user + 若干注入帧」(agent-instructions / runtime-context / time-context / skill-catalog / plugin:* / model-selection / user-approval)。现在只渲染 kind === "user",其余整条丢弃;旧宿主无该字段时按文本头兜底。

消息级对齐 VSCode(批次 2)

  • 同轮连续工具合并「工具组 · N 步」,工具行补状态圈/分类图标/子代理·编辑徽标
  • 助手消息去掉 role 行;回合分叉线「第 N 轮」;操作条只保留复制
  • 用户消息附件 chip(历史也渲染)、图片点击放大
  • 审批/提问:跨会话来源徽标(可点击切换)、方案审阅标签/批准高亮/计划详情 Markdown
  • 修审批 outcome:allowed → allowed-once(网关枚举,旧值会被拒)

验证

14 项回归全绿(fold 46 / view 7 / render 13 / question 13 / fence 15 / model 22 / stats 11 / perm 14 / instance 22 / instance-live 5 / auth 6 / execute 10 / wsgroup 10 / args-audit 0 漂移);真机核验 106 条历史无注入泄漏、5 条「你好」全保留。

安装

Obsidian → 设置 → 第三方插件 → 检查更新;或手动替换 main.js / manifest.json / styles.css。

README file from

Github

DeepSeek Harness Native(DSH 原生面板)

一个 Obsidian 插件,让你直接在笔记侧边栏里打开本地 DeepSeek Harness(DSH)面板,不用切到浏览器。把 DSH 的智能体对话、代码执行、文档检索能力嵌进你的笔记工作流,并自动管理本地 DSH 服务。

隐私:本插件只连接你本机的 127.0.0.1 上的 DSH 服务,不向任何第三方发送数据。

它能做什么

  • 侧边栏面板:在 Obsidian 内打开 DSH 对话界面。
  • 双向桥接:一键把当前笔记内容发给 DSH,结果回写 vault。
  • 模型与权限:底部切换模型(DeepSeek V4 Flash / Pro)与执行权限(queue / steer)。
  • 服务自动管理:启动命令留空即自动探测本机 DSH(PATH 上的 dsh、~/dsh、~/deepseek-harness …),打开面板时若本地 DSH 未运行则自动拉起;内置「一键安装」克隆并安装 DSH。
  • 历史与会话:新建 / 切换 / 历史会话,自动渲染 DSH 流式回复(含思考链)。

安装方式一:手动放置(推荐,最简单)

适合从网盘/聊天记录拿到压缩包的用户。

  1. 下载 压缩包 deepseek-harness-native-x.x.x.zip 并解压,会得到文件夹 deepseek-harness-native/。
  2. 打开你的 vault 文件夹(Obsidian 里:打开命令面板 → 输入 打开 vault 所在文件夹 并回车)。
  3. 进入里面的 .obsidian/plugins/ 目录(.obsidian 是隐藏文件夹,需显示隐藏文件)。
  4. 把解压出来的 deepseek-harness-native/ 整个文件夹复制进去,和已有的其他插件并列。
  5. 重启 Obsidian(或命令面板执行 重新加载应用 / 开发者模式下点插件旁边的刷新按钮)。
  6. 打开 设置 → 第三方插件 → 已安装,找到 DeepSeek Harness Native,点开关启用。
  7. 首次启用会弹出 「是否信任来自互联网的插件」 提示,点 「信任作者并启用」 即可。

提示:目录名必须是 deepseek-harness-native(和 manifest 里的 id 一致),改名会导致 Obsidian 识别不了。


安装方式二:BRAT(可自动更新,可选)

适合愿意用 Beta 插件安装器、希望以后一键升级的用户。

  1. 在 Obsidian 社区插件市场安装 BRAT。

  2. 打开 BRAT 设置 → Add a beta plugin。

    https://github.com/wuruihi/obsidian-deepseek-harness-native
    
  3. 启用插件(同样需要信任提示)。以后有新版本,在 BRAT 里点 Check for updates 即可升级。


前置条件

本插件是 DSH 的「界面」,本身不含 DSH 引擎。使用前你需要在本机装好 DSH:

  • 推荐:用桌面版 App(DeepSeek Harness)。插件默认「连接的 DSH 实例 = 自动」,会优先附身已经打开的桌面版(端口运行时自动发现——DSH 0.2.1 起桌面版端口每次启动都变,不再固定 19387),与桌面版/GUI 共享同一批会话;桌面版没打开时会自动帮你打开(可在设置里关)。
  • 或手动装旧版 CLI(dsh web,默认 127.0.0.1:3080):装好后把插件设置里的「启动命令」留空(推荐:自动探测),或填写你自己的启动方式(插件会以 vault 为工作目录启动它),并把「连接的 DSH 实例」切成「旧版 dsh web」。
  • 一键安装(仅对旧版 CLI 形态):设置 → DSH Native → 一键安装,会自动克隆并安装。

连不上时先看插件设置:「连接的 DSH 实例」选自动,再点面板上的「诊断 DSH」——诊断会列出「桌面版端口自动发现了哪些」「各候选探活结果」,并直接告诉你下一步该做什么。


基本使用

  • 命令面板执行 打开面板 打开侧边栏面板。
  • 在输入框输入问题,回车发送;底部可切换模型与执行模式。
  • 选中笔记内容后执行 发送当前笔记到 DSH,把笔记发给 DSH 处理。

设置项

设置页分三段:常用(日常会动的)、快捷操作(动作按钮)、高级(技术设置,默认收起)。

位置 项目 说明
常用 DSH 安装状态 检查是否装好 DSH;未装可「一键安装」(旧版 CLI 形态)
常用 连接的 DSH 实例 自动(默认,运行时发现桌面版 App 端口,其次旧版 dsh web)/ 桌面版 App(端口自动发现)/ 旧版 dsh web(自定义端口)
常用 旧版 dsh web 端口 只在选「旧版 dsh web」时出现
常用 找不到实例时自动打开桌面版 App 连不上时自动拉起桌面版(找不到安装位置只提示)
常用 现在打开桌面版 App 手动拉起桌面版;插件不接管它的生命周期(不会重启/杀掉它)
常用 自动启动 仅「旧版 dsh web」模式:端口无服务时自动运行启动命令
常用 发送模式 queue(追加排队)/ steer(打断插队)
常用 框选发送按钮 / 发送后自动打开面板 两个交互开关
快捷操作 在浏览器打开 DSH / 重启 DSH 服务 / 一键检测并填入 动作按钮(重启只对旧版实例生效;桌面版实例只重连/帮忙打开)
高级 启动命令 留空 = 自动探测本机 DSH 安装(推荐,跨机器可用);也可手填,{port} 自动替换;需以 vault 为 cwd
高级 Vault 路径 / 安装目标目录 / 启动等待时间 / 进程独立常驻 / 安装地址 / 鉴权 Token 技术项,通常不用动
高级 插件版本 当前加载的 main.js 构建标识(版本号 + 加载时间),排障时对照用

许可证

MIT © wupang

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Code Emitter
4 years ago by YISH
An obsidian plugin that allows code blocks executed interactively in sandbox like jupyter notebooks. Supported language rust、kotlin、python、Javascript、TypeScript etc.
RunJS
3 years ago by eoureo
Let's run JavaScript easily and simply in Obsidian.
JS Engine
3 years ago by Moritz Jung
An Obsidian plugin that offers a multiple ways to run JavaScript from within Obsidian.
CAO
2 years ago by Godot
Claude AI for Obsidian
LLM Tagger
2 years ago by David Jayatillake
deepseek-ai-assistant
a year ago by algernon
Private AI
a year ago by GB
Effortlessly chat with your Obsidian notes using a privacy first LLM. Private by design, your notes never leave the device and use local processing only.
Mini-RAG
a year ago by John Wheatley
Nova
10 months ago by Shawn Duggan
Nova - AI plugin for Obsidian that edits your documents directly through natural conversation. Stop copying from chat, start collaborating with AI.
Agent Client
6 months ago by rait-09
Bring AI agents into Obsidian via Agent Client Protocol (ACP), such as Claude Code, Codex and Gemini CLI.
Note Companion
6 months ago by nexus-jpf
Note Companion: AI assistant for Obsidian that goes beyond just a chat. (prev File Organizer 2000)
Personal Assistant
6 months ago by edonyzpc
A plugin that harnesses AI agents and streamlining techniques to help you automatically manage Obsidian.
Claudian
4 months ago by Yishen Tu
An Obsidian plugin that embeds Claude Code, Codex and other agents as an AI collaborator in your vault.
Neural Composer
4 months ago by Oscar Campo
AI-Powered Graph Memory for Obsidian
Sidet
4 months ago by Jiao Yingxing
流畅自然的 AI 对话体验,移动端也出色。A smooth, natural AI chat experience that also works great on mobile.
Local LLM Hub
4 months ago by TAKESHI MORITA
All-in-one local AI hub for Obsidian — LLM chat with vault tools, MCP servers, RAG, workflow automation, encryption, and edit history. Fully private, no cloud required.
Yuhanbo Task
4 months ago by yuhanbo
Obsidian 智能任务管理与番茄时钟插件,集成 AI 智能拆分的任务管理系统,配备专业番茄时钟,提升工作效率。
Workbuddian
3 months ago by jiang198012
Obsidian 插件:把本地 CodeBuddy CLI 或 Hermes agent 变成 vault 内 AI 聊天——流式回复、@引用、双后端切换。Obsidian plugin turning local CodeBuddy CLI or Hermes agent into an in-vault AI chat with streaming, @-references, and dual backends.
WorkBuddy
3 months ago by Jason
obsidian plugin for workbuddy
ICOR for Life - Chat
3 months ago by Paperless Movement S.L.
Talk to your AI team where the knowledge lives. A Claude chat inside the vault: it sees the note you have open and the text you selected, answers in readable ICOR cards, and archives your sessions as notes. Part of the ICOR for Life suite.
Qiaomu Reader
2 months ago by 向阳乔木
已上架 Obsidian 社区插件市场:搜索 Qiaomu Reader 安装。Read EPUB, PDF and MOBI, highlight passages, keep linked notes and ask optional AI.
AXXA Agent
2 months ago by AXXA Lab™
AI chat, Vault Q&A and an agent that edits your notes, built mobile-first. OpenAI, Claude, Gemini, OpenRouter, NVIDIA NIM or local Ollama, with your own API key. Obsidian plugin.