@tutti-os/agent-gui 0.0.99 → 0.0.101
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/{AgentGUI-Bkk2TRS0.d.ts → AgentGUI-FECh2x1p.d.ts} +19 -37
- package/dist/agent-conversation/index.d.ts +4 -4
- package/dist/agent-conversation/index.js +8 -9
- package/dist/agent-conversation/index.js.map +1 -1
- package/dist/agent-gui.d.ts +5 -4
- package/dist/agent-gui.js +19 -19
- package/dist/agent-message-center/index.d.ts +4 -6
- package/dist/agent-message-center/index.js +13 -52
- package/dist/agent-message-center/index.js.map +1 -1
- package/dist/agent-title-text.js +1 -1
- package/dist/{agentConversationVM-C335TR6S.d.ts → agentConversationVM-BzHZhwFP.d.ts} +1 -1
- package/dist/{agentGuiNodeTypes-DAsluxjv.d.ts → agentGuiNodeTypes-BH3lz6gn.d.ts} +21 -5
- package/dist/app/renderer/agentactivity.css +142 -72
- package/dist/chunk-2RQM7PJN.js +16 -0
- package/dist/chunk-2RQM7PJN.js.map +1 -0
- package/dist/{chunk-FSKGEGGX.js → chunk-4E3QCW6L.js} +17 -3
- package/dist/chunk-4E3QCW6L.js.map +1 -0
- package/dist/{chunk-63BE6RGM.js → chunk-4YCCATI4.js} +14 -374
- package/dist/chunk-4YCCATI4.js.map +1 -0
- package/dist/{chunk-IYEXLOUE.js → chunk-4YVKAPKW.js} +5 -8
- package/dist/chunk-4YVKAPKW.js.map +1 -0
- package/dist/{chunk-MRRICFWA.js → chunk-D7HMQLBO.js} +159 -55
- package/dist/chunk-D7HMQLBO.js.map +1 -0
- package/dist/{chunk-OTRZBTFQ.js → chunk-DWUVRWXD.js} +2 -2
- package/dist/{chunk-RHTZAODZ.js → chunk-E5AD46HP.js} +2 -2
- package/dist/{chunk-3NOJFKDV.js → chunk-EUW6VPIK.js} +414 -49
- package/dist/chunk-EUW6VPIK.js.map +1 -0
- package/dist/{chunk-Y35GDLP2.js → chunk-F5UR6EJG.js} +2 -17
- package/dist/chunk-F5UR6EJG.js.map +1 -0
- package/dist/{chunk-J7ZYAUPC.js → chunk-FAE7CXZO.js} +8 -6
- package/dist/chunk-FAE7CXZO.js.map +1 -0
- package/dist/{chunk-CPUEPDF7.js → chunk-GCW57WYQ.js} +646 -595
- package/dist/chunk-GCW57WYQ.js.map +1 -0
- package/dist/{chunk-4ROALW3K.js → chunk-KAV2WHTG.js} +82 -61
- package/dist/chunk-KAV2WHTG.js.map +1 -0
- package/dist/chunk-MIJXEELH.js +96 -0
- package/dist/chunk-MIJXEELH.js.map +1 -0
- package/dist/{chunk-T6PEJFRP.js → chunk-MJOQP2ED.js} +392 -452
- package/dist/chunk-MJOQP2ED.js.map +1 -0
- package/dist/{chunk-QWGJ5TEG.js → chunk-QY22OBJS.js} +28 -30
- package/dist/chunk-QY22OBJS.js.map +1 -0
- package/dist/{chunk-SPZJCTBV.js → chunk-TDVYZEUI.js} +348 -322
- package/dist/chunk-TDVYZEUI.js.map +1 -0
- package/dist/{chunk-MASXZENX.js → chunk-UESYITH6.js} +21 -2
- package/dist/chunk-UESYITH6.js.map +1 -0
- package/dist/{chunk-PLCHNOXL.js → chunk-VQOPBBBI.js} +1288 -1141
- package/dist/chunk-VQOPBBBI.js.map +1 -0
- package/dist/{chunk-7M77BK6K.js → chunk-ZPKPIHMZ.js} +196 -156
- package/dist/chunk-ZPKPIHMZ.js.map +1 -0
- package/dist/context-mention-palette/index.d.ts +5 -1
- package/dist/context-mention-palette/index.js +10 -11
- package/dist/contribution-CTVBPN0R.d.ts +119 -0
- package/dist/i18n/index.d.ts +16 -2
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +8 -7
- package/dist/index.js +21 -20
- package/dist/index.js.map +1 -1
- package/dist/mention-search.d.ts +18 -6
- package/dist/mention-search.js +8 -9
- package/dist/workbench/contribution.d.ts +6 -107
- package/dist/workbench/contribution.js +7 -3
- package/dist/workbench/index.d.ts +6 -4
- package/dist/workbench/index.js +27 -21
- package/dist/workbench/launch.d.ts +13 -5
- package/dist/workbench/launch.js +1 -1
- package/dist/workbench/sessionTitle.d.ts +5 -7
- package/dist/workbench/sessionTitle.js +3 -4
- package/dist/workbench/state.js +3 -1
- package/dist/workspace-agent-generated-files.d.ts +8 -13
- package/dist/workspace-agent-generated-files.js +6 -21
- package/dist/{workspaceAgentActivityListTypes-C7gPWYiA.d.ts → workspaceAgentActivityListTypes-DZfS_HgG.d.ts} +3 -26
- package/package.json +14 -14
- package/dist/chunk-3NOJFKDV.js.map +0 -1
- package/dist/chunk-4ROALW3K.js.map +0 -1
- package/dist/chunk-63BE6RGM.js.map +0 -1
- package/dist/chunk-7M77BK6K.js.map +0 -1
- package/dist/chunk-CPUEPDF7.js.map +0 -1
- package/dist/chunk-FSKGEGGX.js.map +0 -1
- package/dist/chunk-GAD6Y3BF.js +0 -88
- package/dist/chunk-GAD6Y3BF.js.map +0 -1
- package/dist/chunk-GCBDIQDX.js +0 -22
- package/dist/chunk-GCBDIQDX.js.map +0 -1
- package/dist/chunk-IYEXLOUE.js.map +0 -1
- package/dist/chunk-J7ZYAUPC.js.map +0 -1
- package/dist/chunk-MASXZENX.js.map +0 -1
- package/dist/chunk-MRRICFWA.js.map +0 -1
- package/dist/chunk-PLCHNOXL.js.map +0 -1
- package/dist/chunk-QWGJ5TEG.js.map +0 -1
- package/dist/chunk-SPZJCTBV.js.map +0 -1
- package/dist/chunk-T6PEJFRP.js.map +0 -1
- package/dist/chunk-Y35GDLP2.js.map +0 -1
- package/dist/chunk-Y5M6Q6WX.js +0 -25
- package/dist/chunk-Y5M6Q6WX.js.map +0 -1
- /package/dist/{chunk-OTRZBTFQ.js.map → chunk-DWUVRWXD.js.map} +0 -0
- /package/dist/{chunk-RHTZAODZ.js.map → chunk-E5AD46HP.js.map} +0 -0
|
@@ -1,107 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare const agentGuiWorkbenchDefaultUsableWidthRatio = 0.9;
|
|
8
|
-
declare const agentGuiWorkbenchDefaultUsableHeightRatio = 0.9;
|
|
9
|
-
declare const agentGuiWorkbenchCompactVisibleAreaRatio = 0.9;
|
|
10
|
-
declare const agentGuiWorkbenchNewWindowCascadeOffset: {
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
};
|
|
14
|
-
declare const agentGuiWorkbenchProviderRailWidthPx = 52;
|
|
15
|
-
declare const agentGuiWorkbenchDefaultCopy: AgentGuiWorkbenchContributionCopy;
|
|
16
|
-
type AgentGuiWorkbenchProviderAvailability = Partial<Record<AgentGuiWorkbenchProvider, boolean | "available" | "ready" | "unavailable" | {
|
|
17
|
-
available?: boolean | null;
|
|
18
|
-
status?: string | null;
|
|
19
|
-
} | null | undefined>>;
|
|
20
|
-
interface BuildAgentGuiDockEntriesInput {
|
|
21
|
-
agentDirectory: AgentGUIAgentDirectoryPort;
|
|
22
|
-
defaultProvider?: AgentGuiWorkbenchProvider | null;
|
|
23
|
-
dockIconUrls?: Partial<Record<AgentGuiWorkbenchProvider, string>>;
|
|
24
|
-
label?: string;
|
|
25
|
-
providerAvailability?: AgentGuiWorkbenchProviderAvailability;
|
|
26
|
-
renderPreview?: CreateAgentGuiWorkbenchContributionInput["renderPreview"];
|
|
27
|
-
resolveDockPopupIdentity?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupIdentity"];
|
|
28
|
-
resolveDockPopupTitle?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupTitle"];
|
|
29
|
-
sectionId?: string;
|
|
30
|
-
unifiedDockIconUrl?: string;
|
|
31
|
-
}
|
|
32
|
-
declare function buildAgentGuiDockEntries(input: BuildAgentGuiDockEntriesInput): WorkbenchHostDockEntry[];
|
|
33
|
-
declare function resolveAgentGuiUnifiedDockLaunchPayload(input: Pick<BuildAgentGuiDockEntriesInput, "agentDirectory" | "defaultProvider" | "providerAvailability">): {
|
|
34
|
-
provider: AgentGuiWorkbenchProvider;
|
|
35
|
-
agentTargetId?: string;
|
|
36
|
-
};
|
|
37
|
-
declare function resolveAgentGuiWorkbenchDefaultLaunchFrame(input: {
|
|
38
|
-
frame: WorkbenchFrame;
|
|
39
|
-
request: Pick<WorkbenchHostLaunchRequest, "layoutConstraints" | "surfaceSize">;
|
|
40
|
-
}): WorkbenchFrame;
|
|
41
|
-
declare function resolveAgentGuiWorkbenchContributionCopy(copy?: AgentGuiWorkbenchContributionCopyOverrides): AgentGuiWorkbenchContributionCopy;
|
|
42
|
-
|
|
43
|
-
declare const AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT = "tutti:agent-gui-workbench-conversation-rail-toggle";
|
|
44
|
-
declare const AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT = "tutti:agent-gui-workbench-new-conversation";
|
|
45
|
-
/**
|
|
46
|
-
* Fired when the empty-hero "Import session" suggestion is chosen. The host
|
|
47
|
-
* chrome (which owns the external-agent import wizard state) listens for this
|
|
48
|
-
* and opens the wizard.
|
|
49
|
-
*/
|
|
50
|
-
declare const AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT = "tutti:agent-gui-workbench-open-external-import";
|
|
51
|
-
interface AgentGuiWorkbenchConversationRailToggleDetail {
|
|
52
|
-
conversationRailCollapsed: boolean;
|
|
53
|
-
instanceId: string;
|
|
54
|
-
}
|
|
55
|
-
interface AgentGuiWorkbenchNewConversationDetail {
|
|
56
|
-
instanceId: string;
|
|
57
|
-
}
|
|
58
|
-
interface AgentGuiWorkbenchConversationIdentity {
|
|
59
|
-
agentTitle?: string | null;
|
|
60
|
-
iconUrl?: string | null;
|
|
61
|
-
title: string | null;
|
|
62
|
-
}
|
|
63
|
-
interface AgentGuiWorkbenchContributionCopy {
|
|
64
|
-
collapseConversationRail: string;
|
|
65
|
-
close: string;
|
|
66
|
-
expandConversationRail: string;
|
|
67
|
-
fallbackAgentLabel: string;
|
|
68
|
-
maximize: string;
|
|
69
|
-
minimize: string;
|
|
70
|
-
newConversation: string;
|
|
71
|
-
nodeTitle: string;
|
|
72
|
-
openDetachedWindow: string;
|
|
73
|
-
restore: string;
|
|
74
|
-
}
|
|
75
|
-
type AgentGuiWorkbenchContributionCopyOverrides = Partial<AgentGuiWorkbenchContributionCopy>;
|
|
76
|
-
interface AgentGuiWorkbenchRenderBodyHelpers {
|
|
77
|
-
agentDirectory: AgentGUIAgentDirectoryPort;
|
|
78
|
-
nodeTypeId: string;
|
|
79
|
-
onStateChange(state: AgentGuiWorkbenchState): void;
|
|
80
|
-
provider: AgentGuiWorkbenchProvider;
|
|
81
|
-
}
|
|
82
|
-
interface CreateAgentGuiWorkbenchContributionInput {
|
|
83
|
-
agentDirectory: AgentGUIAgentDirectoryPort;
|
|
84
|
-
copy?: AgentGuiWorkbenchContributionCopyOverrides;
|
|
85
|
-
defaultProvider?: AgentGuiWorkbenchProvider | null;
|
|
86
|
-
dockIconUrls?: Partial<Record<AgentGuiWorkbenchProvider, string>>;
|
|
87
|
-
dockSectionId?: string;
|
|
88
|
-
frame?: WorkbenchFrame;
|
|
89
|
-
id?: string;
|
|
90
|
-
providerAvailability?: AgentGuiWorkbenchProviderAvailability;
|
|
91
|
-
renderBody(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
|
|
92
|
-
renderPreview?(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
|
|
93
|
-
renderMinimizedPreview(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
|
|
94
|
-
resolveDockPopupTitle?: (state: AgentGuiWorkbenchState | null) => string | null;
|
|
95
|
-
resolveDockPopupIdentity?: (state: AgentGuiWorkbenchState | null) => AgentGuiWorkbenchConversationIdentity | null;
|
|
96
|
-
onOpenDetachedWindow?: (input: {
|
|
97
|
-
agentSessionId?: string | null;
|
|
98
|
-
agentTargetId?: string | null;
|
|
99
|
-
provider: AgentGuiWorkbenchProvider;
|
|
100
|
-
workspaceId: string;
|
|
101
|
-
}) => void | Promise<void>;
|
|
102
|
-
unifiedDockIconUrl?: string;
|
|
103
|
-
workspaceId: string;
|
|
104
|
-
}
|
|
105
|
-
declare function createAgentGuiWorkbenchContribution(input: CreateAgentGuiWorkbenchContributionInput): WorkbenchContribution;
|
|
106
|
-
|
|
107
|
-
export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT, type AgentGuiWorkbenchContributionCopy, type AgentGuiWorkbenchContributionCopyOverrides, type AgentGuiWorkbenchConversationIdentity, type AgentGuiWorkbenchConversationRailToggleDetail, type AgentGuiWorkbenchNewConversationDetail, type AgentGuiWorkbenchProviderAvailability, type AgentGuiWorkbenchRenderBodyHelpers, type BuildAgentGuiDockEntriesInput, type CreateAgentGuiWorkbenchContributionInput, agentGuiWorkbenchCompactVisibleAreaRatio, agentGuiWorkbenchDefaultCopy, agentGuiWorkbenchDefaultNodeFrame, agentGuiWorkbenchDefaultUsableHeightRatio, agentGuiWorkbenchDefaultUsableWidthRatio, agentGuiWorkbenchNewWindowCascadeOffset, agentGuiWorkbenchProviderRailWidthPx, buildAgentGuiDockEntries, createAgentGuiWorkbenchContribution, resolveAgentGuiUnifiedDockLaunchPayload, resolveAgentGuiWorkbenchContributionCopy, resolveAgentGuiWorkbenchDefaultLaunchFrame };
|
|
1
|
+
import 'react';
|
|
2
|
+
import '@tutti-os/agent-activity-core';
|
|
3
|
+
import '@tutti-os/workbench-surface';
|
|
4
|
+
export { A as AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, a as AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, b as AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT, c as AgentGuiWorkbenchContributionCopy, d as AgentGuiWorkbenchContributionCopyOverrides, e as AgentGuiWorkbenchConversationIdentity, f as AgentGuiWorkbenchConversationRailToggleDetail, g as AgentGuiWorkbenchNewConversationDetail, h as AgentGuiWorkbenchProviderAvailability, i as AgentGuiWorkbenchRenderBodyHelpers, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, j as agentGuiWorkbenchCompactVisibleAreaRatio, l as agentGuiWorkbenchDefaultCopy, m as agentGuiWorkbenchDefaultNodeFrame, n as agentGuiWorkbenchDefaultUsableHeightRatio, o as agentGuiWorkbenchDefaultUsableWidthRatio, p as agentGuiWorkbenchNewWindowCascadeOffset, q as agentGuiWorkbenchProviderRailWidthPx, r as buildAgentGuiDockEntries, s as createAgentGuiWorkbenchContribution, t as resolveAgentGuiUnifiedDockLaunchPayload, u as resolveAgentGuiWorkbenchContributionCopy, w as resolveAgentGuiWorkbenchDefaultLaunchFrame } from '../contribution-CTVBPN0R.js';
|
|
5
|
+
import './types.js';
|
|
6
|
+
import '../types-CnT8rNUI.js';
|
|
@@ -14,14 +14,18 @@ import {
|
|
|
14
14
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
15
15
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
16
16
|
resolveAgentGuiWorkbenchDefaultLaunchFrame
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
17
|
+
} from "../chunk-D7HMQLBO.js";
|
|
18
|
+
import "../chunk-KAV2WHTG.js";
|
|
19
|
+
import "../chunk-4YVKAPKW.js";
|
|
20
|
+
import "../chunk-QY22OBJS.js";
|
|
20
21
|
import "../chunk-L3GMMGRS.js";
|
|
21
22
|
import "../chunk-UHBCM6RO.js";
|
|
22
23
|
import "../chunk-C35SNDVZ.js";
|
|
23
24
|
import "../chunk-4YG7YK7S.js";
|
|
25
|
+
import "../chunk-2RQM7PJN.js";
|
|
24
26
|
import "../chunk-H6IQ63DQ.js";
|
|
27
|
+
import "../chunk-MIJXEELH.js";
|
|
28
|
+
import "../chunk-4E3QCW6L.js";
|
|
25
29
|
import "../chunk-KJQERFKX.js";
|
|
26
30
|
import "../chunk-UGVI47X6.js";
|
|
27
31
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, AgentGuiWorkbenchContributionCopy, AgentGuiWorkbenchContributionCopyOverrides, AgentGuiWorkbenchConversationRailToggleDetail, AgentGuiWorkbenchNewConversationDetail, AgentGuiWorkbenchProviderAvailability, AgentGuiWorkbenchRenderBodyHelpers, BuildAgentGuiDockEntriesInput, CreateAgentGuiWorkbenchContributionInput, agentGuiWorkbenchDefaultCopy, agentGuiWorkbenchDefaultNodeFrame, buildAgentGuiDockEntries, createAgentGuiWorkbenchContribution, resolveAgentGuiUnifiedDockLaunchPayload, resolveAgentGuiWorkbenchContributionCopy } from '
|
|
1
|
+
export { A as AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, a as AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, c as AgentGuiWorkbenchContributionCopy, d as AgentGuiWorkbenchContributionCopyOverrides, e as AgentGuiWorkbenchConversationIdentity, f as AgentGuiWorkbenchConversationRailToggleDetail, g as AgentGuiWorkbenchNewConversationDetail, h as AgentGuiWorkbenchProviderAvailability, i as AgentGuiWorkbenchRenderBodyHelpers, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, k as agentGuiWorkbenchConversationIdentitiesEqual, l as agentGuiWorkbenchDefaultCopy, m as agentGuiWorkbenchDefaultNodeFrame, r as buildAgentGuiDockEntries, s as createAgentGuiWorkbenchContribution, t as resolveAgentGuiUnifiedDockLaunchPayload, u as resolveAgentGuiWorkbenchContributionCopy, v as resolveAgentGuiWorkbenchConversationIdentity } from '../contribution-CTVBPN0R.js';
|
|
2
2
|
export { agentGuiWorkbenchComingSoonProviders, agentGuiWorkbenchDefaultDockProviders, agentGuiWorkbenchDockSuppressedProviders, agentGuiWorkbenchProviderLabels, agentGuiWorkbenchProviders, isAgentGuiWorkbenchComingSoonProvider, isAgentGuiWorkbenchDefaultDockProvider, isAgentGuiWorkbenchDockSuppressedProvider, isAgentGuiWorkbenchProvider, normalizeAgentGuiWorkbenchProvider, resolveAgentGuiWorkbenchProviderLabel } from './providerCatalog.js';
|
|
3
|
-
export { AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchDockIdentityFromIdentifier, agentGuiWorkbenchInstanceId, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, agentGuiWorkbenchUnifiedDockEntryId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest } from './launch.js';
|
|
3
|
+
export { AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchDockIdentityFromIdentifier, agentGuiWorkbenchInstanceId, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, agentGuiWorkbenchUnifiedDockEntryId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest, resolveAgentGuiWorkbenchLaunchDockEntryId } from './launch.js';
|
|
4
4
|
export { agentGuiWorkbenchProviderFromInstanceId, areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState } from './state.js';
|
|
5
5
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
6
6
|
import { WorkbenchDisplayMode, WorkbenchHostNodeHeaderWindowActions } from '@tutti-os/workbench-surface';
|
|
7
7
|
export { AgentGuiWorkbenchSessionTitleResult, ResolveAgentGuiWorkbenchHeaderTitleInput, ResolveAgentGuiWorkbenchSessionTitleInput, resolveAgentGuiWorkbenchHeaderTitle, resolveAgentGuiWorkbenchSessionTitle } from './sessionTitle.js';
|
|
8
8
|
export { AgentGuiWorkbenchComposerOverrides, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchPrefillPromptPayload, AgentGuiWorkbenchProvider, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType } from './types.js';
|
|
9
|
-
import '../types-CnT8rNUI.js';
|
|
10
9
|
import '@tutti-os/agent-activity-core';
|
|
10
|
+
import '../types-CnT8rNUI.js';
|
|
11
11
|
|
|
12
12
|
interface AgentGuiWorkbenchHeaderCopy {
|
|
13
13
|
collapseConversationRail: string;
|
|
@@ -19,6 +19,7 @@ interface AgentGuiWorkbenchHeaderCopy {
|
|
|
19
19
|
newConversation: string;
|
|
20
20
|
openDetachedWindow?: string;
|
|
21
21
|
restore?: string;
|
|
22
|
+
untitledConversation?: string;
|
|
22
23
|
}
|
|
23
24
|
interface AgentGuiWorkbenchHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
24
25
|
copy: AgentGuiWorkbenchHeaderCopy;
|
|
@@ -30,6 +31,7 @@ interface AgentGuiWorkbenchHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
|
30
31
|
conversationRailWidthPx?: number | null;
|
|
31
32
|
conversationIconUrl?: string | null;
|
|
32
33
|
conversationIconFallbackUrl?: string | null;
|
|
34
|
+
hasConversation?: boolean;
|
|
33
35
|
providerRailWidthPx?: number | null;
|
|
34
36
|
primaryAccessory?: ReactNode;
|
|
35
37
|
secondaryAccessory?: ReactNode;
|
|
@@ -44,6 +46,6 @@ interface AgentGuiWorkbenchHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
|
44
46
|
title?: string;
|
|
45
47
|
windowActions?: Pick<WorkbenchHostNodeHeaderWindowActions, "close" | "minimize" | "toggleDisplayMode">;
|
|
46
48
|
}
|
|
47
|
-
declare function AgentGuiWorkbenchHeader({ className, copy, agentTitle, defaultActions: _defaultActions, displayMode, isConversationRailAutoCollapsed, isConversationRailCollapsed, conversationRailWidthPx, conversationIconUrl, conversationIconFallbackUrl, providerRailWidthPx, primaryAccessory, secondaryAccessory, conversationTitle, nodeId, onCreateConversation, onOpenDetachedWindow, onToggleConversationRail, showAppTitle, showConversationRailToggle, showWindowControls, title: _title, windowActions, ...headerProps }: AgentGuiWorkbenchHeaderProps): ReactNode;
|
|
49
|
+
declare function AgentGuiWorkbenchHeader({ className, copy, agentTitle, defaultActions: _defaultActions, displayMode, isConversationRailAutoCollapsed, isConversationRailCollapsed, conversationRailWidthPx, conversationIconUrl, conversationIconFallbackUrl, hasConversation, providerRailWidthPx, primaryAccessory, secondaryAccessory, conversationTitle, nodeId, onCreateConversation, onOpenDetachedWindow, onToggleConversationRail, showAppTitle, showConversationRailToggle, showWindowControls, title: _title, windowActions, ...headerProps }: AgentGuiWorkbenchHeaderProps): ReactNode;
|
|
48
50
|
|
|
49
51
|
export { AgentGuiWorkbenchHeader, type AgentGuiWorkbenchHeaderCopy, type AgentGuiWorkbenchHeaderProps };
|
package/dist/workbench/index.js
CHANGED
|
@@ -1,18 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
resolveAgentGuiWorkbenchHeaderTitle,
|
|
3
|
-
resolveAgentGuiWorkbenchSessionTitle
|
|
4
|
-
} from "../chunk-GAD6Y3BF.js";
|
|
5
1
|
import {
|
|
6
2
|
AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
|
|
7
3
|
AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT,
|
|
8
4
|
AgentGuiWorkbenchHeader,
|
|
5
|
+
agentGuiWorkbenchConversationIdentitiesEqual,
|
|
9
6
|
agentGuiWorkbenchDefaultCopy,
|
|
10
7
|
agentGuiWorkbenchDefaultNodeFrame,
|
|
11
8
|
buildAgentGuiDockEntries,
|
|
12
9
|
createAgentGuiWorkbenchContribution,
|
|
13
10
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
14
|
-
resolveAgentGuiWorkbenchContributionCopy
|
|
15
|
-
|
|
11
|
+
resolveAgentGuiWorkbenchContributionCopy,
|
|
12
|
+
resolveAgentGuiWorkbenchConversationIdentity
|
|
13
|
+
} from "../chunk-D7HMQLBO.js";
|
|
14
|
+
import {
|
|
15
|
+
resolveAgentGuiWorkbenchHeaderTitle,
|
|
16
|
+
resolveAgentGuiWorkbenchSessionTitle
|
|
17
|
+
} from "../chunk-KAV2WHTG.js";
|
|
18
|
+
import {
|
|
19
|
+
agentGuiWorkbenchProviderFromInstanceId,
|
|
20
|
+
areAgentGuiWorkbenchNodeStatesEqual,
|
|
21
|
+
areAgentGuiWorkbenchStatesEqual,
|
|
22
|
+
createAgentGuiWorkbenchNodeStateSource,
|
|
23
|
+
createDefaultAgentGuiWorkbenchNodeState,
|
|
24
|
+
normalizeAgentGuiWorkbenchNodeState,
|
|
25
|
+
normalizeAgentGuiWorkbenchState,
|
|
26
|
+
projectAgentGuiWorkbenchState
|
|
27
|
+
} from "../chunk-4YVKAPKW.js";
|
|
16
28
|
import {
|
|
17
29
|
agentGuiWorkbenchDockEntryId,
|
|
18
30
|
agentGuiWorkbenchDockIdentityFromIdentifier,
|
|
@@ -24,19 +36,9 @@ import {
|
|
|
24
36
|
createAgentGuiWorkbenchDraftLaunchRequest,
|
|
25
37
|
createAgentGuiWorkbenchInstanceId,
|
|
26
38
|
createAgentGuiWorkbenchLaunchDescriptor,
|
|
27
|
-
createAgentGuiWorkbenchSessionLaunchRequest
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
import {
|
|
31
|
-
agentGuiWorkbenchProviderFromInstanceId,
|
|
32
|
-
areAgentGuiWorkbenchNodeStatesEqual,
|
|
33
|
-
areAgentGuiWorkbenchStatesEqual,
|
|
34
|
-
createAgentGuiWorkbenchNodeStateSource,
|
|
35
|
-
createDefaultAgentGuiWorkbenchNodeState,
|
|
36
|
-
normalizeAgentGuiWorkbenchNodeState,
|
|
37
|
-
normalizeAgentGuiWorkbenchState,
|
|
38
|
-
projectAgentGuiWorkbenchState
|
|
39
|
-
} from "../chunk-IYEXLOUE.js";
|
|
39
|
+
createAgentGuiWorkbenchSessionLaunchRequest,
|
|
40
|
+
resolveAgentGuiWorkbenchLaunchDockEntryId
|
|
41
|
+
} from "../chunk-QY22OBJS.js";
|
|
40
42
|
import {
|
|
41
43
|
agentGuiWorkbenchComingSoonProviders,
|
|
42
44
|
agentGuiWorkbenchDefaultDockProviders,
|
|
@@ -56,9 +58,10 @@ import {
|
|
|
56
58
|
} from "../chunk-UHBCM6RO.js";
|
|
57
59
|
import "../chunk-C35SNDVZ.js";
|
|
58
60
|
import "../chunk-4YG7YK7S.js";
|
|
61
|
+
import "../chunk-2RQM7PJN.js";
|
|
59
62
|
import "../chunk-H6IQ63DQ.js";
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
63
|
+
import "../chunk-MIJXEELH.js";
|
|
64
|
+
import "../chunk-4E3QCW6L.js";
|
|
62
65
|
import "../chunk-KJQERFKX.js";
|
|
63
66
|
import "../chunk-UGVI47X6.js";
|
|
64
67
|
export {
|
|
@@ -66,6 +69,7 @@ export {
|
|
|
66
69
|
AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT,
|
|
67
70
|
AgentGuiWorkbenchHeader,
|
|
68
71
|
agentGuiWorkbenchComingSoonProviders,
|
|
72
|
+
agentGuiWorkbenchConversationIdentitiesEqual,
|
|
69
73
|
agentGuiWorkbenchDefaultCopy,
|
|
70
74
|
agentGuiWorkbenchDefaultDockProviders,
|
|
71
75
|
agentGuiWorkbenchDefaultNodeFrame,
|
|
@@ -102,7 +106,9 @@ export {
|
|
|
102
106
|
projectAgentGuiWorkbenchState,
|
|
103
107
|
resolveAgentGuiUnifiedDockLaunchPayload,
|
|
104
108
|
resolveAgentGuiWorkbenchContributionCopy,
|
|
109
|
+
resolveAgentGuiWorkbenchConversationIdentity,
|
|
105
110
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
111
|
+
resolveAgentGuiWorkbenchLaunchDockEntryId,
|
|
106
112
|
resolveAgentGuiWorkbenchProviderLabel,
|
|
107
113
|
resolveAgentGuiWorkbenchSessionTitle
|
|
108
114
|
};
|
|
@@ -8,7 +8,11 @@ declare const agentGuiWorkbenchTypeId = "agent-gui";
|
|
|
8
8
|
interface AgentGuiWorkbenchDockIdentity {
|
|
9
9
|
kind: "unifiedAggregate";
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated AgentGUI has one canonical Dock entry. Use
|
|
13
|
+
* {@link agentGuiWorkbenchUnifiedDockEntryId} instead.
|
|
14
|
+
*/
|
|
15
|
+
declare function agentGuiWorkbenchDockEntryId(_provider: AgentGuiWorkbenchProvider): string;
|
|
12
16
|
declare function agentGuiWorkbenchUnifiedDockEntryId(): string;
|
|
13
17
|
declare function agentGuiWorkbenchInstanceId(provider: AgentGuiWorkbenchProvider): string;
|
|
14
18
|
declare function createAgentGuiWorkbenchInstanceId(input: {
|
|
@@ -74,13 +78,17 @@ interface AgentGuiWorkbenchLaunchDescriptor {
|
|
|
74
78
|
targetAgentSessionId: string | null;
|
|
75
79
|
}
|
|
76
80
|
declare function createAgentGuiWorkbenchLaunchDescriptor(request: AgentGuiWorkbenchLaunchRequestInput): AgentGuiWorkbenchLaunchDescriptor;
|
|
77
|
-
declare function resolveAgentGuiWorkbenchLaunchDockEntryId(input: {
|
|
78
|
-
provider: AgentGuiWorkbenchProvider;
|
|
79
|
-
requestedDockEntryId?: string | null;
|
|
80
|
-
}): string;
|
|
81
81
|
declare function shouldReuseAgentGuiWorkbenchDockEntryNode(input: {
|
|
82
82
|
dockEntryId: string;
|
|
83
83
|
launchKind: "empty" | "prefill" | "session";
|
|
84
84
|
}): boolean;
|
|
85
|
+
/**
|
|
86
|
+
* @deprecated AgentGUI launch results always use the unified Dock entry. Use
|
|
87
|
+
* {@link agentGuiWorkbenchUnifiedDockEntryId} instead.
|
|
88
|
+
*/
|
|
89
|
+
declare function resolveAgentGuiWorkbenchLaunchDockEntryId(_input: {
|
|
90
|
+
provider: AgentGuiWorkbenchProvider;
|
|
91
|
+
requestedDockEntryId?: string | null;
|
|
92
|
+
}): string;
|
|
85
93
|
|
|
86
94
|
export { type AgentGuiWorkbenchDockIdentity, type AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchDockIdentityFromIdentifier, agentGuiWorkbenchInstanceId, agentGuiWorkbenchPrefillPromptActivationType, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, agentGuiWorkbenchUnifiedDockEntryId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest, resolveAgentGuiWorkbenchLaunchDockEntryId, shouldReuseAgentGuiWorkbenchDockEntryNode };
|
package/dist/workbench/launch.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
createAgentGuiWorkbenchSessionLaunchRequest,
|
|
13
13
|
resolveAgentGuiWorkbenchLaunchDockEntryId,
|
|
14
14
|
shouldReuseAgentGuiWorkbenchDockEntryNode
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-QY22OBJS.js";
|
|
16
16
|
import "../chunk-L3GMMGRS.js";
|
|
17
17
|
import {
|
|
18
18
|
agentGuiWorkbenchPrefillPromptActivationType
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AgentGuiWorkbenchProvider } from './types.js';
|
|
1
|
+
import { AgentActivitySession } from '@tutti-os/agent-activity-core';
|
|
3
2
|
|
|
4
3
|
interface ResolveAgentGuiWorkbenchHeaderTitleInput {
|
|
5
4
|
agentName?: string | null;
|
|
@@ -9,16 +8,15 @@ interface ResolveAgentGuiWorkbenchHeaderTitleInput {
|
|
|
9
8
|
interface ResolveAgentGuiWorkbenchSessionTitleInput {
|
|
10
9
|
agentSessionId?: string | null;
|
|
11
10
|
fallbackTitle?: string | null;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
session?: AgentActivitySession | null;
|
|
11
|
+
optimisticTitle?: string | null;
|
|
12
|
+
session?: Pick<AgentActivitySession, "title"> | null;
|
|
15
13
|
}
|
|
16
14
|
interface AgentGuiWorkbenchSessionTitleResult {
|
|
17
15
|
agentSessionId: string | null;
|
|
18
|
-
source: "snapshot" | "fallback" | "none";
|
|
16
|
+
source: "snapshot" | "optimistic" | "fallback" | "none";
|
|
19
17
|
title: string | null;
|
|
20
18
|
}
|
|
21
19
|
declare function resolveAgentGuiWorkbenchHeaderTitle({ agentName, conversationTitle, provider }: ResolveAgentGuiWorkbenchHeaderTitleInput): string | null;
|
|
22
|
-
declare function resolveAgentGuiWorkbenchSessionTitle({ agentSessionId, fallbackTitle,
|
|
20
|
+
declare function resolveAgentGuiWorkbenchSessionTitle({ agentSessionId, fallbackTitle, optimisticTitle, session }: ResolveAgentGuiWorkbenchSessionTitleInput): AgentGuiWorkbenchSessionTitleResult;
|
|
23
21
|
|
|
24
22
|
export { type AgentGuiWorkbenchSessionTitleResult, type ResolveAgentGuiWorkbenchHeaderTitleInput, type ResolveAgentGuiWorkbenchSessionTitleInput, resolveAgentGuiWorkbenchHeaderTitle, resolveAgentGuiWorkbenchSessionTitle };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveAgentGuiWorkbenchHeaderTitle,
|
|
3
3
|
resolveAgentGuiWorkbenchSessionTitle
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-FSKGEGGX.js";
|
|
4
|
+
} from "../chunk-KAV2WHTG.js";
|
|
5
|
+
import "../chunk-MIJXEELH.js";
|
|
6
|
+
import "../chunk-4E3QCW6L.js";
|
|
8
7
|
import "../chunk-KJQERFKX.js";
|
|
9
8
|
export {
|
|
10
9
|
resolveAgentGuiWorkbenchHeaderTitle,
|
package/dist/workbench/state.js
CHANGED
|
@@ -9,8 +9,10 @@ import {
|
|
|
9
9
|
normalizeAgentGuiWorkbenchNodeState,
|
|
10
10
|
normalizeAgentGuiWorkbenchState,
|
|
11
11
|
projectAgentGuiWorkbenchState
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-4YVKAPKW.js";
|
|
13
|
+
import "../chunk-QY22OBJS.js";
|
|
13
14
|
import "../chunk-L3GMMGRS.js";
|
|
15
|
+
import "../chunk-UHBCM6RO.js";
|
|
14
16
|
import "../chunk-KJQERFKX.js";
|
|
15
17
|
export {
|
|
16
18
|
agentGuiWorkbenchProviderFromInstanceId,
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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;
|
|
1
|
+
import { AgentActivityMessage, AgentActivitySession } from '@tutti-os/agent-activity-core';
|
|
2
|
+
import { b as WorkspaceAgentChangedFile, C as CollectWorkspaceAgentGeneratedFilesOptions } from './workspaceAgentActivityListTypes-DZfS_HgG.js';
|
|
13
3
|
|
|
14
4
|
interface WorkspaceAgentGeneratedFilesSource {
|
|
15
5
|
sessionMessagesById: Readonly<Record<string, AgentActivityMessage[]>>;
|
|
16
6
|
sessions: readonly AgentActivitySession[];
|
|
17
7
|
}
|
|
18
8
|
declare function collectWorkspaceAgentGeneratedFiles(source: WorkspaceAgentGeneratedFilesSource, options?: CollectWorkspaceAgentGeneratedFilesOptions): WorkspaceAgentChangedFile[];
|
|
9
|
+
type ChangedFilePathNormalizer = (value: unknown) => string | null;
|
|
10
|
+
interface ChangedFileCollectionOptions {
|
|
11
|
+
requireSuccessfulFileChangeTool?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare function changedFilesForSession(messages: readonly AgentActivityMessage[], normalizePath?: ChangedFilePathNormalizer, options?: ChangedFileCollectionOptions): WorkspaceAgentChangedFile[];
|
|
19
14
|
|
|
20
|
-
export {
|
|
15
|
+
export { type WorkspaceAgentGeneratedFilesSource, changedFilesForSession, collectWorkspaceAgentGeneratedFiles };
|
|
@@ -1,25 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
collectWorkspaceAgentGeneratedFiles
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
reuseWorkspaceAgentActivityListViewModelIfUnchanged
|
|
7
|
-
} from "./chunk-63BE6RGM.js";
|
|
8
|
-
import "./chunk-Y35GDLP2.js";
|
|
9
|
-
import "./chunk-YMXYBG7U.js";
|
|
10
|
-
import {
|
|
11
|
-
workspaceAgentProviderLabel
|
|
12
|
-
} from "./chunk-Y5M6Q6WX.js";
|
|
13
|
-
import "./chunk-GCBDIQDX.js";
|
|
14
|
-
import "./chunk-RHTZAODZ.js";
|
|
15
|
-
import "./chunk-FSKGEGGX.js";
|
|
16
|
-
import "./chunk-KJQERFKX.js";
|
|
2
|
+
changedFilesForSession,
|
|
3
|
+
collectWorkspaceAgentGeneratedFiles
|
|
4
|
+
} from "./chunk-4YCCATI4.js";
|
|
5
|
+
import "./chunk-F5UR6EJG.js";
|
|
17
6
|
export {
|
|
18
|
-
|
|
19
|
-
collectWorkspaceAgentGeneratedFiles
|
|
20
|
-
resolveWorkspaceAgentActivityStatus,
|
|
21
|
-
resolveWorkspaceAgentActivityTitle,
|
|
22
|
-
reuseWorkspaceAgentActivityListViewModelIfUnchanged,
|
|
23
|
-
workspaceAgentProviderLabel
|
|
7
|
+
changedFilesForSession,
|
|
8
|
+
collectWorkspaceAgentGeneratedFiles
|
|
24
9
|
};
|
|
25
10
|
//# sourceMappingURL=workspace-agent-generated-files.js.map
|
|
@@ -1,19 +1,3 @@
|
|
|
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
1
|
type ToolCallStatusKind = "working" | "completed" | "failed" | "canceled" | "waiting";
|
|
18
2
|
interface WorkspaceAgentToolCallDisplay {
|
|
19
3
|
id: string;
|
|
@@ -53,19 +37,12 @@ interface WorkspaceAgentActivityCard {
|
|
|
53
37
|
sortTimeUnixMs: number;
|
|
54
38
|
readTimeUnixMs?: number;
|
|
55
39
|
}
|
|
56
|
-
interface WorkspaceAgentActivityListViewModel {
|
|
57
|
-
activities: WorkspaceAgentActivityCard[];
|
|
58
|
-
}
|
|
59
|
-
interface BuildWorkspaceAgentActivityListOptions {
|
|
60
|
-
sessionMessagesById?: Record<string, AgentActivityMessage[]>;
|
|
61
|
-
userProfilesById?: Record<string, AgentHostUserInfo>;
|
|
62
|
-
}
|
|
63
40
|
interface CollectWorkspaceAgentGeneratedFilesOptions {
|
|
41
|
+
/** When set, only include files produced by these Agent targets. */
|
|
42
|
+
agentTargetIds?: readonly string[] | null;
|
|
64
43
|
workspaceRoot?: string | null;
|
|
65
44
|
/** When set, only include files from sessions whose cwd matches this path. */
|
|
66
45
|
sessionCwd?: string | null;
|
|
67
46
|
}
|
|
68
47
|
|
|
69
|
-
type
|
|
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 };
|
|
48
|
+
export type { CollectWorkspaceAgentGeneratedFilesOptions as C, ToolCallStatusKind as T, WorkspaceAgentActivityCard as W, WorkspaceAgentActivityStatus as a, WorkspaceAgentChangedFile as b };
|
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.101",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -124,17 +124,17 @@
|
|
|
124
124
|
"@tiptap/react": "^3.11.1",
|
|
125
125
|
"@tiptap/starter-kit": "^3.11.1",
|
|
126
126
|
"@tiptap/suggestion": "^3.11.1",
|
|
127
|
-
"@tutti-os/agent-activity-core": "0.0.
|
|
128
|
-
"@tutti-os/ui-i18n-runtime": "0.0.
|
|
129
|
-
"@tutti-os/ui-react-hooks": "0.0.
|
|
130
|
-
"@tutti-os/ui-rich-text": "0.0.
|
|
131
|
-
"@tutti-os/ui-system": "0.0.
|
|
132
|
-
"@tutti-os/workbench-surface": "0.0.
|
|
133
|
-
"@tutti-os/workspace-external-core": "0.0.
|
|
134
|
-
"@tutti-os/workspace-file-manager": "0.0.
|
|
135
|
-
"@tutti-os/workspace-file-reference": "0.0.
|
|
136
|
-
"@tutti-os/workspace-issue-manager": "0.0.
|
|
137
|
-
"@tutti-os/workspace-user-project": "0.0.
|
|
127
|
+
"@tutti-os/agent-activity-core": "0.0.101",
|
|
128
|
+
"@tutti-os/ui-i18n-runtime": "0.0.101",
|
|
129
|
+
"@tutti-os/ui-react-hooks": "0.0.101",
|
|
130
|
+
"@tutti-os/ui-rich-text": "0.0.101",
|
|
131
|
+
"@tutti-os/ui-system": "0.0.101",
|
|
132
|
+
"@tutti-os/workbench-surface": "0.0.101",
|
|
133
|
+
"@tutti-os/workspace-external-core": "0.0.101",
|
|
134
|
+
"@tutti-os/workspace-file-manager": "0.0.101",
|
|
135
|
+
"@tutti-os/workspace-file-reference": "0.0.101",
|
|
136
|
+
"@tutti-os/workspace-issue-manager": "0.0.101",
|
|
137
|
+
"@tutti-os/workspace-user-project": "0.0.101",
|
|
138
138
|
"clsx": "^2.1.1",
|
|
139
139
|
"framer-motion": "^12.40.0",
|
|
140
140
|
"lodash": "^4.17.21",
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
"typescript": "^5.8.3",
|
|
163
163
|
"vite": "^6.4.2",
|
|
164
164
|
"vitest": "^4.0.13",
|
|
165
|
-
"@tutti-os/
|
|
166
|
-
"@tutti-os/
|
|
165
|
+
"@tutti-os/config-tsconfig": "0.0.0",
|
|
166
|
+
"@tutti-os/client-tuttid-ts": "0.0.0"
|
|
167
167
|
},
|
|
168
168
|
"peerDependencies": {
|
|
169
169
|
"react": "^19.1.0",
|