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.

587 B
Raw Blame
import { CapabilityProbeCache } from './capability-probe-cache'

// Suppress hot-loop failures while detecting in-place Git upgrades during long sessions.
export const GIT_CAPABILITY_RETRY_INTERVAL_MS = 30 * 60_000

export type GitCapability =
  | 'fetch-no-write-fetch-head'
  | 'for-each-ref-exclude'
  | 'merge-tree-merge-base'
  | 'merge-tree-write-tree'
  | 'rev-parse-path-format'
  | 'worktree-add-lock-reason'
  | 'worktree-list-z'

export class GitCapabilityCache extends CapabilityProbeCache<GitCapability> {
  constructor() {
    super(GIT_CAPABILITY_RETRY_INTERVAL_MS)
  }
}