Skip to content

About

ECA Desktop - Use ECA from any machine

Resources

Contributing

Stars

15 stars

Watchers

1 watching

Forks

Latest commit

 

History

231 Commits

Folders and files

Repository files navigation

ECA Desktop

CI GitHub Release License: Apache 2.0 Platform

demo

ECA (Editor Code Assistant) Desktop is an AI-powered pair-programming client that runs as a standalone desktop app — no editor required. It connects to an external eca server process to provide interactive chat, code suggestions, context management and more.

The rationale came from being able to offer all ECA server capabilities that are a lot in an easy way without requiring an editor, since most logic lives in ECA server, ECA Desktop is a thin wrapper layer re-using eca-webview.

For more details about ECA, features and configuration, check ECA server.

This app will auto download eca and manage the process.

Install

Grab the latest build for your platform from GitHub Releases:

Platform Architecture Formats
macOS Intel (x64) .dmg, .zip
macOS Apple Silicon (arm64) .dmg, .zip
Linux x64 .AppImage, .deb, .flatpak
Linux arm64 .AppImage, .deb
Windows x64 portable .exe

macOS: builds are signed but temporarily not notarized, so macOS blocks the first launch of a freshly downloaded copy. Try to open it once, then go to System Settings → Privacy & Security and click Open Anyway (on macOS 14 and older you can instead right-click the app → Open). Auto-updates of an existing install are not affected.

For the Flatpak bundle:

flatpak install --user ./eca-linux-x86_64.flatpak
flatpak run dev.eca.desktop

On Windows, eca-win-x64.exe is a single portable executable: no installer and no admin rights, just download it and double-click. It is not code-signed, so on first launch SmartScreen shows "Windows protected your PC": click More info → Run anyway. Each launch unpacks the app to a temporary folder (a few seconds, behind a splash screen) and removes it on exit; your preferences, sessions and the managed eca server are kept in your user profile (%USERPROFILE%\.eca-desktop), not next to the .exe.

Release assets are published with SLSA build provenance so you can verify they were built by this repository's CI.

Auto-updates: .dmg, .zip, and .AppImage update in place via electron-updater. .deb does not auto-update — upgrade by downloading a fresh .deb from Releases. .flatpak app updates are owned by Flatpak — until ECA is on Flathub, upgrade by installing a fresh bundle. The portable Windows .exe can't replace itself — it tells you when a new release is out; download the new .exe and use it instead. The managed eca server keeps auto-updating in every format.

Using ECA Desktop

On first launch a short setup downloads the eca server, helps you connect a model (API keys found in your environment are picked up), pick a theme and open a first folder. You can replay it anytime from Help › Replay Onboarding….

Workspaces and chats

A workspace is a project folder: ECA reads it, runs tools in it and keeps its chats together. Add one with Ctrl/⌘+O, by dropping a folder on the window, or from the recent folders.

  • Workspaces stay in the sidebar across restarts. Each runs its own eca server only while it's awake: idle workspaces go to sleep (after 30 minutes by default, and at most 3 stay awake), but their chats stay listed — opening one wakes the workspace. Messages you type meanwhile are sent once it's ready.
  • A workspace that fails to start shows why, with Retry, Open config and Logs.
  • Chats can be renamed (double-click, F2 or the title), pinned, archived, exported and deleted with an undo. A dot marks chats that finished while you were elsewhere.
  • Ctrl/⌘+K searches every workspace's chats (sleeping and archived ones too), workspaces, recent folders and actions.

