@tutti-os/agent-gui 0.0.177 → 0.0.179
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/agent-gui.d.ts +6 -0
- package/dist/agent-gui.js +2 -2
- package/dist/{chunk-GZXOFYCW.js → chunk-54T2VMRC.js} +7 -7
- package/dist/chunk-54T2VMRC.js.map +1 -0
- package/dist/{chunk-XQV7VV2N.js → chunk-G5JCVOF3.js} +68 -10
- package/dist/chunk-G5JCVOF3.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2 -2
- package/dist/workbench/contribution.js +1 -1
- package/dist/workbench/index.js +1 -1
- package/package.json +13 -13
- package/dist/chunk-GZXOFYCW.js.map +0 -1
- package/dist/chunk-XQV7VV2N.js.map +0 -1
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveAgentGuiSessionProviderFlatIconUrl,
|
|
13
13
|
resolveNextAgentGUIConversationRailWidthPx,
|
|
14
14
|
shouldAutoCollapseAgentGUIConversationRail
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-54T2VMRC.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveAgentGuiWorkbenchProviderLabel
|
|
18
18
|
} from "./chunk-SZVHT57M.js";
|
|
@@ -18125,6 +18125,7 @@ function useComposerPaletteCatalog({
|
|
|
18125
18125
|
compactSupported,
|
|
18126
18126
|
composerSettings,
|
|
18127
18127
|
capabilityMenuState,
|
|
18128
|
+
capabilityControlsReadOnly,
|
|
18128
18129
|
labels,
|
|
18129
18130
|
uiLanguage,
|
|
18130
18131
|
editorHandleRef
|
|
@@ -18172,6 +18173,9 @@ function useComposerPaletteCatalog({
|
|
|
18172
18173
|
[availableSkills, skillQueryMatch]
|
|
18173
18174
|
);
|
|
18174
18175
|
const availableCapabilities = useMemo22(() => {
|
|
18176
|
+
if (capabilityControlsReadOnly) {
|
|
18177
|
+
return [];
|
|
18178
|
+
}
|
|
18175
18179
|
const entries = [];
|
|
18176
18180
|
if (composerSettings.supportsBrowser) {
|
|
18177
18181
|
entries.push({
|
|
@@ -18191,6 +18195,7 @@ function useComposerPaletteCatalog({
|
|
|
18191
18195
|
}
|
|
18192
18196
|
return entries;
|
|
18193
18197
|
}, [
|
|
18198
|
+
capabilityControlsReadOnly,
|
|
18194
18199
|
composerSettings.supportsBrowser,
|
|
18195
18200
|
composerSettings.supportsComputerUse,
|
|
18196
18201
|
labels.browserUseCapabilityLabel,
|
|
@@ -18212,6 +18217,7 @@ function useComposerPaletteCatalog({
|
|
|
18212
18217
|
description: capDescription,
|
|
18213
18218
|
settingsAriaLabel: capSettingsLabel,
|
|
18214
18219
|
settingsLabel: labels.capabilityInlineSettingsLabel,
|
|
18220
|
+
disabled: capabilityControlsReadOnly,
|
|
18215
18221
|
selectAction: command.capability === "computerUse" && (computerUseInstalled === false || computerUseInstalled === true && (computerUseAuthorization === "needs-authorization" || computerUseAuthorization === "unknown")) ? "settings" : "capability",
|
|
18216
18222
|
capability: command
|
|
18217
18223
|
};
|
|
@@ -18248,6 +18254,7 @@ function useComposerPaletteCatalog({
|
|
|
18248
18254
|
capabilityMenuState?.browserUse?.connectionMode,
|
|
18249
18255
|
capabilityMenuState?.computerUse?.authorization,
|
|
18250
18256
|
capabilityMenuState?.computerUse?.installed,
|
|
18257
|
+
capabilityControlsReadOnly,
|
|
18251
18258
|
filteredCommands,
|
|
18252
18259
|
filteredSkills,
|
|
18253
18260
|
labels.browserUseCapabilityDescription,
|
|
@@ -18766,6 +18773,7 @@ function useComposerSlashActions(input) {
|
|
|
18766
18773
|
promptImagesSupported,
|
|
18767
18774
|
availableSkills = [],
|
|
18768
18775
|
composerSettings,
|
|
18776
|
+
capabilityControlsReadOnly = false,
|
|
18769
18777
|
onDraftContentChange,
|
|
18770
18778
|
onSettingsChange,
|
|
18771
18779
|
onSubmit,
|
|
@@ -18988,6 +18996,9 @@ function useComposerSlashActions(input) {
|
|
|
18988
18996
|
);
|
|
18989
18997
|
const selectCapability = useCallback35(
|
|
18990
18998
|
(capability) => {
|
|
18999
|
+
if (capabilityControlsReadOnly) {
|
|
19000
|
+
return;
|
|
19001
|
+
}
|
|
18991
19002
|
const selectionEffect = resolveSlashCommandSelectionEffect({
|
|
18992
19003
|
provider,
|
|
18993
19004
|
policy: slashCommandPolicy,
|
|
@@ -18998,14 +19009,22 @@ function useComposerSlashActions(input) {
|
|
|
18998
19009
|
executeSlashCommandEffect(selectionEffect);
|
|
18999
19010
|
}
|
|
19000
19011
|
},
|
|
19001
|
-
[
|
|
19012
|
+
[
|
|
19013
|
+
capabilityControlsReadOnly,
|
|
19014
|
+
executeSlashCommandEffect,
|
|
19015
|
+
provider,
|
|
19016
|
+
slashCommandPolicy
|
|
19017
|
+
]
|
|
19002
19018
|
);
|
|
19003
19019
|
const selectCapabilitySettings = useCallback35(
|
|
19004
19020
|
(capability) => {
|
|
19021
|
+
if (capabilityControlsReadOnly) {
|
|
19022
|
+
return;
|
|
19023
|
+
}
|
|
19005
19024
|
onCapabilitySettingsRequest?.(capability.capability);
|
|
19006
19025
|
setIsPaletteOpen(false);
|
|
19007
19026
|
},
|
|
19008
|
-
[onCapabilitySettingsRequest]
|
|
19027
|
+
[capabilityControlsReadOnly, onCapabilitySettingsRequest]
|
|
19009
19028
|
);
|
|
19010
19029
|
const selectSkill = useCallback35(
|
|
19011
19030
|
(skill) => {
|
|
@@ -19077,6 +19096,9 @@ function useComposerSlashActions(input) {
|
|
|
19077
19096
|
policy: slashCommandPolicy
|
|
19078
19097
|
});
|
|
19079
19098
|
if (slashCommandEffect) {
|
|
19099
|
+
if (capabilityControlsReadOnly && slashCommandEffect.kind === "submitPrompt" && (slashCommandEffect.requiredSettingsPatch?.browserUse !== void 0 || slashCommandEffect.requiredSettingsPatch?.computerUse !== void 0)) {
|
|
19100
|
+
return;
|
|
19101
|
+
}
|
|
19080
19102
|
executeSlashCommandEffect(slashCommandEffect);
|
|
19081
19103
|
return;
|
|
19082
19104
|
}
|
|
@@ -19164,6 +19186,9 @@ function useComposerSlashActions(input) {
|
|
|
19164
19186
|
if (event.key === "Tab" || event.key === "Enter") {
|
|
19165
19187
|
event.preventDefault();
|
|
19166
19188
|
const activeEntry = slashPaletteEntries[activeHighlight];
|
|
19189
|
+
if (activeEntry?.type === "capability" && activeEntry.disabled) {
|
|
19190
|
+
return true;
|
|
19191
|
+
}
|
|
19167
19192
|
if (activeEntry?.type === "command") {
|
|
19168
19193
|
selectCommand(activeEntry.command);
|
|
19169
19194
|
} else if (activeEntry?.type === "capability") {
|
|
@@ -23823,6 +23848,7 @@ function AgentSlashCommandPalette({
|
|
|
23823
23848
|
return /* @__PURE__ */ jsxs23("div", { className: paletteStyles.palette, role: "listbox", "aria-label": label, children: [
|
|
23824
23849
|
entries.map((entry, index) => {
|
|
23825
23850
|
const isHighlighted = index === highlightedIndex;
|
|
23851
|
+
const isDisabled = entry.type === "capability" && entry.disabled === true;
|
|
23826
23852
|
const groupType = entryGroupType(entry);
|
|
23827
23853
|
const entryIcon = slashPaletteEntryIcon(entry);
|
|
23828
23854
|
const groupHeader = showGroupHeaders && firstEntryIndexByType.get(groupType) === index ? /* @__PURE__ */ jsx32(
|
|
@@ -23852,14 +23878,19 @@ function AgentSlashCommandPalette({
|
|
|
23852
23878
|
ref: isHighlighted ? highlightedOptionRef : null,
|
|
23853
23879
|
className: cn(
|
|
23854
23880
|
paletteStyles.option,
|
|
23855
|
-
isHighlighted && "bg-[var(--transparency-block)]"
|
|
23881
|
+
isHighlighted && "bg-[var(--transparency-block)]",
|
|
23882
|
+
isDisabled && "cursor-not-allowed text-[var(--agent-gui-text-tertiary)] opacity-60 hover:bg-transparent active:bg-transparent"
|
|
23856
23883
|
),
|
|
23857
23884
|
role: "option",
|
|
23858
23885
|
"aria-selected": isHighlighted,
|
|
23886
|
+
"aria-disabled": isDisabled || void 0,
|
|
23859
23887
|
"data-highlighted": isHighlighted ? "" : void 0,
|
|
23860
23888
|
onMouseEnter: () => onHighlightChange(index),
|
|
23861
23889
|
onMouseDown: (event) => event.preventDefault(),
|
|
23862
23890
|
onClick: () => {
|
|
23891
|
+
if (isDisabled) {
|
|
23892
|
+
return;
|
|
23893
|
+
}
|
|
23863
23894
|
if (entry.type === "command") {
|
|
23864
23895
|
onSelect(entry.command);
|
|
23865
23896
|
return;
|
|
@@ -23888,6 +23919,7 @@ function AgentSlashCommandPalette({
|
|
|
23888
23919
|
{
|
|
23889
23920
|
"aria-label": entry.settingsAriaLabel ?? entry.settingsLabel,
|
|
23890
23921
|
className: paletteStyles.settingsButton,
|
|
23922
|
+
disabled: isDisabled,
|
|
23891
23923
|
title: entry.settingsAriaLabel ?? entry.settingsLabel,
|
|
23892
23924
|
type: "button",
|
|
23893
23925
|
onClick: (event) => {
|
|
@@ -27313,6 +27345,7 @@ function AgentComposer(props) {
|
|
|
27313
27345
|
onDraftContentChange,
|
|
27314
27346
|
onSettingsChange,
|
|
27315
27347
|
capabilityMenuState,
|
|
27348
|
+
capabilityControlsReadOnly = false,
|
|
27316
27349
|
onSubmit,
|
|
27317
27350
|
onSubmitGuidance,
|
|
27318
27351
|
onInterruptCurrentTurn,
|
|
@@ -27414,6 +27447,7 @@ function AgentComposer(props) {
|
|
|
27414
27447
|
compactSupported,
|
|
27415
27448
|
composerSettings,
|
|
27416
27449
|
capabilityMenuState,
|
|
27450
|
+
capabilityControlsReadOnly,
|
|
27417
27451
|
labels,
|
|
27418
27452
|
uiLanguage,
|
|
27419
27453
|
editorHandleRef
|
|
@@ -27511,6 +27545,7 @@ function AgentComposer(props) {
|
|
|
27511
27545
|
promptImagesSupported: canUploadAttachment && promptImagesSupported,
|
|
27512
27546
|
availableSkills,
|
|
27513
27547
|
composerSettings,
|
|
27548
|
+
capabilityControlsReadOnly,
|
|
27514
27549
|
onDraftContentChange,
|
|
27515
27550
|
onSettingsChange,
|
|
27516
27551
|
onSubmit,
|
|
@@ -28019,6 +28054,7 @@ function createFallbackAgentGUIAgentAvatar(input) {
|
|
|
28019
28054
|
import { Component as Component3 } from "react";
|
|
28020
28055
|
import { jsx as jsx45, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
28021
28056
|
var AgentGUIEmptyHeroCarouselStage = class extends Component3 {
|
|
28057
|
+
alignmentActive = false;
|
|
28022
28058
|
animationFrame = null;
|
|
28023
28059
|
layer = null;
|
|
28024
28060
|
mutationObserver = null;
|
|
@@ -28028,7 +28064,15 @@ var AgentGUIEmptyHeroCarouselStage = class extends Component3 {
|
|
|
28028
28064
|
this.startAlignment();
|
|
28029
28065
|
}
|
|
28030
28066
|
componentDidUpdate() {
|
|
28031
|
-
this.
|
|
28067
|
+
if (!this.canAlign()) {
|
|
28068
|
+
this.stopAlignment();
|
|
28069
|
+
return;
|
|
28070
|
+
}
|
|
28071
|
+
if (!this.alignmentActive) {
|
|
28072
|
+
this.startAlignment();
|
|
28073
|
+
return;
|
|
28074
|
+
}
|
|
28075
|
+
this.scheduleAlignment();
|
|
28032
28076
|
}
|
|
28033
28077
|
componentWillUnmount() {
|
|
28034
28078
|
this.stopAlignment();
|
|
@@ -28060,10 +28104,12 @@ var AgentGUIEmptyHeroCarouselStage = class extends Component3 {
|
|
|
28060
28104
|
// while measuring the slot preserves alignment across host padding and
|
|
28061
28105
|
// ready/gated subtree changes. The CSS fallback covers the pre-measure paint.
|
|
28062
28106
|
startAlignment() {
|
|
28063
|
-
|
|
28107
|
+
const stage = this.stage;
|
|
28108
|
+
if (!this.canAlign() || !stage) {
|
|
28064
28109
|
this.stopAlignment();
|
|
28065
28110
|
return;
|
|
28066
28111
|
}
|
|
28112
|
+
this.alignmentActive = true;
|
|
28067
28113
|
if (!this.resizeObserver && typeof ResizeObserver === "function") {
|
|
28068
28114
|
this.resizeObserver = new ResizeObserver(this.scheduleAlignment);
|
|
28069
28115
|
}
|
|
@@ -28072,7 +28118,7 @@ var AgentGUIEmptyHeroCarouselStage = class extends Component3 {
|
|
|
28072
28118
|
this.observeLayoutRoots();
|
|
28073
28119
|
this.scheduleAlignment();
|
|
28074
28120
|
});
|
|
28075
|
-
this.mutationObserver.observe(
|
|
28121
|
+
this.mutationObserver.observe(stage, {
|
|
28076
28122
|
childList: true,
|
|
28077
28123
|
subtree: true
|
|
28078
28124
|
});
|
|
@@ -28080,7 +28126,13 @@ var AgentGUIEmptyHeroCarouselStage = class extends Component3 {
|
|
|
28080
28126
|
this.observeLayoutRoots();
|
|
28081
28127
|
this.syncAlignment();
|
|
28082
28128
|
}
|
|
28129
|
+
canAlign() {
|
|
28130
|
+
return Boolean(
|
|
28131
|
+
!this.props.previewMode && this.props.items.length > 1 && this.stage && this.layer
|
|
28132
|
+
);
|
|
28133
|
+
}
|
|
28083
28134
|
stopAlignment() {
|
|
28135
|
+
this.alignmentActive = false;
|
|
28084
28136
|
if (this.animationFrame !== null) {
|
|
28085
28137
|
cancelAnimationFrame(this.animationFrame);
|
|
28086
28138
|
this.animationFrame = null;
|
|
@@ -33143,7 +33195,6 @@ function useAgentGUIConversationRailViewState(input) {
|
|
|
33143
33195
|
recordScrollTop();
|
|
33144
33196
|
}
|
|
33145
33197
|
return () => {
|
|
33146
|
-
recordScrollTop();
|
|
33147
33198
|
viewport.removeEventListener("scroll", recordScrollTop);
|
|
33148
33199
|
};
|
|
33149
33200
|
}, [
|
|
@@ -36628,6 +36679,7 @@ var AgentGUIDetailPane = memo12(function AgentGUIDetailPane2({
|
|
|
36628
36679
|
onLinkAction,
|
|
36629
36680
|
onHandoffConversation,
|
|
36630
36681
|
capabilityMenuState,
|
|
36682
|
+
capabilityControlsReadOnly = false,
|
|
36631
36683
|
onCapabilitySettingsRequest,
|
|
36632
36684
|
onAgentProviderLogin,
|
|
36633
36685
|
onRequestWorkspaceReferences,
|
|
@@ -36882,6 +36934,7 @@ var AgentGUIDetailPane = memo12(function AgentGUIDetailPane2({
|
|
|
36882
36934
|
labels: composerLabels,
|
|
36883
36935
|
workspaceUserProjectI18n,
|
|
36884
36936
|
capabilityMenuState,
|
|
36937
|
+
capabilityControlsReadOnly,
|
|
36885
36938
|
onDraftContentChange: updateDraftContent,
|
|
36886
36939
|
onProjectPathChange: updateSelectedProjectPath,
|
|
36887
36940
|
onSettingsChange: updateComposerSettings,
|
|
@@ -36906,6 +36959,7 @@ var AgentGUIDetailPane = memo12(function AgentGUIDetailPane2({
|
|
|
36906
36959
|
[
|
|
36907
36960
|
canQueueWhileBusy,
|
|
36908
36961
|
capabilityMenuState,
|
|
36962
|
+
capabilityControlsReadOnly,
|
|
36909
36963
|
canSwitchComposerProvider,
|
|
36910
36964
|
composerDisabled,
|
|
36911
36965
|
composerDisabledReason,
|
|
@@ -37994,6 +38048,7 @@ function AgentGUINodeView({
|
|
|
37994
38048
|
onLinkAction,
|
|
37995
38049
|
onHandoffConversation,
|
|
37996
38050
|
capabilityMenuState,
|
|
38051
|
+
capabilityControlsReadOnly = false,
|
|
37997
38052
|
onCapabilitySettingsRequest,
|
|
37998
38053
|
isActive = true,
|
|
37999
38054
|
isVisible = true,
|
|
@@ -38582,6 +38637,7 @@ function AgentGUINodeView({
|
|
|
38582
38637
|
onLinkAction,
|
|
38583
38638
|
onHandoffConversation,
|
|
38584
38639
|
capabilityMenuState,
|
|
38640
|
+
capabilityControlsReadOnly,
|
|
38585
38641
|
onCapabilitySettingsRequest,
|
|
38586
38642
|
onAgentProviderLogin,
|
|
38587
38643
|
onRequestWorkspaceReferences: requestWorkspaceReferences,
|
|
@@ -38900,7 +38956,7 @@ function areAgentGUINodePropsEqual(previous, next) {
|
|
|
38900
38956
|
const pc = previous.hostCapabilities, nc = next.hostCapabilities;
|
|
38901
38957
|
const pa = previous.hostActions, na = next.hostActions;
|
|
38902
38958
|
const ps = previous.renderSlots, ns = next.renderSlots;
|
|
38903
|
-
return pi.nodeId === ni.nodeId && pi.workspaceId === ni.workspaceId && pi.currentUserId === ni.currentUserId && pi.title === ni.title && pw.path === nw.path && pw.fileReferenceAdapter === nw.fileReferenceAdapter && pw.onRequestGitBranches === nw.onRequestGitBranches && pw.selectProjectDirectory === nw.selectProjectDirectory && pw.resolveExternalPromptEntries === nw.resolveExternalPromptEntries && pw.prepareExternalPromptFiles === nw.prepareExternalPromptFiles && pw.promptAssetLimit === nw.promptAssetLimit && pw.projectDirectorySourceAggregator === nw.projectDirectorySourceAggregator && pw.referenceSourceAggregator === nw.referenceSourceAggregator && pw.resolveReferenceEntryIconUrl === nw.resolveReferenceEntryIconUrl && pw.resolveMentionReferenceTarget === nw.resolveMentionReferenceTarget && pw.resolveReferenceInitialTarget === nw.resolveReferenceInitialTarget && pw.onFileReferencesAdded === nw.onFileReferencesAdded && pw.agentSettings.avoidGroupingEdits === nw.agentSettings.avoidGroupingEdits && pc.referenceProvenanceFilterCatalog === nc.referenceProvenanceFilterCatalog && pc.referenceProvenanceFilterEnabled === nc.referenceProvenanceFilterEnabled && agentGuiStateEquals(previous.state, next.state) && pf.position.x === nf.position.x && pf.position.y === nf.position.y && pf.width === nf.width && pf.height === nf.height && pf.desktopSize.width === nf.desktopSize.width && pf.desktopSize.height === nf.desktopSize.height && pf.isMaximized === nf.isMaximized && pf.isActive === nf.isActive && pf.isVisible === nf.isVisible && pf.embedded === nf.embedded && pf.previewMode === nf.previewMode && pf.conversationRailAutoCollapseWidthPx === nf.conversationRailAutoCollapseWidthPx && pr.composerFocusSequence === nr.composerFocusSequence && pr.composerAppend === nr.composerAppend && pr.newConversationSequence === nr.newConversationSequence && pr.sessionAction === nr.sessionAction && pr.openSession === nr.openSession && pr.prefillPrompt === nr.prefillPrompt && pr.agentStatusController === nr.agentStatusController && pc.capabilityMenuState === nc.capabilityMenuState && pc.accountMenuState === nc.accountMenuState && pc.agentTargets === nc.agentTargets && pc.agentTargetsLoading === nc.agentTargetsLoading && pc.handoffAgentTargets === nc.handoffAgentTargets && pc.handoffAgentTargetsLoading === nc.handoffAgentTargetsLoading && pc.providerRailAllPresentation?.iconUrl === nc.providerRailAllPresentation?.iconUrl && pc.providerRailMode === nc.providerRailMode && pc.comingSoonProviders === nc.comingSoonProviders && pc.providerReadinessGates === nc.providerReadinessGates && pc.defaultAgentTargetId === nc.defaultAgentTargetId && pc.providerAuthAccountLabels === nc.providerAuthAccountLabels && pc.mentionService === nc.mentionService && pc.workspaceAppIcons === nc.workspaceAppIcons && pc.disabledHomeSuggestions === nc.disabledHomeSuggestions && pa.onLinkAction === na.onLinkAction && pa.onHandoffConversation === na.onHandoffConversation && pa.onCapabilitySettingsRequest === na.onCapabilitySettingsRequest && pa.onAgentProviderLogin === na.onAgentProviderLogin && pa.onAgentEnvPanelOpen === na.onAgentEnvPanelOpen && pa.onOpenConversationWindow === na.onOpenConversationWindow && pa.onClose === na.onClose && pa.onResize === na.onResize && pa.onUpdateNode === na.onUpdateNode && pa.onRememberComposerDefaults === na.onRememberComposerDefaults && pa.isMuted === na.isMuted && pa.onMinimize === na.onMinimize && pa.onToggleMaximize === na.onToggleMaximize && pa.onShowMessage === na.onShowMessage && pa.onEngagementEvent === na.onEngagementEvent && pa.onConversationRailLayoutChange === na.onConversationRailLayoutChange && ps.providerRailEmpty === ns.providerRailEmpty && ps.providerUnavailableState === ns.providerUnavailableState && ps.sidebarFooter === ns.sidebarFooter;
|
|
38959
|
+
return pi.nodeId === ni.nodeId && pi.workspaceId === ni.workspaceId && pi.currentUserId === ni.currentUserId && pi.title === ni.title && pw.path === nw.path && pw.fileReferenceAdapter === nw.fileReferenceAdapter && pw.onRequestGitBranches === nw.onRequestGitBranches && pw.selectProjectDirectory === nw.selectProjectDirectory && pw.resolveExternalPromptEntries === nw.resolveExternalPromptEntries && pw.prepareExternalPromptFiles === nw.prepareExternalPromptFiles && pw.promptAssetLimit === nw.promptAssetLimit && pw.projectDirectorySourceAggregator === nw.projectDirectorySourceAggregator && pw.referenceSourceAggregator === nw.referenceSourceAggregator && pw.resolveReferenceEntryIconUrl === nw.resolveReferenceEntryIconUrl && pw.resolveMentionReferenceTarget === nw.resolveMentionReferenceTarget && pw.resolveReferenceInitialTarget === nw.resolveReferenceInitialTarget && pw.onFileReferencesAdded === nw.onFileReferencesAdded && pw.agentSettings.avoidGroupingEdits === nw.agentSettings.avoidGroupingEdits && pc.referenceProvenanceFilterCatalog === nc.referenceProvenanceFilterCatalog && pc.referenceProvenanceFilterEnabled === nc.referenceProvenanceFilterEnabled && agentGuiStateEquals(previous.state, next.state) && pf.position.x === nf.position.x && pf.position.y === nf.position.y && pf.width === nf.width && pf.height === nf.height && pf.desktopSize.width === nf.desktopSize.width && pf.desktopSize.height === nf.desktopSize.height && pf.isMaximized === nf.isMaximized && pf.isActive === nf.isActive && pf.isVisible === nf.isVisible && pf.embedded === nf.embedded && pf.previewMode === nf.previewMode && pf.conversationRailAutoCollapseWidthPx === nf.conversationRailAutoCollapseWidthPx && pr.composerFocusSequence === nr.composerFocusSequence && pr.composerAppend === nr.composerAppend && pr.newConversationSequence === nr.newConversationSequence && pr.sessionAction === nr.sessionAction && pr.openSession === nr.openSession && pr.prefillPrompt === nr.prefillPrompt && pr.agentStatusController === nr.agentStatusController && pc.capabilityMenuState === nc.capabilityMenuState && pc.capabilityControlsReadOnly === nc.capabilityControlsReadOnly && pc.accountMenuState === nc.accountMenuState && pc.agentTargets === nc.agentTargets && pc.agentTargetsLoading === nc.agentTargetsLoading && pc.handoffAgentTargets === nc.handoffAgentTargets && pc.handoffAgentTargetsLoading === nc.handoffAgentTargetsLoading && pc.providerRailAllPresentation?.iconUrl === nc.providerRailAllPresentation?.iconUrl && pc.providerRailMode === nc.providerRailMode && pc.comingSoonProviders === nc.comingSoonProviders && pc.providerReadinessGates === nc.providerReadinessGates && pc.defaultAgentTargetId === nc.defaultAgentTargetId && pc.providerAuthAccountLabels === nc.providerAuthAccountLabels && pc.mentionService === nc.mentionService && pc.workspaceAppIcons === nc.workspaceAppIcons && pc.disabledHomeSuggestions === nc.disabledHomeSuggestions && pa.onLinkAction === na.onLinkAction && pa.onHandoffConversation === na.onHandoffConversation && pa.onCapabilitySettingsRequest === na.onCapabilitySettingsRequest && pa.onAgentProviderLogin === na.onAgentProviderLogin && pa.onAgentEnvPanelOpen === na.onAgentEnvPanelOpen && pa.onOpenConversationWindow === na.onOpenConversationWindow && pa.onClose === na.onClose && pa.onResize === na.onResize && pa.onUpdateNode === na.onUpdateNode && pa.onRememberComposerDefaults === na.onRememberComposerDefaults && pa.isMuted === na.isMuted && pa.onMinimize === na.onMinimize && pa.onToggleMaximize === na.onToggleMaximize && pa.onShowMessage === na.onShowMessage && pa.onEngagementEvent === na.onEngagementEvent && pa.onConversationRailLayoutChange === na.onConversationRailLayoutChange && ps.providerRailEmpty === ns.providerRailEmpty && ps.providerUnavailableState === ns.providerUnavailableState && ps.sidebarFooter === ns.sidebarFooter;
|
|
38904
38960
|
}
|
|
38905
38961
|
|
|
38906
38962
|
// agent-gui/agentGuiNode/AgentGUIMentionServiceBoundary.tsx
|
|
@@ -40047,6 +40103,7 @@ var AgentGUINode = memo14(function AgentGUINode2({
|
|
|
40047
40103
|
} = runtimeRequests;
|
|
40048
40104
|
const {
|
|
40049
40105
|
capabilityMenuState,
|
|
40106
|
+
capabilityControlsReadOnly = false,
|
|
40050
40107
|
accountMenuState = null,
|
|
40051
40108
|
agentTargets,
|
|
40052
40109
|
agentTargetsLoading = false,
|
|
@@ -40397,6 +40454,7 @@ var AgentGUINode = memo14(function AgentGUINode2({
|
|
|
40397
40454
|
onLinkAction: handleLinkAction,
|
|
40398
40455
|
onHandoffConversation,
|
|
40399
40456
|
capabilityMenuState,
|
|
40457
|
+
capabilityControlsReadOnly,
|
|
40400
40458
|
onCapabilitySettingsRequest,
|
|
40401
40459
|
onAgentProviderLogin: onAgentProviderLogin ? handleAgentProviderLogin : void 0,
|
|
40402
40460
|
onAgentEnvPanelOpen,
|
|
@@ -40537,4 +40595,4 @@ export {
|
|
|
40537
40595
|
AgentHandoffMenu,
|
|
40538
40596
|
AgentGUI
|
|
40539
40597
|
};
|
|
40540
|
-
//# sourceMappingURL=chunk-
|
|
40598
|
+
//# sourceMappingURL=chunk-G5JCVOF3.js.map
|