Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

324 B
Raw Blame
/** Whether the provider setup dialog is targeting a selected plugin-owned row. */
export function isPluginCatalogSetupForProvider(
  selection: { providerId: string } | null,
  provider: { id: string } | null,
): boolean {
  return selection !== null &&
    provider !== null &&
    selection.providerId === provider.id;
}