All files / shared zones.ts

100% Statements 26/26
100% Branches 0/0
100% Functions 0/0
100% Lines 26/26

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45                                    1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
export type ZoneId =
  | "office"
  | "library"
  | "mine"
  | "forest"
  | "farm"
  | "nether"
  | "signpost"
  | "spawner"
  | "tavern";
 
export interface ZoneMeta {
  id: ZoneId;
  name: string;
  icon: string; // emoji
  description: string; // shown in tooltip
}
 
export const ZONES: readonly ZoneMeta[] = [
  {
    id: "office",
    name: "Office",
    icon: "🏢",
    description: "Writing or editing code (Write, Edit, NotebookEdit)"
  },
  { id: "library", name: "Library", icon: "📚", description: "Reading files (Read)" },
  { id: "mine", name: "Mine", icon: "⛏️", description: "Searching the codebase (Glob, Grep)" },
  {
    id: "forest",
    name: "Forest",
    icon: "🌲",
    description: "Running generic shell commands (Bash)"
  },
  { id: "farm", name: "Farm", icon: "🌾", description: "Running tests" },
  { id: "nether", name: "Nether portal", icon: "🔥", description: "Git operations" },
  {
    id: "signpost",
    name: "Signpost",
    icon: "🪧",
    description: "Fetching external resources (WebFetch, WebSearch, MCP)"
  },
  { id: "spawner", name: "Spawner", icon: "✨", description: "Delegating to subagents (Task)" },
  { id: "tavern", name: "Tavern", icon: "🍺", description: "Idle, finished, or retired ghosts" }
] as const;