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
/** Session routes resolve the named components to their web implementations. */
import { describe, expect, it } from 'vitest'
import { mobileWebAppRouteClosure } from '../build-mobile-web-app-bundle.mjs'
import { mobileWebAppDependenciesPresent } from './mobile-web-app-bundle-dependencies.mjs'
const describeClosure = mobileWebAppDependenciesPresent() ? describe : describe.skip
const SESSION = 'app/h/[hostId]/session/[worktreeId].tsx'
/** Web implementations expected in the session route closure. */
const ANSWERED = [
'src/components/MobileRichMarkdownEditor.tsx',
'src/components/MobileHtmlPreview.tsx',
'src/components/pr-sidebar/MermaidDiagram.tsx',
'src/terminal/TerminalWebView.web.tsx'
]
describeClosure(
'the session route web component closure',
() => {
it('resolves all four web components, and the terminal without its native sibling', async () => {
const closure = await mobileWebAppRouteClosure(SESSION)
for (const file of ANSWERED) {
expect(closure.local, file).toContain(file)
}
expect(closure.local).not.toContain('src/terminal/TerminalWebView.tsx')
})
},
240_000
)