Skip to content
Proposals/Enable prevent_idle_sleep, SuperGrok, and DeepSe
proposaldeveloperP4High impactZed AI

Enable prevent_idle_sleep, SuperGrok, and DeepSeek Flash 4.1 in Zed Agent Panel

Zed v1.21.0-pre keeps the machine awake during agent turns by default, adds SuperGrok sign-in and DeepSeek Flash 4.1, and lets you size the Threads sidebar and rename Terminal Threads. Wire those into Agent Panel settings so long-running agent work is not cut off by idle sleep.

Why this loop

This prerelease targets Agent Panel reliability on long turns. agent.prevent_idle_sleep is on by default so idle sleep cannot halt a running thread; leave it true for unattended work and set it false only if you need the machine to sleep. SuperGrok sign-in lets SuperGrok subscribers use Grok models in the Agent Panel, and DeepSeek Flash 4.1 is newly selectable. Set agent.threads_sidebar_default_width to a pixel width that matches your layout, and run agent: rename selected thread after starting a Terminal Thread so concurrent work stays labeled. Markdown code blocks in the Agent Panel, hover popovers, and Markdown preview also render faster when reviewing agent output. After upgrade, drop workarounds for Copilot auto-compaction on models whose prompt limit is below the context window, Inline Assistant fallback when no default model is set, Anthropic credit exhaustion misclassified as a malformed request, and Ollama failing to see images returned by tool calls. Do not infer anything from the three omitted changelog lines.

Proposed actions

  1. Open Zed settings.json and merge this object without deleting other keys: {"agent": {"prevent_idle_sleep": true, "threads_sidebar_default_width": 320}}
  2. In the Zed Agent Panel, complete SuperGrok sign-in, then pick a Grok model for the next thread if you have a SuperGrok subscription.
  3. In the Agent Panel model picker, enable DeepSeek Flash 4.1 and use it for high-volume, low-latency turns instead of a larger default model.
  4. After creating a Terminal Thread, run the Agent Panel action agent: rename selected thread and set the name to the current task slug (example: nightly-test-fix).
  5. From an actionable inlay hint, run the language-server action in place; for other LSP commands, open the new language server command picker instead of searching docs.

Agent prompt

Paste into your agent or query via MCP (get_agent_prompt) — free, no extra AI cost

AGENTS.md / CLAUDE.md / GEMINI.md rule update

DevAgentRadar → Repo Harness Rule Patch

Goal: update our repository's permanent harness instructions based on this release.

