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/182-feedback-link
Fei2411828ac317f9cf
diff --cc ds-bot/client.jsindex 28008d9c,dd0b1203..9a249f78--- a/ds-bot/client.js+++ b/ds-bot/client.js@@@ -10358,26 -10491,11 +10491,26 @@@ function entrySummary(entry)return entry.text;}var SOURCES = { turn: "Model call", host: "DS Bot", api: "DS Bot", browser: "This window" };+function issueWindow() {+ if (window.dshDesktop !== void 0) return { go: (url) => {+ window.open(url, "_blank");+ return true;+ } };+ const reserved = window.open("", "_blank");+ if (reserved !== null) reserved.opener = null;+ return {+ go: (url) => {+ if (reserved === null) return false;+ reserved.location.href = url;+ return true;+ }+ };+}function FeedbackPage({ actions, run, Section, Row: Row3 }) {- const [what, setWhat] = (0, import_react27.useState)("");- const [report, setReport] = (0, import_react27.useState)(null);- const [preview, setPreview] = (0, import_react27.useState)(false);- const [note, setNote] = (0, import_react27.useState)("");+ const [what, setWhat] = (0, import_react28.useState)("");+ const [report, setReport] = (0, import_react28.useState)(null);+ const [preview, setPreview] = (0, import_react28.useState)(false);+ const [note, setNote] = (0, import_react28.useState)("");const fetchReport = () => actions.diagnostics({ client: clientFacts(), clientErrors: clientErrors() }).then((next) => {setReport(next);return next;@@@ -10391,9 -10509,10 +10524,9 @@@setNote(copied ? t("Copied the diagnostics.") : t("Could not copy. Select the text below and copy it."));if (!copied) setPreview(true);}));- const [issueLink, setIssueLink] = (0, import_react27.useState)(null);+ const [issueLink, setIssueLink] = (0, import_react28.useState)(null);const openIssue = () => {- const win = window.open("", "_blank");- if (win !== null) win.opener = null;+ const target = issueWindow();run(fetchReport().then(async (next) => {const copied = await copy(next.markdown);const { url, inline } = issueUrl(next.issuesUrl, { what, diagnostics: next.markdown });