@tutti-os/agent-gui 0.0.71 → 0.0.73
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/README.md +5 -0
- package/dist/{AgentMentionSearchController-Po0KQLcL.d.ts → AgentMentionSearchController-DD_WOred.d.ts} +1 -0
- package/dist/agent-conversation/index.d.ts +2 -2
- package/dist/agent-conversation/index.js +6 -6
- package/dist/agent-message-center/index.d.ts +2 -1
- package/dist/agent-message-center/index.js +12 -10
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/{agentGuiNodeTypes-C0oBQn-F.d.ts → agentGuiNodeTypes-aJ3AX7u2.d.ts} +39 -18
- package/dist/app/renderer/agentactivity.css +156 -1
- package/dist/{chunk-KTIHLBCN.js → chunk-2I2WRI4F.js} +248 -4
- package/dist/chunk-2I2WRI4F.js.map +1 -0
- package/dist/{chunk-DXENDZEF.js → chunk-3PKRGSMH.js} +2 -2
- package/dist/{chunk-QDWV5VTD.js → chunk-466AWJTS.js} +6 -31
- package/dist/chunk-466AWJTS.js.map +1 -0
- package/dist/{chunk-SG6A35BU.js → chunk-5H6NINJY.js} +2 -2
- package/dist/{chunk-SC3PS7AT.js → chunk-C7K3EFGI.js} +2 -2
- package/dist/{chunk-DGNKXT3Q.js → chunk-G6BVEY7I.js} +69 -3
- package/dist/chunk-G6BVEY7I.js.map +1 -0
- package/dist/{chunk-KS35VKHM.js → chunk-GDFQXJMG.js} +1 -1
- package/dist/chunk-GDFQXJMG.js.map +1 -0
- package/dist/{chunk-WWY6MYMU.js → chunk-IVIXKAEH.js} +19 -9
- package/dist/chunk-IVIXKAEH.js.map +1 -0
- package/dist/{chunk-IZX2YQXY.js → chunk-KWQ4N4IZ.js} +117 -8
- package/dist/chunk-KWQ4N4IZ.js.map +1 -0
- package/dist/{chunk-ISQCYEUJ.js → chunk-OBJRIQPX.js} +411 -62
- package/dist/chunk-OBJRIQPX.js.map +1 -0
- package/dist/{chunk-QJ42HQ24.js → chunk-Q6AWM3RH.js} +4 -4
- package/dist/{chunk-MVPSFOJZ.js → chunk-SVGIWXNK.js} +2 -2
- package/dist/{chunk-Y3C5EHSW.js → chunk-SZF52NMJ.js} +173 -12
- package/dist/chunk-SZF52NMJ.js.map +1 -0
- package/dist/{chunk-FTSEVC6O.js → chunk-XZF4QNT4.js} +2 -2
- package/dist/context-mention-palette/index.d.ts +2 -2
- package/dist/context-mention-palette/index.js +7 -7
- package/dist/i18n/index.d.ts +68 -2
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +122 -102
- package/dist/index.js +2210 -1325
- package/dist/index.js.map +1 -1
- package/dist/queued-prompt-runtime.d.ts +1 -1
- package/dist/workbench/contribution.d.ts +7 -1
- package/dist/workbench/contribution.js +4 -4
- package/dist/workbench/index.js +5 -7
- package/dist/workbench/sessionTitle.js +3 -3
- package/dist/workbench/state.js +1 -2
- package/dist/workspace-agent-generated-files.js +3 -3
- package/dist/{workspaceLinkActions-Bjy_XfBm.d.ts → workspaceLinkActions-DS9LWqzI.d.ts} +1 -1
- package/package.json +14 -14
- package/dist/chunk-DGNKXT3Q.js.map +0 -1
- package/dist/chunk-ISQCYEUJ.js.map +0 -1
- package/dist/chunk-IZX2YQXY.js.map +0 -1
- package/dist/chunk-KS35VKHM.js.map +0 -1
- package/dist/chunk-KTIHLBCN.js.map +0 -1
- package/dist/chunk-N37A62BK.js +0 -250
- package/dist/chunk-N37A62BK.js.map +0 -1
- package/dist/chunk-NROZAN34.js +0 -173
- package/dist/chunk-NROZAN34.js.map +0 -1
- package/dist/chunk-QDWV5VTD.js.map +0 -1
- package/dist/chunk-WWY6MYMU.js.map +0 -1
- package/dist/chunk-Y3C5EHSW.js.map +0 -1
- /package/dist/{chunk-DXENDZEF.js.map → chunk-3PKRGSMH.js.map} +0 -0
- /package/dist/{chunk-SG6A35BU.js.map → chunk-5H6NINJY.js.map} +0 -0
- /package/dist/{chunk-SC3PS7AT.js.map → chunk-C7K3EFGI.js.map} +0 -0
- /package/dist/{chunk-QJ42HQ24.js.map → chunk-Q6AWM3RH.js.map} +0 -0
- /package/dist/{chunk-MVPSFOJZ.js.map → chunk-SVGIWXNK.js.map} +0 -0
- /package/dist/{chunk-FTSEVC6O.js.map → chunk-XZF4QNT4.js.map} +0 -0
package/README.md
CHANGED
|
@@ -102,3 +102,8 @@ or sent as session creation authority.
|
|
|
102
102
|
Hosts that need to brand the aggregate provider rail entry may pass
|
|
103
103
|
`providerRailAllPresentation.iconUrl`. This only changes the `All` filter icon;
|
|
104
104
|
single agent or target icons continue to come from `providerTargets[].iconUrl`.
|
|
105
|
+
|
|
106
|
+
Hosts that need custom main-pane presentation for a disabled selected target may
|
|
107
|
+
pass `renderProviderUnavailableState`. AgentGUI calls this renderer only when
|
|
108
|
+
the selected `providerTargets[]` entry has `disabled: true`; install, login,
|
|
109
|
+
checking, and retry readiness gates keep the built-in AgentGUI flows.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, JSX } from 'react';
|
|
3
|
-
import { W as WorkspaceLinkAction } from '../workspaceLinkActions-
|
|
3
|
+
import { W as WorkspaceLinkAction } from '../workspaceLinkActions-DS9LWqzI.js';
|
|
4
4
|
import { A as AgentMessageMarkdownWorkspaceAppIcon } from '../AgentMessageMarkdown-DeYPURtF.js';
|
|
5
5
|
import { c as AgentConversationVM, W as WorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-DPAgUJlR.js';
|
|
6
6
|
export { B as BuildWorkspaceAgentSessionDetailInput, d as buildWorkspaceAgentSessionDetailViewModel } from '../agentConversationVM-DPAgUJlR.js';
|
|
7
|
-
import {
|
|
7
|
+
import { e as AgentGUIProviderSkillOption } from '../agentGuiNodeTypes-aJ3AX7u2.js';
|
|
8
8
|
export { W as WorkspaceAgentActivityCard, n as WorkspaceAgentActivitySession, q as WorkspaceAgentActivityTimelineItem } from '../workspaceAgentActivityListViewModel-DJvAqZso.js';
|
|
9
9
|
import '@tutti-os/workspace-issue-manager/core';
|
|
10
10
|
import '@tutti-os/agent-activity-core';
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
projectAgentConversationVM,
|
|
7
7
|
reconcileProjectedAgentConversationVM,
|
|
8
8
|
useProjectedAgentConversation
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-OBJRIQPX.js";
|
|
10
|
+
import "../chunk-IVIXKAEH.js";
|
|
11
11
|
import "../chunk-PSLAWU25.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-KWQ4N4IZ.js";
|
|
13
13
|
import "../chunk-Y35GDLP2.js";
|
|
14
14
|
import "../chunk-LUGELG5V.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-GDFQXJMG.js";
|
|
16
16
|
import "../chunk-4US2YHBY.js";
|
|
17
17
|
import {
|
|
18
18
|
translate
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-C7K3EFGI.js";
|
|
20
20
|
import "../chunk-PJP5BUU6.js";
|
|
21
21
|
import "../chunk-4I2VCAMW.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-G6BVEY7I.js";
|
|
23
23
|
|
|
24
24
|
// shared/WorkspaceAgentSessionDetail.tsx
|
|
25
25
|
import { useMemo } from "react";
|
|
@@ -2,7 +2,7 @@ import * as react from 'react';
|
|
|
2
2
|
import { JSX, ReactNode, HTMLAttributes } from 'react';
|
|
3
3
|
import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
|
|
4
4
|
import { TranslateFn, useTranslation, AgentGuiI18nLocale } from '../i18n/index.js';
|
|
5
|
-
import { W as WorkspaceLinkAction } from '../workspaceLinkActions-
|
|
5
|
+
import { W as WorkspaceLinkAction } from '../workspaceLinkActions-DS9LWqzI.js';
|
|
6
6
|
import { AgentActivityNeedsAttentionItem, AgentActivitySnapshot } from '@tutti-os/agent-activity-core';
|
|
7
7
|
import { b as AgentConversationPromptVM } from '../agentConversationVM-DPAgUJlR.js';
|
|
8
8
|
import { o as WorkspaceAgentActivityStatus } from '../workspaceAgentActivityListViewModel-DJvAqZso.js';
|
|
@@ -34,6 +34,7 @@ interface WorkspaceAgentMessageCenterCounts {
|
|
|
34
34
|
interface WorkspaceAgentMessageCenterItem {
|
|
35
35
|
id: string;
|
|
36
36
|
agentSessionId: string;
|
|
37
|
+
agentTargetId?: string | null;
|
|
37
38
|
provider: string;
|
|
38
39
|
userId: string | null;
|
|
39
40
|
title: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatAgentGuiConversationPlainTitle
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-XZF4QNT4.js";
|
|
4
4
|
import {
|
|
5
5
|
AgentInteractivePromptSurface,
|
|
6
6
|
approvalOptionDisplayLabel,
|
|
7
7
|
getPromptToolDetails,
|
|
8
8
|
isPromptRequestIdTitle
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-Q6AWM3RH.js";
|
|
10
10
|
import {
|
|
11
11
|
PLAN_IMPLEMENTATION_ACTION_IMPLEMENT,
|
|
12
12
|
PLAN_IMPLEMENTATION_PROMPT,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "../chunk-MKHDRIGN.js";
|
|
16
16
|
import {
|
|
17
17
|
formatAgentSessionMentionText
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-5H6NINJY.js";
|
|
19
19
|
import {
|
|
20
20
|
AgentMessageMarkdown,
|
|
21
21
|
CustomScrollArea,
|
|
@@ -25,17 +25,17 @@ import {
|
|
|
25
25
|
extractExitPlanModeOptions,
|
|
26
26
|
isExitPlanSwitchModeInput,
|
|
27
27
|
normalizeAskUserQuestions
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-IVIXKAEH.js";
|
|
29
29
|
import {
|
|
30
30
|
userAvatarPlaceholderUrl,
|
|
31
31
|
workspaceAgentActivityStatusLabel
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-SVGIWXNK.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveWorkspaceAgentSessionSortTimeUnixMs
|
|
35
35
|
} from "../chunk-IBIMGLCD.js";
|
|
36
36
|
import {
|
|
37
37
|
managedAgentRoundedIconUrl
|
|
38
|
-
} from "../chunk-
|
|
38
|
+
} from "../chunk-GDFQXJMG.js";
|
|
39
39
|
import {
|
|
40
40
|
workspaceAgentProviderLabel
|
|
41
41
|
} from "../chunk-4US2YHBY.js";
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
AgentGuiI18nProvider,
|
|
44
44
|
getActiveUiLanguage,
|
|
45
45
|
useTranslation
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-C7K3EFGI.js";
|
|
47
47
|
import "../chunk-PJP5BUU6.js";
|
|
48
48
|
import "../chunk-4I2VCAMW.js";
|
|
49
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-G6BVEY7I.js";
|
|
50
50
|
import "../chunk-GCBDIQDX.js";
|
|
51
51
|
|
|
52
52
|
// agent-message-center/WorkspaceAgentMessageCenterPanel.tsx
|
|
@@ -501,6 +501,7 @@ function buildWorkspaceAgentMessageCenterModel(snapshot, options = {}) {
|
|
|
501
501
|
return {
|
|
502
502
|
id: `message-center-${session.agentSessionId}`,
|
|
503
503
|
agentSessionId: session.agentSessionId,
|
|
504
|
+
agentTargetId: session.agentTargetId?.trim() || null,
|
|
504
505
|
provider: session.provider,
|
|
505
506
|
userId: session.userId?.trim() || null,
|
|
506
507
|
title,
|
|
@@ -1633,11 +1634,12 @@ function MessageCenterSummary({
|
|
|
1633
1634
|
);
|
|
1634
1635
|
const handleLinkAction = useCallback(
|
|
1635
1636
|
(action) => {
|
|
1637
|
+
const agentTargetId = item.agentTargetId?.trim() || null;
|
|
1636
1638
|
onLinkAction?.(
|
|
1637
|
-
action.type === "open-agent-session" && !action.
|
|
1639
|
+
action.type === "open-agent-session" && !action.agentTargetId && agentTargetId ? { ...action, agentTargetId } : action
|
|
1638
1640
|
);
|
|
1639
1641
|
},
|
|
1640
|
-
[item.
|
|
1642
|
+
[item.agentTargetId, onLinkAction]
|
|
1641
1643
|
);
|
|
1642
1644
|
useEffect(() => {
|
|
1643
1645
|
if (!shouldMeasureOverflow) {
|