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 { describe, expect, it } from 'vitest'
import { MOUNTED_OPERATION_MODULES } from './adapters/mounted-operation-modules'
import type { operationModuleLoader } from './operation-module-loader'
// Defer product loads until hook mount; registration-time loads apply shared-file mutants repeatedly and obscure adapter failures.
function refusingLoader(): ReturnType<typeof operationModuleLoader> {
return {
load: (path: string) => {
throw new Error(`loaded ${path} before a mount ran`)
},
mutationsApplied: () => 0
}
}
describe('adapter mount tables', () => {
it('reads no product source until a mount runs', () => {
const eager = MOUNTED_OPERATION_MODULES.flatMap(({ source, mounts }) => {
try {
mounts(refusingLoader(), {})
return []
} catch (error) {
return [`${source} ${error instanceof Error ? error.message : String(error)}`]
}
})
expect(eager).toEqual([])
})
})