{"_id":"@a1exsun/dsh-council","name":"@a1exsun/dsh-council","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@a1exsun/dsh-council","version":"0.1.0","description":"Multi-model council deliberation for DeepSeek Harness","license":"MIT","repository":{"type":"git","url":"git+https://github.com/a1exsun/dsh-council.git"},"homepage":"https://github.com/a1exsun/dsh-council#readme","bugs":{"url":"https://github.com/a1exsun/dsh-council/issues"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["dsh-plugin","deepseek-harness","llm-council","multi-agent","deliberation"],"type":"module","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./cordis.patch.yml":"./cordis.patch.yml","./package.json":"./package.json"},"scripts":{"build":"tsdown","prepack":"pnpm run build","test":"vitest run","test:coverage":"vitest run --coverage","typecheck":"tsc --noEmit","check":"pnpm typecheck && pnpm test && pnpm docs:check && pnpm build","docs:check":"node scripts/check-docs.mjs","test:host":"pnpm build && node scripts/test-host.mjs"},"engines":{"node":"^22.19.0 || >=24.0.0"},"packageManager":"pnpm@11.7.0","dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"dependencies":{"@deepseek-ai/schemastery":"3.18.2"},"peerDependencies":{"@deepseek-ai/cordis":">=4.0.2","@deepseek-ai/dsh-llm":">=0.1.2-rc.1","@deepseek-ai/dsh-tools":">=0.1.2-rc.1"},"devDependencies":{"@deepseek-ai/cordis":"4.0.2","@deepseek-ai/dsh-agent":"0.1.2-rc.1","@deepseek-ai/dsh-attachment":"0.1.2-rc.1","@deepseek-ai/dsh-code-runtime":"0.1.2-rc.1","@deepseek-ai/dsh-commands":"0.1.2-rc.1","@deepseek-ai/dsh-invariants":"0.1.2-rc.1","@deepseek-ai/dsh-llm":"0.1.2-rc.1","@deepseek-ai/dsh-scope":"0.1.2-rc.1","@deepseek-ai/dsh-session":"0.1.2-rc.1","@deepseek-ai/dsh-session-projection":"0.1.2-rc.1","@deepseek-ai/dsh-session-title":"0.1.2-rc.1","@deepseek-ai/dsh-settings":"0.1.2-rc.1","@deepseek-ai/dsh-subagent":"0.1.2-rc.1","@deepseek-ai/dsh-system-prompt":"0.1.2-rc.1","@deepseek-ai/dsh-tools":"0.1.2-rc.1","@deepseek-ai/dsh-user-approval":"0.1.2-rc.1","@deepseek-ai/dsh-user-questions":"0.1.2-rc.1","@types/node":"^22.20.0","@vitest/coverage-v8":"4.1.11","tsdown":"^0.22.2","typescript":"^6.0.3","vitest":"^4.1.8"},"_id":"@a1exsun/dsh-council@0.1.0","_integrity":"sha512-gt83D2Htyw65c8bNegWzF5QBGyxIU/VhjmdiT4maayyNOPv0JydMwHQC7VyScd23M6v00Xm0tZ6XNymmejo/ww==","_resolved":"/tmp/dsh-council-npm-release.8risyj/a1exsun-dsh-council-0.1.0.tgz","_from":"file:/tmp/dsh-council-npm-release.8risyj/a1exsun-dsh-council-0.1.0.tgz","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-gt83D2Htyw65c8bNegWzF5QBGyxIU/VhjmdiT4maayyNOPv0JydMwHQC7VyScd23M6v00Xm0tZ6XNymmejo/ww==","shasum":"ea0772c79cfe37ada750ee12237d7c639a61aa73","tarball":"https://registry.npmjs.org/@a1exsun/dsh-council/-/dsh-council-0.1.0.tgz","fileCount":14,"unpackedSize":150739,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDwJ3pHT2HPNzRgClF4a/l6rjUPwC0NX2G6ruMfyN4skgIhALWlREr4P94LpFPbhbdlZY+FlhUzq75EJ/UkvMDatFis"}]},"_npmUser":{"name":"a1exsun","email":"me@xsun.work"},"directories":{},"maintainers":[{"name":"a1exsun","email":"me@xsun.work"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-council_0.1.0_1788851022834_0.365358884877772"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-08T07:03:42.646Z","0.1.0":"2026-09-08T07:03:42.960Z","modified":"2026-09-08T07:03:43.136Z"},"maintainers":[{"name":"a1exsun","email":"me@xsun.work"}],"description":"Multi-model council deliberation for DeepSeek Harness","homepage":"https://github.com/a1exsun/dsh-council#readme","keywords":["dsh-plugin","deepseek-harness","llm-council","multi-agent","deliberation"],"repository":{"type":"git","url":"git+https://github.com/a1exsun/dsh-council.git"},"bugs":{"url":"https://github.com/a1exsun/dsh-council/issues"},"license":"MIT","readme":"<div align=\"center\">\n\n<p><a href=\"README.md\">English</a> · <strong>简体中文</strong></p>\n<h1>DSH Council</h1>\n<p><strong>独立作答，匿名互评，汇总裁决。</strong></p>\n<p>运行在 <a href=\"https://github.com/deepseek-ai/deepseek-harness\">DeepSeek Harness</a> 对话中的多模型议会插件。</p>\n\n<p>\n<img src=\"https://img.shields.io/badge/DSH-plugin-6D5DFB?style=flat-square\" alt=\"DSH 插件\">\n<img src=\"https://img.shields.io/badge/TypeScript-strict-3178C6?style=flat-square\" alt=\"严格 TypeScript\">\n<img src=\"https://img.shields.io/badge/Node.js-22.19%2B%20%7C%2024%2B-339933?style=flat-square\" alt=\"Node.js 22.19+ 或 24+\">\n<img src=\"https://img.shields.io/badge/languages-English%20%2F%20中文-222222?style=flat-square\" alt=\"英文与中文\">\n</p>\n\n<p><a href=\"#安装\">安装</a> · <a href=\"#工作流程\">工作流程</a> · <a href=\"#配置\">配置</a> · <a href=\"#参与贡献\">参与贡献</a></p>\n\nhttps://github.com/user-attachments/assets/e81dfa36-5d93-4efb-8c67-015a5e4d2179\n\n\n</div>\n\n---\n\n## 工作流程\n\n<table>\n<tr>\n<td width=\"33%\" valign=\"top\">\n<h3>01 · 回答</h3>\n<p>2–8 个模型并行、独立作答。</p>\n</td>\n<td width=\"33%\" valign=\"top\">\n<h3>02 · 评审</h3>\n<p>1–8 个评审人比较匿名回答、指出遗漏并排名。</p>\n</td>\n<td width=\"33%\" valign=\"top\">\n<h3>03 · 裁决</h3>\n<p>一个裁决人综合回答与评审，给出最终建议。</p>\n</td>\n</tr>\n<tr>\n<td colspan=\"3\">\n<p><strong>使用已有模型。</strong>复用 DSH 已配置的模型和凭据，各角色独立选择，同一模型可参与多个角色。中英文交互跟随 DSH 的语言设置。</p>\n<p><strong>检查完整结果。</strong>查看置信说明、共识、分歧、盲点、模型身份和平均排名。原始回答与评审保留在 DSH 子会话中。</p>\n</td>\n</tr>\n</table>\n\n## 安装\n\n### 1. 安装 DSH\n\n前往 [DeepSeek Harness（dsh）官网](https://www.deepseek.com/harness/)，按照官方指南完成安装。\n\n### 2. 安装 DSH Council\n\n<table>\n<tr>\n<th>Node.js</th>\n<th>pnpm</th>\n<th>DeepSeek Harness</th>\n</tr>\n<tr>\n<td><code>^22.19.0 || >=24.0.0</code></td>\n<td><code>11.7.0</code></td>\n<td>已配置并认证至少两个模型</td>\n</tr>\n</table>\n\n从 npm 安装已编译的插件包：\n\n```sh\nnpx --yes @deepseek-ai/dsh@latest plugin --profile web add @a1exsun/dsh-council@0.1.0\nnpx --yes @deepseek-ai/dsh@latest web\n```\n\n<blockquote><p>如果 DSH Web 已在运行，请重启。</p></blockquote>\n\n无需克隆源码或编译。开发环境设置请参阅[贡献指南](CONTRIBUTING.md)。\n\n## 需要更多模型 provider？\n\n<a href=\"https://app.codebestie.org/register?aff=RA3Z7CMJW2SS\">\n<img src=\"docs/assets/codebestie-banner.zh.svg\" width=\"100%\" alt=\"CodeBestie — 探索更多模型服务。注册时请填写邀请码 RA3Z7CMJW2SS。\">\n</a>\n<p align=\"center\">注册时请填写邀请码：<strong><code>RA3Z7CMJW2SS</code></strong></p>\n\n## 使用\n\n在 DSH Web 对话中输入：\n\n```text\n/council\n```\n\n<table>\n<tr>\n<td width=\"35%\" valign=\"top\">\n<h3>选择模型阵容</h3>\n<p>选择回答人、评审人和裁决人。模型选择仅用于本轮。</p>\n</td>\n<td width=\"65%\" valign=\"top\">\n<h3>输入议题</h3>\n<p>参与者使用全新上下文，请在议题中提供所需信息。</p>\n</td>\n</tr>\n</table>\n\n<details open>\n<summary><strong>议题示例</strong></summary>\n\n> 为三个工作进程比较 PostgreSQL 租约与托管消息队列。说明工作进程在产生外部副作用后、确认任务前崩溃时，两种方案各自如何恢复。推荐一种设计并说明假设。\n\n</details>\n\n<table>\n<tr>\n<td width=\"33%\" valign=\"top\">\n<p><strong>费用</strong></p>\n<p>每轮有 4–17 个模型参与者，每个参与者可能进行多次请求并使用 Web 工具。</p>\n</td>\n<td width=\"33%\" valign=\"top\">\n<p><strong>隐私</strong></p>\n<p>议题和中间回答会发送给所选模型服务。详见<a href=\"SECURITY.md\">安全说明</a>。</p>\n</td>\n<td width=\"33%\" valign=\"top\">\n<p><strong>准确性</strong></p>\n<p>多个模型一致不能保证结论正确，请检查证据与置信说明。</p>\n</td>\n</tr>\n</table>\n\n## 配置\n\n<details>\n<summary><strong>默认配置与自定义限额</strong></summary>\n\n默认配置可直接使用。如需调整限额，在 DSH profile 的 `dsh-council` 条目中设置 `config`：\n\n```yaml\n- id: dsh-council\n  config:\n    answerMaxTokens: 16384\n    reviewMaxTokens: 16384\n    arbiterMaxTokens: 16384\n    childTimeoutMs: 300000\n    runTimeoutMs: 900000\n    subagentProvider: spawn\n```\n\nToken 限额作用于单次模型请求。超时单位为毫秒，`runTimeoutMs` 不得小于 `childTimeoutMs`。\n\n</details>\n\n## 参与贡献\n\n<p align=\"center\"><a href=\"CONTRIBUTING.md\"><strong>开发环境 · 测试 · 问题反馈 →</strong></a></p>\n\n## 引用与鸣谢\n\n<blockquote>\n<p>本项目的想法来自 <a href=\"https://github.com/karpathy/llm-council\"><strong>Andrej Karpathy 的 llm-council</strong></a>。感谢原作者的公开分享。</p>\n</blockquote>\n\n<p><sub>评审维度同时参考了 <a href=\"https://openrouter.ai/docs/guides/features/plugins/fusion\">OpenRouter Fusion</a>。</sub></p>\n","readmeFilename":"README.zh.md","_rev":"1-6de5a360354e5e7ffafcdf1bd413e4d6"}