@tutti-os/agent-gui 0.0.42 → 0.0.44
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 +4 -4
- package/dist/agent-message-center/index.js +4 -4
- package/dist/app/renderer/agentactivity.css +17 -3
- package/dist/{chunk-XTFRVACA.js → chunk-25VZHG6G.js} +22 -7
- package/dist/chunk-25VZHG6G.js.map +1 -0
- package/dist/{chunk-3WZWZHAJ.js → chunk-64OSXJRE.js} +2 -2
- package/dist/{chunk-3PVSIL3H.js → chunk-GMLK2EFU.js} +4 -4
- package/dist/{chunk-LKOPLDPM.js → chunk-IGXC7NRW.js} +51 -3
- package/dist/chunk-IGXC7NRW.js.map +1 -0
- package/dist/{chunk-42WP3P5C.js → chunk-J4MU53PH.js} +2 -2
- package/dist/{chunk-5U4SXENC.js → chunk-SF2PE7M6.js} +16 -5
- package/dist/{chunk-5U4SXENC.js.map → chunk-SF2PE7M6.js.map} +1 -1
- package/dist/{chunk-5LVFYNIP.js → chunk-ZORA4UAT.js} +2 -2
- package/dist/{chunk-OLZP2EFK.js → chunk-ZTQKIJ5J.js} +2 -2
- package/dist/context-mention-palette/index.d.ts +2 -1
- package/dist/context-mention-palette/index.js +5 -5
- package/dist/i18n/index.d.ts +50 -2
- package/dist/i18n/index.js +1 -1
- package/dist/index.js +1007 -450
- package/dist/index.js.map +1 -1
- package/dist/workspace-agent-generated-files.js +2 -2
- package/package.json +12 -12
- package/dist/chunk-LKOPLDPM.js.map +0 -1
- package/dist/chunk-XTFRVACA.js.map +0 -1
- /package/dist/{chunk-3WZWZHAJ.js.map → chunk-64OSXJRE.js.map} +0 -0
- /package/dist/{chunk-3PVSIL3H.js.map → chunk-GMLK2EFU.js.map} +0 -0
- /package/dist/{chunk-42WP3P5C.js.map → chunk-J4MU53PH.js.map} +0 -0
- /package/dist/{chunk-5LVFYNIP.js.map → chunk-ZORA4UAT.js.map} +0 -0
- /package/dist/{chunk-OLZP2EFK.js.map → chunk-ZTQKIJ5J.js.map} +0 -0
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-MTFSQWZ6.js";
|
|
15
15
|
import {
|
|
16
16
|
translate
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IGXC7NRW.js";
|
|
18
18
|
|
|
19
19
|
// shared/managedAgentProviders.ts
|
|
20
20
|
function normalizeManagedAgentProvider(provider) {
|
|
@@ -113,4 +113,4 @@ export {
|
|
|
113
113
|
userAvatarPlaceholderUrl,
|
|
114
114
|
workspaceAgentActivityStatusLabel
|
|
115
115
|
};
|
|
116
|
-
//# sourceMappingURL=chunk-
|
|
116
|
+
//# sourceMappingURL=chunk-J4MU53PH.js.map
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
managedAgentRoundedIconUrl,
|
|
4
4
|
userAvatarPlaceholderUrl,
|
|
5
5
|
workspaceAgentActivityStatusLabel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J4MU53PH.js";
|
|
7
7
|
import {
|
|
8
8
|
normalizeAgentSessionMentionTitle
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-64OSXJRE.js";
|
|
10
10
|
import {
|
|
11
11
|
getOptionalAgentHostApi
|
|
12
12
|
} from "./chunk-TXXWUG2J.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-JM24HADP.js";
|
|
16
16
|
import {
|
|
17
17
|
translate
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IGXC7NRW.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveAgentMentionFileThumbnailUrl,
|
|
21
21
|
resolveAgentMentionFileVisualKind
|
|
@@ -1795,12 +1795,16 @@ function AgentFileMentionPalette({
|
|
|
1795
1795
|
onSelectFilter,
|
|
1796
1796
|
onExpandGroup,
|
|
1797
1797
|
onNavigateHierarchy,
|
|
1798
|
+
onNavigateIntoItem,
|
|
1798
1799
|
onOpenReferences
|
|
1799
1800
|
}) {
|
|
1800
1801
|
"use memo";
|
|
1801
1802
|
const openReferencesLabel = translate(
|
|
1802
1803
|
"agentHost.agentGui.mentionOpenReferences"
|
|
1803
1804
|
);
|
|
1805
|
+
const navigateIntoLabel = translate(
|
|
1806
|
+
"agentHost.agentGui.fileMentionEnterFolder"
|
|
1807
|
+
);
|
|
1804
1808
|
const filter = state.filter;
|
|
1805
1809
|
const highlightedBrowseCategory = highlightedKey?.startsWith("category:") ? highlightedKey.slice("category:".length) : null;
|
|
1806
1810
|
const showBrowseHint = shouldShowBrowseSearchHint({
|
|
@@ -1838,9 +1842,13 @@ function AgentFileMentionPalette({
|
|
|
1838
1842
|
state: shellState,
|
|
1839
1843
|
highlightedKey,
|
|
1840
1844
|
getItemKey: agentMentionItemKey,
|
|
1841
|
-
renderItem: (item) => renderMentionRow(agentMentionItemToRowItem(item), {
|
|
1845
|
+
renderItem: (item, { group }) => renderMentionRow(agentMentionItemToRowItem(item), {
|
|
1842
1846
|
classNames: AGENT_MENTION_ROW_CLASS_NAMES,
|
|
1843
1847
|
dataAttributeMode: "agent",
|
|
1848
|
+
...onNavigateIntoItem && canNavigateIntoMentionItem(item, group) ? {
|
|
1849
|
+
onNavigateInto: () => onNavigateIntoItem(item),
|
|
1850
|
+
navigateIntoLabel
|
|
1851
|
+
} : {},
|
|
1844
1852
|
...onOpenReferences && isReferenceableMentionItem(item) ? {
|
|
1845
1853
|
onOpenReferences: () => onOpenReferences(item),
|
|
1846
1854
|
openReferencesLabel
|
|
@@ -2026,6 +2034,9 @@ function isReferenceableMentionItem(item) {
|
|
|
2026
2034
|
}
|
|
2027
2035
|
return false;
|
|
2028
2036
|
}
|
|
2037
|
+
function canNavigateIntoMentionItem(item, group) {
|
|
2038
|
+
return group.id === "agent_generated_files" && item.kind === "file" && item.mentionNavigation === "agent-generated-folder";
|
|
2039
|
+
}
|
|
2029
2040
|
function mentionSessionAgentProvider(item) {
|
|
2030
2041
|
const queryStart = item.href.indexOf("?");
|
|
2031
2042
|
if (queryStart < 0) {
|
|
@@ -2123,4 +2134,4 @@ export {
|
|
|
2123
2134
|
AgentFileMentionPalette,
|
|
2124
2135
|
AgentContextMentionPalette
|
|
2125
2136
|
};
|
|
2126
|
-
//# sourceMappingURL=chunk-
|
|
2137
|
+
//# sourceMappingURL=chunk-SF2PE7M6.js.map
|