Skip to content

Releases: brucehsu/codelegate

Codelegate v1.2.0 - Git UX redesign

18 May 10:01

Choose a tag to compare

The main change in this release is a redesign of the Git pane: instead of a single flat list of files, it now uses a two-column layout with a file tree on the left and the selected file's diff on the right, making it
much more intuitive to browse and compare across large changesets. This release also adds support for Factory.ai's Droid CLI and a handful of fixes that smooth out everyday workflows.

Git Pane Two-Column Redesign with a File Tree

The Git pane now uses a two-column layout: a file tree organized by directory structure on the left, and the actual diff for the selected file on the right. The tree is built on @pierre/trees and lists changes with
natural sorting (numbers in filenames sort by value rather than lexically), color-coded by status for added, modified, deleted, and untracked entries, with a palette that follows the app's existing theme.

The left-hand tree can be freely resized by dragging. It defaults to 320px and clamps itself between a minimum width and a share of the pane, so the diff area on the right always keeps enough room to read comfortably.

Factory.ai Droid CLI Support

The agent picker now includes Factory.ai's Droid CLI, which can be launched in a session just like Claude Code and Codex CLI. This release also adds agent detection: when you create a new session, each agent's command
is checked against your login shell's PATH, so the picker reflects which agents are actually available in your environment and you avoid picking a tool that isn't installed yet.

Other Improvements

  • Last focused pane memory: switching back to a session restores whichever Agent, Terminal, or Git pane that tab last had open, instead of always jumping back to the default. New sessions still start on the Agent
    pane.
  • Proper untracked directory handling: the Git pane now recognizes untracked directories correctly and no longer produces a broken diff for a whole new directory.
  • Amend state fix: after an amend, the Git pane resets correctly to that commit's state. Single-file stage/unstage now returns the latest change summary directly, including renames produced by the action.

Codelegate v1.1.0 - Git overhaul, terminal UX improvements

05 Apr 00:45

Choose a tag to compare

After a few weeks of dogfooding Codelegate at work every day, a couple of terminal paper cuts surfaced - and while mitigating a database incident I hit a much bigger problem: the Git subsystem ground to a halt on the large changeset involved. This release is primarily about fixing that by rebuilding the Git subsystem from the ground up.

Git Subsystem Rewrite

The previous implementation shelled out to git and tried to read and render every diff upfront. With a large number of changed files or a single massive diff, that meant runaway memory and CPU usage - often enough to freeze the whole app.

The new backend is written against the Rust-native git2 library while keeping the UI and UX unchanged. File diffs are now fetched lazily and asynchronously so the interface stays responsive, and @tanstack/react-virtual handles the heavy lifting for rendering large changesets.

A few related quality-of-life tweaks came along for the ride: only the first 10 files auto-expand when you open the Git pane, files with excessive changes stay collapsed by default, and syntax highlighting is skipped for very large files.

Terminal Improvements

  • Scroll position memory: switching sessions no longer loses your place in the scrollback.
  • Selection fix: terminal text selection was being dropped on state updates; this is now preserved.
  • Switched to the default xterm.js renderer, which simplifies the rendering pipeline and fixes incorrect font rendering.

Codelegate v1.0.0

12 Mar 02:08

Choose a tag to compare

This is the first official release of Codelegate Desktop.

Codelegate Desktop is an opinionated workspace for managing coding agent CLI sessions in the same window. It can start sessions in separate Git worktrees for the same repository, group them by repo, and keep navigation fast with keyboard-first controls.

Features in this release:

  • Built-in support for Claude Code and Codex CLI
  • Multi-session workspace with repository grouping and session search
  • Keyboard-first navigation across sessions, panes, and common actions
  • Optional automatic Git worktree setup for new sessions
  • Per-repository defaults for environment variables and pre-agent commands
  • Session status indicators, unread output markers, and agent restart support
  • Dedicated Agent, Git, and Terminal panes for each session
  • Built-in Git workflow with staged and unstaged diffs, untracked files, stage all, unstage all, discard all, commit, and amend
  • Full shell access in the Terminal pane
  • Desktop notifications from supported terminal and agent output
  • Optional session restore when reopening the app