Optional JEV decision mode with deterministic project reads, bounded semantic selection, native authorization checks and desktop credential settings.
Install
# from a prebuilt release tarball
dsh plugin --profile web add -w "https://github.com/QI-seven33/dsh-jev-mode/releases/download/v0.4.6/dsh-jev-mode-0.4.6.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:QI-seven33/dsh-jev-mode
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
Local development is 0.4.7 candidate / Desktop 0.2.2-rc.5, on the normal
mainbranch, with maintainer-reported Desktop acceptance. Only the local project folder moved; no extra merge PR or new Release was created. Read HANDOFF.zh.md before continuing. The documentation below describes public 0.4.6 for rc.3; use the local candidate for rc.5.
中文 · Releases · Validation · Issues
An unofficial, optional Desktop preset maintained by QI-seven33. It retains the standard capability composition from DeepSeek Harness Desktop 0.2.2-rc.3 and adds limited project-file reads and a JEV authorization check. Your main-model configuration stays in use; the standard preset is unchanged.
There is no established general speed or safety improvement. Experiments have not shown a consistent benefit for everyday agent tasks. The classifier has known gaps; real-world authorization false-allow/false-block rates remain unmeasured.
Installation
In Harness Desktop's Plugins page, install and enable:
github:QI-seven33/dsh-jev-mode#v0.4.6
Alternatively, download dsh-jev-mode-0.4.6.tgz and enter its absolute local path. Version 0.4.6 includes the unpublished 0.4.5 compatibility work and fixes its linked-workspace proxy-module failure. Public v0.4.4 is retained for the old Desktop 0.2.0-rc.2 host. The source ZIP is not a plugin package.
Fully restart Harness and select JEV decision mode in a new session. Open Settings → Models → JEV decision model → Edit to save your own TypeSafe API key. Keep your existing DeepSeek main-model settings. The credential dot means configured, not API connectivity verified.
No runtime dependencies or build/install lifecycle scripts are required. Verified environment: Desktop 0.2.2-rc.3 on Windows. Other versions and operating systems need separate validation. See installation details and acceptance steps.
Shipped behavior
| Request or operation | Behavior |
|---|---|
Explicit query about root package.json or README.md |
Code selects the file and uses native read/permissions; zero JEV selection calls. |
| Eligible short contrastive request between those two files | Bounded JEV selection. Confidence and selected probability must both reach 0.9; otherwise ordinary planning continues. |
| Operation classified at risk 2 or above | Hard rules run first, then JEV checks human authorization. Native permission vetoes remain authoritative. |
| Ordinary coding or document task | Standard planning and tools. No automatic skill selection, general preloading, or grounded/sufficient verification loop. |
jev_status reports the version and counters. jev_decide and jev_gate are available for explicitly requested diagnostics. A diagnostic result is not execution permission.
The default decision model is pinned to jev-1.13.0. Authorization uses Noul, thresholds 0.85 / 0.55, and gateAtRisk: 2. Main-model history, reasoning and tool definitions are retained. Cache hits are best-effort, not guaranteed.
Without a TypeSafe key, explicit reads still work, semantic reads fall back, and unavailable authorization checks ask for approval or deny. Choose the standard preset to stop using the mode; disable the plugin in Plugins to remove its contribution.
Deployment and compatibility work in 0.4.6
Resolve the public proxy module from the host-injected profileContext.installAnchor, rather than a bare import from the linked plugin workspace or an inferred ASAR path. Missing host transport produces a clear deployment error, no retry, zero HTTP requests and no provider-breaker failure.
Match the current native standard preset, replace removed module exports and single-tool dispatch, and follow the current working directory. Model, thresholds and permission ownership stay unchanged. A complete restart and a new session are required for Desktop acceptance.
JEV HTTP requests honor Harness launch proxy settings first. On Windows without explicit proxy settings, they read the enabled manual HTTP(S) system proxy automatically. Clash may stay in rule mode; Global mode, TUN and global environment edits are not required. Your proxy rules still decide the route. The adapter affects only JEV requests and never retries a failed proxy request directly.
The packaged Electron/ASAR and linked installation were checked with the default loader. A separate five-channel live smoke on 2026-11-17 used the installed 0.4.6 code and native credentials: five valid responses, 246–559ms, zero retries, rule mode and TUN off. These are connectivity observations, not speed or safety-quality evidence; see Validation. Each user still needs a key and a reachable service route. PAC/WPAD and SOCKS-only system proxies are unsupported; unavailable services return degraded results.
What changes in 0.4.4
This is a reliability release: deadline-aware Retry-After handling, instance-local server cooldown, bounded credential lookup, and an auxiliary cancellation-signal repair. User cancellation does not count as a provider failure. It retains the compact settings card and native edit dialog from 0.4.3; the maintainer reported that UI working normally.
The experimental /jev-json-set transaction plugin is not included. Its narrow benchmark gains do not describe this release. See the changelog and validation for exact coverage, skips and measurement limits.
Security and data flow
- The gate supplements native permissions; it cannot replace the sandbox or grant extra rights. Variants such as
npm --prefix subproject publishandgit -C subproject pushcan miss the JEV gate. A low risk label does not prove safety or authorization. - Semantic checks send bounded context to TypeSafe, such as the relevant request or human authorization history and proposed action. Redaction is best-effort; do not put secrets in prompts or command arguments. Calls may incur separate charges.
- Keys use Harness's credentials service. Saved values are not returned to the browser or model conversation. No shared key is shipped. Environment credentials are read-only; removing a stored key may expose an existing environment fallback.
- The local ledger stores metadata and hashes, not command bodies, decision-reason bodies or credentials.
Settings and UI
Defaults include controlledFlow: true, semanticReads: true, autoGate: true, onGateFailure: escalate, and statusContext: false. Set semanticReads: false in the mode configuration to use ordinary planning for ambiguous reads. Restart and open a new session after changing preset configuration.
Component-test previews using host React/Modal and a stubbed credentials remote; not an authenticated Desktop session.
Development and support
npm install --no-save --no-package-lock yaml@2
npm test
CI runs offline checks on Node 20/22/24. Native checks require Node 24 and host paths via DSH_HOST_NODE_MODULES / DSH_HOST_NATIVE_NODE_MODULES; absent-host skips are not compatibility evidence. Live API checks are opt-in.
For issues, include plugin/host versions, OS, new-session status and minimal reproduction steps. Remove credentials and sensitive content from logs. New feature research is closed; no additional JEV involvement in ordinary tasks is planned.
Links
More in this category
Ebony-Vinyl/dsh-our-free-model★ 90775
Adds free model lanes to DeepSeek Harness — DeepSeek V4.1 Flash, Kimi K3 and others — with no login, sign-up or API key, plus a local OpenAI-compatible gateway, fallback routing and a usage dashboard.
dingminhua/dsh-connect-workbuddy★ 2129
Connects locally signed-in WorkBuddy models, CN and international alike, to DSH, reading each model's credit multiplier from the upstream catalog on every refresh, with per-model image input toggles, account switching backed by an auto-failing-over pool, manual daily check-in, and read-only credit overviews shown as compact pills on the card and in the composer.
Alice-Marx/dsh-model-router★ 1026
Routes DeepSeek Harness work across configured model APIs and supported vendor CLIs with dependency-aware packages and cost previews.
V1ki/dsh-plugin-subscriptions★ 646
Use ChatGPT (Codex), Claude, and Grok subscriptions as DeepSeek Harness LLM providers, with Settings login, model catalogs, usage, plus image_generate, video_generate, and x_search tools.
XDTrees/dsh-workbuddy-xdpool★ 638
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool (multi-account rotation, live credits, and a model catalog showing per-model credit multipliers and free/night-discount tags).
XDTrees/dsh-xdpool★ 638
Merge every locally signed-in WorkBuddy account into DeepSeek Harness as one auto-failing-over model pool: multi-account rotation, 429 cooldowns, live credits, a model catalog with per-model credit multipliers and free/night-discount tags, QR-code login for 13 vendors, and aggregate free-tier channels. Accounts persist across restarts.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.