Watch
0
0
Fork
You've already forked hyperhive
0

swarm ui: the create-agent name field says why a name is refused, beside the field

A name with an uppercase letter greyed out next with only the footer to say why. The text field now takes an error: it marks the field invalid, draws the reason under it and points aria-describedby at it. The create form passes it once something is typed, and nameProblem names the cause (uppercase first, then length, then other characters) instead of one catch-all rule. Next stays disabled, with the footer hint as before. The swarm UI doc says so.
This commit is contained in:
iris 2026-11-20 20:30:01 +01:00 • committed by mara
commit 94969b552e

View file

@ -1017,7 +1017,9 @@ order with **next** and can step back through with **back** or the step tabs:
tiles on the broadcast page, with **none** first; an archetype with no icon
shows the dimmed hyperhive mark.
**next** waits for a valid name (1-63 lowercase letters, digits and hyphens)
and a hive.
and a hive. As soon as the operator types, the name field says what's wrong
with the name, beside the field: an uppercase letter, a length over 63, or
another character.
2. **instructions**: the text the agent's `AGENTS.md` starts with, in a box
of its own.
3. **permissions**: one checkbox per permission, starting from the default set