A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Draw connector and mail cards where their call is
Fei24113b5af6129348
diff --git a/ds-bot/client.js b/ds-bot/client.jsindex 083267d9..78d931d9 100644--- a/ds-bot/client.js+++ b/ds-bot/client.js@@ -12749,8 +12749,8 @@ function GroupReplies({ sessionId, callId, done, content, roster, actions, useUi}));}-var DRAWN = /* @__PURE__ */ new Set(["message_bot", "stop_bot", "create_bot", "update_bot", "group_relay", "create_group", "update_group", "delete_group", "post_to_group", "ask_user", "request_secret", "ask_user_question", "show_view", "browser_handoff", "read_group_chat", "remember", "forget"]);-var CARDS = /* @__PURE__ */ new Set(["ask_user", "request_secret", "show_view", "browser_handoff"]);+var DRAWN = /* @__PURE__ */ new Set(["message_bot", "stop_bot", "create_bot", "update_bot", "group_relay", "create_group", "update_group", "delete_group", "post_to_group", "ask_user", "request_secret", "request_connector", "mail_send", "ask_user_question", "show_view", "browser_handoff", "read_group_chat", "remember", "forget"]);+var CARDS = /* @__PURE__ */ new Set(["ask_user", "request_secret", "request_connector", "mail_send", "show_view", "browser_handoff"]);function callTree(root) {const calls = [];const seen = /* @__PURE__ */ new Set();diff --git a/ds-bot/src/client/cells.js b/ds-bot/src/client/cells.jsindex 36a4d628..74466ae6 100644--- a/ds-bot/src/client/cells.js+++ b/ds-bot/src/client/cells.js@@ -1017,9 +1017,9 @@ function GroupReplies({ sessionId, callId, done, content, roster, actions, useUi// The calls ToolCell draws. A PTC program (`run_code`) dispatches the real tools as// its sub-calls, so a call draws by its own name wherever it sits in the tree.-const DRAWN = new Set(['message_bot', 'stop_bot', 'create_bot', 'update_bot', 'group_relay', 'create_group', 'update_group', 'delete_group', 'post_to_group', 'ask_user', 'request_secret', 'ask_user_question', 'show_view', 'browser_handoff', 'read_group_chat', 'remember', 'forget'])+const DRAWN = new Set(['message_bot', 'stop_bot', 'create_bot', 'update_bot', 'group_relay', 'create_group', 'update_group', 'delete_group', 'post_to_group', 'ask_user', 'request_secret', 'request_connector', 'mail_send', 'ask_user_question', 'show_view', 'browser_handoff', 'read_group_chat', 'remember', 'forget'])// Calls whose card a dock above the composer carries when the call is not drawn.-const CARDS = new Set(['ask_user', 'request_secret', 'show_view', 'browser_handoff'])+const CARDS = new Set(['ask_user', 'request_secret', 'request_connector', 'mail_send', 'show_view', 'browser_handoff'])// The root and its sub-calls in dispatch order, each call once.export function callTree(root) {