Evaluate supplied material through a SystemOne-compatible service for label selection, condition probabilities and rubric scores, using a native DSH tool and companion skill; requires a user-configured endpoint, model and authentication.
Install
# from npm (prebuilt)
dsh plugin --profile web add @eduwork/dsh-decision
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:ECNU/EduWork#path:/packages/dsh-decision
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
简体中文 | English
@eduwork/dsh-decision adds the decision_evaluate tool and decision skill to DSH for classification, condition probabilities and rubric scoring. Use it for routing requests, checking supplied material or evaluating text. Model output does not trigger business actions.
Uses native DSH tools, skills and configuration, without runtime patches or desktop bridges. The user or distribution supplies the endpoint, model and authentication; no institution or inference service is configured by default.
Installation and use
Install @eduwork/dsh-decision with DSH plugin management. Its native bundle ID is decision, initially enabled: false. Configure and enable the plugin; its tool and skill share its lifecycle. Then ask, for example: “Use the decision model to classify this request as billing, technical or insufficient information.”
API-key example (store the actual key in the credential service):
{
"enabled": true,
"baseURL": "https://decision.example.org/v1",
"model": "your-decision-model",
"authMode": "api-key",
"credentialRef": "SYSTEMONE_API_KEY",
"requestTimeoutMs": 60000,
"maxQuestions": 32,
"maxRequestBytes": 65536,
"imageInput": "none"
}
baseURL includes the API prefix; the plugin appends only /systemone. HTTPS is required except for loopback HTTP tests. Tool arguments cannot change the endpoint or model.
For organization sign-in, select authMode: "oidc", set oidcProfileId, and install a compatible @eduwork/dsh-oidc exposing the Host APIs modelAuthorization and authorizedFetch. The base URL must match its authorized model resource. OIDC owns renewal; failure never falls back to a personal key. Explicitly unauthenticated services may use authMode: "none", which does not read credentials.
Disabled by default. Enabling it does not start probes or background polling; only tool calls contact the service. Logout, credential replacement and disposal invalidate corresponding pending requests. Redirects, automatic POST retries and model fallback are disabled. Timeout does not cancel upstream inference.
Protocol coverage
Supports the basic TypeSafe System One model/state/questions format and choice/noul/score responses. Extension response fields are preserved; full experimental API compatibility is not claimed.
state: text, JSON object or array. Instructions and criteria may contain structured JSON; a service may require stricter formats such as nonempty strings.- Noul remains a 0–1 probability; scores remain fractional values on a zero-based scale; null choices remain abstentions. Confidence definitions differ across services and are not converted to accuracy estimates.
- TypeSafe
assets/box, StartLux thinking controls and other implementation extensions are outside the first version. EnableimageInput: "data-uri"only for services explicitly supporting animagesData URI array; only then is the tool parameter exposed. - Client defaults: 32 questions, 64 KiB complete request, 512 KiB response. Configure the first two up to 512 questions and 16 MiB. Data URI mode permits up to 8 PNG/JPEG/WebP images; increase the complete-request limit for image requests. These bounds do not guarantee server capacity.
- Default timeout: 60 seconds, configurable from 1 to 195000 milliseconds. Errors expose status and guidance, not arbitrary response bodies or credentials.
Development and assembly
Source lives in src/; building copies ESM modules, with no bundled third-party dependencies. Node >=24.22.1; tested with DSH 0.2.1-rc.3 and rc.5. Set EDUWORK_DECISION_RUNTIME to the locked Runtime directory containing package.json/node_modules, then run npm ci and npm run check. Tests use synthetic material and local HTTP.
Repository commands: node scripts/packages/manage.mjs check dsh-decision and pack dsh-decision; see package maintenance. Publish and verify npm bytes before changing exact product locks. This change does not insert unpublished source into existing desktop assemblies.
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 38236
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37190
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
superdesigndev/treg★ 9111
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 6016
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
helloHub1212/dsh-windows-mcp★ 2563
Bridges the CursorTouch/Windows-MCP desktop automation server into DSH through the official MCP client bridge, registering its screenshot, UI tree snapshot, mouse and keyboard input, clipboard, process and registry tools as mcp__windows__* tools for the model, and adds a windows_mcp_doctor diagnostic tool. Computer Use is off by default and is switched on from the plugin panel.
sixtysevenlf/dsh-blender-plugin★ 2280
Lets a DSH agent drive a local Blender over a direct TCP channel with 15 tools: viewport frames, custom-angle renders, Python execution, headless and job offload, transaction rollback, and a planning layer of 228 ops across 34 families.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.