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
export type MobileTaskCopyFeedbackTimerRef = {
current: ReturnType<typeof setTimeout> | null
}
type SetCopiedTaskKey = (updater: (current: string | null) => string | null) => void
export function clearMobileTaskCopyFeedbackTimer(timerRef: MobileTaskCopyFeedbackTimerRef): void {
if (timerRef.current === null) {
return
}
clearTimeout(timerRef.current)
timerRef.current = null
}
export function scheduleMobileTaskCopyFeedbackReset(
timerRef: MobileTaskCopyFeedbackTimerRef,
key: string,
setCopiedKey: SetCopiedTaskKey,
delayMs = 1500
): void {
// Replace the shared feedback timer so older copies cannot clear newer feedback or outlive unmount.
clearMobileTaskCopyFeedbackTimer(timerRef)
timerRef.current = setTimeout(() => {
timerRef.current = null
setCopiedKey((current) => (current === key ? null : current))
}, delayMs)
}