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 type { AgentStatusEntry } from '../../../src/shared/agent-status-types'
import type { TuiAgent } from '../../../src/shared/tui-agent'
import { isMobileTerminalTabRunningAgent } from './mobile-terminal-tab-agent'
export type AgentSendKeyboardDismissalTab = {
readonly type: string
readonly title: string
readonly agentStatus?: {
readonly agentType?: AgentStatusEntry['agentType'] | null
readonly state?: AgentStatusEntry['state']
} | null
readonly launchAgent?: TuiAgent | null
}
// Agent sends hand over the turn, so reveal the reply; shell commands keep the keyboard for command bursts.
export function shouldDismissKeyboardAfterTerminalSend(
tab: AgentSendKeyboardDismissalTab | null | undefined,
accepted: boolean
): boolean {
if (!accepted || !tab || tab.type !== 'terminal') {
return false
}
return isMobileTerminalTabRunningAgent(tab)
}