Skip to content

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.js
index e8d31037..183f2e5f 100644
--- a/ds-bot/client.js
+++ b/ds-bot/client.js
@@ -8705,7 +8705,7 @@ function UserMessageCell({ node, sessionId, useRoster, actions, renderMessageIma
const 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.js
index 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, renderMes
const references = openFile && openSkill ? { openFile, openSkill } : undefined
const 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)