MurrayJoe/dsh-urge-risk-light
MurrayJoe★ 0JavaScript最后同步: 2026-08-18
催办风险灯(Urge Risk Light)— 按流程节点停留时间与 SLA 对比批量判定红/黄/绿催办风险的 DeepSeek Harness 工具插件(含结果卡片与右下角悬浮组件)
README 摘要
催办风险灯(urge-risk-light) 根据流程节点停留时间批量判定催办风险的 DeepSeek Harness 工具插件,提供模型可见工具 analyze urge risks 。 - 只做确定性规则计算 :不连接真实流程系统、不发送真实催办消息,纯内部演示用途; - 规则确定、可重复 :相同输入在任何时刻、任何环境产生完全相同的输出; - 模型负责理解任务与组织语言,插件负责执行规则 :所有边界判断、舍入、冷却计算都在插件内完成。 判断规则 条件 riskLevel riskLabel shouldUrge suggestedAction nodeStayHours 。 工具输出 目录结构 开发与测试 测试覆盖: - 三档等级与 0.8 边界(恰好等于 / 略低于 / 恰好等于 SLA); - progressPercent 保留一位小数; remainingHours / overdueHours 互斥为 0; - 4 小时冷却: 3.99 (抑制)、 4 (不抑制)、 0 (剩余 4 小时)、未传(不抑制); - 错误路径:非数组、空数组、缺失字段、负数、 slaHours 为 0/负、 NaN / Infinity 、非对象元素、多条错误合并; - 动态宿主 parity:提交给运行时的宿主代码与 lib/index.js 在全部合法/非法用例上逐分支等价; - Schema 通过官方 @deepseek-ai/dsh-tools 编译器与校验器( parameterSchemaSpecToJsonSchema / valueSchemaSpecToJsonSchema / validateJsonSchemaValue / defineTool )。 安装(npm 正式包 dsh-urge-risk-light ) 适用于 DSH 2.0( @deepseek-ai/dsh 0.1.0-rc.6+)。官方安装路径:把包装入 profile 的 node modules (DSH 文档:profile 的 package.json 记录树外插件依赖, pnpm 安装到 profile 的 node modules ),再在 cordis.patch.yml 加一行激活。 3. 重启 DSH 进程。重启后自动加载:Runtime 工具 analyze urge risks (所有会话可见) 与持久化 Client 模块( dsh.client 声明 + exports["./client"] ,web 运行时经 ModuleLoader 装载),注册 tool.call.toolview 结果卡片与 shell.overlay 右下角悬浮组件两个官方槽位。 临时试用(不安装):当前会话经 cordis define / cordis run 加…
在 GitHub 查看完整 README →分类
🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
★ 68,716
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 31,761
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 23,757