@tutti-os/agent-gui 0.0.3

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.
Files changed (112) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +56 -0
  3. package/dist/agent-message-center/index.d.ts +218 -0
  4. package/dist/agent-message-center/index.js +1962 -0
  5. package/dist/agent-message-center/index.js.map +1 -0
  6. package/dist/agent-rich-text-at-provider.d.ts +49 -0
  7. package/dist/agent-rich-text-at-provider.js +7 -0
  8. package/dist/agent-rich-text-at-provider.js.map +1 -0
  9. package/dist/agent-title-text.d.ts +3 -0
  10. package/dist/agent-title-text.js +7 -0
  11. package/dist/agent-title-text.js.map +1 -0
  12. package/dist/app/renderer/agentactivity.css +6773 -0
  13. package/dist/app/renderer/assets/icons/agent-sessions-filled.svg +1 -0
  14. package/dist/app/renderer/assets/icons/agents/claude-rounded.png +0 -0
  15. package/dist/app/renderer/assets/icons/agents/codex-rounded.png +0 -0
  16. package/dist/app/renderer/assets/icons/agents/gemini-rounded.png +0 -0
  17. package/dist/app/renderer/assets/icons/agents/hermes-rounded.png +0 -0
  18. package/dist/app/renderer/assets/icons/agents/manage-agent-claude-code.png +0 -0
  19. package/dist/app/renderer/assets/icons/agents/manage-agent-codex.png +0 -0
  20. package/dist/app/renderer/assets/icons/agents/manage-agent-gemini.png +0 -0
  21. package/dist/app/renderer/assets/icons/agents/manage-agent-hermes.png +0 -0
  22. package/dist/app/renderer/assets/icons/agents/manage-agent-nextop.png +0 -0
  23. package/dist/app/renderer/assets/icons/agents/manage-agent-openclaw.png +0 -0
  24. package/dist/app/renderer/assets/icons/agents/nextop-doc-rounded.png +0 -0
  25. package/dist/app/renderer/assets/icons/agents/openclaw-rounded.png +0 -0
  26. package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-claude-code.png +0 -0
  27. package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-codex.png +0 -0
  28. package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-gemini.png +0 -0
  29. package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-nexight.png +0 -0
  30. package/dist/app/renderer/assets/icons/agents/workspace-dock-agent-openclaw.png +0 -0
  31. package/dist/app/renderer/assets/icons/code-filled.svg +1 -0
  32. package/dist/app/renderer/assets/icons/doc-filled.svg +1 -0
  33. package/dist/app/renderer/assets/icons/folder-filled.svg +1 -0
  34. package/dist/app/renderer/assets/icons/image-filled.svg +1 -0
  35. package/dist/app/renderer/assets/icons/issue-filled.svg +1 -0
  36. package/dist/app/renderer/assets/icons/product-filled.svg +1 -0
  37. package/dist/app/renderer/assets/icons/user-avatar-placeholder.png +0 -0
  38. package/dist/app/renderer/assets/icons/video-filled.svg +1 -0
  39. package/dist/chunk-22L4VWUR.js +70 -0
  40. package/dist/chunk-22L4VWUR.js.map +1 -0
  41. package/dist/chunk-3D5VTIKP.js +93 -0
  42. package/dist/chunk-3D5VTIKP.js.map +1 -0
  43. package/dist/chunk-AF5CXBJN.js +3075 -0
  44. package/dist/chunk-AF5CXBJN.js.map +1 -0
  45. package/dist/chunk-BABBC24I.js +28 -0
  46. package/dist/chunk-BABBC24I.js.map +1 -0
  47. package/dist/chunk-GCBDIQDX.js +22 -0
  48. package/dist/chunk-GCBDIQDX.js.map +1 -0
  49. package/dist/chunk-HSR5DI6O.js +4695 -0
  50. package/dist/chunk-HSR5DI6O.js.map +1 -0
  51. package/dist/chunk-IVPB4MLI.js +7 -0
  52. package/dist/chunk-IVPB4MLI.js.map +1 -0
  53. package/dist/chunk-KCC3GNPB.js +13 -0
  54. package/dist/chunk-KCC3GNPB.js.map +1 -0
  55. package/dist/chunk-PJP5BUU6.js +18 -0
  56. package/dist/chunk-PJP5BUU6.js.map +1 -0
  57. package/dist/chunk-RORLLV27.js +144 -0
  58. package/dist/chunk-RORLLV27.js.map +1 -0
  59. package/dist/chunk-UJWUGMWC.js +128 -0
  60. package/dist/chunk-UJWUGMWC.js.map +1 -0
  61. package/dist/chunk-UKQIGNN3.js +921 -0
  62. package/dist/chunk-UKQIGNN3.js.map +1 -0
  63. package/dist/chunk-ZP7P7DYO.js +270 -0
  64. package/dist/chunk-ZP7P7DYO.js.map +1 -0
  65. package/dist/chunk-ZX5PDYAS.js +346 -0
  66. package/dist/chunk-ZX5PDYAS.js.map +1 -0
  67. package/dist/claude-rounded-F6VPQETB.png +0 -0
  68. package/dist/codex-rounded-SC63MZAW.png +0 -0
  69. package/dist/gemini-rounded-O4KAJFIM.png +0 -0
  70. package/dist/hermes-rounded-QGDHBNRJ.png +0 -0
  71. package/dist/i18n/index.d.ts +4580 -0
  72. package/dist/i18n/index.js +19 -0
  73. package/dist/i18n/index.js.map +1 -0
  74. package/dist/index.d.ts +775 -0
  75. package/dist/index.js +33699 -0
  76. package/dist/index.js.map +1 -0
  77. package/dist/manage-agent-claude-code-F6VPQETB.png +0 -0
  78. package/dist/manage-agent-codex-SC63MZAW.png +0 -0
  79. package/dist/manage-agent-gemini-O4KAJFIM.png +0 -0
  80. package/dist/manage-agent-hermes-QGDHBNRJ.png +0 -0
  81. package/dist/manage-agent-nextop-UFAQ22K2.png +0 -0
  82. package/dist/manage-agent-openclaw-24U7O6CA.png +0 -0
  83. package/dist/mention-file-presentation.d.ts +16 -0
  84. package/dist/mention-file-presentation.js +10 -0
  85. package/dist/mention-file-presentation.js.map +1 -0
  86. package/dist/nextop-doc-rounded-UFAQ22K2.png +0 -0
  87. package/dist/openclaw-rounded-24U7O6CA.png +0 -0
  88. package/dist/user-avatar-placeholder-WP2373TS.png +0 -0
  89. package/dist/workbench/contribution.d.ts +42 -0
  90. package/dist/workbench/contribution.js +24 -0
  91. package/dist/workbench/contribution.js.map +1 -0
  92. package/dist/workbench/index.d.ts +24 -0
  93. package/dist/workbench/index.js +82 -0
  94. package/dist/workbench/index.js.map +1 -0
  95. package/dist/workbench/launch.d.ts +49 -0
  96. package/dist/workbench/launch.js +23 -0
  97. package/dist/workbench/launch.js.map +1 -0
  98. package/dist/workbench/providerCatalog.d.ts +15 -0
  99. package/dist/workbench/providerCatalog.js +27 -0
  100. package/dist/workbench/providerCatalog.js.map +1 -0
  101. package/dist/workbench/state.d.ts +22 -0
  102. package/dist/workbench/state.js +22 -0
  103. package/dist/workbench/state.js.map +1 -0
  104. package/dist/workbench/types.d.ts +43 -0
  105. package/dist/workbench/types.js +7 -0
  106. package/dist/workbench/types.js.map +1 -0
  107. package/dist/workspace-agent-generated-files.d.ts +2 -0
  108. package/dist/workspace-agent-generated-files.js +21 -0
  109. package/dist/workspace-agent-generated-files.js.map +1 -0
  110. package/dist/workspaceAgentActivityListViewModel-PvLQDj60.d.ts +309 -0
  111. package/dist/workspaceLinkActions-Bwa-phu8.d.ts +51 -0
  112. package/package.json +166 -0
