dsh-bots 0.2.20 → 0.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/client.js +5 -3
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -350,7 +350,7 @@
350
350
  .dbs-userStack{flex-direction:column;align-items:flex-end;gap:8px;min-width:0;max-width:min(525px,82%);display:flex}
351
351
  .dbs-bubble{background:var(--dsw-specific-bubble);max-width:100%;color:var(--dsw-alias-label-primary);border-radius:22px;padding:10px 16px;font-size:16px;line-height:24px}
352
352
  .dbs-botRow{color:var(--dsw-alias-label-primary);flex-direction:column;font-size:16px;line-height:28px;display:flex;align-items:flex-start;gap:4px;width:100%}
353
- .dbs-author{font-size:13px;line-height:20px;color:var(--dsw-alias-label-secondary);display:flex;align-items:center;gap:6px;font-weight:600;margin-bottom:2px;flex-wrap:wrap}
353
+ .dbs-author{font-size:14px;line-height:22px;color:var(--dsw-alias-label-secondary);display:flex;align-items:center;gap:8px;font-weight:600;margin-bottom:3px;flex-wrap:wrap}
354
354
  .dbs-authorName{font-weight:600;letter-spacing:.2px}
355
355
  .dbs-md{min-width:0}
356
356
  .dbs-md p{margin:0 0 8px}
@@ -792,7 +792,9 @@
792
792
  info: undefined,
793
793
  error: null,
794
794
  chatAgentId: null,
795
- open: { workspaces: true, bots: true },
795
+ // First paint: only 「工作区」 is expanded — Bots folds until asked,
796
+ // matching the one-column-of-attention rule the accordion enforces.
797
+ open: { workspaces: true, bots: false },
796
798
  /** Host-computed unread counts per agent id (plugin-owned model). */
797
799
  unreadCounts: {},
798
800
  /** Create dialog: 'bot' | 'group' | null — rendered as a system-style
@@ -1524,7 +1526,7 @@
1524
1526
  };
1525
1527
  const displayName = p.isGroup ? en.authorName : p.agent?.name;
1526
1528
  const authorColor = 'hsl(' + String(hueOf(avAgent.id)) + ' 55% 45%)';
1527
- return e('div', { className: 'dbs-botRow' }, e('div', { className: 'dbs-author' }, e(Avatar, { agent: avAgent, size: 18 }), displayName != null && displayName !== ''
1529
+ return e('div', { className: 'dbs-botRow' }, e('div', { className: 'dbs-author' }, e(Avatar, { agent: avAgent, size: 22 }), displayName != null && displayName !== ''
1528
1530
  ? e('span', { className: 'dbs-authorName', style: { color: authorColor } }, displayName)
1529
1531
  : null, e(MsgTime, { entry: en })), e('div', { className: 'dbs-mdRow' }, e(MarkdownText, { text: en.content, streaming: en.isStreaming === true }), en.isStreaming === true ? e('span', { className: 'dbs-caret' }) : null, en.isStreaming === true ? null : e(MediaRefs, { text: en.content, files: true })));
1530
1532
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-bots",
3
- "version": "0.2.20",
3
+ "version": "0.2.22",
4
4
  "description": "Multi-bot workbench for DeepSeek Harness: bridges the sdk-bots orchestration gateway (group chats, single bots) into the dsh web shell with official-styled UI.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",