Skip to content

Delta Agent 0.1.23

Latest

Choose a tag to compare

@descz descz released this 11 Nov 10:26
· 1 commit to main since this release

Delta Agent 0.1.23

A terminal coding agent in plain C — TUI, tools, hooks, extensions, MCP, replay. No Node, no Python, no bundler.

download platform install
Delta.exe Windows x64 double-click → browser installer, or run from any folder
Delta-windows-x64.zip Windows x64 unzip, delta --install %USERPROFILE%\.deltaCore
delta-linux-x86_64.run Linux x86_64 chmod +x delta-linux-x86_64.run && ./delta-linux-x86_64.run
delta-linux-x86_64.tar.gz Linux x86_64 untar, ./install.sh (or --headless ~/.deltaCore)
delta-macos-source.zip macOS source only — build with make (Apple Silicon/Intel)

Verify: SHA256SUMS.txt (SHA-256 of every asset above).

What changed

  • Self-update: no more "erro 5" when swapping the running exe. trocar_exe renamed the running binary to delta.exe.old with MOVEFILE_REPLACE_EXISTING; if a previous swap left an .old still mapped by another live Delta session, the overwrite was refused (ERROR_ACCESS_DENIED, error 5) and the update aborted. Now the updater picks a free .old.N name instead of ever overwriting a locked file, and update_init sweeps all .old* leftovers on startup. The failure message now also tells you to close other Delta windows and retry. The assets below were re-uploaded right after the release was published so that 0.1.23 ships with this fix — checksums in SHA256SUMS.txt match the current files.

  • Slash command menu: descriptions matched to commands again. CMD_KEYS (the i18n key map, ordered like COMMANDS) was missing the docs key, so from /docs onward every entry showed the next command's description — /docs announced itself as the API-key picker, /login as the provider remover, and so on. With /docs removed this becomes moot, but the alignment is fixed and covered by the entry-count invariant (23 keys for 23 commands).

  • /docs removed from the slash commands. The agent spec is still printed by the delta docs CLI subcommand and by delta docs --headless; the tests now verify delta docs instead of -p "/docs".

  • desenv.cmd, a dev watcher. For working on Delta itself: every 3 s it compares the newest LastWriteTime under src/*.c,*.h; on change it runs build.bat and hot-swaps the installed exe (Windows refuses to overwrite a running exe but allows renaming it — the watcher moves the running binary to delta.exe.old, copies the fresh one in place, and Delta cleans the .old on next start, the same trick delta update already uses). The CLI never watched its own source; before this, the rebuild-and-copy step was manual.

What has actually been tested

  • Windows 10/11 x64 (reference platform): 112 end-to-end checks in build.bat test, plus the menu fix exercised live — the description shift was reproducible on screen and is gone after the fix. The updater fix reproduces the exact failure (stale locked delta.exe.old present) and the swap now succeeds.
  • Linux x86_64: compiles clean under gcc (Ubuntu/WSL) and packages; end-to-end suite (tests/run_all.sh) covers build, core, replay, streaming, installer and self-update. Nothing desktop-specific (.desktop, GNOME bookmarks, wl-copy/xclip clipboard) was exercised for this release.

Requirements

  • Windows: Windows 10/11 x64. Needs a provider key (/login) — OpenAI, Anthropic, OpenRouter, Gemini, DeepSeek, Ollama/LM Studio… Terminal with ANSI/VT (Windows Terminal recommended).
  • Linux: glibc ≥ 2.31, curl at runtime, any terminal.
  • macOS: build from source (make), then run bin/delta.

Hashes in SHA256SUMS.txt were computed right after packaging; the Linux binaries were built from a clean copy of the source (no mixed objects).