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 { ElectronApplication, Page } from '@stablyai/playwright-test'
/** Inject diagnostic eligibility without showing or activating the test window. */
export async function makeResourceManagerFixtureVisible(
app: ElectronApplication,
page: Page
): Promise<void> {
await app.evaluate(({ BrowserWindow }) => {
for (const window of BrowserWindow.getAllWindows()) {
// Spoof diagnostic eligibility while keeping the native window hidden.
window.isVisible = () => true
window.isMinimized = () => false
window.webContents.send('memory:resourceWindowVisibility', true)
}
})
await page.evaluate(() => {
Object.defineProperty(document, 'visibilityState', { configurable: true, get: () => 'visible' })
document.dispatchEvent(new Event('visibilitychange'))
})
}