Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

Merge remote-tracking branch 'origin/dev' into fix/665-bot-chat-attach

Fei2411f2bebebbc403
diff --cc ds-bot/client.js
index 2755331b,1ebac09c..b5004ccd
--- a/ds-bot/client.js
+++ b/ds-bot/client.js
@@@ -10569,11 -10605,6 +10605,11 @@@ function ComposerPlus({ sessionId, inpu
window.removeEventListener("keydown", onKey, true);
};
}, [open]);
- const place = (0, import_react20.useMemo)(() => {
++ const place = (0, import_react21.useMemo)(() => {
+ if (!shown || !button.current) return null;
+ const rect = button.current.getBoundingClientRect();
+ return { left: rect.left, bottom: viewBottom() - rect.top + 8 };
+ }, [shown, open, tick]);
const target = roster.byId?.[sessionId]?.id ?? roster.roomsById?.[sessionId]?.id;
if (sessionId === void 0 || target === void 0) return null;
const fileInput = () => button.current?.closest("[data-composer-card]")?.querySelector("input[type=file]");
@@@ -10597,10 -10628,15 +10633,10 @@@
actions.referenceChat(sessionId, inputActions?.captureInsertion?.());
};
const canReference = typeof inputActions?.captureInsertion === "function" && actions.canReferenceChat();
- return (0, import_react20.createElement)(
- import_react20.Fragment,
- const place = (0, import_react21.useMemo)(() => {
- if (!shown || !button.current) return null;
- const rect = button.current.getBoundingClientRect();
- return { left: rect.left, bottom: viewBottom() - rect.top + 8 };
- }, [shown, open, tick]);
+ return (0, import_react21.createElement)(
+ import_react21.Fragment,
null,
- (0, import_react20.createElement)("button", {
+ (0, import_react21.createElement)("button", {
ref: button,
type: "button",
className: "bt-plus",