fix: agent node deletion, inspector layout, and header overlap

- Enable Delete-key removal of agent nodes on the canvas; system nodes
  remain non-deletable. Removals route through the authoritative
  removeAgent path which prevents deleting the last agent.
- Stack Model and Reasoning selects vertically in the inspector panel
  so they fit within the 320px-wide column without truncation.
- Add right padding (pr-36 / 144px) to the editor header so the Save
  and Delete buttons clear the Windows title-bar overlay controls.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
David KayaandCopilot committed 2026-03-24 23:32:22 +01:00
1 parent c81ea6f83b
commit 24bbf1ded3
4 files changed
+26 -7

No files matched your search

+1 -1
View File
@@ -96,7 +96,7 @@ export function toCanvasNodes(
},
draggable: true,
selectable: true,
deletable: false,
deletable: node.kind === 'agent',
};
});
}