import type { EmptyRequest } from "@shared/proto/cline/common" import { Empty } from "@shared/proto/cline/common" import type { Controller } from "../index" /** * Handles the account logout action * @param controller The controller instance * @param _request The empty request object * @returns Empty response */ export async function ocaAccountLogoutClicked(controller: Controller, _request: EmptyRequest): Promise { await controller.handleOcaSignOut() return Empty.create({}) }