@tutti-os/agent-gui 0.0.214 → 0.0.216

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 (65) hide show
  1. package/README.md +3 -5
  2. package/dist/{AgentRichTextReadonly-TASIMIK4.js → AgentRichTextReadonly-IPPNAAWG.js} +6 -6
  3. package/dist/agent-conversation/index.d.ts +3 -5
  4. package/dist/agent-conversation/index.js +8 -8
  5. package/dist/agent-gui.d.ts +2 -9
  6. package/dist/agent-gui.js +15 -15
  7. package/dist/agent-message-center/index.d.ts +2 -3
  8. package/dist/agent-message-center/index.js +7 -7
  9. package/dist/{agentGuiNodeTypes-BMcpfKTn.d.ts → agentGuiNodeTypes-DW7T--Y8.d.ts} +1 -1
  10. package/dist/app/renderer/agentactivity.css +68 -34
  11. package/dist/{chunk-ISC67YBJ.js → chunk-6A6OVD66.js} +4 -4
  12. package/dist/{chunk-AD2RTSMS.js → chunk-AOK22J62.js} +2 -2
  13. package/dist/{chunk-2HYADTQP.js → chunk-B4TM2HYJ.js} +2 -2
  14. package/dist/{chunk-G2QO6HPB.js → chunk-DLN33TPF.js} +23 -9
  15. package/dist/chunk-DLN33TPF.js.map +1 -0
  16. package/dist/{chunk-XERDRMSF.js → chunk-DTP2OMCE.js} +4 -4
  17. package/dist/{chunk-7SSORDQY.js → chunk-EZRQMJTX.js} +8 -14
  18. package/dist/chunk-EZRQMJTX.js.map +1 -0
  19. package/dist/{chunk-RLFO3NJV.js → chunk-KJA3HHUJ.js} +529 -809
  20. package/dist/chunk-KJA3HHUJ.js.map +1 -0
  21. package/dist/chunk-LQMIEH4C.js +100 -0
  22. package/dist/chunk-LQMIEH4C.js.map +1 -0
  23. package/dist/{chunk-ZNHMWCO4.js → chunk-MOCBHFJ2.js} +5 -74
  24. package/dist/chunk-MOCBHFJ2.js.map +1 -0
  25. package/dist/{chunk-QVLEP54U.js → chunk-P2RIZAK5.js} +3 -3
  26. package/dist/chunk-P2RIZAK5.js.map +1 -0
  27. package/dist/{chunk-YBIT37P5.js → chunk-QFYOJMEQ.js} +2 -2
  28. package/dist/{chunk-BYHNJQYH.js → chunk-UERICUWM.js} +2 -2
  29. package/dist/{chunk-L4E2Y52A.js → chunk-VMPPZO5C.js} +5 -44
  30. package/dist/chunk-VMPPZO5C.js.map +1 -0
  31. package/dist/{chunk-FEUU4YMY.js → chunk-YY5WM3OE.js} +5707 -5727
  32. package/dist/chunk-YY5WM3OE.js.map +1 -0
  33. package/dist/{chunk-LQKLBDBK.js → chunk-Z5UJC4Q3.js} +43 -15
  34. package/dist/chunk-Z5UJC4Q3.js.map +1 -0
  35. package/dist/context-mention-palette/index.js +7 -7
  36. package/dist/{contribution-DfeuQHH6.d.ts → contribution-D4lcOjSU.d.ts} +2 -14
  37. package/dist/i18n/index.d.ts +2 -2
  38. package/dist/i18n/index.js +2 -2
  39. package/dist/index.d.ts +80 -80
  40. package/dist/index.js +15 -15
  41. package/dist/mention-search.js +5 -5
  42. package/dist/workbench/contribution.d.ts +1 -1
  43. package/dist/workbench/contribution.js +3 -5
  44. package/dist/workbench/index.d.ts +2 -2
  45. package/dist/workbench/index.js +3 -5
  46. package/dist/workbench/sessionTitle.js +2 -2
  47. package/dist/{workspaceLinkActions-COfr61YO.d.ts → workspaceLinkActions-CzsbvGmC.d.ts} +78 -71
  48. package/package.json +14 -14
  49. package/dist/chunk-7SSORDQY.js.map +0 -1
  50. package/dist/chunk-FEUU4YMY.js.map +0 -1
  51. package/dist/chunk-G2QO6HPB.js.map +0 -1
  52. package/dist/chunk-L4E2Y52A.js.map +0 -1
  53. package/dist/chunk-LQKLBDBK.js.map +0 -1
  54. package/dist/chunk-QVLEP54U.js.map +0 -1
  55. package/dist/chunk-RLFO3NJV.js.map +0 -1
  56. package/dist/chunk-ZNHMWCO4.js.map +0 -1
  57. package/dist/chunk-ZVYUTXQJ.js +0 -43
  58. package/dist/chunk-ZVYUTXQJ.js.map +0 -1
  59. /package/dist/{AgentRichTextReadonly-TASIMIK4.js.map → AgentRichTextReadonly-IPPNAAWG.js.map} +0 -0
  60. /package/dist/{chunk-ISC67YBJ.js.map → chunk-6A6OVD66.js.map} +0 -0
  61. /package/dist/{chunk-AD2RTSMS.js.map → chunk-AOK22J62.js.map} +0 -0
  62. /package/dist/{chunk-2HYADTQP.js.map → chunk-B4TM2HYJ.js.map} +0 -0
  63. /package/dist/{chunk-XERDRMSF.js.map → chunk-DTP2OMCE.js.map} +0 -0
  64. /package/dist/{chunk-YBIT37P5.js.map → chunk-QFYOJMEQ.js.map} +0 -0
  65. /package/dist/{chunk-BYHNJQYH.js.map → chunk-UERICUWM.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { AgentSessionEngineState, AgentSessionEngine } from '@tutti-os/agent-activity-core';
3
- import { WorkbenchFrame, WorkbenchHostDockEntry, WorkbenchHostDockPopupItemInput, WorkbenchDockPreviewContent, WorkbenchHostLaunchRequest, WorkbenchHostNodeBodyContext, WorkbenchContribution } from '@tutti-os/workbench-surface';
3
+ import { WorkbenchFrame, WorkbenchHostDockEntry, WorkbenchHostLaunchRequest, WorkbenchHostNodeBodyContext, WorkbenchContribution } from '@tutti-os/workbench-surface';
4
4
  import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchState } from './workbench/types.js';
