{"record":{"id":"f714a14683945361","repo":"musistudio/claude-code-router","slug":"updates-are-only-available-in-the-desktop-app","errorCode":null,"errorMessage":"Updates are only available in the desktop app.","messagePattern":"Updates are only available in the desktop app\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/core/src/web/management-server.ts","lineNumber":483,"sourceCode":"  },\n  setProxyNetworkCaptureEnabled: (enabled) => proxyService.setNetworkCaptureEnabled(Boolean(enabled)),\n  startBotGatewayQrLogin: (request) => startBotGatewayQrLogin(request as BotGatewayQrLoginStartRequest),\n  startGateway: async () => {\n    const syncedClaudeAppConfig = await syncClaudeAppGatewayConfig(await loadAppConfig());\n    const config = syncedClaudeAppConfig.config;\n    const status = await gatewayService.ensureStarted(config);\n    await applyProfileIfServiceRunning(config, status);\n    return status;\n  },\n  stopGateway: () => gatewayService.stop(),\n  stopProfile: async (request) => stopProfileFromCcr(await loadAppConfig(), request as ProfileOpenRequest),\n  testProviderAccountConnector: (request) => testProviderAccountConnector(request as ProviderAccountTestRequest),\n  testRouteScript: async (request) => gatewayService.testRouteScript(await loadAppConfig(), request as RouteScriptTestRequest),\n  validateRouteScript: (request) => gatewayService.validateRouteScript(request as RouteScriptValidationRequest),\n  updateCheck: () => unsupportedUpdateStatus,\n  updateDownload: () => unsupportedUpdateStatus,\n  updateInstall: () => {\n    throw new Error(\"Updates are only available in the desktop app.\");\n  },\n  waitBotGatewayQrLogin: (request) => waitBotGatewayQrLogin(request as BotGatewayQrLoginWaitRequest)\n};\n\nasync function startConfiguredServices(reason: string): Promise<void> {\n  try {\n    let config = await loadAppConfig();\n    try {\n      config = (await syncClaudeAppGatewayConfig(config)).config;\n    } catch (error) {\n      console.error(`Failed to sync Claude App gateway config during ${reason}: ${formatError(error)}`);\n    }\n    const status = await gatewayService.ensureStarted(config);\n    if (status.state === \"error\") {\n      console.error(`Failed to start gateway during ${reason}: ${status.lastError}`);\n    }\n    if (status.state === \"running\") {\n      const profileResult = await applyProfileConfig(config, { excludeAgents: [\"zcode\"] });","sourceCodeStart":465,"sourceCodeEnd":501,"githubUrl":"https://github.com/musistudio/claude-code-router/blob/99f24806c6a2c660b16e53e95211c517448a6c90/packages/core/src/web/management-server.ts#L465-L501","documentation":"Error \"Updates are only available in the desktop app.\" thrown in musistudio/claude-code-router.","triggerScenarios":"Thrown at packages/core/src/web/management-server.ts:483 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"99f24806c6a2c660b16e53e95211c517448a6c90","analyzedAt":"2026-08-27T04:11:01.184Z","schemaVersion":2},"datasetVersion":"2026-08-27T08:17:20.692Z"}