zeekayandGitHub 08cc636879 fix(server): harden Codex thread-gone and rollout-record recovery (#79)
- Broaden Codex thread-gone and rollout-record error classification in
  CodexAdapterV2 (handling thread not found/gone, missing rollouts, and
  rollout recorder failures).
- Ignore non-fatal rollout-record error notifications during active turns
  and recover turns that completed work before a teardown rollout-record
  error so active coding sessions are never crashed or discarded.
- Add unified native-thread recovery in startNativeTurn (reusing one
  startFreshNativeThread helper shared with ensureThread): when turn/start
  hits an unloaded or gone thread, attempt thread/resume first and fall
  back to a fresh native thread on the same workspace (emitting
  provider_thread.updated) so uncommitted edits survive.
- Treat thread-gone and rollout-record errors during unloadThread as clean
  teardown and always resolve threadClosings via one resolveThreadClosing
  helper so waiters cannot strand.
- Consolidate duplicate loaded-thread map deletion paths in
  ProviderSessionManager into withoutLoadedThread and invalidate stale
  cache entries when provider_thread.updated replaces nativeThreadRef.
- Add Vitest replay regression tests covering unloaded resume, gone-thread
  fresh recovery, non-fatal rollout-record completion, and clean unload.
2026-11-22 18:56:50 -08:00

Hanzo Dev logo

</> Hanzo Dev

Open in Hanzo Edit with Hanzo Deploy with Hanzo

The unified multi-agent control plane for coding agents across Desktop, Web, Mobile, and Cloud.

Download for desktop · Web · Install guide · Security

Hanzo Dev v1, the terminal agent, lives at hanzoai/dev-v1. The command line going forward is hanzo.

Hanzo Dev runs every coding agent on your machine—and connects to your local hanzod private AI node or hanzo.ai cloud account—in one unified interface. Start a thread at your desk, jump directly into Hanzo IDE, or approve the next step from your phone.

It works out-of-the-box with Hanzo (hanzo / hanzod), Claude Code, Codex, Cursor, OpenCode, Grok Build, Antigravity, Kiro, Pi, Muse Code, fx, and any ACP agent.

Features

  • Every agent & account in one place. Auto-discovers installed agents and logged-in accounts on your computer. Switch models mid-thread or hand tasks across agents.
  • Local Private AI (hanzod) + Cloud (hanzo.ai). Connect directly to your local hanzod runtime (http://127.0.0.1:9630 / http://127.0.0.1:3690) or sign in with your hanzo.ai account.
  • One-click "Open in Hanzo IDE". Jump from any thread or git worktree in Hanzo Dev straight into /Applications/Hanzo IDE.app (or Cursor, VS Code, Zed, Ghostty, Xcode).
  • Real-Time Voice & Dictation. Integrated voice prompt dictation with optional hands-free macOS menu bar shortcut support.
  • Built-in Git Worktrees & Diff Review. Isolate agent threads in dedicated git worktrees, inspect diffs, and commit/PR in one click.

Running Locally

git clone https://github.com/hanzoai/dev.git
cd dev
COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm install

# Build & launch the production-bundled native desktop app (fastest, zero HMR lag)
COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm run build:desktop
COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm run start:desktop

# Or launch with live Vite HMR watchers for UI development
COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm run dev:desktop

# Or run web + orchestration server directly in your browser (http://127.0.0.1:5733)
COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm run dev
  • Desktop App: Launches native Hanzo Dev (Rust Tauri v2 + WKWebView/Metal shell, ~15 MB footprint, native OS Keychain IAM vault, monochrome dark/light UI, official Hanzo icon and menu bar)
  • Web Control Plane: http://127.0.0.1:5733 (if running dev:desktop and opening in Safari/Chrome, run node apps/server/dist/bin.mjs pair --base-dir ~/.hanzo-dev for a local pairing URL)
  • Orchestration Server: http://127.0.0.1:13773

License

MIT Licensed — Copyright (c) 2026 Hanzo AI Inc. See LICENSE.

S
Description
Hanzo Dev Desktop — unified multi-agent control plane across Desktop, Web, and Mobile
Readme MIT
132 MiB
Languages
TypeScript 95.6%
JavaScript 1.2%
Swift 0.6%
Kotlin 0.6%
Rust 0.6%
Other 1.1%