@tutti-os/agent-gui 0.0.127 → 0.0.128
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-SPIPM3UM.js → AgentRichTextReadonly-UGZQXMPT.js} +6 -6
- package/dist/agent-conversation/index.js +8 -8
- package/dist/agent-gui.js +15 -15
- package/dist/agent-message-center/index.js +6 -6
- package/dist/app/renderer/agentactivity.css +25 -0
- package/dist/{chunk-WKYMLLHT.js → chunk-3LKGPCCL.js} +2 -2
- package/dist/{chunk-JE2DXS4U.js → chunk-5ILYI4EM.js} +2 -2
- package/dist/{chunk-LUGELG5V.js → chunk-5QPOMKMQ.js} +2 -2
- package/dist/chunk-5QPOMKMQ.js.map +1 -0
- package/dist/{chunk-LWJITLCI.js → chunk-6TYXZI35.js} +3 -3
- package/dist/{chunk-YWKS4ESK.js → chunk-A3HZBKIQ.js} +2 -2
- package/dist/{chunk-EG7IIFNL.js → chunk-BKTH4EVE.js} +3 -3
- package/dist/{chunk-WKFMSABH.js → chunk-FNI4JFDM.js} +5 -5
- package/dist/{chunk-WB3KV4VH.js → chunk-Q5JYEQK6.js} +3 -3
- package/dist/{chunk-YJKTYMF4.js → chunk-RABOGNWT.js} +5 -7
- package/dist/{chunk-YJKTYMF4.js.map → chunk-RABOGNWT.js.map} +1 -1
- package/dist/{chunk-54GR2G3U.js → chunk-TBFWNWDX.js} +5 -5
- package/dist/{chunk-T2CHVUXH.js → chunk-UZP2LEQL.js} +3 -1
- package/dist/chunk-UZP2LEQL.js.map +1 -0
- package/dist/{chunk-JVISXD4K.js → chunk-VH2UJCQG.js} +2 -2
- package/dist/{chunk-D5CIV4IB.js → chunk-VWIADFP4.js} +2 -2
- package/dist/{chunk-JWB5Z5GS.js → chunk-YZF23LW4.js} +4 -4
- package/dist/{chunk-ZXHXR2KT.js → chunk-Z4HPUA2G.js} +479 -383
- package/dist/chunk-Z4HPUA2G.js.map +1 -0
- package/dist/context-mention-palette/index.js +8 -8
- package/dist/i18n/index.d.ts +2 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.js +15 -15
- package/dist/mention-file-presentation.js +1 -1
- package/dist/mention-search.js +6 -6
- 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-LUGELG5V.js.map +0 -1
- package/dist/chunk-T2CHVUXH.js.map +0 -1
- package/dist/chunk-ZXHXR2KT.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-SPIPM3UM.js.map → AgentRichTextReadonly-UGZQXMPT.js.map} +0 -0
- /package/dist/{chunk-WKYMLLHT.js.map → chunk-3LKGPCCL.js.map} +0 -0
- /package/dist/{chunk-JE2DXS4U.js.map → chunk-5ILYI4EM.js.map} +0 -0
- /package/dist/{chunk-LWJITLCI.js.map → chunk-6TYXZI35.js.map} +0 -0
- /package/dist/{chunk-YWKS4ESK.js.map → chunk-A3HZBKIQ.js.map} +0 -0
- /package/dist/{chunk-EG7IIFNL.js.map → chunk-BKTH4EVE.js.map} +0 -0
- /package/dist/{chunk-WKFMSABH.js.map → chunk-FNI4JFDM.js.map} +0 -0
- /package/dist/{chunk-WB3KV4VH.js.map → chunk-Q5JYEQK6.js.map} +0 -0
- /package/dist/{chunk-54GR2G3U.js.map → chunk-TBFWNWDX.js.map} +0 -0
- /package/dist/{chunk-JVISXD4K.js.map → chunk-VH2UJCQG.js.map} +0 -0
- /package/dist/{chunk-D5CIV4IB.js.map → chunk-VWIADFP4.js.map} +0 -0
- /package/dist/{chunk-JWB5Z5GS.js.map → chunk-YZF23LW4.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
// agent-gui/shared/mentionFilePresentation.ts
|
|
6
6
|
function resolveAgentMentionFileVisualKind(input) {
|
|
7
|
-
if (input.mentionNavigation === "agent-generated-folder-back") {
|
|
7
|
+
if (input.mentionNavigation === "agent-generated-folder-back" || input.mentionNavigation === "workspace-folder-back") {
|
|
8
8
|
return "back";
|
|
9
9
|
}
|
|
10
10
|
if (input.entryKind === "directory") {
|
|
@@ -28,4 +28,4 @@ export {
|
|
|
28
28
|
resolveAgentMentionFileVisualKind,
|
|
29
29
|
resolveAgentMentionFileThumbnailUrl
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=chunk-
|
|
31
|
+
//# sourceMappingURL=chunk-5QPOMKMQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../agent-gui/shared/mentionFilePresentation.ts"],"sourcesContent":["import { resolveAgentWorkspaceFileVisualKind } from \"../../shared/workspaceFileVisualKind.ts\";\n\nexport type AgentMentionFileVisualKind =\n | \"back\"\n | \"document\"\n | \"code\"\n | \"markdown\"\n | \"image\"\n | \"video\"\n | \"folder\";\n\nexport function resolveAgentMentionFileVisualKind(input: {\n entryKind?: string | null;\n href?: string | null;\n mentionNavigation?: string | null;\n name?: string | null;\n path?: string | null;\n}): AgentMentionFileVisualKind {\n if (\n input.mentionNavigation === \"agent-generated-folder-back\" ||\n input.mentionNavigation === \"workspace-folder-back\"\n ) {\n return \"back\";\n }\n if (input.entryKind === \"directory\") {\n return \"folder\";\n }\n const pathOrName =\n input.path?.trim() || input.name?.trim() || input.href?.trim() || \"\";\n const kind = resolveAgentWorkspaceFileVisualKind(pathOrName, {\n refType: \"file\"\n });\n return kind === \"binary\" ? \"document\" : kind;\n}\n\nexport function resolveAgentMentionFileThumbnailUrl(input: {\n entryKind?: string | null;\n href?: string | null;\n name?: string | null;\n path?: string | null;\n thumbnailUrl?: string | null;\n}): string | undefined {\n if (resolveAgentMentionFileVisualKind(input) !== \"image\") {\n return undefined;\n }\n const thumbnailUrl = input.thumbnailUrl?.trim() ?? \"\";\n return thumbnailUrl || undefined;\n}\n"],"mappings":";;;;;AAWO,SAAS,kCAAkC,OAMnB;AAC7B,MACE,MAAM,sBAAsB,iCAC5B,MAAM,sBAAsB,yBAC5B;AACA,WAAO;AAAA,EACT;AACA,MAAI,MAAM,cAAc,aAAa;AACnC,WAAO;AAAA,EACT;AACA,QAAM,aACJ,MAAM,MAAM,KAAK,KAAK,MAAM,MAAM,KAAK,KAAK,MAAM,MAAM,KAAK,KAAK;AACpE,QAAM,OAAO,oCAAoC,YAAY;AAAA,IAC3D,SAAS;AAAA,EACX,CAAC;AACD,SAAO,SAAS,WAAW,aAAa;AAC1C;AAEO,SAAS,oCAAoC,OAM7B;AACrB,MAAI,kCAAkC,KAAK,MAAM,SAAS;AACxD,WAAO;AAAA,EACT;AACA,QAAM,eAAe,MAAM,cAAc,KAAK,KAAK;AACnD,SAAO,gBAAgB;AACzB;","names":[]}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAgentMentionFileThumbnailUrl,
|
|
3
3
|
resolveAgentMentionFileVisualKind
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5QPOMKMQ.js";
|
|
5
5
|
import {
|
|
6
6
|
managedAgentRoundedIconUrl
|
|
7
7
|
} from "./chunk-EDNJMG5T.js";
|
|
8
8
|
import {
|
|
9
9
|
translate,
|
|
10
10
|
useTranslation
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VH2UJCQG.js";
|
|
12
12
|
import {
|
|
13
13
|
getAgentCustomMentionKind
|
|
14
14
|
} from "./chunk-D2JUDUYY.js";
|
|
@@ -1500,4 +1500,4 @@ export {
|
|
|
1500
1500
|
exitAgentFileMentionSuggestion,
|
|
1501
1501
|
createAgentFileMentionExtension
|
|
1502
1502
|
};
|
|
1503
|
-
//# sourceMappingURL=chunk-
|
|
1503
|
+
//# sourceMappingURL=chunk-6TYXZI35.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
translateInUiLanguage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UZP2LEQL.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeAgentTitleText
|
|
6
6
|
} from "./chunk-MIJXEELH.js";
|
|
@@ -375,4 +375,4 @@ export {
|
|
|
375
375
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
376
376
|
resolveAgentGuiWorkbenchSessionTitle
|
|
377
377
|
};
|
|
378
|
-
//# sourceMappingURL=chunk-
|
|
378
|
+
//# sourceMappingURL=chunk-A3HZBKIQ.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveAgentGUIConversationTitleDisplayPrompt,
|
|
10
10
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
11
11
|
resolveAgentGuiWorkbenchSessionTitle
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-A3HZBKIQ.js";
|
|
13
13
|
import {
|
|
14
14
|
createAgentGuiWorkbenchNodeStateSource,
|
|
15
15
|
migrateLegacyAgentGuiWorkbenchState,
|
|
@@ -276,7 +276,7 @@ function useAgentGuiWorkbenchBodyRenderError(nodeId) {
|
|
|
276
276
|
|
|
277
277
|
// workbench/header.ts
|
|
278
278
|
var LazyAgentRichTextReadonly = lazy(
|
|
279
|
-
() => import("./AgentRichTextReadonly-
|
|
279
|
+
() => import("./AgentRichTextReadonly-UGZQXMPT.js").then((module) => ({
|
|
280
280
|
default: module.AgentRichTextReadonly
|
|
281
281
|
}))
|
|
282
282
|
);
|
|
@@ -1482,4 +1482,4 @@ export {
|
|
|
1482
1482
|
AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT,
|
|
1483
1483
|
createAgentGuiWorkbenchContribution
|
|
1484
1484
|
};
|
|
1485
|
-
//# sourceMappingURL=chunk-
|
|
1485
|
+
//# sourceMappingURL=chunk-BKTH4EVE.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
AgentRichTextReadonly,
|
|
3
3
|
promptForProviderSkills,
|
|
4
4
|
skillTriggerForPrefix
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3LKGPCCL.js";
|
|
6
6
|
import {
|
|
7
7
|
classifyRecoverableAgentMessage,
|
|
8
8
|
isProviderPlanLimitMessage,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
resolveWorkspaceFileLinkAction,
|
|
39
39
|
resolveWorkspaceFilePathCandidate,
|
|
40
40
|
resolveWorkspaceLinkAction
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-Q5JYEQK6.js";
|
|
42
42
|
import {
|
|
43
43
|
cn
|
|
44
44
|
} from "./chunk-KPMQGPYU.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
useOptionalAgentActivityRuntime,
|
|
47
47
|
useOptionalAgentHostApi,
|
|
48
48
|
workspaceAgentProviderLabel
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-VWIADFP4.js";
|
|
50
50
|
import {
|
|
51
51
|
fileChangeCountFromChanges,
|
|
52
52
|
fileChangeEntriesFromChanges,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
getActiveUiLanguage,
|
|
57
57
|
translate,
|
|
58
58
|
useTranslation
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-VH2UJCQG.js";
|
|
60
60
|
import {
|
|
61
61
|
normalizeAgentTitleText
|
|
62
62
|
} from "./chunk-MIJXEELH.js";
|
|
@@ -14302,4 +14302,4 @@ export {
|
|
|
14302
14302
|
AgentConversationFlow,
|
|
14303
14303
|
useProjectedAgentConversation
|
|
14304
14304
|
};
|
|
14305
|
-
//# sourceMappingURL=chunk-
|
|
14305
|
+
//# sourceMappingURL=chunk-FNI4JFDM.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
getOptionalAgentHostApi,
|
|
8
8
|
useOptionalAgentHostApi
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VWIADFP4.js";
|
|
10
10
|
import {
|
|
11
11
|
managedAgentRoundedIconUrl
|
|
12
12
|
} from "./chunk-EDNJMG5T.js";
|
|
13
13
|
import {
|
|
14
14
|
translate,
|
|
15
15
|
useTranslation
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VH2UJCQG.js";
|
|
17
17
|
import {
|
|
18
18
|
resolveAgentWorkspaceFileVisualKind
|
|
19
19
|
} from "./chunk-PJP5BUU6.js";
|
|
@@ -3729,4 +3729,4 @@ export {
|
|
|
3729
3729
|
AgentMessageMarkdown,
|
|
3730
3730
|
CustomScrollArea
|
|
3731
3731
|
};
|
|
3732
|
-
//# sourceMappingURL=chunk-
|
|
3732
|
+
//# sourceMappingURL=chunk-Q5JYEQK6.js.map
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-XJ34OIEQ.js";
|
|
8
8
|
import {
|
|
9
9
|
normalizeAgentSessionMentionTitle
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6TYXZI35.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveAgentMentionFileThumbnailUrl
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5QPOMKMQ.js";
|
|
14
14
|
import {
|
|
15
15
|
AGENT_CONTEXT_MENTION_PROVIDER_IDS
|
|
16
16
|
} from "./chunk-RMQREVJY.js";
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
getOptionalAgentHostApi,
|
|
22
22
|
workspaceAgentProviderLabel
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VWIADFP4.js";
|
|
24
24
|
import {
|
|
25
25
|
translate,
|
|
26
26
|
translateInUiLanguage
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VH2UJCQG.js";
|
|
28
28
|
import {
|
|
29
29
|
normalizeAgentTitleText
|
|
30
30
|
} from "./chunk-MIJXEELH.js";
|
|
@@ -2649,7 +2649,6 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2649
2649
|
return false;
|
|
2650
2650
|
}
|
|
2651
2651
|
if (item.mentionNavigation === "agent-generated-folder") {
|
|
2652
|
-
this.resetWorkspaceFileBrowsePaths();
|
|
2653
2652
|
this.agentGeneratedBrowsePath = item.path;
|
|
2654
2653
|
this.expandedCounts.agent_generated_files = mentionGroupPageSize(
|
|
2655
2654
|
this.currentFilter,
|
|
@@ -2684,7 +2683,6 @@ var AgentMentionSearchController = class extends AgentMentionSearchControllerBas
|
|
|
2684
2683
|
if (!path || this.currentFilter !== "file" || this.currentQuery) {
|
|
2685
2684
|
return false;
|
|
2686
2685
|
}
|
|
2687
|
-
this.resetAgentGeneratedBrowsePath();
|
|
2688
2686
|
this.workspaceFileBrowsePaths.push(path);
|
|
2689
2687
|
this.loadWorkspaceFileDirectory(path);
|
|
2690
2688
|
return true;
|
|
@@ -3054,4 +3052,4 @@ export {
|
|
|
3054
3052
|
AgentMentionSearchController,
|
|
3055
3053
|
preloadAgentMentionBrowse
|
|
3056
3054
|
};
|
|
3057
|
-
//# sourceMappingURL=chunk-
|
|
3055
|
+
//# sourceMappingURL=chunk-RABOGNWT.js.map
|