Phase 004: remove the desktop shell, website tooling, and bundled hermes CLI
- Drop all desktop/Electron branches, scripts, and UI (title bar, pets, desktop bridge); LAN endpoint kind is now web/custom only - Replace the bundled hermes CLI with user-side installation: add GET /api/hermes/cli-status plus a HermesMissingView onboarding guide - Remove the version-management UI (snapshots handled by git) and prune dead website/mcu/claude scripts and lockfile entries
This commit is contained in:
@@ -5,7 +5,6 @@ import { shutdownManagedGateways } from './hermes/gateway-runner'
|
||||
import { stopOutboundRelayClient } from './global-agent/outbound-relay-client'
|
||||
|
||||
const DEFAULT_SHUTDOWN_FORCE_EXIT_MS = 15_000
|
||||
const DEFAULT_DESKTOP_SHUTDOWN_FORCE_EXIT_MS = 15_000
|
||||
|
||||
function envPositiveInt(name: string): number | undefined {
|
||||
const value = Number(process.env[name])
|
||||
@@ -15,8 +14,7 @@ function envPositiveInt(name: string): number | undefined {
|
||||
export function getShutdownForceExitMs(): number {
|
||||
const override = envPositiveInt('HERMES_WEB_UI_SHUTDOWN_FORCE_EXIT_MS')
|
||||
if (override) return override
|
||||
const desktop = String(process.env.HERMES_DESKTOP || '').trim().toLowerCase() === 'true'
|
||||
return desktop ? DEFAULT_DESKTOP_SHUTDOWN_FORCE_EXIT_MS : DEFAULT_SHUTDOWN_FORCE_EXIT_MS
|
||||
return DEFAULT_SHUTDOWN_FORCE_EXIT_MS
|
||||
}
|
||||
|
||||
export function shouldStopAgentBridgeOnShutdown(_signal: string): boolean {
|
||||
|
||||
Reference in New Issue
Block a user