@tutti-os/agent-gui 0.0.219 → 0.0.221

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.
@@ -7,7 +7,7 @@ import {
7
7
  reconcileProjectedAgentConversationVM,
8
8
  serializeAgentConversationForClipboard,
9
9
  useProjectedAgentConversation
10
- } from "../chunk-6SYYX63E.js";
10
+ } from "../chunk-RA4DVAMT.js";
11
11
  import "../chunk-F6J3LJXK.js";
12
12
  import "../chunk-Z35E22WS.js";
13
13
  import "../chunk-LQMIEH4C.js";
package/dist/agent-gui.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AgentGUI
3
- } from "./chunk-DBM4HFIU.js";
3
+ } from "./chunk-MSCWLTYZ.js";
4
4
  import "./chunk-LB4AGT7B.js";
5
5
  import "./chunk-A4WCTHWS.js";
6
6
  import "./chunk-7V5XYXKB.js";
@@ -11,7 +11,7 @@ import "./chunk-MGSRWYRN.js";
11
11
  import "./chunk-CBMWHQ7P.js";
12
12
  import "./chunk-KZIW5CCW.js";
13
13
  import "./chunk-EVQ4JY3N.js";
14
- import "./chunk-6SYYX63E.js";
14
+ import "./chunk-RA4DVAMT.js";
15
15
  import "./chunk-F6J3LJXK.js";
16
16
  import "./chunk-Z35E22WS.js";
17
17
  import "./chunk-LQMIEH4C.js";
@@ -3797,6 +3797,17 @@ aside.workspace-agents-status-panel
3797
3797
  margin-right: -36px;
3798
3798
  }
3799
3799
 
3800
+ /*
3801
+ * Participant headers render once per visible turn. Later assistant-owned
3802
+ * transcript rows are siblings of that header row, so carry the same
3803
+ * avatar-and-gap inset onto their content without changing host row padding.
3804
+ */
3805
+ .agent-gui-transcript-row[data-agent-transcript-row-participant-content="assistant"]
3806
+ > * {
3807
+ box-sizing: border-box;
3808
+ padding-left: 36px;
3809
+ }
3810
+
3800
3811
  .agent-gui-conversation__participant-name {
3801
3812
  overflow: hidden;
3802
3813
  font-size: 13px;
@@ -77,7 +77,7 @@ import {
77
77
  toLocalShortDateTime,
78
78
  updateAgentComposerDraft,
79
79
  useProjectedAgentConversation
80
- } from "./chunk-6SYYX63E.js";
80
+ } from "./chunk-RA4DVAMT.js";
81
81
  import {
82
82
  agentRichTextContentToPromptText,
83
83
  createAgentRichTextInputExtensions,
@@ -44529,4 +44529,4 @@ export {
44529
44529
  AgentHandoffMenu,
44530
44530
  AgentGUI
44531
44531
  };
44532
- //# sourceMappingURL=chunk-DBM4HFIU.js.map
44532
+ //# sourceMappingURL=chunk-MSCWLTYZ.js.map
@@ -15509,6 +15509,19 @@ function participantPresentationEqual(previous, next) {
15509
15509
  }
15510
15510
  return previous.user.name === next.user.name && previous.user.avatarUrl === next.user.avatarUrl && previous.agent.name === next.agent.name && previous.agent.avatarUrl === next.agent.avatarUrl;
15511
15511
  }
15512
+ function isAssistantParticipantContentRow(row) {
15513
+ switch (row.kind) {
15514
+ case "message":
15515
+ return row.speaker === "assistant";
15516
+ case "generated-image":
15517
+ case "processing":
15518
+ case "tool-group":
15519
+ case "turn-summary":
15520
+ return true;
15521
+ case "goal-control":
15522
+ return false;
15523
+ }
15524
+ }
15512
15525
  function transcriptLabelsEqual(previous, next) {
15513
15526
  return previous === next || previous.thinkingLabel === next.thinkingLabel && previous.processing === next.processing && previous.turnSummary === next.turnSummary && previous.rawTimelineJson === next.rawTimelineJson && previous.userMessageLocator === next.userMessageLocator && previous.toolCallsLabel === next.toolCallsLabel;
15514
15527
  }
@@ -15700,6 +15713,8 @@ var AgentTranscriptView = memo4(function AgentTranscriptView2({
15700
15713
  const renderRow = (row, rowIndex, renderKey) => {
15701
15714
  const rowKey = renderKey ?? (displayRows[rowIndex] === row ? rowKeys[rowIndex] ?? transcriptRowKey(row) : transcriptRowKey(row));
15702
15715
  const shouldAnimateEnter = row.kind !== "processing" && enteringRowKeys.has(rowKey);
15716
+ const showParticipantHeader = participantHeaderRenderKeys?.has(rowKey) ?? false;
15717
+ const participantContent = participantHeadersEnabled && !showParticipantHeader && isAssistantParticipantContentRow(row) ? "assistant" : void 0;
15703
15718
  return /* @__PURE__ */ jsx70(
15704
15719
  "div",
15705
15720
  {
@@ -15710,6 +15725,7 @@ var AgentTranscriptView = memo4(function AgentTranscriptView2({
15710
15725
  "data-agent-transcript-row-thinking-first": row.kind === "message" && row.speaker === "assistant" && row.thinking.length > 0 ? "true" : void 0,
15711
15726
  "data-agent-transcript-row-thinking-last": row.kind === "message" && row.speaker === "assistant" && row.thinking.length > 0 && row.messages.length === 0 ? "true" : void 0,
15712
15727
  "data-agent-transcript-row-index": rowIndex,
15728
+ "data-agent-transcript-row-participant-content": participantContent,
15713
15729
  "data-agent-transcript-row-enter": shouldAnimateEnter ? "true" : void 0,
15714
15730
  children: /* @__PURE__ */ jsx70(
15715
15731
  AgentTranscriptItemView,
@@ -15725,7 +15741,7 @@ var AgentTranscriptView = memo4(function AgentTranscriptView2({
15725
15741
  workspaceAppIcons,
15726
15742
  showRawTimelineJson,
15727
15743
  participantPresentation,
15728
- showParticipantHeader: participantHeaderRenderKeys?.has(rowKey) ?? false,
15744
+ showParticipantHeader,
15729
15745
  toolGroupExpanded: row.kind === "tool-group" ? expandedToolRows[rowKey] === true : void 0,
15730
15746
  toolGroupExpansionKey: row.kind === "tool-group" ? rowKey : void 0,
15731
15747
  onToolGroupExpandedChange: handleToolGroupExpandedChange
@@ -15967,4 +15983,4 @@ export {
15967
15983
  AgentConversationFlow,
15968
15984
  useProjectedAgentConversation
15969
15985
  };
15970
- //# sourceMappingURL=chunk-6SYYX63E.js.map
15986
+ //# sourceMappingURL=chunk-RA4DVAMT.js.map