Repository navigation
Releases
Releases · xiaobaijiadepugongyingpai-coder/dsh-crew-x
v0.2.1 — DSH Marketplace Metadata
Add DSH marketplace metadata (engines.dsh, dsh.manifestVersion, dsh.catalog, dsh-plugin keyword), 180x180 PNG icon, and screenshots.json for DSH Desktop & Web marketplaces.
v0.2.0 — DSH Crew X
Changelog
All notable changes to dsh-crew-x will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[0.2.0] - 2026-11-23
Initial Hard Fork release from upstream ZSeven-W/dsh-crew (0.1.0-rc.15 at commit b00cc6d).
🚀 Major Enhancements & New Features
-
Opt-In Persistent DSH Sessions (
persistent: true):- Added 1:1 binding between forwarding subagents and DSH Hub sessions, carrying full conversation history, tool calls, and workspace context across multiple turns.
- Added new 8th MCP tool:
dsh_session_close({ session_id })for explicit teardown with persistent tombstone tracking. - Implemented background idle session reaper with configurable timeout (
persistent_session_idle_timeout_minutes, default 30m). - Added turn-level watchdog with monotonic
turnEpochprotection and dynamic budgets calculated from callertimeout_seconds. - Added active persistent sessions monitor table and per-session job grouping badges (
↻ <shortId> #<turn>) in the DSH Web UI.
-
Dynamic Hub Port Discovery & Hot Reconnection:
- Implemented atomic
~/.config/dsh-crew/hub.jsonfile-based discovery for randomized loopback ports assigned by DSH Desktop. - Added CAS-governed dynamic failover and
ECONNREFUSEDauto-reconnection inhub-client.mjs, making DSH Desktop restarts completely seamless.
- Implemented atomic
-
Visual Tier Binding & Route Probe:
- Added dynamic Provider/Model selector in DSH settings panel querying
ctx.llm.listProviders()andlistModels()(5s timeout isolation, credential redaction). - Added inline custom model ID editing (
✎/✓/×) and default reset buttons. - Added one-click "Test route" probe button for each tier executing a zero-side-effect no-op tool call to verify live routing capability.
- Added dynamic Provider/Model selector in DSH settings panel querying
-
Per-Task Granular Permissions & Windows Worktree Fallback:
- Supported 4 per-task sandbox modes:
read-only,workspace-write,auto, andfull-access. - Implemented Windows ACL failure auto-fallback: tasks under
permission: "auto"encounteringSetNamedSecurityInfoWorWin32 5 Access Deniedgracefully migrate to an isolated temporary Git Worktree at%TEMP%\dsh-crew-worktrees\<id>, keeping external session identity unchanged. - Added
.degradation.jsonsidecar metadata ensuring degraded worktrees survive across DSH Hub process restarts. - Added
DSH_CREW_MAX_PERMISSIONenvironment ceiling ensuring non-escalating permission delegation.
- Supported 4 per-task sandbox modes:
-
Structured Summary Contract & Result Offloading:
- Automatically appends standardized summary contracts: read-only tasks return
VERDICT+FINDINGS; modification tasks returnCHANGED+VERIFIED+UNVERIFIED. - Added automatic result offloading: settled outputs exceeding
inline_limit(default 1500 tokens / 4000 characters) or failed tasks are automatically written to<cwd>/.dsh-reports/with.gitignoremanaged idempotently, saving 85%+ host context window.
- Automatically appends standardized summary contracts: read-only tasks return
-
Antigravity Fine-Grained Permissions:
- Split MCP tools into Safe (4 low-risk query tools auto-allowed) and Sensitive (4 dispatch/cancel/session tools asking by default).
- Added CLI flag
--agy-permissions=safe|all|noneand one-click rule copier for Antigravity Desktop AppGlobal Permissions.
-
Concurrent Read-Only Execution:
- Supported
allow_concurrent_cwd: trueon read-only tasks, unlocking concurrent multi-worker code exploration without workspace write-lock contention.
- Supported
🐛 Bug Fixes & Deep Hardening (14 Confirmed Defects Resolved)
- Job Cancel 415 Blocking (
0115753): Fixed missingcontent-type: application/jsonindsh_worker_cancelcalls that caused requests to be rejected by P0 JSON guards. - Async Spawn Silent Downgrade (
272bb69): Replaced default Zod parameter stripping with.passthrough()and explicit rejection (PERSISTENT_ASYNC_UNSUPPORTED) whenpersistentparameters are passed todsh_spawn_worker. - Two-Way ACL False-Positive & Detection Fixes (
cadd24d,c8cb5a9): Fixed Win32 ACL error detection to detect stripped stack traces while preventing false positives caused by code comments or string mentions of ACL APIs. - Worktree Degradation Survival (
4d36d24): Guaranteed degraded worktree paths and cwd locks persist and resume properly across Hub restarts. - Caller Watchdog Timeout (
e8e2df6): Replaced hardcoded 30-minute watchdog with dynamic budget derived from callertimeout_seconds. - Lenient Preset Inheritance (
7e6aae7): Normalized explicitpreset: "default"on follow-up turns to prevent falseSESSION_PRESET_MISMATCHerrors. - CWD Advisory Lock Holding on Timeout (
fa097df): Prevented premature release of workspace locks when a timed-out turn is still executing in the Hub runtime. - Session Close Revival Race (
1d8f726): Fixed race condition betweenclosePersistentSessionand lateagents.resumeevents via monotonicturnEpochvalidation. - Empty Session ID Exploit (
a5eda58): Fixedsession_id: ""falsy fallback that previously dispatched a silent one-shot job instead of validating existence. - Client Session Close Feedback (
99f1798): Isolated session close failure state so errors are not masked by the 3-second polling cycle. - JSON Content-Type Guards (
1d8f726): Enforced strictapplication/jsoncontent-type verification across all 9 Hub mutating routes. - CWD Path Canonicalization (
1d8f726): Normalized casing and directory separators across all session validation paths. - Undici Long-Polling Protection: Maintained
MAX_POLL_SLICE_SECONDS = 60to eliminate 300-second Node HTTP header timeout disconnections. - Strict Host Realm Isolation: Enforced zero
@deepseek-ai/*imports across all Hub and MCP modules, communicating exclusively via DSH runtime-injected contexts.
⚠️ Breaking Changes & Migration Notes
dsh_spawn_workernow explicitly rejectspersistentandsession_idarguments with error codePERSISTENT_ASYNC_UNSUPPORTED.- When an
autotask degrades to a Git Worktree on Windows, the returned payload includesworktree_pathandisolation: true. - Upstream
@zseven-w/dsh-crewanddsh-crew-xshould not be enabled simultaneously in the same host configuration to avoid tool name collisions.