5
5
 
6
6
  /**
@@ -159,7 +159,6 @@ interface BuildAgentGuiDockEntriesInput {
159
159
  label?: string;
160
160
  order?: number;
161
161
  providerAvailability?: AgentGuiWorkbenchProviderAvailability;
162
- renderPreview?: CreateAgentGuiWorkbenchContributionInput["renderPreview"];
163
162
  resolveDockPopupIdentity?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupIdentity"];
164
163
  resolveDockPopupTitle?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupTitle"];
165
164
  sectionId?: string;
@@ -175,15 +174,6 @@ declare function resolveAgentGuiWorkbenchDefaultLaunchFrame(input: {
175
174
  request: Pick<WorkbenchHostLaunchRequest, "layoutConstraints" | "surfaceSize">;
176
175
  }): WorkbenchFrame;
177
176
  declare function resolveAgentGuiWorkbenchContributionCopy(copy?: AgentGuiWorkbenchContributionCopyOverrides): AgentGuiWorkbenchContributionCopy;
178
- declare function createAgentGuiWorkbenchPreviewContent(input: {
179
- agentDirectory: AgentGUIAgentDirectoryPort;
180
- item: WorkbenchHostDockPopupItemInput;
181
- label?: string;
182
- provider?: AgentGuiWorkbenchProvider;
183
- renderPreview: NonNullable<CreateAgentGuiWorkbenchContributionInput["renderPreview"]>;
184
- resolveDockPopupIdentity?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupIdentity"];
185
- resolveDockPopupTitle?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupTitle"];
186
- }): WorkbenchDockPreviewContent;
187
177
 
188
178
  declare const AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT = "tutti:agent-gui-workbench-conversation-rail-toggle";
189
179
  declare const AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT = "tutti:agent-gui-workbench-new-conversation";
@@ -233,8 +223,6 @@ interface CreateAgentGuiWorkbenchContributionInput {
233
223
  id?: string;
234
224
  providerAvailability?: AgentGuiWorkbenchProviderAvailability;
235
225
  renderBody(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
236
- renderPreview?(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
237
- renderMinimizedPreview(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
238
226
  resolveDockPopupTitle?: (state: AgentGuiWorkbenchState | null) => string | null;
239
227
  resolveDockPopupIdentity?: (state: AgentGuiWorkbenchState | null) => AgentGuiWorkbenchConversationIdentity | null;
240
228
  sessionEngine?: AgentSessionEngine;
@@ -249,4 +237,4 @@ interface CreateAgentGuiWorkbenchContributionInput {
249
237
  }
250
238
  declare function createAgentGuiWorkbenchContribution(input: CreateAgentGuiWorkbenchContributionInput): WorkbenchContribution;
251
239
 
252
- export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT as A, type BuildAgentGuiDockEntriesInput as B, type CreateAgentGuiWorkbenchContributionInput as C, isAgentGuiWorkbenchSessionAction as D, resolveAgentGuiUnifiedDockLaunchPayload as E, resolveAgentGuiWorkbenchContributionCopy as F, resolveAgentGuiWorkbenchConversationIdentity as G, resolveAgentGuiWorkbenchDefaultLaunchFrame as H, AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT as a, AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT as b, AGENT_GUI_WORKBENCH_SESSION_ACTION_EVENT as c, type AgentGuiWorkbenchContributionCopy as d, type AgentGuiWorkbenchContributionCopyOverrides as e, type AgentGuiWorkbenchConversationIdentity as f, type AgentGuiWorkbenchConversationRailToggleDetail as g, type AgentGuiWorkbenchNewConversationDetail as h, type AgentGuiWorkbenchProviderAvailability as i, type AgentGuiWorkbenchRenderBodyHelpers as j, type AgentGuiWorkbenchSessionAction as k, type AgentGuiWorkbenchSessionActionDetail as l, type AgentGuiWorkbenchSessionActionRequest as m, type AgentGuiWorkbenchSessionMenuCopy as n, agentGuiWorkbenchCompactVisibleAreaRatio as o, agentGuiWorkbenchConversationIdentitiesEqual as p, agentGuiWorkbenchDefaultCopy as q, agentGuiWorkbenchDefaultNodeFrame as r, agentGuiWorkbenchDefaultUsableHeightRatio as s, agentGuiWorkbenchDefaultUsableWidthRatio as t, agentGuiWorkbenchNewWindowCascadeOffset as u, agentGuiWorkbenchProviderRailWidthPx as v, buildAgentGuiDockEntries as w, createAgentGuiWorkbenchContribution as x, createAgentGuiWorkbenchPreviewContent as y, dispatchAgentGuiWorkbenchSessionAction as z };
240
+ export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT as A, type BuildAgentGuiDockEntriesInput as B, type CreateAgentGuiWorkbenchContributionInput as C, resolveAgentGuiUnifiedDockLaunchPayload as D, resolveAgentGuiWorkbenchContributionCopy as E, resolveAgentGuiWorkbenchConversationIdentity as F, resolveAgentGuiWorkbenchDefaultLaunchFrame as G, AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT as a, AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT as b, AGENT_GUI_WORKBENCH_SESSION_ACTION_EVENT as c, type AgentGuiWorkbenchContributionCopy as d, type AgentGuiWorkbenchContributionCopyOverrides as e, type AgentGuiWorkbenchConversationIdentity as f, type AgentGuiWorkbenchConversationRailToggleDetail as g, type AgentGuiWorkbenchNewConversationDetail as h, type AgentGuiWorkbenchProviderAvailability as i, type AgentGuiWorkbenchRenderBodyHelpers as j, type AgentGuiWorkbenchSessionAction as k, type AgentGuiWorkbenchSessionActionDetail as l, type AgentGuiWorkbenchSessionActionRequest as m, type AgentGuiWorkbenchSessionMenuCopy as n, agentGuiWorkbenchCompactVisibleAreaRatio as o, agentGuiWorkbenchConversationIdentitiesEqual as p, agentGuiWorkbenchDefaultCopy as q, agentGuiWorkbenchDefaultNodeFrame as r, agentGuiWorkbenchDefaultUsableHeightRatio as s, agentGuiWorkbenchDefaultUsableWidthRatio as t, agentGuiWorkbenchNewWindowCascadeOffset as u, agentGuiWorkbenchProviderRailWidthPx as v, buildAgentGuiDockEntries as w, createAgentGuiWorkbenchContribution as x, dispatchAgentGuiWorkbenchSessionAction as y, isAgentGuiWorkbenchSessionAction as z };
@@ -778,7 +778,7 @@ declare const agentGuiI18nResources: {
778
778
  readonly projectRailCreateProject: "New project";
779
779
  readonly projectRailLinkExistingProject: "Link existing project folder";
780
780
  readonly removeProject: "Remove";
781
- readonly removeProjectConfirmDescription: "This only removes “{{project}}” from this list. Local files are not deleted.";
781
+ readonly removeProjectConfirmDescription: "This will remove “{{project}}” and all its sessions from this list. Local files are not deleted. Continue?";
782
782
  readonly removeProjectConfirmTitle: "Remove project?";
783
783
  readonly batchDeleteProjectSessions: "Batch delete sessions";
784
784
  readonly batchDeleteProjectSessionsTitle: "Delete project sessions?";
@@ -3564,7 +3564,7 @@ declare const agentGuiI18nResources: {
3564
3564
  readonly projectRailCreateProject: "新建项目";
3565
3565
  readonly projectRailLinkExistingProject: "关联已有项目文件";
3566
3566
  readonly removeProject: "移除";
3567
- readonly removeProjectConfirmDescription: "这只会从列表中移除「{{project}}」,不会删除本地文件。";
3567
+ readonly removeProjectConfirmDescription: "将会从列表中移除「{{project}}」及项目下全部会话,不会删除本地文件,是否确认移除?";
3568
3568
  readonly removeProjectConfirmTitle: "移除项目?";
3569
3569
  readonly batchDeleteProjectSessions: "批量删除会话";
3570
3570
  readonly batchDeleteProjectSessionsTitle: "删除项目会话?";
@@ -6,8 +6,8 @@ import {
6
6
  translate,
7
7
  translateInUiLanguage,
8
8
  useTranslation
9
- } from "../chunk-BYHNJQYH.js";
10
- import "../chunk-QVLEP54U.js";
9
+ } from "../chunk-UERICUWM.js";
10
+ import "../chunk-P2RIZAK5.js";
11
11
  export {
12
12
  AgentGuiI18nProvider,
13
13
  agentGuiI18nModule,
package/dist/index.d.ts CHANGED
@@ -1313,77 +1313,6 @@ interface AgentCollaborationVM {
1313
1313
  adoption: "pending" | "adopted" | "rejected" | "not_applicable" | (string & {});
1314
1314
  }
1315
1315
 
1316
- interface AgentMessageContentVM {
1317
- kind: "message-content";
1318
- id: string;
1319
- turnId: string;
1320
- body: string;
1321
- presentationKind: AgentTranscriptPresentationKind;
1322
- copyText?: string | null;
1323
- statusKind?: ToolCallStatusKind | null;
1324
- contentKind?: "text" | "image-grid" | "plan" | "collaboration";
1325
- isTurnFinalText?: true;
1326
- /** Typed payload for `contentKind: "collaboration"` rows. */
1327
- collaboration?: AgentCollaborationVM | null;
1328
- images?: AgentMessageImageVM[];
1329
- occurredAtUnixMs: number | null;
1330
- visibleError?: {
1331
- code: string | null;
1332
- phase: string | null;
1333
- provider: string | null;
1334
- detail: string | null;
1335
- retryable: boolean | null;
1336
- } | null;
1337
- systemNotice?: {
1338
- noticeKind: string | null;
1339
- severity: string | null;
1340
- source?: string | null;
1341
- command?: AgentActivityMessageSemantics["noticeCommand"] | null;
1342
- commandStatus?: AgentActivityMessageSemantics["noticeCommandStatus"] | null;
1343
- title: string | null;
1344
- detail: string | null;
1345
- retryable: boolean | null;
1346
- } | null;
1347
- sourceTimelineItems?: WorkspaceAgentActivityTimelineItem[];
1348
- }
1349
- interface AgentMessageImageVM {
1350
- id: string;
1351
- workspaceId?: string | null;
1352
- agentSessionId: string;
1353
- attachmentId?: string | null;
1354
- mimeType: string;
1355
- name?: string | null;
1356
- data?: string | null;
1357
- url?: string | null;
1358
- path?: string | null;
1359
- }
1360
- interface AgentThinkingContentVM {
1361
- kind: "thinking-content";
1362
- id: string;
1363
- turnId: string;
1364
- body: string;
1365
- statusKind?: ToolCallStatusKind | null;
1366
- occurredAtUnixMs: number | null;
1367
- sourceTimelineItems?: WorkspaceAgentActivityTimelineItem[];
1368
- }
1369
- interface AgentMessageRowVM {
1370
- kind: "message";
1371
- id: string;
1372
- turnId: string;
1373
- speaker: "user" | "assistant";
1374
- messages: AgentMessageContentVM[];
1375
- thinking: AgentThinkingContentVM[];
1376
- occurredAtUnixMs: number | null;
1377
- }
1378
-
1379
- interface AgentProcessingRowVM {
1380
- kind: "processing";
1381
- id: string;
1382
- turnId: string | null;
1383
- label?: string | null;
1384
- occurredAtUnixMs: number | null;
1385
- }
1386
-
1387
1316
  type AgentPlanModeKind = "enter" | "exit";
