@tutti-os/agent-gui 0.0.94 → 0.0.95
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 +48 -32
- package/dist/AgentGUI-CwBLYtv-.d.ts +992 -0
- package/dist/agent-conversation/index.d.ts +5 -7
- package/dist/agent-conversation/index.js +12 -8
- package/dist/agent-conversation/index.js.map +1 -1
- package/dist/agent-env/index.d.ts +10 -36
- package/dist/agent-env/index.js +1 -56
- package/dist/agent-env/index.js.map +1 -1
- package/dist/agent-gui.d.ts +21 -0
- package/dist/agent-gui.js +39 -0
- package/dist/agent-message-center/index.d.ts +145 -124
- package/dist/agent-message-center/index.js +1374 -1316
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/{agentConversationVM-Cl4G0Lln.d.ts → agentConversationVM-C335TR6S.d.ts} +112 -7
- package/dist/agentFileMentionContracts-Czvz6YMI.d.ts +107 -0
- package/dist/{agentGuiNodeTypes-CAioPXK9.d.ts → agentGuiNodeTypes-DppADPHW.d.ts} +96 -148
- package/dist/agentPlanPromptDispatch-C7cCMjve.d.ts +37 -0
- package/dist/agents.d.ts +13 -0
- package/dist/agents.js +13 -0
- package/dist/app/renderer/agentactivity.css +126 -80
- package/dist/app/renderer/assets/icons/agent-vinyls/tutti-vinyl.png +0 -0
- package/dist/app/renderer/assets/icons/open-link-lined.svg +4 -0
- package/dist/{chunk-P72YLKC6.js → chunk-3R2D4E57.js} +3127 -3398
- package/dist/chunk-3R2D4E57.js.map +1 -0
- package/dist/chunk-4YG7YK7S.js +23 -0
- package/dist/chunk-4YG7YK7S.js.map +1 -0
- package/dist/chunk-5X7YDOC6.js +42 -0
- package/dist/chunk-5X7YDOC6.js.map +1 -0
- package/dist/{chunk-IBIMGLCD.js → chunk-7J4K6WKB.js} +1 -1
- package/dist/chunk-7J4K6WKB.js.map +1 -0
- package/dist/{chunk-BXVPOGYK.js → chunk-7PFDA2HQ.js} +505 -504
- package/dist/chunk-7PFDA2HQ.js.map +1 -0
- package/dist/{chunk-AWAIUYG4.js → chunk-7RDD3EWP.js} +513 -555
- package/dist/chunk-7RDD3EWP.js.map +1 -0
- package/dist/{chunk-UBDPV34P.js → chunk-AOS2VWU6.js} +1355 -1305
- package/dist/chunk-AOS2VWU6.js.map +1 -0
- package/dist/{chunk-E5FOXRUM.js → chunk-BFNJKTDV.js} +295 -255
- package/dist/chunk-BFNJKTDV.js.map +1 -0
- package/dist/{chunk-5FE7M42A.js → chunk-BIHBXWK5.js} +2 -2
- package/dist/{chunk-7BUYFVRI.js → chunk-C5FV4UGI.js} +2921 -2944
- package/dist/chunk-C5FV4UGI.js.map +1 -0
- package/dist/{chunk-SCLLP5DO.js → chunk-CRO2MV2Y.js} +36 -46
- package/dist/chunk-CRO2MV2Y.js.map +1 -0
- package/dist/chunk-FGLQZ6I4.js +9 -0
- package/dist/chunk-FGLQZ6I4.js.map +1 -0
- package/dist/chunk-H6IQ63DQ.js +14 -0
- package/dist/chunk-H6IQ63DQ.js.map +1 -0
- package/dist/{chunk-IGY4ASUF.js → chunk-JX2SIXNL.js} +1293 -1702
- package/dist/chunk-JX2SIXNL.js.map +1 -0
- package/dist/chunk-KAL4XZMA.js +231 -0
- package/dist/chunk-KAL4XZMA.js.map +1 -0
- package/dist/chunk-KJQERFKX.js +259 -0
- package/dist/chunk-KJQERFKX.js.map +1 -0
- package/dist/chunk-LQVXBT65.js +491 -0
- package/dist/chunk-LQVXBT65.js.map +1 -0
- package/dist/{chunk-554VG7ZW.js → chunk-NITOD7WF.js} +2 -2
- package/dist/{chunk-7LMJXF4R.js → chunk-NJAZ7LQM.js} +20 -16
- package/dist/chunk-NJAZ7LQM.js.map +1 -0
- package/dist/chunk-NX3CZJXW.js +25 -0
- package/dist/chunk-NX3CZJXW.js.map +1 -0
- package/dist/chunk-O6W72SEP.js +93 -0
- package/dist/chunk-O6W72SEP.js.map +1 -0
- package/dist/chunk-RY6GIO3K.js +31700 -0
- package/dist/chunk-RY6GIO3K.js.map +1 -0
- package/dist/{chunk-XDV4ZRVK.js → chunk-UGVI47X6.js} +98 -37
- package/dist/chunk-UGVI47X6.js.map +1 -0
- package/dist/{chunk-XW4CVBUH.js → chunk-UQJPV6HP.js} +18 -11
- package/dist/chunk-UQJPV6HP.js.map +1 -0
- package/dist/{chunk-GAPTLVII.js → chunk-VF22EG3F.js} +1 -1
- package/dist/{chunk-GAPTLVII.js.map → chunk-VF22EG3F.js.map} +1 -1
- package/dist/{chunk-45FF4DQU.js → chunk-WEDMAVX2.js} +22 -24
- package/dist/chunk-WEDMAVX2.js.map +1 -0
- package/dist/{chunk-MATIJPGF.js → chunk-XMO45GKA.js} +531 -401
- package/dist/chunk-XMO45GKA.js.map +1 -0
- package/dist/{chunk-ZUW4B5AT.js → chunk-YE25HN6T.js} +6 -9
- package/dist/chunk-YE25HN6T.js.map +1 -0
- package/dist/context-mention-palette/index.d.ts +3 -2
- package/dist/context-mention-palette/index.js +19 -14
- package/dist/custom-mention.d.ts +44 -0
- package/dist/custom-mention.js +17 -0
- package/dist/custom-mention.js.map +1 -0
- package/dist/dock-icons.d.ts +6 -0
- package/dist/dock-icons.js +11 -0
- package/dist/dock-icons.js.map +1 -0
- package/dist/i18n/index.d.ts +850 -841
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +52 -1061
- package/dist/index.js +72 -35530
- package/dist/index.js.map +1 -1
- package/dist/mention-search.d.ts +226 -0
- package/dist/mention-search.js +29 -0
- package/dist/mention-search.js.map +1 -0
- package/dist/open-link-lined-JWEKUKME.svg +4 -0
- package/dist/provider-icons.d.ts +6 -0
- package/dist/provider-icons.js +12 -0
- package/dist/provider-icons.js.map +1 -0
- package/dist/provider-identity.d.ts +9 -0
- package/dist/provider-identity.js +21 -0
- package/dist/provider-identity.js.map +1 -0
- package/dist/runtime-BBNdWgDU.d.ts +10 -0
- package/dist/{types-PLFZ8SBX.d.ts → types-DX2bxgB8.d.ts} +28 -83
- package/dist/workbench/contribution.d.ts +32 -40
- package/dist/workbench/contribution.js +10 -6
- package/dist/workbench/index.d.ts +3 -2
- package/dist/workbench/index.js +24 -20
- package/dist/workbench/launch.d.ts +2 -5
- package/dist/workbench/launch.js +4 -3
- package/dist/workbench/providerCatalog.js +2 -1
- package/dist/workbench/sessionTitle.d.ts +4 -3
- package/dist/workbench/sessionTitle.js +4 -3
- package/dist/workbench/state.d.ts +1 -1
- package/dist/workbench/state.js +3 -2
- package/dist/workbench/types.d.ts +0 -3
- package/dist/workbench/types.js +1 -1
- package/dist/workspace-agent-generated-files.d.ts +20 -2
- package/dist/workspace-agent-generated-files.js +7 -6
- package/dist/workspaceAgentActivityListTypes-C7gPWYiA.d.ts +71 -0
- package/package.json +63 -26
- package/dist/AgentMentionSearchController-DD_WOred.d.ts +0 -241
- package/dist/AgentMessageMarkdown-DeYPURtF.d.ts +0 -7
- package/dist/chunk-45FF4DQU.js.map +0 -1
- package/dist/chunk-4HP6V2YA.js +0 -207
- package/dist/chunk-4HP6V2YA.js.map +0 -1
- package/dist/chunk-7BUYFVRI.js.map +0 -1
- package/dist/chunk-7LMJXF4R.js.map +0 -1
- package/dist/chunk-AWAIUYG4.js.map +0 -1
- package/dist/chunk-BXVPOGYK.js.map +0 -1
- package/dist/chunk-E5FOXRUM.js.map +0 -1
- package/dist/chunk-IBIMGLCD.js.map +0 -1
- package/dist/chunk-IGY4ASUF.js.map +0 -1
- package/dist/chunk-LR4FA5X6.js +0 -368
- package/dist/chunk-LR4FA5X6.js.map +0 -1
- package/dist/chunk-MATIJPGF.js.map +0 -1
- package/dist/chunk-MKHDRIGN.js +0 -71
- package/dist/chunk-MKHDRIGN.js.map +0 -1
- package/dist/chunk-P72YLKC6.js.map +0 -1
- package/dist/chunk-SCLLP5DO.js.map +0 -1
- package/dist/chunk-UBDPV34P.js.map +0 -1
- package/dist/chunk-VAKFNNKT.js +0 -410
- package/dist/chunk-VAKFNNKT.js.map +0 -1
- package/dist/chunk-XDV4ZRVK.js.map +0 -1
- package/dist/chunk-XW4CVBUH.js.map +0 -1
- package/dist/chunk-ZUW4B5AT.js.map +0 -1
- package/dist/plan-decision-ops.d.ts +0 -70
- package/dist/plan-decision-ops.js +0 -19
- package/dist/queued-prompt-runtime.d.ts +0 -115
- package/dist/queued-prompt-runtime.js +0 -9
- package/dist/workspaceAgentActivityListViewModel-BzV-cf0D.d.ts +0 -340
- package/dist/workspaceLinkActions-DS9LWqzI.d.ts +0 -74
- /package/dist/{plan-decision-ops.js.map → agent-gui.js.map} +0 -0
- /package/dist/{queued-prompt-runtime.js.map → agents.js.map} +0 -0
- /package/dist/{chunk-5FE7M42A.js.map → chunk-BIHBXWK5.js.map} +0 -0
- /package/dist/{chunk-554VG7ZW.js.map → chunk-NITOD7WF.js.map} +0 -0
package/dist/workbench/index.js
CHANGED
|
@@ -8,17 +8,7 @@ import {
|
|
|
8
8
|
createAgentGuiWorkbenchContribution,
|
|
9
9
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
10
10
|
resolveAgentGuiWorkbenchContributionCopy
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import {
|
|
13
|
-
agentGuiWorkbenchProviderFromInstanceId,
|
|
14
|
-
areAgentGuiWorkbenchNodeStatesEqual,
|
|
15
|
-
areAgentGuiWorkbenchStatesEqual,
|
|
16
|
-
createAgentGuiWorkbenchNodeStateSource,
|
|
17
|
-
createDefaultAgentGuiWorkbenchNodeState,
|
|
18
|
-
normalizeAgentGuiWorkbenchNodeState,
|
|
19
|
-
normalizeAgentGuiWorkbenchState,
|
|
20
|
-
projectAgentGuiWorkbenchState
|
|
21
|
-
} from "../chunk-45FF4DQU.js";
|
|
11
|
+
} from "../chunk-7RDD3EWP.js";
|
|
22
12
|
import {
|
|
23
13
|
agentGuiWorkbenchDockEntryId,
|
|
24
14
|
agentGuiWorkbenchDockIdentityFromIdentifier,
|
|
@@ -31,11 +21,17 @@ import {
|
|
|
31
21
|
createAgentGuiWorkbenchInstanceId,
|
|
32
22
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
33
23
|
createAgentGuiWorkbenchSessionLaunchRequest
|
|
34
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-NJAZ7LQM.js";
|
|
35
25
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
26
|
+
agentGuiWorkbenchProviderFromInstanceId,
|
|
27
|
+
areAgentGuiWorkbenchNodeStatesEqual,
|
|
28
|
+
areAgentGuiWorkbenchStatesEqual,
|
|
29
|
+
createAgentGuiWorkbenchNodeStateSource,
|
|
30
|
+
createDefaultAgentGuiWorkbenchNodeState,
|
|
31
|
+
normalizeAgentGuiWorkbenchNodeState,
|
|
32
|
+
normalizeAgentGuiWorkbenchState,
|
|
33
|
+
projectAgentGuiWorkbenchState
|
|
34
|
+
} from "../chunk-WEDMAVX2.js";
|
|
39
35
|
import {
|
|
40
36
|
agentGuiWorkbenchComingSoonProviders,
|
|
41
37
|
agentGuiWorkbenchDefaultDockProviders,
|
|
@@ -48,16 +44,24 @@ import {
|
|
|
48
44
|
isAgentGuiWorkbenchProvider,
|
|
49
45
|
normalizeAgentGuiWorkbenchProvider,
|
|
50
46
|
resolveAgentGuiWorkbenchProviderLabel
|
|
51
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-UQJPV6HP.js";
|
|
48
|
+
import {
|
|
49
|
+
agentGuiWorkbenchOpenSessionActivationType,
|
|
50
|
+
agentGuiWorkbenchPrefillPromptActivationType
|
|
51
|
+
} from "../chunk-VF22EG3F.js";
|
|
52
|
+
import "../chunk-O6W72SEP.js";
|
|
53
|
+
import "../chunk-4YG7YK7S.js";
|
|
52
54
|
import {
|
|
53
55
|
formatAgentGuiConversationPlainTitle,
|
|
54
56
|
formatAgentGuiSessionPlainTitle,
|
|
55
57
|
resolveAgentGuiWorkbenchSessionTitle
|
|
56
|
-
} from "../chunk-
|
|
57
|
-
import "../chunk-
|
|
58
|
-
import "../chunk-XDV4ZRVK.js";
|
|
59
|
-
import "../chunk-UBDPV34P.js";
|
|
58
|
+
} from "../chunk-YE25HN6T.js";
|
|
59
|
+
import "../chunk-CRO2MV2Y.js";
|
|
60
60
|
import "../chunk-GCBDIQDX.js";
|
|
61
|
+
import "../chunk-H6IQ63DQ.js";
|
|
62
|
+
import "../chunk-AOS2VWU6.js";
|
|
63
|
+
import "../chunk-KJQERFKX.js";
|
|
64
|
+
import "../chunk-UGVI47X6.js";
|
|
61
65
|
export {
|
|
62
66
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
63
67
|
AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT,
|
|
@@ -5,12 +5,9 @@ type AgentGuiWorkbenchLaunchRequestInput = Pick<WorkbenchHostLaunchRequest, "lau
|
|
|
5
5
|
dockEntryId?: string | null;
|
|
6
6
|
};
|
|
7
7
|
declare const agentGuiWorkbenchTypeId = "agent-gui";
|
|
8
|
-
|
|
9
|
-
kind: "legacyProvider";
|
|
10
|
-
provider: AgentGuiWorkbenchProvider;
|
|
11
|
-
} | {
|
|
8
|
+
interface AgentGuiWorkbenchDockIdentity {
|
|
12
9
|
kind: "unifiedAggregate";
|
|
13
|
-
}
|
|
10
|
+
}
|
|
14
11
|
declare function agentGuiWorkbenchDockEntryId(provider: AgentGuiWorkbenchProvider): string;
|
|
15
12
|
declare function agentGuiWorkbenchUnifiedDockEntryId(): string;
|
|
16
13
|
declare function agentGuiWorkbenchInstanceId(provider: AgentGuiWorkbenchProvider): string;
|
package/dist/workbench/launch.js
CHANGED
|
@@ -12,11 +12,12 @@ import {
|
|
|
12
12
|
createAgentGuiWorkbenchSessionLaunchRequest,
|
|
13
13
|
resolveAgentGuiWorkbenchLaunchDockEntryId,
|
|
14
14
|
shouldReuseAgentGuiWorkbenchDockEntryNode
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-NJAZ7LQM.js";
|
|
16
|
+
import "../chunk-UQJPV6HP.js";
|
|
16
17
|
import {
|
|
17
18
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-VF22EG3F.js";
|
|
20
|
+
import "../chunk-KJQERFKX.js";
|
|
20
21
|
export {
|
|
21
22
|
agentGuiWorkbenchDockEntryId,
|
|
22
23
|
agentGuiWorkbenchDockIdentityFromIdentifier,
|
|
@@ -10,7 +10,8 @@ import {
|
|
|
10
10
|
isAgentGuiWorkbenchProvider,
|
|
11
11
|
normalizeAgentGuiWorkbenchProvider,
|
|
12
12
|
resolveAgentGuiWorkbenchProviderLabel
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-UQJPV6HP.js";
|
|
14
|
+
import "../chunk-KJQERFKX.js";
|
|
14
15
|
export {
|
|
15
16
|
agentGuiWorkbenchComingSoonProviders,
|
|
16
17
|
agentGuiWorkbenchDefaultDockProviders,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AgentActivityMessage, AgentActivitySession } from '@tutti-os/agent-activity-core';
|
|
2
2
|
import { U as UiLanguage } from '../uiSettings-BQS9r2eo.js';
|
|
3
3
|
import { AgentGuiWorkbenchProvider } from './types.js';
|
|
4
4
|
|
|
@@ -10,7 +10,8 @@ interface ResolveAgentGuiWorkbenchSessionTitleInput extends AgentGuiSessionTitle
|
|
|
10
10
|
agentSessionId?: string | null;
|
|
11
11
|
fallbackTitle?: string | null;
|
|
12
12
|
provider: AgentGuiWorkbenchProvider | string;
|
|
13
|
-
|
|
13
|
+
messages?: readonly AgentActivityMessage[];
|
|
14
|
+
session?: AgentActivitySession | null;
|
|
14
15
|
}
|
|
15
16
|
interface AgentGuiWorkbenchSessionTitleResult {
|
|
16
17
|
agentSessionId: string | null;
|
|
@@ -22,6 +23,6 @@ declare function formatAgentGuiConversationPlainTitle(conversation: {
|
|
|
22
23
|
title: string;
|
|
23
24
|
titleFallback?: "generic-agent" | null;
|
|
24
25
|
}, options?: AgentGuiSessionTitleFormatOptions): string;
|
|
25
|
-
declare function resolveAgentGuiWorkbenchSessionTitle({ agentSessionId, fallbackTitle, language, provider,
|
|
26
|
+
declare function resolveAgentGuiWorkbenchSessionTitle({ agentSessionId, fallbackTitle, language, provider, messages, session }: ResolveAgentGuiWorkbenchSessionTitleInput): AgentGuiWorkbenchSessionTitleResult;
|
|
26
27
|
|
|
27
28
|
export { type AgentGuiSessionTitleFormatOptions, type AgentGuiWorkbenchSessionTitleResult, type ResolveAgentGuiWorkbenchSessionTitleInput, formatAgentGuiConversationPlainTitle, formatAgentGuiSessionPlainTitle, resolveAgentGuiWorkbenchSessionTitle };
|
|
@@ -2,10 +2,11 @@ import {
|
|
|
2
2
|
formatAgentGuiConversationPlainTitle,
|
|
3
3
|
formatAgentGuiSessionPlainTitle,
|
|
4
4
|
resolveAgentGuiWorkbenchSessionTitle
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-UBDPV34P.js";
|
|
5
|
+
} from "../chunk-YE25HN6T.js";
|
|
6
|
+
import "../chunk-CRO2MV2Y.js";
|
|
8
7
|
import "../chunk-GCBDIQDX.js";
|
|
8
|
+
import "../chunk-AOS2VWU6.js";
|
|
9
|
+
import "../chunk-KJQERFKX.js";
|
|
9
10
|
export {
|
|
10
11
|
formatAgentGuiConversationPlainTitle,
|
|
11
12
|
formatAgentGuiSessionPlainTitle,
|
|
@@ -12,7 +12,7 @@ declare function normalizeAgentGuiWorkbenchState(state: unknown): AgentGuiWorkbe
|
|
|
12
12
|
declare function migrateLegacyAgentGuiWorkbenchState(state: unknown): unknown;
|
|
13
13
|
declare function projectAgentGuiWorkbenchState(state: AgentGuiWorkbenchNodeState): AgentGuiWorkbenchState;
|
|
14
14
|
declare function areAgentGuiWorkbenchStatesEqual(left: AgentGuiWorkbenchState, right: AgentGuiWorkbenchState): boolean;
|
|
15
|
-
declare function normalizeAgentGuiWorkbenchNodeState(state:
|
|
15
|
+
declare function normalizeAgentGuiWorkbenchNodeState(state: unknown, fallbackProvider?: AgentGuiWorkbenchProvider): AgentGuiWorkbenchNodeState;
|
|
16
16
|
declare function areAgentGuiWorkbenchNodeStatesEqual(left: AgentGuiWorkbenchNodeState, right: AgentGuiWorkbenchNodeState): boolean;
|
|
17
17
|
declare function agentGuiWorkbenchProviderFromInstanceId(instanceId: string | null | undefined): AgentGuiWorkbenchProvider;
|
|
18
18
|
/**
|
package/dist/workbench/state.js
CHANGED
|
@@ -9,8 +9,9 @@ import {
|
|
|
9
9
|
normalizeAgentGuiWorkbenchNodeState,
|
|
10
10
|
normalizeAgentGuiWorkbenchState,
|
|
11
11
|
projectAgentGuiWorkbenchState
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-WEDMAVX2.js";
|
|
13
|
+
import "../chunk-UQJPV6HP.js";
|
|
14
|
+
import "../chunk-KJQERFKX.js";
|
|
14
15
|
export {
|
|
15
16
|
agentGuiWorkbenchProviderFromInstanceId,
|
|
16
17
|
agentGuiWorkbenchProviderFromInstanceIdOrNull,
|
|
@@ -26,8 +26,6 @@ interface AgentGuiWorkbenchNodeState {
|
|
|
26
26
|
conversationRailCollapsed?: boolean | null;
|
|
27
27
|
conversationRailWidthPx?: number | null;
|
|
28
28
|
lastActiveAgentSessionId: string | null;
|
|
29
|
-
/** @deprecated Conversation titles are derived from the active session id. */
|
|
30
|
-
lastActiveConversationTitle?: string | null;
|
|
31
29
|
provider: AgentGuiWorkbenchProvider;
|
|
32
30
|
}
|
|
33
31
|
interface AgentGuiWorkbenchState {
|
|
@@ -35,7 +33,6 @@ interface AgentGuiWorkbenchState {
|
|
|
35
33
|
conversationRailCollapsed?: boolean | null;
|
|
36
34
|
conversationRailWidthPx?: number | null;
|
|
37
35
|
lastActiveAgentSessionId: string | null;
|
|
38
|
-
lastActiveConversationTitle?: string | null;
|
|
39
36
|
}
|
|
40
37
|
interface AgentGuiWorkbenchWorkspaceState {
|
|
41
38
|
workspaceId: string;
|
package/dist/workbench/types.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
agentGuiWorkbenchOpenSessionActivationType,
|
|
3
3
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-VF22EG3F.js";
|
|
5
5
|
export {
|
|
6
6
|
agentGuiWorkbenchOpenSessionActivationType,
|
|
7
7
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { b as WorkspaceAgentActivityListSnapshot, B as BuildWorkspaceAgentActivityListOptions, c as WorkspaceAgentActivityListViewModel, d as WorkspaceAgentActivityStatus, C as CollectWorkspaceAgentGeneratedFilesOptions, e as WorkspaceAgentChangedFile } from './workspaceAgentActivityListTypes-C7gPWYiA.js';
|
|
2
|
+
export { W as WorkspaceAgentActivityCard } from './workspaceAgentActivityListTypes-C7gPWYiA.js';
|
|
3
|
+
import { AgentActivitySession, AgentActivityMessage } from '@tutti-os/agent-activity-core';
|
|
4
|
+
|
|
5
|
+
declare function workspaceAgentProviderLabel(provider: string): string;
|
|
6
|
+
|
|
7
|
+
declare function buildWorkspaceAgentActivityListViewModel(snapshot: WorkspaceAgentActivityListSnapshot, options?: BuildWorkspaceAgentActivityListOptions): WorkspaceAgentActivityListViewModel;
|
|
8
|
+
declare function reuseWorkspaceAgentActivityListViewModelIfUnchanged(previous: WorkspaceAgentActivityListViewModel | null, next: WorkspaceAgentActivityListViewModel): WorkspaceAgentActivityListViewModel;
|
|
9
|
+
|
|
10
|
+
declare function resolveWorkspaceAgentActivityStatus(session: AgentActivitySession): WorkspaceAgentActivityStatus;
|
|
11
|
+
|
|
12
|
+
declare function resolveWorkspaceAgentActivityTitle(session: AgentActivitySession, messages?: readonly AgentActivityMessage[]): string;
|
|
13
|
+
|
|
14
|
+
interface WorkspaceAgentGeneratedFilesSource {
|
|
15
|
+
sessionMessagesById: Readonly<Record<string, AgentActivityMessage[]>>;
|
|
16
|
+
sessions: readonly AgentActivitySession[];
|
|
17
|
+
}
|
|
18
|
+
declare function collectWorkspaceAgentGeneratedFiles(source: WorkspaceAgentGeneratedFilesSource, options?: CollectWorkspaceAgentGeneratedFilesOptions): WorkspaceAgentChangedFile[];
|
|
19
|
+
|
|
20
|
+
export { BuildWorkspaceAgentActivityListOptions, CollectWorkspaceAgentGeneratedFilesOptions, WorkspaceAgentActivityListSnapshot, WorkspaceAgentActivityListViewModel, WorkspaceAgentActivityStatus, WorkspaceAgentChangedFile, buildWorkspaceAgentActivityListViewModel, collectWorkspaceAgentGeneratedFiles, resolveWorkspaceAgentActivityStatus, resolveWorkspaceAgentActivityTitle, reuseWorkspaceAgentActivityListViewModelIfUnchanged, workspaceAgentProviderLabel };
|
|
@@ -4,15 +4,16 @@ import {
|
|
|
4
4
|
resolveWorkspaceAgentActivityStatus,
|
|
5
5
|
resolveWorkspaceAgentActivityTitle,
|
|
6
6
|
reuseWorkspaceAgentActivityListViewModelIfUnchanged
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-BFNJKTDV.js";
|
|
8
|
+
import "./chunk-7J4K6WKB.js";
|
|
9
|
+
import "./chunk-GCBDIQDX.js";
|
|
9
10
|
import "./chunk-Y35GDLP2.js";
|
|
10
11
|
import {
|
|
11
12
|
workspaceAgentProviderLabel
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-NX3CZJXW.js";
|
|
14
|
+
import "./chunk-BIHBXWK5.js";
|
|
15
|
+
import "./chunk-AOS2VWU6.js";
|
|
16
|
+
import "./chunk-KJQERFKX.js";
|
|
16
17
|
export {
|
|
17
18
|
buildWorkspaceAgentActivityListViewModel,
|
|
18
19
|
collectWorkspaceAgentGeneratedFiles,
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { AgentActivityMessage, AgentActivitySnapshot } from '@tutti-os/agent-activity-core';
|
|
2
|
+
|
|
3
|
+
interface AgentHostUserInfo {
|
|
4
|
+
userId: string;
|
|
5
|
+
email?: string;
|
|
6
|
+
avatar?: string;
|
|
7
|
+
avatarObjectKey?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
}
|
|
10
|
+
interface AgentHostBatchUserInfoInput {
|
|
11
|
+
userIds: string[];
|
|
12
|
+
}
|
|
13
|
+
interface AgentHostBatchUserInfoResult {
|
|
14
|
+
users: AgentHostUserInfo[];
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
type ToolCallStatusKind = "working" | "completed" | "failed" | "canceled" | "waiting";
|
|
18
|
+
interface WorkspaceAgentToolCallDisplay {
|
|
19
|
+
id: string;
|
|
20
|
+
name: string;
|
|
21
|
+
status: string | null;
|
|
22
|
+
statusKind: ToolCallStatusKind | null;
|
|
23
|
+
detail?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
type WorkspaceAgentLatestActivityStatus = "working" | "waiting" | "idle" | "completed" | "canceled" | "failed";
|
|
27
|
+
interface WorkspaceAgentConversationPreviewLine {
|
|
28
|
+
actorName: string;
|
|
29
|
+
summary: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
type WorkspaceAgentActivityStatus = WorkspaceAgentLatestActivityStatus;
|
|
33
|
+
interface WorkspaceAgentChangedFile {
|
|
34
|
+
path: string;
|
|
35
|
+
label: string;
|
|
36
|
+
}
|
|
37
|
+
interface WorkspaceAgentActivityCard {
|
|
38
|
+
id: string;
|
|
39
|
+
sessionId: string;
|
|
40
|
+
userId: string | null;
|
|
41
|
+
userName: string;
|
|
42
|
+
userAvatarUrl?: string;
|
|
43
|
+
agentProvider: string;
|
|
44
|
+
agentName: string;
|
|
45
|
+
title: string;
|
|
46
|
+
status: WorkspaceAgentActivityStatus;
|
|
47
|
+
latestActivitySummary: string;
|
|
48
|
+
/** User prompt + latest agent reply for task/issue execution cards; room status list uses single-line summary only. */
|
|
49
|
+
conversationPreview?: WorkspaceAgentConversationPreviewLine[];
|
|
50
|
+
latestActivityActorName?: string;
|
|
51
|
+
toolCalls?: WorkspaceAgentToolCallDisplay[];
|
|
52
|
+
changedFiles: WorkspaceAgentChangedFile[];
|
|
53
|
+
sortTimeUnixMs: number;
|
|
54
|
+
readTimeUnixMs?: number;
|
|
55
|
+
}
|
|
56
|
+
interface WorkspaceAgentActivityListViewModel {
|
|
57
|
+
activities: WorkspaceAgentActivityCard[];
|
|
58
|
+
}
|
|
59
|
+
interface BuildWorkspaceAgentActivityListOptions {
|
|
60
|
+
sessionMessagesById?: Record<string, AgentActivityMessage[]>;
|
|
61
|
+
userProfilesById?: Record<string, AgentHostUserInfo>;
|
|
62
|
+
}
|
|
63
|
+
interface CollectWorkspaceAgentGeneratedFilesOptions {
|
|
64
|
+
workspaceRoot?: string | null;
|
|
65
|
+
/** When set, only include files from sessions whose cwd matches this path. */
|
|
66
|
+
sessionCwd?: string | null;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
type WorkspaceAgentActivityListSnapshot = Pick<AgentActivitySnapshot, "presences" | "sessions">;
|
|
70
|
+
|
|
71
|
+
export type { AgentHostBatchUserInfoInput as A, BuildWorkspaceAgentActivityListOptions as B, CollectWorkspaceAgentGeneratedFilesOptions as C, ToolCallStatusKind as T, WorkspaceAgentActivityCard as W, AgentHostBatchUserInfoResult as a, WorkspaceAgentActivityListSnapshot as b, WorkspaceAgentActivityListViewModel as c, WorkspaceAgentActivityStatus as d, WorkspaceAgentChangedFile as e };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tutti-os/agent-gui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.95",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -9,6 +9,26 @@
|
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
10
10
|
"import": "./dist/index.js"
|
|
11
11
|
},
|
|
12
|
+
"./agent-gui": {
|
|
13
|
+
"types": "./dist/agent-gui.d.ts",
|
|
14
|
+
"import": "./dist/agent-gui.js"
|
|
15
|
+
},
|
|
16
|
+
"./agents": {
|
|
17
|
+
"types": "./dist/agents.d.ts",
|
|
18
|
+
"import": "./dist/agents.js"
|
|
19
|
+
},
|
|
20
|
+
"./custom-mention": {
|
|
21
|
+
"types": "./dist/custom-mention.d.ts",
|
|
22
|
+
"import": "./dist/custom-mention.js"
|
|
23
|
+
},
|
|
24
|
+
"./dock-icons": {
|
|
25
|
+
"types": "./dist/dock-icons.d.ts",
|
|
26
|
+
"import": "./dist/dock-icons.js"
|
|
27
|
+
},
|
|
28
|
+
"./mention-search": {
|
|
29
|
+
"types": "./dist/mention-search.d.ts",
|
|
30
|
+
"import": "./dist/mention-search.js"
|
|
31
|
+
},
|
|
12
32
|
"./agent-message-center": {
|
|
13
33
|
"types": "./dist/agent-message-center/index.d.ts",
|
|
14
34
|
"import": "./dist/agent-message-center/index.js"
|
|
@@ -25,10 +45,6 @@
|
|
|
25
45
|
"types": "./dist/context-mention-palette/index.d.ts",
|
|
26
46
|
"import": "./dist/context-mention-palette/index.js"
|
|
27
47
|
},
|
|
28
|
-
"./plan-decision-ops": {
|
|
29
|
-
"types": "./dist/plan-decision-ops.d.ts",
|
|
30
|
-
"import": "./dist/plan-decision-ops.js"
|
|
31
|
-
},
|
|
32
48
|
"./context-mention-provider": {
|
|
33
49
|
"types": "./dist/context-mention-provider.d.ts",
|
|
34
50
|
"import": "./dist/context-mention-provider.js"
|
|
@@ -37,14 +53,18 @@
|
|
|
37
53
|
"types": "./dist/mention-file-presentation.d.ts",
|
|
38
54
|
"import": "./dist/mention-file-presentation.js"
|
|
39
55
|
},
|
|
40
|
-
"./queued-prompt-runtime": {
|
|
41
|
-
"types": "./dist/queued-prompt-runtime.d.ts",
|
|
42
|
-
"import": "./dist/queued-prompt-runtime.js"
|
|
43
|
-
},
|
|
44
56
|
"./agent-title-text": {
|
|
45
57
|
"types": "./dist/agent-title-text.d.ts",
|
|
46
58
|
"import": "./dist/agent-title-text.js"
|
|
47
59
|
},
|
|
60
|
+
"./provider-icons": {
|
|
61
|
+
"types": "./dist/provider-icons.d.ts",
|
|
62
|
+
"import": "./dist/provider-icons.js"
|
|
63
|
+
},
|
|
64
|
+
"./provider-identity": {
|
|
65
|
+
"types": "./dist/provider-identity.d.ts",
|
|
66
|
+
"import": "./dist/provider-identity.js"
|
|
67
|
+
},
|
|
48
68
|
"./workspace-agent-generated-files": {
|
|
49
69
|
"types": "./dist/workspace-agent-generated-files.d.ts",
|
|
50
70
|
"import": "./dist/workspace-agent-generated-files.js"
|
|
@@ -100,17 +120,17 @@
|
|
|
100
120
|
"@tiptap/react": "^3.11.1",
|
|
101
121
|
"@tiptap/starter-kit": "^3.11.1",
|
|
102
122
|
"@tiptap/suggestion": "^3.11.1",
|
|
103
|
-
"@tutti-os/agent-activity-core": "0.0.
|
|
104
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
105
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
106
|
-
"@tutti-os/ui-rich-text": "0.0.
|
|
107
|
-
"@tutti-os/ui-system": "0.0.
|
|
108
|
-
"@tutti-os/workbench-surface": "0.0.
|
|
109
|
-
"@tutti-os/workspace-external-core": "0.0.
|
|
110
|
-
"@tutti-os/workspace-file-manager": "0.0.
|
|
111
|
-
"@tutti-os/workspace-file-reference": "0.0.
|
|
112
|
-
"@tutti-os/workspace-issue-manager": "0.0.
|
|
113
|
-
"@tutti-os/workspace-user-project": "0.0.
|
|
123
|
+
"@tutti-os/agent-activity-core": "0.0.95",
|
|
124
|
+
"@tutti-os/ui-i18n-runtime": "0.0.95",
|
|
125
|
+
"@tutti-os/ui-react-hooks": "0.0.95",
|
|
126
|
+
"@tutti-os/ui-rich-text": "0.0.95",
|
|
127
|
+
"@tutti-os/ui-system": "0.0.95",
|
|
128
|
+
"@tutti-os/workbench-surface": "0.0.95",
|
|
129
|
+
"@tutti-os/workspace-external-core": "0.0.95",
|
|
130
|
+
"@tutti-os/workspace-file-manager": "0.0.95",
|
|
131
|
+
"@tutti-os/workspace-file-reference": "0.0.95",
|
|
132
|
+
"@tutti-os/workspace-issue-manager": "0.0.95",
|
|
133
|
+
"@tutti-os/workspace-user-project": "0.0.95",
|
|
114
134
|
"clsx": "^2.1.1",
|
|
115
135
|
"framer-motion": "^12.40.0",
|
|
116
136
|
"lodash": "^4.17.21",
|
|
@@ -120,6 +140,7 @@
|
|
|
120
140
|
"remark-gfm": "^4.0.1",
|
|
121
141
|
"tailwind-merge": "^3.6.0",
|
|
122
142
|
"three": "^0.185.1",
|
|
143
|
+
"use-sync-external-store": "^1.6.0",
|
|
123
144
|
"valtio": "^2.3.2",
|
|
124
145
|
"zustand": "^5.0.14"
|
|
125
146
|
},
|
|
@@ -131,6 +152,7 @@
|
|
|
131
152
|
"@types/react": "^19.1.6",
|
|
132
153
|
"@types/react-dom": "^19.1.5",
|
|
133
154
|
"@types/three": "^0.185.1",
|
|
155
|
+
"@types/use-sync-external-store": "^0.0.6",
|
|
134
156
|
"jsdom": "^27.2.0",
|
|
135
157
|
"tsup": "8.5.1",
|
|
136
158
|
"typescript": "^5.8.3",
|
|
@@ -156,9 +178,24 @@
|
|
|
156
178
|
},
|
|
157
179
|
"typesVersions": {
|
|
158
180
|
"*": {
|
|
181
|
+
"agent-gui": [
|
|
182
|
+
"./dist/agent-gui.d.ts"
|
|
183
|
+
],
|
|
184
|
+
"agents": [
|
|
185
|
+
"./dist/agents.d.ts"
|
|
186
|
+
],
|
|
159
187
|
"agent-message-center": [
|
|
160
188
|
"./dist/agent-message-center/index.d.ts"
|
|
161
189
|
],
|
|
190
|
+
"custom-mention": [
|
|
191
|
+
"./dist/custom-mention.d.ts"
|
|
192
|
+
],
|
|
193
|
+
"dock-icons": [
|
|
194
|
+
"./dist/dock-icons.d.ts"
|
|
195
|
+
],
|
|
196
|
+
"mention-search": [
|
|
197
|
+
"./dist/mention-search.d.ts"
|
|
198
|
+
],
|
|
162
199
|
"agent-conversation": [
|
|
163
200
|
"./dist/agent-conversation/index.d.ts"
|
|
164
201
|
],
|
|
@@ -168,21 +205,21 @@
|
|
|
168
205
|
"context-mention-palette": [
|
|
169
206
|
"./dist/context-mention-palette/index.d.ts"
|
|
170
207
|
],
|
|
171
|
-
"plan-decision-ops": [
|
|
172
|
-
"./dist/plan-decision-ops.d.ts"
|
|
173
|
-
],
|
|
174
208
|
"context-mention-provider": [
|
|
175
209
|
"./dist/context-mention-provider.d.ts"
|
|
176
210
|
],
|
|
177
211
|
"mention-file-presentation": [
|
|
178
212
|
"./dist/mention-file-presentation.d.ts"
|
|
179
213
|
],
|
|
180
|
-
"queued-prompt-runtime": [
|
|
181
|
-
"./dist/queued-prompt-runtime.d.ts"
|
|
182
|
-
],
|
|
183
214
|
"agent-title-text": [
|
|
184
215
|
"./dist/agent-title-text.d.ts"
|
|
185
216
|
],
|
|
217
|
+
"provider-icons": [
|
|
218
|
+
"./dist/provider-icons.d.ts"
|
|
219
|
+
],
|
|
220
|
+
"provider-identity": [
|
|
221
|
+
"./dist/provider-identity.d.ts"
|
|
222
|
+
],
|
|
186
223
|
"workspace-agent-generated-files": [
|
|
187
224
|
"./dist/workspace-agent-generated-files.d.ts"
|
|
188
225
|
],
|