{"record":{"id":"8b074c07250d11a7","repo":"NousResearch/hermes-agent","slug":"hermes-gateway-unavailable-8b074c","errorCode":null,"errorMessage":"Hermes gateway unavailable","messagePattern":"Hermes gateway unavailable","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"apps/desktop/src/sdk/index.ts","lineNumber":170,"sourceCode":"\n  /** HEAR the gateway stream (message deltas, session lifecycle, tool\n   *  activity, …) by event type — `'*'` for everything. Returns a disposer.\n   *  Listeners are isolated; a throw can't affect app dispatch. */\n  onEvent: onGatewayEvent,\n\n  /** Restart the backend gateway (progress surfaces in the core statusbar). */\n  restartGateway: async () => runGatewayRestart(),\n\n  /** One-shot system status snapshot (platforms, versions, …). */\n  status: async () => getStatus(),\n\n  /** Gateway JSON-RPC — sessions, config, skills, cron, kanban, everything\n   *  the app itself uses. Lazy: resolves the LIVE socket per call. */\n  request: async <T>(method: string, params: Record<string, unknown> = {}): Promise<T> => {\n    const gateway = $gateway.get()\n\n    if (!gateway) {\n      throw new Error('Hermes gateway unavailable')\n    }\n\n    return gateway.request<T>(method, params)\n  }\n}\n\n// -- react bridge -------------------------------------------------------------\n\n// Every contribution surface, plugin-reachable: register keybinds, palette\n// commands, routes, themes, panes, composer extensions, and bar items with\n// the same area ids + payload types core uses.\nexport { COMPOSER_AREAS, type ComposerAttachmentProvider, type ComposerMiddleware } from '@/app/chat/composer/contrib'\n\n// -- ui: the design language --------------------------------------------------\n\nexport { PALETTE_AREA, type PaletteContribution } from '@/app/command-palette/contrib'\nexport { type RouteContribution, ROUTES_AREA, SIDEBAR_NAV_AREA, type SidebarNavContribution } from '@/app/routes'\n/** THE model catalog menu — the same searchable, provider-grouped, family-","sourceCodeStart":152,"sourceCodeEnd":188,"githubUrl":"https://github.com/NousResearch/hermes-agent/blob/c896c09c42910c584c4c7d2325b58c14713ea42c/apps/desktop/src/sdk/index.ts#L152-L188","documentation":"Error \"Hermes gateway unavailable\" thrown in NousResearch/hermes-agent.","triggerScenarios":"Thrown at apps/desktop/src/sdk/index.ts:170 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Ensure the SDK call happens after the gateway client has connected.","Check backend availability and reconnect, then retry the call."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c896c09c42910c584c4c7d2325b58c14713ea42c","analyzedAt":"2026-08-14T17:18:01.089Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}