Skip to content

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

Keep the Locations card's hints on one line

Fei241153677af6d658
diff --git a/ds-bot/client.js b/ds-bot/client.js
index 34692961..4bfcda6b 100644
--- a/ds-bot/client.js
+++ b/ds-bot/client.js
@@ -2614,6 +2614,8 @@ button.bt-set-row:hover{background:var(--bt-hover)}
.bt-set-copy{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.bt-set-hint{font-size:12px;line-height:16px;color:color-mix(in srgb,var(--bt-ink-2) 50%,var(--bt-ink-3))}
.bt-set-control{flex:none;display:flex;align-items:center;gap:6px}
+.bt-set-places .bt-set-control{flex:0 1 auto;max-width:50%;min-width:0}
+.bt-set-places .bt-set-hint{overflow-wrap:anywhere}
.bt-set-value{font-size:13px;color:var(--bt-ink-2);text-align:right}
.bt-set-bot{flex:1;display:flex;align-items:center;gap:8px;min-width:0}
.bt-set-paste{flex-direction:column;align-items:stretch;gap:8px}
@@ -11489,8 +11491,8 @@ var import_react31 = require("react");
var capitalize2 = (word) => word[0].toUpperCase() + word.slice(1);
var SETTINGS_PAGES = [["general", "General"], ["models", "Models"], ["bots", "Bots"], ["groups", "Group chats"], ["connectors", "Connectors"], ["capabilities", "Capabilities"], ["schedules", "Scheduled tasks"], ["usage", "Usage"], ["secrets", "Secrets"], ["feedback", "Feedback"], ["about", "About DS Bot"]];
var PAGE_ICONS = { ...SETTINGS_ICONS, models: SlidersIcon, connectors: ConnectorIcon, capabilities: PlugIcon, schedules: ClockIcon, secrets: KeyIcon, feedback: FeedbackIcon, about: InfoIcon };
-function SetSection({ title, children }) {
- return (0, import_react31.createElement)("section", { className: "bt-set-section" }, (0, import_react31.createElement)("h3", null, title), (0, import_react31.createElement)("div", { className: "bt-set-card" }, children));
+function SetSection({ title, className = "", children }) {
+ return (0, import_react31.createElement)("section", { className: `bt-set-section ${className}`.trim() }, (0, import_react31.createElement)("h3", null, title), (0, import_react31.createElement)("div", { className: "bt-set-card" }, children));
}
function SetRow({ label, hint, children }) {
return (0, import_react31.createElement)(
@@ -11578,7 +11580,7 @@ function LocationsSection({ actions, run }) {
}));
return (0, import_react31.createElement)(
SetSection,
- { title: t("Locations") },
+ { title: t("Locations"), className: "bt-set-places" },
(0, import_react31.createElement)(
SetRow,
{ label: t("Team workspace"), hint: t("Where Bots without a folder of their own work.") },
diff --git a/ds-bot/src/client/settings.js b/ds-bot/src/client/settings.js
index 98f991c3..1cce7bd4 100644
--- a/ds-bot/src/client/settings.js
+++ b/ds-bot/src/client/settings.js
@@ -28,8 +28,8 @@ const capitalize = word => word[0].toUpperCase() + word.slice(1)
const SETTINGS_PAGES = [['general', 'General'], ['models', 'Models'], ['bots', 'Bots'], ['groups', 'Group chats'], ['connectors', 'Connectors'], ['capabilities', 'Capabilities'], ['schedules', 'Scheduled tasks'], ['usage', 'Usage'], ['secrets', 'Secrets'], ['feedback', 'Feedback'], ['about', 'About DS Bot']]
const PAGE_ICONS = { ...SETTINGS_ICONS, models: SlidersIcon, connectors: ConnectorIcon, capabilities: PlugIcon, schedules: ClockIcon, secrets: KeyIcon, feedback: FeedbackIcon, about: InfoIcon }
-function SetSection({ title, children }) {
- return h('section', { className: 'bt-set-section' }, h('h3', null, title), h('div', { className: 'bt-set-card' }, children))
+function SetSection({ title, className = '', children }) {
+ return h('section', { className: `bt-set-section ${className}`.trim() }, h('h3', null, title), h('div', { className: 'bt-set-card' }, children))
}
function SetRow({ label, hint, children }) {
return h('div', { className: 'bt-set-row' },
@@ -84,7 +84,7 @@ function LocationsSection({ actions, run }) {
setTeam(answer.team)
app?.teamWorkspaceChanged(answer.team)
}))
- return h(SetSection, { title: t('Locations') },
+ return h(SetSection, { title: t('Locations'), className: 'bt-set-places' },
h(SetRow, { label: t('Team workspace'), hint: t('Where Bots without a folder of their own work.') },
team === null ? null : h(FolderMenu, { value: team, team: true, actions, run, onPick: pickTeam })),
data === null ? null : h(SetRow, { label: t('Data location'), hint: data.path },
diff --git a/ds-bot/src/client/styles.js b/ds-bot/src/client/styles.js
index 2ff9f1f9..267f0349 100644
--- a/ds-bot/src/client/styles.js
+++ b/ds-bot/src/client/styles.js
@@ -491,6 +491,8 @@ button.bt-set-row:hover{background:var(--bt-hover)}
.bt-set-copy{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.bt-set-hint{font-size:12px;line-height:16px;color:color-mix(in srgb,var(--bt-ink-2) 50%,var(--bt-ink-3))}
.bt-set-control{flex:none;display:flex;align-items:center;gap:6px}
+.bt-set-places .bt-set-control{flex:0 1 auto;max-width:50%;min-width:0}
+.bt-set-places .bt-set-hint{overflow-wrap:anywhere}
.bt-set-value{font-size:13px;color:var(--bt-ink-2);text-align:right}
.bt-set-bot{flex:1;display:flex;align-items:center;gap:8px;min-width:0}
.bt-set-paste{flex-direction:column;align-items:stretch;gap:8px}