morlay/dsh-plugin

Plugin插件 ⭐ 9 MIT Sessions & Context会话与上下文

DeepSeek Harness Plugin 自用开发插件集合:@deepseek-ai/ 只读,扩展只走 cordis 插件层(plugin / patch bundle / settings namespace)。

catalog descriptioncatalog 简介 / catalog description:dsh plugins

Project Overview项目介绍

This is a native plugin monorepo built exclusively for DeepSeek Harness, adding branch-based session editing capabilities to the base DSH installation without modifying any upstream @deepseek-ai source code. It delivers a full feature set for in-place message editing, retyping responses, reverting changes, and forking new conversation branches from any existing point. The repository is organized into a layered structure of packages grouped by functional families, including session logic, client UI, LLM adapters, presets, sandboxing, and desktop tooling, with each sub-package handling one specific layer of functionality.

It is targeted at DSH users who need to manage multiple inference paths within a single conversation and retain a complete record of all edit history. A common workflow is that when a user is unsatisfied with the current generated response, they can rewind to any previous message node and spawn a new branch with an alternate response. They can also edit any existing historical message at any time, and all changes are persisted to a version tree so no historical context is ever lost, letting users explore different solution paths freely.

The project is released under the open source MIT license, and as a monorepo it includes shared development configuration, a sample working workspace, and tools for syncing with upstream DSH code. To install the plugin from source, you will need a package manager that supports monorepo structures like pnpm, and contributors can use the shared dev config to build custom versions. Some desktop-specific features rely on the Electron runtime, so they may not work correctly when running DSH in standard web mode.

这是一个专为 DeepSeek Harness 开发的分支式会话编辑原生插件单仓库,在不修改上游 @deepseek-ai/* 源码的前提下,为 DSH 会话提供了就地编辑、重试、撤回、分支(rewind/retry/recall/fork)的完整功能闭环。仓库按功能族分层组织包结构,分为会话、客户端、大模型适配、预设、沙箱、桌面等多个分组,每个子包负责特定层级的功能,从抽象契约到 UI 实现和持久化都有清晰拆分。

适合需要在同一会话内管理多条推理路径、保留完整历史编辑轨迹的 DeepSeek Harness 用户。典型工作流是,用户对当前大模型生成的回复不满意时,可以就地回退到任意历史消息节点,新建分支生成不同方向的回复,也可以随时编辑已有的历史消息内容。所有修改都会持久化保存到会话的版本树中,不会丢失任何历史上下文分支。

本项目采用 MIT 许可证开源,作为模块化单仓库结构,它不仅包含功能代码,还附带了共享开发配置、示例工作区和上游同步工具,方便开发者进行二次修改或参与贡献。安装需要依赖 pnpm 或兼容的包管理器处理 monorepo 结构,部分桌面功能依赖 Electron 环境,web 模式下部分专属功能可能无法正常使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 9 stars - very few users, little community feedback星标只有 9,几乎没人在用,遇到问题缺少社区反馈
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:morlay/dsh-plugin

把 morlay/dsh-plugin 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Plugin(s)

DeepSeek Harness Plugin 自用开发插件集合:@deepseek-ai/* 只读,扩展只走 cordis 插件层(plugin / patch bundle / settings namespace)。

一个工作区 profile = dsh.profile.bundles 顺序应用的一串 bundle patch;每个 bundle 聚合一个领域——它插的行与那些行要的配置值住在同一个包里(面向模型的功能行清单归会话挂着的 shipped preset,本部署不自建 preset),能力包只发布实现与装配数据(rows)出口。布局与装配的 home 是系统设计,上下文边界与术语归属见上下文地图。

包

装配入口是 bundles/ 的五个 bundle;能力包(packages/<family>/<pkg>,family 只是目录分组)由它们展开,各包的门面与用法在它自己的 README.md:

better-session · session-mode-profile · sandbox-profile · ollama-provider-profile · mydsh-profile

非发布部分:示例工作区 apps/dsh-custom-next(装配声明在这里)、共享开发配置 devpackages/devkit、上游 side workspace vendor/。

agent 工作指引见 AGENTS.md,记录树的布局与命名见 .agents/README.md;命令与版本见 justfile / mise.toml。

← 上一个 Prev dsh-desktop 下一个 Next dsh-plugin-gather →