@@ -0,0 +1,775 @@
1
+ import { AgentActivityNeedsAttentionItem, AgentActivitySnapshot, AgentActivityCancelSessionInput, AgentActivitySession, AgentActivityCreateSessionInput, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySubmitInteractiveInput, AgentActivitySnapshotListener } from '@tutti-os/agent-activity-core';
2
+ export { AgentActivityAdapter, AgentActivityController, AgentActivityMessage, AgentActivityNeedsAttentionItem, AgentActivitySnapshot, selectNeedsAttentionCount, selectNeedsAttentionItems } from '@tutti-os/agent-activity-core';
3
+ import { m as WorkspaceAgentActivityListViewModel, g as AgentHostWorkspaceAgentSession, f as AgentHostWorkspaceAgentMessage, l as AgentHostWorkspaceAgentSnapshot, B as BuildWorkspaceAgentActivityListOptions, d as AgentHostRuntimeOpenclawGatewayWarmupResult, A as AgentHostBatchUserInfoInput, a as AgentHostBatchUserInfoResult, b as AgentHostDeleteWorkspaceAgentSessionInput, k as AgentHostWorkspaceAgentSessionSummaryInput, j as AgentHostWorkspaceAgentSessionSummary, e as AgentHostWorkspaceAgentListInput, i as AgentHostWorkspaceAgentSessionMessagesInput, h as AgentHostWorkspaceAgentSessionMessages, c as AgentHostManagedAgentsState } from './workspaceAgentActivityListViewModel-PvLQDj60.js';
4
+ import { PropsWithChildren, JSX } from 'react';
5
+ import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
6
+ import { WorkspaceFileReferenceAdapter, WorkspaceFileReference } from '@tutti-os/workspace-file-reference/contracts';
7
+ import { W as WorkspaceLinkAction } from './workspaceLinkActions-Bwa-phu8.js';
8
+ import { AgentRichTextAtProvider } from './agent-rich-text-at-provider.js';
9
+ export { AGENT_GUI_MENTION_PROVIDER_IDS, AgentGUIMentionProviderId } from './agent-rich-text-at-provider.js';
10
+ import { AgentGuiI18nLocale } from './i18n/index.js';
11
+ export { AgentGuiI18nProvider, agentGuiI18nModule, agentGuiI18nResources } from './i18n/index.js';
12
+ import '@tutti-os/workspace-issue-manager/core';
13
+
14
+ type AgentHostAgentSessionProvider = "claude-code" | "codex" | "nexight" | "gemini" | "hermes" | "openclaw";
15
+ type AgentHostAgentSessionPermissionModeSemantic = "ask-before-write" | "accept-edits" | "locked-down" | "auto" | "full-access" | "unconfigurable";
16
+ type AgentHostAgentSessionReasoningEffort = "minimal" | "low" | "medium" | "high" | "xhigh" | string;
17
+ interface AgentHostAgentSessionPermissionModeOption {
18
+ id: string;
19
+ label?: string;
20
+ description?: string;
21
+ semantic: AgentHostAgentSessionPermissionModeSemantic;
22
+ }
23
+ interface AgentHostAgentSessionPermissionConfig {
24
+ configurable: boolean;
25
+ defaultValue?: string | null;
26
+ modes: AgentHostAgentSessionPermissionModeOption[];
27
+ }
28
+ interface AgentHostAgentSessionComposerSettings {
29
+ model?: string | null;
30
+ reasoningEffort?: AgentHostAgentSessionReasoningEffort | null;
31
+ planMode?: boolean;
32
+ permissionModeId?: string | null;
33
+ }
34
+ interface AgentHostAgentSession {
35
+ workspaceId: string;
36
+ agentSessionId: string;
37
+ provider: AgentHostAgentSessionProvider;
38
+ providerSessionId: string;
39
+ resumable?: boolean;
40
+ cwd?: string;
41
+ status: "ready" | "working" | "canceled" | "failed" | "completed" | string;
42
+ title?: string;
43
+ pinnedAtUnixMs?: number | null;
44
+ visible?: boolean;
45
+ permissionModeId?: string;
46
+ permissionConfig?: AgentHostAgentSessionPermissionConfig;
47
+ settings?: AgentHostAgentSessionComposerSettings;
48
+ createdAtUnixMs: number;
49
+ updatedAtUnixMs: number;
50
+ }
51
+ interface AgentHostAgentSessionInteractivePrompt {
52
+ kind: string;
53
+ requestId?: string;
54
+ toolName?: string;
55
+ status?: string;
56
+ input?: Record<string, unknown>;
57
+ output?: Record<string, unknown>;
58
+ error?: Record<string, unknown>;
59
+ metadata?: Record<string, unknown>;
60
+ }
61
+ interface AgentHostAgentSessionState {
62
+ workspaceId: string;
63
+ agentSessionId: string;
64
+ provider: AgentHostAgentSessionProvider;
65
+ providerSessionId?: string;
66
+ resumable?: boolean;
67
+ status: AgentHostAgentSession["status"];
68
+ permissionModeId?: string;
69
+ permissionConfig?: AgentHostAgentSessionPermissionConfig;
70
+ settings?: AgentHostAgentSessionComposerSettings;
71
+ authState?: string;
72
+ runtimeContext?: Record<string, unknown>;
73
+ pinnedAtUnixMs?: number | null;
74
+ pendingInteractive?: AgentHostAgentSessionInteractivePrompt | null;
75
+ updatedAtUnixMs: number;
76
+ }
77
+ type AgentHostAgentSessionActivationMode = "new" | "existing";
78
+ type AgentHostAgentSessionActivationStatus = "attached" | "already_attached" | "failed";
79
+ interface AgentHostActivateAgentSessionResult {
80
+ session: AgentHostAgentSession;
81
+ activation: {
82
+ mode: AgentHostAgentSessionActivationMode;
83
+ status: AgentHostAgentSessionActivationStatus;
84
+ };
85
+ error?: {
86
+ code: string;
87
+ message: string;
88
+ debugMessage?: string;
89
+ };
90
+ }
91
+ interface AgentHostUnactivateAgentSessionResult {
92
+ agentSessionId: string;
93
+ buffered: boolean;
94
+ }
95
+ interface AgentHostUpdateAgentSessionSettingsResult {
96
+ agentSessionId: string;
97
+ settings: AgentHostAgentSessionComposerSettings;
98
+ }
99
+
100
+ type AgentAvailabilityStatus = "available" | "unavailable" | "unknown";
101
+ type AgentQuotaType = "session" | "weekly" | "monthly" | "daily" | "model" | "cost";
102
+ interface AgentAvailabilityCheck {
103
+ name: string;
104
+ passed: boolean;
105
+ detail?: string;
106
+ }
107
+ interface AgentAvailability {
108
+ status: AgentAvailabilityStatus;
109
+ detailsVisible: boolean;
110
+ checks?: AgentAvailabilityCheck[];
111
+ }
112
+ interface AgentUsageQuota {
113
+ quotaType: AgentQuotaType;
114
+ percentRemaining?: number;
115
+ resetsAtUnixMs?: number;
116
+ resetText?: string;
117
+ dollarRemaining?: number;
118
+ modelName?: string;
119
+ }
120
+ interface AgentCostUsage {
121
+ dollarUsed: number;
122
+ dollarLimit?: number;
123
+ }
124
+ interface AgentUsageSnapshot {
125
+ quotas?: AgentUsageQuota[];
126
+ accountTier?: string;
127
+ costUsage?: AgentCostUsage;
128
+ capturedAtUnixMs: number;
129
+ }
130
+ interface AgentProbeAttempt {
131
+ strategy: string;
132
+ success: boolean;
133
+ errorCode?: string;
134
+ errorMessage?: string;
135
+ }
136
+ interface AgentProbeError {
137
+ code: string;
138
+ message?: string;
139
+ }
140
+ interface AgentProbeProvider {
141
+ provider: string;
142
+ availability: AgentAvailability;
143
+ usage?: AgentUsageSnapshot;
144
+ attempts?: AgentProbeAttempt[];
145
+ lastError?: AgentProbeError;
146
+ }
147
+ interface AgentProbeSnapshot {
148
+ workspaceId: string;
149
+ roomId?: string;
150
+ capturedAtUnixMs: number;
151
+ providers: AgentProbeProvider[];
152
+ }
153
+ interface AgentHostListWorkspaceAgentProbesInput {
154
+ workspaceId: string;
155
+ /** Compatibility input while carried call sites finish migrating from TSH room naming. */
156
+ roomId?: string;
157
+ providers?: string[];
158
+ includeUsage?: boolean;
159
+ refresh?: boolean;
160
+ }
161
+ type AgentHostWorkspaceAgentProbesResult = AgentProbeSnapshot;
162
+
163
+ declare const APP_UPDATE_POLICIES: readonly ["off", "prompt", "auto"];
164
+ type AppUpdatePolicy = (typeof APP_UPDATE_POLICIES)[number];
165
+
166
+ interface ReadWorkspaceFileResult {
167
+ bytes: Uint8Array;
168
+ }
169
+
170
+ interface AgentActivitySnapshotProjection {
171
+ view: WorkspaceAgentActivityListViewModel;
172
+ sessionsById: Record<string, AgentHostWorkspaceAgentSession>;
173
+ sessionMessagesById: Record<string, AgentHostWorkspaceAgentMessage[]>;
174
+ needsAttentionCount: number;
175
+ needsAttentionItems: AgentActivityNeedsAttentionItem[];
176
+ }
177
+ declare function buildAgentActivitySnapshotProjection(snapshot: AgentActivitySnapshot, options?: BuildWorkspaceAgentActivityListOptions): AgentActivitySnapshotProjection;
178
+ declare function agentHostSnapshotFromAgentActivitySnapshot(snapshot: AgentActivitySnapshot): AgentHostWorkspaceAgentSnapshot;
179
+
180
+ interface AgentActivityRuntimeListSessionMessagesInput {
181
+ afterVersion?: number;
182
+ beforeVersion?: number;
183
+ agentSessionId: string;
184
+ limit?: number;
185
+ order?: AgentActivityMessageOrder;
186
+ signal?: AbortSignal;
187
+ workspaceId: string;
188
+ }
189
+ interface AgentActivityRuntimeEnsureSessionSynchronizedInput {
190
+ afterVersion?: number;
191
+ agentSessionId: string;
192
+ onError?: (error: unknown) => void;
193
+ workspaceId: string;
194
+ }
195
+ type AgentActivityRuntimeRetainSessionEventsInput = AgentActivityRuntimeEnsureSessionSynchronizedInput;
196
+ interface AgentActivityRuntimeSetSessionPinnedInput {
197
+ agentSessionId: string;
198
+ pinned: boolean;
199
+ workspaceId: string;
200
+ }
201
+ interface AgentActivityRuntimeTrackSettingsProjectChangeInput {
202
+ action: "clear" | "create_new" | "select_existing";
203
+ agentSessionId: string;
204
+ provider?: string | null;
205
+ workspaceId: string;
206
+ }
207
+ interface AgentActivityRuntimeGetSessionControlStateInput {
208
+ agentSessionId: string;
209
+ workspaceId: string;
210
+ }
211
+ interface AgentActivityRuntimeGetComposerOptionsInput {
212
+ cwd?: string | null;
213
+ force?: boolean;
214
+ provider?: string;
215
+ settings?: AgentHostAgentSessionComposerSettings | null;
216
+ workspaceId: string;
217
+ }
218
+ interface AgentActivityRuntimeUpdateSessionSettingsInput {
219
+ agentSessionId: string;
220
+ settings: AgentHostAgentSessionComposerSettings;
221
+ workspaceId: string;
222
+ }
223
+ interface AgentActivityRuntimeTrackDraftComposerSettingsChangeInput {
224
+ nextSettings: AgentHostAgentSessionComposerSettings;
225
+ previousSettings: AgentHostAgentSessionComposerSettings;
226
+ provider: string;
227
+ workspaceId: string;
228
+ }
229
+ interface AgentActivityRuntimeWarmupOpenclawGatewayInput {
230
+ workspaceId?: string | null;
231
+ }
232
+ interface AgentActivityRuntimeDiagnosticInput {
233
+ details?: Record<string, unknown>;
234
+ event: string;
235
+ level?: "debug" | "info" | "warn" | "error";
236
+ source?: string;
237
+ workspaceId?: string | null;
238
+ }
239
+ interface AgentActivityRuntimeActivateSessionInput {
240
+ agentSessionId: string;
241
+ cwd?: string;
242
+ initialContent?: AgentActivitySendInput["content"];
243
+ mode: "existing" | "new";
244
+ openclawGatewayReady?: boolean;
245
+ provider?: string;
246
+ settings?: AgentHostAgentSessionComposerSettings;
247
+ title?: string;
248
+ visible?: boolean;
249
+ workspaceId: string;
250
+ }
251
+ interface AgentActivityRuntimeUnactivateSessionInput {
252
+ agentSessionId: string;
253
+ workspaceId: string;
254
+ }
255
+ interface AgentActivityRuntimeReadSessionAttachmentInput {
256
+ agentSessionId: string;
257
+ attachmentId: string;
258
+ workspaceId: string;
259
+ }
260
+ interface AgentActivityRuntimeSessionAttachment {
261
+ attachmentId: string;
262
+ mimeType: string;
263
+ name?: string;
264
+ data: string;
265
+ }
266
+ interface AgentActivityRuntime {
267
+ cancelSession(input: AgentActivityCancelSessionInput): Promise<AgentActivitySession>;
268
+ createSession(input: AgentActivityCreateSessionInput): Promise<AgentActivitySession>;
269
+ deleteSession(input: AgentActivityDeleteSessionInput): Promise<AgentActivityDeleteSessionResult>;
270
+ activateSession(input: AgentActivityRuntimeActivateSessionInput): Promise<AgentHostActivateAgentSessionResult>;
271
+ getSession(workspaceId: string, agentSessionId: string): Promise<AgentActivitySession>;
272
+ getComposerOptions(input: AgentActivityRuntimeGetComposerOptionsInput): Promise<unknown>;
273
+ updateSessionSettings(input: AgentActivityRuntimeUpdateSessionSettingsInput): Promise<AgentHostUpdateAgentSessionSettingsResult>;
274
+ warmupOpenclawGateway?(input?: AgentActivityRuntimeWarmupOpenclawGatewayInput): Promise<AgentHostRuntimeOpenclawGatewayWarmupResult>;
275
+ getSessionControlState(input: AgentActivityRuntimeGetSessionControlStateInput): Promise<AgentHostAgentSessionState>;
276
+ getSnapshot(workspaceId: string): AgentActivitySnapshot;
277
+ listSessionMessages(input: AgentActivityRuntimeListSessionMessagesInput): Promise<AgentActivityMessagePage>;
278
+ load(workspaceId: string, signal?: AbortSignal): Promise<AgentActivitySnapshot>;
279
+ ensureSessionSynchronized?(input: AgentActivityRuntimeEnsureSessionSynchronizedInput): () => void;
280
+ /** @deprecated Use ensureSessionSynchronized. */
281
+ retainSessionEvents(input: AgentActivityRuntimeRetainSessionEventsInput): () => void;
282
+ sendInput(input: AgentActivitySendInput): Promise<AgentActivitySession>;
283
+ readSessionAttachment?(input: AgentActivityRuntimeReadSessionAttachmentInput): Promise<AgentActivityRuntimeSessionAttachment>;
284
+ setSessionPinned(input: AgentActivityRuntimeSetSessionPinnedInput): Promise<AgentActivitySession>;
285
+ trackSettingsProjectChange?(input: AgentActivityRuntimeTrackSettingsProjectChangeInput): Promise<void>;
286
+ trackDraftComposerSettingsChange?(input: AgentActivityRuntimeTrackDraftComposerSettingsChangeInput): Promise<void>;
287
+ reportDiagnostic?(input: AgentActivityRuntimeDiagnosticInput): Promise<void> | void;
288
+ unactivateSession(input: AgentActivityRuntimeUnactivateSessionInput): Promise<AgentHostUnactivateAgentSessionResult>;
289
+ submitInteractive(input: AgentActivitySubmitInteractiveInput): Promise<unknown>;
290
+ subscribeSessionEvents(workspaceId: string, listener: (event: unknown) => void): () => void;
291
+ subscribe(workspaceId: string, listener: AgentActivitySnapshotListener): () => void;
292
+ }
293
+ interface AgentActivityRuntimeProviderProps extends PropsWithChildren {
294
+ runtime?: AgentActivityRuntime | null;
295
+ }
296
+ declare function AgentActivityRuntimeProvider({ children, runtime }: AgentActivityRuntimeProviderProps): JSX.Element;
297
+ declare function useAgentActivityRuntime(): AgentActivityRuntime;
298
+ declare function useOptionalAgentActivityRuntime(): AgentActivityRuntime | null;
299
+ declare function useAgentActivitySnapshot(workspaceId: string): AgentActivitySnapshot;
300
+ declare function getAgentActivityRuntime(): AgentActivityRuntime;
301
+ declare function getOptionalAgentActivityRuntime(): AgentActivityRuntime | null;
302
+ declare function resetAgentActivityRuntimeForTests(): void;
303
+ declare function setAgentActivityRuntimeForTests(runtime: AgentActivityRuntime | null): void;
304
+
305
+ type AgentHostAsyncResult<T = any> = Promise<T>;
306
+ type AgentHostRecord = Record<string, unknown>;
307
+ type AgentHostUnsubscribe = () => void;
308
+ type AgentHostWorkspaceScopedInput<T extends {
309
+ workspaceId?: string | null;
310
+ }> = Omit<T, "workspaceId"> & {
311
+ workspaceId: string;
312
+ };
313
+ type AgentHostWorkspaceAgentsListInput = AgentHostWorkspaceScopedInput<AgentHostWorkspaceAgentListInput>;
314
+ type AgentHostWorkspaceAgentSessionMessagesRuntimeInput = AgentHostWorkspaceScopedInput<AgentHostWorkspaceAgentSessionMessagesInput>;
315
+ type AgentHostWorkspaceAgentSessionSummaryRuntimeInput = AgentHostWorkspaceScopedInput<AgentHostWorkspaceAgentSessionSummaryInput>;
316
+ type AgentHostDeleteWorkspaceAgentSessionRuntimeInput = AgentHostWorkspaceScopedInput<AgentHostDeleteWorkspaceAgentSessionInput>;
317
+ type AgentHostClipboardApi = {
318
+ writeText: (text: string) => AgentHostAsyncResult<void>;
319
+ };
320
+ type AgentHostDebugApi = {
321
+ logRuntimeDiagnostics: (payload: unknown) => AgentHostAsyncResult<void> | void;
322
+ logTerminalDiagnostics?: (payload: unknown) => AgentHostAsyncResult<void> | void;
323
+ };
324
+ type AgentHostFilesystemApi = AgentHostRecord & {
325
+ readFileText: (payload: {
326
+ path?: string;
327
+ uri?: string;
328
+ }) => AgentHostAsyncResult<{
329
+ content: string;
330
+ name?: string;
331
+ path?: string;
332
+ }>;
333
+ };
334
+ type AgentHostMetaApi = AgentHostRecord & {
335
+ appVersion?: string | null;
336
+ isPackaged?: boolean;
337
+ isTest?: boolean;
338
+ mainPid?: number | null;
339
+ platform?: string;
340
+ workspaceId?: string;
341
+ };
342
+ type AgentHostEnvironmentApi = AgentHostRecord & {
343
+ getBaseUrl?: () => AgentHostAsyncResult<string>;
344
+ warmupOpenclawGateway?: (input?: unknown) => AgentHostAsyncResult<unknown>;
345
+ };
346
+ interface AgentHostSelectedFile {
347
+ name?: string;
348
+ path: string;
349
+ }
350
+ type AgentHostWorkspaceApi = AgentHostRecord & {
351
+ copyPath?: (input: {
352
+ path: string;
353
+ }) => AgentHostAsyncResult<void>;
354
+ ensureDirectory: (input: {
355
+ path: string;
356
+ }) => AgentHostAsyncResult<void>;
357
+ getPathForFile: (file: File) => string;
358
+ readFile: (input: {
359
+ path: string;
360
+ }) => AgentHostAsyncResult<ReadWorkspaceFileResult>;
361
+ selectContextEntries?: () => AgentHostAsyncResult<{
362
+ entries: unknown[];
363
+ }>;
364
+ selectDirectory: () => AgentHostAsyncResult<{
365
+ path: string;
366
+ } | null>;
367
+ selectFiles: () => AgentHostAsyncResult<AgentHostSelectedFile[]>;
368
+ writeFileText: (input: {
369
+ content: string;
370
+ path: string;
371
+ }) => AgentHostAsyncResult<unknown>;
372
+ };
373
+ interface AgentHostInputApi {
374
+ account?: AgentHostAccountApi;
375
+ agentGuiBatch?: AgentHostAgentGuiBatchApi;
376
+ agentSessions?: AgentHostAgentSessionsApi;
377
+ clipboard: AgentHostClipboardApi;
378
+ debug?: AgentHostDebugApi;
379
+ filesystem: AgentHostFilesystemApi;
380
+ meta?: AgentHostMetaApi;
381
+ onHostEvent?: (listener: (event: any) => void) => AgentHostUnsubscribe;
382
+ runtime?: AgentHostEnvironmentApi;
383
+ userProjects?: AgentHostUserProjectsApi;
384
+ workspace: AgentHostWorkspaceApi;
385
+ workspaceAgentProbes?: AgentHostWorkspaceAgentProbesApi;
386
+ workspaceAgents?: AgentHostWorkspaceAgentsApi;
387
+ }
388
+ type AgentHostApi = AgentHostInputApi;
389
+ type AgentHostAccountApi = AgentHostRecord & {
390
+ batchGetUserInfo: (input: AgentHostBatchUserInfoInput) => AgentHostAsyncResult<AgentHostBatchUserInfoResult>;
391
+ ensureProfiles?: (input: any) => AgentHostAsyncResult<any>;
392
+ };
393
+ type AgentHostAgentGuiBatchApi = AgentHostRecord & {
394
+ exportRun: (input: any) => AgentHostAsyncResult<any>;
395
+ };
396
+ type AgentHostWorkspaceAgentProbesApi = AgentHostRecord & {
397
+ list: (input: AgentHostListWorkspaceAgentProbesInput) => AgentHostAsyncResult<AgentHostWorkspaceAgentProbesResult>;
398
+ };
399
+ type AgentProviderProbeListInput = AgentHostListWorkspaceAgentProbesInput;
400
+ type AgentProviderProbeListResult = AgentHostWorkspaceAgentProbesResult;
401
+ interface AgentHostUserProject {
402
+ id: string;
403
+ path: string;
404
+ label: string;
405
+ createdAtUnixMs?: number;
406
+ updatedAtUnixMs?: number;
407
+ lastUsedAtUnixMs?: number;
408
+ }
409
+ type AgentHostUserProjectsApi = AgentHostRecord & {
410
+ checkPath?: (input: {
411
+ path: string;
412
+ }) => AgentHostAsyncResult<{
413
+ exists: boolean;
414
+ isDirectory: boolean;
415
+ path: string;
416
+ }>;
417
+ create?: (input: {
418
+ name: string;
419
+ }) => AgentHostAsyncResult<AgentHostUserProject>;
420
+ getDefaultSelection?: () => AgentHostAsyncResult<{
421
+ path: string | null;
422
+ } | null>;
423
+ list: () => AgentHostAsyncResult<{
424
+ projects: AgentHostUserProject[];
425
+ }>;
426
+ subscribe?: (listener: () => void) => AgentHostUnsubscribe;
427
+ prepareSelection?: (input: {
428
+ projectLocked: boolean;
429
+ selectedPath: string | null;
430
+ }) => AgentHostAsyncResult<{
431
+ isSelectedPathMissing: boolean;
432
+ projects: AgentHostUserProject[];
433
+ selection: {
434
+ kind: "clear";
435
+ suppressedPath: string;
436
+ } | {
437
+ kind: "none";
438
+ } | {
439
+ kind: "select";
440
+ path: string;
441
+ };
442
+ }>;
443
+ remove?: (input: {
444
+ path: string;
445
+ }) => AgentHostAsyncResult<void>;
446
+ isNoProjectPath?: (input: {
447
+ path: string;
448
+ }) => boolean;
449
+ rememberDefaultSelection?: (input: {
450
+ path: string | null;
451
+ }) => AgentHostAsyncResult<void>;
452
+ use: (input: {
453
+ path: string;
454
+ }) => AgentHostAsyncResult<AgentHostUserProject>;
455
+ };
456
+ type AgentHostAgentSessionsApi = AgentHostRecord & {
457
+ activate: (input: any) => AgentHostAsyncResult<any>;
458
+ /**
459
+ * @deprecated AgentGUI production writes must use AgentActivityRuntime.cancelSession.
460
+ */
461
+ cancel: (input: any) => AgentHostAsyncResult<any>;
462
+ /**
463
+ * @deprecated AgentGUI production writes must use AgentActivityRuntime.sendInput.
464
+ */
465
+ exec: (input: any) => AgentHostAsyncResult<any>;
466
+ getComposerOptions?: (input: any) => AgentHostAsyncResult<any>;
467
+ getState: (input: any) => AgentHostAsyncResult<any>;
468
+ onEvent?: (listener: (event: any) => void) => AgentHostUnsubscribe;
469
+ /**
470
+ * @deprecated AgentGUI production writes must use AgentActivityRuntime.setSessionPinned.
471
+ */
472
+ pinSession?: (input: any) => AgentHostAsyncResult<any>;
473
+ /**
474
+ * @deprecated AgentGUI production sync must use AgentActivityRuntime.ensureSessionSynchronized.
475
+ */
476
+ releaseEventStream?: (input?: any) => AgentHostAsyncResult;
477
+ /**
478
+ * @deprecated AgentGUI production sync must use AgentActivityRuntime.ensureSessionSynchronized.
479
+ */
480
+ retainEventStream?: (input: any) => AgentHostAsyncResult;
481
+ /**
482
+ * @deprecated AgentGUI production writes must use AgentActivityRuntime.submitInteractive.
483
+ */
484
+ submitInteractive: (input: any) => AgentHostAsyncResult<any>;
485
+ /**
486
+ * @deprecated AgentGUI production UI must derive events from AgentActivityRuntime snapshots.
487
+ */
488
+ trackSettingsProjectChange?: (input: {
489
+ action: "clear" | "create_new" | "select_existing";
490
+ agentSessionId: string;
491
+ provider?: string | null;
492
+ }) => AgentHostAsyncResult<void>;
493
+ subscribeEvents: (input: any, listener: (event: any) => void) => AgentHostUnsubscribe;
494
+ unactivate: (input: any) => AgentHostAsyncResult<any>;
495
+ updateSettings: (input: any) => AgentHostAsyncResult<any>;
496
+ };
497
+ /**
498
+ * @deprecated Legacy host DTO projection. AgentGUI production reads and writes
499
+ * must use AgentActivityRuntime and AgentActivity* models.
500
+ */
501
+ type AgentHostWorkspaceAgentsApi = AgentHostRecord & {
502
+ /**
503
+ * @deprecated Use AgentActivityRuntime.deleteSession.
504
+ */
505
+ deleteSession: (input: AgentHostDeleteWorkspaceAgentSessionRuntimeInput) => AgentHostAsyncResult<any>;
506
+ /**
507
+ * @deprecated Derive summaries from AgentActivitySnapshot/session messages.
508
+ */
509
+ getSessionSummary: (input: AgentHostWorkspaceAgentSessionSummaryRuntimeInput) => AgentHostAsyncResult<AgentHostWorkspaceAgentSessionSummary>;
510
+ /**
511
+ * @deprecated Use AgentActivityRuntime.load/getSnapshot.
512
+ */
513
+ list: (input: string | AgentHostWorkspaceAgentsListInput) => AgentHostAsyncResult<AgentHostWorkspaceAgentSnapshot>;
514
+ /**
515
+ * @deprecated Use AgentActivityRuntime.listSessionMessages.
516
+ */
517
+ listSessionMessages: (input: AgentHostWorkspaceAgentSessionMessagesRuntimeInput) => AgentHostAsyncResult<AgentHostWorkspaceAgentSessionMessages>;
518
+ };
519
+ interface AgentHostRuntimeApi {
520
+ account?: AgentHostAccountApi;
521
+ agentGuiBatch: AgentHostAgentGuiBatchApi;
522
+ clipboard: AgentHostClipboardApi;
523
+ debug?: AgentHostDebugApi;
524
+ filesystem: AgentHostFilesystemApi;
525
+ meta?: AgentHostMetaApi;
526
+ onHostEvent?: (listener: (event: any) => void) => AgentHostUnsubscribe;
527
+ runtime?: AgentHostEnvironmentApi;
528
+ userProjects?: AgentHostUserProjectsApi;
529
+ workspace: AgentHostWorkspaceApi;
530
+ workspaceAgentProbes?: AgentHostWorkspaceAgentProbesApi;
531
+ }
532
+
533
+ type AgentCustomModelEnabledByProvider<TProvider extends string> = Record<TProvider, boolean>;
534
+ type AgentCustomModelByProvider<TProvider extends string> = Record<TProvider, string>;
535
+ type AgentCustomModelOptionsByProvider<TProvider extends string> = Record<TProvider, string[]>;
536
+
537
+ declare const AGENT_PROVIDERS: readonly ["claude-code", "codex", "nexight", "opencode", "gemini", "openclaw", "hermes"];
538
+ type AgentProvider = (typeof AGENT_PROVIDERS)[number];
539
+
540
+ type FocusNodeTargetZoom = number;
541
+
542
+ declare const UI_LANGUAGES: readonly ["en", "zh-CN"];
543
+ type UiLanguage = (typeof UI_LANGUAGES)[number];
544
+ declare const UI_THEMES: readonly ["system", "light", "dark"];
545
+ type UiTheme = (typeof UI_THEMES)[number];
546
+
547
+ declare const COMMAND_IDS: readonly ["commandCenter.toggle", "app.togglePrimarySidebar", "workspaceCanvas.createTerminal"];
548
+ type CommandId = (typeof COMMAND_IDS)[number];
549
+ type KeyChord = {
550
+ code: string;
551
+ altKey: boolean;
552
+ ctrlKey: boolean;
553
+ metaKey: boolean;
554
+ shiftKey: boolean;
555
+ };
556
+ type KeybindingOverrides = Partial<Record<CommandId, KeyChord | null>>;
557
+
558
+ declare const CANVAS_INPUT_MODES: readonly ["auto", "mouse", "trackpad"];
559
+ type CanvasInputMode = (typeof CANVAS_INPUT_MODES)[number];
560
+ declare const CANVAS_WHEEL_BEHAVIORS: readonly ["zoom", "pan"];
561
+ type CanvasWheelBehavior = (typeof CANVAS_WHEEL_BEHAVIORS)[number];
562
+ declare const CANVAS_WHEEL_ZOOM_MODIFIERS: readonly ["primary", "ctrl", "alt"];
563
+ type CanvasWheelZoomModifier = (typeof CANVAS_WHEEL_ZOOM_MODIFIERS)[number];
564
+ declare const STANDARD_WINDOW_SIZE_BUCKETS: readonly ["compact", "regular", "large"];
565
+ type StandardWindowSizeBucket = (typeof STANDARD_WINDOW_SIZE_BUCKETS)[number];
566
+
567
+ type QuickCommand = {
568
+ id: string;
569
+ title: string;
570
+ kind: "terminal";
571
+ command: string;
572
+ enabled: boolean;
573
+ pinned: boolean;
574
+ } | {
575
+ id: string;
576
+ title: string;
577
+ kind: "url";
578
+ url: string;
579
+ enabled: boolean;
580
+ pinned: boolean;
581
+ };
582
+
583
+ type QuickPhrase = {
584
+ id: string;
585
+ title: string;
586
+ content: string;
587
+ enabled: boolean;
588
+ };
589
+
590
+ type AgentEnvRow = {
591
+ id: string;
592
+ key: string;
593
+ value: string;
594
+ enabled: boolean;
595
+ };
596
+ type AgentEnvByProvider = Record<AgentProvider, AgentEnvRow[]>;
597
+
598
+ type TerminalProfileId = string | null;
599
+ interface AgentSettings {
600
+ language: UiLanguage;
601
+ uiTheme: UiTheme;
602
+ isPrimarySidebarCollapsed: boolean;
603
+ defaultProvider: AgentProvider;
604
+ agentProviderOrder: AgentProvider[];
605
+ agentFullAccess: boolean;
606
+ defaultTerminalProfileId: TerminalProfileId;
607
+ customModelEnabledByProvider: AgentCustomModelEnabledByProvider<AgentProvider>;
608
+ customModelByProvider: AgentCustomModelByProvider<AgentProvider>;
609
+ customModelOptionsByProvider: AgentCustomModelOptionsByProvider<AgentProvider>;
610
+ quickCommands: QuickCommand[];
611
+ quickPhrases: QuickPhrase[];
612
+ agentEnvByProvider: AgentEnvByProvider;
613
+ focusNodeOnClick: boolean;
614
+ focusNodeTargetZoom: FocusNodeTargetZoom;
615
+ focusNodeUseVisibleCanvasCenter: boolean;
616
+ standbyBannerEnabled: boolean;
617
+ standbyBannerShowTask: boolean;
618
+ standbyBannerShowSpace: boolean;
619
+ standbyBannerShowBranch: boolean;
620
+ disableAppShortcutsWhenTerminalFocused: boolean;
621
+ keybindings: KeybindingOverrides;
622
+ canvasInputMode: CanvasInputMode;
623
+ canvasWheelBehavior: CanvasWheelBehavior;
624
+ canvasWheelZoomModifier: CanvasWheelZoomModifier;
625
+ standardWindowSizeBucket: StandardWindowSizeBucket;
626
+ defaultTerminalWindowScalePercent: number;
627
+ terminalFontSize: number;
628
+ terminalFontFamily: string | null;
629
+ uiFontSize: number;
630
+ avoidGroupingEdits: boolean;
631
+ updatePolicy: AppUpdatePolicy;
632
+ hideWorktreeMismatchDropWarning: boolean;
633
+ }
634
+
635
+ interface AgentGUINodeData {
636
+ provider: AgentGUIProvider;
637
+ lastActiveAgentSessionId: string | null;
638
+ pendingHandoff?: {
639
+ requestId: string;
640
+ title: string;
641
+ prompt: string;
642
+ taskId?: string | null;
643
+ issueId?: string | null;
644
+ taskTitle: string;
645
+ issueTitle?: string | null;
646
+ } | null;
647
+ lastActiveConversationTitle?: string | null;
648
+ conversationCount?: number | null;
649
+ conversationRailWidthPx?: number | null;
650
+ conversationRailCollapsed?: boolean | null;
651
+ composerOverrides?: AgentHostAgentSessionComposerSettings | null;
652
+ composerOverridesByProvider?: Partial<Record<AgentGUIProvider, AgentHostAgentSessionComposerSettings | null>> | null;
653
+ }
654
+ type AgentGUIProvider = Extract<AgentProvider, "claude-code" | "codex" | "nexight" | "gemini" | "hermes" | "openclaw">;
655
+ interface Size {
656
+ width: number;
657
+ height: number;
658
+ }
659
+ interface Point {
660
+ x: number;
661
+ y: number;
662
+ }
663
+ interface NodeFrame {
664
+ position: Point;
665
+ size: Size;
666
+ }
667
+
668
+ interface DesktopSize {
669
+ width: number;
670
+ height: number;
671
+ bottomInset?: number;
672
+ }
673
+ /** Workspace-scoped agent probes for currently visible Agent GUI windows. */
674
+ interface WorkspaceDesktopAgentProbesState {
675
+ snapshot: AgentProbeSnapshot | null;
676
+ isLoadingAvailability: boolean;
677
+ isLoadingUsage: boolean;
678
+ }
679
+ type WorkspaceDesktopAgentProbeDemandChange = (provider: AgentProvider | null, sourceId?: string) => void;
680
+
681
+ interface AgentMessageMarkdownWorkspaceAppIcon {
682
+ appId: string;
683
+ iconUrl: string | null;
684
+ workspaceId?: string | null;
685
+ }
686
+
687
+ interface AgentGUINodeProps {
688
+ nodeId: string;
689
+ workspaceId: string;
690
+ currentUserId?: string | null;
691
+ workspacePath: string;
692
+ workspaceFileReferenceAdapter?: WorkspaceFileReferenceAdapter | null;
693
+ agentSettings: Pick<AgentSettings, "avoidGroupingEdits">;
694
+ title: string;
695
+ state: AgentGUINodeData;
696
+ position: Point;
697
+ width: number;
698
+ height: number;
699
+ desktopSize: DesktopSize;
700
+ onLinkAction?: (action: WorkspaceLinkAction) => void;
701
+ onAgentProviderLogin?: (provider: AgentProvider) => void;
702
+ onWorkspaceFileReferencesAdded?: (input: {
703
+ provider: AgentProvider;
704
+ references: readonly WorkspaceFileReference[];
705
+ }) => void | Promise<void>;
706
+ onClose: () => void;
707
+ onResize: (frame: NodeFrame) => void;
708
+ onUpdateNode: (updater: (current: AgentGUINodeData) => AgentGUINodeData) => void;
709
+ isMaximized?: boolean;
710
+ isActive: boolean;
711
+ composerFocusRequestSequence?: number | null;
712
+ showProjectSelector?: boolean;
713
+ isMuted?: boolean;
714
+ onMinimize?: () => void;
715
+ onToggleMaximize?: () => void;
716
+ onShowMessage?: (message: string, tone?: "info" | "warning" | "error") => void;
717
+ workspaceAgentProbes?: WorkspaceDesktopAgentProbesState | null;
718
+ onAgentProbeDemandChange?: WorkspaceDesktopAgentProbeDemandChange;
719
+ managedAgentsState?: AgentHostManagedAgentsState | null;
720
+ richTextAtProviders?: readonly AgentRichTextAtProvider[];
721
+ workspaceAppIcons?: readonly AgentMessageMarkdownWorkspaceAppIcon[];
722
+ embedded?: boolean;
723
+ }
724
+
725
+ interface AgentGUIProps extends AgentGUINodeProps {
726
+ agentActivityRuntime: AgentActivityRuntime;
727
+ agentHostApi?: AgentHostInputApi | null;
728
+ embedded?: boolean;
729
+ i18n?: I18nRuntime<string> | null;
730
+ locale?: AgentGuiI18nLocale;
731
+ }
732
+ declare function AgentGUI({ agentActivityRuntime, agentHostApi, i18n, locale, ...props }: AgentGUIProps): JSX.Element;
733
+
734
+ declare const agentGuiDockIconUrl: string;
735
+ declare const agentGuiDockIconUrls: {
736
+ readonly "claude-code": string;
737
+ readonly codex: string;
738
+ readonly gemini: string;
739
+ readonly hermes: string;
740
+ readonly nexight: string;
741
+ readonly openclaw: string;
742
+ };
743
+
744
+ interface AgentGUIExpandedWindowFrameInput {
745
+ position: {
746
+ x: number;
747
+ y: number;
748
+ };
749
+ width: number;
750
+ height: number;
751
+ desktopSize: {
752
+ width: number;
753
+ height: number;
754
+ };
755
+ conversationRailWidthPx: number | null | undefined;
756
+ }
757
+ declare function shouldAutoCollapseAgentGUIConversationRail(containerWidthPx: number): boolean;
758
+ declare function resolveAgentGUIExpandedWindowFrame(input: AgentGUIExpandedWindowFrameInput): {
759
+ position: {
760
+ x: number;
761
+ y: number;
762
+ };
763
+ size: {
764
+ width: number;
765
+ height: number;
766
+ };
767
+ };
768
+
769
+ interface AgentActivityHostProviderProps extends PropsWithChildren {
770
+ agentActivityRuntime?: AgentActivityRuntime | null;
771
+ agentHostApi?: AgentHostInputApi | null;
772
+ }
773
+ declare function AgentActivityHostProvider({ agentActivityRuntime, agentHostApi, children }: AgentActivityHostProviderProps): JSX.Element;
774
+
775
+ export { AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeListSessionMessagesInput, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeRetainSessionEventsInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeWarmupOpenclawGatewayInput, type AgentActivitySnapshotProjection, AgentGUI, type AgentGUIProps, AgentGuiI18nLocale, type AgentHostApi, type AgentHostInputApi, type AgentHostRuntimeApi, type AgentProbeProvider, type AgentProbeSnapshot, type AgentProviderProbeListInput, type AgentProviderProbeListResult, AgentRichTextAtProvider, type AgentUsageQuota, type AgentUsageSnapshot, agentGuiDockIconUrl, agentGuiDockIconUrls, agentHostSnapshotFromAgentActivitySnapshot, buildAgentActivitySnapshotProjection, getAgentActivityRuntime, getOptionalAgentActivityRuntime, resetAgentActivityRuntimeForTests, resolveAgentGUIExpandedWindowFrame, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useOptionalAgentActivityRuntime };