@tutti-os/agent-gui 0.0.215 → 0.0.216

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 (57) hide show
  1. package/README.md +3 -5
  2. package/dist/{AgentRichTextReadonly-56TZAJ47.js → AgentRichTextReadonly-IPPNAAWG.js} +5 -5
  3. package/dist/agent-conversation/index.d.ts +0 -2
  4. package/dist/agent-conversation/index.js +7 -7
  5. package/dist/agent-gui.d.ts +0 -7
  6. package/dist/agent-gui.js +14 -14
  7. package/dist/agent-message-center/index.d.ts +1 -2
  8. package/dist/agent-message-center/index.js +6 -6
  9. package/dist/app/renderer/agentactivity.css +0 -24
  10. package/dist/{chunk-ISC67YBJ.js → chunk-6A6OVD66.js} +4 -4
  11. package/dist/{chunk-AD2RTSMS.js → chunk-AOK22J62.js} +2 -2
  12. package/dist/{chunk-2HYADTQP.js → chunk-B4TM2HYJ.js} +2 -2
  13. package/dist/{chunk-MWAUXAD2.js → chunk-DLN33TPF.js} +2 -2
  14. package/dist/{chunk-XERDRMSF.js → chunk-DTP2OMCE.js} +4 -4
  15. package/dist/{chunk-AQ7CRDGX.js → chunk-EZRQMJTX.js} +8 -14
  16. package/dist/chunk-EZRQMJTX.js.map +1 -0
  17. package/dist/{chunk-JOUEYIV3.js → chunk-KJA3HHUJ.js} +363 -684
  18. package/dist/chunk-KJA3HHUJ.js.map +1 -0
  19. package/dist/{chunk-GUD5NOHO.js → chunk-MOCBHFJ2.js} +5 -74
  20. package/dist/chunk-MOCBHFJ2.js.map +1 -0
  21. package/dist/{chunk-QVLEP54U.js → chunk-P2RIZAK5.js} +3 -3
  22. package/dist/chunk-P2RIZAK5.js.map +1 -0
  23. package/dist/{chunk-YBIT37P5.js → chunk-QFYOJMEQ.js} +2 -2
  24. package/dist/{chunk-BYHNJQYH.js → chunk-UERICUWM.js} +2 -2
  25. package/dist/{chunk-KVFBUOKZ.js → chunk-VMPPZO5C.js} +2 -2
  26. package/dist/{chunk-YTU6IUO2.js → chunk-YY5WM3OE.js} +39 -143
  27. package/dist/chunk-YY5WM3OE.js.map +1 -0
  28. package/dist/{chunk-KNSLQO52.js → chunk-Z5UJC4Q3.js} +7 -13
  29. package/dist/chunk-Z5UJC4Q3.js.map +1 -0
  30. package/dist/context-mention-palette/index.js +7 -7
  31. package/dist/{contribution-DfeuQHH6.d.ts → contribution-D4lcOjSU.d.ts} +2 -14
  32. package/dist/i18n/index.d.ts +2 -2
  33. package/dist/i18n/index.js +2 -2
  34. package/dist/index.d.ts +2 -9
  35. package/dist/index.js +14 -14
  36. package/dist/mention-search.js +5 -5
  37. package/dist/workbench/contribution.d.ts +1 -1
  38. package/dist/workbench/contribution.js +3 -5
  39. package/dist/workbench/index.d.ts +2 -2
  40. package/dist/workbench/index.js +3 -5
  41. package/dist/workbench/sessionTitle.js +2 -2
  42. package/package.json +14 -14
  43. package/dist/chunk-AQ7CRDGX.js.map +0 -1
  44. package/dist/chunk-GUD5NOHO.js.map +0 -1
  45. package/dist/chunk-JOUEYIV3.js.map +0 -1
  46. package/dist/chunk-KNSLQO52.js.map +0 -1
  47. package/dist/chunk-QVLEP54U.js.map +0 -1
  48. package/dist/chunk-YTU6IUO2.js.map +0 -1
  49. /package/dist/{AgentRichTextReadonly-56TZAJ47.js.map → AgentRichTextReadonly-IPPNAAWG.js.map} +0 -0
  50. /package/dist/{chunk-ISC67YBJ.js.map → chunk-6A6OVD66.js.map} +0 -0
  51. /package/dist/{chunk-AD2RTSMS.js.map → chunk-AOK22J62.js.map} +0 -0
  52. /package/dist/{chunk-2HYADTQP.js.map → chunk-B4TM2HYJ.js.map} +0 -0
  53. /package/dist/{chunk-MWAUXAD2.js.map → chunk-DLN33TPF.js.map} +0 -0
  54. /package/dist/{chunk-XERDRMSF.js.map → chunk-DTP2OMCE.js.map} +0 -0
  55. /package/dist/{chunk-YBIT37P5.js.map → chunk-QFYOJMEQ.js.map} +0 -0
  56. /package/dist/{chunk-BYHNJQYH.js.map → chunk-UERICUWM.js.map} +0 -0
  57. /package/dist/{chunk-KVFBUOKZ.js.map → chunk-VMPPZO5C.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  translate
3
- } from "./chunk-BYHNJQYH.js";
3
+ } from "./chunk-UERICUWM.js";
4
4
  import {
5
5
  agentGUIProviderIdentityDisplayName,
6
6
  resolveMigratedAgentGUIProviderIdentity
@@ -213,4 +213,4 @@ export {
213
213
  getOptionalAgentHostApi,
214
214
  workspaceAgentProviderLabel
215
215
  };
216
- //# sourceMappingURL=chunk-YBIT37P5.js.map
216
+ //# sourceMappingURL=chunk-QFYOJMEQ.js.map
@@ -6,7 +6,7 @@ import {
6
6
  setCurrentAgentGuiI18nRuntime,
7
7
  translate,
8
8
  translateInUiLanguage
9
- } from "./chunk-QVLEP54U.js";
9
+ } from "./chunk-P2RIZAK5.js";
10
10
 
