rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:lldois/dsh-jev
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Semantic tool routing and typed System One decisions for DeepSeek Harness (DSH) powered by TypeSafe Jev.
Modeled after pi-typesafe, this plugin integrates TypeSafe Jev into DeepSeek Harness with Cordis service injection, DSH tool definitions, slash commands (/typesafe and /jev), threshold calibration, spend caps, and pre-turn lifecycle hooks.
Most coding agents spend expensive, slow frontier LLM reasoning tokens on "small mechanical decisions":
TypeSafe Jev provides a fast, structured judgment model: you provide a state and typed questions, and it returns calibrated probabilities, option distributions, and rubric scores in well under a second for a fraction of a cent ($0.042 per million input tokens; output tokens are free).
if (riskProbability > 0.85) {
requireHumanReview();
} else {
continueAutomatically();
}
typesafe_evaluate / jev_evaluate tools): Run fast, calibrated System One decisions directly from any LLM turn in DSH using choice (categorical selection), noul (0-1 truth probability), and score (rubric scale).jev_find_skill tool): Semantically matches and suggests the most relevant specialized agent skills (SKILL.md) for any task without cluttering prompt context.jev_find_tools tool): Semantically evaluates and identifies relevant registered tools in DeepSeek Harness for a user task./typesafe & /jev):/typesafe status — Displays TypeSafe configuration, auth state, session usage, daily spend caps, and registered tool/skill counts./typesafe login [key] — Validates and saves API key to ~/.pi/agent/pi-typesafe/auth.json (with owner-only permissions)./typesafe logout — Clears stored API key and resets auth state./typesafe enable — Enables TypeSafe agent evaluation tool calls for this session./typesafe disable — Disables TypeSafe agent evaluation tool calls./typesafe test [prompt] — Run live connectivity test or evaluate prompt against Jev (defaults to built-in bug triage sample)./typesafe playground [json] — Run direct JSON state & questions without polluting agent context./typesafe calibrate — Historical sample threshold calibration toolkit (AUC, precision, recall sweep)./typesafe skills [query] — Semantically search and rank available skills directly from chat./typesafe tools [query] — Semantically search and rank available tools directly from chat./typesafe auto [on|off] — Toggle automatic per-prompt skill suggestions./typesafe help — Display help message.PI_TYPESAFE_MAX_REQUESTS_PER_DAY, PI_TYPESAFE_MAX_INPUT_TOKENS_PER_DAY, PI_TYPESAFE_MAX_USD_PER_DAY).~/.pi/agent/pi-typesafe/usage.json.calibrate, replay, formatCalibration).dsh-jev-gate / jev-gate): Standalone binary for CI/CD pipelines, subagents, or verification gates. Checks git diff, files, or stdin against natural language acceptance criteria using Jev probability.In your DSH profile directory (e.g. ~/.dsh/profiles/web):
# Install via GitHub or link local workspace
pnpm add file:C:/Users/lldois/workspace/dsh-jev
In ~/.dsh/profiles/web/package.json, add "dsh-jev" to dsh.profile.bundles:
{
"dsh": {
"profile": {
"bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"dsh-jev"
]
}
}
}
You can configure your TypeSafe API key via:
/typesafe login your_api_key_here
Saved securely to ~/.pi/agent/pi-typesafe/auth.json.
export TYPESAFE_API_KEY=your_key_here
export PI_TYPESAFE_ENABLED=1
~/.pi/agent/pi-typesafe/auth.json~/.dsh/secrets/typesafe_api_key~/.pi/agent/secrets/typesafe_api_keyVerify your setup by running:
/typesafe status
typesafe_evaluate / jev_evaluateUsed by the model or code to get structured decisions, classifications, triage, and scoring.
{
"state": {
"title": "升级后无法登录",
"body": "输入密码后一直回到登录页"
},
"questions": {
"area": {
"type": "choice",
"instructions": "这个问题属于哪个模块?",
"criteria": {
"auth": "登录与身份验证",
"ui": "界面与布局",
"other": "都不符合"
}
},
"blocking": {
"type": "noul",
"instructions": "这个问题是否阻止用户继续使用产品?"
},
"severity": {
"type": "score",
"instructions": "评估这个问题的严重程度:",
"criteria": [
"仅影响外观",
"存在可用绕过方案",
"阻止核心流程"
]
}
}
}
npm test
MIT © lldois
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek。