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.

764 B
Raw Blame
import type { WorkspaceCleanupCandidate } from './workspace-cleanup'

export function makeCleanupCandidate(
  overrides: Pick<WorkspaceCleanupCandidate, 'lastActivityAt' | 'reasons'>
): WorkspaceCleanupCandidate {
  return {
    worktreeId: 'repo::/w',
    repoId: 'repo',
    repoName: 'Repo',
    connectionId: null,
    displayName: 'w',
    branch: 'w',
    path: '/w',
    tier: 'ready',
    selectedByDefault: true,
    blockers: [],
    localContext: {
      terminalTabCount: 1,
      cleanEditorTabCount: 0,
      browserTabCount: 0,
      diffCommentCount: 0,
      newestDiffCommentAt: null,
      retainedDoneAgentCount: 0
    },
    git: { clean: true, upstreamAhead: 0, upstreamBehind: 0, checkedAt: 1 },
    fingerprint: 'f',
    ...overrides
  }
}