@tutti-os/agent-gui 0.0.23 → 0.0.24

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.
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  AgentInteractivePromptSurface,
15
15
  approvalOptionDisplayLabel
16
- } from "./chunk-ZC4E2QJU.js";
16
+ } from "./chunk-4MOHKNXA.js";
17
17
  import {
18
18
  PLAN_IMPLEMENTATION_ACTION_FEEDBACK,
19
19
  PLAN_IMPLEMENTATION_ACTION_IMPLEMENT,
@@ -36,21 +36,21 @@ import {
36
36
  skillDescriptionForDisplay,
37
37
  skillTriggerForPrefix,
38
38
  useProjectedAgentConversation
39
- } from "./chunk-MQAGIHYM.js";
39
+ } from "./chunk-7JW4OAKS.js";
40
40
  import {
41
41
  AgentMessageMarkdown,
42
42
  ZoomableImage,
43
43
  cn,
44
44
  resolveWorkspaceLinkAction
45
- } from "./chunk-7Q3JKSQ5.js";
45
+ } from "./chunk-BUBD5E4F.js";
46
46
  import {
47
47
  AGENT_MENTION_FILTER_TAB_ORDER,
48
48
  AgentFileMentionPalette,
49
49
  AgentMentionSearchController,
50
50
  DEFAULT_AGENT_MENTION_FILTER,
51
- flattenAgentMentionPaletteEntries,
51
+ agentMentionItemKey,
52
52
  preloadAgentMentionBrowse
53
- } from "./chunk-3LVEFR2N.js";
53
+ } from "./chunk-Q6QE7JNG.js";
54
54
  import {
55
55
  WORKSPACE_AGENT_ACTIVITY_RUNTIME_SESSION_ORIGIN,
56
56
  buildWorkspaceAgentActivityListViewModel,
@@ -13486,7 +13486,11 @@ import {
13486
13486
  // agent-gui/agentGuiNode/AgentComposer.tsx
13487
13487
  import { AddIcon, Select as Select2, SelectTrigger as SelectTrigger2 } from "@tutti-os/ui-system";
13488
13488
  import { ListChecks, X } from "lucide-react";
13489
- import { makeAtPanelKeyDown } from "@tutti-os/ui-rich-text/at-panel";
13489
+ import {
13490
+ createMentionPaletteStateAdapter,
13491
+ makeAtPanelKeyDown,
13492
+ repairMentionPaletteHighlight
13493
+ } from "@tutti-os/ui-rich-text/at-panel";
13490
13494
 
13491
13495
  // agent-gui/agentGuiNode/model/agentComposerTriggerQueries.ts
13492
13496
  import { findRichTextTriggerQuery } from "@tutti-os/ui-rich-text/editor";
@@ -17283,40 +17287,40 @@ function AgentComposer({
17283
17287
  highlightedIndex,
17284
17288
  slashPaletteEntries.length
17285
17289
  );
17286
- const mentionPaletteEntries = useMemo9(
17287
- () => flattenAgentMentionPaletteEntries(mentionSearchState),
17288
- [mentionSearchState]
17289
- );
17290
17290
  const [mentionPaletteFrame, setMentionPaletteFrame] = useState10(null);
17291
17291
  useEffect11(() => {
17292
17292
  setHighlightedIndex(0);
17293
17293
  }, [skillQueryMatch?.prefix, skillQueryMatch?.query, slashQuery]);
17294
17294
  useEffect11(() => {
17295
- const firstKey = mentionPaletteEntries[0]?.key ?? null;
17296
- if (!firstKey) {
17297
- autoMentionHighlightedKeyRef.current = null;
17298
- setMentionHighlightedKey(null);
17299
- return;
17300
- }
17295
+ const preferredKey = shouldResetMentionHighlightToFilter && mentionSearchState.mode === "browse" ? `category:${mentionSearchState.filter}` : null;
17301
17296
  if (shouldResetMentionHighlightToFilter) {
17302
- const resetKey = mentionSearchState.mode === "browse" ? `category:${mentionSearchState.filter}` : null;
17303
- autoMentionHighlightedKeyRef.current = resetKey;
17304
- setMentionHighlightedKey(resetKey);
17297
+ const nextKey = repairMentionPaletteHighlight({
17298
+ state: mentionSearchState,
17299
+ currentKey: null,
17300
+ preferredKey,
17301
+ getItemKey: agentMentionItemKey
17302
+ });
17303
+ autoMentionHighlightedKeyRef.current = nextKey;
17304
+ setMentionHighlightedKey(nextKey);
17305
17305
  setShouldResetMentionHighlightToFilter(false);
17306
17306
  return;
17307
17307
  }
17308
17308
  setMentionHighlightedKey((current) => {
17309
- const hasCurrent = current !== null && mentionPaletteEntries.some((entry) => entry.key === current);
17310
- if (hasCurrent && current !== autoMentionHighlightedKeyRef.current) {
17309
+ const nextKey = repairMentionPaletteHighlight({
17310
+ state: mentionSearchState,
17311
+ currentKey: current,
17312
+ getItemKey: agentMentionItemKey
17313
+ });
17314
+ if (nextKey === current && current !== autoMentionHighlightedKeyRef.current) {
17311
17315
  return current;
17312
17316
  }
17313
- autoMentionHighlightedKeyRef.current = firstKey;
17314
- return firstKey;
17317
+ autoMentionHighlightedKeyRef.current = nextKey;
17318
+ return nextKey;
17315
17319
  });
17316
17320
  }, [
17317
- mentionPaletteEntries,
17318
17321
  mentionSearchState.filter,
17319
17322
  mentionSearchState.mode,
17323
+ mentionSearchState,
17320
17324
  shouldResetMentionHighlightToFilter
17321
17325
  ]);
17322
17326
  useEffect11(() => {
@@ -17665,22 +17669,40 @@ function AgentComposer({
17665
17669
  }
17666
17670
  setIsPaletteOpen(false);
17667
17671
  }, [closeFileMentionPalette, showFileMentionPalette]);
17672
+ const createFileMentionPaletteAdapter = useCallback9(
17673
+ (highlightedKey = mentionHighlightedKey) => createMentionPaletteStateAdapter({
17674
+ state: mentionSearchState,
17675
+ highlightedKey,
17676
+ categoryCycleOrder: mentionSearchState.mode === "browse" ? mentionSearchState.categories : AGENT_MENTION_FILTER_TAB_ORDER,
17677
+ getItemKey: agentMentionItemKey,
17678
+ callbacks: {
17679
+ onHighlightChange: (key) => {
17680
+ setShouldCenterMentionHighlight(true);
17681
+ autoMentionHighlightedKeyRef.current = null;
17682
+ setMentionHighlightedKey(key);
17683
+ },
17684
+ onActiveCategoryIdChange: (categoryId) => {
17685
+ mentionControllerRef.current?.setFilter(
17686
+ categoryId
17687
+ );
17688
+ setShouldResetMentionHighlightToFilter(true);
17689
+ setShouldCenterMentionHighlight(false);
17690
+ },
17691
+ onExpandGroup: (groupId) => {
17692
+ mentionControllerRef.current?.expandGroup(
17693
+ groupId
17694
+ );
17695
+ },
17696
+ onSelectItem: selectFileMention
17697
+ }
17698
+ }),
17699
+ [mentionHighlightedKey, mentionSearchState, selectFileMention]
17700
+ );
17668
17701
  const moveFileMentionSelection = useCallback9(
17669
17702
  (delta) => {
17670
- const focusableEntries = flattenAgentMentionPaletteEntries(mentionSearchState);
17671
- if (focusableEntries.length === 0) {
17672
- return;
17673
- }
17674
- const currentIndex = mentionHighlightedKey ? focusableEntries.findIndex(
17675
- (entry) => entry.key === mentionHighlightedKey
17676
- ) : -1;
17677
- const baseIndex = currentIndex >= 0 ? currentIndex : delta > 0 ? -1 : 0;
17678
- const nextIndex = (baseIndex + delta + focusableEntries.length) % focusableEntries.length;
17679
- setShouldCenterMentionHighlight(true);
17680
- autoMentionHighlightedKeyRef.current = null;
17681
- setMentionHighlightedKey(focusableEntries[nextIndex]?.key ?? null);
17703
+ createFileMentionPaletteAdapter().moveSelection(delta);
17682
17704
  },
17683
- [mentionHighlightedKey, mentionSearchState]
17705
+ [createFileMentionPaletteAdapter]
17684
17706
  );
17685
17707
  const handleMentionHighlightChange = useCallback9((key) => {
17686
17708
  autoMentionHighlightedKeyRef.current = null;
@@ -17688,57 +17710,19 @@ function AgentComposer({
17688
17710
  }, []);
17689
17711
  const cycleFileMentionFilter = useCallback9(
17690
17712
  (delta = 1) => {
17691
- const filters = mentionSearchState.mode === "browse" ? mentionSearchState.categories.map((category) => category.id) : [...AGENT_MENTION_FILTER_TAB_ORDER];
17692
- if (filters.length === 0) {
17693
- return;
17694
- }
17695
- const currentFilterIndex = filters.findIndex(
17696
- (filter) => filter === mentionSearchState.filter
17697
- );
17698
- const baseIndex = currentFilterIndex >= 0 ? currentFilterIndex : delta > 0 ? -1 : 0;
17699
- const nextIndex = (baseIndex + delta + filters.length) % filters.length;
17700
- const nextFilter = filters[nextIndex];
17701
- if (!nextFilter) {
17702
- return;
17703
- }
17704
- mentionControllerRef.current?.setFilter(nextFilter);
17705
- setShouldResetMentionHighlightToFilter(true);
17706
- setShouldCenterMentionHighlight(false);
17713
+ createFileMentionPaletteAdapter().cycleCategory(delta);
17707
17714
  },
17708
- [mentionSearchState]
17715
+ [createFileMentionPaletteAdapter]
17709
17716
  );
17710
17717
  const handleFileMentionKeyDown = useCallback9(
17711
17718
  (event) => {
17712
17719
  if (!showFileMentionPalette) {
17713
17720
  return false;
17714
17721
  }
17715
- const focusableEntries = flattenAgentMentionPaletteEntries(mentionSearchState);
17716
17722
  return makeAtPanelKeyDown({
17717
17723
  close: closeFileMentionPalette,
17718
17724
  commitSelection: () => {
17719
- const activeEntry = focusableEntries.find(
17720
- (entry) => entry.key === mentionHighlightedKey
17721
- );
17722
- if (!activeEntry) {
17723
- const highlightedCategoryId = mentionHighlightedKey?.startsWith(
17724
- "category:"
17725
- ) ? mentionHighlightedKey.slice("category:".length) : null;
17726
- if (highlightedCategoryId && mentionSearchState.categories.some(
17727
- (category) => category.id === highlightedCategoryId
17728
- )) {
17729
- mentionControllerRef.current?.setFilter(
17730
- highlightedCategoryId
17731
- );
17732
- }
17733
- return;
17734
- }
17735
- if (activeEntry.type === "category" && activeEntry.categoryId) {
17736
- mentionControllerRef.current?.setFilter(activeEntry.categoryId);
17737
- } else if (activeEntry.type === "expand" && activeEntry.groupId) {
17738
- mentionControllerRef.current?.expandGroup(activeEntry.groupId);
17739
- } else if (activeEntry.type === "item" && activeEntry.item) {
17740
- selectFileMention(activeEntry.item);
17741
- }
17725
+ createFileMentionPaletteAdapter().commitHighlighted();
17742
17726
  },
17743
17727
  cycleFilter: cycleFileMentionFilter,
17744
17728
  moveSelection: moveFileMentionSelection
@@ -17746,11 +17730,9 @@ function AgentComposer({
17746
17730
  },
17747
17731
  [
17748
17732
  closeFileMentionPalette,
17733
+ createFileMentionPaletteAdapter,
17749
17734
  cycleFileMentionFilter,
17750
- mentionHighlightedKey,
17751
- mentionSearchState,
17752
17735
  moveFileMentionSelection,
17753
- selectFileMention,
17754
17736
  showFileMentionPalette
17755
17737
  ]
17756
17738
  );
@@ -18571,8 +18553,6 @@ function AgentComposer({
18571
18553
  onSelectCategory: (filter) => mentionControllerRef.current?.setFilter(filter),
18572
18554
  onSelectFilter: (filter) => mentionControllerRef.current?.setFilter(filter),
18573
18555
  onExpandGroup: (groupId) => mentionControllerRef.current?.expandGroup(groupId),
18574
- onCycleFilter: cycleFileMentionFilter,
18575
- onMoveSelection: moveFileMentionSelection,
18576
18556
  onOpenReferences: onRequestWorkspaceReferences ? handleOpenReferencesForEntity : void 0
18577
18557
  }
18578
18558
  )
@@ -19508,6 +19488,7 @@ function AgentGUINodeView({
19508
19488
  contextMentionProviders,
19509
19489
  referenceSourceAggregator = null,
19510
19490
  resolveMentionReferenceTarget = null,
19491
+ resolveWorkspaceReferenceInitialTarget = null,
19511
19492
  workspaceAppIcons = EMPTY_WORKSPACE_APP_ICONS3
19512
19493
  }) {
19513
19494
  "use memo";
@@ -19539,7 +19520,11 @@ function AgentGUINodeView({
19539
19520
  if (!workspaceFileReferenceAdapter && !referenceSourceAggregator || !workspaceFileReferenceCopy) {
19540
19521
  return emptyReferencePickResult;
19541
19522
  }
19542
- const target = entity && referenceSourceAggregator ? resolveMentionReferenceTarget?.(entity) ?? null : null;
19523
+ const target = entity && referenceSourceAggregator ? resolveMentionReferenceTarget?.(entity) ?? null : referenceSourceAggregator ? resolveWorkspaceReferenceInitialTarget?.({
19524
+ activeConversation: viewModel.activeConversation,
19525
+ composerSelectedProjectPath: viewModel.composerSettings.selectedProjectPath ?? null,
19526
+ userProjects: viewModel.userProjects
19527
+ }) ?? null : null;
19543
19528
  setWorkspaceReferencePickerTarget(target);
19544
19529
  setWorkspaceReferencePickerOpen(true);
19545
19530
  return await new Promise((resolve) => {
@@ -19551,6 +19536,10 @@ function AgentGUINodeView({
19551
19536
  previewMode,
19552
19537
  referenceSourceAggregator,
19553
19538
  resolveMentionReferenceTarget,
19539
+ resolveWorkspaceReferenceInitialTarget,
19540
+ viewModel.activeConversation,
19541
+ viewModel.composerSettings.selectedProjectPath,
19542
+ viewModel.userProjects,
19554
19543
  workspaceFileReferenceAdapter,
19555
19544
  workspaceFileReferenceCopy
19556
19545
  ]
@@ -19655,12 +19644,20 @@ function AgentGUINodeView({
19655
19644
  }
19656
19645
  if (options) {
19657
19646
  createConversationAction(options);
19647
+ } else if (viewModel.composerSettings.selectedProjectPath) {
19648
+ createConversationAction({
19649
+ projectPath: viewModel.composerSettings.selectedProjectPath
19650
+ });
19658
19651
  } else {
19659
19652
  createConversationAction();
19660
19653
  }
19661
19654
  setLocalComposerFocusRequestSequence((current) => current + 1);
19662
19655
  },
19663
- [createConversationAction, previewMode]
19656
+ [
19657
+ createConversationAction,
19658
+ previewMode,
19659
+ viewModel.composerSettings.selectedProjectPath
19660
+ ]
19664
19661
  );
19665
19662
  useEffect12(() => {
19666
19663
  if (newConversationRequestSequence === null || handledNewConversationRequestSequenceRef.current === newConversationRequestSequence) {
@@ -21630,6 +21627,15 @@ var AgentGUIConversationRailSection = memo(
21630
21627
  const showLessConversations = useCallback10(() => {
21631
21628
  setVisibleItemLimit(AGENT_GUI_CONVERSATION_RAIL_SECTION_PAGE_SIZE);
21632
21629
  }, []);
21630
+ const canCreateConversationFromSection = section.kind === "conversations" || Boolean(projectPath);
21631
+ const createConversationLabel = projectPath ? labels.projectSectionEdit : labels.newConversation;
21632
+ const handleCreateConversation = useCallback10(() => {
21633
+ if (projectPath) {
21634
+ onCreateConversation({ projectPath });
21635
+ return;
21636
+ }
21637
+ onCreateConversation({ projectPath: null });
21638
+ }, [onCreateConversation, projectPath]);
21633
21639
  return /* @__PURE__ */ jsxs15(
21634
21640
  "section",
21635
21641
  {
@@ -21666,16 +21672,16 @@ var AgentGUIConversationRailSection = memo(
21666
21672
  ]
21667
21673
  }
21668
21674
  ) : /* @__PURE__ */ jsx29("div", { className: AgentGUINode_styles_default.conversationSectionToggle, children: /* @__PURE__ */ jsx29("span", { className: AgentGUINode_styles_default.conversationSectionLabel, children: /* @__PURE__ */ jsx29("span", { children: section.label }) }) }),
21669
- projectPath ? /* @__PURE__ */ jsxs15("div", { className: AgentGUINode_styles_default.conversationSectionActions, children: [
21675
+ canCreateConversationFromSection ? /* @__PURE__ */ jsxs15("div", { className: AgentGUINode_styles_default.conversationSectionActions, children: [
21670
21676
  /* @__PURE__ */ jsxs15("span", { className: AgentGUINode_styles_default.conversationSectionActionTooltipWrap, children: [
21671
21677
  /* @__PURE__ */ jsx29(
21672
21678
  BareIconButton,
21673
21679
  {
21674
21680
  className: AgentGUINode_styles_default.conversationSectionMoreButton,
21675
- "aria-label": labels.projectSectionEdit,
21681
+ "aria-label": createConversationLabel,
21676
21682
  size: "sm",
21677
21683
  disabled: createConversationDisabled,
21678
- onClick: () => onCreateConversation({ projectPath }),
21684
+ onClick: handleCreateConversation,
21679
21685
  children: /* @__PURE__ */ jsx29(EditIcon, { "aria-hidden": "true" })
21680
21686
  }
21681
21687
  ),
@@ -21684,30 +21690,36 @@ var AgentGUIConversationRailSection = memo(
21684
21690
  {
21685
21691
  "aria-hidden": "true",
21686
21692
  className: AgentGUINode_styles_default.conversationSectionActionTooltip,
21687
- children: labels.projectSectionEdit
21693
+ children: createConversationLabel
21688
21694
  }
21689
21695
  )
21690
21696
  ] }),
21691
- /* @__PURE__ */ jsxs15(DropdownMenu, { children: [
21692
- /* @__PURE__ */ jsx29(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs15("span", { className: AgentGUINode_styles_default.conversationSectionActionTooltipWrap, children: [
21693
- /* @__PURE__ */ jsx29(
21694
- BareIconButton,
21695
- {
21696
- className: AgentGUINode_styles_default.conversationSectionMoreButton,
21697
- "aria-label": labels.projectSectionMoreActions,
21698
- size: "sm",
21699
- children: /* @__PURE__ */ jsx29(MoreHorizontalIcon, { "aria-hidden": "true" })
21700
- }
21701
- ),
21702
- /* @__PURE__ */ jsx29(
21703
- "span",
21704
- {
21705
- "aria-hidden": "true",
21706
- className: AgentGUINode_styles_default.conversationSectionActionTooltip,
21707
- children: labels.projectSectionMoreActions
21708
- }
21709
- )
21710
- ] }) }),
21697
+ projectPath ? /* @__PURE__ */ jsxs15(DropdownMenu, { children: [
21698
+ /* @__PURE__ */ jsx29(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs15(
21699
+ "span",
21700
+ {
21701
+ className: AgentGUINode_styles_default.conversationSectionActionTooltipWrap,
21702
+ children: [
21703
+ /* @__PURE__ */ jsx29(
21704
+ BareIconButton,
21705
+ {
21706
+ className: AgentGUINode_styles_default.conversationSectionMoreButton,
21707
+ "aria-label": labels.projectSectionMoreActions,
21708
+ size: "sm",
21709
+ children: /* @__PURE__ */ jsx29(MoreHorizontalIcon, { "aria-hidden": "true" })
21710
+ }
21711
+ ),
21712
+ /* @__PURE__ */ jsx29(
21713
+ "span",
21714
+ {
21715
+ "aria-hidden": "true",
21716
+ className: AgentGUINode_styles_default.conversationSectionActionTooltip,
21717
+ children: labels.projectSectionMoreActions
21718
+ }
21719
+ )
21720
+ ]
21721
+ }
21722
+ ) }),
21711
21723
  /* @__PURE__ */ jsxs15(
21712
21724
  DropdownMenuContent,
21713
21725
  {
@@ -21767,7 +21779,7 @@ var AgentGUIConversationRailSection = memo(
21767
21779
  ]
21768
21780
  }
21769
21781
  )
21770
- ] })
21782
+ ] }) : null
21771
21783
  ] }) : null
21772
21784
  ] }),
21773
21785
  /* @__PURE__ */ jsx29(
@@ -22768,7 +22780,7 @@ function composerOverridesByProviderEqual(left, right) {
22768
22780
  return true;
22769
22781
  }
22770
22782
  function areAgentGUINodePropsEqual(previous, next) {
22771
- return previous.nodeId === next.nodeId && previous.workspaceId === next.workspaceId && previous.currentUserId === next.currentUserId && previous.workspacePath === next.workspacePath && previous.workspaceFileReferenceAdapter === next.workspaceFileReferenceAdapter && previous.referenceSourceAggregator === next.referenceSourceAggregator && previous.resolveMentionReferenceTarget === next.resolveMentionReferenceTarget && previous.onWorkspaceFileReferencesAdded === next.onWorkspaceFileReferencesAdded && previous.agentSettings.avoidGroupingEdits === next.agentSettings.avoidGroupingEdits && previous.title === next.title && agentGuiStateEquals(previous.state, next.state) && previous.position.x === next.position.x && previous.position.y === next.position.y && previous.width === next.width && previous.height === next.height && previous.desktopSize.width === next.desktopSize.width && previous.desktopSize.height === next.desktopSize.height && previous.onLinkAction === next.onLinkAction && previous.onCapabilitySettingsRequest === next.onCapabilitySettingsRequest && previous.onAgentProviderLogin === next.onAgentProviderLogin && previous.onClose === next.onClose && previous.onResize === next.onResize && previous.onUpdateNode === next.onUpdateNode && previous.onOpenConversationWindow === next.onOpenConversationWindow && previous.isMaximized === next.isMaximized && previous.isMuted === next.isMuted && previous.onMinimize === next.onMinimize && previous.onToggleMaximize === next.onToggleMaximize && previous.onShowMessage === next.onShowMessage && workspaceAgentProbeRenderStateEqualsForProvider(
22783
+ return previous.nodeId === next.nodeId && previous.workspaceId === next.workspaceId && previous.currentUserId === next.currentUserId && previous.workspacePath === next.workspacePath && previous.workspaceFileReferenceAdapter === next.workspaceFileReferenceAdapter && previous.referenceSourceAggregator === next.referenceSourceAggregator && previous.resolveMentionReferenceTarget === next.resolveMentionReferenceTarget && previous.resolveWorkspaceReferenceInitialTarget === next.resolveWorkspaceReferenceInitialTarget && previous.onWorkspaceFileReferencesAdded === next.onWorkspaceFileReferencesAdded && previous.agentSettings.avoidGroupingEdits === next.agentSettings.avoidGroupingEdits && previous.title === next.title && agentGuiStateEquals(previous.state, next.state) && previous.position.x === next.position.x && previous.position.y === next.position.y && previous.width === next.width && previous.height === next.height && previous.desktopSize.width === next.desktopSize.width && previous.desktopSize.height === next.desktopSize.height && previous.onLinkAction === next.onLinkAction && previous.onCapabilitySettingsRequest === next.onCapabilitySettingsRequest && previous.onAgentProviderLogin === next.onAgentProviderLogin && previous.onClose === next.onClose && previous.onResize === next.onResize && previous.onUpdateNode === next.onUpdateNode && previous.onOpenConversationWindow === next.onOpenConversationWindow && previous.isMaximized === next.isMaximized && previous.isMuted === next.isMuted && previous.onMinimize === next.onMinimize && previous.onToggleMaximize === next.onToggleMaximize && previous.onShowMessage === next.onShowMessage && workspaceAgentProbeRenderStateEqualsForProvider(
22772
22784
  previous.workspaceAgentProbes,
22773
22785
  next.workspaceAgentProbes,
22774
22786
  previous.state.provider
@@ -22783,6 +22795,7 @@ var AgentGUINode = memo2(function AgentGUINode2({
22783
22795
  onRequestGitBranches = null,
22784
22796
  referenceSourceAggregator = null,
22785
22797
  resolveMentionReferenceTarget = null,
22798
+ resolveWorkspaceReferenceInitialTarget = null,
22786
22799
  agentSettings,
22787
22800
  title,
22788
22801
  state,
@@ -23553,6 +23566,7 @@ var AgentGUINode = memo2(function AgentGUINode2({
23553
23566
  onRequestGitBranches,
23554
23567
  referenceSourceAggregator,
23555
23568
  resolveMentionReferenceTarget,
23569
+ resolveWorkspaceReferenceInitialTarget,
23556
23570
  workspaceFileReferenceCopy,
23557
23571
  contextMentionProviders,
23558
23572
  workspaceAppIcons