11
11
  // i18n/index.ts
12
12
  import React, {
@@ -68,4 +68,4 @@ export {
68
68
  AgentGuiI18nProvider,
69
69
  useTranslation
70
70
  };
71
- //# sourceMappingURL=chunk-BYHNJQYH.js.map
71
+ //# sourceMappingURL=chunk-UERICUWM.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  translateInUiLanguage
3
- } from "./chunk-QVLEP54U.js";
3
+ } from "./chunk-P2RIZAK5.js";
4
4
  import {
5
5
  normalizeAgentTitleText
6
6
  } from "./chunk-MIJXEELH.js";
@@ -335,4 +335,4 @@ export {
335
335
  resolveAgentGuiWorkbenchHeaderTitle,
336
336
  resolveAgentGuiWorkbenchSessionTitle
337
337
  };
338
- //# sourceMappingURL=chunk-KVFBUOKZ.js.map
338
+ //# sourceMappingURL=chunk-VMPPZO5C.js.map
@@ -2,7 +2,7 @@ import {
2
2
  AgentRichTextReadonly,
3
3
  promptForProviderSkills,
4
4
  skillTriggerForPrefix
5
- } from "./chunk-MWAUXAD2.js";
5
+ } from "./chunk-DLN33TPF.js";
6
6
  import {
7
7
  classifyRecoverableAgentMessage,
8
8
  resolveAgentErrorPresentation,
@@ -18,7 +18,7 @@ import {
18
18
  agentPromptFileBlocks,
19
19
  agentPromptPastedTextBlocks,
20
20
  materializeAgentComposerFileMentions
21
- } from "./chunk-2HYADTQP.js";
21
+ } from "./chunk-B4TM2HYJ.js";
22
22
  import {
23
23
  extractImageGenerationPreview,
24
24
  isImageGenerationToolCall,
@@ -46,7 +46,7 @@ import {
46
46
  resolveWorkspaceFileLinkAction,
47
47
  resolveWorkspaceFilePathCandidate,
48
48
  resolveWorkspaceLinkAction
49
- } from "./chunk-KNSLQO52.js";
49
+ } from "./chunk-Z5UJC4Q3.js";
50
50
  import {
51
51
  cn
52
52
  } from "./chunk-LQMIEH4C.js";
@@ -54,7 +54,7 @@ import {
54
54
  useOptionalAgentActivityRuntime,
55
55
  useOptionalAgentHostApi,
56
56
  workspaceAgentProviderLabel
57
- } from "./chunk-YBIT37P5.js";
57
+ } from "./chunk-QFYOJMEQ.js";
58
58
  import {
59
59
  fileChangeCountFromChanges,
60
60
  fileChangeEntriesFromChanges,
@@ -64,7 +64,7 @@ import {
64
64
  getActiveUiLanguage,
65
65
  translate,
66
66
  useTranslation
67
- } from "./chunk-BYHNJQYH.js";
67
+ } from "./chunk-UERICUWM.js";
68
68
  import {
69
69
  normalizeAgentTitleText
70
70
  } from "./chunk-MIJXEELH.js";
