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 { getActiveProfileStateLocation as resolveActiveProfileStateLocation } from '../main/persistence/profile-state/profile-state-active-location'
import { RuntimeClientError, getDefaultUserDataPath } from './runtime-client'
export function getActiveProfileStateLocation(userDataPath = getDefaultUserDataPath()) {
try {
return resolveActiveProfileStateLocation(userDataPath)
} catch (error) {
throw new RuntimeClientError(
'runtime_error',
error instanceof Error ? error.message : String(error)
)
}
}