{"version":3,"file":"mcp-connect-BvQER9HJ-sec20261128.js","names":["DesktopUpdatePhase","DesktopUpdateState","phase","currentVersion","availableVersion","percent","message","checkedAt","RakazoDesktopUpdate","state","Promise","check","download","install","RakazoDesktopOAuthCallback","code","MCP_SIGNIN_WINDOW_PREFIX","RakazoDesktopMcpOAuthCallback","serverId","RakazoDesktopDevice","deviceId","name","allowed","RakazoDesktopSpeechEvent","session","type","text","error","DESKTOP_MENU_COMMANDS","const","DesktopMenuCommand","isDesktopMenuCommand","value","includes","RakazoDesktop","clipboard","writeText","badge","set","count","computer","managesHostChoice","requestAccess","revokeAccess","onConfigure","listener","device","setAllowed","menu","onCommand","command","monitoring","enabled","locale","passkeys","rpIds","server","change","settings","onOpen","speech","start","language","stop","abort","onEvent","event","mcpBrowser","clear","onOAuthCallback","callback","platform","nativeWindowFrame","window","close","minimize","toggleMaximize","minimized","maximized","fullScreen","update","oauth","open","authorizationUrl","cancel","onCallback","DesktopInstanceMode","DesktopSetup","mode","serverUrl","headers","Record","DesktopSetupState","defaultLocalUrl","cloudUrl","saved","DesktopReachability","ok","status","url","DesktopStackProbeResponse","imageTag","DesktopLocalStackPhase","DesktopLocalStackState","output","layerBytes","DesktopSetupLink","RakazoSetup","lang","dir","messages","Readonly","test","save","setup","quit","openLink","link","stack","onChange","MCP_OAUTH_CHANNEL","MCP_SIGNIN_WINDOW_PREFIX","MCP_OAUTH_CALLBACK_PATH","desktopBridge","rpc","MCP_OAUTH_CHANNEL","MCP_OAUTH_TIMEOUT_MS","CAPTURE_GRACE_MS","McpOauthResult","mcpOAuthRedirectUri","window","location","origin","connectMcpOauth","serverId","Promise","started","mcp","oauth","begin","redirectUri","status","signInInPopup","connectMcpEndpoint","input","name","endpoint","botId","server","signIn","servers","connect","id","sessionId","authorizationUrl","browser","mcpBrowser","popup","open","assign","resolve","reject","channel","BroadcastChannel","settled","captured","pollTimer","timeoutTimer","unsubscribe","finish","result","Error","clearInterval","clearTimeout","close","setInterval","closed","document","hasFocus","setTimeout","onmessage","event","MessageEvent","message","data","type","onOAuthCallback","callback","state","code","complete","then","postMessage","error","String","rpc","desktopBridge","MCP_OAUTH_CALLBACK_PATH","MCP_SIGNIN_WINDOW_PREFIX","DESKTOP_MENU_COMMANDS","isDesktopMenuCommand","value","MCP_OAUTH_CHANNEL","MCP_OAUTH_TIMEOUT_MS","CAPTURE_GRACE_MS","mcpOAuthRedirectUri","connectMcpOauth","started","signInInPopup","serverId","connectMcpEndpoint","input","signIn","server","browser","popup","channel","settled","captured","pollTimer","timeoutTimer","unsubscribe","finish","result","reject","resolve","message","event","type","callback","error"],"sources":["../../../../packages/contracts/src/clients/desktop.ts","../../src/lib/integrations/mcp-oauth-channel.ts","../../src/lib/integrations/mcp-connect.ts"],"sourcesContent":["/**\n * `unsupported` covers an unpackaged build and a repository with no published releases, which is\n * the normal state for a fork. It is not an error the user needs to act on. Automatic checks stay\n * frozen after an empty feed; a manual check may retry when the install itself supports updates.\n */\nexport type DesktopUpdatePhase =\n  | \"idle\"\n  | \"checking\"\n  | \"available\"\n  | \"downloading\"\n  | \"ready\"\n  | \"unsupported\"\n  | \"error\";\n\nexport interface DesktopUpdateState {\n  phase: DesktopUpdatePhase;\n  /** The installed desktop release, which can drift from the server this app points at. */\n  currentVersion: string;\n  availableVersion: string | null;\n  /** Download progress 0-100, only while `downloading`. */\n  percent: number | null;\n  message: string | null;\n  checkedAt: string | null;\n}\n\nexport interface RakazoDesktopUpdate {\n  state: () => Promise<DesktopUpdateState>;\n  check: () => Promise<DesktopUpdateState>;\n  download: () => Promise<DesktopUpdateState>;\n  /** Quits and relaunches into the downloaded release; only useful once `phase` is `ready`. */\n  install: () => Promise<DesktopUpdateState>;\n}\n\nexport interface RakazoDesktopOAuthCallback {\n  code: string;\n  state?: string;\n}\n\n/**\n * A per-server MCP sign-in window is named this prefix plus its server id, so\n * the desktop shell can give it that server's own browser session.\n */\nexport const MCP_SIGNIN_WINDOW_PREFIX = \"rakazo-mcp-signin:\";\n\n/** A code the app's own MCP callback page carried, captured before that page loads. */\nexport interface RakazoDesktopMcpOAuthCallback {\n  serverId: string;\n  /** Null when the provider refused or the user declined. */\n  code: string | null;\n  state: string;\n}\n\nexport interface RakazoDesktopDevice {\n  /** Null until paired. */\n  deviceId: string | null;\n  name: string;\n  allowed: boolean;\n}\n\n/**\n * What the system recognizer reports for one listening session, shaped after Web Speech:\n * `result` carries the session's whole text so far, `error` a Web Speech error code,\n * and `end` always comes last.\n */\nexport type RakazoDesktopSpeechEvent =\n  | { session: number; type: \"result\"; text: string }\n  | { session: number; type: \"error\"; error: string }\n  | { session: number; type: \"end\" };\n\n/** App menu items the page carries out; each matches a shortcut the page also handles itself. */\nexport const DESKTOP_MENU_COMMANDS = [\n  \"new\",\n  \"command-menu\",\n  \"search\",\n  \"toggle-sidebar\",\n  \"back\",\n  \"forward\",\n  \"next-bot\",\n  \"previous-bot\",\n  \"new-group\",\n  \"integrations\",\n  \"chat-panel\",\n  \"shortcuts\",\n  \"find\",\n] as const;\n\nexport type DesktopMenuCommand = (typeof DESKTOP_MENU_COMMANDS)[number];\n\nexport function isDesktopMenuCommand(value: unknown): value is DesktopMenuCommand {\n  return (DESKTOP_MENU_COMMANDS as readonly unknown[]).includes(value);\n}\n\nexport interface RakazoDesktop {\n  /** Optional for older desktop releases. Returns false when the native write is refused. */\n  clipboard?: {\n    writeText: (text: string) => Promise<boolean>;\n  };\n  /** Optional for compatibility with older desktop releases. */\n  badge?: {\n    set: (count: number) => Promise<boolean>;\n  };\n  computer?: {\n    /** Native main persists host choice through its local capability, never a user session. */\n    managesHostChoice?: boolean;\n    requestAccess: () => Promise<boolean>;\n    revokeAccess: () => Promise<void>;\n    onConfigure: (listener: () => void) => () => void;\n  };\n  /** Optional for compatibility with older desktop releases. */\n  device?: {\n    /** Null when the app shows its own local server. */\n    state: () => Promise<RakazoDesktopDevice | null>;\n    /** Turning it on asks with a native prompt the page cannot answer. */\n    setAllowed: (allowed: boolean) => Promise<RakazoDesktopDevice | null>;\n  };\n  /** Absent on older desktop releases, whose menus carry no app commands. */\n  menu?: {\n    onCommand: (listener: (command: DesktopMenuCommand) => void) => () => void;\n  };\n  /** False for local builds, whose errors must not reach production reporting. Absent on older releases. */\n  monitoring?: {\n    enabled: () => Promise<boolean>;\n  };\n  /** Optional for compatibility with older desktop releases. */\n  locale?: {\n    /** The language the page shows, so the app's own menus, dialogs and setup window follow it. */\n    set: (locale: string) => Promise<void>;\n  };\n  /** Optional for compatibility with older desktop releases. */\n  passkeys?: {\n    /** Relying parties this build is associated with for system passkeys (macOS); others fail. */\n    rpIds: () => Promise<string[]>;\n  };\n  /** Absent on older desktop releases. */\n  server?: {\n    /** Opens the desktop setup window to pick another Rakazo server. */\n    change: () => Promise<void>;\n  };\n  /** Absent on older desktop releases, which have no Settings… menu item. */\n  settings?: {\n    /** The app menu's Settings… item; the OS claims Cmd+, before any page keydown can. */\n    onOpen: (listener: () => void) => () => void;\n  };\n  /**\n   * The operating system's own speech recognition, so dictation needs no provider key.\n   * Absent on platforms without one and on older desktop releases.\n   */\n  speech?: {\n    /** Listens in `language` until stopped. False when refused; no events follow then. */\n    start: (language: string, session: number) => Promise<boolean>;\n    /** Ends the utterance: its final text and `end` still arrive. */\n    stop: (session: number) => Promise<void>;\n    abort: (session: number) => Promise<void>;\n    onEvent: (listener: (event: RakazoDesktopSpeechEvent) => void) => () => void;\n  };\n  /**\n   * The browser each MCP server signs in through. Every server gets its own\n   * cookie jar, so one provider account never leaks into another server's\n   * sign-in. Absent on older desktop releases, which share the app's session.\n   */\n  mcpBrowser?: {\n    /** Empties that jar, cache included, so the next sign-in looks like a first visit. */\n    clear: (serverId: string) => Promise<void>;\n    /**\n     * Codes captured from that browser's redirect to the app callback, which has\n     * no app session of its own. Returns an unsubscribe function.\n     */\n    onOAuthCallback: (listener: (callback: RakazoDesktopMcpOAuthCallback) => void) => () => void;\n  };\n  platform: string;\n  /** Absent on older frameless releases, which still need in-app controls. */\n  nativeWindowFrame?: boolean;\n  window: {\n    close: () => Promise<void>;\n    minimize: () => Promise<void>;\n    toggleMaximize: () => Promise<void>;\n    state: () => Promise<{ minimized: boolean; maximized: boolean; fullScreen: boolean }>;\n  };\n  update: RakazoDesktopUpdate;\n  oauth: {\n    /**\n     * Open system-browser auth. A redirect_uri must be HTTP loopback with state;\n     * URLs without a redirect use backend polling. Optional for older desktops.\n     */\n    open?: (authorizationUrl: string) => Promise<void>;\n    cancel?: (authorizationUrl: string) => Promise<void>;\n    /**\n     * Authorization codes captured from the system browser or a legacy popup.\n     * Returns an unsubscribe function.\n     */\n    onCallback: (listener: (callback: RakazoDesktopOAuthCallback) => void) => () => void;\n  };\n}\n\n/**\n * How the desktop app was pointed at a Rakazo server during first-run setup.\n * `new` is the Docker Compose stack this app installs and runs on the same computer.\n */\nexport type DesktopInstanceMode = \"new\" | \"existing\";\n\nexport interface DesktopSetup {\n  mode: DesktopInstanceMode;\n  serverUrl: string;\n  /** Sent with every request to an existing server, such as an access proxy's credentials. */\n  headers?: Record<string, string>;\n}\n\nexport interface DesktopSetupState {\n  defaultLocalUrl: string;\n  /** Hosted Rakazo origin, saved as an `existing` server when chosen. */\n  cloudUrl: string;\n  saved: DesktopSetup | null;\n  /** Present when a saved or newly selected server could not be reopened. */\n  error?: string;\n}\n\nexport interface DesktopReachability {\n  ok: boolean;\n  /** HTTP status when the server answered, absent when it could not be reached. */\n  status?: number;\n  /** Normalized URL that was probed, absent when the input was not a usable URL. */\n  url?: string;\n  error?: string;\n}\n\nexport interface DesktopStackProbeResponse {\n  ok: true;\n  imageTag: string;\n}\n\n/**\n * Lifecycle of the Docker Compose stack the desktop app manages for mode `new`.\n * `docker-missing` and `docker-not-running` wait for the person to act; `ready` and\n * `failed` are terminal until the next start.\n */\nexport type DesktopLocalStackPhase =\n  | \"idle\"\n  | \"checking-docker\"\n  | \"docker-missing\"\n  | \"docker-not-running\"\n  | \"preparing\"\n  | \"pulling\"\n  | \"starting\"\n  | \"waiting-healthy\"\n  | \"ready\"\n  | \"failed\";\n\nexport interface DesktopLocalStackState {\n  phase: DesktopLocalStackPhase;\n  /** One actionable sentence; null while the stack is progressing normally. */\n  message: string | null;\n  /** Bounded tail of docker output for the current attempt. */\n  output: string[];\n  /** Bytes pulled per image layer in the current attempt; the sum is the only progress Docker reports. */\n  layerBytes: Record<string, number>;\n  /** Image tag this app launches (`v<app version>` for installed builds, `edge` otherwise). */\n  imageTag: string;\n}\n\n/** The official Docker download for this platform (an installer, or Linux install docs). */\nexport type DesktopSetupLink = \"docker-download\";\n\n/**\n * Bridge exposed only to the first-run setup window. The app window keeps the\n * narrower `rakazoDesktop` bridge so a connected server can never re-point the app.\n */\nexport interface RakazoSetup {\n  /** Used only to reserve space for native window controls in the local setup UI. */\n  platform: string;\n  /** The page's language and its translations, keyed by the English text; empty for English. */\n  locale: { lang: string; dir: \"ltr\" | \"rtl\"; messages: Readonly<Record<string, string>> };\n  state: () => Promise<DesktopSetupState>;\n  test: (url: string, headers?: Record<string, string>) => Promise<DesktopReachability>;\n  save: (setup: DesktopSetup) => Promise<{ ok: boolean; error?: string }>;\n  quit: () => Promise<void>;\n  /** Opens the Docker download in the system browser; the person runs the installer. */\n  openLink: (link: DesktopSetupLink) => Promise<void>;\n  /** The Docker Compose stack this app installs and runs for mode `new`. */\n  stack: {\n    state: () => Promise<DesktopLocalStackState>;\n    /** Starts (or retries) the stack; a no-op while a start is already in flight. */\n    start: () => Promise<DesktopLocalStackState>;\n    /** Fires on every state change so progress never depends on a renderer timer. */\n    onChange: (listener: (state: DesktopLocalStackState) => void) => void;\n  };\n}\n","export const MCP_OAUTH_CHANNEL = \"rakazo-mcp-oauth\";\n","import { MCP_SIGNIN_WINDOW_PREFIX } from \"@rakazo/contracts\";\nimport { MCP_OAUTH_CALLBACK_PATH } from \"../auth/sign-in-next\";\nimport { desktopBridge } from \"../platform/desktop\";\nimport { rpc } from \"../query/rpc\";\nimport { MCP_OAUTH_CHANNEL } from \"./mcp-oauth-channel\";\n\nexport { MCP_OAUTH_CHANNEL } from \"./mcp-oauth-channel\";\n\nconst MCP_OAUTH_TIMEOUT_MS = 2 * 60 * 1000;\n/** The main process closes a captured popup just before its message reaches us. */\nconst CAPTURE_GRACE_MS = 500;\n\nexport type McpOauthResult =\n  | \"connected\"\n  | \"cancelled\"\n  | \"already_connected\"\n  | \"authorization_not_requested\";\n\n/** Where providers send the user back; a pre-registered client must allow it. */\nexport function mcpOAuthRedirectUri(): string {\n  return `${window.location.origin}${MCP_OAUTH_CALLBACK_PATH}`;\n}\n\n/** Run the browser OAuth popup flow for an MCP server: request an\n * authorization URL, open the popup, and wait until the callback page\n * broadcasts completion or the popup is closed without finishing.\n *\n * The BroadcastChannel (not window.opener) is the completion signal because\n * provider login pages with COOP sever the opener link. The desktop shell\n * gives each server its own browser session, so its popup never reaches the\n * callback page; the main process captures the code and reports it instead. */\nexport async function connectMcpOauth(serverId: string): Promise<McpOauthResult> {\n  const started = await rpc.mcp.oauth.begin({ serverId, redirectUri: mcpOAuthRedirectUri() });\n  if (started.status !== \"authorization_required\") return started.status;\n  return await signInInPopup(serverId, started);\n}\n\n/** Adds a remote MCP server by URL, or reuses the one already added, and signs in to it. The\n * bot gets the server once the sign-in finishes, even when it finishes in this tab instead. */\nexport async function connectMcpEndpoint(input: {\n  name: string;\n  endpoint: string;\n  botId?: string;\n}): Promise<McpOauthResult> {\n  const { server, signIn } = await rpc.mcp.servers.connect({\n    ...input,\n    redirectUri: mcpOAuthRedirectUri(),\n  });\n  if (signIn.status !== \"authorization_required\") return signIn.status;\n  // The popup opens only now: on desktop its name carries the server id.\n  return await signInInPopup(server.id, signIn);\n}\n\nasync function signInInPopup(\n  serverId: string,\n  started: { sessionId: string; authorizationUrl: string },\n): Promise<McpOauthResult> {\n  const browser = desktopBridge()?.mcpBrowser;\n  const popup = window.open(\n    started.authorizationUrl,\n    // The desktop shell gives a per-server window its own browser session.\n    browser\n      ? `${MCP_SIGNIN_WINDOW_PREFIX}${serverId}`\n      : `${MCP_OAUTH_CHANNEL}:${started.sessionId}`,\n    \"popup,width=560,height=720\",\n  );\n  if (!popup) {\n    // Popup blocked: navigate this tab instead; the callback page returns to /app.\n    window.location.assign(started.authorizationUrl);\n    return \"cancelled\";\n  }\n  return await new Promise<McpOauthResult>((resolve, reject) => {\n    const channel = new BroadcastChannel(MCP_OAUTH_CHANNEL);\n    let settled = false;\n    let captured = false;\n    let pollTimer = 0;\n    let timeoutTimer = 0;\n    let unsubscribe: (() => void) | undefined;\n    const finish = (result: McpOauthResult | Error) => {\n      if (settled) return;\n      settled = true;\n      window.clearInterval(pollTimer);\n      window.clearTimeout(timeoutTimer);\n      channel.close();\n      unsubscribe?.();\n      if (result instanceof Error) reject(result);\n      else resolve(result);\n    };\n    // COOP makes an open popup read as closed, but it keeps focus until the\n    // user really closes it.\n    pollTimer = window.setInterval(() => {\n      if (!popup.closed || !document.hasFocus()) return;\n      if (!browser) return finish(\"cancelled\");\n      // A captured sign-in closes the popup as it hands over the code; give\n      // that message its turn before counting the closed window as a cancel.\n      window.clearInterval(pollTimer);\n      window.setTimeout(() => {\n        if (captured) return;\n        // COOP can misreport an open popup as closed; close it so a sign-in\n        // nobody is waiting for cannot be finished there.\n        popup.close();\n        finish(\"cancelled\");\n      }, CAPTURE_GRACE_MS);\n    }, 500);\n    timeoutTimer = window.setTimeout(() => {\n      popup.close();\n      finish(\"cancelled\");\n    }, MCP_OAUTH_TIMEOUT_MS);\n    channel.onmessage = (event: MessageEvent) => {\n      const message = event.data as { type?: string; sessionId?: string; message?: string } | null;\n      if (message?.sessionId !== started.sessionId) return;\n      const type = message?.type;\n      if (type === \"mcp-oauth-failed\") {\n        finish(new Error(message?.message));\n        return;\n      }\n      if (type !== \"mcp-oauth-complete\") return;\n      finish(\"connected\");\n    };\n    unsubscribe = browser?.onOAuthCallback((callback) => {\n      if (callback.serverId !== serverId || callback.state !== started.sessionId) return;\n      // A sign-in session completes only once; ignore a repeated report.\n      if (captured) return;\n      captured = true;\n      window.clearTimeout(timeoutTimer);\n      if (callback.code === null) return finish(\"cancelled\");\n      void rpc.mcp.oauth\n        .complete({ sessionId: callback.state, code: callback.code, state: callback.state })\n        .then(\n          () => {\n            // Other open views refresh on the same signal the callback page sends.\n            channel.postMessage({ type: \"mcp-oauth-complete\", sessionId: started.sessionId });\n            finish(\"connected\");\n          },\n          (error: unknown) => finish(error instanceof Error ? error : new Error(String(error))),\n        );\n    });\n  });\n}\n"],"mappings":"A,yJA0CA,IAAagB,EAA2B,qBA4B3BY,EAAwB,CACnC,MACA,eACA,SACA,iBACA,OACA,UACA,WACA,eACA,YACA,eACA,aACA,YACA,MAAM,EAKR,SAAgBG,EAAqBC,EAA6C,CAChF,OAAQJ,EAA6CK,SAASD,CAAK,CACrE,CC1FA,IAAawF,EAAoB,mBCQ3BM,EAAuB,KAEvBC,EAAmB,IASzB,SAAgBE,GAA8B,CAC5C,MAAO,GAAGC,OAAOC,SAASC,SAASV,GACrC,CAUA,eAAsBW,EAAgBC,EAA2C,CAC/E,IAAME,EAAU,MAAMZ,EAAIa,IAAIC,MAAMC,MAAM,CAAEL,WAAUM,YAAaX,EAAoB,CAAE,CAAC,EAE1F,OADIO,EAAQK,SAAW,yBAChB,MAAMC,EAAcR,EAAUE,CAAO,EADYA,EAAQK,MAElE,CAIA,eAAsBE,EAAmBC,EAIb,CAC1B,GAAM,CAAEI,SAAQC,UAAW,MAAMzB,EAAIa,IAAIa,QAAQC,QAAQ,CACvD,GAAGP,EACHJ,YAAaX,EAAoB,CACnC,CAAC,EAGD,OAFIoB,EAAOR,SAAW,yBAEf,MAAMC,EAAcM,EAAOI,GAAIH,CAAM,EAFWA,EAAOR,MAGhE,CAEA,eAAeC,EACbR,EACAE,EACyB,CACzB,IAAMmB,EAAUhC,EAAc,CAAC,EAAEiC,WAC3BC,EAAQ3B,OAAO4B,KACnBtB,EAAQkB,iBAERC,EACI,GAAGlC,IAA2Ba,IAC9B,GAAGT,EAAiB,GAAIW,EAAQiB,YACpC,4BACF,EAMA,OALKI,EAK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