25 Commits

Author SHA1 Message Date
Aurora
287eef5c62 PR #579: Windows Electron desktop build compatibility (prasairaul-del); native worker process fallback for non-tmux platforms 2026-06-05 05:09:58 -04:00
Farzan Dalaee
1d8f384520 fix: resolve hermes cli path for workspace cron jobs
Resolve the Hermes CLI path explicitly before running profile cron
create/update/action commands so Workspace does not depend on the
launch environment PATH.

This fixes job edit/action failures that surfaced as:
spawnSync hermes ENOENT

Also refresh the tracked Electron server bundle so the desktop app
picks up the server-side fix.
2026-05-21 23:39:30 +03:30
Aurora release bot
dbda669757 fix: make desktop updater optional at runtime 2026-05-01 22:07:29 -04:00
Aurora release bot
627d7f4d8e fix: stabilize desktop build and chat warning guard 2026-05-01 21:34:58 -04:00
Aurora release bot
6e15268f13 fix: use ClaudeOnboarding in root layout 2026-05-01 20:54:19 -04:00
Aurora release bot
3b6e3e597b fix: bundle desktop SSR server standalone 2026-05-01 20:41:57 -04:00
Aurora release bot
799910841e fix: boot packaged desktop server with electron-run-as-node 2026-05-01 20:03:42 -04:00
Aurora release bot
69de480775 feat: scaffold electron desktop packaging 2026-05-01 19:33:09 -04:00
outsourc-e
f8bb4910ca chore: remove all OpenClaw/gateway dependencies — fully standalone Hermes
Deleted:
- electron/ (gateway spawning, desktop app shell)
- src/server/gateway.ts, gateway-discovery.ts, providers.ts, usage-cost.ts
- src/lib/gateway-api.ts, cloud-store.ts, cloud-types.ts, diagnostics.ts, connection-errors.ts, cron-api.ts
- src/components/agent-swarm/, agent-view/, orchestrator-avatar, system-metrics-footer
- src/stores/agent-swarm-store, chat-activity-store, mission stores
- src/hooks/use-gateway-setup, use-activity-log, use-system-metrics, use-workspace,
  use-agent-behaviors, use-sounds, use-orchestrator-state
- scripts/qa/test-redaction.ts, usage-cost.test.ts

Simplified:
- models.ts: fetches directly from Hermes /v1/models (no OpenClaw config filtering)
- workspace.ts: reads ~/.hermes/ instead of ~/.openclaw/
- Stubbed: use-gateway-chat-stream, gateway-restart-overlay (no-op, preserves chat)