@@ -6067,8 +6067,7 @@ function AgentCollaborationRow({
6067
6067
  workspaceRoot,
6068
6068
  basePath,
6069
6069
  onLinkAction,
6070
- workspaceAppIcons,
6071
- previewMode = false
6070
+ workspaceAppIcons
6072
6071
  }) {
6073
6072
  "use memo";
6074
6073
  const agentHostApi = useOptionalAgentHostApi();
@@ -6079,7 +6078,7 @@ function AgentCollaborationRow({
6079
6078
  const adoption = localAdoption ?? collaboration.adoption;
6080
6079
  const resultText = collaboration.resultText?.trim() ?? "";
6081
6080
  const canSubmitAdoption = Boolean(
6082
- runtime?.setCollaborationAdoption && collaboration.workspaceId && collaboration.agentSessionId && !previewMode
6081
+ runtime?.setCollaborationAdoption && collaboration.workspaceId && collaboration.agentSessionId
6083
6082
  );
6084
6083
  const showAdoptionControls = (collaboration.mode === "consult" || collaboration.mode === "delegate") && adoption !== "not_applicable" && collaboration.status === "completed" && canSubmitAdoption;
6085
6084
  const submitAdoption = useCallback2(
@@ -6243,8 +6242,7 @@ function AgentCollaborationRow({
6243
6242
  source: "agent-markdown"
6244
6243
  },
6245
6244
  workspaceAppIcons,
6246
- enableImageZoom: true,
6247
- previewMode
6245
+ enableImageZoom: true
6248
6246
  }
6249
6247
  )
6250
6248
  }
@@ -9512,11 +9510,7 @@ function lineClassName(line) {
9512
9510
  }
9513
9511
 
9514
9512
  // shared/agentConversation/components/tool-renderers/agentToolContentShared.tsx
9515
- import {
9516
- createContext as createContext2,
9517
- useContext as useContext2,
9518
- useState as useState8
9519
- } from "react";
9513
+ import { useState as useState8 } from "react";
9520
9514
  import { ChevronDown as ChevronDown4, ChevronRight as ChevronRight3 } from "lucide-react";
9521
9515
 
9522
9516
  // shared/agentConversation/components/tool-renderers/AgentReadContent.tsx
@@ -9611,14 +9605,6 @@ function languageForPath3(path) {
9611
9605
 
9612
9606
  // shared/agentConversation/components/tool-renderers/agentToolContentShared.tsx
9613
9607
  import { jsx as jsx24, jsxs as jsxs15 } from "react/jsx-runtime";
9614
- var AgentToolPreviewModeContext = createContext2(false);
9615
- function AgentToolPreviewModeProvider({
9616
- children,
9617
- previewMode
9618
- }) {
9619
- "use memo";
9620
- return /* @__PURE__ */ jsx24(AgentToolPreviewModeContext.Provider, { value: previewMode, children });
9621
- }
9622
9608
  function ToolSection({
9623
9609
  title,
9624
9610
  children
@@ -9635,12 +9621,9 @@ function ToolSection({
9635
9621
  function ToolMarkdownBlock({
9636
9622
  content,
9637
9623
  onLinkClick,
9638
- collapsible = false,
9639
- previewMode
9624
+ collapsible = false
9640
9625
  }) {
9641
9626
  "use memo";
9642
- const contextPreviewMode = useContext2(AgentToolPreviewModeContext);
9643
- const effectivePreviewMode = previewMode ?? contextPreviewMode;
9644
9627
  const normalized = content.trim();
9645
9628
  if (!normalized) {
9646
9629
  return null;
@@ -9652,7 +9635,6 @@ function ToolMarkdownBlock({
9652
9635
  onLinkClick,
9653
9636
  collapsible,
9654
9637
  enableImageZoom: true,
9655
- previewMode: effectivePreviewMode,
9656
9638
  className: "workspace-agents-status-panel__detail-tool-markdown [&_ol]:text-[var(--text-secondary)] [&_ul]:text-[var(--text-secondary)]"
9657
9639
  }
9658
9640
  );
@@ -11090,11 +11072,10 @@ function AgentWriteContent({
11090
11072
  import { jsx as jsx44 } from "react/jsx-runtime";
11091
11073
  function AgentExpandedToolContent({
11092
11074
  call,
11093
- onLinkClick,
11094
- previewMode = false
11075
+ onLinkClick
11095
11076
  }) {
11096
11077
  "use memo";
11097
- const props = { call, onLinkClick, previewMode };
11078
+ const props = { call, onLinkClick };
11098
11079
  let content;
11099
11080
  switch (call.rendererKind) {
11100
11081
  case "approval":
@@ -11152,7 +11133,7 @@ function AgentExpandedToolContent({
11152
11133
  if (!content) {
11153
11134
  return null;
11154
11135
  }
11155
- return /* @__PURE__ */ jsx44(AgentToolPreviewModeProvider, { previewMode, children: content });
11136
+ return content;
11156
11137
  }
11157
11138
 
11158
11139
  // shared/agentConversation/components/AgentAskUserQuestionCard.tsx
@@ -11160,7 +11141,6 @@ import { jsx as jsx45, jsxs as jsxs31 } from "react/jsx-runtime";
11160
11141
  function AgentAskUserQuestionCard({
11161
11142
  call,
11162
11143
  onLinkClick,
11163
- previewMode = false,
11164
11144
  defaultExpanded,
11165
11145
  nonCollapsible
11166
11146
  }) {
@@ -11181,22 +11161,8 @@ function AgentAskUserQuestionCard({
11181
11161
  }
11182
11162
  ) : /* @__PURE__ */ jsx45("div", { className: "workspace-agents-status-panel__detail-tool-row-head", children: /* @__PURE__ */ jsx45(AgentToolCallHeader, { call, expanded: false, hasDetail: false }) }),
11183
11163
  !hasDetail && call.summary ? /* @__PURE__ */ jsx45("div", { className: "workspace-agents-status-panel__detail-tool-summary", children: call.summary }) : null,
11184
- hasDetail && pinned ? /* @__PURE__ */ jsx45(
11185
- AgentExpandedToolContent,
11186
- {
11187
- call,
11188
- onLinkClick,
11189
- previewMode
11190
- }
11191
- ) : null,
11192
- hasDetail && !pinned ? /* @__PURE__ */ jsx45(CollapsibleReveal, { expanded, children: /* @__PURE__ */ jsx45(
11193
- AgentExpandedToolContent,
11194
- {
11195
- call,
11196
- onLinkClick,
11197
- previewMode
11198
- }
11199
- ) }) : null
11164
+ hasDetail && pinned ? /* @__PURE__ */ jsx45(AgentExpandedToolContent, { call, onLinkClick }) : null,
11165
+ hasDetail && !pinned ? /* @__PURE__ */ jsx45(CollapsibleReveal, { expanded, children: /* @__PURE__ */ jsx45(AgentExpandedToolContent, { call, onLinkClick }) }) : null
11200
11166
  ] });
11201
11167
  }
11202
11168
 
@@ -11204,22 +11170,14 @@ function AgentAskUserQuestionCard({
11204
11170
  import { jsx as jsx46, jsxs as jsxs32 } from "react/jsx-runtime";
11205
11171
  function AgentEnterPlanModeCard({
11206
11172
  call,
11207
- onLinkClick,
11208
- previewMode = false
11173
+ onLinkClick
11209
11174
  }) {
11210
11175
  "use memo";
11211
11176
  const hasDetail = hasAgentToolContent(call);
11212
11177
  return /* @__PURE__ */ jsxs32("div", { className: "workspace-agents-status-panel__detail-tool-row workspace-agents-status-panel__detail-tool-row--plan-enter", children: [
11213
11178
  /* @__PURE__ */ jsx46("div", { className: "workspace-agents-status-panel__detail-tool-row-head", children: /* @__PURE__ */ jsx46(AgentToolCallHeader, { call, expanded: false, hasDetail: false }) }),
11214
11179
  !hasDetail && call.summary ? /* @__PURE__ */ jsx46("div", { className: "workspace-agents-status-panel__detail-tool-summary", children: call.summary }) : null,
11215
- hasDetail ? /* @__PURE__ */ jsx46(
11216
- AgentExpandedToolContent,
11217
- {
11218
- call,
11219
- onLinkClick,
11220
- previewMode
11221
- }
11222
- ) : null
11180
+ hasDetail ? /* @__PURE__ */ jsx46(AgentExpandedToolContent, { call, onLinkClick }) : null
11223
11181
  ] });
11224
11182
  }
11225
11183
 
@@ -11227,22 +11185,14 @@ function AgentEnterPlanModeCard({
11227
11185
  import { jsx as jsx47, jsxs as jsxs33 } from "react/jsx-runtime";
11228
11186
  function AgentExitPlanModeCard({
11229
11187
  call,
11230
- onLinkClick,
11231
- previewMode = false
11188
+ onLinkClick
11232
11189
  }) {
11233
11190
  "use memo";
11234
11191
  const hasDetail = hasAgentToolContent(call);
11235
11192
  return /* @__PURE__ */ jsxs33("div", { className: "workspace-agents-status-panel__detail-tool-row workspace-agents-status-panel__detail-tool-row--plan-exit", children: [
11236
11193
  /* @__PURE__ */ jsx47("div", { className: "workspace-agents-status-panel__detail-tool-row-head", children: /* @__PURE__ */ jsx47(AgentToolCallHeader, { call, expanded: false, hasDetail: false }) }),
11237
11194
  !hasDetail && call.summary ? /* @__PURE__ */ jsx47("div", { className: "workspace-agents-status-panel__detail-tool-summary", children: call.summary }) : null,
11238
- hasDetail ? /* @__PURE__ */ jsx47(
11239
- AgentExpandedToolContent,
11240
- {
11241
- call,
11242
- onLinkClick,
11243
- previewMode
11244
- }
11245
- ) : null
11195
+ hasDetail ? /* @__PURE__ */ jsx47(AgentExpandedToolContent, { call, onLinkClick }) : null
11246
11196
  ] });
11247
11197
  }
11248
11198
 
@@ -11454,8 +11404,7 @@ import { jsx as jsx49, jsxs as jsxs35 } from "react/jsx-runtime";
11454
11404
  function WorkspaceAgentSessionThinkingDisclosure({
11455
11405
  thinking,
11456
11406
  label,
11457
- onLinkClick,
11458
- previewMode = false
11407
+ onLinkClick
11459
11408
  }) {
11460
11409
  "use memo";
11461
11410
  const [expanded, setExpanded] = useState12(false);
@@ -11524,8 +11473,7 @@ function WorkspaceAgentSessionThinkingDisclosure({
11524
11473
  content: thinking.body,
11525
11474
  onLinkClick,
11526
11475
  className: "text-[11px] text-[var(--text-secondary)] opacity-92 [&_p]:mb-1",
11527
- enableImageZoom: true,
11528
- previewMode
11476
+ enableImageZoom: true
11529
11477
  }
11530
11478
  ) }) })
11531
11479
  ] });
@@ -11606,7 +11554,6 @@ function AgentThinkingDisclosure({
11606
11554
  thinking,
11607
11555
  label,
11608
11556
  onLinkClick,
11609
- previewMode = false,
11610
11557
  showRawTimelineJson = false,
11611
11558
  rawTimelineJsonLabel = ""
11612
11559
  }) {
@@ -11617,8 +11564,7 @@ function AgentThinkingDisclosure({
11617
11564
  {
11618
11565
  thinking,
11619
11566
  label,
11620
- onLinkClick,
11621
- previewMode
11567
+ onLinkClick
11622
11568
  }
11623
11569
  ),
11624
11570
  showRawTimelineJson && rawTimelineJsonLabel ? /* @__PURE__ */ jsx51(
@@ -11637,7 +11583,6 @@ import { jsx as jsx52, jsxs as jsxs38 } from "react/jsx-runtime";
11637
11583
  function AgentTaskCallCard({
11638
11584
  call,
11639
11585
  onLinkClick,
11640
- previewMode = false,
11641
11586
  defaultExpanded,
11642
11587
  nonCollapsible
11643
11588
  }) {
@@ -11660,22 +11605,8 @@ function AgentTaskCallCard({
11660
11605
  }
11661
11606
  ) : /* @__PURE__ */ jsx52("div", { className: "workspace-agents-status-panel__detail-tool-row-head", children: /* @__PURE__ */ jsx52(AgentToolCallHeader, { call, expanded: false, hasDetail: false }) }),
11662
11607
  !hasDetail && call.summary ? /* @__PURE__ */ jsx52("div", { className: "workspace-agents-status-panel__detail-tool-summary", children: call.summary }) : null,
11663
- hasDetail && pinned ? /* @__PURE__ */ jsx52(
11664
- AgentExpandedToolContent,
11665
- {
11666
- call,
11667
- onLinkClick,
11668
- previewMode
11669
- }
11670
- ) : null,
11671
- hasDetail && !pinned ? /* @__PURE__ */ jsx52(CollapsibleReveal, { expanded, children: /* @__PURE__ */ jsx52(
11672
- AgentExpandedToolContent,
11673
- {
11674
- call,
11675
- onLinkClick,
11676
- previewMode
11677
- }
11678
- ) }) : null
11608
+ hasDetail && pinned ? /* @__PURE__ */ jsx52(AgentExpandedToolContent, { call, onLinkClick }) : null,
11609
+ hasDetail && !pinned ? /* @__PURE__ */ jsx52(CollapsibleReveal, { expanded, children: /* @__PURE__ */ jsx52(AgentExpandedToolContent, { call, onLinkClick }) }) : null
11679
11610
  ] });
11680
11611
  }
11681
11612
  function taskCallAriaLabel(call) {
@@ -11915,7 +11846,6 @@ import { jsx as jsx55, jsxs as jsxs40 } from "react/jsx-runtime";
11915
11846
  function AgentToolCallCard({
11916
11847
  call,
11917
11848
  onLinkClick,
11918
- previewMode = false,
11919
11849
  defaultExpanded = false,
11920
11850
  nonCollapsible = false,
11921
11851
  variantClassName
@@ -11944,22 +11874,8 @@ function AgentToolCallCard({
11944
11874
  children: /* @__PURE__ */ jsx55(AgentToolCallHeader, { call, expanded, hasDetail: true })
11945
11875
  }
11946
11876
  ) : /* @__PURE__ */ jsx55("div", { className: "workspace-agents-status-panel__detail-tool-row-head", children: /* @__PURE__ */ jsx55(AgentToolCallHeader, { call, expanded: false, hasDetail: false }) }),
11947
- hasDetail && nonCollapsible ? /* @__PURE__ */ jsx55(
11948
- AgentExpandedToolContent,
11949
- {
11950
- call,
11951
- onLinkClick,
11952
- previewMode
11953
- }
11954
- ) : null,
11955
- hasDetail && !nonCollapsible ? /* @__PURE__ */ jsx55(CollapsibleReveal, { expanded, children: /* @__PURE__ */ jsx55(
11956
- AgentExpandedToolContent,
11957
- {
11958
- call,
11959
- onLinkClick,
11960
- previewMode
11961
- }
11962
- ) }) : null
11877
+ hasDetail && nonCollapsible ? /* @__PURE__ */ jsx55(AgentExpandedToolContent, { call, onLinkClick }) : null,
11878
+ hasDetail && !nonCollapsible ? /* @__PURE__ */ jsx55(CollapsibleReveal, { expanded, children: /* @__PURE__ */ jsx55(AgentExpandedToolContent, { call, onLinkClick }) }) : null
11963
11879
  ]
11964
11880
  }
11965
11881
  );
@@ -11979,7 +11895,6 @@ var AgentToolGroupRow = memo2(function AgentToolGroupRow2({
11979
11895
  label,
11980
11896
  thinkingLabel,
11981
11897
  onLinkClick,
11982
- previewMode = false,
11983
11898
  expanded,
11984
11899
  expansionKey,
11985
11900
  onExpandedChange,
@@ -12004,7 +11919,6 @@ var AgentToolGroupRow = memo2(function AgentToolGroupRow2({
12004
11919
  return renderToolCard(
12005
11920
  singleCall,
12006
11921
  onLinkClick,
12007
- previewMode,
12008
11922
  showRawTimelineJson,
12009
11923
  rawTimelineJsonLabel
12010
11924
  );
@@ -12056,7 +11970,6 @@ var AgentToolGroupRow = memo2(function AgentToolGroupRow2({
12056
11970
  thinking: entry.thinking,
12057
11971
  label: thinkingLabel,
12058
11972
  onLinkClick,
12059
- previewMode,
12060
11973
  showRawTimelineJson,
12061
11974
  rawTimelineJsonLabel
12062
11975
  }
@@ -12070,7 +11983,6 @@ var AgentToolGroupRow = memo2(function AgentToolGroupRow2({
12070
11983
  children: renderToolCard(
12071
11984
  entry.call,
12072
11985
  onLinkClick,
12073
- previewMode,
12074
11986
  showRawTimelineJson,
12075
11987
  rawTimelineJsonLabel
12076
11988
  )
@@ -12100,8 +12012,8 @@ function ToolGroupLabel({ label }) {
12100
12012
  function renderToolCountLabel(label) {
12101
12013
  return /* @__PURE__ */ jsx56("span", { className: "workspace-agents-status-panel__detail-tool-count-primary", children: label });
12102
12014
  }
12103
- function renderToolCard(call, onLinkClick, previewMode = false, showRawTimelineJson = false, rawTimelineJsonLabel = "") {
12104
- const props = { call, onLinkClick, previewMode };
12015
+ function renderToolCard(call, onLinkClick, showRawTimelineJson = false, rawTimelineJsonLabel = "") {
12016
+ const props = { call, onLinkClick };
12105
12017
  if (call.task?.subAgents?.length) {
12106
12018
  return /* @__PURE__ */ jsx56(AgentSubAgentCards, { call, onLinkClick });
12107
12019
  }
@@ -12492,7 +12404,6 @@ function AgentMessageBlock({
12492
12404
  provider,
12493
12405
  availableSkills,
12494
12406
  workspaceAppIcons,
12495
- previewMode = false,
12496
12407
  showRawTimelineJson = false,
12497
12408
  rawTimelineJsonLabel = "",
12498
12409
  participantPresentation
@@ -12542,7 +12453,6 @@ function AgentMessageBlock({
12542
12453
  thinking,
12543
12454
  label: thinkingLabel,
12544
12455
  onLinkClick: handleLinkClick,
12545
- previewMode,
12546
12456
  showRawTimelineJson,
12547
12457
  rawTimelineJsonLabel
12548
12458
  },
@@ -12555,7 +12465,6 @@ function AgentMessageBlock({
12555
12465
  label: toolCallsLabel,
12556
12466
  thinkingLabel,
12557
12467
  onLinkClick: handleLinkClick,
12558
- previewMode,
12559
12468
  showRawTimelineJson,
12560
12469
  rawTimelineJsonLabel
12561
12470
  },
@@ -12602,8 +12511,7 @@ function AgentMessageBlock({
12602
12511
  workspaceRoot,
12603
12512
  basePath,
12604
12513
  onLinkAction,
12605
- workspaceAppIcons,
12606
- previewMode
12514
+ workspaceAppIcons
12607
12515
  }
12608
12516
  ) : message.contentKind === "plan" ? /* @__PURE__ */ jsx61(
12609
12517
  AgentPlanCardMessage,
@@ -12612,8 +12520,7 @@ function AgentMessageBlock({
12612
12520
  workspaceRoot,
12613
12521
  basePath,
12614
12522
  onLinkAction,
12615
- workspaceAppIcons,
12616
- previewMode
12523
+ workspaceAppIcons
12617
12524
  }
12618
12525
  ) : /* @__PURE__ */ jsx61(
12619
12526
  AgentMessageMarkdown,
@@ -12629,7 +12536,6 @@ function AgentMessageBlock({
12629
12536
  },
12630
12537
  workspaceAppIcons,
12631
12538
  enableImageZoom: true,
12632
- previewMode,
12633
12539
  streaming: message.statusKind === "working"
12634
12540
  }
12635
12541
  );
@@ -12961,8 +12867,7 @@ function AgentPlanCardMessage({
12961
12867
  workspaceRoot,
12962
12868
  basePath,
12963
12869
  onLinkAction,
12964
- workspaceAppIcons,
12965
- previewMode = false
12870
+ workspaceAppIcons
12966
12871
  }) {
12967
12872
  "use memo";
12968
12873
  return /* @__PURE__ */ jsx61(AgentPlanCard, { copyText: message.body, children: /* @__PURE__ */ jsx61(
@@ -12977,8 +12882,7 @@ function AgentPlanCardMessage({
12977
12882
  source: "agent-markdown"
12978
12883
  },
12979
12884
  workspaceAppIcons,
12980
- enableImageZoom: true,
12981
- previewMode
12885
+ enableImageZoom: true
12982
12886
  }
12983
12887
  ) });
12984
12888
  }
@@ -13817,7 +13721,6 @@ var AgentTranscriptItemView = memo3(function AgentTranscriptItemView2({
13817
13721
  provider,
13818
13722
  availableSkills,
13819
13723
  workspaceAppIcons,
13820
- previewMode = false,
13821
13724
  showRawTimelineJson = false,
13822
13725
  participantPresentation,
13823
13726
  toolGroupExpanded,
@@ -13863,7 +13766,6 @@ var AgentTranscriptItemView = memo3(function AgentTranscriptItemView2({
13863
13766
  provider,
13864
13767
  availableSkills,
13865
13768
  workspaceAppIcons,
13866
- previewMode,
13867
13769
  thinkingLabel: labels.thinkingLabel,
13868
13770
  toolCallsLabel: labels.toolCallsLabel,
13869
13771
  showRawTimelineJson,
@@ -13879,7 +13781,6 @@ var AgentTranscriptItemView = memo3(function AgentTranscriptItemView2({
13879
13781
  label: labels.toolCallsLabel,
13880
13782
  thinkingLabel: labels.thinkingLabel,
13881
13783
  onLinkClick: handleLinkClick,
13882
- previewMode,
13883
13784
  showRawTimelineJson,
13884
13785
  rawTimelineJsonLabel: labels.rawTimelineJson,
13885
13786
  expanded: row.grouped ? toolGroupExpanded : void 0,
@@ -13895,8 +13796,7 @@ var AgentTranscriptItemView = memo3(function AgentTranscriptItemView2({
13895
13796
  workspaceRoot,
13896
13797
  basePath,
13897
13798
  label: labels.turnSummary,
13898
- onLinkAction,
13899
- previewMode
13799
+ onLinkAction
13900
13800
  }
13901
13801
  );
13902
13802
  case "processing":
@@ -13906,14 +13806,14 @@ var AgentTranscriptItemView = memo3(function AgentTranscriptItemView2({
13906
13806
 
13907
13807
  // shared/agentConversation/components/AgentTurnDisclosureContext.tsx
13908
13808
  import {
13909
- createContext as createContext3,
13809
+ createContext as createContext2,
13910
13810
  useCallback as useCallback11,
13911
- useContext as useContext3,
13811
+ useContext as useContext2,
13912
13812
  useMemo as useMemo6,
13913
13813
  useState as useState22
13914
13814
  } from "react";
13915
13815
  import { jsx as jsx66 } from "react/jsx-runtime";
13916
- var AgentTurnDisclosureContext = createContext3(null);
13816
+ var AgentTurnDisclosureContext = createContext2(null);
13917
13817
  function AgentTurnDisclosureProvider({
13918
13818
  children
13919
13819
  }) {
@@ -13921,7 +13821,7 @@ function AgentTurnDisclosureProvider({
13921
13821
  return /* @__PURE__ */ jsx66(AgentTurnDisclosureContext.Provider, { value: store, children });
13922
13822
  }
13923
13823
  function useAgentTurnDisclosureStore() {
13924
- const contextStore = useContext3(AgentTurnDisclosureContext);
13824
+ const contextStore = useContext2(AgentTurnDisclosureContext);
13925
13825
  const localStore = useAgentTurnDisclosureStoreState();
13926
13826
  return contextStore ?? localStore;
13927
13827
  }
@@ -15456,7 +15356,7 @@ function areAgentTranscriptViewPropsEqual(previous, next) {
15456
15356
  return transcriptConversationRenderInputEquals(
15457
15357
  previous.conversation,
15458
15358
  next.conversation
15459
- ) && previous.onLinkAction === next.onLinkAction && previous.onAuthLogin === next.onAuthLogin && previous.availableSkills === next.availableSkills && previous.workspaceAppIcons === next.workspaceAppIcons && previous.turnAttachments === next.turnAttachments && previous.turnAttachmentLocatorRef === next.turnAttachmentLocatorRef && previous.onTurnAttachmentVisibilityChange === next.onTurnAttachmentVisibilityChange && previous.previewMode === next.previewMode && previous.showRawTimelineJson === next.showRawTimelineJson && participantPresentationEqual(
15359
+ ) && previous.onLinkAction === next.onLinkAction && previous.onAuthLogin === next.onAuthLogin && previous.availableSkills === next.availableSkills && previous.workspaceAppIcons === next.workspaceAppIcons && previous.turnAttachments === next.turnAttachments && previous.turnAttachmentLocatorRef === next.turnAttachmentLocatorRef && previous.onTurnAttachmentVisibilityChange === next.onTurnAttachmentVisibilityChange && previous.showRawTimelineJson === next.showRawTimelineJson && participantPresentationEqual(
15460
15360
  previous.participantPresentation,
15461
15361
  next.participantPresentation
15462
15362
  ) && transcriptLabelsEqual(previous.labels, next.labels);
@@ -15470,7 +15370,6 @@ var AgentTranscriptView = memo4(function AgentTranscriptView2({
15470
15370
  onAuthLogin,
15471
15371
  availableSkills,
15472
15372
  workspaceAppIcons,
15473
- previewMode = false,
15474
15373
  showRawTimelineJson = false,
15475
15374
  participantPresentation,
15476
15375
  labels
@@ -15639,7 +15538,6 @@ var AgentTranscriptView = memo4(function AgentTranscriptView2({
15639
15538
  provider,
15640
15539
  availableSkills,
15641
15540
  workspaceAppIcons,
15642
- previewMode,
15643
15541
  showRawTimelineJson,
15644
15542
  participantPresentation,
15645
15543
  toolGroupExpanded: row.kind === "tool-group" ? expandedToolRows[rowKey] === true : void 0,
@@ -15785,7 +15683,6 @@ var AgentConversationFlow = memo5(function AgentConversationFlow2({
15785
15683
  onAuthLogin,
15786
15684
  availableSkills,
15787
15685
  workspaceAppIcons,
15788
- previewMode = false,
15789
15686
  showRawTimelineJson = false,
15790
15687
  participantPresentation,
15791
15688
  labels
@@ -15808,7 +15705,6 @@ var AgentConversationFlow = memo5(function AgentConversationFlow2({
15808
15705
  onAuthLogin,
15809
15706
  availableSkills,
15810
15707
  workspaceAppIcons,
15811
- previewMode,
15812
15708
  labels,
15813
15709
  showRawTimelineJson,
15814
15710
  participantPresentation
@@ -15885,4 +15781,4 @@ export {
15885
15781
  AgentConversationFlow,
15886
15782
  useProjectedAgentConversation
15887
15783
  };
15888
- //# sourceMappingURL=chunk-YTU6IUO2.js.map
15784
+ //# sourceMappingURL=chunk-YY5WM3OE.js.map