@tutti-os/agent-gui 0.0.157 → 0.0.158
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-J5GZIS7X.js → AgentRichTextReadonly-ZGW4IZ6O.js} +7 -7
- package/dist/agent-conversation/index.js +10 -10
- package/dist/agent-env/index.d.ts +6 -1
- package/dist/agent-env/index.js +1 -1
- package/dist/agent-gui.d.ts +1 -1
- package/dist/agent-gui.js +21 -21
- package/dist/agent-message-center/index.js +7 -7
- package/dist/{chunk-3VKRWAKQ.js → chunk-3PSYZ53C.js} +3 -3
- package/dist/{chunk-EFEOPMIV.js → chunk-55UKPTLG.js} +3 -3
- package/dist/{chunk-6CUELYIF.js → chunk-5CLSJWUN.js} +1 -28
- package/dist/chunk-5CLSJWUN.js.map +1 -0
- package/dist/{chunk-HBJJY2AC.js → chunk-6II57C72.js} +2 -2
- package/dist/{chunk-GBTKLNMX.js → chunk-ABUBJDTO.js} +6 -6
- package/dist/{chunk-7KVZPJ3O.js → chunk-AODSTIED.js} +2 -2
- package/dist/{chunk-XYKQJMVT.js → chunk-CBQMF744.js} +2 -2
- package/dist/{chunk-3EMKK6BN.js → chunk-GUFEHWUX.js} +5 -1
- package/dist/chunk-GUFEHWUX.js.map +1 -0
- package/dist/{chunk-ZCBP5VTT.js → chunk-J4QLQETO.js} +2 -2
- package/dist/{chunk-QMMWKQOT.js → chunk-LCFMJPNA.js} +1 -18
- package/dist/{chunk-QMMWKQOT.js.map → chunk-LCFMJPNA.js.map} +1 -1
- package/dist/{chunk-SFRFW3GC.js → chunk-PAVNEKRU.js} +3 -3
- package/dist/{chunk-AZQRB56U.js → chunk-PQPNDL4A.js} +3 -3
- package/dist/{chunk-R2ZADXRB.js → chunk-SZVHT57M.js} +23 -4
- package/dist/chunk-SZVHT57M.js.map +1 -0
- package/dist/{chunk-FM42UN2J.js → chunk-THBCAUBR.js} +9 -3
- package/dist/chunk-THBCAUBR.js.map +1 -0
- package/dist/{chunk-M66OSHIF.js → chunk-UMJIM225.js} +32 -33
- package/dist/chunk-UMJIM225.js.map +1 -0
- package/dist/{chunk-ESJWSRFD.js → chunk-VVB5N5ON.js} +2 -2
- package/dist/{chunk-BHB457ZP.js → chunk-YGBZKQ2S.js} +3 -4
- package/dist/chunk-YGBZKQ2S.js.map +1 -0
- package/dist/{chunk-IFOIUN2O.js → chunk-YRAKPTXS.js} +11 -12
- package/dist/{chunk-IFOIUN2O.js.map → chunk-YRAKPTXS.js.map} +1 -1
- package/dist/{chunk-TUWQV2MC.js → chunk-YSA4MXR5.js} +2 -2
- package/dist/{chunk-WNGTC3Y2.js → chunk-YUJY75WA.js} +3 -3
- package/dist/{chunk-UTJKC2LY.js → chunk-ZWLWT3TZ.js} +4 -4
- package/dist/context-mention-palette/index.js +8 -8
- package/dist/dock-icons.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21 -21
- package/dist/mention-search.js +7 -7
- package/dist/provider-icons.js +1 -1
- package/dist/provider-identity.js +1 -1
- package/dist/workbench/contribution.js +9 -9
- package/dist/workbench/index.js +9 -9
- package/dist/workbench/launch.js +3 -3
- package/dist/workbench/providerCatalog.d.ts +12 -3
- package/dist/workbench/providerCatalog.js +14 -2
- package/dist/workbench/sessionTitle.js +2 -2
- package/dist/workbench/state.js +3 -3
- package/dist/workspace-settings-panel.d.ts +12 -0
- package/dist/workspace-settings-panel.js +1 -1
- package/package.json +13 -13
- package/dist/app/renderer/assets/icons/agent-vinyls/hermes-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/agents/hermes-rounded.png +0 -0
- package/dist/app/renderer/assets/icons/agents/provider-rail-hermes-colorful.png +0 -0
- package/dist/chunk-3EMKK6BN.js.map +0 -1
- package/dist/chunk-6CUELYIF.js.map +0 -1
- package/dist/chunk-BHB457ZP.js.map +0 -1
- package/dist/chunk-FM42UN2J.js.map +0 -1
- package/dist/chunk-M66OSHIF.js.map +0 -1
- package/dist/chunk-R2ZADXRB.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-J5GZIS7X.js.map → AgentRichTextReadonly-ZGW4IZ6O.js.map} +0 -0
- /package/dist/{chunk-3VKRWAKQ.js.map → chunk-3PSYZ53C.js.map} +0 -0
- /package/dist/{chunk-EFEOPMIV.js.map → chunk-55UKPTLG.js.map} +0 -0
- /package/dist/{chunk-HBJJY2AC.js.map → chunk-6II57C72.js.map} +0 -0
- /package/dist/{chunk-GBTKLNMX.js.map → chunk-ABUBJDTO.js.map} +0 -0
- /package/dist/{chunk-7KVZPJ3O.js.map → chunk-AODSTIED.js.map} +0 -0
- /package/dist/{chunk-XYKQJMVT.js.map → chunk-CBQMF744.js.map} +0 -0
- /package/dist/{chunk-ZCBP5VTT.js.map → chunk-J4QLQETO.js.map} +0 -0
- /package/dist/{chunk-SFRFW3GC.js.map → chunk-PAVNEKRU.js.map} +0 -0
- /package/dist/{chunk-AZQRB56U.js.map → chunk-PQPNDL4A.js.map} +0 -0
- /package/dist/{chunk-ESJWSRFD.js.map → chunk-VVB5N5ON.js.map} +0 -0
- /package/dist/{chunk-TUWQV2MC.js.map → chunk-YSA4MXR5.js.map} +0 -0
- /package/dist/{chunk-WNGTC3Y2.js.map → chunk-YUJY75WA.js.map} +0 -0
- /package/dist/{chunk-UTJKC2LY.js.map → chunk-ZWLWT3TZ.js.map} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentRichTextReadonly
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-CBQMF744.js";
|
|
4
|
+
import "./chunk-J4QLQETO.js";
|
|
5
5
|
import "./chunk-5QPOMKMQ.js";
|
|
6
6
|
import "./chunk-FGLQZ6I4.js";
|
|
7
7
|
import "./chunk-ZVYUTXQJ.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-ZWLWT3TZ.js";
|
|
9
9
|
import "./chunk-EITAGUEN.js";
|
|
10
10
|
import "./chunk-PJP5BUU6.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-AODSTIED.js";
|
|
12
12
|
import "./chunk-DB3PHOZC.js";
|
|
13
13
|
import "./chunk-D2JUDUYY.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-LCFMJPNA.js";
|
|
15
|
+
import "./chunk-5CLSJWUN.js";
|
|
16
16
|
export {
|
|
17
17
|
AgentRichTextReadonly
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=AgentRichTextReadonly-
|
|
19
|
+
//# sourceMappingURL=AgentRichTextReadonly-ZGW4IZ6O.js.map
|
|
@@ -7,29 +7,29 @@ import {
|
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
serializeAgentConversationForClipboard,
|
|
9
9
|
useProjectedAgentConversation
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-ABUBJDTO.js";
|
|
11
|
+
import "../chunk-CBQMF744.js";
|
|
12
|
+
import "../chunk-THBCAUBR.js";
|
|
13
13
|
import "../chunk-XJ34OIEQ.js";
|
|
14
14
|
import "../chunk-JDVP33S5.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-J4QLQETO.js";
|
|
16
16
|
import "../chunk-5QPOMKMQ.js";
|
|
17
17
|
import "../chunk-FGLQZ6I4.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-YUJY75WA.js";
|
|
19
19
|
import "../chunk-ZVYUTXQJ.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-VVB5N5ON.js";
|
|
21
21
|
import "../chunk-F5UR6EJG.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-ZWLWT3TZ.js";
|
|
23
23
|
import {
|
|
24
24
|
translate
|
|
25
25
|
} from "../chunk-EITAGUEN.js";
|
|
26
26
|
import "../chunk-PJP5BUU6.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-AODSTIED.js";
|
|
28
28
|
import "../chunk-DB3PHOZC.js";
|
|
29
29
|
import "../chunk-MIJXEELH.js";
|
|
30
30
|
import "../chunk-D2JUDUYY.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-LCFMJPNA.js";
|
|
32
|
+
import "../chunk-5CLSJWUN.js";
|
|
33
33
|
|
|
34
34
|
// shared/WorkspaceAgentSessionDetail.tsx
|
|
35
35
|
import { useMemo } from "react";
|
|
@@ -126,6 +126,8 @@ interface DeriveAgentSetupStagesInput {
|
|
|
126
126
|
* would show no spinner.
|
|
127
127
|
*/
|
|
128
128
|
installActionPending: boolean;
|
|
129
|
+
/** Whether a provider CLI update is in flight. */
|
|
130
|
+
updateActionPending: boolean;
|
|
129
131
|
loginPending: boolean;
|
|
130
132
|
/**
|
|
131
133
|
* Active connectivity probe verdict: true (reachable), false (offline), or
|
|
@@ -171,7 +173,7 @@ declare function projectRevealedStages(realStages: AgentSetupStage[], revealInde
|
|
|
171
173
|
* animation never races ahead of reality.
|
|
172
174
|
*/
|
|
173
175
|
declare function shouldAdvanceReveal(realStages: AgentSetupStage[], revealIndex: number): boolean;
|
|
174
|
-
type StageActionId = "install" | "login" | "redetect";
|
|
176
|
+
type StageActionId = "install" | "login" | "redetect" | "update";
|
|
175
177
|
/**
|
|
176
178
|
* The problem token a blocked stage represents. The UI maps this to "未xxx"
|
|
177
179
|
* copy; keeping it i18n-agnostic here lets the mapping stay tested without
|
|
@@ -219,6 +221,7 @@ interface AgentEnvWizardViewModelInput {
|
|
|
219
221
|
isLoading: boolean;
|
|
220
222
|
activeAction: CodexSetupActiveAction | null;
|
|
221
223
|
installActionPending: boolean;
|
|
224
|
+
updateActionPending: boolean;
|
|
222
225
|
loginPending: boolean;
|
|
223
226
|
revealIndex: number;
|
|
224
227
|
stageLabels: AgentSetupStageLabels;
|
|
@@ -237,6 +240,8 @@ interface AgentEnvWizardViewModel {
|
|
|
237
240
|
error: CodexSetupActiveActionError | null;
|
|
238
241
|
manualCommand: string | null;
|
|
239
242
|
installPending: boolean;
|
|
243
|
+
updateAvailable: boolean;
|
|
244
|
+
updating: boolean;
|
|
240
245
|
loginPending: boolean;
|
|
241
246
|
}
|
|
242
247
|
declare function buildAgentEnvWizardViewModel(input: AgentEnvWizardViewModelInput): AgentEnvWizardViewModel;
|
package/dist/agent-env/index.js
CHANGED
package/dist/agent-gui.d.ts
CHANGED
|
@@ -356,7 +356,7 @@ type AgentCustomModelEnabledByProvider<TProvider extends string> = Record<TProvi
|
|
|
356
356
|
type AgentCustomModelByProvider<TProvider extends string> = Record<TProvider, string>;
|
|
357
357
|
type AgentCustomModelOptionsByProvider<TProvider extends string> = Record<TProvider, string[]>;
|
|
358
358
|
|
|
359
|
-
declare const AGENT_PROVIDERS: readonly ["claude-code", "codex", "cursor", "tutti-agent", "nexight", "opencode", "openclaw"
|
|
359
|
+
declare const AGENT_PROVIDERS: readonly ["claude-code", "codex", "cursor", "tutti-agent", "nexight", "opencode", "openclaw"];
|
|
360
360
|
type AgentProvider = (typeof AGENT_PROVIDERS)[number];
|
|
361
361
|
|
|
362
362
|
type FocusNodeTargetZoom = number;
|
package/dist/agent-gui.js
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AgentGUI
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UMJIM225.js";
|
|
4
4
|
import "./chunk-A4WCTHWS.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-YRAKPTXS.js";
|
|
6
|
+
import "./chunk-6II57C72.js";
|
|
7
|
+
import "./chunk-YSA4MXR5.js";
|
|
8
8
|
import "./chunk-MHOYBRCY.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-SZVHT57M.js";
|
|
10
|
+
import "./chunk-YGBZKQ2S.js";
|
|
11
|
+
import "./chunk-ABUBJDTO.js";
|
|
12
|
+
import "./chunk-CBQMF744.js";
|
|
13
|
+
import "./chunk-THBCAUBR.js";
|
|
14
14
|
import "./chunk-UP3ZDYTN.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-GUFEHWUX.js";
|
|
16
|
+
import "./chunk-PAVNEKRU.js";
|
|
17
17
|
import "./chunk-66JZ7BQM.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PQPNDL4A.js";
|
|
19
|
+
import "./chunk-3PSYZ53C.js";
|
|
20
20
|
import "./chunk-VMPA46ET.js";
|
|
21
21
|
import "./chunk-XJ34OIEQ.js";
|
|
22
22
|
import "./chunk-JDVP33S5.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-J4QLQETO.js";
|
|
24
24
|
import "./chunk-5QPOMKMQ.js";
|
|
25
25
|
import "./chunk-RMQREVJY.js";
|
|
26
26
|
import "./chunk-FGLQZ6I4.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-55UKPTLG.js";
|
|
28
28
|
import "./chunk-2RQM7PJN.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-YUJY75WA.js";
|
|
30
30
|
import "./chunk-ZVYUTXQJ.js";
|
|
31
31
|
import "./chunk-GTSKTVVB.js";
|
|
32
32
|
import "./chunk-YMXYBG7U.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-VVB5N5ON.js";
|
|
34
34
|
import "./chunk-F5UR6EJG.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-ZWLWT3TZ.js";
|
|
36
36
|
import "./chunk-EITAGUEN.js";
|
|
37
37
|
import "./chunk-PJP5BUU6.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-AODSTIED.js";
|
|
39
39
|
import "./chunk-DB3PHOZC.js";
|
|
40
40
|
import "./chunk-MIJXEELH.js";
|
|
41
41
|
import "./chunk-D2JUDUYY.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-LCFMJPNA.js";
|
|
43
|
+
import "./chunk-5CLSJWUN.js";
|
|
44
44
|
export {
|
|
45
45
|
AgentGUI
|
|
46
46
|
};
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isPromptRequestIdTitle,
|
|
9
9
|
latestPlanTurnId,
|
|
10
10
|
planImplementationPromptFromPlanTurn
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-55UKPTLG.js";
|
|
12
12
|
import {
|
|
13
13
|
useEngineSelector
|
|
14
14
|
} from "../chunk-2RQM7PJN.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isExitPlanSwitchModeInput,
|
|
22
22
|
normalizeAgentApprovalPurpose,
|
|
23
23
|
normalizeAskUserQuestions
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-YUJY75WA.js";
|
|
25
25
|
import {
|
|
26
26
|
cn
|
|
27
27
|
} from "../chunk-ZVYUTXQJ.js";
|
|
@@ -34,25 +34,25 @@ import {
|
|
|
34
34
|
} from "../chunk-YMXYBG7U.js";
|
|
35
35
|
import {
|
|
36
36
|
workspaceAgentProviderLabel
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-VVB5N5ON.js";
|
|
38
38
|
import "../chunk-F5UR6EJG.js";
|
|
39
39
|
import {
|
|
40
40
|
managedAgentRoundedIconUrl
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-ZWLWT3TZ.js";
|
|
42
42
|
import {
|
|
43
43
|
AgentGuiI18nProvider,
|
|
44
44
|
getActiveUiLanguage,
|
|
45
45
|
useTranslation
|
|
46
46
|
} from "../chunk-EITAGUEN.js";
|
|
47
47
|
import "../chunk-PJP5BUU6.js";
|
|
48
|
-
import "../chunk-
|
|
48
|
+
import "../chunk-AODSTIED.js";
|
|
49
49
|
import "../chunk-DB3PHOZC.js";
|
|
50
50
|
import {
|
|
51
51
|
normalizeAgentTitleText
|
|
52
52
|
} from "../chunk-MIJXEELH.js";
|
|
53
53
|
import "../chunk-D2JUDUYY.js";
|
|
54
|
-
import "../chunk-
|
|
55
|
-
import "../chunk-
|
|
54
|
+
import "../chunk-LCFMJPNA.js";
|
|
55
|
+
import "../chunk-5CLSJWUN.js";
|
|
56
56
|
|
|
57
57
|
// agent-message-center/WorkspaceAgentMessageCenterPanel.tsx
|
|
58
58
|
import {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-XJ34OIEQ.js";
|
|
8
8
|
import {
|
|
9
9
|
normalizeAgentSessionMentionTitle
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J4QLQETO.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveAgentMentionFileThumbnailUrl
|
|
13
13
|
} from "./chunk-5QPOMKMQ.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
getOptionalAgentHostApi,
|
|
22
22
|
workspaceAgentProviderLabel
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VVB5N5ON.js";
|
|
24
24
|
import {
|
|
25
25
|
translate,
|
|
26
26
|
translateInUiLanguage
|
|
@@ -3052,4 +3052,4 @@ export {
|
|
|
3052
3052
|
AgentMentionSearchController,
|
|
3053
3053
|
preloadAgentMentionBrowse
|
|
3054
3054
|
};
|
|
3055
|
-
//# sourceMappingURL=chunk-
|
|
3055
|
+
//# sourceMappingURL=chunk-3PSYZ53C.js.map
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
AgentGUIConversation_styles_default,
|
|
3
3
|
MessageSquareMoreIcon,
|
|
4
4
|
extractAgentMcpToolTarget
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YUJY75WA.js";
|
|
6
6
|
import {
|
|
7
7
|
getOptionalAgentHostApi,
|
|
8
8
|
useOptionalAgentHostApi
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VVB5N5ON.js";
|
|
10
10
|
import {
|
|
11
11
|
fileChangePathsFromChanges
|
|
12
12
|
} from "./chunk-F5UR6EJG.js";
|
|
@@ -1471,4 +1471,4 @@ export {
|
|
|
1471
1471
|
isPromptRequestIdTitle,
|
|
1472
1472
|
AgentInteractivePromptSurface
|
|
1473
1473
|
};
|
|
1474
|
-
//# sourceMappingURL=chunk-
|
|
1474
|
+
//# sourceMappingURL=chunk-55UKPTLG.js.map
|
|
@@ -162,33 +162,6 @@ var generatedProviderIdentityCatalog = [
|
|
|
162
162
|
defaultProviderPriority: 0
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
|
-
{
|
|
166
|
-
providerId: "hermes",
|
|
167
|
-
displayName: "Hermes Agent",
|
|
168
|
-
iconKey: "hermes",
|
|
169
|
-
localeKey: "agentHost.agentGui.conversationFilterHermes",
|
|
170
|
-
aliases: ["hermes-agent", "hermes agent"],
|
|
171
|
-
target: {
|
|
172
|
-
id: "local:hermes",
|
|
173
|
-
launchRefType: "local_cli",
|
|
174
|
-
enabled: false,
|
|
175
|
-
sortOrder: 70
|
|
176
|
-
},
|
|
177
|
-
desktop: {
|
|
178
|
-
managed: true,
|
|
179
|
-
managedOrder: 6,
|
|
180
|
-
statusProbePriority: 6,
|
|
181
|
-
usageProbeKind: "",
|
|
182
|
-
visibilityGate: "",
|
|
183
|
-
runtimeProbeFallback: "",
|
|
184
|
-
installBootstrap: false,
|
|
185
|
-
refreshOnAccountChange: false,
|
|
186
|
-
unavailableDockOrderOffset: 0,
|
|
187
|
-
developerLogs: false,
|
|
188
|
-
defaultProviderEligible: false,
|
|
189
|
-
defaultProviderPriority: 0
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
165
|
{
|
|
193
166
|
providerId: "openclaw",
|
|
194
167
|
displayName: "OpenClaw",
|
|
@@ -256,4 +229,4 @@ export {
|
|
|
256
229
|
resolveAgentGUIProviderCatalogIdentity,
|
|
257
230
|
agentGUIProviderIdentityDisplayName
|
|
258
231
|
};
|
|
259
|
-
//# sourceMappingURL=chunk-
|
|
232
|
+
//# sourceMappingURL=chunk-5CLSJWUN.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../generated/providerIdentityCatalog.ts","../providerIdentityCatalog.ts"],"sourcesContent":["// Code generated by tools/scripts/generate-agent-gui-provider-catalog.mjs. DO NOT EDIT.\n\nexport const generatedProviderIdentityCatalog = [\n {\n providerId: \"codex\",\n displayName: \"Codex\",\n iconKey: \"codex\",\n localeKey: \"agentHost.agentGui.conversationFilterCodex\",\n aliases: [],\n target: {\n id: \"local:codex\",\n launchRefType: \"local_cli\",\n enabled: true,\n sortOrder: 10\n },\n desktop: {\n managed: true,\n managedOrder: 2,\n statusProbePriority: 1,\n usageProbeKind: \"codex\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 0,\n developerLogs: true,\n defaultProviderEligible: true,\n defaultProviderPriority: 1\n }\n },\n {\n providerId: \"claude-code\",\n displayName: \"Claude Code\",\n iconKey: \"claude-code\",\n localeKey: \"agentHost.agentGui.conversationFilterClaudeCode\",\n aliases: [\"claude\", \"claude code\"],\n target: {\n id: \"local:claude-code\",\n launchRefType: \"local_cli\",\n enabled: true,\n sortOrder: 20\n },\n desktop: {\n managed: true,\n managedOrder: 1,\n statusProbePriority: 2,\n usageProbeKind: \"claude_code\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 0,\n developerLogs: true,\n defaultProviderEligible: true,\n defaultProviderPriority: 2\n }\n },\n {\n providerId: \"cursor\",\n displayName: \"Cursor\",\n iconKey: \"cursor\",\n localeKey: \"agentHost.agentGui.conversationFilterCursor\",\n aliases: [\"cursor-agent\", \"cursor agent\", \"cursor-cli\"],\n target: {\n id: \"local:cursor\",\n launchRefType: \"local_cli\",\n enabled: true,\n sortOrder: 30\n },\n desktop: {\n managed: true,\n managedOrder: 3,\n statusProbePriority: 3,\n usageProbeKind: \"\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"direct\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 0,\n developerLogs: true,\n defaultProviderEligible: true,\n defaultProviderPriority: 3\n }\n },\n {\n providerId: \"tutti-agent\",\n displayName: \"Tutti Agent\",\n iconKey: \"tutti\",\n localeKey: \"agentHost.agentGui.conversationFilterTutti\",\n aliases: [\"tutti agent\"],\n target: {\n id: \"local:tutti-agent\",\n launchRefType: \"local_cli\",\n enabled: false,\n sortOrder: 40\n },\n desktop: {\n managed: true,\n managedOrder: 4,\n statusProbePriority: 4,\n usageProbeKind: \"\",\n visibilityGate: \"tutti_agent\",\n runtimeProbeFallback: \"\",\n installBootstrap: true,\n refreshOnAccountChange: true,\n unavailableDockOrderOffset: 0,\n developerLogs: false,\n defaultProviderEligible: false,\n defaultProviderPriority: 0\n }\n },\n {\n providerId: \"opencode\",\n displayName: \"OpenCode\",\n iconKey: \"opencode\",\n localeKey: \"agentHost.agentGui.conversationFilterOpenCode\",\n aliases: [\"open-code\", \"open code\", \"opencode-ai\", \"opencode_ai\"],\n target: {\n id: \"local:opencode\",\n launchRefType: \"local_cli\",\n enabled: true,\n sortOrder: 50\n },\n desktop: {\n managed: true,\n managedOrder: 5,\n statusProbePriority: 5,\n usageProbeKind: \"\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 0,\n developerLogs: false,\n defaultProviderEligible: true,\n defaultProviderPriority: 4\n }\n },\n {\n providerId: \"nexight\",\n displayName: \"Nexight\",\n iconKey: \"tutti\",\n localeKey: \"agentHost.agentGui.conversationFilterNexight\",\n aliases: [\"tutti\"],\n target: {\n id: \"local:nexight\",\n launchRefType: \"local_cli\",\n enabled: false,\n sortOrder: 60\n },\n desktop: {\n managed: false,\n managedOrder: 0,\n statusProbePriority: 0,\n usageProbeKind: \"\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 0,\n developerLogs: false,\n defaultProviderEligible: false,\n defaultProviderPriority: 0\n }\n },\n {\n providerId: \"openclaw\",\n displayName: \"OpenClaw\",\n iconKey: \"openclaw\",\n localeKey: \"agentHost.agentGui.conversationFilterOpenClaw\",\n aliases: [\"open-claw\"],\n target: {\n id: \"local:openclaw\",\n launchRefType: \"local_cli\",\n enabled: false,\n sortOrder: 80\n },\n desktop: {\n managed: true,\n managedOrder: 7,\n statusProbePriority: 7,\n usageProbeKind: \"\",\n visibilityGate: \"\",\n runtimeProbeFallback: \"\",\n installBootstrap: false,\n refreshOnAccountChange: false,\n unavailableDockOrderOffset: 200,\n developerLogs: false,\n defaultProviderEligible: false,\n defaultProviderPriority: 0\n }\n }\n] as const;\n","import { generatedProviderIdentityCatalog } from \"./generated/providerIdentityCatalog.ts\";\nimport type { TranslateFn } from \"./i18n/index.ts\";\n\nexport interface AgentGUIProviderIdentityCatalogEntry {\n providerId: string;\n displayName: string;\n iconKey: string;\n localeKey: string;\n aliases: readonly string[];\n target: {\n id: string;\n launchRefType: string;\n enabled: boolean;\n sortOrder: number;\n };\n desktop: {\n managed: boolean;\n managedOrder: number;\n statusProbePriority: number;\n usageProbeKind: string;\n visibilityGate: string;\n runtimeProbeFallback: \"\" | \"direct\";\n installBootstrap: boolean;\n refreshOnAccountChange: boolean;\n unavailableDockOrderOffset: number;\n developerLogs: boolean;\n defaultProviderEligible: boolean;\n defaultProviderPriority: number;\n };\n source: \"generated\";\n}\n\nexport const migratedAgentGUIProviderIdentityCatalog: readonly AgentGUIProviderIdentityCatalogEntry[] =\n generatedProviderIdentityCatalog.map((entry) => ({\n ...entry,\n source: \"generated\" as const\n }));\n\nconst migratedIdentityByKey = indexIdentities(\n migratedAgentGUIProviderIdentityCatalog\n);\n\nexport function resolveMigratedAgentGUIProviderIdentity(\n value: string | null | undefined\n): AgentGUIProviderIdentityCatalogEntry | null {\n return migratedIdentityByKey.get(normalizeIdentityKey(value)) ?? null;\n}\n\nexport function resolveAgentGUIProviderCatalogIdentity(\n value: string | null | undefined\n): AgentGUIProviderIdentityCatalogEntry | null {\n return resolveMigratedAgentGUIProviderIdentity(value);\n}\n\nexport function agentGUIProviderIdentityDisplayName(\n identity: AgentGUIProviderIdentityCatalogEntry,\n t: TranslateFn\n): string {\n const localeKey = identity.localeKey;\n const localized = t(localeKey);\n return localized === localeKey ? identity.displayName : localized;\n}\n\nfunction indexIdentities(\n entries: readonly AgentGUIProviderIdentityCatalogEntry[]\n): ReadonlyMap<string, AgentGUIProviderIdentityCatalogEntry> {\n const result = new Map<string, AgentGUIProviderIdentityCatalogEntry>();\n for (const entry of entries) {\n for (const key of [entry.providerId, ...entry.aliases]) {\n result.set(normalizeIdentityKey(key), entry);\n }\n }\n return result;\n}\n\nfunction normalizeIdentityKey(value: string | null | undefined): string {\n return value?.trim().toLowerCase() ?? \"\";\n}\n"],"mappings":";AAEO,IAAM,mCAAmC;AAAA,EAC9C;AAAA,IACE,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,SAAS;AAAA,IACT,WAAW;AAAA,IACX,SAAS,CAAC;AAAA,IACV,QAAQ;AAAA,MACN,IAAI;AAAA,MACJ,eAAe;AAAA,MACf,SAAS;AAAA,MACT,WAAW;AAAA,IACb;AAAA,IACA,SAAS;AAAA,MACP,SAAS;AAAA,MACT,cAAc;AAAA,MACd,qBAAqB;AAAA,MACrB,gBAAgB;AAAA,MAChB,gBAAgB;AAAA,MAChB,sBAAsB;AAAA,MACtB,kBAAkB;AAAA,MAClB,wBA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qBAAqB,OAA0C;AACtE,SAAO,OAAO,KAAK,EAAE,YAAY,KAAK;AACxC;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
agentGuiWorkbenchProviders,
|
|
3
3
|
normalizeAgentGuiWorkbenchProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SZVHT57M.js";
|
|
5
5
|
|
|
6
6
|
// workbench/state.ts
|
|
7
7
|
function createDefaultAgentGuiWorkbenchNodeState(provider = "codex") {
|
|
@@ -327,4 +327,4 @@ export {
|
|
|
327
327
|
areAgentGuiWorkbenchNodeStatesEqual,
|
|
328
328
|
createAgentGuiWorkbenchNodeStateSource
|
|
329
329
|
};
|
|
330
|
-
//# sourceMappingURL=chunk-
|
|
330
|
+
//# sourceMappingURL=chunk-6II57C72.js.map
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentRichTextReadonly,
|
|
3
3
|
promptForProviderSkills,
|
|
4
4
|
skillTriggerForPrefix
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CBQMF744.js";
|
|
6
6
|
import {
|
|
7
7
|
classifyRecoverableAgentMessage,
|
|
8
8
|
isProviderPlanLimitMessage,
|
|
9
9
|
resolveAgentErrorPresentation,
|
|
10
10
|
useOpenAgentEnvPanel
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-THBCAUBR.js";
|
|
12
12
|
import {
|
|
13
13
|
isWorkspaceAgentSyntheticControlMessage
|
|
14
14
|
} from "./chunk-XJ34OIEQ.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
agentPromptFileBlocks,
|
|
28
28
|
agentPromptPastedTextBlocks,
|
|
29
29
|
materializeAgentComposerFileMentions
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-J4QLQETO.js";
|
|
31
31
|
import {
|
|
32
32
|
AGENT_PASTED_TEXT_BLOCK_KIND,
|
|
33
33
|
AGENT_PASTED_TEXT_MENTION_KIND
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
resolveWorkspaceFileLinkAction,
|
|
48
48
|
resolveWorkspaceFilePathCandidate,
|
|
49
49
|
resolveWorkspaceLinkAction
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-YUJY75WA.js";
|
|
51
51
|
import {
|
|
52
52
|
cn
|
|
53
53
|
} from "./chunk-ZVYUTXQJ.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
useOptionalAgentActivityRuntime,
|
|
56
56
|
useOptionalAgentHostApi,
|
|
57
57
|
workspaceAgentProviderLabel
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-VVB5N5ON.js";
|
|
59
59
|
import {
|
|
60
60
|
fileChangeCountFromChanges,
|
|
61
61
|
fileChangeEntriesFromChanges,
|
|
@@ -14869,4 +14869,4 @@ export {
|
|
|
14869
14869
|
AgentConversationFlow,
|
|
14870
14870
|
useProjectedAgentConversation
|
|
14871
14871
|
};
|
|
14872
|
-
//# sourceMappingURL=chunk-
|
|
14872
|
+
//# sourceMappingURL=chunk-ABUBJDTO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAgentGUIProviderCatalogIdentity
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5CLSJWUN.js";
|
|
4
4
|
|
|
5
5
|
// shared/managedAgentProviders.ts
|
|
6
6
|
function normalizeManagedAgentProvider(provider) {
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
normalizeManagedAgentProvider,
|
|
23
23
|
isBetaAgentProvider
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-AODSTIED.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
formatAgentMentionMarkdown,
|
|
6
6
|
mentionItemToAttrs,
|
|
7
7
|
parseAgentMentionMarkdown
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-J4QLQETO.js";
|
|
9
9
|
import {
|
|
10
10
|
cn,
|
|
11
11
|
resolveAgentTargetPresentation,
|
|
@@ -753,4 +753,4 @@ export {
|
|
|
753
753
|
agentRichTextContentToPromptText,
|
|
754
754
|
AgentRichTextReadonly
|
|
755
755
|
};
|
|
756
|
-
//# sourceMappingURL=chunk-
|
|
756
|
+
//# sourceMappingURL=chunk-CBQMF744.js.map
|
|
@@ -3,10 +3,14 @@ import { useSnapshot } from "valtio";
|
|
|
3
3
|
import { proxy } from "valtio/vanilla";
|
|
4
4
|
var workspaceSettingsPanelStore = proxy({
|
|
5
5
|
section: null,
|
|
6
|
+
pane: null,
|
|
7
|
+
provider: null,
|
|
6
8
|
requestSequence: 0
|
|
7
9
|
});
|
|
8
10
|
function openWorkspaceSettingsPanel(input) {
|
|
9
11
|
workspaceSettingsPanelStore.section = input?.section ?? null;
|
|
12
|
+
workspaceSettingsPanelStore.pane = input?.pane ?? null;
|
|
13
|
+
workspaceSettingsPanelStore.provider = input?.provider ?? null;
|
|
10
14
|
workspaceSettingsPanelStore.requestSequence += 1;
|
|
11
15
|
}
|
|
12
16
|
function getWorkspaceSettingsPanelStore() {
|
|
@@ -21,4 +25,4 @@ export {
|
|
|
21
25
|
getWorkspaceSettingsPanelStore,
|
|
22
26
|
useWorkspaceSettingsPanelRequest
|
|
23
27
|
};
|
|
24
|
-
//# sourceMappingURL=chunk-
|
|
28
|
+
//# sourceMappingURL=chunk-GUFEHWUX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../shared/workspaceSettingsPanel/workspaceSettingsPanelStore.ts"],"sourcesContent":["import { useSnapshot } from \"valtio\";\nimport { proxy } from \"valtio/vanilla\";\n\n/**\n * Deep-link intent to open the host's global workspace settings panel from\n * anywhere in the agent-gui tree (e.g. the conversation rail's \"Usage &\n * Settings\" popover). The host (apps/desktop) watches this singleton store and\n * opens its settings panel, navigating to `section` when provided.\n *\n * Workspace settings keeps this legacy request channel; Agent Env uses an\n * injected host command and a desktop-owned service instead\n * settings service; it only publishes the intent as a plain string section.\n */\nexport interface WorkspaceSettingsPanelRequest {\n /**\n * Which settings section to navigate to, e.g. \"agent\". Kept as a plain string\n * so agent-gui does not depend on the host's section id union; the host\n * validates/casts it.\n */\n section: string | null;\n /**\n * Optional sub-pane within the section, e.g. \"agents\" to open the Agents tab\n * of the agent section. Plain string; the host validates/casts it.\n */\n pane: string | null;\n /**\n * Optional provider/agent id to focus once the pane is open, e.g. deep-linking\n * from an agent's \"more\" action to its row in the Agents tab. Plain string.\n */\n provider: string | null;\n /**\n * Bumped on every openWorkspaceSettingsPanel() call so the host reacts even\n * when the panel is already open or the section is unchanged.\n */\n requestSequence: number;\n}\n\nexport interface OpenWorkspaceSettingsPanelInput {\n section?: string | null;\n pane?: string | null;\n provider?: string | null;\n}\n\nconst workspaceSettingsPanelStore = proxy<WorkspaceSettingsPanelRequest>({\n section: null,\n pane: null,\n provider: null,\n requestSequence: 0\n});\n\n/**\n * Request that the host open the global workspace settings panel. Safe to call\n * from anywhere in the agent-gui tree; the host renders the actual panel and\n * reacts to this singleton store.\n */\nexport function openWorkspaceSettingsPanel(\n input?: OpenWorkspaceSettingsPanelInput\n): void {\n workspaceSettingsPanelStore.section = input?.section ?? null;\n workspaceSettingsPanelStore.pane = input?.pane ?? null;\n workspaceSettingsPanelStore.provider = input?.provider ?? null;\n workspaceSettingsPanelStore.requestSequence += 1;\n}\n\n/** Imperative read, mainly for tests. Components should use the hook. */\nexport function getWorkspaceSettingsPanelStore(): WorkspaceSettingsPanelRequest {\n return workspaceSettingsPanelStore;\n}\n\n/** Reactive snapshot of the panel request for the host renderer. */\nexport function useWorkspaceSettingsPanelRequest(): WorkspaceSettingsPanelRequest {\n return useSnapshot(workspaceSettingsPanelStore);\n}\n"],"mappings":";AAAA,SAAS,mBAAmB;AAC5B,SAAS,aAAa;AA0CtB,IAAM,8BAA8B,MAAqC;AAAA,EACvE,SAAS;AAAA,EACT,MAAM;AAAA,EACN,UAAU;AAAA,EACV,iBAAiB;AACnB,CAAC;AAOM,SAAS,2BACd,OACM;AACN,8BAA4B,UAAU,OAAO,WAAW;AACxD,8BAA4B,OAAO,OAAO,QAAQ;AAClD,8BAA4B,WAAW,OAAO,YAAY;AAC1D,8BAA4B,mBAAmB;AACjD;AAGO,SAAS,iCAAgE;AAC9E,SAAO;AACT;AAGO,SAAS,mCAAkE;AAChF,SAAO,YAAY,2BAA2B;AAChD;","names":[]}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-FGLQZ6I4.js";
|
|
8
8
|
import {
|
|
9
9
|
managedAgentRoundedIconUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZWLWT3TZ.js";
|
|
11
11
|
import {
|
|
12
12
|
translate,
|
|
13
13
|
useTranslation
|
|
@@ -1810,4 +1810,4 @@ export {
|
|
|
1810
1810
|
exitAgentFileMentionSuggestion,
|
|
1811
1811
|
createAgentFileMentionExtension
|
|
1812
1812
|
};
|
|
1813
|
-
//# sourceMappingURL=chunk-
|
|
1813
|
+
//# sourceMappingURL=chunk-J4QLQETO.js.map
|