import type { Scope } from '../changeset'; /** What the full-screen chat opens in the panel beside it. */ export type Panel = | { kind: 'artifact'; id: string; version: number; title: string } | { kind: 'display'; entryId: string; index: number; title: string; detail?: string; } | { kind: 'job'; job: string } | { kind: 'command'; commandId: string } | { kind: 'review'; turnId: string; from: number; scope: Scope; jump?: { path: string; at: number }; } | { kind: 'terminal' };