1388
1317
  interface AgentPlanModeItemVM {
1389
1318
  itemKind: "plan-mode";
@@ -1501,6 +1430,84 @@ interface AgentToolGroupRowVM {
1501
1430
  occurredAtUnixMs: number | null;
1502
1431
  }
1503
1432
 
1433
+ interface AgentMessageContentVM {
1434
+ kind: "message-content";
1435
+ id: string;
1436
+ turnId: string;
1437
+ body: string;
1438
+ presentationKind: AgentTranscriptPresentationKind;
1439
+ copyText?: string | null;
1440
+ statusKind?: ToolCallStatusKind | null;
1441
+ contentKind?: "text" | "image-grid" | "plan" | "collaboration";
1442
+ isTurnFinalText?: true;
1443
+ /** Typed payload for `contentKind: "collaboration"` rows. */
1444
+ collaboration?: AgentCollaborationVM | null;
1445
+ images?: AgentMessageImageVM[];
1446
+ occurredAtUnixMs: number | null;
1447
+ visibleError?: {
1448
+ code: string | null;
1449
+ phase: string | null;
1450
+ provider: string | null;
1451
+ detail: string | null;
1452
+ retryable: boolean | null;
1453
+ } | null;
1454
+ systemNotice?: {
1455
+ noticeKind: string | null;
1456
+ severity: string | null;
1457
+ source?: string | null;
1458
+ command?: AgentActivityMessageSemantics["noticeCommand"] | null;
1459
+ commandStatus?: AgentActivityMessageSemantics["noticeCommandStatus"] | null;
1460
+ title: string | null;
1461
+ detail: string | null;
1462
+ retryable: boolean | null;
1463
+ } | null;
1464
+ sourceTimelineItems?: WorkspaceAgentActivityTimelineItem[];
1465
+ }
1466
+ interface AgentMessageImageVM {
1467
+ id: string;
1468
+ workspaceId?: string | null;
1469
+ agentSessionId: string;
1470
+ attachmentId?: string | null;
1471
+ mimeType: string;
1472
+ name?: string | null;
1473
+ data?: string | null;
1474
+ url?: string | null;
1475
+ path?: string | null;
1476
+ }
1477
+ interface AgentThinkingContentVM {
1478
+ kind: "thinking-content";
1479
+ id: string;
1480
+ turnId: string;
1481
+ body: string;
1482
+ statusKind?: ToolCallStatusKind | null;
1483
+ occurredAtUnixMs: number | null;
1484
+ sourceTimelineItems?: WorkspaceAgentActivityTimelineItem[];
1485
+ }
1486
+ interface AgentMessageRowVM {
1487
+ kind: "message";
1488
+ id: string;
1489
+ turnId: string;
1490
+ speaker: "user" | "assistant";
1491
+ messages: AgentMessageContentVM[];
1492
+ thinking: AgentThinkingContentVM[];
1493
+ /**
1494
+ * Tool-group rows that happened right before this message and are rendered
1495
+ * inside this message's block (under the participant header, above the
1496
+ * content) instead of as standalone transcript rows. Populated only for the
1497
+ * participant-header presentation (e.g. the Agent board session detail).
1498
+ */
1499
+ leadingToolRows?: AgentToolGroupRowVM[];
1500
+ occurredAtUnixMs: number | null;
1501
+ }
1502
+
1503
+ interface AgentProcessingRowVM {
1504
+ kind: "processing";
1505
+ id: string;
1506
+ turnId: string | null;
1507
+ label?: string | null;
1508
+ occurredAtUnixMs: number | null;
1509
+ }
1510
+
1504
1511
  interface AgentTurnSummaryFileVM {
1505
1512
  label: string;
1506
1513
  path: string;
@@ -3204,7 +3211,7 @@ declare const agentGuiI18nResources: {
3204
3211
  readonly projectRailCreateProject: "New project";
3205
3212
  readonly projectRailLinkExistingProject: "Link existing project folder";
3206
3213
  readonly removeProject: "Remove";
3207
- readonly removeProjectConfirmDescription: "This only removes “{{project}}” from this list. Local files are not deleted.";
3214
+ readonly removeProjectConfirmDescription: "This will remove “{{project}}” and all its sessions from this list. Local files are not deleted. Continue?";
3208
3215
  readonly removeProjectConfirmTitle: "Remove project?";
3209
3216
  readonly batchDeleteProjectSessions: "Batch delete sessions";
3210
3217
  readonly batchDeleteProjectSessionsTitle: "Delete project sessions?";
@@ -5990,7 +5997,7 @@ declare const agentGuiI18nResources: {
5990
5997
  readonly projectRailCreateProject: "新建项目";
5991
5998
  readonly projectRailLinkExistingProject: "关联已有项目文件";
5992
5999
  readonly removeProject: "移除";
5993
- readonly removeProjectConfirmDescription: "这只会从列表中移除「{{project}}」,不会删除本地文件。";
6000
+ readonly removeProjectConfirmDescription: "将会从列表中移除「{{project}}」及项目下全部会话,不会删除本地文件,是否确认移除?";
5994
6001
  readonly removeProjectConfirmTitle: "移除项目?";
5995
6002
  readonly batchDeleteProjectSessions: "批量删除会话";
5996
6003
  readonly batchDeleteProjectSessionsTitle: "删除项目会话?";
@@ -8146,7 +8153,6 @@ interface AgentComposerProps {
8146
8153
  projectMissingProbeEnabled?: boolean;
8147
8154
  uiLanguage?: UiLanguage;
8148
8155
  isActive?: boolean;
8149
- previewMode?: boolean;
8150
8156
  workspaceReferencePickerOpen?: boolean;
8151
8157
  promptImagesSupported?: boolean;
8152
8158
  canGoalControl?: boolean;
@@ -8976,12 +8982,6 @@ interface AgentGUINodeFrameLayout {
8976
8982
  /** Host-projected presentation visibility. Independent from node focus. */
8977
8983
  isVisible?: boolean;
8978
8984
  embedded?: boolean;
8979
- previewMode?: boolean;
8980
- /**
8981
- * Container width at or below which the conversation rail auto-hides.
8982
- * Hosts with roomier layouts (e.g. the standalone agent window) raise this
8983
- * above the default AGENT_GUI_AUTO_COLLAPSE_WIDTH_PX.
8984
- */
8985
8985
  conversationRailAutoCollapseWidthPx?: number | null;
8986
8986
  }
8987
8987
  type AgentGUISessionActionRequest = AgentGuiWorkbenchSessionActionRequest;
package/dist/index.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  normalizeAgentGUIAgentTargets,
11
11
  resolveAgentGUIAgentTarget,
12
12
  selectAgentStatusControllerSnapshot
13
- } from "./chunk-RLFO3NJV.js";
13
+ } from "./chunk-KJA3HHUJ.js";
14
14
  import {
15
15
  AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,
16
16
  createAgentConversationRailRuntime,
@@ -23,18 +23,18 @@ import {
23
23
  AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
24
24
  resolveAgentGUIExpandedWindowFrame,
25
25
  shouldAutoCollapseAgentGUIConversationRail
26
- } from "./chunk-ZNHMWCO4.js";
27
- import "./chunk-L4E2Y52A.js";
26
+ } from "./chunk-MOCBHFJ2.js";
27
+ import "./chunk-VMPPZO5C.js";
28
28
  import "./chunk-KDN6SLJM.js";
29
29
  import "./chunk-4CHBM3G3.js";
30
30
  import "./chunk-CBMWHQ7P.js";
31
31
  import "./chunk-MGSRWYRN.js";
32
- import "./chunk-FEUU4YMY.js";
33
- import "./chunk-G2QO6HPB.js";
32
+ import "./chunk-YY5WM3OE.js";
33
+ import "./chunk-DLN33TPF.js";
34
34
  import "./chunk-N4HLBSMJ.js";
35
35
  import "./chunk-UP3ZDYTN.js";
36
36
  import "./chunk-GUFEHWUX.js";
37
- import "./chunk-XERDRMSF.js";
37
+ import "./chunk-DTP2OMCE.js";
38
38
  import {
39
39
  agentGUIAgentIsReady,
40
40
  normalizeAgentGUIAgents,
@@ -47,13 +47,13 @@ import {
47
47
  } from "./chunk-G7DS23D4.js";
48
48
  import {
49
49
  preloadAgentMentionBrowse
50
- } from "./chunk-ISC67YBJ.js";
50
+ } from "./chunk-6A6OVD66.js";
51
51
  import "./chunk-VMPA46ET.js";
52
52
  import "./chunk-XJ34OIEQ.js";
53
53
  import {
54
54
  createAgentSessionHandoffPrompt,
55
55
  createAgentSessionMarkdownLink
56
- } from "./chunk-2HYADTQP.js";
56
+ } from "./chunk-B4TM2HYJ.js";
57
57
  import "./chunk-JDVP33S5.js";
58
58
  import "./chunk-3V5OCA2M.js";
59
59
  import {
@@ -66,14 +66,14 @@ import {
66
66
  import {
67
67
  dispatchAgentPlanPromptAction,
68
68
  selectAgentPlanPromptTurn
69
- } from "./chunk-7SSORDQY.js";
69
+ } from "./chunk-EZRQMJTX.js";
70
70
  import {
71
71
  useEngineSelector
72
72
  } from "./chunk-EVQ4JY3N.js";
73
- import "./chunk-LQKLBDBK.js";
74
- import "./chunk-ZVYUTXQJ.js";
73
+ import "./chunk-Z5UJC4Q3.js";
74
+ import "./chunk-LQMIEH4C.js";
75
75
  import "./chunk-FMTWYOHM.js";
76
- import "./chunk-AD2RTSMS.js";
76
+ import "./chunk-AOK22J62.js";
77
77
  import "./chunk-YMXYBG7U.js";
78
78
  import {
79
79
  AgentActivityHostProvider,
@@ -83,17 +83,17 @@ import {
83
83
  useAgentActivityRuntime,
84
84
  useAgentActivitySnapshot,
85
85
  useOptionalAgentActivityRuntime
86
- } from "./chunk-YBIT37P5.js";
86
+ } from "./chunk-QFYOJMEQ.js";
87
87
  import "./chunk-M6HTOCQK.js";
88
88
  import "./chunk-F5UR6EJG.js";
89
89
  import {
90
90
  AgentGuiI18nProvider,
91
91
  agentGuiI18nModule,
92
92
  agentGuiI18nResources
93
- } from "./chunk-BYHNJQYH.js";
93
+ } from "./chunk-UERICUWM.js";
94
94
  import "./chunk-5BJYO6X3.js";
95
95
  import "./chunk-AFUVWWQY.js";
96
- import "./chunk-QVLEP54U.js";
96
+ import "./chunk-P2RIZAK5.js";
97
97
  import "./chunk-MIJXEELH.js";
98
98
  import {
99
99
  getAgentCustomMentionKind,
@@ -3,22 +3,22 @@ import {
3
3
  MAX_BROWSE_CACHE_ENTRIES,
4
4
  preloadAgentMentionBrowse,
5
5
  resetAgentMentionSearchBrowseCacheForTests
6
- } from "./chunk-ISC67YBJ.js";
6
+ } from "./chunk-6A6OVD66.js";
7
7
  import "./chunk-VMPA46ET.js";
8
8
  import "./chunk-XJ34OIEQ.js";
9
- import "./chunk-2HYADTQP.js";
9
+ import "./chunk-B4TM2HYJ.js";
10
10
  import "./chunk-JDVP33S5.js";
11
11
  import "./chunk-3V5OCA2M.js";
12
12
  import "./chunk-RMQREVJY.js";
13
13
  import "./chunk-FGLQZ6I4.js";
14
14
  import "./chunk-YMXYBG7U.js";
15
- import "./chunk-YBIT37P5.js";
15
+ import "./chunk-QFYOJMEQ.js";
16
16
  import "./chunk-M6HTOCQK.js";
17
17
  import "./chunk-F5UR6EJG.js";
18
- import "./chunk-BYHNJQYH.js";
18
+ import "./chunk-UERICUWM.js";
19
19
  import "./chunk-5BJYO6X3.js";
20
20
  import "./chunk-AFUVWWQY.js";
21
- import "./chunk-QVLEP54U.js";
21
+ import "./chunk-P2RIZAK5.js";
22
22
  import "./chunk-MIJXEELH.js";
23
23
  import "./chunk-D2JUDUYY.js";
24
24
  import "./chunk-QNE2ZPPV.js";
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
2
  import '@tutti-os/agent-activity-core';
3
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 AGENT_GUI_WORKBENCH_SESSION_ACTION_EVENT, d as AgentGuiWorkbenchContributionCopy, e as AgentGuiWorkbenchContributionCopyOverrides, f as AgentGuiWorkbenchConversationIdentity, g as AgentGuiWorkbenchConversationRailToggleDetail, h as AgentGuiWorkbenchNewConversationDetail, i as AgentGuiWorkbenchProviderAvailability, j as AgentGuiWorkbenchRenderBodyHelpers, k as AgentGuiWorkbenchSessionAction, l as AgentGuiWorkbenchSessionActionDetail, m as AgentGuiWorkbenchSessionActionRequest, n as AgentGuiWorkbenchSessionMenuCopy, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, o as agentGuiWorkbenchCompactVisibleAreaRatio, q as agentGuiWorkbenchDefaultCopy, r as agentGuiWorkbenchDefaultNodeFrame, s as agentGuiWorkbenchDefaultUsableHeightRatio, t as agentGuiWorkbenchDefaultUsableWidthRatio, u as agentGuiWorkbenchNewWindowCascadeOffset, v as agentGuiWorkbenchProviderRailWidthPx, w as buildAgentGuiDockEntries, x as createAgentGuiWorkbenchContribution, y as createAgentGuiWorkbenchPreviewContent, z as dispatchAgentGuiWorkbenchSessionAction, D as isAgentGuiWorkbenchSessionAction, E as resolveAgentGuiUnifiedDockLaunchPayload, F as resolveAgentGuiWorkbenchContributionCopy, H as resolveAgentGuiWorkbenchDefaultLaunchFrame } from '../contribution-DfeuQHH6.js';
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 AGENT_GUI_WORKBENCH_SESSION_ACTION_EVENT, d as AgentGuiWorkbenchContributionCopy, e as AgentGuiWorkbenchContributionCopyOverrides, f as AgentGuiWorkbenchConversationIdentity, g as AgentGuiWorkbenchConversationRailToggleDetail, h as AgentGuiWorkbenchNewConversationDetail, i as AgentGuiWorkbenchProviderAvailability, j as AgentGuiWorkbenchRenderBodyHelpers, k as AgentGuiWorkbenchSessionAction, l as AgentGuiWorkbenchSessionActionDetail, m as AgentGuiWorkbenchSessionActionRequest, n as AgentGuiWorkbenchSessionMenuCopy, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, o as agentGuiWorkbenchCompactVisibleAreaRatio, q as agentGuiWorkbenchDefaultCopy, r as agentGuiWorkbenchDefaultNodeFrame, s as agentGuiWorkbenchDefaultUsableHeightRatio, t as agentGuiWorkbenchDefaultUsableWidthRatio, u as agentGuiWorkbenchNewWindowCascadeOffset, v as agentGuiWorkbenchProviderRailWidthPx, w as buildAgentGuiDockEntries, x as createAgentGuiWorkbenchContribution, y as dispatchAgentGuiWorkbenchSessionAction, z as isAgentGuiWorkbenchSessionAction, D as resolveAgentGuiUnifiedDockLaunchPayload, E as resolveAgentGuiWorkbenchContributionCopy, G as resolveAgentGuiWorkbenchDefaultLaunchFrame } from '../contribution-D4lcOjSU.js';
5
5
  import './types.js';
