beijingwahw/dsh-proactive

Plugin插件 Native原生 ⭐ 4 MIT Approval & Security审批与安全

DSH Proactive — 主动智能调度插件:自主心跳 + 科学家/理论家双心智(贝叶斯实验设计与定律归纳)+ 能量共生经济 + 好奇心探索 + 安全治理,Raft 共识与热更新

Project Overview项目介绍

dsh-proactive is a native DSH plugin that adds a proactive autonomous scheduling layer to DeepSeek Harness. Unlike traditional passive agent schedulers that only respond to incoming requests, this plugin adds an autonomous layer that enables the system to act without explicit user input. It is structured into three core architectural layers: the qualitative change kernel with 16 incremental core modules, the three-ring autonomy layer, and the cognitive energy symbiosis economic layer. To install, users can directly pull the pre-built bundle, so no local compilation is required.

The standard workflow starts with Sentinel collecting multi-source signals from webhooks, file monitors, polling, and manual input, then deduplicates and sorts signals by urgency. The strategic decision engine then classifies each task into one of four buckets: execute immediately, defer, dismiss, or ask the user for clarification. It then generates a DAG-based execution plan and runs tasks across multiple models in parallel. This plugin is ideal for DSH users who want to add higher levels of autonomy and safety guardrails to their agent workflows.

The plugin requires Node.js version 22.18 or newer to run, and is built with strict TypeScript type checking. It is distributed with pre-compiled build artifacts in the dist directory, so users do not need to run any build scripts after installation, which avoids common issues with package manager build allowlists. It is open source under the permissive MIT license, and offers optional pre-built patches for 9 different domestic Chinese large language model vendors. The host fusion layer adds no extra dependencies thanks to the use of structured typing and declaration merging.

这是一款专为DeepSeek Harness(DSH)打造的原生主动智能调度插件,在传统「感知→决策→执行→反思→沉淀」的闭环之上叠加自主层,让系统可以主动观察运行状态、发现瓶颈、探索未知领域、预测未来负载、自主处理异常。整体架构分为质变内核、三环自治、共生经济层三层,包含从证据3.0到Shapley归因16.0共十六个核心功能模块。

核心工作流包含Sentinel多源信号接入、按紧急度智能排序,战略决策引擎输出执行/推迟/解散/询问用户四级决策,生成DAG计划并支持多模型并行执行。它实现了科学家与理论家双心智模型,支持任意时刻有效证据、保形预测、质量-多样性维护、运行时验证、公平归因等特性,面向需要提升代理运行自主性与安全性的DSH用户使用。

该插件要求Node.js版本不低于22.18,使用严格类型检查的TypeScript开发,安装后无需本地构建,因为dist目录随仓库分发了预构建产物。它以MIT许可证开源,提供了适配9家国内大模型厂商的可选补丁,宿主融合层采用结构化类型与声明合并,零额外依赖。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
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 add beijingwahw/dsh-proactive --profile web

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

READMEREADME

dsh-proactive

License: MIT TypeScript Node topic

主动智能(Proactive Intelligence)调度插件 —— DeepSeek Harness(DSH)生态中的多模型协同调度系统:自主感知、自主决策、自主进化,内置科学家 / 理论家双心智、认知能量共生经济与四十八质变内核(证据 → 几何拓扑 / 创世 / 先知 / 均衡 / 觉醒 / 川流 / 经纬层:任意时刻有效 / 保形 / 最优传输 / 信息几何 / 层论共识 / Gittins / 稳健统计 / 差分隐私 / 容量规划 / 高斯过程 / 卡尔曼滤波 / 极值理论 / 蒙特卡洛树搜索 / 次模优化 / 对抗无悔学习 / 匈牙利全局指派 / 随机矩阵 / CVaR 分布鲁棒 / LQR 反馈控制 / 持续同调 / 信息瓶颈 / 非线性动力学 / PageRank 谱排序 / 首达时间 / Jackson 排队网络 / FFT 谱周期 / 最大流 / 极大极小公平 / OCBA 预算分配 / 法定人数交叉 / CRDT 收敛 / Shamir 秘密共享 / Haar 小波 / 低秩矩阵补全)。

English | 中文

什么是主动智能?

传统调度系统是被动的:收到信号才响应,没有信号就空转。本插件在「感知 → 决策 → 执行 → 反思 → 沉淀」闭环之上叠加自主层,让系统:

  • 没有任务时,主动观察自身运行状态、发现瓶颈、生成改进目标
  • 遇到未知领域,主动发起探索,把"不知道"变成"有经验"
  • 面对未来负载,主动预测信号到达趋势,提前预留容量
  • 出现异常时,主动熔断、限流、降级,而不是等到崩溃

架构总览

系统由三层组成:质变内核(一套共享统计语言的心智底座)、三环自治(操作环 / 进化环 / 元认知外环)、共生经济层(认知能量市场)。

┌─ 共生经济层(symbiosis/)─────────────────────────────────────┐
│  能量账本(复式记账·链式审计)  知识市场(连续双向拍卖·版税)      │
│  信念市场(LMSR·市场即心智)    智能体(信誉·立法执法分离)       │
│  共生运行时(生存→提案→否决→撮合→执行·铸币分红)                 │
├─ 三环自治 ───────────────────────────────────────────────────┤
│  操作环:信号→决策→执行→反思 10 步主链路(index.ts)             │
│  进化环:策略进化器 + 安全沙盒 + 金丝雀部署(policy/)            │
│  元认知外环:自我建模 → 保守调整 → 观察/回滚(meta/)             │
├─ 质变内核(core/)3.0 → 50.0 四十八内核 ─────────────────────┤
│  证据 3.0  弹性 4.0  因果 5.0  自由能 6.0  深思 7.0             │
│  元推理 8.0  抽象 9.0  科学家 10.0  理论家 11.0                 │
│  任意时刻证据 12.0  保形预测 13.0  质量-多样性 14.0              │
│  运行时验证 15.0  Shapley 归因 16.0                             │
│  最优传输 17.0  信息几何 18.0  最优停止 19.0  层论共识 20.0      │
│  Gittins 21.0  预算 Knapsack 22.0(创世层)                    │
│  稳健统计 23.0  差分隐私 24.0  容量规划 25.0(创世层)           │
│  高斯过程 26.0  卡尔曼滤波 27.0  极值理论 28.0(先知层)         │
│  蒙特卡洛树搜索 29.0  次模优化 30.0(先知层)                    │
│  对抗无悔学习 31.0  全局指派 32.0  随机矩阵 33.0(均衡层)       │
│  CVaR 分布鲁棒 34.0  LQR 反馈控制 35.0(均衡层)                 │
│  持续同调 36.0  信息瓶颈 37.0  非线性动力学 38.0(觉醒层)       │
│  PageRank 谱排序 39.0  首达时间 40.0(觉醒层)                   │
│  Jackson 排队网络 41.0  FFT 谱周期 42.0  最大流 43.0(川流层)   │
│  极大极小公平 44.0  OCBA 预算分配 45.0(川流层)                 │
│  法定人数 46.0  CRDT 47.0  Shamir 共享 48.0(经纬层)           │
│  Haar 小波 49.0  矩阵补全 50.0(经纬层)                        │
└──────────────────────────────────────────────────────────────┘

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-task-watcher 下一个 Next dsh-eva-theme-plugin →