Update the file that tool actually reads. Do not dump everything into one file.

  • Claude Code → CLAUDE.md plus .claude/ (skills, hooks, settings, agents, commands). It does not read AGENTS.md natively; start CLAUDE.md with @AGENTS.md.
  • Codex, Copilot, Cursor, Factory Droid, Grok Build, Roo Code, Goose, OpenCode, Amp, Zed, Aider → AGENTS.md.
  • Gemini CLI / Antigravity → GEMINI.md. AGENTS.md only if context.fileName is set.
  • Cursor glob-scoped rules → .cursor/rules/*.mdc (plain .md is ignored), not a second constitution.
  • Codex MCP → .codex/config.toml, not .mcp.json.
  • Copilot extra instructions → .github/copilot-instructions.md; custom agents → .github/agents/.
  • Windsurf → .windsurf/rules (do not assume AGENTS.md).
  • Cline → .clinerules.
  • Procedures → a skill (SKILL.md). Enforcement the model must not skip → a hook. Isolated roles → subagents.
  • Do not fork the same rule into three tool files.

Context

Assistant: Zed AI Proposal: Enable prevent_idle_sleep, SuperGrok, and DeepSeek Flash 4.1 in Zed Agent Panel Summary: Zed v1.21.0-pre keeps the machine awake during agent turns by default, adds SuperGrok sign-in and DeepSeek Flash 4.1, and lets you size the Threads sidebar and rename Terminal Threads. Wire those into Agent Panel settings so long-running agent work is not cut off by idle sleep. Primary source: https://github.com/zed-industries/zed/releases/tag/v1.21.0-pre

Why it matters

This prerelease targets Agent Panel reliability on long turns. agent.prevent_idle_sleep is on by default so idle sleep cannot halt a running thread; leave it true for unattended work and set it false only if you need the machine to sleep. SuperGrok sign-in lets SuperGrok subscribers use Grok models in the Agent Panel, and DeepSeek Flash 4.1 is newly selectable. Set agent.threads_sidebar_default_width to a pixel width that matches your layout, and run agent: rename selected thread after starting a Terminal Thread so concurrent work stays labeled. Markdown code blocks in the Agent Panel, hover popovers, and Markdown preview also render faster when reviewing agent output. After upgrade, drop workarounds for Copilot auto-compaction on models whose prompt limit is below the context window, Inline Assistant fallback when no default model is set, Anthropic credit exhaustion misclassified as a malformed request, and Ollama failing to see images returned by tool calls. Do not infer anything from the three omitted changelog lines.

Suggested actions

  1. Open Zed settings.json and merge this object without deleting other keys: {"agent": {"prevent_idle_sleep": true, "threads_sidebar_default_width": 320}}
  2. In the Zed Agent Panel, complete SuperGrok sign-in, then pick a Grok model for the next thread if you have a SuperGrok subscription.
  3. In the Agent Panel model picker, enable DeepSeek Flash 4.1 and use it for high-volume, low-latency turns instead of a larger default model.
  4. After creating a Terminal Thread, run the Agent Panel action agent: rename selected thread and set the name to the current task slug (example: nightly-test-fix).
  5. From an actionable inlay hint, run the language-server action in place; for other LSP commands, open the new language server command picker instead of searching docs.

Config surfaces this release may change

  • context and compaction settings — check your repo before applying

After you finish

Do not report this as applied to DevAgentRadar. You cannot write the visitor's loop.

Tell the human: open https://devagentradar.com/proposals/zed-ai-v1-21-0-pre-enable-prevent-idle-sleep-supergrok-and-deepseek-flas and mark Applied, Skipped, or Failed. Proposal id: f1a950be-5cc7-4bc0-906c-d6530de8c606

Instructions:

  1. Read the existing context files and settings for the tools in this repo.
  2. Draft an explicit Git diff. Update ONLY agent harness rules or tool configuration.
  3. Call out deprecated flags, obsolete habits, or changed permission boundaries.
  4. Do not touch application logic.

Start with the proposed diff and say which layer and which tool's file it belongs in.

agentmodelpricingidecliRelease source ↗

Your loop

This browser · no sign-in · not shared as “you”

After you run the prompt

Only you can mark this. Agents cannot write your loop.

Your decision stays on this device. A public tally appears after a few votes.

Originating release signal

Zed AIv1.21.0-preSep 16, 2026

v1.21.0-pre

This week's release includes faster rendering in syntax-highlighted files and Markdown code blocks, a language server command picker, and a setting that keeps your system awake during long-running agent turns. · Fixed a bug where folders remained highlighted after they stopped being dragged. (#64038; thanks tidely) · --- · Learn about the Zed Guild. · +44 more changes
Verified excerpt — the source's own words

This week's release includes faster rendering in syntax-highlighted files and Markdown code blocks, a language server command picker, and a setting that keeps your system awake during long-running agent turns.

Shipped by the Zed Guild 🛡️

  • Fixed a bug where folders remained highlighted after they stopped being dragged. (#64038; thanks tidely)

Learn about the Zed Guild.

Features

AI

  • Added SuperGrok sign-in so SuperGrok subscribers can use Grok models in the Agent Panel. (#63248; thanks thibaudgg)

  • Added the agent.prevent_idle_sleep setting, enabled by default, to prevent idle system sleep while agent threads are running. (#53130; thanks cppcoffee)

  • Added support for DeepSeek Flash 4.1. (#64014; thanks cppcoffee)

Excerpt ends here — this release continues at the source ↗.

Primary source ↗
Enable prevent_idle_sleep, SuperGrok, and DeepSeek Flash 4.1 in Zed Agent Panel · DevAgentRadar