@@ -12,14 +12,13 @@ import {
12
12
  agentGuiWorkbenchProviderRailWidthPx,
13
13
  buildAgentGuiDockEntries,
14
14
  createAgentGuiWorkbenchContribution,
15
- createAgentGuiWorkbenchPreviewContent,
16
15
  dispatchAgentGuiWorkbenchSessionAction,
17
16
  isAgentGuiWorkbenchSessionAction,
18
17
  resolveAgentGuiUnifiedDockLaunchPayload,
19
18
  resolveAgentGuiWorkbenchContributionCopy,
20
19
  resolveAgentGuiWorkbenchDefaultLaunchFrame
21
- } from "../chunk-ZNHMWCO4.js";
22
- import "../chunk-L4E2Y52A.js";
20
+ } from "../chunk-MOCBHFJ2.js";
21
+ import "../chunk-VMPPZO5C.js";
23
22
  import "../chunk-KDN6SLJM.js";
24
23
  import "../chunk-4CHBM3G3.js";
25
24
  import "../chunk-CBMWHQ7P.js";
@@ -28,7 +27,7 @@ import "../chunk-3MVSOLX3.js";
28
27
  import "../chunk-G7DS23D4.js";
29
28
  import "../chunk-EVQ4JY3N.js";
30
29
  import "../chunk-AFUVWWQY.js";
