@tutti-os/agent-gui 0.0.150 → 0.0.151
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-GZSB6LJS.js → AgentRichTextReadonly-WVZ65VON.js} +7 -7
- package/dist/agent-conversation/index.js +9 -9
- package/dist/agent-gui.js +19 -18
- package/dist/agent-message-center/index.js +8 -8
- package/dist/chunk-3EMKK6BN.js +24 -0
- package/dist/chunk-3EMKK6BN.js.map +1 -0
- package/dist/{chunk-RXOGBOK6.js → chunk-3IOQ3IOJ.js} +2 -2
- package/dist/{chunk-MX2NPLCN.js → chunk-5D7HTLUA.js} +4 -4
- package/dist/{chunk-RBY6GQ2Q.js → chunk-6R2UNGNY.js} +5 -5
- package/dist/{chunk-DXT4W2SU.js → chunk-AZQRB56U.js} +4 -4
- package/dist/{chunk-D3VWQTDH.js → chunk-BCIAEN7N.js} +2 -2
- package/dist/{chunk-LWXHBRDO.js → chunk-MVXJDVDT.js} +28 -34
- package/dist/chunk-MVXJDVDT.js.map +1 -0
- package/dist/{chunk-3CZYC2YN.js → chunk-O2P5ODPK.js} +6 -6
- package/dist/{chunk-ZF65NZ4B.js → chunk-PRFWB2BT.js} +18 -18
- package/dist/{chunk-E27CQCLN.js → chunk-RD4EDLVU.js} +3 -3
- package/dist/{chunk-JNC4FCUV.js → chunk-UMTEWNPP.js} +2 -2
- package/dist/{chunk-EDNJMG5T.js → chunk-UTJKC2LY.js} +4 -4
- package/dist/{chunk-S2D4NNEB.js → chunk-VI6H5PTQ.js} +3 -1
- package/dist/chunk-VI6H5PTQ.js.map +1 -0
- package/dist/{chunk-Q2WMHYIB.js → chunk-XSW565MM.js} +2 -2
- package/dist/{chunk-OEC2IIWG.js → chunk-XZUMGJ67.js} +4 -4
- package/dist/{chunk-OWJ7Q2DJ.js → chunk-YNF74LPO.js} +2 -2
- package/dist/{chunk-HMSN264L.js → chunk-ZVD6KIXC.js} +4 -4
- package/dist/context-mention-palette/index.js +9 -9
- package/dist/dock-icons.js +2 -2
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +19 -18
- package/dist/index.js.map +1 -1
- package/dist/mention-search.js +7 -7
- package/dist/workbench/contribution.js +6 -6
- package/dist/workbench/index.js +17 -17
- package/dist/workbench/sessionTitle.js +2 -2
- package/dist/workspace-settings-panel.d.ts +38 -0
- package/dist/workspace-settings-panel.js +11 -0
- package/dist/workspace-settings-panel.js.map +1 -0
- package/package.json +17 -13
- package/dist/chunk-LWXHBRDO.js.map +0 -1
- package/dist/chunk-S2D4NNEB.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-GZSB6LJS.js.map → AgentRichTextReadonly-WVZ65VON.js.map} +0 -0
- /package/dist/{chunk-RXOGBOK6.js.map → chunk-3IOQ3IOJ.js.map} +0 -0
- /package/dist/{chunk-MX2NPLCN.js.map → chunk-5D7HTLUA.js.map} +0 -0
- /package/dist/{chunk-RBY6GQ2Q.js.map → chunk-6R2UNGNY.js.map} +0 -0
- /package/dist/{chunk-DXT4W2SU.js.map → chunk-AZQRB56U.js.map} +0 -0
- /package/dist/{chunk-D3VWQTDH.js.map → chunk-BCIAEN7N.js.map} +0 -0
- /package/dist/{chunk-3CZYC2YN.js.map → chunk-O2P5ODPK.js.map} +0 -0
- /package/dist/{chunk-ZF65NZ4B.js.map → chunk-PRFWB2BT.js.map} +0 -0
- /package/dist/{chunk-E27CQCLN.js.map → chunk-RD4EDLVU.js.map} +0 -0
- /package/dist/{chunk-JNC4FCUV.js.map → chunk-UMTEWNPP.js.map} +0 -0
- /package/dist/{chunk-EDNJMG5T.js.map → chunk-UTJKC2LY.js.map} +0 -0
- /package/dist/{chunk-Q2WMHYIB.js.map → chunk-XSW565MM.js.map} +0 -0
- /package/dist/{chunk-OEC2IIWG.js.map → chunk-XZUMGJ67.js.map} +0 -0
- /package/dist/{chunk-OWJ7Q2DJ.js.map → chunk-YNF74LPO.js.map} +0 -0
- /package/dist/{chunk-HMSN264L.js.map → chunk-ZVD6KIXC.js.map} +0 -0
|
@@ -12,7 +12,10 @@ import {
|
|
|
12
12
|
resolveAgentGuiSessionProviderFlatIconUrl,
|
|
13
13
|
resolveNextAgentGUIConversationRailWidthPx,
|
|
14
14
|
shouldAutoCollapseAgentGUIConversationRail
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PRFWB2BT.js";
|
|
16
|
+
import {
|
|
17
|
+
resolveAgentGuiWorkbenchProviderLabel
|
|
18
|
+
} from "./chunk-R2ZADXRB.js";
|
|
16
19
|
import {
|
|
17
20
|
AGENT_PROVIDERS,
|
|
18
21
|
AGENT_PROVIDER_LABEL,
|
|
@@ -28,10 +31,7 @@ import {
|
|
|
28
31
|
resolveAgentGUIFirstUserMessageDisplayPrompt,
|
|
29
32
|
resolveAgentGUIProviderDisplayLabel,
|
|
30
33
|
resolveAgentGUIProviderIdentity
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import {
|
|
33
|
-
resolveAgentGuiWorkbenchProviderLabel
|
|
34
|
-
} from "./chunk-R2ZADXRB.js";
|
|
34
|
+
} from "./chunk-XSW565MM.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentConversationFlow,
|
|
37
37
|
Button,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
toLocalShortDateTime,
|
|
66
66
|
updateAgentComposerDraft,
|
|
67
67
|
useProjectedAgentConversation
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-O2P5ODPK.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-UMTEWNPP.js";
|
|
79
79
|
import {
|
|
80
80
|
AgentEnvPanelActionProvider
|
|
81
81
|
} from "./chunk-FM42UN2J.js";
|
|
@@ -83,11 +83,14 @@ import {
|
|
|
83
83
|
AgentSetupDialog,
|
|
84
84
|
AgentSetupStepIcon
|
|
85
85
|
} from "./chunk-UP3ZDYTN.js";
|
|
86
|
+
import {
|
|
87
|
+
openWorkspaceSettingsPanel
|
|
88
|
+
} from "./chunk-3EMKK6BN.js";
|
|
86
89
|
import {
|
|
87
90
|
AgentFileMentionPalette,
|
|
88
91
|
agentMentionItemKey,
|
|
89
92
|
isAgentMentionItemDisabled
|
|
90
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-6R2UNGNY.js";
|
|
91
94
|
import {
|
|
92
95
|
normalizeAgentGUIAgents,
|
|
93
96
|
projectAgentGUIAgentsToTargets
|
|
@@ -98,7 +101,7 @@ import {
|
|
|
98
101
|
DEFAULT_AGENT_MENTION_FILTER,
|
|
99
102
|
agentGuiScheduler,
|
|
100
103
|
buildWorkspaceAgentActivityListViewModel
|
|
101
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-ZVD6KIXC.js";
|
|
102
105
|
import {
|
|
103
106
|
AGENT_RICH_TEXT_CARET_ANCHOR,
|
|
104
107
|
agentComposerFileMentionReferences,
|
|
@@ -115,7 +118,7 @@ import {
|
|
|
115
118
|
parseMentionItemFromHref,
|
|
116
119
|
remainingAgentComposerPromptAssetSlots,
|
|
117
120
|
updateAgentComposerFileMentions
|
|
118
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-RD4EDLVU.js";
|
|
119
122
|
import {
|
|
120
123
|
AgentInteractivePromptSurface,
|
|
121
124
|
PLAN_IMPLEMENTATION_ACTION_FEEDBACK,
|
|
@@ -125,7 +128,7 @@ import {
|
|
|
125
128
|
dispatchAgentPlanPromptAction,
|
|
126
129
|
latestPlanTurnId,
|
|
127
130
|
planImplementationPromptFromPlanTurn
|
|
128
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-XZUMGJ67.js";
|
|
129
132
|
import {
|
|
130
133
|
useEngineSelector
|
|
131
134
|
} from "./chunk-2RQM7PJN.js";
|
|
@@ -135,7 +138,7 @@ import {
|
|
|
135
138
|
blobToBase64,
|
|
136
139
|
normalizeAgentApprovalPurpose,
|
|
137
140
|
resolveWorkspaceLinkAction
|
|
138
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-5D7HTLUA.js";
|
|
139
142
|
import {
|
|
140
143
|
AgentTargetPresentationProvider,
|
|
141
144
|
cn,
|
|
@@ -153,30 +156,30 @@ import {
|
|
|
153
156
|
useAgentHostApi,
|
|
154
157
|
useOptionalAgentActivityRuntime,
|
|
155
158
|
useOptionalAgentHostApi
|
|
156
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-3IOQ3IOJ.js";
|
|
157
160
|
import {
|
|
158
161
|
MANAGED_AGENT_ICON_FALLBACK_URL,
|
|
159
162
|
MANAGED_AGENT_ICON_URLS,
|
|
160
163
|
MANAGED_AGENT_PROVIDER_RAIL_ICON_URLS
|
|
161
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-UTJKC2LY.js";
|
|
162
165
|
import {
|
|
163
166
|
AgentGuiI18nProvider,
|
|
164
167
|
translate,
|
|
165
168
|
useTranslation
|
|
166
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-YNF74LPO.js";
|
|
167
170
|
import {
|
|
168
171
|
isBetaAgentProvider,
|
|
169
172
|
normalizeManagedAgentProvider
|
|
170
173
|
} from "./chunk-7KVZPJ3O.js";
|
|
174
|
+
import {
|
|
175
|
+
agentColorfulUrl,
|
|
176
|
+
resolveProviderIconAsset
|
|
177
|
+
} from "./chunk-QMMWKQOT.js";
|
|
171
178
|
import {
|
|
172
179
|
migratedAgentGUIProviderIdentityCatalog,
|
|
173
180
|
resolveAgentGUIProviderCatalogIdentity,
|
|
174
181
|
resolveMigratedAgentGUIProviderIdentity
|
|
175
182
|
} from "./chunk-6CUELYIF.js";
|
|
176
|
-
import {
|
|
177
|
-
agentColorfulUrl,
|
|
178
|
-
resolveProviderIconAsset
|
|
179
|
-
} from "./chunk-QMMWKQOT.js";
|
|
180
183
|
|
|
181
184
|
// AgentGUI.tsx
|
|
182
185
|
import { memo as memo15, useMemo as useMemo45 } from "react";
|
|
@@ -13322,18 +13325,6 @@ import {
|
|
|
13322
13325
|
} from "react";
|
|
13323
13326
|
import { TooltipProvider as TooltipProvider6 } from "@tutti-os/ui-system";
|
|
13324
13327
|
|
|
13325
|
-
// shared/workspaceSettingsPanel/workspaceSettingsPanelStore.ts
|
|
13326
|
-
import { useSnapshot } from "valtio";
|
|
13327
|
-
import { proxy } from "valtio/vanilla";
|
|
13328
|
-
var workspaceSettingsPanelStore = proxy({
|
|
13329
|
-
section: null,
|
|
13330
|
-
requestSequence: 0
|
|
13331
|
-
});
|
|
13332
|
-
function openWorkspaceSettingsPanel(input) {
|
|
13333
|
-
workspaceSettingsPanelStore.section = input?.section ?? null;
|
|
13334
|
-
workspaceSettingsPanelStore.requestSequence += 1;
|
|
13335
|
-
}
|
|
13336
|
-
|
|
13337
13328
|
// agent-gui/agentGuiNode/model/agentGuiTargetPresentation.ts
|
|
13338
13329
|
function agentTargetPresentationKey(agentTargets) {
|
|
13339
13330
|
return JSON.stringify(
|
|
@@ -26290,6 +26281,7 @@ function AgentTargetSetupGate({
|
|
|
26290
26281
|
};
|
|
26291
26282
|
const actionRunning = isSetupActionRunning(snapshot?.action?.status);
|
|
26292
26283
|
const actionFailed = isSetupActionFailed(snapshot?.action?.status);
|
|
26284
|
+
const installRetryAvailable = snapshot?.status === "failed" && snapshot.action?.kind === "install" && actionFailed && Boolean(snapshot.plan);
|
|
26293
26285
|
const phase = actionRunning ? snapshot?.action?.phase ?? null : null;
|
|
26294
26286
|
const statusLabel = phase ? targetSetupPhaseLabel(t, phase) : loading ? t("agentHost.agentGui.targetSetupChecking") : null;
|
|
26295
26287
|
const detectionStatus = failed ? "error" : loading || !snapshot ? "running" : snapshot ? "ok" : "pending";
|
|
@@ -26374,14 +26366,16 @@ function AgentTargetSetupGate({
|
|
|
26374
26366
|
status: installStatus,
|
|
26375
26367
|
warning: snapshot?.status === "not_installed",
|
|
26376
26368
|
detail: snapshot?.plan ? `${snapshot.plan.packageName}@${snapshot.plan.packageVersion}` : void 0,
|
|
26377
|
-
action: snapshot?.status === "not_installed" && snapshot.plan ? /* @__PURE__ */ jsx43(
|
|
26369
|
+
action: (snapshot?.status === "not_installed" || installRetryAvailable) && snapshot.plan ? /* @__PURE__ */ jsx43(
|
|
26378
26370
|
Button4,
|
|
26379
26371
|
{
|
|
26380
26372
|
type: "button",
|
|
26381
26373
|
size: "sm",
|
|
26382
26374
|
disabled: installPending,
|
|
26383
26375
|
onClick: () => void handleInstall(),
|
|
26384
|
-
children: installPending ? t("agentHost.agentGui.targetSetupStarting") : t(
|
|
26376
|
+
children: installPending ? t("agentHost.agentGui.targetSetupStarting") : t(
|
|
26377
|
+
installRetryAvailable ? "agentHost.agentGui.targetSetupReinstall" : "agentHost.agentGui.targetSetupInstall"
|
|
26378
|
+
)
|
|
26385
26379
|
}
|
|
26386
26380
|
) : void 0,
|
|
26387
26381
|
children: snapshot?.plan ? /* @__PURE__ */ jsx43("span", { className: "mt-2 block break-all text-[12px] text-[var(--text-secondary)]", children: snapshot.plan.installRoot }) : null
|
|
@@ -38456,4 +38450,4 @@ export {
|
|
|
38456
38450
|
AgentHandoffMenu,
|
|
38457
38451
|
AgentGUI
|
|
38458
38452
|
};
|
|
38459
|
-
//# sourceMappingURL=chunk-
|
|
38453
|
+
//# sourceMappingURL=chunk-MVXJDVDT.js.map
|