Merge remote-tracking branch 'origin/polecat/furiosa-mk1uozyl'
This commit is contained in:
@@ -545,8 +545,8 @@ func renderAgentDetails(agent AgentRuntime, indent string, hooks []AgentHookInfo
|
|||||||
addr := strings.TrimSuffix(agent.Address, "/") // Remove trailing slash for global agents
|
addr := strings.TrimSuffix(agent.Address, "/") // Remove trailing slash for global agents
|
||||||
parts := strings.Split(addr, "/")
|
parts := strings.Split(addr, "/")
|
||||||
if len(parts) == 1 {
|
if len(parts) == 1 {
|
||||||
// Global agent: mayor/, deacon/ → gt-mayor, gt-deacon
|
// Global agent: mayor/, deacon/ → hq-mayor, hq-deacon
|
||||||
agentBeadID = beads.AgentBeadID("", parts[0], "")
|
agentBeadID = beads.AgentBeadIDWithPrefix(beads.TownBeadsPrefix, "", parts[0], "")
|
||||||
} else if len(parts) >= 2 {
|
} else if len(parts) >= 2 {
|
||||||
rig := parts[0]
|
rig := parts[0]
|
||||||
prefix := beads.GetPrefixForRig(townRoot, rig)
|
prefix := beads.GetPrefixForRig(townRoot, rig)
|
||||||
|
|||||||
Reference in New Issue
Block a user