DeepSeek CLI v1.3.0 — Comprehensive Release Notes
DeepSeek CLI v1.3.0 is a feature release introducing 24 optimizations, autonomous reactive execution, advanced background task management, non-interactive sudo elevation, network resilience, and enhanced UI controls.
1. Background Task Management & Reactive Agent Awakening
- 10-Second Auto-Backgrounding: Long commands exceeding 10s are automatically transitioned to background tasks (
is_background: true), releasing the terminal immediately without freezing the UI. - Reactive Agent Awakening (Zero Polling): Upon background process exit, output is captured and injected into DeepSeek when
Idle. DeepSeek synthesizes and displays the final report proactively. - Native Agent Tools (
kill_background_process&write_background_input): Provides safe PID-based process termination and interactive stdin streaming for background commands. - Mandatory Backgrounding Policy: System Prompt enforces
is_background: truefor scans (nmap), full-test runs, and heavy compilation tasks with immediate PID feedback. - Strict
sleepBan: Prohibits active polling loops (sleep 30) to prevent LLM token waste and zombie subshells. - Proactive Background Result Delivery: Instructs the model to check output files on state inquiries and report completed results immediately.
- Continuous Initial Execution: Sequences discovery (
nmap -sn) directly into deep vulnerability scans without redundant conversational pauses.
2. Autonomous Permission System: $auto & $sudo
- One-Turn Autonomous Mode (
$auto <prompt>): Promotes execution toApprovalMode.YOLOfor that turn, executing tools without confirmation prompts. - Multi-Tool Cycle Persistence: Maintains YOLO approval across all tool steps within the user's turn until returning to
Idle. - Continuation Context Inheritance: Follow-up prompts ("continue", "proceed", "go ahead") automatically inherit
$autoauthorization. - Inline Sudo Password Elevation (
$sudo:PASSWORD): Memory-only session RAM password storage paired withaskpass.cjsfor 0ms silent root command execution (nmap -sS,systemctl). Password is never sent to the LLM API. - Safe Command Auto-Approval (
read-only.toml): Diagnostic commands (ping,curl,date,whoami,git status,cat) auto-approved by default.
3. Model Routing, Shortcuts & UI Controls
- Strict Model Selection Priority: Reordered
OverrideStrategyinmodelRouterServiceto guarantee explicit user selections (flashorpro) are never mutated by the complexity classifier. - Direct Switch Commands (
/model pro&/model flash): Instant model toggling with alias support. - Dynamic Footer Reasoning Effort Badge: Real-time indicator for DeepSeek-V4-Pro (
r:low,r:medium,r:high,r:max). - Footer Task Indicator: Real-time badge in cyan displaying active background tasks (
tasks (X running)).
4. Network Resilience, Search & Shell Flexibility
- Exponential Backoff Retry (
fetchWithRetry): Automatic retry with exponential backoff and jitter upon HTTP429(Rate Limit) and503(Service Unavailable). - Idle Stream Timeout (60s): Cancels stalled SSE connections if no bytes arrive within 60 seconds.
- Optimized Native Web Search: Native server-side search via
deepseek-chatwith dynamic timeouts tailored to reasoning levels. - Unrestricted Shell Command Substitution: Enabled bash
$()and backticks for compound terminal operations.
5. Packaging, Stabilization & Metadata
- Hanging Sockets & AbortSignal Fix: Complete
AbortSignalpropagation infetchand SSE streams to eliminate zombie TCP sockets. - Clean Manual Update UX: Replaced brittle global background updates with an informative update banner.
- Guaranteed Bundle Assets: Enforced automatic copying of
README.mdandLICENSEintobundle/for NPM packages. - SEO Keywords & Author Attribution: Enriched NPM metadata and official author info (
sluisr <contact@sluisr.com> (https://sluisr.com/)).