31
- import "../chunk-QVLEP54U.js";
30
+ import "../chunk-P2RIZAK5.js";
32
31
  import "../chunk-MIJXEELH.js";
33
32
  import "../chunk-QNE2ZPPV.js";
34
33
  import "../chunk-O433KXLK.js";
@@ -46,7 +45,6 @@ export {
46
45
  agentGuiWorkbenchProviderRailWidthPx,
47
46
  buildAgentGuiDockEntries,
48
47
  createAgentGuiWorkbenchContribution,
49
- createAgentGuiWorkbenchPreviewContent,
50
48
  dispatchAgentGuiWorkbenchSessionAction,
51
49
  isAgentGuiWorkbenchSessionAction,
52
50
  resolveAgentGuiUnifiedDockLaunchPayload,
@@ -1,5 +1,5 @@
1
- import { n as AgentGuiWorkbenchSessionMenuCopy, k as AgentGuiWorkbenchSessionAction } from '../contribution-DfeuQHH6.js';
2
- export { A as AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, a as AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, c as AGENT_GUI_WORKBENCH_SESSION_ACTION_EVENT, d as AgentGuiWorkbenchContributionCopy, e as AgentGuiWorkbenchContributionCopyOverrides, f as AgentGuiWorkbenchConversationIdentity, g as AgentGuiWorkbenchConversationRailToggleDetail, h as AgentGuiWorkbenchNewConversationDetail, i as AgentGuiWorkbenchProviderAvailability, j as AgentGuiWorkbenchRenderBodyHelpers, l as AgentGuiWorkbenchSessionActionDetail, m as AgentGuiWorkbenchSessionActionRequest, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, p as agentGuiWorkbenchConversationIdentitiesEqual, q as agentGuiWorkbenchDefaultCopy, r as agentGuiWorkbenchDefaultNodeFrame, w as buildAgentGuiDockEntries, x as createAgentGuiWorkbenchContribution, y as createAgentGuiWorkbenchPreviewContent, z as dispatchAgentGuiWorkbenchSessionAction, D as isAgentGuiWorkbenchSessionAction, E as resolveAgentGuiUnifiedDockLaunchPayload, F as resolveAgentGuiWorkbenchContributionCopy, G as resolveAgentGuiWorkbenchConversationIdentity } from '../contribution-DfeuQHH6.js';
1
+ import { n as AgentGuiWorkbenchSessionMenuCopy, k as AgentGuiWorkbenchSessionAction } from '../contribution-D4lcOjSU.js';
2
+ export { A as AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, a as AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, c as AGENT_GUI_WORKBENCH_SESSION_ACTION_EVENT, d as AgentGuiWorkbenchContributionCopy, e as AgentGuiWorkbenchContributionCopyOverrides, f as AgentGuiWorkbenchConversationIdentity, g as AgentGuiWorkbenchConversationRailToggleDetail, h as AgentGuiWorkbenchNewConversationDetail, i as AgentGuiWorkbenchProviderAvailability, j as AgentGuiWorkbenchRenderBodyHelpers, l as AgentGuiWorkbenchSessionActionDetail, m as AgentGuiWorkbenchSessionActionRequest, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, p as agentGuiWorkbenchConversationIdentitiesEqual, q as agentGuiWorkbenchDefaultCopy, r as agentGuiWorkbenchDefaultNodeFrame, w as buildAgentGuiDockEntries, x as createAgentGuiWorkbenchContribution, y as dispatchAgentGuiWorkbenchSessionAction, z as isAgentGuiWorkbenchSessionAction, D as resolveAgentGuiUnifiedDockLaunchPayload, E as resolveAgentGuiWorkbenchContributionCopy, F as resolveAgentGuiWorkbenchConversationIdentity } from '../contribution-D4lcOjSU.js';
3
3
  export { agentGuiWorkbenchComingSoonProviders, agentGuiWorkbenchDefaultDockProviders, agentGuiWorkbenchDockSuppressedProviders, agentGuiWorkbenchProviderLabels, agentGuiWorkbenchProviders, isAgentGuiWorkbenchComingSoonProvider, isAgentGuiWorkbenchDefaultDockProvider, isAgentGuiWorkbenchDockSuppressedProvider, isAgentGuiWorkbenchProvider, normalizeAgentGuiWorkbenchProvider, resolveAgentGuiWorkbenchProviderLabel } from './providerCatalog.js';
4
4
  export { AgentGuiWorkbenchLaunchDescriptor, AgentGuiWorkbenchReusePolicy, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchDockIdentityFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, agentGuiWorkbenchUnifiedDockEntryId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest, resolveAgentGuiWorkbenchLaunchDockEntryId } from './launch.js';
5
5
  export { areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState } from './state.js';
@@ -8,17 +8,16 @@ import {
8
8
  agentGuiWorkbenchDefaultNodeFrame,
9
9
  buildAgentGuiDockEntries,
10
10
  createAgentGuiWorkbenchContribution,
11
- createAgentGuiWorkbenchPreviewContent,
12
11
  dispatchAgentGuiWorkbenchSessionAction,
13
12
  isAgentGuiWorkbenchSessionAction,
14
13
  resolveAgentGuiUnifiedDockLaunchPayload,
15
14
  resolveAgentGuiWorkbenchContributionCopy,
16
15
  resolveAgentGuiWorkbenchConversationIdentity
17
- } from "../chunk-ZNHMWCO4.js";
16
+ } from "../chunk-MOCBHFJ2.js";
18
17
  import {
19
18
  resolveAgentGuiWorkbenchHeaderTitle,
20
19
  resolveAgentGuiWorkbenchSessionTitle
21
- } from "../chunk-L4E2Y52A.js";
20
+ } from "../chunk-VMPPZO5C.js";
22
21
  import {
23
22
  areAgentGuiWorkbenchNodeStatesEqual,
24
23
  areAgentGuiWorkbenchStatesEqual,
@@ -61,7 +60,7 @@ import "../chunk-3MVSOLX3.js";
61
60
  import "../chunk-G7DS23D4.js";
62
61
  import "../chunk-EVQ4JY3N.js";
63
62
  import "../chunk-AFUVWWQY.js";
64
- import "../chunk-QVLEP54U.js";
63
+ import "../chunk-P2RIZAK5.js";
65
64
  import "../chunk-MIJXEELH.js";
66
65
  import "../chunk-QNE2ZPPV.js";
67
66
  import "../chunk-O433KXLK.js";
@@ -93,7 +92,6 @@ export {
93
92
  createAgentGuiWorkbenchInstanceId,
94
93
  createAgentGuiWorkbenchLaunchDescriptor,
95
94
  createAgentGuiWorkbenchNodeStateSource,
96
- createAgentGuiWorkbenchPreviewContent,
97
95
  createAgentGuiWorkbenchSessionLaunchRequest,
98
96
  createDefaultAgentGuiWorkbenchNodeState,
99
97
  dispatchAgentGuiWorkbenchSessionAction,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  resolveAgentGuiWorkbenchHeaderTitle,
3
3
  resolveAgentGuiWorkbenchSessionTitle
4
- } from "../chunk-L4E2Y52A.js";
5
- import "../chunk-QVLEP54U.js";
4
+ } from "../chunk-VMPPZO5C.js";
5
+ import "../chunk-P2RIZAK5.js";
6
6
  import "../chunk-MIJXEELH.js";
7
7
  import "../chunk-O433KXLK.js";
8
8
  export {