@tutti-os/agent-gui 0.0.96 → 0.0.97
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 +6 -6
- package/dist/agent-gui.js +13 -13
- package/dist/agent-message-center/index.js +6 -6
- package/dist/app/renderer/agentactivity.css +0 -7
- package/dist/{chunk-E4HQUTM3.js → chunk-3EAANCKF.js} +2 -2
- package/dist/{chunk-AGT7MUTV.js → chunk-3RYZYA72.js} +4 -4
- package/dist/{chunk-3XXBDYAI.js → chunk-4VBKQY24.js} +3 -3
- package/dist/{chunk-O3Q5SIJH.js → chunk-4YVGHJIE.js} +7 -115
- package/dist/chunk-4YVGHJIE.js.map +1 -0
- package/dist/{chunk-QVBF5BN5.js → chunk-74CPYRWJ.js} +2 -2
- package/dist/{chunk-JKIZA7EJ.js → chunk-AAFTWZV7.js} +5 -5
- package/dist/{chunk-WMNS4MAQ.js → chunk-AO2FDYAL.js} +3 -3
- package/dist/{chunk-WKSFPJHZ.js → chunk-BIS4QRX7.js} +104 -71
- package/dist/chunk-BIS4QRX7.js.map +1 -0
- package/dist/{chunk-W6WAGPMD.js → chunk-K2NURZ7V.js} +5 -1
- package/dist/chunk-K2NURZ7V.js.map +1 -0
- package/dist/{chunk-3Y3F7CS5.js → chunk-NRJEKWLY.js} +2 -2
- package/dist/{chunk-XPFHJMZP.js → chunk-P2BCMPTX.js} +3 -3
- package/dist/{chunk-2HJEOO7W.js → chunk-SQTSLCMV.js} +10 -40
- package/dist/chunk-SQTSLCMV.js.map +1 -0
- package/dist/{chunk-4PQPJ5OY.js → chunk-XGGKHIQA.js} +2 -2
- package/dist/{chunk-H5F3QSCF.js → chunk-Y57VNTVM.js} +2 -2
- 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.js +13 -13
- package/dist/mention-search.js +6 -6
- package/dist/workbench/index.js +3 -3
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workspace-agent-generated-files.js +4 -4
- package/package.json +14 -14
- package/dist/chunk-2HJEOO7W.js.map +0 -1
- package/dist/chunk-O3Q5SIJH.js.map +0 -1
- package/dist/chunk-W6WAGPMD.js.map +0 -1
- package/dist/chunk-WKSFPJHZ.js.map +0 -1
- /package/dist/{chunk-E4HQUTM3.js.map → chunk-3EAANCKF.js.map} +0 -0
- /package/dist/{chunk-AGT7MUTV.js.map → chunk-3RYZYA72.js.map} +0 -0
- /package/dist/{chunk-3XXBDYAI.js.map → chunk-4VBKQY24.js.map} +0 -0
- /package/dist/{chunk-QVBF5BN5.js.map → chunk-74CPYRWJ.js.map} +0 -0
- /package/dist/{chunk-JKIZA7EJ.js.map → chunk-AAFTWZV7.js.map} +0 -0
- /package/dist/{chunk-WMNS4MAQ.js.map → chunk-AO2FDYAL.js.map} +0 -0
- /package/dist/{chunk-3Y3F7CS5.js.map → chunk-NRJEKWLY.js.map} +0 -0
- /package/dist/{chunk-XPFHJMZP.js.map → chunk-P2BCMPTX.js.map} +0 -0
- /package/dist/{chunk-4PQPJ5OY.js.map → chunk-XGGKHIQA.js.map} +0 -0
- /package/dist/{chunk-H5F3QSCF.js.map → chunk-Y57VNTVM.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
normalizeAgentGUIProviderIdentity,
|
|
4
4
|
resolveAgentGUIExplicitConversationTitle,
|
|
5
5
|
resolveAgentGUIProviderDisplayLabel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XGGKHIQA.js";
|
|
7
7
|
|
|
8
8
|
// workbench/sessionTitle.ts
|
|
9
9
|
function resolveAgentGuiWorkbenchHeaderTitle({
|
|
@@ -85,4 +85,4 @@ export {
|
|
|
85
85
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
86
86
|
resolveAgentGuiWorkbenchSessionTitle
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=chunk-
|
|
88
|
+
//# sourceMappingURL=chunk-NRJEKWLY.js.map
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
AgentGUIConversation_styles_default,
|
|
3
3
|
MessageSquareMoreIcon,
|
|
4
4
|
extractAgentMcpToolTarget
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SQTSLCMV.js";
|
|
6
6
|
import {
|
|
7
7
|
getOptionalAgentHostApi,
|
|
8
8
|
useOptionalAgentHostApi
|
|
9
9
|
} from "./chunk-MASXZENX.js";
|
|
10
10
|
import {
|
|
11
11
|
translate
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3EAANCKF.js";
|
|
13
13
|
|
|
14
14
|
// shared/engine/useEngineSelector.ts
|
|
15
15
|
import { useSyncExternalStoreWithSelector } from "use-sync-external-store/with-selector.js";
|
|
@@ -1312,4 +1312,4 @@ export {
|
|
|
1312
1312
|
isPromptRequestIdTitle,
|
|
1313
1313
|
AgentInteractivePromptSurface
|
|
1314
1314
|
};
|
|
1315
|
-
//# sourceMappingURL=chunk-
|
|
1315
|
+
//# sourceMappingURL=chunk-P2BCMPTX.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
translate,
|
|
11
11
|
useTranslation
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3EAANCKF.js";
|
|
13
13
|
import {
|
|
14
14
|
getAgentCustomMentionKind
|
|
15
15
|
} from "./chunk-5X7YDOC6.js";
|
|
@@ -1675,7 +1675,7 @@ function parseMentionLink(href, rawLabel, workspaceAppIcons = [], agentTargets =
|
|
|
1675
1675
|
}
|
|
1676
1676
|
const label = rawLabel.trim().replace(/^@+/, "").trim() || (kind === "workspace-app-factory" ? appFactoryFallbackLabel : "");
|
|
1677
1677
|
if (kind === "pasted-text") {
|
|
1678
|
-
return { kind, label
|
|
1678
|
+
return { kind, label };
|
|
1679
1679
|
}
|
|
1680
1680
|
if (kind === "workspace-app" || kind === "workspace-app-factory") {
|
|
1681
1681
|
const appId = kind === "workspace-app" ? entityId : "";
|
|
@@ -1690,9 +1690,7 @@ function parseMentionLink(href, rawLabel, workspaceAppIcons = [], agentTargets =
|
|
|
1690
1690
|
workspaceAppIcons,
|
|
1691
1691
|
workspaceId
|
|
1692
1692
|
})
|
|
1693
|
-
} : {}
|
|
1694
|
-
participant: label,
|
|
1695
|
-
summary: ""
|
|
1693
|
+
} : {}
|
|
1696
1694
|
};
|
|
1697
1695
|
}
|
|
1698
1696
|
if (kind === "agent-target") {
|
|
@@ -1708,9 +1706,7 @@ function parseMentionLink(href, rawLabel, workspaceAppIcons = [], agentTargets =
|
|
|
1708
1706
|
agentProviderId,
|
|
1709
1707
|
kind,
|
|
1710
1708
|
label: targetLabel,
|
|
1711
|
-
iconUrl: target?.iconUrl?.trim() || managedAgentRoundedIconUrl(agentProviderId)
|
|
1712
|
-
participant: targetLabel,
|
|
1713
|
-
summary: ""
|
|
1709
|
+
iconUrl: target?.iconUrl?.trim() || managedAgentRoundedIconUrl(agentProviderId)
|
|
1714
1710
|
};
|
|
1715
1711
|
}
|
|
1716
1712
|
if (kind === "workspace-reference") {
|
|
@@ -1726,25 +1722,18 @@ function parseMentionLink(href, rawLabel, workspaceAppIcons = [], agentTargets =
|
|
|
1726
1722
|
label,
|
|
1727
1723
|
iconUrl: mention.scope?.icon?.trim() || appIconUrl,
|
|
1728
1724
|
fileCount: referenceFileCountFromParam(mention.scope?.count ?? null),
|
|
1729
|
-
|
|
1730
|
-
referenceSource: source || void 0,
|
|
1731
|
-
summary: ""
|
|
1725
|
+
referenceSource: source || void 0
|
|
1732
1726
|
};
|
|
1733
1727
|
}
|
|
1734
1728
|
if (kind === "workspace-issue") {
|
|
1735
1729
|
return {
|
|
1736
1730
|
kind,
|
|
1737
|
-
label
|
|
1738
|
-
participant: label,
|
|
1739
|
-
summary: ""
|
|
1731
|
+
label
|
|
1740
1732
|
};
|
|
1741
1733
|
}
|
|
1742
|
-
const sessionLabel = parseSessionMentionLabel(label);
|
|
1743
1734
|
return {
|
|
1744
1735
|
kind,
|
|
1745
|
-
label
|
|
1746
|
-
participant: sessionLabel.participant,
|
|
1747
|
-
summary: sessionLabel.summary
|
|
1736
|
+
label
|
|
1748
1737
|
};
|
|
1749
1738
|
}
|
|
1750
1739
|
function referenceFileCountFromParam(value) {
|
|
@@ -1768,19 +1757,6 @@ function resolveWorkspaceAppMentionIconUrl(input) {
|
|
|
1768
1757
|
);
|
|
1769
1758
|
return exactMatch?.iconUrl?.trim() || fallbackMatch?.iconUrl?.trim() || void 0;
|
|
1770
1759
|
}
|
|
1771
|
-
function parseSessionMentionLabel(label) {
|
|
1772
|
-
const dottedParts = label.split("\xB7").map((part) => part.trim()).filter(Boolean);
|
|
1773
|
-
if (dottedParts.length >= 3) {
|
|
1774
|
-
return {
|
|
1775
|
-
participant: `${dottedParts[0]} & ${dottedParts[1]}`,
|
|
1776
|
-
summary: dottedParts.slice(2).join(" ")
|
|
1777
|
-
};
|
|
1778
|
-
}
|
|
1779
|
-
return {
|
|
1780
|
-
participant: label,
|
|
1781
|
-
summary: ""
|
|
1782
|
-
};
|
|
1783
|
-
}
|
|
1784
1760
|
function markdownLinkEndIndex(content, index) {
|
|
1785
1761
|
if (content[index] !== "[") {
|
|
1786
1762
|
return -1;
|
|
@@ -3472,7 +3448,7 @@ function MentionLink({
|
|
|
3472
3448
|
...props
|
|
3473
3449
|
}) {
|
|
3474
3450
|
"use memo";
|
|
3475
|
-
const tooltipText = mention.
|
|
3451
|
+
const tooltipText = mention.label;
|
|
3476
3452
|
const { ref: mainRef, overflowing } = useTextOverflow(tooltipText);
|
|
3477
3453
|
const link = /* @__PURE__ */ jsxs5(
|
|
3478
3454
|
"a",
|
|
@@ -3534,13 +3510,7 @@ function MentionLink({
|
|
|
3534
3510
|
"aria-hidden": "true"
|
|
3535
3511
|
}
|
|
3536
3512
|
) }),
|
|
3537
|
-
|
|
3538
|
-
/* @__PURE__ */ jsx7("span", { className: "tsh-agent-object-token__participant", children: mention.participant }),
|
|
3539
|
-
mention.summary ? /* @__PURE__ */ jsxs5("span", { className: "tsh-agent-object-token__summary", children: [
|
|
3540
|
-
" ",
|
|
3541
|
-
mention.summary
|
|
3542
|
-
] }) : null
|
|
3543
|
-
] }) : /* @__PURE__ */ jsx7("span", { className: "tsh-agent-object-token__main", ref: mainRef, children: mention.label })
|
|
3513
|
+
/* @__PURE__ */ jsx7("span", { className: "tsh-agent-object-token__main", ref: mainRef, children: mention.label })
|
|
3544
3514
|
]
|
|
3545
3515
|
}
|
|
3546
3516
|
);
|
|
@@ -3830,4 +3800,4 @@ export {
|
|
|
3830
3800
|
AgentMessageMarkdown,
|
|
3831
3801
|
CustomScrollArea
|
|
3832
3802
|
};
|
|
3833
|
-
//# sourceMappingURL=chunk-
|
|
3803
|
+
//# sourceMappingURL=chunk-SQTSLCMV.js.map
|