@tutti-os/agent-gui 0.0.111 → 0.0.112
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/{AgentGUI-DXwtHJnv.d.ts → AgentGUI-BP3qpvtu.d.ts} +5 -2
- package/dist/{AgentRichTextReadonly-VKMTXBKA.js → AgentRichTextReadonly-2XWSOTX4.js} +5 -5
- package/dist/agent-conversation/index.d.ts +1 -1
- package/dist/agent-conversation/index.js +7 -7
- package/dist/agent-gui.d.ts +2 -2
- package/dist/agent-gui.js +14 -14
- package/dist/agent-message-center/index.js +6 -6
- package/dist/{agentGuiNodeTypes-CR_l4HhU.d.ts → agentGuiNodeTypes-diw3oP7y.d.ts} +2 -0
- package/dist/{chunk-7D7L3JGA.js → chunk-3IYKN4ZT.js} +4 -4
- package/dist/{chunk-HGHNKOR2.js → chunk-44HFASN6.js} +3 -3
- package/dist/{chunk-HWMDMZPV.js → chunk-5L5LHAJ3.js} +29 -5
- package/dist/chunk-5L5LHAJ3.js.map +1 -0
- package/dist/{chunk-CVPI23GJ.js → chunk-7H4T7OZ4.js} +40 -14
- package/dist/chunk-7H4T7OZ4.js.map +1 -0
- package/dist/{chunk-5O3KW33M.js → chunk-C6DI6AJZ.js} +4 -4
- package/dist/{chunk-2JPJLBER.js → chunk-CZIOYBMC.js} +3 -3
- package/dist/chunk-CZIOYBMC.js.map +1 -0
- package/dist/{chunk-QMU5KFPY.js → chunk-FAJIWGIT.js} +2 -2
- package/dist/{chunk-HLSEVZCW.js → chunk-FGWORVFI.js} +2 -2
- package/dist/{chunk-RX6JAGC6.js → chunk-JGPI7CC6.js} +2 -2
- package/dist/chunk-JGPI7CC6.js.map +1 -0
- package/dist/{chunk-3QIE72RQ.js → chunk-P6SRATRQ.js} +2 -2
- package/dist/{chunk-WGUEDMSP.js → chunk-RMTPZVKO.js} +3 -3
- package/dist/{chunk-Z662JCRH.js → chunk-UKCQMTN3.js} +2 -2
- package/dist/{chunk-74ZOQONQ.js → chunk-VMZJPA5L.js} +2 -2
- package/dist/{chunk-HHQTW2VC.js → chunk-VVDJHPV4.js} +5 -5
- package/dist/context-mention-palette/index.js +7 -7
- package/dist/i18n/index.d.ts +2 -2
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +14 -14
- package/dist/mention-search.d.ts +12 -0
- package/dist/mention-search.js +5 -5
- package/dist/workbench/contribution.js +3 -3
- package/dist/workbench/index.js +3 -3
- package/dist/workbench/sessionTitle.js +2 -2
- package/package.json +14 -14
- package/dist/chunk-2JPJLBER.js.map +0 -1
- package/dist/chunk-CVPI23GJ.js.map +0 -1
- package/dist/chunk-HWMDMZPV.js.map +0 -1
- package/dist/chunk-RX6JAGC6.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-VKMTXBKA.js.map → AgentRichTextReadonly-2XWSOTX4.js.map} +0 -0
- /package/dist/{chunk-7D7L3JGA.js.map → chunk-3IYKN4ZT.js.map} +0 -0
- /package/dist/{chunk-HGHNKOR2.js.map → chunk-44HFASN6.js.map} +0 -0
- /package/dist/{chunk-5O3KW33M.js.map → chunk-C6DI6AJZ.js.map} +0 -0
- /package/dist/{chunk-QMU5KFPY.js.map → chunk-FAJIWGIT.js.map} +0 -0
- /package/dist/{chunk-HLSEVZCW.js.map → chunk-FGWORVFI.js.map} +0 -0
- /package/dist/{chunk-3QIE72RQ.js.map → chunk-P6SRATRQ.js.map} +0 -0
- /package/dist/{chunk-WGUEDMSP.js.map → chunk-RMTPZVKO.js.map} +0 -0
- /package/dist/{chunk-Z662JCRH.js.map → chunk-UKCQMTN3.js.map} +0 -0
- /package/dist/{chunk-74ZOQONQ.js.map → chunk-VMZJPA5L.js.map} +0 -0
- /package/dist/{chunk-HHQTW2VC.js.map → chunk-VVDJHPV4.js.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveAgentGuiSessionProviderFlatIconUrl,
|
|
13
13
|
resolveNextAgentGUIConversationRailWidthPx,
|
|
14
14
|
shouldAutoCollapseAgentGUIConversationRail
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-44HFASN6.js";
|
|
16
16
|
import {
|
|
17
17
|
AGENT_PROVIDERS,
|
|
18
18
|
AGENT_PROVIDER_LABEL,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
resolveAgentGUIFirstUserMessageDisplayPrompt,
|
|
30
30
|
resolveAgentGUIProviderDisplayLabel,
|
|
31
31
|
resolveAgentGUIProviderIdentity
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-P6SRATRQ.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveAgentGuiWorkbenchProviderLabel
|
|
35
35
|
} from "./chunk-R2ZADXRB.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
toLocalShortDateTime,
|
|
65
65
|
updateAgentComposerDraft,
|
|
66
66
|
useProjectedAgentConversation
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-VVDJHPV4.js";
|
|
68
68
|
import {
|
|
69
69
|
agentRichTextContentToPromptText,
|
|
70
70
|
createAgentRichTextInputExtensions,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
plainTextToAgentRichTextInlineContent,
|
|
75
75
|
skillDescriptionForDisplay,
|
|
76
76
|
skillTriggerForPrefix
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-FAJIWGIT.js";
|
|
78
78
|
import {
|
|
79
79
|
openAgentEnvPanel
|
|
80
80
|
} from "./chunk-VMQNG2KI.js";
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
AgentFileMentionPalette,
|
|
83
83
|
agentMentionItemKey,
|
|
84
84
|
isAgentMentionItemDisabled
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-3IYKN4ZT.js";
|
|
86
86
|
import {
|
|
87
87
|
normalizeAgentGUIAgents,
|
|
88
88
|
projectAgentGUIAgentsToInternalTargets
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
DEFAULT_AGENT_MENTION_FILTER,
|
|
94
94
|
agentGuiScheduler,
|
|
95
95
|
buildWorkspaceAgentActivityListViewModel
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-5L5LHAJ3.js";
|
|
97
97
|
import {
|
|
98
98
|
AGENT_RICH_TEXT_CARET_ANCHOR,
|
|
99
99
|
createAgentSessionMarkdownLink,
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
mentionItemToAttrs,
|
|
105
105
|
normalizeAgentSessionMentionTitle,
|
|
106
106
|
parseMentionItemFromHref
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-VMZJPA5L.js";
|
|
108
108
|
import {
|
|
109
109
|
AgentInteractivePromptSurface,
|
|
110
110
|
PLAN_IMPLEMENTATION_ACTION_FEEDBACK,
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
dispatchAgentPlanPromptAction,
|
|
115
115
|
latestPlanTurnId,
|
|
116
116
|
planImplementationPromptFromPlanTurn
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-C6DI6AJZ.js";
|
|
118
118
|
import {
|
|
119
119
|
useEngineSelector
|
|
120
120
|
} from "./chunk-2RQM7PJN.js";
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ZoomableImage,
|
|
124
124
|
normalizeAgentApprovalPurpose,
|
|
125
125
|
resolveWorkspaceLinkAction
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-RMTPZVKO.js";
|
|
127
127
|
import {
|
|
128
128
|
AgentTargetPresentationProvider,
|
|
129
129
|
cn,
|
|
@@ -141,7 +141,7 @@ import {
|
|
|
141
141
|
useAgentHostApi,
|
|
142
142
|
useOptionalAgentActivityRuntime,
|
|
143
143
|
useOptionalAgentHostApi
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-JGPI7CC6.js";
|
|
145
145
|
import {
|
|
146
146
|
MANAGED_AGENT_ICON_FALLBACK_URL,
|
|
147
147
|
MANAGED_AGENT_ICON_URLS,
|
|
@@ -155,7 +155,7 @@ import {
|
|
|
155
155
|
AgentGuiI18nProvider,
|
|
156
156
|
translate,
|
|
157
157
|
useTranslation
|
|
158
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-FGWORVFI.js";
|
|
159
159
|
import {
|
|
160
160
|
migratedAgentGUIProviderIdentityCatalog,
|
|
161
161
|
resolveAgentGUIProviderCatalogIdentity,
|
|
@@ -10410,6 +10410,10 @@ function useAgentGUIComposerPresentation(input) {
|
|
|
10410
10410
|
selectedPermissionModeValue,
|
|
10411
10411
|
permissionConfig,
|
|
10412
10412
|
selectedProjectPath: input.activeConversationId !== null ? input.activeConversation?.cwd ?? null : input.selectedProjectPath,
|
|
10413
|
+
selectedProjectSectionKey: input.activeConversationId !== null ? input.activeConversation?.railSectionKey ?? null : resolveSelectedProjectSectionKey(
|
|
10414
|
+
input.selectedProjectPath,
|
|
10415
|
+
input.userProjects
|
|
10416
|
+
),
|
|
10413
10417
|
projectLocked: input.activeConversationId !== null,
|
|
10414
10418
|
projectPathIsRemote: input.agentActivityRuntime.projectPathIsRemote,
|
|
10415
10419
|
collapseModelOptionsToLatest: input.providerComposerOptions?.behavior.collapseModelOptionsToLatest === true,
|
|
@@ -10427,6 +10431,7 @@ function useAgentGUIComposerPresentation(input) {
|
|
|
10427
10431
|
draftSettings,
|
|
10428
10432
|
draftSpeed,
|
|
10429
10433
|
input.activeConversation?.cwd,
|
|
10434
|
+
input.activeConversation?.railSectionKey,
|
|
10430
10435
|
input.activeConversationId,
|
|
10431
10436
|
input.agentActivityRuntime.projectPathIsRemote,
|
|
10432
10437
|
input.composerSupport,
|
|
@@ -10434,6 +10439,7 @@ function useAgentGUIComposerPresentation(input) {
|
|
|
10434
10439
|
input.composerTargetProvider,
|
|
10435
10440
|
input.providerComposerOptions,
|
|
10436
10441
|
input.selectedProjectPath,
|
|
10442
|
+
input.userProjects,
|
|
10437
10443
|
presentedReasoningEffort,
|
|
10438
10444
|
sessionSettings
|
|
10439
10445
|
]);
|
|
@@ -10446,6 +10452,13 @@ function useAgentGUIComposerPresentation(input) {
|
|
|
10446
10452
|
stableComposerSettings: useStableComposerSettingsVM(composerSettings)
|
|
10447
10453
|
};
|
|
10448
10454
|
}
|
|
10455
|
+
function resolveSelectedProjectSectionKey(selectedProjectPath, userProjects) {
|
|
10456
|
+
const projectPath = selectedProjectPath?.trim() ?? "";
|
|
10457
|
+
if (!projectPath) {
|
|
10458
|
+
return "conversations";
|
|
10459
|
+
}
|
|
10460
|
+
return userProjects.find((project) => project.path.trim() === projectPath)?.sectionKey?.trim() || null;
|
|
10461
|
+
}
|
|
10449
10462
|
|
|
10450
10463
|
// agent-gui/agentGuiNode/controller/useAgentGUIControllerActions.ts
|
|
10451
10464
|
import { useMemo as useMemo10 } from "react";
|
|
@@ -17920,6 +17933,7 @@ function useComposerMentionActions(input) {
|
|
|
17920
17933
|
workspaceId,
|
|
17921
17934
|
currentUserId,
|
|
17922
17935
|
selectedProjectPath,
|
|
17936
|
+
selectedProjectSectionKey,
|
|
17923
17937
|
draftContent,
|
|
17924
17938
|
fileMentionSuggestion,
|
|
17925
17939
|
setFileMentionSuggestion,
|
|
@@ -18159,10 +18173,11 @@ function useComposerMentionActions(input) {
|
|
|
18159
18173
|
workspaceId,
|
|
18160
18174
|
currentUserId,
|
|
18161
18175
|
query: state.query,
|
|
18176
|
+
sectionKey: selectedProjectSectionKey || null,
|
|
18162
18177
|
sessionCwd: selectedProjectPath || null
|
|
18163
18178
|
});
|
|
18164
18179
|
},
|
|
18165
|
-
[currentUserId, selectedProjectPath, workspaceId]
|
|
18180
|
+
[currentUserId, selectedProjectPath, selectedProjectSectionKey, workspaceId]
|
|
18166
18181
|
);
|
|
18167
18182
|
useEffect19(() => {
|
|
18168
18183
|
if (!showFileMentionPalette && shouldCenterMentionHighlight) {
|
|
@@ -18868,6 +18883,7 @@ function useComposerPresentation(input) {
|
|
|
18868
18883
|
disabledReason,
|
|
18869
18884
|
placeholder,
|
|
18870
18885
|
selectedProjectPath,
|
|
18886
|
+
selectedProjectSectionKey,
|
|
18871
18887
|
previousSelectedProjectPathRef,
|
|
18872
18888
|
setIsSelectedProjectMissing,
|
|
18873
18889
|
fileMentionSuggestion,
|
|
@@ -18989,9 +19005,16 @@ function useComposerPresentation(input) {
|
|
|
18989
19005
|
workspaceId,
|
|
18990
19006
|
currentUserId,
|
|
18991
19007
|
query: fileMentionSuggestion.query,
|
|
19008
|
+
sectionKey: selectedProjectSectionKey || null,
|
|
18992
19009
|
sessionCwd: selectedProjectPath || null
|
|
18993
19010
|
});
|
|
18994
|
-
}, [
|
|
19011
|
+
}, [
|
|
19012
|
+
currentUserId,
|
|
19013
|
+
fileMentionSuggestion,
|
|
19014
|
+
selectedProjectPath,
|
|
19015
|
+
selectedProjectSectionKey,
|
|
19016
|
+
workspaceId
|
|
19017
|
+
]);
|
|
18995
19018
|
useEffect22(() => {
|
|
18996
19019
|
setDismissedPromptRequestId(null);
|
|
18997
19020
|
}, [activePromptRequestId]);
|
|
@@ -24255,6 +24278,7 @@ function AgentComposer(props) {
|
|
|
24255
24278
|
slashStatusAgentSessionId
|
|
24256
24279
|
);
|
|
24257
24280
|
const selectedProjectPath = composerSettings.selectedProjectPath?.trim() ?? "";
|
|
24281
|
+
const selectedProjectSectionKey = composerSettings.selectedProjectSectionKey?.trim() ?? "";
|
|
24258
24282
|
const previousSelectedProjectPathRef = useRef31(selectedProjectPath);
|
|
24259
24283
|
const [mentionSearchState, setMentionSearchState] = useState20({
|
|
24260
24284
|
status: "idle",
|
|
@@ -24473,6 +24497,7 @@ function AgentComposer(props) {
|
|
|
24473
24497
|
workspaceId,
|
|
24474
24498
|
currentUserId,
|
|
24475
24499
|
selectedProjectPath,
|
|
24500
|
+
selectedProjectSectionKey,
|
|
24476
24501
|
draftContent,
|
|
24477
24502
|
fileMentionSuggestion,
|
|
24478
24503
|
setFileMentionSuggestion,
|
|
@@ -24611,6 +24636,7 @@ function AgentComposer(props) {
|
|
|
24611
24636
|
disabledReason,
|
|
24612
24637
|
placeholder,
|
|
24613
24638
|
selectedProjectPath,
|
|
24639
|
+
selectedProjectSectionKey,
|
|
24614
24640
|
previousSelectedProjectPathRef,
|
|
24615
24641
|
setIsSelectedProjectMissing,
|
|
24616
24642
|
fileMentionSuggestion,
|
|
@@ -35327,4 +35353,4 @@ export {
|
|
|
35327
35353
|
resolveAgentGUIAgentTarget,
|
|
35328
35354
|
AgentGUI
|
|
35329
35355
|
};
|
|
35330
|
-
//# sourceMappingURL=chunk-
|
|
35356
|
+
//# sourceMappingURL=chunk-7H4T7OZ4.js.map
|