erkinalp/dsh-decisions-classifiers ↗★ 0

dsh-decisions-classifiers

OpenAI Decisions API for DeepSeek Harness: predicate/choice/score classifiers as agent tools and an injectable service, a built-in classifier library, an opt-in pre-execution gate, a Settings page, and a "let a classifier decide" card beside ask_user_question multiple-choice prompts. 适合需要引入判定、选择和评分分类器来辅助Agent决策的进阶用户。

Package
dsh-decisions-classifiers
Compatibility
Unverified
Version
0.1.1
License
MIT
Last updated
Oct 7, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:erkinalp/dsh-decisions-classifiers

Configuration

Every field is settable from the Settings page (persisted to ~/.dsh/decisions-classifiers/config.json) and overridable from the bundle row; live edits win. Pin a deployment in cordis.patch.yml.

keydefaultmeaning
enabledtruemaster switch
baseUrlhttps://api.openai.com/v1endpoint base; /decisions is appended
modelgpt-6-lunathe only model the Decisions API serves today
apiKeyEnvOPENAI_API_KEYcredential-seam reference name
timeoutMs60000per-request budget
defaultThreshold0.5predicate cut-off when a preset does not fix one
advisorEnabledtruethe advice card
gateEnabledfalsethe pre-execution gate
gatePresetdangerous-commandclassifier the gate runs
gateThreshold0.5gate cut-off
gateDecisiondenydeny or escalate
systemPromptSectiontruetell the agent the classifiers exist