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.

462 B
Raw Blame
// cancel stops a download the user walked away from, so no viewer opens over the next screen.
export type PdfOpener = {
  open: (file: { worktreeId: string; relativePath: string }) => Promise<void>
  cancel: () => void
}

// A refusal retrying cannot fix (no PDF app, outdated host), so the preview offers no Retry.
export class PdfOpenRefusedError extends Error {
  constructor(message: string) {
    super(message)
    this.name = 'PdfOpenRefusedError'
  }
}