A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Look up the via tag by the node's own seq, not the turn's
Fei2411144e3aeaea81
diff --git a/ds-bot/client.js b/ds-bot/client.jsindex e8d31037..183f2e5f 100644--- a/ds-bot/client.js+++ b/ds-bot/client.js@@ -8705,7 +8705,7 @@ function UserMessageCell({ node, sessionId, useRoster, actions, renderMessageImaconst references = openFile && openSkill ? { openFile, openSkill } : void 0;const steering = node.kind === "steering";const sentAt = Number.isFinite(data.time) ? messageClock(data.time) : void 0;- const via = viaOf2(data.source) ?? roster.imVia?.[sessionId]?.[node.anchorSeq];+ const via = viaOf2(data.source) ?? roster.imVia?.[sessionId]?.[data.seq];const { shown, folded, control } = useFold(text, { markdown: false });const body = (0, import_react19.createElement)(UserText, { text: shown, bots: mentionableBots(roster, sessionId), referenceLabels, skillNames: data.skillNames ?? [], references, actions });const row = (0, import_react19.useRef)(null);diff --git a/ds-bot/src/client/user-message.js b/ds-bot/src/client/user-message.jsindex 2eb51926..e76c964e 100644--- a/ds-bot/src/client/user-message.js+++ b/ds-bot/src/client/user-message.js@@ -96,7 +96,7 @@ export function UserMessageCell({ node, sessionId, useRoster, actions, renderMesconst references = openFile && openSkill ? { openFile, openSkill } : undefinedconst steering = node.kind === 'steering'const sentAt = Number.isFinite(data.time) ? messageClock(data.time) : undefined- const via = viaOf(data.source) ?? roster.imVia?.[sessionId]?.[node.anchorSeq]+ const via = viaOf(data.source) ?? roster.imVia?.[sessionId]?.[data.seq]const { shown, folded, control } = useFold(text, { markdown: false })const body = h(UserText, { text: shown, bots: mentionableBots(roster, sessionId), referenceLabels, skillNames: data.skillNames ?? [], references, actions })const row = useRef(null)