packages/dsh-skill-explorer
zhu1090093659/dsh-web技能中心:按来源分级浏览已加载的全部 skill,启用/禁用模型调用、创建新技能、删除进可恢复回收站。
每轮对话前用本机 JEV 模型选好技能,把一行选择结果作为前言注入,让智能体只加载该加载的技能。需另行准备好 jev-decision-kit 工作区(Python .venv、host/preface_worker.py、models/jev/head.json);没有它插件不会注入任何内容。
A DeepSeek Harness plugin that asks a local skill-selection model which skills a task needs, then injects that choice as a one-line preface at the start of the turn.
jev-decision: 已选定:docx、office-docx。不要读取技能,不要再挑选。
The agent then loads exactly those skills instead of browsing or picking again. Selection runs on the machine — no network call, no API key.
On every new turn (agent/pre-step), before the model speaks:
127.0.0.1) for a selection.It also reports subagent start/stop events to the same helper, so the kit's local dashboard can show delegation history.
If the turn already starts with jev-decision: (or the legacy 【技能柜】), nothing is injected — a user typing the marker mid-sentence still gets a selection.
This plugin is the DeepSeek Harness adapter of jev-decision-kit. It does not ship the model or the scoring code; it calls the ones in that workspace:
<kit>/.venv (Windows Scripts/python.exe, macOS/Linux bin/python)<kit>/host/preface_worker.py and the trained weights in <kit>/models/jev/Without the kit the plugin stays silent: it injects nothing and writes one kit-missing line to <kit>/runtime/harness-plugin.log. It will not prefix your turns with an error.
dsh plugin add <absolute path to this directory>link: (or file:) dependency — that is how the plugin finds the kit after a reinstall. See the kit's INTEGRATION.md for the exact steps.Where the kit lives, in order of precedence:
JEV_KIT_ROOT environment variable<plugin dir>/kit-root.txt%LOCALAPPDATA%/jev-skill-kit/root.txt (Windows) or ~/.local/share/jev-skill-kit/root.txtpackage.json (link:/file: dependency)| Variable | Default | Meaning |
|---|---|---|
JEV_KIT_ROOT | — | Kit workspace override |
JEV_WORKER_WAIT_MS | 8000 | How long to wait for the helper process to come up |
JEV_HARNESS_LOG | <kit>/runtime/harness-plugin.log | Diagnostics log (one JSON line per event) |
Everything runs locally. The plugin starts a 127.0.0.1 helper process and posts the task text to it; nothing leaves the machine. The helper is spawned with windowsHide: true and no detached, so no console window appears.
MIT — same as the parent workspace.