fufengyuan/dsh-council 预览 preview

fufengyuan/dsh-council

Plugin插件 Native原生 ⭐ 2 MIT Sessions & Context会话与上下文

dsh-council — 高智议会(Council of High Intelligence)for DeepSeek Harness 在 dsh(DeepSeek Harness)里召集历史人物议会,对复杂问题进行多视角结构化辩论,最终由主席综合裁决。

Project Overview项目介绍

dsh-council is a native DSH plugin that adds a multi-persona debate feature to DeepSeek Harness, adapted from the existing council-of-high-intelligence project. It can be installed two ways: users can add it directly as a git dependency via the DSH CLI, or clone the source code locally for development debugging. After installation completes, users must restart the DSH web service with the dsh-webctl restart command for the plugin to load correctly. It includes 18 pre-defined personas of famous historical thinkers, and adds DSH-specific UI and backend features that are not present in the original upstream project.

To start a debate, users run the /council command followed by their topic or question, and can select one of several modes to fit their use case: quick debate, two-person debate, three-person debate, full council with all 18 members, or a custom selection of members. Users can open the right-side DAG panel via the sidebar button to see a real-time progress visualization of the debate. Each node in the DAG links directly to the corresponding sub-session, making it easy to review individual contributions. This plugin is ideal for users who want multi-perspective analysis to support complex decision making.

The plugin has one optional dependency, js-yaml, which is used to read the model list from DSH’s settings file. If js-yaml is not present, the plugin automatically skips this functionality and works normally with its core features. All debate history and progress data is persistently stored in a local SQLite database located at ~/.dsh/council/council.sqlite, so data is not lost when the DSH service restarts. The plugin is licensed under the open-source MIT license, and includes an HTTP API for reporting debate progress that can be used for third-party custom extensions.

这是一个专为 DeepSeek Harness(DSH)开发的原生插件,基于 0xNyk/council-of-high-intelligence 项目适配而来,核心功能是让用户在 DSH 中召集 18 位历史知名人物作为议会成员,对复杂问题展开多视角结构化辩论,最终由主席总结输出结论。插件保留了原项目的技能层和成员人设,新增了 DSH 专属侧边栏入口、DAG 进度面板、SQLite 持久化等功能。

用户可以通过 /council 命令触发辩论,支持快闪、二人对辩、三人组、全员、自选成员等多种模式,还可以通过侧边栏按钮展开右侧 DAG 面板,实时查看辩论进度,点击节点即可跳转子会话,也支持针对每个项目在 .council.yaml 中固定默认面板和主席配置。适合需要对复杂问题获取多维度视角分析、辅助决策的 DSH 用户使用。

安装可以通过 git 依赖直接添加,也可以克隆源码到本地进行开发调试,安装完成后需要重启 DSH web 服务才能生效。插件有一个可选依赖 js-yaml,用于读取 DSH 设置中的模型列表,缺失不影响核心功能。项目采用 MIT 许可证开源,所有历史数据存储在 ~/.dsh/council/council.sqlite,重启不丢失。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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 git+https://github.com/fufengyuan/dsh-council.git

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

READMEREADME

dsh-council — 高智议会(Council of High Intelligence)for DeepSeek Harness

在 dsh(DeepSeek Harness)里召集历史人物议会,对复杂问题进行多视角结构化辩论,最终由主席综合裁决。

本项目基于 0xNyk/council-of-high-intelligence 开发,将其适配为 dsh 插件:技能层(SKILL.md + agents/)沿用原项目协议,新增了 dsh 专属的侧边栏入口、右侧 DAG 面板、SQLite 历史数据持久化与进度上报 API。

  • 18 位议会成员:亚里士多德、苏格拉底、孙子、阿达、费曼、托瓦兹、芒格、卡尼曼、塔勒布、卡帕西等
  • 右侧 DAG 面板:实时可视化辩论进度(议题 → 成员 → 主席),节点可点击跳转子会话,不遮挡左侧导航栏
  • 多种模式:--quick 快闪、--duo 二人对辩、--triad 三人组、--full 全员、--members 自选
  • 项目覆盖:通过 ./.council.yaml 固定每项目的默认 panel/chairman

截图

议会面板(右侧抽屉,不遮挡左侧导航栏)

议会面板

议会配置(设置 → 议会)

议会配置

功能

功能 说明
/council 命令 启动议会辩论,自动路由 panel 与模式
侧边栏入口 左侧栏底部「🏛️ 议会」按钮,点击展开/收起右侧面板
右侧面板 议题列表 + DAG 实时进度图,支持节点点击跳转子会话
历史持久化 SQLite 存储(~/.dsh/council/council.sqlite),重启不丢历史议题
进度上报 API /council/api/progress/report — 协调器通过 HTTP 上报每个成员的运行状态
配置持久化 ~/.dsh/council/config.json — 成员启用/禁用、模型映射、默认 chairman

安装

方式一:git 依赖(发布后推荐)

# 在 profile 目录执行
cd ~/.dsh/profiles/web
pnpm add dsh-council@git+https://github.com/fufengyuan/dsh-council.git
# 或
dsh plugin --profile web add git+https://github.com/fufengyuan/dsh-council.git

方式二:本地源码(开发调试)

git clone https://github.com/fufengyuan/dsh-council.git ~/.dsh/plugin-src/dsh-council
# 然后在 profile 的 package.json dependencies 里加:
# "dsh-council": "file:../../plugin-src/dsh-council"

两种方式装完都需重启 dsh web 服务:dsh-webctl restart。

可选依赖

js-yaml 用于读取 ~/.dsh/settings.yaml 的模型列表(optionalDependencies),缺失时自动降级跳过,不影响其他功能。

使用

# 在 dsh 会话里触发
/council 一个技术决策:前端项目应该用 TypeScript 还是 JavaScript?
/council --quick 是否应该引入缓存?
/council --triad architecture 用 monorepo 还是 polyrepo?
/council --full 我们 SaaS 产品怎么定价?
/council --members socrates,feynman,ada 我们的缓存策略对吗?
/council --duo 微服务还是单体?

侧边栏点「🏛️ 议会」展开/收起右侧面板,实时查看辩论 DAG。历史议题持久化在 ~/.dsh/council/council.sqlite,重启服务不丢失。

架构

council/
├── SKILL.md              # /council 命令的协调器指令
├── agents/               # 18 位议会成员 persona(council-{name}.md)
├── configs/              # auto-route-defaults.yaml(triads/profiles/极性对)
├── dsh/index.js          # 服务端 HTTP API(run 管理 + DAG 进度 + SQLite 持久化)
├── lib/client.js         # 客户端 UI(侧边栏按钮 + 右侧抽屉面板 + DAG 渲染)
├── package.json          # 插件元数据(dsh bundle/client 声明)
└── cordis.patch.yml      # bundle patch(挂载 dsh-council 插件)

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-cockpit 下一个 Next dsh-local-search →