Skip to content

A desktop coding agent with free access to frontier models.

TypeScript

feat: omnirush app name

ogsamrat4d8b9d9775a3
diff --git a/README.md b/README.md
index 14cbbd87..1ff2ce72 100644
--- a/README.md
+++ b/README.md
@@ -60,11 +60,11 @@ build for Intel Macs.
**macOS.** Builds are not notarized yet. On first open, macOS reports that it
could not verify the app: click **Done**, open **System Settings > Privacy &
-Security**, click **Open Anyway** next to OmniRush.ai.app, then **Open**.
+Security**, click **Open Anyway** next to omnirush, then **Open**.
Alternatively, run:
```bash
-xattr -dr com.apple.quarantine /Applications/OmniRush.ai.app
+xattr -dr com.apple.quarantine /Applications/omnirush.app
```
When asked to use "omnirush.ai Safe Storage", enter your login password and
diff --git a/apps/desktop/electron-builder.base.yml b/apps/desktop/electron-builder.base.yml
index 2b8379b6..d29f0ba8 100644
--- a/apps/desktop/electron-builder.base.yml
+++ b/apps/desktop/electron-builder.base.yml
@@ -55,7 +55,7 @@ mac:
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
- NSMicrophoneUsageDescription: OmniRush.ai uses the microphone when you allow a page to access audio input.
+ NSMicrophoneUsageDescription: omnirush uses the microphone when you allow a page to access audio input.
extraResources:
- from: resources/sidecars
to: sidecars
diff --git a/apps/desktop/electron-builder.yml b/apps/desktop/electron-builder.yml
index ac1780e8..fb50149d 100644
--- a/apps/desktop/electron-builder.yml
+++ b/apps/desktop/electron-builder.yml
@@ -1,12 +1,16 @@
extends: ./electron-builder.base.yml
appId: ai.omnirush.desktop
-productName: omnirush.ai
+productName: omnirush
protocols:
- name: OmniRush.ai
schemes:
- omnirush
linux:
executableName: omnirush
+win:
+ # The executable keeps its published name so taskbar pins and the install
+ # folder of existing installs stay valid; shortcuts take the product name.
+ executableName: OmniRush.ai
# Package names stay as published before the lowercase product name, so
# package managers upgrade the installed package instead of adding a second one.
deb:
diff --git a/apps/desktop/electron/app-menu.mjs b/apps/desktop/electron/app-menu.mjs
index e2c7ffec..08957073 100644
--- a/apps/desktop/electron/app-menu.mjs
+++ b/apps/desktop/electron/app-menu.mjs
@@ -53,7 +53,7 @@ export function createApplicationMenu({ appName, docsUrl, getWindow }) {
{
label: currentAppName,
submenu: [
- { role: "about" },
+ { role: "about", label: `About ${currentAppName}` },
{
label: "Check for Updates...",
click: () => {
@@ -71,11 +71,11 @@ export function createApplicationMenu({ appName, docsUrl, getWindow }) {
{ type: "separator" },
{ role: "services" },
{ type: "separator" },
- { role: "hide" },
+ { role: "hide", label: `Hide ${currentAppName}` },
{ role: "hideOthers" },
{ role: "unhide" },
{ type: "separator" },
- { role: "quit" },
+ { role: "quit", label: `Quit ${currentAppName}` },
],
},
]
diff --git a/apps/desktop/electron/brand-app-name.mjs b/apps/desktop/electron/brand-app-name.mjs
index 6cd47d49..46467b14 100644
--- a/apps/desktop/electron/brand-app-name.mjs
+++ b/apps/desktop/electron/brand-app-name.mjs
@@ -9,10 +9,11 @@ const MAX_APP_NAME_LENGTH = 64;
* @param {unknown} requestedName
* @param {{
* fallbackName: string,
+ * electronFallbackName?: string,
* platform: string,
* updateElectronAppName: boolean,
* runtimeProcess: { title: string },
- * app: { setName: (name: string) => void },
+ * app: { setName: (name: string) => void, setAboutPanelOptions?: (options: { applicationName: string }) => void },
* applicationMenu: { setAppName: (name: string) => unknown },
* window?: { setTitle: (name: string) => void } | null,
* }} dependencies
@@ -23,9 +24,12 @@ export function applyBrandAppName(requestedName, dependencies) {
if (dependencies.platform === "darwin") {
dependencies.runtimeProcess.title = appName;
+ dependencies.app.setAboutPanelOptions?.({ applicationName: appName });
}
if (dependencies.updateElectronAppName) {
- dependencies.app.setName(appName);
+ // Without a brand, Electron keeps its own name (it names the keychain
+ // item); only the visible surfaces take the display name.
+ dependencies.app.setName(requested ? appName : dependencies.electronFallbackName ?? appName);
}
dependencies.applicationMenu.setAppName(appName);
dependencies.window?.setTitle(appName);
diff --git a/apps/desktop/electron/brand-app-name.test.mjs b/apps/desktop/electron/brand-app-name.test.mjs
index 22f5b0dd..883648e5 100644
--- a/apps/desktop/electron/brand-app-name.test.mjs
+++ b/apps/desktop/electron/brand-app-name.test.mjs
@@ -67,3 +67,32 @@ test("keeps the startup fallback and branded-name limit on every platform", () =
assert.equal(applyBrandAppName("A".repeat(80), dependencies), "A".repeat(64));
assert.deepEqual(appliedNames, ["OmniRush.ai", "A".repeat(64)]);
});
+
+test("shows the display name but keeps the Electron name that names the keychain item", () => {
+ const calls = [];
+ const appName = applyBrandAppName(null, {
+ fallbackName: "omnirush",
+ electronFallbackName: "omnirush.ai",
+ platform: "darwin",
+ updateElectronAppName: true,
+ runtimeProcess: {
+ get title() { return ""; },
+ set title(name) { calls.push(["process", name]); },
+ },
+ app: {
+ setName: (name) => calls.push(["app", name]),
+ setAboutPanelOptions: (options) => calls.push(["about", options.applicationName]),
+ },
+ applicationMenu: { setAppName: (name) => calls.push(["menu", name]) },
+ window: { setTitle: (name) => calls.push(["window", name]) },
+ });
+
+ assert.equal(appName, "omnirush");
+ assert.deepEqual(calls, [
+ ["process", "omnirush"],
+ ["about", "omnirush"],
+ ["app", "omnirush.ai"],
+ ["menu", "omnirush"],
+ ["window", "omnirush"],
+ ]);
+});
diff --git a/apps/desktop/electron/desktop-distribution.mjs b/apps/desktop/electron/desktop-distribution.mjs
index 4e108f1f..a1ffdbcc 100644
--- a/apps/desktop/electron/desktop-distribution.mjs
+++ b/apps/desktop/electron/desktop-distribution.mjs
@@ -1,6 +1,9 @@
export const PUBLIC_DESKTOP_DISTRIBUTION = Object.freeze({
flavor: "public",
+ // The Electron app name. It names the keychain item that holds the sign-in,
+ // so it stays as shipped; people see displayName.
appName: "omnirush.ai",
+ displayName: "omnirush",
appIdentifier: "ai.omnirush.desktop",
protocolScheme: "omnirush",
requireSignin: false,
@@ -14,6 +17,7 @@ export const PUBLIC_DESKTOP_DISTRIBUTION = Object.freeze({
export const CLOUD_DESKTOP_DISTRIBUTION = Object.freeze({
flavor: "cloud",
appName: "omnirush.ai Cloud",
+ displayName: "omnirush.ai Cloud",
appIdentifier: "ai.omnirush.desktop",
protocolScheme: "omnirush",
requireSignin: true,
@@ -24,6 +28,7 @@ export const CLOUD_DESKTOP_DISTRIBUTION = Object.freeze({
export const ENTERPRISE_DESKTOP_DISTRIBUTION = Object.freeze({
flavor: "enterprise",
appName: "omnirush.ai Enterprise",
+ displayName: "omnirush.ai Enterprise",
appIdentifier: "ai.omnirush.desktop",
protocolScheme: "omnirush",
requireSignin: true,
diff --git a/apps/desktop/electron/desktop-distribution.test.mjs b/apps/desktop/electron/desktop-distribution.test.mjs
index 7492fd50..fadc36c1 100644
--- a/apps/desktop/electron/desktop-distribution.test.mjs
+++ b/apps/desktop/electron/desktop-distribution.test.mjs
@@ -17,6 +17,7 @@ describe("resolveDesktopDistribution", () => {
assert.deepEqual(PUBLIC_DESKTOP_DISTRIBUTION, {
flavor: "public",
appName: "omnirush.ai",
+ displayName: "omnirush",
appIdentifier: "ai.omnirush.desktop",
protocolScheme: "omnirush",
requireSignin: false,
@@ -35,6 +36,7 @@ describe("resolveDesktopDistribution", () => {
{
flavor: "cloud",
appName: "omnirush.ai Cloud",
+ displayName: "omnirush.ai Cloud",
appIdentifier: "ai.omnirush.desktop",
protocolScheme: "omnirush",
requireSignin: true,
@@ -54,6 +56,7 @@ describe("resolveDesktopDistribution", () => {
assert.deepEqual(distribution, {
flavor: "enterprise",
appName: "omnirush.ai Enterprise",
+ displayName: "omnirush.ai Enterprise",
appIdentifier: "ai.omnirush.desktop",
protocolScheme: "omnirush",
requireSignin: true,
diff --git a/apps/desktop/electron/electron-builder-config.test.mjs b/apps/desktop/electron/electron-builder-config.test.mjs
index 70285053..afe06111 100644
--- a/apps/desktop/electron/electron-builder-config.test.mjs
+++ b/apps/desktop/electron/electron-builder-config.test.mjs
@@ -52,7 +52,8 @@ describe("Electron distribution configs", () => {
const config = await readConfig("electron-builder.yml");
assert.equal(config.extends, "./electron-builder.base.yml");
assert.equal(config.appId, "ai.omnirush.desktop");
- assert.equal(config.productName, "omnirush.ai");
+ assert.equal(config.productName, "omnirush");
+ assert.equal(config.win.executableName, "OmniRush.ai");
assert.equal(config.protocols[0].schemes[0], "omnirush");
assert.equal(config.artifactName, "omnirush-${os}-${arch}-${version}.${ext}");
// Published package names, so upgrades replace the installed package.
diff --git a/apps/desktop/electron/main.mjs b/apps/desktop/electron/main.mjs
index e56d7927..b66fecbb 100644
--- a/apps/desktop/electron/main.mjs
+++ b/apps/desktop/electron/main.mjs
@@ -149,7 +149,10 @@ const BLANK_SLATE_LAUNCH = resolveBlankSlateLaunch({
profile: processBlankSlateProfile,
});
const APP_NAME = BLANK_SLATE_LAUNCH.appName;
-let currentDisplayAppName = APP_NAME;
+// The name people see. APP_NAME stays the Electron app name because it names
+// the keychain item that holds the sign-in.
+const DISPLAY_APP_NAME = APP_NAME === DESKTOP_DISTRIBUTION.appName ? DESKTOP_DISTRIBUTION.displayName : APP_NAME;
+let currentDisplayAppName = DISPLAY_APP_NAME;
installStdioErrorHandlers();
installSocketTypeOfServiceGuard();
await initOmniRushSentry({
@@ -179,7 +182,7 @@ const RELEASE_DOWNLOAD_BASE_URL = "https://github.com/omnirush-ai/omnirush-gui/r
const RELEASE_PAGE_URL = "https://github.com/omnirush-ai/omnirush-gui/releases/latest";
const DOCS_PAGE_URL = "https://github.com/omnirush-ai/omnirush-gui#readme";
const applicationMenu = createApplicationMenu({
- appName: APP_NAME,
+ appName: DISPLAY_APP_NAME,
docsUrl: DOCS_PAGE_URL,
getWindow: () => createMainWindow(),
});
@@ -483,7 +486,7 @@ function windowsBrandShortcutPath() {
}
function windowsInstalledShortcutPath() {
- return path.join(windowsProgramsPath(), windowsInstalledShortcutFileName(APP_NAME));
+ return path.join(windowsProgramsPath(), windowsInstalledShortcutFileName(DISPLAY_APP_NAME));
}
function windowsBrandShortcutMarkerPath() {
@@ -2385,7 +2388,8 @@ const desktopCommandHandlers = {
currentDisplayAppName = applyBrandAppName(
BLANK_SLATE_LAUNCH.enabled || DESKTOP_DISTRIBUTION.flavor === "enterprise" ? null : args[0],
{
- fallbackName: APP_NAME,
+ fallbackName: DISPLAY_APP_NAME,
+ electronFallbackName: APP_NAME,
platform: process.platform,
updateElectronAppName: process.platform === "darwin",
runtimeProcess: process,
@@ -3043,7 +3047,8 @@ or use: pnpm dev:worktree`);
? null
: bootstrapConfig.brandAppName,
{
- fallbackName: APP_NAME,
+ fallbackName: DISPLAY_APP_NAME,
+ electronFallbackName: APP_NAME,
platform: process.platform,
updateElectronAppName: true,
runtimeProcess: process,
diff --git a/docs/approvals.md b/docs/approvals.md
index a8a3569f..214ed54f 100644
--- a/docs/approvals.md
+++ b/docs/approvals.md
@@ -51,7 +51,7 @@ applies.
binary directly:
```sh
- OMNIRUSH_APPROVALS=full "/Applications/OmniRush.ai.app/Contents/MacOS/OmniRush.ai"
+ OMNIRUSH_APPROVALS=full "/Applications/omnirush.app/Contents/MacOS/omnirush"
```
On Linux run the AppImage or installed binary the same way; on Windows set
diff --git a/docs/mcp-ui-control-profile.md b/docs/mcp-ui-control-profile.md
index 77a20417..9a13eda6 100644
--- a/docs/mcp-ui-control-profile.md
+++ b/docs/mcp-ui-control-profile.md
@@ -57,8 +57,8 @@ Nothing to install. The UI-control MCP ships inside the OmniRush.ai desktop app
as a single bundled file and runs with the app's own binary in Node mode:
```bash
-ELECTRON_RUN_AS_NODE=1 "/Applications/OmniRush.ai.app/Contents/MacOS/OmniRush.ai" \
- "/Applications/OmniRush.ai.app/Contents/Resources/omnirush-ui-mcp/index.mjs"
+ELECTRON_RUN_AS_NODE=1 "/Applications/omnirush.app/Contents/MacOS/omnirush" \
+ "/Applications/omnirush.app/Contents/Resources/omnirush-ui-mcp/index.mjs"
```
The paths above are the macOS default. **Settings -> Extensions -> UI Control**
@@ -89,8 +89,8 @@ command shown in the app:
"omnirush-ui": {
"type": "local",
"command": [
- "/Applications/OmniRush.ai.app/Contents/MacOS/OmniRush.ai",
- "/Applications/OmniRush.ai.app/Contents/Resources/omnirush-ui-mcp/index.mjs"
+ "/Applications/omnirush.app/Contents/MacOS/omnirush",
+ "/Applications/omnirush.app/Contents/Resources/omnirush-ui-mcp/index.mjs"
],
"environment": { "ELECTRON_RUN_AS_NODE": "1" },
"enabled": true
@@ -113,8 +113,8 @@ Both use the same MCP config shape. Add to your `claude_desktop_config.json` or
{
"mcpServers": {
"omnirush-ui": {
- "command": "/Applications/OmniRush.ai.app/Contents/MacOS/OmniRush.ai",
- "args": ["/Applications/OmniRush.ai.app/Contents/Resources/omnirush-ui-mcp/index.mjs"],
+ "command": "/Applications/omnirush.app/Contents/MacOS/omnirush",
+ "args": ["/Applications/omnirush.app/Contents/Resources/omnirush-ui-mcp/index.mjs"],
"env": { "ELECTRON_RUN_AS_NODE": "1" }
}
}
@@ -132,8 +132,8 @@ import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
const transport = new StdioClientTransport({
- command: "/Applications/OmniRush.ai.app/Contents/MacOS/OmniRush.ai",
- args: ["/Applications/OmniRush.ai.app/Contents/Resources/omnirush-ui-mcp/index.mjs"],
+ command: "/Applications/omnirush.app/Contents/MacOS/omnirush",
+ args: ["/Applications/omnirush.app/Contents/Resources/omnirush-ui-mcp/index.mjs"],
env: { ...process.env, ELECTRON_RUN_AS_NODE: "1" },
});
const client = new Client({ name: "my-app", version: "1.0.0" });
diff --git a/packages/omnirush-bootstrap/bin/omnirush.mjs b/packages/omnirush-bootstrap/bin/omnirush.mjs
index 46665c89..7eef0398 100644
--- a/packages/omnirush-bootstrap/bin/omnirush.mjs
+++ b/packages/omnirush-bootstrap/bin/omnirush.mjs
@@ -269,11 +269,11 @@ function inferArtifactType(url) {
function defaultInstalledName(type, manifest, artifact) {
if (artifact.appName || manifest.appName) return artifact.appName || manifest.appName
- if (type === "dmg") return "OmniRush.ai.app"
+ if (type === "dmg") return "omnirush.app"
if (type === "appimage") return "OmniRush.ai.AppImage"
if (type === "exe") return "OmniRush.ai.exe"
if (type === "msi") return "OmniRush.ai.msi"
- if (process.platform === "darwin") return "OmniRush.ai.app"
+ if (process.platform === "darwin") return "omnirush.app"
if (process.platform === "win32") return "OmniRush.ai.exe"
return "omnirush"
}
@@ -339,7 +339,8 @@ function installDmg(input) {
try {
execFileSync("hdiutil", ["attach", input.artifactPath, "-nobrowse", "-readonly", "-mountpoint", mountPoint], { stdio: "pipe" })
mounted = true
- const appName = input.appName || "OmniRush.ai.app"
+ // The app bundle the image carries (omnirush.app; OmniRush.ai.app before 3.3.4).
+ const appName = input.appName || readdirSync(mountPoint).find((name) => name.endsWith(".app")) || "omnirush.app"
const sourceApp = join(mountPoint, appName)
if (!existsSync(sourceApp)) {
throw new Error(`app_not_found_in_dmg: ${appName}`)
@@ -485,7 +486,7 @@ async function runDoctor(args) {
if (hasFlag(args.flags, "app") || args.flags.has("app-dir")) {
const appManifest = join(appDir, "omnirush-app-install.json")
let appPath = process.platform === "darwin"
- ? join(appDir, "OmniRush.ai.app")
+ ? join(appDir, "omnirush.app")
: process.platform === "win32"
? join(appDir, "OmniRush.ai.exe")
: join(appDir, "omnirush")
diff --git a/packaging/aur/.SRCINFO b/packaging/aur/.SRCINFO
index ae9f28de..749ff7cb 100644
--- a/packaging/aur/.SRCINFO
+++ b/packaging/aur/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = omnirush
- pkgdesc = OmniRush.ai desktop app: AI agents for every profession
+ pkgdesc = omnirush desktop app: AI agents for every profession
pkgver = 0.0.0
pkgrel = 1
url = https://github.com/omnirush-ai/omnirush-gui
diff --git a/packaging/aur/PKGBUILD b/packaging/aur/PKGBUILD
index d1557e06..04debeca 100644
--- a/packaging/aur/PKGBUILD
+++ b/packaging/aur/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=omnirush
pkgver=0.0.0
pkgrel=1 # pkgrel should change when PKGBUILD does. Standard is to change back to 1 next time. Any interger is valid.
-pkgdesc="OmniRush.ai desktop app: AI agents for every profession"
+pkgdesc="omnirush desktop app: AI agents for every profession"
arch=('x86_64' 'aarch64')
url="https://github.com/omnirush-ai/omnirush-gui"
license=('MIT')
@@ -61,8 +61,8 @@ package() {
install -d "${pkgdir}/usr/share/applications"
cat > "${pkgdir}/usr/share/applications/omnirush.desktop" <<'EOF'
[Desktop Entry]
-Name=OmniRush.ai
-Comment=OmniRush.ai desktop app
+Name=omnirush
+Comment=omnirush desktop app
Exec=omnirush %U
Terminal=false
Type=Application
diff --git a/packaging/aur/README.md b/packaging/aur/README.md
index 798055ce..4bd42605 100644
--- a/packaging/aur/README.md
+++ b/packaging/aur/README.md
@@ -14,7 +14,7 @@ sudo pacman -U https://github.com/omnirush-ai/omnirush-gui/releases/download/v<v
sudo pacman -U https://github.com/omnirush-ai/omnirush-gui/releases/download/v<version>/omnirush-linux-aarch64-<version>.pacman
```
-It installs the app under `/opt/omnirush.ai`, like the `.deb`, and pacman pulls
+It installs the app under `/opt/omnirush`, like the `.deb`, and pacman pulls
in the runtime dependencies (the list is `pacman.depends` in
`apps/desktop/electron-builder.base.yml`).
diff --git a/scripts/omnirush-debug.sh b/scripts/omnirush-debug.sh
index 3fdfe871..f394a892 100644
--- a/scripts/omnirush-debug.sh
+++ b/scripts/omnirush-debug.sh
@@ -33,7 +33,7 @@
# Explicitly NOT touched by `reset`:
# - ~/Library/Application Support/ai.omnirush.desktop.dev/** (tokens,
# workspaces registry, prefs). Use `reset-webview` for WebKit state.
-# - /Applications/OmniRush.ai.app (prod build never targeted).
+# - /Applications/omnirush.app (prod build never targeted).
#
set -euo pipefail
diff --git a/scripts/release/check-windows-update.ps1 b/scripts/release/check-windows-update.ps1
index 516de276..15d8c786 100644
--- a/scripts/release/check-windows-update.ps1
+++ b/scripts/release/check-windows-update.ps1
@@ -20,8 +20,11 @@ function Show-State($label) {
Get-Shortcuts | ForEach-Object { Write-Host "shortcut: $_" }
}
-$manifest = (Invoke-WebRequest -UseBasicParsing "https://github.com/omnirush-ai/omnirush-gui/releases/latest/download/latest.yml").Content
+$manifestFile = Join-Path $env:RUNNER_TEMP "latest.yml"
+Invoke-WebRequest -UseBasicParsing "https://github.com/omnirush-ai/omnirush-gui/releases/latest/download/latest.yml" -OutFile $manifestFile
+$manifest = Get-Content -Raw $manifestFile
$latest = [regex]::Match($manifest, "(?m)^version:\s*(\S+)").Groups[1].Value
+if (-not $latest) { throw "no version in latest.yml" }
$old = Join-Path $env:RUNNER_TEMP "omnirush-$latest.exe"
Invoke-WebRequest -UseBasicParsing "https://github.com/omnirush-ai/omnirush-gui/releases/download/v$latest/omnirush-win-x64-$latest.exe" -OutFile $old
Start-Process -Wait -FilePath $old -ArgumentList "/S"