Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

625 B
Raw Blame
import { ipcRenderer } from 'electron'
import type { PreloadApi } from '../api-types'
import type { BitbucketConnectResult } from '../../shared/bitbucket-credentials'

export const bitbucketApi = {
  connect: (args: {
    authMode: 'token' | 'basic'
    accessToken?: string | null
    email?: string | null
    apiToken?: string | null
    baseUrl?: string | null
  }): Promise<BitbucketConnectResult> => ipcRenderer.invoke('bitbucket:connect', args),

  disconnect: (): Promise<void> => ipcRenderer.invoke('bitbucket:disconnect'),

  status: () => ipcRenderer.invoke('bitbucket:status')
} satisfies PreloadApi['bitbucket']