Zero OpenClaw dependencies remain. tsc clean.
59 files, -12,459 lines.
2026-03-16 15:52:58 -04:00
outsourc-e
d3a59225dc chore: full ClawSuite/OpenClaw reference scrub — rebrand to Hermes Workspace 2026-03-16 14:57:58 -04:00
outsourc-e
1869a947b5 fix: loading loop (redirect to latest session not 'main'), relax unused var strictness for WIP 2026-03-16 12:27:35 -04:00
outsourc-e
45af81b657 chore: comprehensive branding scrub from Hermes audit — electron, tauri, env, local-setup, docs archived
Fixes from Hermes Agent gpt-5.4 audit:
- Electron builder: appId/productName/copyright → Hermes Workspace
- Tauri: bundle identifier → com.hermes.workspace
- Electron preload: window.clawsuite → window.hermesWorkspace
- Electron onboarding: npm install openclaw → pip install hermes-agent
- Env vars: CLAWDBOT_*/CLAWSUITE_* → HERMES_*
- local-setup.ts: full Hermes rewrite (install, start, config paths)
- workspace/files API: .openclaw → .hermes paths
- Legacy ClawSuite docs → docs/archive/
- README: openclaw.ai → github.com/NousResearch/hermes-agent
- .workspace-source updated
2026-03-15 23:43:13 -04:00
outsourc-e
9799add907 chore: scrub remaining ClawSuite/OpenClaw references 2026-03-15 20:56:56 -04:00
outsourc-e
3f16cf9042 feat: Hermes Workspace branding — Nous blue theme, caduceus avatar, all ClawSuite→Hermes text, Powered by badge 2026-03-15 00:00:36 -04:00
outsourc-e
dc45fd729f feat(electron): bundle workspace daemon for production build (Sprint 4-5 Task 5) 2026-03-14 12:04:42 -04:00
outsourc-e
73ca1742c4 feat(electron+dev): autostart workspace daemon on app ready and vite dev server 2026-03-10 19:18:30 -04:00
outsourc-e
aebd34818d feat: Electron auto-starts gateway + always loads web app
- createWindow() no longer loads static onboarding HTML on missing gateway
- Auto-starts 'openclaw gateway start' if not running + OpenClaw installed
- Always loads the React web app (wizard handles gateway state)
- Added gateway:restart IPC handler for renderer to restart gateway
- Preload exposes gateway.restart() via contextBridge
- before-quit kills spawned gateway process
2026-03-08 13:30:37 -04:00
outsourc-e
f56ef528d8 fix: native-style orange title bar for Electron app
- Orange gradient background matching ClawSuite brand
- Larger bar (h-10/40px) with centered 'ClawSuite' in white
- Traffic light spacer on left (78px) for macOS buttons
- Traffic lights repositioned to y:12 for vertical centering
- Matches Chrome PWA native feel
2026-03-08 12:53:38 -04:00
outsourc-e
6330356ae6 fix: Electron app finds running ClawSuite server or starts pnpm dev
- Scans ports 3000/3003/3001/3002 for running server
- Falls back to starting pnpm dev from repo dir
- Fixed gateway health check (/health not /api/health)
- Removed broken static file server approach (SSR routes need full server)
2026-03-08 00:05:29 -05:00
outsourc-e
0f686c6e6f feat: orange logo + enhanced tray menu with Quick Chat and navigation
- Replaced dark icon with orange gradient ClawSuite logo (SVG→PNG→ICNS)
- Tray menu: Quick Chat, Navigate submenu (Dashboard, Agent Hub, Tasks, etc.)
- Live gateway status indicator in tray (refreshes every 30s)
- Template image for macOS dark/light mode auto-switch
- Proper 22px tray icon sizing
2026-03-07 23:50:12 -05:00
outsourc-e
b8470bccc6 fix: Electron production mode - start local HTTP server instead of file:// protocol
- Added local HTTP server in main process that serves dist/client/ static files
- Reverse-proxies /api/* and /events/* to the OpenClaw gateway
- SPA fallback to index.html for client-side routing
- Fixes black screen / ERR_CONNECTION_REFUSED on production .dmg launch
2026-03-07 23:48:34 -05:00
outsourc-e
f87e9a11ed chore: production cleanup - remove console.logs, stale comments, add CSP 2026-03-06 02:11:56 -05:00
outsourc-e
37f3933f52 refactor: extract hub-constants.tsx + hub-utils.tsx from agent-hub-layout
First pass of the agent-hub split:
- hub-constants.tsx: storage keys, CSS classes, type definitions, presets
- hub-utils.tsx: model helpers, mission report storage, cost calculations

Main file still 9.4K lines — UI component splits in next pass.
tsc clean.
2026-03-05 23:31:45 -05:00
outsourc-e
f7680ac74b feat: working Electron app with icons + CJS fix
- Generated icon.png (1024x1024), icon.icns (macOS), tray-icon.png from logo SVG
- Fixed ESM/CJS conflict: electron files use .cjs extension
- Electron launches successfully, auto-detects gateway, loads app
- Added electron + electron-builder as devDependencies
2026-03-05 23:00:05 -05:00
outsourc-e
f59d9e2611 feat: Electron desktop app + onboarding wizard
- electron/main.ts: native window, tray icon, gateway detection, IPC handlers
- electron/preload.ts: secure IPC bridge for renderer
- electron/onboarding/index.html: 3-step setup wizard
  - Connect Existing Gateway (auto-detect localhost:18789)
  - Local New Install (npm install -g openclaw in background)
  - Cloud (waitlist for managed hosting)
- electron-builder.config.js: Mac/Win/Linux packaging, GitHub auto-update
- package.json: electron scripts (electron:dev, electron:build:mac/win)
2026-03-05 22:53:28 -05:00