@tutti-os/agent-gui 0.0.23 → 0.0.24
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/AgentMessageMarkdown-DQL8udfP.d.ts +640 -0
- package/dist/agent-conversation/index.d.ts +5 -14
- package/dist/agent-conversation/index.js +2 -2
- package/dist/agent-message-center/index.d.ts +2 -2
- package/dist/agent-message-center/index.js +2 -2
- package/dist/{agentConversationVM-CGYkOuOP.d.ts → agentConversationVM-BvlmCNOm.d.ts} +2 -2
- package/dist/app/renderer/agentactivity.css +21 -28
- package/dist/{chunk-ZC4E2QJU.js → chunk-4MOHKNXA.js} +2 -2
- package/dist/{chunk-MQAGIHYM.js → chunk-7JW4OAKS.js} +35 -3
- package/dist/chunk-7JW4OAKS.js.map +1 -0
- package/dist/{chunk-7Q3JKSQ5.js → chunk-BUBD5E4F.js} +124 -43
- package/dist/chunk-BUBD5E4F.js.map +1 -0
- package/dist/{chunk-3LVEFR2N.js → chunk-Q6QE7JNG.js} +14 -13
- package/dist/{chunk-3LVEFR2N.js.map → chunk-Q6QE7JNG.js.map} +1 -1
- package/dist/context-mention-palette/index.d.ts +1 -3
- package/dist/context-mention-palette/index.js +1 -1
- package/dist/index.d.ts +13 -417
- package/dist/index.js +125 -111
- package/dist/index.js.map +1 -1
- package/dist/plan-decision-ops.d.ts +2 -2
- package/dist/workspace-agent-generated-files.d.ts +1 -1
- package/dist/{workspaceAgentActivityListViewModel-BK_J3aNX.d.ts → workspaceAgentActivityListViewModel-jRF8cP37.d.ts} +2 -2
- package/package.json +12 -12
- package/dist/AgentMessageMarkdown-DeYPURtF.d.ts +0 -7
- package/dist/chunk-7Q3JKSQ5.js.map +0 -1
- package/dist/chunk-MQAGIHYM.js.map +0 -1
- /package/dist/{chunk-ZC4E2QJU.js.map → chunk-4MOHKNXA.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
approvalOptionDisplayLabel,
|
|
4
4
|
getPromptToolDetails,
|
|
5
5
|
isPromptRequestIdTitle
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-4MOHKNXA.js";
|
|
7
7
|
import {
|
|
8
8
|
PLAN_IMPLEMENTATION_ACTION_IMPLEMENT,
|
|
9
9
|
PLAN_IMPLEMENTATION_PROMPT,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
cn,
|
|
17
17
|
extractAgentMcpToolTarget,
|
|
18
18
|
normalizeAskUserQuestions
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-BUBD5E4F.js";
|
|
20
20
|
import {
|
|
21
21
|
managedAgentRoundedIconUrl,
|
|
22
22
|
userAvatarPlaceholderUrl,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as WorkspaceAgentActivityCard, n as WorkspaceAgentActivitySession, T as ToolCallStatusKind,
|
|
1
|
+
import { W as WorkspaceAgentActivityCard, n as WorkspaceAgentActivitySession, T as ToolCallStatusKind, q as WorkspaceAgentActivityTimelineItem } from './workspaceAgentActivityListViewModel-jRF8cP37.js';
|
|
2
2
|
|
|
3
3
|
interface WorkspaceAgentSessionDetailMessage {
|
|
4
4
|
id: string;
|
|
@@ -340,4 +340,4 @@ interface AgentConversationVM {
|
|
|
340
340
|
pendingInteractivePrompt: AgentConversationPendingInteractivePromptVM | null;
|
|
341
341
|
}
|
|
342
342
|
|
|
343
|
-
export { type
|
|
343
|
+
export { type AgentApprovalItemVM as A, type BuildWorkspaceAgentSessionDetailInput as B, type WorkspaceAgentSessionDetailViewModel as W, type AgentAskUserQuestionVM as a, type AgentConversationPromptVM as b, type AgentConversationVM as c, buildWorkspaceAgentSessionDetailViewModel as d };
|
|
@@ -623,7 +623,7 @@ aside.workspace-agents-status-panel
|
|
|
623
623
|
|
|
624
624
|
.workspace-agents-status-panel__content--detail {
|
|
625
625
|
gap: 0;
|
|
626
|
-
padding-inline:
|
|
626
|
+
padding-inline: 28px;
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
.workspace-agents-status-panel__content--detail-overlay {
|
|
@@ -2292,7 +2292,7 @@ aside.workspace-agents-status-panel
|
|
|
2292
2292
|
justify-self: stretch;
|
|
2293
2293
|
width: auto;
|
|
2294
2294
|
gap: 0;
|
|
2295
|
-
margin: 0
|
|
2295
|
+
margin: 0 8px;
|
|
2296
2296
|
padding: 0;
|
|
2297
2297
|
background: transparent;
|
|
2298
2298
|
}
|
|
@@ -2317,11 +2317,16 @@ aside.workspace-agents-status-panel
|
|
|
2317
2317
|
}
|
|
2318
2318
|
|
|
2319
2319
|
.agent-gui-chrome__session-chrome:has(+ .agent-gui-chrome__session-chrome) {
|
|
2320
|
-
margin-right:
|
|
2321
|
-
margin-left:
|
|
2320
|
+
margin-right: 16px;
|
|
2321
|
+
margin-left: 16px;
|
|
2322
2322
|
}
|
|
2323
2323
|
|
|
2324
2324
|
.agent-gui-node__composer-input-group > .agent-gui-chrome__session-chrome {
|
|
2325
|
+
margin-right: 8px;
|
|
2326
|
+
margin-left: 8px;
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
.agent-gui-node__composer-input-group-hero > .agent-gui-chrome__session-chrome {
|
|
2325
2330
|
margin-right: 24px;
|
|
2326
2331
|
margin-left: 24px;
|
|
2327
2332
|
}
|
|
@@ -2332,8 +2337,8 @@ aside.workspace-agents-status-panel
|
|
|
2332
2337
|
.agent-gui-node__composer-input-group
|
|
2333
2338
|
> .agent-gui-chrome__session-chrome
|
|
2334
2339
|
) {
|
|
2335
|
-
margin-right:
|
|
2336
|
-
margin-left:
|
|
2340
|
+
margin-right: 16px;
|
|
2341
|
+
margin-left: 16px;
|
|
2337
2342
|
}
|
|
2338
2343
|
|
|
2339
2344
|
.agent-gui-node__bottom-dock
|
|
@@ -2345,8 +2350,8 @@ aside.workspace-agents-status-panel
|
|
|
2345
2350
|
+ .agent-gui-node__composer
|
|
2346
2351
|
.agent-gui-node__composer-input-group
|
|
2347
2352
|
> .agent-gui-chrome__session-chrome {
|
|
2348
|
-
margin-right:
|
|
2349
|
-
margin-left:
|
|
2353
|
+
margin-right: 8px;
|
|
2354
|
+
margin-left: 8px;
|
|
2350
2355
|
}
|
|
2351
2356
|
|
|
2352
2357
|
.agent-gui-chrome__card {
|
|
@@ -2520,23 +2525,6 @@ aside.workspace-agents-status-panel
|
|
|
2520
2525
|
cursor: pointer;
|
|
2521
2526
|
}
|
|
2522
2527
|
|
|
2523
|
-
.agent-gui-node__empty-hero-body
|
|
2524
|
-
> .agent-gui-chrome__session-chrome
|
|
2525
|
-
> .agent-gui-chrome__card--danger,
|
|
2526
|
-
.agent-gui-node__composer-input-group
|
|
2527
|
-
> .agent-gui-chrome__session-chrome
|
|
2528
|
-
> .agent-gui-chrome__card--danger,
|
|
2529
|
-
.agent-gui-node__bottom-dock
|
|
2530
|
-
> .agent-gui-chrome__session-chrome:has(+ .agent-gui-node__composer)
|
|
2531
|
-
> .agent-gui-chrome__card--danger {
|
|
2532
|
-
border-bottom: 1px solid
|
|
2533
|
-
color-mix(
|
|
2534
|
-
in srgb,
|
|
2535
|
-
var(--status-danger, var(--state-danger)) 16%,
|
|
2536
|
-
transparent
|
|
2537
|
-
);
|
|
2538
|
-
}
|
|
2539
|
-
|
|
2540
2528
|
.agent-gui-chrome__card[data-has-inline-actions="true"] {
|
|
2541
2529
|
padding-right: 4px;
|
|
2542
2530
|
}
|
|
@@ -3818,7 +3806,7 @@ aside.workspace-agents-status-panel
|
|
|
3818
3806
|
--agent-conversation-text: var(--text-primary);
|
|
3819
3807
|
--agent-conversation-user-text: var(--text-primary);
|
|
3820
3808
|
--agent-conversation-user-bg: var(--agent-gui-surface-muted);
|
|
3821
|
-
--agent-gui-detail-padding-x:
|
|
3809
|
+
--agent-gui-detail-padding-x: 28px;
|
|
3822
3810
|
--agent-gui-detail-flow-max-width: 1280px;
|
|
3823
3811
|
width: 100%;
|
|
3824
3812
|
height: 100%;
|
|
@@ -4427,6 +4415,11 @@ button.agent-gui-node__conversation-section-toggle:hover
|
|
|
4427
4415
|
pointer-events: auto;
|
|
4428
4416
|
}
|
|
4429
4417
|
|
|
4418
|
+
.agent-gui-node__conversation-section[data-kind="conversations"]
|
|
4419
|
+
.agent-gui-node__conversation-section-actions {
|
|
4420
|
+
min-width: 0;
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4430
4423
|
.agent-gui-node__conversation-section-action-tooltip-wrap {
|
|
4431
4424
|
position: relative;
|
|
4432
4425
|
display: inline-flex;
|
|
@@ -5153,8 +5146,8 @@ button.agent-gui-node__conversation-section-toggle:hover
|
|
|
5153
5146
|
}
|
|
5154
5147
|
|
|
5155
5148
|
.workspace-agents-status-panel__conversation-timeline.agent-gui-node__timeline {
|
|
5156
|
-
padding-right:
|
|
5157
|
-
padding-left:
|
|
5149
|
+
padding-right: 28px;
|
|
5150
|
+
padding-left: 28px;
|
|
5158
5151
|
}
|
|
5159
5152
|
|
|
5160
5153
|
.agent-gui-node__timeline-with-composer {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
AgentGUIConversation_styles_default,
|
|
8
8
|
MessageSquareMoreIcon,
|
|
9
9
|
extractAgentMcpToolTarget
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BUBD5E4F.js";
|
|
11
11
|
import {
|
|
12
12
|
Spinner
|
|
13
13
|
} from "./chunk-F7XLV7M3.js";
|
|
@@ -1120,4 +1120,4 @@ export {
|
|
|
1120
1120
|
isPromptRequestIdTitle,
|
|
1121
1121
|
AgentInteractivePromptSurface
|
|
1122
1122
|
};
|
|
1123
|
-
//# sourceMappingURL=chunk-
|
|
1123
|
+
//# sourceMappingURL=chunk-4MOHKNXA.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
resolveWorkspaceFileLinkAction,
|
|
11
11
|
resolveWorkspaceFilePathCandidate,
|
|
12
12
|
resolveWorkspaceLinkAction
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BUBD5E4F.js";
|
|
14
14
|
import {
|
|
15
15
|
attrsToMentionItem,
|
|
16
16
|
createAgentFileMentionExtension,
|
|
@@ -6310,6 +6310,7 @@ var CanvasNodeGhostIconButton = forwardRef3(function CanvasNodeGhostIconButton2(
|
|
|
6310
6310
|
// shared/agentConversation/components/AgentMessageBlock.tsx
|
|
6311
6311
|
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
6312
6312
|
var MESSAGE_COPY_FEEDBACK_MS = 1400;
|
|
6313
|
+
var CONTEXT_COMPACTION_NOTICE_TITLE = "Context compacted.";
|
|
6313
6314
|
function AgentMessageBlock({
|
|
6314
6315
|
workspaceRoot,
|
|
6315
6316
|
basePath,
|
|
@@ -6653,6 +6654,33 @@ function AgentSystemNoticeMessage({
|
|
|
6653
6654
|
"use memo";
|
|
6654
6655
|
const notice = message.systemNotice;
|
|
6655
6656
|
const detail = notice?.detail?.trim() ?? "";
|
|
6657
|
+
const title = systemNoticeTitle(message);
|
|
6658
|
+
if (isContextCompactionNotice(message, title)) {
|
|
6659
|
+
return /* @__PURE__ */ jsxs7(
|
|
6660
|
+
"div",
|
|
6661
|
+
{
|
|
6662
|
+
role: "status",
|
|
6663
|
+
className: "box-border flex w-full min-w-0 items-center gap-3 py-2 text-[12px] leading-4 text-[var(--text-secondary)]",
|
|
6664
|
+
children: [
|
|
6665
|
+
/* @__PURE__ */ jsx12(
|
|
6666
|
+
"span",
|
|
6667
|
+
{
|
|
6668
|
+
"aria-hidden": "true",
|
|
6669
|
+
className: "h-px min-w-4 flex-1 bg-[var(--line-1)]"
|
|
6670
|
+
}
|
|
6671
|
+
),
|
|
6672
|
+
/* @__PURE__ */ jsx12("span", { className: "shrink-0 whitespace-nowrap", children: title }),
|
|
6673
|
+
/* @__PURE__ */ jsx12(
|
|
6674
|
+
"span",
|
|
6675
|
+
{
|
|
6676
|
+
"aria-hidden": "true",
|
|
6677
|
+
className: "h-px min-w-4 flex-1 bg-[var(--line-1)]"
|
|
6678
|
+
}
|
|
6679
|
+
)
|
|
6680
|
+
]
|
|
6681
|
+
}
|
|
6682
|
+
);
|
|
6683
|
+
}
|
|
6656
6684
|
const isWarning = notice?.severity === "warning" || notice?.severity === "error";
|
|
6657
6685
|
return /* @__PURE__ */ jsx12(
|
|
6658
6686
|
"section",
|
|
@@ -6660,12 +6688,16 @@ function AgentSystemNoticeMessage({
|
|
|
6660
6688
|
role: isWarning ? "status" : void 0,
|
|
6661
6689
|
className: "box-border w-full min-w-0 rounded-[8px] border border-[color-mix(in_srgb,var(--state-warning)_14%,transparent)] bg-[color-mix(in_srgb,var(--background-fronted)_100%,var(--state-warning)_6%)] p-3 text-[13px] leading-5 text-[var(--text-primary)]",
|
|
6662
6690
|
children: /* @__PURE__ */ jsxs7("div", { className: "min-w-0", children: [
|
|
6663
|
-
/* @__PURE__ */ jsx12("div", { className: "font-medium text-[var(--text-primary)]", children:
|
|
6691
|
+
/* @__PURE__ */ jsx12("div", { className: "font-medium text-[var(--text-primary)]", children: title }),
|
|
6664
6692
|
detail ? /* @__PURE__ */ jsx12(AgentMessageDetailsDisclosure, { detail, className: "mt-1" }) : null
|
|
6665
6693
|
] })
|
|
6666
6694
|
}
|
|
6667
6695
|
);
|
|
6668
6696
|
}
|
|
6697
|
+
function isContextCompactionNotice(message, title) {
|
|
6698
|
+
const notice = message.systemNotice;
|
|
6699
|
+
return notice?.noticeKind === "system_notice" && (notice.detail?.trim() ?? "") === "" && title.trim() === CONTEXT_COMPACTION_NOTICE_TITLE;
|
|
6700
|
+
}
|
|
6669
6701
|
function AgentPlanCardMessage({
|
|
6670
6702
|
message,
|
|
6671
6703
|
workspaceRoot,
|
|
@@ -12282,4 +12314,4 @@ export {
|
|
|
12282
12314
|
AgentConversationFlow,
|
|
12283
12315
|
useProjectedAgentConversation
|
|
12284
12316
|
};
|
|
12285
|
-
//# sourceMappingURL=chunk-
|
|
12317
|
+
//# sourceMappingURL=chunk-7JW4OAKS.js.map
|