@tutti-os/agent-gui 0.0.127 → 0.0.129
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/{AgentGUI-DprRUk8h.d.ts → AgentGUI-DxypmD7b.d.ts} +4 -16
- package/dist/{AgentRichTextReadonly-SPIPM3UM.js → AgentRichTextReadonly-PEKCMRPE.js} +6 -6
- package/dist/agent-conversation/index.js +8 -8
- package/dist/agent-gui.d.ts +4 -4
- package/dist/agent-gui.js +15 -15
- package/dist/agent-message-center/index.js +6 -6
- package/dist/app/renderer/agentactivity.css +33 -4
- package/dist/{chunk-WKFMSABH.js → chunk-2RSNLVOX.js} +53 -11
- package/dist/chunk-2RSNLVOX.js.map +1 -0
- package/dist/{chunk-LUGELG5V.js → chunk-5QPOMKMQ.js} +2 -2
- package/dist/chunk-5QPOMKMQ.js.map +1 -0
- package/dist/{chunk-EG7IIFNL.js → chunk-GCQYN7BR.js} +3 -3
- package/dist/{chunk-ZXHXR2KT.js → chunk-GX5HPHPL.js} +524 -475
- package/dist/chunk-GX5HPHPL.js.map +1 -0
- package/dist/{chunk-YJKTYMF4.js → chunk-J4TTEMRW.js} +5 -7
- package/dist/{chunk-YJKTYMF4.js.map → chunk-J4TTEMRW.js.map} +1 -1
- package/dist/{chunk-D5CIV4IB.js → chunk-NE6H7S5Z.js} +2 -2
- package/dist/{chunk-LWJITLCI.js → chunk-OBWM2RFE.js} +3 -3
- package/dist/{chunk-T2CHVUXH.js → chunk-OQR3HXPF.js} +5 -1
- package/dist/chunk-OQR3HXPF.js.map +1 -0
- package/dist/{chunk-JWB5Z5GS.js → chunk-PQJXWXTS.js} +4 -4
- package/dist/{chunk-YWKS4ESK.js → chunk-PVTAFUDS.js} +2 -2
- package/dist/{chunk-JE2DXS4U.js → chunk-QQRTUHCH.js} +2 -2
- package/dist/{chunk-JVISXD4K.js → chunk-SZOTLVH6.js} +2 -2
- package/dist/{chunk-54GR2G3U.js → chunk-UARZZJJB.js} +5 -5
- package/dist/{chunk-WKYMLLHT.js → chunk-XNE2ROCP.js} +2 -2
- package/dist/{chunk-WB3KV4VH.js → chunk-YWHGCKMT.js} +3 -3
- package/dist/context-mention-palette/index.js +8 -8
- package/dist/i18n/index.d.ts +4 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +4 -4
- 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-WKFMSABH.js.map +0 -1
- package/dist/chunk-ZXHXR2KT.js.map +0 -1
- /package/dist/{AgentRichTextReadonly-SPIPM3UM.js.map → AgentRichTextReadonly-PEKCMRPE.js.map} +0 -0
- /package/dist/{chunk-EG7IIFNL.js.map → chunk-GCQYN7BR.js.map} +0 -0
- /package/dist/{chunk-D5CIV4IB.js.map → chunk-NE6H7S5Z.js.map} +0 -0
- /package/dist/{chunk-LWJITLCI.js.map → chunk-OBWM2RFE.js.map} +0 -0
- /package/dist/{chunk-JWB5Z5GS.js.map → chunk-PQJXWXTS.js.map} +0 -0
- /package/dist/{chunk-YWKS4ESK.js.map → chunk-PVTAFUDS.js.map} +0 -0
- /package/dist/{chunk-JE2DXS4U.js.map → chunk-QQRTUHCH.js.map} +0 -0
- /package/dist/{chunk-JVISXD4K.js.map → chunk-SZOTLVH6.js.map} +0 -0
- /package/dist/{chunk-54GR2G3U.js.map → chunk-UARZZJJB.js.map} +0 -0
- /package/dist/{chunk-WKYMLLHT.js.map → chunk-XNE2ROCP.js.map} +0 -0
- /package/dist/{chunk-WB3KV4VH.js.map → chunk-YWHGCKMT.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":[]}
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveAgentGUIConversationTitleDisplayPrompt,
|
|
10
10
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
11
11
|
resolveAgentGuiWorkbenchSessionTitle
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PVTAFUDS.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-PEKCMRPE.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-GCQYN7BR.js.map
|