{
form.kind = value;
form.agent = "";
}}
type="single"
value={form.kind}
>
{form.kind}
{#each ["deep", "branch", "master", "job"] as option (option)}
{/each}
{
form.agent = value === "default" ? "" : value;
}}
type="single"
value={form.agent || "default"}
>
{form.agent || "frontend default"}
{#each agentsForKind as agent (agent.name)}
{/each}