The chat on large windows

  • The chat is one column — messages, tool cards, code, tables, diffs and the composer — that grows with the window: 80% of the chat area, from 52em up to 100em, with the text a little bigger when it gets very wide. Settings › Appearance can pin it instead (Comfortable, Wide, Full) or keep the text size. The whole chat area scrolls, wherever the pointer is.
  • Diffs go side by side when there's room; each diff can be pinned to Unified or Side by side.
  • The side panel (Ctrl/⌘+Alt+B, View › Toggle Side Panel, or the top bar's panel button) sits next to the chat: Changes lists the files the chat edited with each edit's diff, Show in chat, Open, and Approve / Reject for an edit waiting for you; Tasks shows the agent's plan; Context the context window, cost, subagents, background jobs and MCP servers. It opens by itself on wide windows (Auto, see Settings › Appearance › Side panel), covers the chat on narrow ones (Esc closes it); drag its edge to resize it (double-click resets), or widen it to half the window.
  • When the margins get big enough, an outline of the chat sits on the left: your prompts, what each turn edited, approvals waiting and the answers' headings. It follows your reading and jumps on click.

Keyboard shortcuts

Action Shortcut
Search chats, workspaces & actions Ctrl/⌘+K
New chat in the current workspace Ctrl/⌘+N
Add a workspace Ctrl/⌘+O
Find in chat Ctrl/⌘+F
Settings Ctrl/⌘+,
Toggle sidebar Ctrl/⌘+B
Toggle side panel Ctrl/⌘+Alt+B
Rename chat F2
Next / previous chat Ctrl+Tab / Ctrl+Shift+Tab
Jump to chat 1–9 Ctrl/⌘+1…9
Approve / approve & remember / reject a tool call Enter / Shift+Enter / Esc
All shortcuts Ctrl/⌘+/

Settings

Settings (Ctrl/⌘+,) gathers the app's preferences — startup, sleeping workspaces, deleting chats, notifications, appearance, the eca server binary and shell environment — with the server-side pages: models & providers, MCP servers, workspaces, background jobs, logs and the global config file.

ECA tells you when a chat finishes in the background, needs your approval, or when a server crashes: with a toast, or an OS notification while the app is in the background (Settings › General).

Themes

Besides Dark, Light and System (follows your OS), pick an accent color, interface and code fonts, the chat width and text growth, the side panel and the sidebar density in Settings › Appearance.

Your own themes are JSON files in ~/.config/eca-desktop/themes/ (or $XDG_CONFIG_HOME/eca-desktop/themes/); Open themes folder creates it with an example. They show up in Settings › Appearance and apply live when you save them:

{
  "name": "Midnight",
  "base": "dark",
  "colors": {
    "accent": "#7c8cff",
    "background": "#0f1424",
    "sidebar": "#0b0f1c",
    "foreground": "#d8def0"
  },
  "fonts": { "ui": "Inter, sans-serif", "mono": "'JetBrains Mono', monospace" },
  "variables": { "--eca-diff-insert-bg": "rgba(74, 222, 128, 0.2)" }
}
  • base: dark or light, the built-in theme it starts from.
  • colors: any of accent, background, sidebar, panel, panelAlt, input, hover, selection, border, borderStrong, foreground, muted, subtle, code, tooltip, success, warning, approval, error, info, logo (CSS colors).
  • fonts: ui and/or mono (CSS font-family lists).
  • variables: any --sh-* (app chrome), --eca-* (chat) or --d-* CSS variable, for what the friendly keys don't cover.

Keys a theme can't use (unknown names, invalid values, anything that would load a URL) are ignored and listed in Settings › Appearance; the rest of the theme still applies. On Windows the folder is %USERPROFILE%\.config\eca-desktop\themes\.

Where things are stored

Preferences, workspaces and the managed eca server live in ~/.eca-desktop (%USERPROFILE%\.eca-desktop on Windows). Set the ECA_DESKTOP_DATA_DIR environment variable to use another folder, e.g. to try things without touching your setup. Chats themselves are stored by the eca server.

Troubleshooting

Check troubleshooting docs section.

Development

Prerequisites

Setup

Make sure that you have the eca-webview submodule cloned:

git clone --recursive https://github.com/editor-code-assistant/eca-desktop.git
cd eca-desktop
npm install
npm install --prefix eca-webview

If you already cloned without --recursive:

git submodule update --init --recursive
npm install --prefix eca-webview

The webview has its own dependencies: npm run dev and npm run dev:webview start its Vite dev server, which needs them installed (npm run build installs them itself).

Run locally

npm run dev

This starts the eca-webview Vite dev server on http://localhost:5173 and launches Electron pointing to it, so any changes will be updated on the desktop app live.

Reusing a running webview across clients

If you already have an eca-webview Vite dev server running (for example one started by eca-vscode or eca-intellij), you can boot only the desktop side and have it connect to that same webview:

# Terminal A — the webview only (or already running from another client)
npm run dev:webview

# Terminal B — the desktop only, connects to http://localhost:5173 by default
npm run dev:app

Override the URL with the ECA_WEBVIEW_URL env var to point at a non-default host/port:

ECA_WEBVIEW_URL=http://localhost:6000 npm run dev:app

Package

npm run package           # current platform
npm run package:mac       # macOS
npm run package:linux     # Linux (AppImage + deb)
npm run package:flatpak   # Linux (Flatpak bundle, x64)
npm run package:win       # Windows (portable .exe, x64; also cross-builds from Linux)

Installers are written to release/.

The Flatpak target additionally requires flatpak, flatpak-builder and appstreamcli (package appstream, plus appstream-compose on Debian/Ubuntu) installed, plus the shared runtimes:

flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install --user flathub org.freedesktop.Platform//24.08 org.freedesktop.Sdk//24.08 org.electronjs.Electron2.BaseApp//24.08

When sandboxed, the app spawns the eca server on the host via flatpak-spawn --host (permission --talk-name=org.freedesktop.Flatpak) so the agent can use your real toolchain (git, shells, MCP servers), falling back to an in-sandbox server if the portal is unavailable.

See CONTRIBUTING.md for more details.

Platforms

Platform Status
macOS (Intel & Apple Silicon) ✅ Supported
Linux (x64 & arm64) ✅ Supported
Windows (x64) ✅ Supported (portable .exe)

Contributing 💙

Contributions are very welcome, please open an issue for discussion or a pull request. See CONTRIBUTING.md for development guidelines.

About

ECA Desktop - Use ECA from any machine

Resources

Contributing

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages