Repository navigation
ZenCODE v5.0.0
ZenCODE 5.0.0 is a breaking release. Setup now has a single entry point, zen --setup, and it adds Git worktrees, so a session can work on a branch without touching your main checkout. Coming from 4.x? Read "Heads-up: breaking changes" before you update.
Highlights
-
zen --worktree NAMEruns the terminal chat (orzen --ui) in the Git worktreeNAMEof the current repository, on the branchNAME(checked out if it exists, otherwise created fromHEAD). The worktree shares the repository's project memory, saved sessions, task graphs and project agents with the main checkout. When the chat ends, a menu offers to merge the branch into the main branch and remove the worktree, keep it (the default), or remove it without merging; the macOS app asks the same when its last window closes. It is not available with--acp,--telegram,-p/-for--jsonl. See Docs/zen.md. -
zen --setupis the one way to configure ZenCODE, for the first setup and every later change. It always opens the setup menu, never enters a chat, and exits with status 0 when a valid configuration exists at the end. See Docs/zen.md. -
No more cap of 8 sub-agents per
agent.createrequest. The only limit left is the 64 participants of a session's shared-chat room. -
Delegated agents now write their prompts, task descriptions and messages in the session's response language, too.
-
One elapsed-time formatter (
1.25s,420ms) is shared by the terminal, Telegram, ACP clients and the macOS app. -
The sub-agent overview has a new intermediate layout, so with many agents each one keeps its model, metrics and current tool row. On a narrow terminal the status bar truncates the agent name to 24 columns, leaving room for the model, context and token counters.
Heads-up: breaking changes
- The
/setupcommand is removed from the terminal chat. Usezen --setup. - Starting without a valid configuration (missing or invalid
settings.json/agents.json, or no model configured) no longer opens the setup.zen,zen --ui,-p/-f,--jsonland--telegramprint a hint to runzen --setupand exit with status 1. ACP is the only exception:zen --acpstill answersinitialize. ZENCODE_AGENT_MODEis no longer read. If your ACP client relied on it alone, add--acpto the command.- The ACP terminal authentication method
zencode-setup("Set up ZenCODE") now runszen --setup. The setup opens in the client's terminal and exits when it ends, then the client reconnects. - Swift API, only for code that embeds
ZenCODECore: the setup handler and in-process restart state are removed, along withAgentRunMode.automatic,DirectSubAgentRuntime.AgentSnapshot.accumulatedOutput, thekeepingExternalTools:parameter ofChatSessionHost.shutdown, theTerminalChatActoralias (deprecated since 4.0.0), and public symbols with no callers inToolCore,FeatureMCPBridgeKitandZenCODEACPBridge. Some other public signatures change. See the Breaking entries in the CHANGELOG.
Install
See the README (--ref v5.0.0) and the CHANGELOG for the full list of changes. After updating, run zen --setup once if you need to change anything. macOS arm64 and Linux x86_64/arm64 archives are attached below, each with its .sha256.
- Worktree by @gerardogrisolini in #12
Full Changelog: v4.1.0...v5.0.0