@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
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
projectAgentConversationVM,
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
useProjectedAgentConversation
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-25VZHG6G.js";
|
|
10
|
+
import "../chunk-ZTQKIJ5J.js";
|
|
11
|
+
import "../chunk-64OSXJRE.js";
|
|
12
12
|
import "../chunk-Y35GDLP2.js";
|
|
13
13
|
import "../chunk-TXXWUG2J.js";
|
|
14
14
|
import "../chunk-TYGL25EL.js";
|
|
15
15
|
import {
|
|
16
16
|
translate
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-IGXC7NRW.js";
|
|
18
18
|
import "../chunk-LUGELG5V.js";
|
|
19
19
|
import "../chunk-PJP5BUU6.js";
|
|
20
20
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
formatAgentSessionMentionText,
|
|
5
5
|
getPromptToolDetails,
|
|
6
6
|
isPromptRequestIdTitle
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-GMLK2EFU.js";
|
|
8
8
|
import {
|
|
9
9
|
PLAN_IMPLEMENTATION_ACTION_IMPLEMENT,
|
|
10
10
|
PLAN_IMPLEMENTATION_PROMPT,
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
cn,
|
|
18
18
|
extractAgentMcpToolTarget,
|
|
19
19
|
normalizeAskUserQuestions
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-ZTQKIJ5J.js";
|
|
21
21
|
import {
|
|
22
22
|
managedAgentRoundedIconUrl,
|
|
23
23
|
userAvatarPlaceholderUrl,
|
|
24
24
|
workspaceAgentActivityStatusLabel
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-J4MU53PH.js";
|
|
26
26
|
import "../chunk-MTFSQWZ6.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveWorkspaceAgentSessionSortTimeUnixMs
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
AgentGuiI18nProvider,
|
|
39
39
|
getActiveUiLanguage,
|
|
40
40
|
useTranslation
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-IGXC7NRW.js";
|
|
42
42
|
import "../chunk-PJP5BUU6.js";
|
|
43
43
|
|
|
44
44
|
// agent-message-center/WorkspaceAgentMessageCenterPanel.tsx
|
|
@@ -5681,11 +5681,24 @@ button.agent-gui-node__conversation-section-toggle:hover
|
|
|
5681
5681
|
padding-top: 0;
|
|
5682
5682
|
background: transparent;
|
|
5683
5683
|
border-top: 0;
|
|
5684
|
+
pointer-events: none;
|
|
5684
5685
|
}
|
|
5685
5686
|
|
|
5686
5687
|
.agent-gui-node__bottom-dock > .agent-gui-node__composer {
|
|
5687
5688
|
padding-right: 12px;
|
|
5688
5689
|
padding-left: 12px;
|
|
5690
|
+
pointer-events: none;
|
|
5691
|
+
}
|
|
5692
|
+
|
|
5693
|
+
.agent-gui-node__bottom-dock > .agent-gui-chrome__session-chrome,
|
|
5694
|
+
.agent-gui-node__bottom-dock-prompt,
|
|
5695
|
+
.agent-gui-node__bottom-dock
|
|
5696
|
+
> .agent-gui-node__composer
|
|
5697
|
+
.agent-gui-node__composer-floating-prompt,
|
|
5698
|
+
.agent-gui-node__bottom-dock
|
|
5699
|
+
> .agent-gui-node__composer
|
|
5700
|
+
.agent-gui-node__composer-input-shell {
|
|
5701
|
+
pointer-events: auto;
|
|
5689
5702
|
}
|
|
5690
5703
|
|
|
5691
5704
|
.agent-gui-node__bottom-dock-prompt {
|
|
@@ -5825,7 +5838,7 @@ button.agent-gui-node__conversation-section-toggle:hover
|
|
|
5825
5838
|
|
|
5826
5839
|
.agent-gui-node__provider-setup-notice {
|
|
5827
5840
|
position: absolute;
|
|
5828
|
-
top:
|
|
5841
|
+
top: 56px;
|
|
5829
5842
|
left: 50%;
|
|
5830
5843
|
transform: translateX(-50%);
|
|
5831
5844
|
z-index: 2;
|
|
@@ -5841,7 +5854,7 @@ button.agent-gui-node__conversation-section-toggle:hover
|
|
|
5841
5854
|
}
|
|
5842
5855
|
|
|
5843
5856
|
.agent-gui-node__detail-header + .agent-gui-node__provider-setup-notice {
|
|
5844
|
-
top: calc(64px +
|
|
5857
|
+
top: calc(64px + 16px);
|
|
5845
5858
|
}
|
|
5846
5859
|
|
|
5847
5860
|
.agent-gui-node__provider-setup-notice-action {
|
|
@@ -5854,6 +5867,7 @@ button.agent-gui-node__conversation-section-toggle:hover
|
|
|
5854
5867
|
font: inherit;
|
|
5855
5868
|
text-decoration: underline;
|
|
5856
5869
|
cursor: pointer;
|
|
5870
|
+
-webkit-app-region: no-drag;
|
|
5857
5871
|
}
|
|
5858
5872
|
|
|
5859
5873
|
.agent-gui-node__layout [data-slot="status-dot"],
|
|
@@ -6174,6 +6188,7 @@ button.agent-gui-node__conversation-section-toggle:hover
|
|
|
6174
6188
|
minmax(0, var(--agent-gui-composer-attachment-height, 0px))
|
|
6175
6189
|
minmax(40px, 1fr);
|
|
6176
6190
|
align-items: stretch;
|
|
6191
|
+
padding: 12px;
|
|
6177
6192
|
}
|
|
6178
6193
|
|
|
6179
6194
|
.agent-gui-node__composer[data-layout="dock"]
|
|
@@ -7494,7 +7509,6 @@ html[data-theme="light"] [data-message-center-item-id].agent-gui-edge-glow {
|
|
|
7494
7509
|
width: 48px;
|
|
7495
7510
|
height: 48px;
|
|
7496
7511
|
object-fit: contain;
|
|
7497
|
-
border-radius: 14px;
|
|
7498
7512
|
animation: agent-gui-empty-hero-enter 260ms cubic-bezier(0.16, 1, 0.3, 1) 40ms
|
|
7499
7513
|
both;
|
|
7500
7514
|
}
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
resolveWorkspaceFileLinkAction,
|
|
11
11
|
resolveWorkspaceFilePathCandidate,
|
|
12
12
|
resolveWorkspaceLinkAction
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZTQKIJ5J.js";
|
|
14
14
|
import {
|
|
15
15
|
attrsToMentionItem,
|
|
16
16
|
createAgentFileMentionExtension,
|
|
17
17
|
formatAgentMentionMarkdown,
|
|
18
18
|
mentionItemToAttrs,
|
|
19
19
|
parseAgentMentionMarkdown
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-64OSXJRE.js";
|
|
21
21
|
import {
|
|
22
22
|
fileChangeCountFromChanges,
|
|
23
23
|
fileChangeEntriesFromChanges,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk-TYGL25EL.js";
|
|
34
34
|
import {
|
|
35
35
|
translate
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-IGXC7NRW.js";
|
|
37
37
|
|
|
38
38
|
// shared/imageGenerationTool.ts
|
|
39
39
|
var KNOWN_IMAGE_GENERATION_TOOL_NAMES = /* @__PURE__ */ new Set([
|
|
@@ -6662,6 +6662,8 @@ import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
|
6662
6662
|
var MESSAGE_COPY_FEEDBACK_MS = 1400;
|
|
6663
6663
|
var CONTEXT_COMPACTION_NOTICE_TITLE = "Context compacted.";
|
|
6664
6664
|
var TRANSPORT_RETRY_PROGRESS_PATTERN = /\b(reconnect(?:ing)?(?:\s*(?:\.\.\.|…|[.。]+|:|-))?\s*\(?\d+\s*\/\s*\d+\)?)/i;
|
|
6665
|
+
var SYSTEM_NOTICE_WARNING_CLASS_NAME = "border-[color-mix(in_srgb,var(--state-warning)_14%,transparent)] bg-[color-mix(in_srgb,var(--background-fronted)_100%,var(--state-warning)_6%)]";
|
|
6666
|
+
var SYSTEM_NOTICE_ERROR_CLASS_NAME = "border-[color-mix(in_srgb,var(--state-danger)_20%,transparent)] bg-[color-mix(in_srgb,var(--background-fronted)_100%,var(--state-danger)_8%)]";
|
|
6665
6667
|
function AgentMessageBlock({
|
|
6666
6668
|
workspaceRoot,
|
|
6667
6669
|
basePath,
|
|
@@ -7055,12 +7057,13 @@ function AgentSystemNoticeMessage({
|
|
|
7055
7057
|
}
|
|
7056
7058
|
);
|
|
7057
7059
|
}
|
|
7058
|
-
const
|
|
7060
|
+
const isStatusNotice = systemNoticeIsStatus(notice);
|
|
7061
|
+
const noticeToneClassName = systemNoticeToneClassName(notice);
|
|
7059
7062
|
return /* @__PURE__ */ jsx12(
|
|
7060
7063
|
"section",
|
|
7061
7064
|
{
|
|
7062
|
-
role:
|
|
7063
|
-
className:
|
|
7065
|
+
role: isStatusNotice ? "status" : void 0,
|
|
7066
|
+
className: `box-border w-full min-w-0 rounded-[8px] border p-3 text-[13px] leading-5 text-[var(--text-primary)] ${noticeToneClassName}`,
|
|
7064
7067
|
children: /* @__PURE__ */ jsxs7("div", { className: "min-w-0", children: [
|
|
7065
7068
|
/* @__PURE__ */ jsx12("div", { className: "font-medium text-[var(--text-primary)]", children: title }),
|
|
7066
7069
|
detail ? /* @__PURE__ */ jsx12(AgentMessageDetailsDisclosure, { detail, className: "mt-1" }) : null
|
|
@@ -7068,6 +7071,18 @@ function AgentSystemNoticeMessage({
|
|
|
7068
7071
|
}
|
|
7069
7072
|
);
|
|
7070
7073
|
}
|
|
7074
|
+
function systemNoticeToneClassName(notice) {
|
|
7075
|
+
if (notice?.severity === "error" || notice?.noticeKind === "transport_fallback") {
|
|
7076
|
+
return SYSTEM_NOTICE_ERROR_CLASS_NAME;
|
|
7077
|
+
}
|
|
7078
|
+
if (notice?.severity === "warning") {
|
|
7079
|
+
return SYSTEM_NOTICE_WARNING_CLASS_NAME;
|
|
7080
|
+
}
|
|
7081
|
+
return SYSTEM_NOTICE_WARNING_CLASS_NAME;
|
|
7082
|
+
}
|
|
7083
|
+
function systemNoticeIsStatus(notice) {
|
|
7084
|
+
return notice?.severity === "warning" || notice?.severity === "error" || notice?.noticeKind === "transport_fallback";
|
|
7085
|
+
}
|
|
7071
7086
|
function transportRetryNoticeText(message) {
|
|
7072
7087
|
const notice = message.systemNotice;
|
|
7073
7088
|
const detail = notice?.detail?.trim() ?? "";
|
|
@@ -12740,4 +12755,4 @@ export {
|
|
|
12740
12755
|
AgentConversationFlow,
|
|
12741
12756
|
useProjectedAgentConversation
|
|
12742
12757
|
};
|
|
12743
|
-
//# sourceMappingURL=chunk-
|
|
12758
|
+
//# sourceMappingURL=chunk-25VZHG6G.js.map
|