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.

6.6 KB
Raw Blame
import { openExternalLink } from '../platform/external-link'
export { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react'
export type { ReactNode } from 'react'
export {
  ActivityIndicator,
  FlatList,
  Platform,
  Pressable,
  ScrollView,
  StyleSheet,
  Text,
  View
} from 'react-native'
// Use the platform seam: WebView window.open is refused by both shells despite resolving successfully.
// The seam reports failures itself and returns void, preventing unreachable rejection handlers.
export const Linking: { openURL: (url: string) => void } = { openURL: openExternalLink }
export { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context'
export { useLocalSearchParams } from 'expo-router'
// The embedded page has one history entry; route pushes and Back must hand off to the native app stack.
export { useRouteHandoff as useRouter } from '../navigation/route-handoff'
export {
  AlertTriangle,
  Check,
  ChevronDown,
  ChevronLeft,
  ChevronRight,
  ChevronUp,
  Copy,
  ExternalLink,
  GitBranch,
  Lock,
  Pencil,
  Plus,
  RefreshCw,
  Search,
  X
} from 'lucide-react-native'
export type { RpcClient } from '../transport/rpc-client'
export type { RpcSuccess } from '../transport/types'
export { useHostClient } from '../transport/host-client-hooks'
export {
  useLastConnectedAt,
  useRelayRecoveryStatus,
  useReconnectAttempt
} from '../transport/client-context-connection-metrics'
export { classifyConnection } from '../transport/connection-health'
export { StatusDot } from '../components/StatusDot'
export { ActionSheetModal } from '../components/ActionSheetModal'
export { BottomDrawer } from '../components/BottomDrawer'
export { BottomDrawerModalHost } from '../components/bottom-drawer-modal-host'
export { ConfirmModal } from '../components/ConfirmModal'
export { MobileMarkdown } from '../components/MobileMarkdown'
export { MobileAgentIcon } from '../components/MobileAgentIcon'
export { MobileWorkspaceNameInput } from '../components/MobileWorkspaceNameInput'
export { MessageBox } from '../components/composer-input/MessageBox'
export { TextField } from '../components/composer-input/TextField'
export { MobileSearchField } from '../components/MobileSearchField'
export { MobileSyntaxSegments } from '../components/MobileSyntaxSegments'
export { PickerModal } from '../components/PickerModal'
export type { PickerOption } from '../components/PickerModal'
export { TaskProviderLogo } from '../components/TaskProviderLogo'
export { buildGitHubPrFileDiffPreview } from './github-pr-file-diff'
export type { GitHubPrFileDiffLine } from './github-pr-file-diff'
export {
  highlightMobileDiffLines,
  resolveMobileSyntaxLanguage
} from '../session/mobile-file-syntax'
export { buildGitHubCheckSummary } from './github-check-summary'
export { buildGitLabCheckSummary } from './gitlab-check-summary'
export {
  getHostedMergeLabel,
  getHostedReviewLabel,
  getHostedReviewSignalTone,
  getHostedChecksLabel
} from './mobile-hosted-check-status'
export { buildTaskWorkspaceCreateParams } from './workspace-create-params'
export { MOBILE_TASKS_CAPABILITY } from './mobile-tasks-capability'
export {
  filterWorkspaceAgents,
  isWorkspaceAgentEnabled,
  pickWorkspaceAgent,
  resolveWorkspaceAgentSelection,
  workspaceAgentLabel
} from './workspace-agent-selection'
export type { WorkspaceAgentChoice } from './workspace-agent-selection'
export { shouldResolveHostedReviewStartPoint } from './hosted-review-start-point'
export { getLinkedWorkItemSuggestedName } from './mobile-workspace-name'
export {
  dropFailedGitHubRepoSlugEntries,
  filterGitHubProjectRowsForRepos,
  findRepoForGitHubProjectRepository
} from './github-project-repo-match'
export type { GitHubRepoSlugCacheEntry } from './github-project-repo-match'
export { parseGitHubProjectInput as parseProjectInput } from './github-project-reference'
export type {
  GitHubProjectOwnerType,
  GitHubProjectPartialFailure,
  GitHubProjectRef,
  GitHubProjectSettings,
  GitHubProjectSummary,
  GitHubProjectViewSummary
} from './github-project-reference'
export {
  extractGitHubIssueSourceFallback,
  extractGitHubIssueSourceError
} from './github-work-item-source-errors'
export type {
  GitHubIssueSourceFallback,
  GitHubIssueSourceError
} from './github-work-item-source-errors'
export { parseSparsePresetDirectories } from './sparse-preset-draft'
export { deriveWorkspaceSshGate, workspaceSshStatusLabel } from './workspace-ssh-gate'
export { WORKTREE_CREATE_TIMEOUT_MS } from './workspace-create-timeout'
export {
  isSetupHookTrusted,
  normalizeSetupHookTrust,
  persistSetupHookTrustApproval,
  readRepoHooksSetupCommand,
  wasSetupHookPreviouslyApproved
} from './setup-hook-trust'
export { colors, radii, spacing, typography } from '../theme/mobile-theme'
export type { MobileColorScheme } from '../theme/mobile-theme'
export { themedStyleSheet, themedStyles } from '../theme/themed-styles'
export { useMobileColorScheme } from '../theme/use-mobile-color-scheme'
export { triggerMediumImpact } from '../platform/haptics'
export {
  CROSS_REPO_DISPLAY_LIMIT,
  getTaskPagePerRepoLimit,
  getWorkItemCountedTotalPages,
  isGitHubWorkItemsSshRemoteRequiredError,
  PER_REPO_FETCH_LIMIT,
  sortWorkItemsByNumber,
  taskPageToGitHubApiPage
} from '../../../src/shared/work-items'
export {
  filterAvailableTaskProviders,
  normalizeVisibleTaskProviders,
  resolveVisibleTaskProvider
} from '../../../src/shared/task-providers'
export type { TaskProvider } from '../../../src/shared/task-providers'
export { hasSettledHostRepoList } from './host-repo-list'
export { useHostRepoList } from './use-host-repo-list'
export { isHostedTaskRepo, reconcileRepoSelection } from './hosted-repo-selection'
export type { LinearMobileIssue } from './linear-mobile-issue-read'
export { MOBILE_TUI_AGENT_AUTO_PICK_ORDER } from './mobile-tui-agents'
export { resolveComposerBranchSelection } from './mobile-composer-branch-selection'
export {
  clearMobileTaskCopyFeedbackTimer,
  scheduleMobileTaskCopyFeedbackReset
} from './mobile-task-copy-feedback-timer'
export type { BaseRefSearchResult } from '../../../src/shared/repo-types'
export type {
  GitHubOwnerRepo,
  ProviderCheckSummary
} from '../../../src/shared/github/pull-request-types'
export type { PersistedTrustedOrcaHooks } from '../../../src/shared/orca-yaml-hook-types'
export type { SparsePreset } from '../../../src/shared/worktree/create-types'
export type { TuiAgent } from '../../../src/shared/tui-agent'
export type { SshConnectionState } from '../../../src/shared/ssh-types'
export type { HostedReviewDecision } from '../../../src/shared/hosted-review'
export {
  githubProjectHost,
  githubProjectIdentityKey as githubProjectKey
} from '../../../src/shared/github/project-identity'