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 { isTerminalLeafId } from '../stable-pane-id'
import { nameBasedUuid } from './workspace-layout-minted-ids'
describe('nameBasedUuid', () => {
it('is a pane-key-safe UUID that depends only on its name', () => {
const names = ['group:repo-1::/a', 'leaf:tab-1', 'leaf:tab-1:1', 'tab:tab-1', '']
const ids = names.map(nameBasedUuid)
expect(ids.every(isTerminalLeafId)).toBe(true)
expect(new Set(ids).size).toBe(names.length)
expect(names.map(nameBasedUuid)).toEqual(ids)
})
})