A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Merge remote-tracking branch 'origin/devin/follow-through' into devin/group-tasks
Fei241176a4b851b12f
diff --cc ds-bot/client.jsindex e7a14207,b3a82952..806b55f1--- a/ds-bot/client.js+++ b/ds-bot/client.js@@@ -4087,10 -4086,8 +4088,8 @@@ function TriggerCell({ node, sessionIdif (source.handoff === true) return roster.roomsById[sessionId] ? null : (0, import_react6.createElement)(EarlierParts, { sessionId, roster, actions });if (source.role === "kickoff" || source.role === "room") return null;if (source.role === "secret" || deferred) return null;- if (source.role === "resume") return (0, import_react6.createElement)("div", { className: "bt-event" }, t("Picked up its work after a restart"));- if (source.role === "retry") return (0, import_react6.createElement)("div", { className: "bt-event" }, t("Asked to make the tool call it wrote as text"));if (source.role === "post") {- if (source.failed !== void 0 || source.resumed === true) return null;+ if (source.failed !== void 0 || source.resumed === true || source.stopped === true) return null;const room2 = roster.roomsById[sessionId];const poster = roster.byId[source.senderSessionId] ?? { id: source.senderSessionId, name: source.senderName ?? t("a Bot"), color: "gray" };return (0, import_react6.createElement)(GroupMessage, { bot: poster, text: stripHeader(contentText(data.content)), room: room2, roster, actions, msgKey: `${sessionId}:${data.turn}:post`, useUi });diff --cc ds-bot/src/client/cells.jsindex 85480f4d,b638a349..fd20cd74--- a/ds-bot/src/client/cells.js+++ b/ds-bot/src/client/cells.js@@@ -324,12 -324,10 +324,10 @@@ export function TriggerCell({ node, sesif (source.role === 'kickoff' || source.role === 'room') return null// The secret card itself shows what the user did; the note to the Bot stays out.if (source.role === 'secret' || deferred) return null- if (source.role === 'resume') return h('div', { className: 'bt-event' }, t('Picked up its work after a restart'))- if (source.role === 'retry') return h('div', { className: 'bt-event' }, t('Asked to make the tool call it wrote as text'))if (source.role === 'post') {- // A member's late failure, or its work picked up after a restart, shows as an- // event of the round it opens.- if (source.failed !== undefined || source.resumed === true) return null+ // A member's late failure, its work picked up after a restart, or its work the user+ // stopped shows as an event of the round it opens.+ if (source.failed !== undefined || source.resumed === true || source.stopped === true) return nullconst room = roster.roomsById[sessionId]const poster = roster.byId[source.senderSessionId] ?? { id: source.senderSessionId, name: source.senderName ?? t('a Bot'), color: 'gray' }return h(GroupMessage, { bot: poster, text: stripHeader(contentText(data.content)), room, roster, actions, msgKey: `${sessionId}:${data.turn}:post`, useUi })