Omni Code v2 is the Electron edition of Omni Code. It combines the original agent/core system with a desktop UI for chat, file browsing, code editing, settings, and workspace-based development.
- Electron desktop app shell
- React renderer UI
- Built-in chat panel for working with the coding agent
- File explorer and editor layout
- Recent workspace support
- Settings and model/provider configuration hooks
- Node.js
20+ - npm
- macOS, Linux, or Windows with Electron support
npm installFor local development:
npm run electron:devThis starts:
- the Vite renderer dev server
- the Electron main process
For a direct Electron run against the built app entry:
npm run electron:runIf you use electron:run, make sure the app has already been built.
Build the core package:
npm run buildBuild the desktop app bundle:
npm run electron:buildCreate an unpacked Electron bundle:
npm run electron:packnpm run test
npm run lint
npm run typecheck
npm run devnpm run dev starts the original terminal-based entrypoint, while npm run electron:dev starts the desktop app.
Start the app with:
npm run electron:devWhen the window opens, Omni Code v2 initializes settings, models, providers, and recent workspaces.
Use one of these:
Open Folderfrom the welcome screenCmd/Ctrl+O- a recent workspace from the welcome screen or app menu
After opening a folder, the app sets that directory as the active workspace and loads it into the file explorer.
The main window includes:
- a file explorer sidebar
- a central code editor
- a chat panel for agent interactions
- a status bar with model and app state
You can resize panels and toggle sidebar/chat visibility from the menu.
The chat panel is where you interact with the coding agent.
Typical workflow:
- Open a workspace.
- Type a request in the chat box.
- Let the agent inspect files, reason, and run supported tools.
- Review the streamed response and any tool activity shown inline.
Example prompts:
Explain this codebaseRefactor the selected codeFind and fix bugsAdd a new command for opening recent workspaces
- Select files from the explorer to open them in the editor.
- Multiple files can be opened in tabs.
- Settings are also exposed as a virtual editor tab from the app menu.
Open settings with:
Cmd/Ctrl+,- the app menu
Current shortcuts include:
Cmd/Ctrl+Oto open a folderCmd/Ctrl+,to open settingsCmd/Ctrl+Bto toggle the sidebarCmd/Ctrl+Enterfor send-message behavior where supportedEscapeto abort an active agent run
main/ Electron main-process code
renderer/ React-based desktop UI
src/ Shared/core Omni Code agent logic
dist-electron/ Built Electron output
release/ Packaged desktop builds
- Recent workspaces are stored with
electron-store. - The Electron app depends on the Omni Code core in
src/. - Build output directories like
dist-electron/andrelease/are generated artifacts and should not be edited directly.
- Re-run
npm run electron:dev - Make sure port
5173is available - Check the Electron terminal output for startup errors
- Restart the app after pulling new changes
- Confirm you are running the Electron version, not the terminal entrypoint
- Delete
node_modulesand reinstall:
rm -rf node_modules package-lock.json
npm installThis repo state is intended to represent the separate omni-code-v2 edition so it can evolve independently from the original Omni Code branch and UI.