Skip to content

The agent that grows with you

fix(desktop): title HUD windows Hermes HUD

Brooklyn Nicholson9e7700e8a3da
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts
index a1d6073f0c2..643766c737c 100644
--- a/apps/desktop/electron/main.ts
+++ b/apps/desktop/electron/main.ts
@@ -676,6 +676,7 @@ const BOOT_FAKE_STEP_MS = (() => {
})()
const APP_NAME = process.env.HERMES_DESKTOP_APP_NAME || 'Hermes'
+const HUD_WINDOW_TITLE = `${APP_NAME} HUD`
const TITLEBAR_HEIGHT = 34
const MACOS_TRAFFIC_LIGHTS_HEIGHT = 14
@@ -9377,6 +9378,7 @@ function spawnHudWindow(sessionId, profile) {
...hudBounds(),
minWidth: 380,
minHeight: 160,
+ title: HUD_WINDOW_TITLE,
frame: false,
transparent: true,
// NOT resizable. A transparent frameless window on Windows keeps a
diff --git a/apps/desktop/src/main.tsx b/apps/desktop/src/main.tsx
index 7356ca59d44..b2ef156a436 100644
--- a/apps/desktop/src/main.tsx
+++ b/apps/desktop/src/main.tsx
@@ -39,6 +39,10 @@ if (import.meta.env.MODE !== 'production' || import.meta.env.VITE_PERF_PROBE ===
const winParam = new URLSearchParams(window.location.search).get('win')
+if (winParam === 'hud') {
+ document.title = 'Hermes HUD'
+}
+
if (winParam === 'overlay') {
void import('./app/pet-overlay/overlay-root').then(({ mountPetOverlay }) => mountPetOverlay())
} else if (winParam === 'quick') {