)}
{/* velxio.json — THIS board's declared library manifest
(compile scope), grouped with the board's code so it is
clear which board it belongs to. There is one per board.
Clicking switches to the board and opens the Library
Manager on its list. QEMU-Linux boards run Python in a
guest OS — no arduino-cli manifest, so no row. */}
{!isPiBoardKind(board.boardKind) && (
{
switchToBoard(board.id, groupId);
// Open the READ-ONLY libraries.json view (not the modal).
// Library actions happen in the Library Manager modal.
setManifestView(board.id);
}}
title={`libraries.json — ${boardDisplayName(board)}'s declared libraries (read-only; manage from the Library Manager)`}
>
libraries.json
{board.libraries?.length ?? 0}
)}
)}
);
})}
{/* Programmable custom-chip program sections — one per chip, each its
own collapsible group (the chip's ROM source / C), separate from the
board sketch above. */}
{programmableChips.map((chip) => {
const groupId = chipFileGroupId(chip.id);
const groupFiles = fileGroups[groupId] ?? [];
if (groupFiles.length === 0) return null;
const isActiveGroup = activeGroupId === groupId;
const isOpen = !collapsed[chip.id];
const chipName =
String((chip.properties as Record)?.chipName ?? '').trim() ||
'Custom Chip';
return (