Watch
0
0
Fork
You've already forked hyperhive
0

swarm ui: the agent detail leaves out the config repo link for an archetype agent

An agent built from an archetype has no config repo on the forge, so the link
404ed. It shows again once the agent is turned into a custom one.
This commit is contained in:
iris 2026-11-11 00:58:15 +01:00 • committed by mara
commit 356390befb

View file

@ -39,3 +39,9 @@ test("the agent name is encoded", () => {
"https://forge.example/a%20b",
);
});
test("an agent without a config repo, one from an archetype, has no config link", () => {
const links = agentForgeLinks("https://forge.example", "iris", false);
assert.equal(links.configRepo, null);
assert.equal(links.profile, "https://forge.example/iris");
});