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.

1.2 KB
Raw Blame
import type { LinearErrorCode } from './agent-access'
import type { LinearIssueSummary, LinearWorkspaceCandidate } from './agent-result-types'

export type LinearMcpIssueListRequest = {
  team?: string
  cycle?: string
  label?: string
  limit?: number
  query?: string
  state?: string
  cursor?: string
  orderBy?: 'createdAt' | 'updatedAt'
  project?: string
  release?: string
  assignee?: string
  delegate?: string
  parentId?: string
  priority?: number
  createdAt?: string
  updatedAt?: string
  includeArchived?: boolean
  workspaceId?: (string & {}) | 'all'
}

export type LinearMcpIssueListResult = {
  issues: (LinearIssueSummary & { workspace: LinearWorkspaceCandidate })[]
  // Older hosts omit truncated; fall back to metadata rather than assume completeness.
  truncated?: boolean
  meta: {
    // null when the caller set no --limit, i.e. every matching issue was read.
    limit: number | null
    returned: number
    hasMore: boolean
    nextCursor?: string
    orderBy: 'createdAt' | 'updatedAt'
    workspaceId?: (string & {}) | 'all'
    partial: boolean
    workspaceErrors: {
      workspace: LinearWorkspaceCandidate
      code: LinearErrorCode
      message: string
    }[]
  }
}