swarm-ui: minimal agent creation page

Adds /agents: a name field that POSTs to swarm-controller's
POST /api/agents (from the CreateIdentity work), shows the queued
job node id, and links to /jobs to watch it settle. Scope matches
the issue exactly - no forge/deploy options, those aren't wired
server-side yet.
This commit is contained in:
iris 2026-08-16 23:44:16 +02:00 committed by mara
commit d044281040
4 changed files with 151 additions and 0 deletions

View file

@ -19,6 +19,7 @@ import './Shell.css';
const NAV_ITEMS: { href: string; label: string }[] = [
{ href: '/', label: 'overview' },
{ href: '/agents', label: 'agents' },
{ href: '/jobs', label: 'jobs' },
{ href: '/components', label: 'components' },
];