Skip to content

armgit / orca

Public Imported from GitHub
0

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.

474 B
Raw Blame
import { z } from 'zod'

/** Agent-generated titles for many tabs, of any workspaces: main renames them in one write. */
export const RenameTabsCommand = z.object({
  type: z.literal('renameTabs'),
  kind: z.literal('generated'),
  renames: z
    .array(
      z.object({
        workspace: z.string().min(1),
        tabId: z.string().min(1),
        title: z.union([z.string(), z.null()]),
        replaceExisting: z.literal(true).optional()
      })
    )
    .min(1)
})