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
/** Keep Send for an active upload/dictation edit; otherwise offer the action available now. */
export function mobileNativeChatComposerShowsStop(input: {
canStop: boolean
sendBlocked: boolean
canSend: boolean
editing: boolean
draft: string
attachmentCount: number
}): boolean {
const nothingTyped = input.draft.trim().length === 0 && input.attachmentCount === 0
return input.canStop && (input.sendBlocked || nothingTyped || (!input.editing && !input.canSend))
}