@tutti-os/agent-gui 0.0.175 → 0.0.177
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/{AgentRichTextReadonly-ZEMFCKVR.js → AgentRichTextReadonly-RFQTF2RA.js} +5 -5
- package/dist/agent-conversation/index.d.ts +1 -1
- package/dist/agent-conversation/index.js +6 -6
- package/dist/agent-gui.d.ts +1 -1
- package/dist/agent-gui.js +12 -12
- package/dist/agent-message-center/index.js +4 -4
- package/dist/{agentGuiNodeTypes-CLU6X2Hk.d.ts → agentGuiNodeTypes-CbBAccKv.d.ts} +2 -0
- package/dist/app/renderer/agentactivity.css +19 -8
- package/dist/app/renderer/assets/icons/agents/cursor-rounded.png +0 -0
- package/dist/{chunk-ZWLWT3TZ.js → chunk-2674YZOF.js} +2 -2
- package/dist/{chunk-K57GJTVC.js → chunk-3F7A2ZZD.js} +2 -2
- package/dist/{chunk-I27O33CO.js → chunk-5UVD3YKW.js} +4 -4
- package/dist/{chunk-5VUHTRRS.js → chunk-5WIB6ZUL.js} +2 -2
- package/dist/{chunk-ZPZD5XTH.js → chunk-BYWOKSHZ.js} +3 -3
- package/dist/{chunk-QZSSUKCK.js → chunk-GZXOFYCW.js} +4 -4
- package/dist/{chunk-UPX5IC2U.js → chunk-M7AWZUUQ.js} +2 -2
- package/dist/{chunk-LCFMJPNA.js → chunk-QNE2ZPPV.js} +2 -2
- package/dist/{chunk-UXSYGLY3.js → chunk-W6UJE2OS.js} +2 -2
- package/dist/{chunk-NNBJT5DD.js → chunk-XF4D65QH.js} +2 -2
- package/dist/{chunk-LL5MITN6.js → chunk-XQV7VV2N.js} +30 -16
- package/dist/chunk-XQV7VV2N.js.map +1 -0
- package/dist/{chunk-PQPNDL4A.js → chunk-ZREBC77R.js} +2 -2
- package/dist/context-mention-palette/index.js +5 -5
- package/dist/dock-icons.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +12 -12
- package/dist/mention-search.js +4 -4
- package/dist/provider-icons.js +1 -1
- package/dist/workbench/contribution.js +3 -3
- package/dist/workbench/index.js +3 -3
- package/package.json +15 -15
- package/dist/chunk-LL5MITN6.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-ZEMFCKVR.js.map → AgentRichTextReadonly-RFQTF2RA.js.map} +0 -0
- /package/dist/{chunk-ZWLWT3TZ.js.map → chunk-2674YZOF.js.map} +0 -0
- /package/dist/{chunk-K57GJTVC.js.map → chunk-3F7A2ZZD.js.map} +0 -0
- /package/dist/{chunk-I27O33CO.js.map → chunk-5UVD3YKW.js.map} +0 -0
- /package/dist/{chunk-5VUHTRRS.js.map → chunk-5WIB6ZUL.js.map} +0 -0
- /package/dist/{chunk-ZPZD5XTH.js.map → chunk-BYWOKSHZ.js.map} +0 -0
- /package/dist/{chunk-QZSSUKCK.js.map → chunk-GZXOFYCW.js.map} +0 -0
- /package/dist/{chunk-UPX5IC2U.js.map → chunk-M7AWZUUQ.js.map} +0 -0
- /package/dist/{chunk-LCFMJPNA.js.map → chunk-QNE2ZPPV.js.map} +0 -0
- /package/dist/{chunk-UXSYGLY3.js.map → chunk-W6UJE2OS.js.map} +0 -0
- /package/dist/{chunk-NNBJT5DD.js.map → chunk-XF4D65QH.js.map} +0 -0
- /package/dist/{chunk-PQPNDL4A.js.map → chunk-ZREBC77R.js.map} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-V7V7PU7Z.js";
|
|
10
10
|
import {
|
|
11
11
|
managedAgentRoundedIconUrl
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2674YZOF.js";
|
|
13
13
|
import {
|
|
14
14
|
translate,
|
|
15
15
|
useTranslation
|
|
@@ -3730,4 +3730,4 @@ export {
|
|
|
3730
3730
|
AgentMessageMarkdown,
|
|
3731
3731
|
CustomScrollArea
|
|
3732
3732
|
};
|
|
3733
|
-
//# sourceMappingURL=chunk-
|
|
3733
|
+
//# sourceMappingURL=chunk-W6UJE2OS.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-XJ34OIEQ.js";
|
|
8
8
|
import {
|
|
9
9
|
normalizeAgentSessionMentionTitle
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3F7A2ZZD.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveAgentMentionFileThumbnailUrl
|
|
13
13
|
} from "./chunk-5QPOMKMQ.js";
|
|
@@ -3052,4 +3052,4 @@ export {
|
|
|
3052
3052
|
AgentMentionSearchController,
|
|
3053
3053
|
preloadAgentMentionBrowse
|
|
3054
3054
|
};
|
|
3055
|
-
//# sourceMappingURL=chunk-
|
|
3055
|
+
//# sourceMappingURL=chunk-XF4D65QH.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveAgentGuiSessionProviderFlatIconUrl,
|
|
13
13
|
resolveNextAgentGUIConversationRailWidthPx,
|
|
14
14
|
shouldAutoCollapseAgentGUIConversationRail
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GZXOFYCW.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveAgentGuiWorkbenchProviderLabel
|
|
18
18
|
} from "./chunk-SZVHT57M.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
toLocalShortDateTime,
|
|
66
66
|
updateAgentComposerDraft,
|
|
67
67
|
useProjectedAgentConversation
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-5UVD3YKW.js";
|
|
69
69
|
import {
|
|
70
70
|
agentRichTextContentToPromptText,
|
|
71
71
|
createAgentRichTextInputExtensions,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
plainTextToAgentRichTextInlineContent,
|
|
76
76
|
skillDescriptionForDisplay,
|
|
77
77
|
skillTriggerForPrefix
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-M7AWZUUQ.js";
|
|
79
79
|
import {
|
|
80
80
|
AgentEnvPanelActionProvider
|
|
81
81
|
} from "./chunk-THBCAUBR.js";
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
AgentFileMentionPalette,
|
|
91
91
|
agentMentionItemKey,
|
|
92
92
|
isAgentMentionItemDisabled
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-BYWOKSHZ.js";
|
|
94
94
|
import {
|
|
95
95
|
normalizeAgentGUIAgents,
|
|
96
96
|
projectAgentGUIAgentsToTargets
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
DEFAULT_AGENT_MENTION_FILTER,
|
|
102
102
|
agentGuiScheduler,
|
|
103
103
|
buildWorkspaceAgentActivityListViewModel
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-XF4D65QH.js";
|
|
105
105
|
import {
|
|
106
106
|
AGENT_RICH_TEXT_CARET_ANCHOR,
|
|
107
107
|
agentComposerFileMentionReferences,
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
parseMentionItemFromHref,
|
|
119
119
|
remainingAgentComposerPromptAssetSlots,
|
|
120
120
|
updateAgentComposerFileMentions
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-3F7A2ZZD.js";
|
|
122
122
|
import {
|
|
123
123
|
AgentInteractivePromptSurface,
|
|
124
124
|
PLAN_IMPLEMENTATION_ACTION_FEEDBACK,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
dispatchAgentPlanPromptAction,
|
|
129
129
|
latestPlanTurnId,
|
|
130
130
|
planImplementationPromptFromPlanTurn
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-5WIB6ZUL.js";
|
|
132
132
|
import {
|
|
133
133
|
useEngineSelector
|
|
134
134
|
} from "./chunk-EVQ4JY3N.js";
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
blobToBase64,
|
|
139
139
|
normalizeAgentApprovalPurpose,
|
|
140
140
|
resolveWorkspaceLinkAction
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-W6UJE2OS.js";
|
|
142
142
|
import {
|
|
143
143
|
AgentTargetPresentationProvider,
|
|
144
144
|
cn,
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
MANAGED_AGENT_ICON_FALLBACK_URL,
|
|
162
162
|
MANAGED_AGENT_ICON_URLS,
|
|
163
163
|
MANAGED_AGENT_PROVIDER_RAIL_ICON_URLS
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-2674YZOF.js";
|
|
165
165
|
import {
|
|
166
166
|
AgentGuiI18nProvider,
|
|
167
167
|
translate,
|
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
import {
|
|
175
175
|
agentColorfulUrl,
|
|
176
176
|
resolveProviderIconAsset
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-QNE2ZPPV.js";
|
|
178
178
|
import {
|
|
179
179
|
migratedAgentGUIProviderIdentityCatalog,
|
|
180
180
|
resolveAgentGUIProviderCatalogIdentity,
|
|
@@ -5263,7 +5263,7 @@ function arePermissionConfigsEqual(left, right) {
|
|
|
5263
5263
|
);
|
|
5264
5264
|
}
|
|
5265
5265
|
function areComposerSettingsVMsEqual(left, right) {
|
|
5266
|
-
return sameComposerSettings(left.sessionSettings, right.sessionSettings) && areComposerSettingsDraftsEqual(left.draftSettings, right.draftSettings) && left.supportsModel === right.supportsModel && left.supportsReasoningEffort === right.supportsReasoningEffort && left.supportsSpeed === right.supportsSpeed && (left.supportsPermissionMode ?? false) === (right.supportsPermissionMode ?? false) && left.supportsPlanMode === right.supportsPlanMode && (left.supportsBrowser ?? false) === (right.supportsBrowser ?? false) && (left.supportsComputerUse ?? false) === (right.supportsComputerUse ?? false) && (left.permissionModeChangeDuringTurn ?? false) === (right.permissionModeChangeDuringTurn ?? false) && slashCommandPoliciesEqual(left.slashCommandPolicy, right.slashCommandPolicy) && left.isSettingsLoading === right.isSettingsLoading && !!left.isCapabilityOptionsLoading === !!right.isCapabilityOptionsLoading && !!left.isModelOptionsLoading === !!right.isModelOptionsLoading && left.modelUnavailable === right.modelUnavailable && left.reasoningUnavailable === right.reasoningUnavailable && left.speedUnavailable === right.speedUnavailable && (left.permissionModeUnavailable ?? false) === (right.permissionModeUnavailable ?? false) && (left.planExclusiveWithPermissionMode ?? false) === (right.planExclusiveWithPermissionMode ?? false) && (left.selectedModelValue ?? null) === (right.selectedModelValue ?? null) && (left.selectedReasoningEffortValue ?? null) === (right.selectedReasoningEffortValue ?? null) && (left.selectedSpeedValue ?? null) === (right.selectedSpeedValue ?? null) && (left.selectedPermissionModeValue ?? null) === (right.selectedPermissionModeValue ?? null) && arePermissionConfigsEqual(left.permissionConfig, right.permissionConfig) && (left.selectedProjectPath ?? null) === (right.selectedProjectPath ?? null) && Boolean(left.projectLocked) === Boolean(right.projectLocked) && Boolean(left.projectPathIsRemote) === Boolean(right.projectPathIsRemote) && Boolean(left.collapseModelOptionsToLatest) === Boolean(right.collapseModelOptionsToLatest) && areComposerSettingOptionListsEqual(
|
|
5266
|
+
return sameComposerSettings(left.sessionSettings, right.sessionSettings) && areComposerSettingsDraftsEqual(left.draftSettings, right.draftSettings) && left.supportsModel === right.supportsModel && left.supportsReasoningEffort === right.supportsReasoningEffort && left.supportsSpeed === right.supportsSpeed && (left.supportsPermissionMode ?? false) === (right.supportsPermissionMode ?? false) && left.supportsPlanMode === right.supportsPlanMode && (left.supportsBrowser ?? false) === (right.supportsBrowser ?? false) && (left.supportsComputerUse ?? false) === (right.supportsComputerUse ?? false) && (left.permissionModeChangeDuringTurn ?? false) === (right.permissionModeChangeDuringTurn ?? false) && slashCommandPoliciesEqual(left.slashCommandPolicy, right.slashCommandPolicy) && left.isSettingsLoading === right.isSettingsLoading && !!left.isCapabilityOptionsLoading === !!right.isCapabilityOptionsLoading && !!left.isModelOptionsLoading === !!right.isModelOptionsLoading && left.modelUnavailable === right.modelUnavailable && left.reasoningUnavailable === right.reasoningUnavailable && left.speedUnavailable === right.speedUnavailable && (left.permissionModeUnavailable ?? false) === (right.permissionModeUnavailable ?? false) && (left.planExclusiveWithPermissionMode ?? false) === (right.planExclusiveWithPermissionMode ?? false) && (left.selectedModelValue ?? null) === (right.selectedModelValue ?? null) && (left.selectedReasoningEffortValue ?? null) === (right.selectedReasoningEffortValue ?? null) && (left.selectedSpeedValue ?? null) === (right.selectedSpeedValue ?? null) && (left.selectedPermissionModeValue ?? null) === (right.selectedPermissionModeValue ?? null) && arePermissionConfigsEqual(left.permissionConfig, right.permissionConfig) && (left.selectedProjectPath ?? null) === (right.selectedProjectPath ?? null) && Boolean(left.shouldApplyPreparedProjectSelection) === Boolean(right.shouldApplyPreparedProjectSelection) && Boolean(left.projectLocked) === Boolean(right.projectLocked) && Boolean(left.projectPathIsRemote) === Boolean(right.projectPathIsRemote) && Boolean(left.collapseModelOptionsToLatest) === Boolean(right.collapseModelOptionsToLatest) && areComposerSettingOptionListsEqual(
|
|
5267
5267
|
left.availableModels,
|
|
5268
5268
|
right.availableModels
|
|
5269
5269
|
) && areComposerSettingOptionListsEqual(
|
|
@@ -10729,6 +10729,7 @@ function useAgentGUIComposerPresentation(input) {
|
|
|
10729
10729
|
input.selectedProjectPath,
|
|
10730
10730
|
input.userProjects
|
|
10731
10731
|
),
|
|
10732
|
+
shouldApplyPreparedProjectSelection: input.activeConversationId === null && input.shouldApplyPreparedProjectSelection,
|
|
10732
10733
|
projectLocked: input.activeConversationId !== null,
|
|
10733
10734
|
projectPathIsRemote: input.agentActivityRuntime.projectPathIsRemote,
|
|
10734
10735
|
collapseModelOptionsToLatest: input.providerComposerOptions?.behavior.collapseModelOptionsToLatest === true,
|
|
@@ -10755,6 +10756,7 @@ function useAgentGUIComposerPresentation(input) {
|
|
|
10755
10756
|
input.providerComposerOptions,
|
|
10756
10757
|
input.selectedComposerTargetData.agentTargetId,
|
|
10757
10758
|
input.selectedProjectPath,
|
|
10759
|
+
input.shouldApplyPreparedProjectSelection,
|
|
10758
10760
|
input.userProjects,
|
|
10759
10761
|
optionsReasoningEffort,
|
|
10760
10762
|
sessionSettings,
|
|
@@ -12753,7 +12755,11 @@ function useAgentGUISessionDetailTransport(input) {
|
|
|
12753
12755
|
}
|
|
12754
12756
|
|
|
12755
12757
|
// agent-gui/agentGuiNode/controller/useAgentGUILocalState.ts
|
|
12756
|
-
import {
|
|
12758
|
+
import {
|
|
12759
|
+
useCallback as useCallback26,
|
|
12760
|
+
useRef as useRef19,
|
|
12761
|
+
useState as useState7
|
|
12762
|
+
} from "react";
|
|
12757
12763
|
function useAgentGUILocalState({
|
|
12758
12764
|
data,
|
|
12759
12765
|
userProjectsApi
|
|
@@ -12766,9 +12772,15 @@ function useAgentGUILocalState({
|
|
|
12766
12772
|
const [intent, setIntent] = useState7(
|
|
12767
12773
|
() => data.lastActiveAgentSessionId ? { tag: "requested", id: data.lastActiveAgentSessionId } : { tag: "home" }
|
|
12768
12774
|
);
|
|
12769
|
-
const [
|
|
12770
|
-
|
|
12771
|
-
)
|
|
12775
|
+
const [homeProjectSelection, setHomeProjectSelection] = useState7({ kind: "unresolved_default" });
|
|
12776
|
+
const selectedProjectPath = homeProjectSelection.kind === "resolved" ? homeProjectSelection.projectPath : null;
|
|
12777
|
+
const setSelectedProjectPath = useCallback26((nextProjectPath) => {
|
|
12778
|
+
setHomeProjectSelection((current) => {
|
|
12779
|
+
const currentProjectPath = current.kind === "resolved" ? current.projectPath : null;
|
|
12780
|
+
const projectPath = typeof nextProjectPath === "function" ? nextProjectPath(currentProjectPath) : nextProjectPath;
|
|
12781
|
+
return { kind: "resolved", projectPath };
|
|
12782
|
+
});
|
|
12783
|
+
}, []);
|
|
12772
12784
|
const [isComposerHome, setIsComposerHome] = useState7(
|
|
12773
12785
|
data.lastActiveAgentSessionId === null
|
|
12774
12786
|
);
|
|
@@ -12824,6 +12836,7 @@ function useAgentGUILocalState({
|
|
|
12824
12836
|
railRevealRequest,
|
|
12825
12837
|
requestRailReveal,
|
|
12826
12838
|
selectedProjectPath,
|
|
12839
|
+
shouldApplyPreparedProjectSelection: homeProjectSelection.kind === "unresolved_default",
|
|
12827
12840
|
setActiveConversationId,
|
|
12828
12841
|
setDetailError,
|
|
12829
12842
|
setDraftByScopeKey,
|
|
@@ -21715,6 +21728,7 @@ function AgentProjectDropdown({
|
|
|
21715
21728
|
),
|
|
21716
21729
|
selectedProjectPath: composerSettings.selectedProjectPath,
|
|
21717
21730
|
service: agentHostApi.userProjects?.service ?? null,
|
|
21731
|
+
shouldApplyPreparedSelection: composerSettings.shouldApplyPreparedProjectSelection === true,
|
|
21718
21732
|
onDismissAutoFocus,
|
|
21719
21733
|
onProjectMissingChange,
|
|
21720
21734
|
onProjectPathChange
|
|
@@ -40523,4 +40537,4 @@ export {
|
|
|
40523
40537
|
AgentHandoffMenu,
|
|
40524
40538
|
AgentGUI
|
|
40525
40539
|
};
|
|
40526
|
-
//# sourceMappingURL=chunk-
|
|
40540
|
+
//# sourceMappingURL=chunk-XQV7VV2N.js.map
|