@tutti-os/agent-gui 0.0.43 → 0.0.45
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-conversation/index.js +5 -4
- package/dist/agent-conversation/index.js.map +1 -1
- package/dist/agent-message-center/index.js +17 -11
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/app/renderer/agentactivity.css +116 -57
- package/dist/{chunk-3PVSIL3H.js → chunk-62QOR3TC.js} +4 -97
- package/dist/chunk-62QOR3TC.js.map +1 -0
- package/dist/{chunk-5UD2YEBX.js → chunk-AMNXH4DJ.js} +47 -14
- package/dist/{chunk-5UD2YEBX.js.map → chunk-AMNXH4DJ.js.map} +1 -1
- package/dist/{chunk-XTFRVACA.js → chunk-CZ7PS3DU.js} +22 -7
- package/dist/chunk-CZ7PS3DU.js.map +1 -0
- package/dist/{chunk-5LVFYNIP.js → chunk-D6IYEVDT.js} +2 -2
- package/dist/chunk-EIC7XS3C.js +71 -0
- package/dist/chunk-EIC7XS3C.js.map +1 -0
- package/dist/chunk-FJG2EH4V.js +317 -0
- package/dist/chunk-FJG2EH4V.js.map +1 -0
- package/dist/{chunk-42WP3P5C.js → chunk-NZ2BGOJU.js} +2 -2
- package/dist/chunk-OL54R6OL.js +99 -0
- package/dist/chunk-OL54R6OL.js.map +1 -0
- package/dist/{chunk-OLZP2EFK.js → chunk-QT45WUPQ.js} +71 -20
- package/dist/chunk-QT45WUPQ.js.map +1 -0
- package/dist/{chunk-5U4SXENC.js → chunk-UGV6JTWM.js} +16 -5
- package/dist/{chunk-5U4SXENC.js.map → chunk-UGV6JTWM.js.map} +1 -1
- package/dist/{chunk-LKOPLDPM.js → chunk-VFQR7AZI.js} +59 -64
- package/dist/chunk-VFQR7AZI.js.map +1 -0
- package/dist/{chunk-3WZWZHAJ.js → chunk-ZG3WZSMV.js} +2 -2
- package/dist/context-mention-palette/index.d.ts +2 -1
- package/dist/context-mention-palette/index.js +7 -6
- package/dist/i18n/index.d.ts +51 -3
- package/dist/i18n/index.js +2 -1
- package/dist/index.d.ts +1 -5
- package/dist/index.js +1153 -671
- package/dist/index.js.map +1 -1
- package/dist/uiSettings-BQS9r2eo.d.ts +6 -0
- package/dist/workbench/contribution.js +1 -1
- package/dist/workbench/index.d.ts +3 -0
- package/dist/workbench/index.js +13 -2
- package/dist/workbench/sessionTitle.d.ts +28 -0
- package/dist/workbench/sessionTitle.js +14 -0
- package/dist/workbench/sessionTitle.js.map +1 -0
- package/dist/workspace-agent-generated-files.js +3 -2
- package/package.json +21 -14
- package/dist/chunk-3PVSIL3H.js.map +0 -1
- package/dist/chunk-LKOPLDPM.js.map +0 -1
- package/dist/chunk-OLZP2EFK.js.map +0 -1
- package/dist/chunk-XTFRVACA.js.map +0 -1
- /package/dist/{chunk-5LVFYNIP.js.map → chunk-D6IYEVDT.js.map} +0 -0
- /package/dist/{chunk-42WP3P5C.js.map → chunk-NZ2BGOJU.js.map} +0 -0
- /package/dist/{chunk-3WZWZHAJ.js.map → chunk-ZG3WZSMV.js.map} +0 -0
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
// i18n/index.ts
|
|
2
|
-
import React, {
|
|
3
|
-
createContext,
|
|
4
|
-
useCallback,
|
|
5
|
-
useContext,
|
|
6
|
-
useMemo
|
|
7
|
-
} from "react";
|
|
8
|
-
import {
|
|
9
|
-
createLocaleObjectI18nModuleManifest
|
|
10
|
-
} from "@tutti-os/ui-i18n-runtime";
|
|
11
|
-
|
|
12
1
|
// i18n/runtime.ts
|
|
13
2
|
import {
|
|
14
3
|
createI18nRuntime
|
|
@@ -675,8 +664,8 @@ var en = {
|
|
|
675
664
|
empty: "What can {{provider}} help you with?",
|
|
676
665
|
conversations: "Sessions",
|
|
677
666
|
newConversation: "New session",
|
|
678
|
-
agentConfig: "
|
|
679
|
-
agentEnvSetup: "Environment
|
|
667
|
+
agentConfig: "Usage & Environment Check",
|
|
668
|
+
agentEnvSetup: "Environment Check",
|
|
680
669
|
noConversations: "No sessions yet",
|
|
681
670
|
emptyProjectConversations: "No chats yet",
|
|
682
671
|
batchRunnerStandaloneTitle: "Agent GUI batch runner",
|
|
@@ -771,6 +760,11 @@ var en = {
|
|
|
771
760
|
batchDeleteProjectSessionsTitle: "Delete project sessions?",
|
|
772
761
|
batchDeleteProjectSessionsBody: "This will delete {{count}} sessions in \u201C{{project}}\u201D. Deleted sessions cannot be recovered.",
|
|
773
762
|
batchDeleteProjectSessionsConfirm: "Delete sessions",
|
|
763
|
+
conversationsSectionMoreActions: "Conversation actions",
|
|
764
|
+
batchDeleteConversations: "Batch delete conversations",
|
|
765
|
+
batchDeleteConversationsTitle: "Delete conversations?",
|
|
766
|
+
batchDeleteConversationsBody: "This will delete {{count}} conversations. Deleted conversations cannot be recovered.",
|
|
767
|
+
batchDeleteConversationsConfirm: "Delete conversations",
|
|
774
768
|
runtimeSessionOnly: "Only runtime sessions appear here.",
|
|
775
769
|
approvalRequired: "{{provider}} requests your authorization.",
|
|
776
770
|
approvalUnavailable: "No choices are available.",
|
|
@@ -896,6 +890,24 @@ var en = {
|
|
|
896
890
|
slashPalettePluginsGroup: "Plugins",
|
|
897
891
|
slashPaletteConnectorsGroup: "Connectors",
|
|
898
892
|
slashPaletteMcpGroup: "MCP",
|
|
893
|
+
slashCommandCompactLabel: "compact",
|
|
894
|
+
slashCommandContextLabel: "context",
|
|
895
|
+
slashCommandFastLabel: "fast",
|
|
896
|
+
slashCommandGoalLabel: "goal",
|
|
897
|
+
slashCommandInitLabel: "init",
|
|
898
|
+
slashCommandPlanLabel: "plan",
|
|
899
|
+
slashCommandReviewLabel: "review",
|
|
900
|
+
slashCommandStatusLabel: "status",
|
|
901
|
+
slashCommandUsageLabel: "usage",
|
|
902
|
+
slashCommandCompactDescription: "Compact the conversation context.",
|
|
903
|
+
slashCommandContextDescription: "Show the current context snapshot.",
|
|
904
|
+
slashCommandFastDescription: "Toggle fast response mode.",
|
|
905
|
+
slashCommandGoalDescription: "Set, inspect, or clear the current goal.",
|
|
906
|
+
slashCommandInitDescription: "Initialize repository guidance files.",
|
|
907
|
+
slashCommandPlanDescription: "Toggle plan mode.",
|
|
908
|
+
slashCommandReviewDescription: "Run a code review.",
|
|
909
|
+
slashCommandStatusDescription: "Show session status and context usage.",
|
|
910
|
+
slashCommandUsageDescription: "Show context and quota usage.",
|
|
899
911
|
browserUseCapabilityLabel: "Browser",
|
|
900
912
|
browserUseCapabilityDescription: "Let the agent use a browser.",
|
|
901
913
|
browserUseCapabilityDescriptionAutoConnect: "Current mode: reuse your signed-in Chrome.",
|
|
@@ -956,6 +968,7 @@ var en = {
|
|
|
956
968
|
},
|
|
957
969
|
projectLocked: "Project cannot be changed after the session starts",
|
|
958
970
|
projectMissingDescription: "This conversation's working directory no longer exists",
|
|
971
|
+
fileMentionEnterFolder: "Enter folder",
|
|
959
972
|
fileMentionSwitchCategory: "Switch category",
|
|
960
973
|
fileMentionNavigateHierarchy: "Enter/leave folder",
|
|
961
974
|
fileMentionSwitchSelection: "Switch selection",
|
|
@@ -3088,7 +3101,7 @@ var zhCN = {
|
|
|
3088
3101
|
empty: "\u9700\u8981 {{provider}} \u5E2E\u4F60\u505A\u4E9B\u4EC0\u4E48\uFF1F",
|
|
3089
3102
|
conversations: "\u4F1A\u8BDD",
|
|
3090
3103
|
newConversation: "\u65B0\u5EFA\u4F1A\u8BDD",
|
|
3091
|
-
agentConfig: "\
|
|
3104
|
+
agentConfig: "\u7528\u91CF&\u73AF\u5883\u68C0\u6D4B",
|
|
3092
3105
|
agentEnvSetup: "\u73AF\u5883\u68C0\u6D4B",
|
|
3093
3106
|
noConversations: "\u8FD8\u6CA1\u6709\u4F1A\u8BDD",
|
|
3094
3107
|
emptyProjectConversations: "\u6682\u65E0\u5BF9\u8BDD",
|
|
@@ -3184,6 +3197,11 @@ var zhCN = {
|
|
|
3184
3197
|
batchDeleteProjectSessionsTitle: "\u5220\u9664\u9879\u76EE\u4F1A\u8BDD\uFF1F",
|
|
3185
3198
|
batchDeleteProjectSessionsBody: "\u5C06\u5220\u9664\u300C{{project}}\u300D\u4E0B\u7684 {{count}} \u4E2A\u4F1A\u8BDD\u3002\u5220\u9664\u540E\u65E0\u6CD5\u6062\u590D\u3002",
|
|
3186
3199
|
batchDeleteProjectSessionsConfirm: "\u5220\u9664\u4F1A\u8BDD",
|
|
3200
|
+
conversationsSectionMoreActions: "\u5BF9\u8BDD\u64CD\u4F5C",
|
|
3201
|
+
batchDeleteConversations: "\u6279\u91CF\u5220\u9664\u5BF9\u8BDD",
|
|
3202
|
+
batchDeleteConversationsTitle: "\u5220\u9664\u5BF9\u8BDD\uFF1F",
|
|
3203
|
+
batchDeleteConversationsBody: "\u5C06\u5220\u9664 {{count}} \u4E2A\u5BF9\u8BDD\u3002\u5220\u9664\u540E\u65E0\u6CD5\u6062\u590D\u3002",
|
|
3204
|
+
batchDeleteConversationsConfirm: "\u5220\u9664\u5BF9\u8BDD",
|
|
3187
3205
|
runtimeSessionOnly: "\u8FD9\u91CC\u53EA\u663E\u793A runtime \u4F1A\u8BDD\u3002",
|
|
3188
3206
|
approvalRequired: "{{provider}} \u8BF7\u6C42\u4F60\u7684\u6388\u6743\u3002",
|
|
3189
3207
|
approvalUnavailable: "\u6CA1\u6709\u53EF\u7528\u9009\u9879\u3002",
|
|
@@ -3309,6 +3327,24 @@ var zhCN = {
|
|
|
3309
3327
|
slashPalettePluginsGroup: "\u63D2\u4EF6",
|
|
3310
3328
|
slashPaletteConnectorsGroup: "\u8FDE\u63A5\u5668",
|
|
3311
3329
|
slashPaletteMcpGroup: "MCP",
|
|
3330
|
+
slashCommandCompactLabel: "\u538B\u7F29",
|
|
3331
|
+
slashCommandContextLabel: "\u4E0A\u4E0B\u6587",
|
|
3332
|
+
slashCommandFastLabel: "\u5FEB\u901F",
|
|
3333
|
+
slashCommandGoalLabel: "\u76EE\u6807",
|
|
3334
|
+
slashCommandInitLabel: "\u521D\u59CB\u5316",
|
|
3335
|
+
slashCommandPlanLabel: "\u8BA1\u5212",
|
|
3336
|
+
slashCommandReviewLabel: "\u5BA1\u67E5",
|
|
3337
|
+
slashCommandStatusLabel: "\u72B6\u6001",
|
|
3338
|
+
slashCommandUsageLabel: "\u7528\u91CF",
|
|
3339
|
+
slashCommandCompactDescription: "\u538B\u7F29\u5F53\u524D\u5BF9\u8BDD\u4E0A\u4E0B\u6587\u3002",
|
|
3340
|
+
slashCommandContextDescription: "\u67E5\u770B\u5F53\u524D\u4E0A\u4E0B\u6587\u5FEB\u7167\u3002",
|
|
3341
|
+
slashCommandFastDescription: "\u5207\u6362\u5FEB\u901F\u54CD\u5E94\u6A21\u5F0F\u3002",
|
|
3342
|
+
slashCommandGoalDescription: "\u8BBE\u7F6E\u3001\u67E5\u770B\u6216\u6E05\u9664\u5F53\u524D\u76EE\u6807\u3002",
|
|
3343
|
+
slashCommandInitDescription: "\u521D\u59CB\u5316\u4ED3\u5E93\u8BF4\u660E\u6587\u4EF6\u3002",
|
|
3344
|
+
slashCommandPlanDescription: "\u5207\u6362\u8BA1\u5212\u6A21\u5F0F\u3002",
|
|
3345
|
+
slashCommandReviewDescription: "\u53D1\u8D77\u4EE3\u7801\u5BA1\u67E5\u3002",
|
|
3346
|
+
slashCommandStatusDescription: "\u67E5\u770B\u4F1A\u8BDD\u72B6\u6001\u548C\u4E0A\u4E0B\u6587\u7528\u91CF\u3002",
|
|
3347
|
+
slashCommandUsageDescription: "\u67E5\u770B\u4E0A\u4E0B\u6587\u548C\u989D\u5EA6\u7528\u91CF\u3002",
|
|
3312
3348
|
browserUseCapabilityLabel: "\u6D4F\u89C8\u5668",
|
|
3313
3349
|
browserUseCapabilityDescription: "\u8BA9 Agent \u4F7F\u7528\u6D4F\u89C8\u5668\u3002",
|
|
3314
3350
|
browserUseCapabilityDescriptionAutoConnect: "\u5F53\u524D\u914D\u7F6E\uFF1A\u590D\u7528\u5DF2\u767B\u5F55\u7684 Chrome\u3002",
|
|
@@ -3369,6 +3405,7 @@ var zhCN = {
|
|
|
3369
3405
|
},
|
|
3370
3406
|
projectLocked: "\u4F1A\u8BDD\u5F00\u59CB\u540E\u9879\u76EE\u4E0D\u53EF\u66F4\u6539",
|
|
3371
3407
|
projectMissingDescription: "\u6B64\u5BF9\u8BDD\u7684\u5DE5\u4F5C\u76EE\u5F55\u5DF2\u4E0D\u5B58\u5728",
|
|
3408
|
+
fileMentionEnterFolder: "\u8FDB\u5165\u6587\u4EF6\u5939",
|
|
3372
3409
|
fileMentionSwitchCategory: "\u5207\u6362\u5206\u7C7B",
|
|
3373
3410
|
fileMentionNavigateHierarchy: "\u8FDB\u5165/\u8FD4\u56DE\u6587\u4EF6\u5939",
|
|
3374
3411
|
fileMentionSwitchSelection: "\u5207\u6362\u9009\u4E2D",
|
|
@@ -4889,55 +4926,13 @@ function getActiveUiLanguage() {
|
|
|
4889
4926
|
return currentLocale;
|
|
4890
4927
|
}
|
|
4891
4928
|
|
|
4892
|
-
// i18n/index.ts
|
|
4893
|
-
var agentGuiI18nResources2 = agentGuiI18nResources;
|
|
4894
|
-
var getActiveUiLanguage2 = getActiveUiLanguage;
|
|
4895
|
-
var translate2 = translate;
|
|
4896
|
-
var translateInUiLanguage2 = translateInUiLanguage;
|
|
4897
|
-
var agentGuiI18nModule = createLocaleObjectI18nModuleManifest({
|
|
4898
|
-
fileByLocale: {
|
|
4899
|
-
en: "packages/agent/gui/app/renderer/i18n/locales/en.ts",
|
|
4900
|
-
"zh-CN": "packages/agent/gui/app/renderer/i18n/locales/zh-CN.ts"
|
|
4901
|
-
},
|
|
4902
|
-
name: "agent-gui",
|
|
4903
|
-
sourceRoot: "packages/agent/gui"
|
|
4904
|
-
});
|
|
4905
|
-
var AgentGuiI18nContext = createContext(null);
|
|
4906
|
-
function AgentGuiI18nProvider({
|
|
4907
|
-
children,
|
|
4908
|
-
locale = "en",
|
|
4909
|
-
runtime
|
|
4910
|
-
}) {
|
|
4911
|
-
const value = useMemo(
|
|
4912
|
-
() => resolveAgentGuiI18nRuntime({
|
|
4913
|
-
locale,
|
|
4914
|
-
runtime
|
|
4915
|
-
}),
|
|
4916
|
-
[locale, runtime]
|
|
4917
|
-
);
|
|
4918
|
-
setCurrentAgentGuiI18nRuntime(value);
|
|
4919
|
-
return React.createElement(AgentGuiI18nContext.Provider, { value }, children);
|
|
4920
|
-
}
|
|
4921
|
-
function useTranslation() {
|
|
4922
|
-
const context = useContext(AgentGuiI18nContext) ?? getCurrentAgentGuiI18nRuntime();
|
|
4923
|
-
const t = useCallback(
|
|
4924
|
-
(key, options) => context.runtime.t(key, options),
|
|
4925
|
-
[context.runtime]
|
|
4926
|
-
);
|
|
4927
|
-
return {
|
|
4928
|
-
i18n: context.runtime,
|
|
4929
|
-
locale: context.locale,
|
|
4930
|
-
t
|
|
4931
|
-
};
|
|
4932
|
-
}
|
|
4933
|
-
|
|
4934
4929
|
export {
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4930
|
+
agentGuiI18nResources,
|
|
4931
|
+
resolveAgentGuiI18nRuntime,
|
|
4932
|
+
setCurrentAgentGuiI18nRuntime,
|
|
4933
|
+
getCurrentAgentGuiI18nRuntime,
|
|
4934
|
+
translate,
|
|
4935
|
+
translateInUiLanguage,
|
|
4936
|
+
getActiveUiLanguage
|
|
4942
4937
|
};
|
|
4943
|
-
//# sourceMappingURL=chunk-
|
|
4938
|
+
//# sourceMappingURL=chunk-VFQR7AZI.js.map
|