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 { normalizeTypedName } from './typed-name-normalization'
/** Typed-name normalization makes Build/build collide; reject saves that would make both names unresolvable. */
export function findCollidingEnvironmentName<T extends { name: string }>(
environments: readonly T[],
name: string
): T | undefined {
const key = normalizeTypedName(name)
return environments.find((entry) => normalizeTypedName(entry.name) === key)
}