Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

1.0 KB
Raw Blame
export interface NewTaskSelectionSheetProps {
  page: 'device' | 'workspace' | 'directory' | null;
  busy: boolean;
  devices: readonly { deviceId: string; name?: string }[];
  selectedDeviceId: string;
  workspaces: readonly { title: string; workingDir: string }[];
  workspaceKind: string;
  workingDir: string;
  path: string;
  parent: string | null;
  /** Windows 被控端的盘符切换项;少于两个时为空,不显示。 */
  drives: readonly { name: string; path: string; current: boolean }[];
  entries: readonly { name: string; path: string }[];
  loading: boolean;
  error: string | null;
  showHidden: boolean;
  onClose(): void;
  onClosed?(): void;
  onBack(): void;
  onDevice(id: string): void;
  onDialogue(): void;
  onProject(path: string): void;
  onBrowse(): void;
  onEnter(path: string): void;
  onChoose(path: string): void;
  onShowHidden(value: boolean): void;
}

// Native platforms resolve their platform-specific sheet; web retains inline controls.
export function NewTaskSelectionSheet(_props: NewTaskSelectionSheetProps) {
  return null;
}