Devin-AXIS/jev-dsh-decision
Jev DSH 决策引擎|面向 Agent Harness 的结构化决策插件。原生支持 DeepSeek Harness,通过 iPolloWork 支持 OpenCode、Codex Harness。
Project Overview项目介绍
This repository hosts a native DeepSeek Harness (DSH) plugin that brings TypeSafe AI’s Jev structured decision engine to AI agent workflows. It supports two primary installation paths: a standalone native package for direct DSH installation, and a signed iPolloWork plugin package that works with OpenCode and Codex Harness after a single import. To install the native DSH version, users first clone the repository, then run the dsh plugin add command with the absolute path to the cloned directory, no source building is required for the native bundle. You can also install it directly from a pre-built .tgz archive if you have downloaded the release package already.
This plugin is built for both end users and developers who use AI agent harnesses and want more structured tool selection and output evaluation. After installation, users need to add their TypeSafe AI API key to the DSH credential manager or their environment variables, then restart the DSH session to apply the new configuration. To verify the setup, users can send a chat prompt asking Jev to check the configuration and test the connection, which will trigger a small API request that counts against your TypeSafe AI usage quota. Once the connection is confirmed, you can ask Jev to evaluate options for your current task before the main agent executes any actions.
For local development, the plugin requires Node.js version 20.11 or newer and the pnpm package manager, and it has no third-party dependencies at runtime. JSZip is only used for building iPolloWork plugin packages during development, and it does not ship with the final distributed plugin bundles. The plugin enforces several usage limits: it supports a maximum of 64 questions per request, 256 KiB request size, a 20 second network timeout, and retries failed requests at most two times. All API keys are stored by the host, and the project does not claim official endorsement from TypeSafe AI or DeepSeek.
这是一款面向 DeepSeek Harness(DSH)的原生决策插件,将 TypeSafe AI 的 Jev 结构化决策能力接入 Agent 工作流,也可通过 iPolloWork 一次安装后供 OpenCode、Codex Harness 调用。它帮助 Agent 在当前可用的工具、Skill 与任务负责人中做推荐选择,还可按标准评估产出质量,以结构化格式返回判断、概率与置信度,不接管原 Agent 的规划和执行工作。
这款插件面向使用 DSH 或支持 iPolloWork 扩展的 AI Agent 开发者与普通用户,适合需要提升 Agent 工具选择准确性、减少无效工具调用的场景。典型工作流为配置 API 密钥后,在对话中调用插件的检查、测试与评估能力,获取结构化推荐结果后,再由原 Agent 按照推荐执行对应操作,推荐结果不自动执行,仍需遵循宿主流程获得用户确认授权。
使用该原生 DSH 插件需要用户自行申请 TypeSafe AI 的 API 密钥,连接测试会产生少量 API 用量。开发依赖 Node.js 20.11 以上版本与 pnpm 包管理器,运行时无额外第三方依赖,单次请求最多支持 64 个问题,有 20 秒网络超时限制,最多重试两次错误请求。本项目由 iPolloWork 维护,不代表获得 TypeSafe AI 或 DeepSeek 的官方背书。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:jev-dsh-decision(Devin-AXIS/jev-dsh-decision)
仓库:https://github.com/Devin-AXIS/jev-dsh-decision
本站详情页:https://www.yhbd.top/plugins/devin-axis-jev-dsh-decision/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证未声明 · ⭐ 253 · 最近提交 2026-09-20 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
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:Devin-AXIS/jev-dsh-decision
把 Devin-AXIS/jev-dsh-decision 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
Jev DSH 决策引擎
为 Agent Harness 提供结构化决策能力。
将 TypeSafe AI 的 Jev 决策能力接入你的 Agent:帮助选择工具、Skill 和任务负责人,评估产出质量,并以结构化结果返回判断与概率。Jev 负责辅助决策,原 Agent 继续负责规划和执行。
提供 DeepSeek Harness 原生插件和 iPolloWork 导入插件两个安装入口;在 iPolloWork 中可供 OpenCode、DeepSeek Harness、Codex Harness 使用。同一份决策核心,不修改引擎源码,不接管主 Agent。

快速开始:安装到 DeepSeek Harness · 安装到 iPolloWork
支持与接入方式
| 使用环境 | 接入方式 | 安装入口 |
|---|---|---|
| DeepSeek Harness(DSH) | 原生插件,独立运行,不依赖 iPolloWork | DSH 插件命令 |
| iPolloWork | 独立导入、授权、启停与卸载 | 扩展 → 导入插件包 |
| OpenCode | 通过 iPolloWork 的扩展接口使用 Jev | 在 iPolloWork 安装一次 |
| Codex Harness | 通过 iPolloWork 的扩展接口使用 Jev | 在 iPolloWork 安装一次 |
OpenCode 和 Codex Harness 当前支持的是 iPolloWork 内的接入方式,本仓库尚未提供它们各自的独立原生安装包。其他 Harness 可以基于共享决策核心开发适配器,不代表已经自动兼容。
核心能力
- 根据任务,在当前真实可用且获准使用的工具、Skill、Agent 之间推荐选择。
- 按明确标准评分、判断是否需要某项能力;独立问题可以一次批量评估。
- 返回选择、概率、置信度与用量;不执行推荐动作,也不自动切换模型或路由所有请求。
- 提供本地配置检查和真实连接测试。连接测试会产生少量 TypeSafe API 用量。
Jev 是 TypeSafe AI 的结构化决策模型,不是聊天模型。原 Agent 继续负责规划、解释、参数构造、工具执行和原生子 Agent 协作。Jev 不返回文字推理过程,Agent 的解释不能冒充 Jev 的原始输出。
安装到 DeepSeek Harness
适合直接使用 DSH 的用户。无需安装或运行 iPolloWork。
1. 安装插件
已安装 DSH 后,克隆本仓库,通过本地绝对路径安装:
git clone https://github.com/Devin-AXIS/jev-dsh-decision.git
dsh plugin add /absolute/path/jev-dsh-decision
把 /absolute/path/jev-dsh-decision 替换成克隆目录的实际绝对路径。插件使用原生 dsh.bundle 格式,无需构建源码。
如果已经拿到 .tgz 安装包,也可以直接安装:
dsh plugin add /absolute/path/dsh-jev-decision-model-0.1.2.tgz
2. 配置授权
在 DSH 的凭据管理或启动环境中配置自己的 TYPESAFE_API_KEY。不要把密钥写进插件源码或聊天记录。插件复用 DSH 的 credentials、tools 和 skills 服务;官方默认配置提供这些服务,自定义配置需要保留它们。
3. 验证并使用
重启运行中的 DSH 会话,让新配置生效,然后在对话中说:
使用 Jev,先检查配置,再测试连接。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
tt-a1i/archify
loopx-project/loopx
ZSeven-W/openpencil
omdsh-dev/DSH-better-sidebar
NanmiCoder/dsh-agent-teams
LiPu-jpg/Openwrite