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.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import { splitFilePathLineSuffix } from '../../../components/markdown-file-path-detection'
import {
openMobileFileTap,
type FileTapSessionTab,
type OpenMobileFileTapOptions
} from '../../mobile-file-tap-open'
export type OpenMobileNativeChatFileTapOptions<T extends FileTapSessionTab> = Omit<
OpenMobileFileTapOptions<T>,
'terminalHandle' | 'cwd' | 'candidates'
> & { pathText: string }
// Resolve chat citations from worktree root without terminal cwd/handle; a live terminal subdirectory would misplace them. Preserve path:line:column locations.
export function openMobileNativeChatFileTap<T extends FileTapSessionTab>(
options: OpenMobileNativeChatFileTapOptions<T>
): void {
const { pathText, ...rest } = options
const { path, line, column } = splitFilePathLineSuffix(pathText)
openMobileFileTap<T>({ ...rest, candidates: [{ pathText: path, line, column }] })
}