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.

849 B
Raw Blame
import type { LinearCurrentIssueContextHints } from './agent-access'
import type {
  LinearIssueRelation,
  LinearIssueSummary,
  LinearWriteIssueRef
} from './agent-result-types'

export type LinearIssueRelationship = 'blocks' | 'blockedBy' | 'relatedTo' | 'duplicateOf'

export type LinearRelationIssueRef = LinearWriteIssueRef & Pick<LinearIssueSummary, 'title'>

export type LinearIssueRelationWriteRequest = {
  input?: string
  current?: boolean
  workspaceId?: string
  context?: LinearCurrentIssueContextHints
  relatedInput: string
  relationship: LinearIssueRelationship
  operation: 'add' | 'remove'
}

export type LinearIssueRelationWriteResult = {
  issue: LinearRelationIssueRef
  relatedIssue: LinearRelationIssueRef
  relation: LinearIssueRelation
  operation: 'add' | 'remove'
  meta: { workspaceId: string; alreadySet: boolean }
}