justhalfbit/dsh-plugin-jev-effort-selector ↗★ 2

dsh-plugin-jev-effort-selector

Let the Jev System One model pick the reasoning effort for every message, per model and per session. 适合希望根据上下文自动优化推理成本与效果的用户。

パッケージ
dsh-plugin-jev-effort-selector
互換性
未検証
バージョン
0.2.3
ライセンス
MIT
最終更新
2026/09/23

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:justhalfbit/dsh-plugin-jev-effort-selector

ドキュメント

README 全文を読む ↗

从 GitHub 安装(本插件零构建步骤,无需 allowBuilds 配置)

dsh plugin --profile web add github:justhalfbit/dsh-plugin-jev-effort-selector

配置

所有配置项都写在 ~/.dsh/settings.yaml 的 jev-effort-selector 段落,也可以直接在设置界面里改:

字段默认值说明
enabledtrue关掉后完全不干预,保持你手动选的等级
apiUrlhttps://zenmux.ai/api/v1/systemoneJev System One API 地址
apiKey''字面量密钥逃生口;标了 role('secret'),永不随设置外发。常规情况留空
apiKeyEnvJEV_API_KEY凭据引用名,API 密钥以此名存放在凭据服务中。设置界面不显示此项,要改名请写 settings.yaml
modeljev-latestJev 模型路由
confidenceThreshold0.6低于该置信度时,在概率最高的两档里选更高的那档
timeoutMs5000超时后放弃 Jev,本次调用沿用调用方已解析出的等级
useContexttrue发送上下文信封,让「继续」这类追问继承话题深度
levels{}每个模型的档位映射,键为 provider/model

API 密钥存在哪

密钥不进 settings.yaml,走的是 DSH 的凭据服务,与官方「设置 → 模型」里自定义提供方的密钥完全同一条链路。设置卡片里的「API 密钥」框只做两件事:写入(set)和读状态(describe)——状态里只有「配没配、来自哪一层、能不能改」,没有任何字段能装下密钥本身,所以它永远不会回传到浏览器。

解析顺序(由凭据服务本身分层,最信任的优先):

启动时继承的进程环境        只读,最高优先级
> ~/.dsh/.credentials.yaml  设置界面写入这里,权限 0600
> /.env           只读兜底
> ~/.dsh/.env               只读兜底

所以这三种方式都可以,任选其一: