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.

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

export const agentDashboardSurfaceSchema = z.enum(['in_window', 'popout'])
export type AgentDashboardSurface = z.infer<typeof agentDashboardSurfaceSchema>

// No agent, workspace, or card data: adoption only needs the setting transition.
export const agentDashboardEnabledSchema = z.object({ enabled: z.boolean() }).strict()

// Emitted only after the board React tree mounts, not when an open request is made.
export const agentDashboardOpenedSchema = z
  .object({ surface: agentDashboardSurfaceSchema })
  .strict()

// One visible-use observation per UTC day and surface, capped in main across restarts.
export const agentDashboardActiveSchema = z
  .object({ surface: agentDashboardSurfaceSchema })
  .strict()