@tutti-os/agent-gui 0.0.73 → 0.0.75

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 (95) hide show
  1. package/README.md +23 -2
  2. package/dist/agent-conversation/index.d.ts +5 -5
  3. package/dist/agent-conversation/index.js +8 -8
  4. package/dist/agent-message-center/index.d.ts +2 -2
  5. package/dist/agent-message-center/index.js +170 -12
  6. package/dist/agent-message-center/index.js.map +1 -1
  7. package/dist/{agentConversationVM-DPAgUJlR.d.ts → agentConversationVM-BgoqFyE9.d.ts} +1 -1
  8. package/dist/{agentGuiNodeTypes-aJ3AX7u2.d.ts → agentGuiNodeTypes-CmuJ7VDZ.d.ts} +17 -6
  9. package/dist/app/renderer/agentactivity.css +58 -33
  10. package/dist/app/renderer/assets/icons/agents/cursor-colorful.png +0 -0
  11. package/dist/app/renderer/assets/icons/agents/opencode-rounded.png +0 -0
  12. package/dist/app/renderer/assets/icons/agents/provider-rail-opencode-colorful.png +0 -0
  13. package/dist/{chunk-IVIXKAEH.js → chunk-3FYA2K4P.js} +76 -7
  14. package/dist/chunk-3FYA2K4P.js.map +1 -0
  15. package/dist/{chunk-4US2YHBY.js → chunk-4HP6V2YA.js} +16 -4
  16. package/dist/chunk-4HP6V2YA.js.map +1 -0
  17. package/dist/{chunk-G6BVEY7I.js → chunk-4TNM6ZEC.js} +3 -114
  18. package/dist/chunk-4TNM6ZEC.js.map +1 -0
  19. package/dist/{chunk-3PKRGSMH.js → chunk-52GTPN7X.js} +4 -23
  20. package/dist/chunk-52GTPN7X.js.map +1 -0
  21. package/dist/{chunk-OBJRIQPX.js → chunk-7GSBP5CN.js} +68 -34
  22. package/dist/chunk-7GSBP5CN.js.map +1 -0
  23. package/dist/{chunk-2I2WRI4F.js → chunk-BEM3KDOJ.js} +3 -4
  24. package/dist/chunk-BEM3KDOJ.js.map +1 -0
  25. package/dist/{chunk-ATEZXUHK.js → chunk-BT2DT2P7.js} +1 -1
  26. package/dist/chunk-BT2DT2P7.js.map +1 -0
  27. package/dist/{chunk-SVGIWXNK.js → chunk-GZX2SGAG.js} +2 -2
  28. package/dist/{chunk-KWQ4N4IZ.js → chunk-KELYWKTC.js} +28 -6
  29. package/dist/chunk-KELYWKTC.js.map +1 -0
  30. package/dist/{chunk-UAAXRSW2.js → chunk-L2ZMLLYL.js} +14 -7
  31. package/dist/chunk-L2ZMLLYL.js.map +1 -0
  32. package/dist/{chunk-5H6NINJY.js → chunk-M6FZ2YIR.js} +3 -8
  33. package/dist/chunk-M6FZ2YIR.js.map +1 -0
  34. package/dist/{chunk-XZF4QNT4.js → chunk-MNESUMOS.js} +2 -2
  35. package/dist/{chunk-466AWJTS.js → chunk-QDKD6RNC.js} +15 -6
  36. package/dist/{chunk-466AWJTS.js.map → chunk-QDKD6RNC.js.map} +1 -1
  37. package/dist/{chunk-GDFQXJMG.js → chunk-RIRFNGPB.js} +7 -7
  38. package/dist/chunk-RIRFNGPB.js.map +1 -0
  39. package/dist/{chunk-4I2VCAMW.js → chunk-SYWMKIRW.js} +4 -11
  40. package/dist/chunk-SYWMKIRW.js.map +1 -0
  41. package/dist/{chunk-SZF52NMJ.js → chunk-U6AZ3XQS.js} +38 -13
  42. package/dist/chunk-U6AZ3XQS.js.map +1 -0
  43. package/dist/{chunk-Q6AWM3RH.js → chunk-U6EDUTUO.js} +4 -4
  44. package/dist/{chunk-MYD37I32.js → chunk-VAKFNNKT.js} +1 -15
  45. package/dist/chunk-VAKFNNKT.js.map +1 -0
  46. package/dist/{chunk-BHNJN2TR.js → chunk-XW4CVBUH.js} +2 -5
  47. package/dist/chunk-XW4CVBUH.js.map +1 -0
  48. package/dist/{chunk-C7K3EFGI.js → chunk-YWQHNFYA.js} +2 -2
  49. package/dist/context-mention-palette/index.js +9 -9
  50. package/dist/i18n/index.d.ts +2 -110
  51. package/dist/i18n/index.js +2 -2
  52. package/dist/index.d.ts +86 -10
  53. package/dist/index.js +1284 -667
  54. package/dist/index.js.map +1 -1
  55. package/dist/plan-decision-ops.d.ts +2 -2
  56. package/dist/queued-prompt-runtime.d.ts +4 -6
  57. package/dist/queued-prompt-runtime.js +1 -1
  58. package/dist/{types-CrwMqBm1.d.ts → types-DUHHejs2.d.ts} +3 -3
  59. package/dist/workbench/contribution.d.ts +1 -1
  60. package/dist/workbench/contribution.js +6 -6
  61. package/dist/workbench/index.d.ts +1 -1
  62. package/dist/workbench/index.js +9 -9
  63. package/dist/workbench/launch.d.ts +2 -2
  64. package/dist/workbench/launch.js +3 -3
  65. package/dist/workbench/providerCatalog.d.ts +3 -3
  66. package/dist/workbench/providerCatalog.js +1 -1
  67. package/dist/workbench/sessionTitle.d.ts +1 -1
  68. package/dist/workbench/sessionTitle.js +3 -3
  69. package/dist/workbench/state.d.ts +1 -1
  70. package/dist/workbench/state.js +2 -2
  71. package/dist/workbench/types.d.ts +2 -2
  72. package/dist/workbench/types.js +1 -1
  73. package/dist/workspace-agent-generated-files.d.ts +1 -1
  74. package/dist/workspace-agent-generated-files.js +4 -4
  75. package/dist/{workspaceAgentActivityListViewModel-DJvAqZso.d.ts → workspaceAgentActivityListViewModel-TXH1VXrk.d.ts} +0 -10
  76. package/package.json +12 -12
  77. package/dist/chunk-2I2WRI4F.js.map +0 -1
  78. package/dist/chunk-3PKRGSMH.js.map +0 -1
  79. package/dist/chunk-4I2VCAMW.js.map +0 -1
  80. package/dist/chunk-4US2YHBY.js.map +0 -1
  81. package/dist/chunk-5H6NINJY.js.map +0 -1
  82. package/dist/chunk-ATEZXUHK.js.map +0 -1
  83. package/dist/chunk-BHNJN2TR.js.map +0 -1
  84. package/dist/chunk-G6BVEY7I.js.map +0 -1
  85. package/dist/chunk-GDFQXJMG.js.map +0 -1
  86. package/dist/chunk-IVIXKAEH.js.map +0 -1
  87. package/dist/chunk-KWQ4N4IZ.js.map +0 -1
  88. package/dist/chunk-MYD37I32.js.map +0 -1
  89. package/dist/chunk-OBJRIQPX.js.map +0 -1
  90. package/dist/chunk-SZF52NMJ.js.map +0 -1
  91. package/dist/chunk-UAAXRSW2.js.map +0 -1
  92. /package/dist/{chunk-SVGIWXNK.js.map → chunk-GZX2SGAG.js.map} +0 -0
  93. /package/dist/{chunk-XZF4QNT4.js.map → chunk-MNESUMOS.js.map} +0 -0
  94. /package/dist/{chunk-Q6AWM3RH.js.map → chunk-U6EDUTUO.js.map} +0 -0
  95. /package/dist/{chunk-C7K3EFGI.js.map → chunk-YWQHNFYA.js.map} +0 -0
@@ -466,12 +466,6 @@ declare const agentGuiI18nResources: {
466
466
  readonly description: "Minimizes permission checks. Best for trusted tasks that need uninterrupted execution.";
467
467
  };
468
468
  };
469
- readonly gemini: {
470
- readonly yolo: {
471
- readonly label: "Fixed mode";
472
- readonly description: "This provider doesn't support changing permission mode here.";
473
- };
474
- };
475
469
  readonly hermes: {
476
470
  readonly yolo: {
477
471
  readonly label: "Fixed mode";
@@ -959,6 +953,7 @@ declare const agentGuiI18nResources: {
959
953
  readonly mentionEmptyAgentGeneratedFiles: "No files generated by Agent yet";
960
954
  readonly mentionAgentGeneratedFolderBack: "Back";
961
955
  readonly mentionAgentGeneratedFolderFileCount: "Contains {{count}} files";
956
+ readonly mentionAgentTargetAvailable: "Available";
962
957
  readonly mentionNoMatchingFiles: "No matching files";
963
958
  readonly mentionOpenReferences: "View output";
964
959
  readonly issueRunPrompt: {
@@ -1453,17 +1448,10 @@ declare const agentGuiI18nResources: {
1453
1448
  };
1454
1449
  };
1455
1450
  readonly workspaceConnecting: "Preparing your room…";
1456
- readonly workspaceConnectingOthersSpace: "Entering the room…";
1457
1451
  readonly unknownProvider: "Unknown provider";
1458
1452
  readonly messages: {
1459
- readonly inviteCodeGenerated: "Invite code generated";
1460
- readonly inviteRevoked: "Invite revoked";
1461
1453
  readonly roomOpened: "Room opened";
1462
1454
  readonly roomOpenedIssue: "Room opened. Preparing to focus the task.";
1463
- readonly recognizedSharedRoomNeedInvite: "Recognized a shared room. Enter the invite code to join the canvas.";
1464
- readonly roomJoined: "Joined room";
1465
- readonly roomJoinedIssue: "Joined room. Preparing to focus the task.";
1466
- readonly inviteCodeRequired: "Enter an invite code";
1467
1455
  readonly issueTitleRequired: "Enter a task title first";
1468
1456
  readonly issueCreated: "Task created";
1469
1457
  readonly issueUpdated: "Task updated";
@@ -1484,13 +1472,6 @@ declare const agentGuiI18nResources: {
1484
1472
  readonly issuePendingUploadAdded: "Added {{count}} pending upload file(s)";
1485
1473
  readonly issueUploaded: "Uploaded {{count}} file(s)";
1486
1474
  readonly issueDirectInstallUnsupported: "Installing Agents is not supported here yet";
1487
- readonly currentInviteMissingCode: "The current invite is missing an invite code. Refresh the share panel and try again.";
1488
- readonly roomShareLinkCopied: "Share link copied";
1489
- readonly visitorShareLinkCopied: "Guest share link copied";
1490
- readonly visitorShareOptionsUpdated: "Guest share settings updated";
1491
- readonly visitorShareDisabled: "Guest sharing is off";
1492
- readonly visitorShareTokenUnavailable: "Guest link already exists and settings were updated. The old raw link cannot be read again.";
1493
- readonly postCreateInviteLinkCopied: "Invite link copied";
1494
1475
  readonly collabCompleted: "This collaboration task is complete";
1495
1476
  readonly githubLoginCompleted: "GitHub sign-in complete";
1496
1477
  readonly googleLoginCompleted: "Google sign-in complete";
@@ -1668,7 +1649,6 @@ declare const agentGuiI18nResources: {
1668
1649
  readonly agentClaudeCode: "Claude Code";
1669
1650
  readonly agentTutti: "Tutti";
1670
1651
  readonly agentHermes: "Hermes";
1671
- readonly agentGemini: "Gemini";
1672
1652
  readonly agentOpenClaw: "OpenClaw";
1673
1653
  readonly statusNotStarted: "To run";
1674
1654
  readonly statusRunning: "Running";
@@ -2131,40 +2111,6 @@ declare const agentGuiI18nResources: {
2131
2111
  readonly noSkillsFound: "No skills found.";
2132
2112
  };
2133
2113
  };
2134
- readonly workspaceSharePanel: {
2135
- readonly title: "Share room";
2136
- readonly topBarAction: "Share";
2137
- readonly subtitle: "You are the room owner. You can invite {{count}} more collaborators.";
2138
- readonly closeAria: "Close share dialog";
2139
- readonly membersSection: "Members";
2140
- readonly ownerRole: "Room owner";
2141
- readonly inviteSlots: "Invites";
2142
- readonly invitedCount: "Invited {{current}}/{{max}}";
2143
- readonly slotLabel: "Invite slot {{n}}";
2144
- readonly slotSubUsedShort: "Invite link used";
2145
- readonly slotSubPending: "Link generated, not yet used";
2146
- readonly slotSubEmpty: "Pending invite";
2147
- readonly statusPending: "Unused";
2148
- readonly statusUsed: "Used";
2149
- readonly statusRevoked: "Revoked";
2150
- readonly statusEmpty: "Empty";
2151
- readonly copyInviteLink: "Copy link";
2152
- readonly revoke: "Revoke";
2153
- readonly emptyStateUsed: "Used; can reissue";
2154
- readonly emptyStatePending: "Pending invite";
2155
- readonly generateLink: "Generate link";
2156
- readonly memberViaInvite: "Joined via invite link";
2157
- readonly memberRole: "Collaborator";
2158
- readonly visitorShareTitle: "Guest sharing";
2159
- readonly visitorShareEnabled: "On";
2160
- readonly visitorShareDisabled: "Off";
2161
- readonly visitorShareContextLabel: "Let guests view messages and file tree";
2162
- readonly visitorShareContextHint: "Guests can only read. They cannot edit, use terminals, or run agents.";
2163
- readonly visitorShareNoLinkHint: "Generate a guest link so anyone with the link can open this room read-only.";
2164
- readonly visitorShareGetLink: "Get share link";
2165
- readonly visitorShareCopyLink: "Copy share link";
2166
- readonly visitorShareDisable: "Turn off sharing";
2167
- };
2168
2114
  readonly settingsPanel: {
2169
2115
  title: string;
2170
2116
  nav: {
@@ -2984,12 +2930,6 @@ declare const agentGuiI18nResources: {
2984
2930
  readonly description: "尽量不做权限拦截,适合需要连续执行且你完全信任的任务。";
2985
2931
  };
2986
2932
  };
2987
- readonly gemini: {
2988
- readonly yolo: {
2989
- readonly label: "固定模式";
2990
- readonly description: "当前 provider 不支持在这里调整权限模式。";
2991
- };
2992
- };
2993
2933
  readonly hermes: {
2994
2934
  readonly yolo: {
2995
2935
  readonly label: "固定模式";
@@ -3477,6 +3417,7 @@ declare const agentGuiI18nResources: {
3477
3417
  readonly mentionEmptyAgentGeneratedFiles: "暂无 Agent 生成的文件";
3478
3418
  readonly mentionAgentGeneratedFolderBack: "返回";
3479
3419
  readonly mentionAgentGeneratedFolderFileCount: "包含 {{count}} 个文件";
3420
+ readonly mentionAgentTargetAvailable: "可用";
3480
3421
  readonly mentionNoMatchingFiles: "没有匹配到文件";
3481
3422
  readonly mentionOpenReferences: "查看产物";
3482
3423
  readonly issueRunPrompt: {
@@ -3971,17 +3912,10 @@ declare const agentGuiI18nResources: {
3971
3912
  readonly secondary: "稍后再分享";
3972
3913
  };
3973
3914
  };
3974
- readonly workspaceConnectingOthersSpace: "正在进入房间…";
3975
3915
  readonly unknownProvider: "未知提供方";
3976
3916
  readonly messages: {
3977
- readonly inviteCodeGenerated: "邀请码已生成";
3978
- readonly inviteRevoked: "邀请已作废";
3979
3917
  readonly roomOpened: "已打开房间";
3980
3918
  readonly roomOpenedIssue: "已打开房间,准备定位到对应任务";
3981
- readonly recognizedSharedRoomNeedInvite: "已识别分享房间,请输入邀请码加入画布";
3982
- readonly roomJoined: "已加入房间";
3983
- readonly roomJoinedIssue: "已加入房间,准备定位到对应任务";
3984
- readonly inviteCodeRequired: "请输入邀请码";
3985
3919
  readonly issueTitleRequired: "请先填写任务标题";
3986
3920
  readonly issueCreated: "任务已创建";
3987
3921
  readonly issueUpdated: "任务已更新";
@@ -4002,13 +3936,6 @@ declare const agentGuiI18nResources: {
4002
3936
  readonly issuePendingUploadAdded: "已加入 {{count}} 项待上传资料";
4003
3937
  readonly issueUploaded: "已上传 {{count}} 项资料";
4004
3938
  readonly issueDirectInstallUnsupported: "当前不支持在这里直接安装 Agent";
4005
- readonly currentInviteMissingCode: "当前邀请缺少邀请码,请刷新分享面板后重试";
4006
- readonly roomShareLinkCopied: "分享链接已复制";
4007
- readonly visitorShareLinkCopied: "访客分享链接已复制";
4008
- readonly visitorShareOptionsUpdated: "访客分享设置已更新";
4009
- readonly visitorShareDisabled: "访客分享已关闭";
4010
- readonly visitorShareTokenUnavailable: "访客链接已存在,设置已更新;旧链接明文无法再次读取";
4011
- readonly postCreateInviteLinkCopied: "邀请链接已复制";
4012
3939
  readonly collabCompleted: "该协作任务已完成";
4013
3940
  readonly githubLoginCompleted: "GitHub 登录完成";
4014
3941
  readonly googleLoginCompleted: "Google 登录完成";
@@ -4186,7 +4113,6 @@ declare const agentGuiI18nResources: {
4186
4113
  readonly agentClaudeCode: "Claude Code";
4187
4114
  readonly agentTutti: "Tutti";
4188
4115
  readonly agentHermes: "Hermes";
4189
- readonly agentGemini: "Gemini";
4190
4116
  readonly agentOpenClaw: "OpenClaw";
4191
4117
  readonly statusNotStarted: "待执行";
4192
4118
  readonly statusRunning: "执行中";
@@ -4649,40 +4575,6 @@ declare const agentGuiI18nResources: {
4649
4575
  readonly noSkillsFound: "未找到 Skill。";
4650
4576
  };
4651
4577
  };
4652
- readonly workspaceSharePanel: {
4653
- readonly title: "分享房间";
4654
- readonly topBarAction: "分享";
4655
- readonly subtitle: "你是房间 Owner,可再邀请 {{count}} 位协作者";
4656
- readonly closeAria: "关闭分享弹窗";
4657
- readonly membersSection: "成员";
4658
- readonly ownerRole: "房间 owner";
4659
- readonly inviteSlots: "邀请";
4660
- readonly invitedCount: "已邀请 {{current}}/{{max}}";
4661
- readonly slotLabel: "邀请名额 {{n}}";
4662
- readonly slotSubUsedShort: "邀请链接已使用";
4663
- readonly slotSubPending: "链接已生成,尚未使用";
4664
- readonly slotSubEmpty: "待邀请";
4665
- readonly statusPending: "未使用";
4666
- readonly statusUsed: "已使用";
4667
- readonly statusRevoked: "已撤销";
4668
- readonly statusEmpty: "空";
4669
- readonly copyInviteLink: "复制链接";
4670
- readonly revoke: "撤销";
4671
- readonly emptyStateUsed: "已使用,可补发";
4672
- readonly emptyStatePending: "待邀请";
4673
- readonly generateLink: "生成链接";
4674
- readonly memberViaInvite: "通过邀请链接加入";
4675
- readonly memberRole: "协作者";
4676
- readonly visitorShareTitle: "访客分享";
4677
- readonly visitorShareEnabled: "已开启";
4678
- readonly visitorShareDisabled: "未开启";
4679
- readonly visitorShareContextLabel: "允许访客查看消息列表和文件树";
4680
- readonly visitorShareContextHint: "访客只能只读查看,不会获得编辑、终端或执行权限。";
4681
- readonly visitorShareNoLinkHint: "生成访客链接后,任何拿到链接的人都可以只读访问这个房间。";
4682
- readonly visitorShareGetLink: "获取分享链接";
4683
- readonly visitorShareCopyLink: "复制分享链接";
4684
- readonly visitorShareDisable: "关闭分享";
4685
- };
4686
4578
  readonly settingsPanel: {
4687
4579
  title: string;
4688
4580
  nav: {
@@ -6,8 +6,8 @@ import {
6
6
  translate,
7
7
  translateInUiLanguage,
8
8
  useTranslation
9
- } from "../chunk-C7K3EFGI.js";
10
- import "../chunk-G6BVEY7I.js";
9
+ } from "../chunk-YWQHNFYA.js";
10
+ import "../chunk-4TNM6ZEC.js";
11
11
  export {
12
12
  AgentGuiI18nProvider,
13
13
  agentGuiI18nModule,
package/dist/index.d.ts CHANGED
@@ -1,19 +1,19 @@
1
1
  import { AgentActivityNeedsAttentionItem, AgentActivitySnapshot, AgentActivityCancelSessionInput, AgentActivityCancelSessionResult, AgentActivityGoalControlInput, AgentActivityGoalControlResult, AgentActivityCreateSessionInput, AgentActivitySession, AgentActivityDeleteSessionInput, AgentActivityDeleteSessionResult, AgentActivitySendInput, AgentActivityMessageOrder, AgentActivityMessagePage, AgentActivitySendInputResult, AgentActivityRenameSessionInput, AgentActivitySubmitInteractiveInput, AgentActivitySnapshotListener } from '@tutti-os/agent-activity-core';
2
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, c as AgentHostManagedAgentsState } from './workspaceAgentActivityListViewModel-DJvAqZso.js';
3
+ import { m as WorkspaceAgentActivityListViewModel, g as AgentHostWorkspaceAgentSession, f as AgentHostWorkspaceAgentMessage, l as AgentHostWorkspaceAgentSnapshot, B as BuildWorkspaceAgentActivityListOptions, d as AgentHostRuntimeOpenclawGatewayWarmupResult, c as AgentHostManagedAgentsState } from './workspaceAgentActivityListViewModel-TXH1VXrk.js';
4
4
  import * as react from 'react';
5
5
  import { ReactNode, PropsWithChildren, JSX, HTMLAttributes } from 'react';
6
- import { m as AgentProbeSnapshot, b as AgentComposerDraft, p as AgentSessionCommand, e as AgentGUIProviderSkillOption, c as AgentGUIComposerSettingsVM, f as AgentGUIQueuedPromptVM, d as AgentGUINodeViewModel, i as AgentHostInputApi } from './agentGuiNodeTypes-aJ3AX7u2.js';
7
- export { A as AGENT_PASTED_TEXT_BLOCK_KIND, a as AGENT_PASTED_TEXT_MENTION_KIND, g as AgentHostApi, h as AgentHostApplyWorkspaceGitPatchInput, j as AgentHostRuntimeApi, k as AgentHostSelectFilesInput, l as AgentProbeProvider, n as AgentProviderProbeListInput, o as AgentProviderProbeListResult, q as AgentUsageQuota, r as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, s as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-aJ3AX7u2.js';
6
+ import { m as AgentProbeSnapshot, b as AgentComposerDraft, p as AgentSessionCommand, e as AgentGUIProviderSkillOption, c as AgentGUIComposerSettingsVM, f as AgentGUIQueuedPromptVM, d as AgentGUINodeViewModel, i as AgentHostInputApi } from './agentGuiNodeTypes-CmuJ7VDZ.js';
7
+ export { A as AGENT_PASTED_TEXT_BLOCK_KIND, a as AGENT_PASTED_TEXT_MENTION_KIND, g as AgentHostApi, h as AgentHostApplyWorkspaceGitPatchInput, j as AgentHostRuntimeApi, k as AgentHostSelectFilesInput, l as AgentProbeProvider, n as AgentProviderProbeListInput, o as AgentProviderProbeListResult, q as AgentUsageQuota, r as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, s as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-CmuJ7VDZ.js';
8
8
  import { I18nRuntime } from '@tutti-os/ui-i18n-runtime';
9
- import { t as AgentProvider, l as AgentHostAgentSessionComposerSettings, j as AgentHostActivateAgentSessionResult, r as AgentHostUpdateAgentSessionSettingsResult, p as AgentHostAgentSessionState, q as AgentHostUnactivateAgentSessionResult, A as AgentGUINodeData, a as AgentGUIProvider, g as AgentGUIProviderTarget, s as AgentPromptContentBlock, P as Point, b as AgentGUIProviderRailAllPresentation, c as AgentGUIProviderRailMode, d as AgentGUIProviderReadinessGate, N as NodeFrame, h as AgentGUIProviderTargetBadge } from './types-CrwMqBm1.js';
10
- export { e as AgentGUIProviderReadinessGateAction, f as AgentGUIProviderReadinessGateStatus, i as AgentGUIProviderTargetRef } from './types-CrwMqBm1.js';
9
+ import { t as AgentProvider, l as AgentHostAgentSessionComposerSettings, j as AgentHostActivateAgentSessionResult, r as AgentHostUpdateAgentSessionSettingsResult, p as AgentHostAgentSessionState, q as AgentHostUnactivateAgentSessionResult, A as AgentGUINodeData, a as AgentGUIProvider, g as AgentGUIProviderTarget, s as AgentPromptContentBlock, d as AgentGUIProviderReadinessGate, P as Point, b as AgentGUIProviderRailAllPresentation, c as AgentGUIProviderRailMode, N as NodeFrame, h as AgentGUIProviderTargetBadge } from './types-DUHHejs2.js';
10
+ export { e as AgentGUIProviderReadinessGateAction, f as AgentGUIProviderReadinessGateStatus, i as AgentGUIProviderTargetRef } from './types-DUHHejs2.js';
11
11
  import { WorkspaceFileEntry } from '@tutti-os/workspace-file-manager/services';
12
12
  import { WorkspaceFileReference, ReferenceLocateTarget, WorkspaceFileReferenceAdapter } from '@tutti-os/workspace-file-reference/contracts';
13
13
  import { ReferenceSourceAggregator } from '@tutti-os/workspace-file-reference/core';
14
14
  import { U as UiLanguage, a as UiTheme } from './uiSettings-BQS9r2eo.js';
15
15
  import { W as WorkspaceLinkAction } from './workspaceLinkActions-DS9LWqzI.js';
16
- import { b as AgentConversationPromptVM } from './agentConversationVM-DPAgUJlR.js';
16
+ import { b as AgentConversationPromptVM } from './agentConversationVM-BgoqFyE9.js';
17
17
  import { WorkspaceUserProjectI18nRuntime } from '@tutti-os/workspace-user-project/i18n';
18
18
  import { WorkspaceUserProjectSelectChangeAction } from '@tutti-os/workspace-user-project/ui';
19
19
  import { WorkspaceUserProject } from '@tutti-os/workspace-user-project/contracts';
@@ -225,6 +225,33 @@ interface AgentActivityRuntimeListSessionSectionPageInput {
225
225
  signal?: AbortSignal;
226
226
  workspaceId: string;
227
227
  }
228
+ interface AgentActivityRuntimeSessionSectionScopeInput {
229
+ agentTargetId?: string | null;
230
+ sectionKey: string;
231
+ signal?: AbortSignal;
232
+ workspaceId: string;
233
+ }
234
+ interface AgentActivityRuntimeSessionSectionCount {
235
+ agentTargetId?: string | null;
236
+ count: number;
237
+ sectionKey: string;
238
+ workspaceId: string;
239
+ }
240
+ interface AgentActivityRuntimeDeleteSessionSectionResult {
241
+ agentTargetId?: string | null;
242
+ removedMessages: number;
243
+ removedSessionIds: string[];
244
+ removedSessions: number;
245
+ sectionKey: string;
246
+ workspaceId: string;
247
+ }
248
+ interface AgentActivityRuntimeListPinnedSessionsPageInput {
249
+ agentTargetId?: string | null;
250
+ cursor?: string;
251
+ limit?: number;
252
+ signal?: AbortSignal;
253
+ workspaceId: string;
254
+ }
228
255
  interface AgentActivityRuntimeUserProject {
229
256
  createdAtUnixMs: number;
230
257
  id: string;
@@ -242,7 +269,13 @@ interface AgentActivityRuntimeSessionSection {
242
269
  hasMore: boolean;
243
270
  nextCursor?: string;
244
271
  }
272
+ interface AgentActivityRuntimeSessionPage {
273
+ sessions: AgentActivitySession[];
274
+ hasMore: boolean;
275
+ nextCursor?: string;
276
+ }
245
277
  interface AgentActivityRuntimeSessionSectionsResult {
278
+ pinned?: AgentActivityRuntimeSessionPage;
246
279
  sections: AgentActivityRuntimeSessionSection[];
247
280
  workspaceId: string;
248
281
  }
@@ -305,6 +338,13 @@ interface AgentActivityRuntimeDiagnosticInput {
305
338
  source?: string;
306
339
  workspaceId?: string | null;
307
340
  }
341
+ interface AgentActivityRuntimeCapabilities {
342
+ canCancel?: boolean;
343
+ canSubmitInteractive?: boolean;
344
+ canGoalControl?: boolean;
345
+ canUploadAttachment?: boolean;
346
+ }
347
+ type AgentActivityRuntimeCapabilityKey = keyof AgentActivityRuntimeCapabilities;
308
348
  interface AgentActivityRuntimeActivateSessionInputBase {
309
349
  agentSessionId: string;
310
350
  cwd?: string;
@@ -402,6 +442,16 @@ interface AgentActivityRuntime {
402
442
  file?: boolean;
403
443
  image?: boolean;
404
444
  };
445
+ /**
446
+ * Host-declared command surface. Missing capability keys default to true for
447
+ * backwards compatibility with older runtimes.
448
+ */
449
+ capabilities?: AgentActivityRuntimeCapabilities;
450
+ /**
451
+ * When reportDiagnostic is absent, development builds emit AgentGUI
452
+ * diagnostics to console by default. Set false to keep a dev runtime silent.
453
+ */
454
+ devDiagnosticConsoleSink?: boolean;
405
455
  cancelSession(input: AgentActivityCancelSessionInput): Promise<AgentActivityCancelSessionResult>;
406
456
  goalControl(input: AgentActivityGoalControlInput): Promise<AgentActivityGoalControlResult>;
407
457
  createSession(input: AgentActivityCreateSessionInput): Promise<AgentActivitySession>;
@@ -418,10 +468,13 @@ interface AgentActivityRuntime {
418
468
  listSessionsPage?(input: AgentActivityRuntimeListSessionsPageInput): Promise<AgentActivityRuntimeSessionPageResult>;
419
469
  listSessionSections?(input: AgentActivityRuntimeListSessionSectionsInput): Promise<AgentActivityRuntimeSessionSectionsResult>;
420
470
  listSessionSectionPage?(input: AgentActivityRuntimeListSessionSectionPageInput): Promise<AgentActivityRuntimeSessionSection>;
471
+ countSessionSection?(input: AgentActivityRuntimeSessionSectionScopeInput): Promise<AgentActivityRuntimeSessionSectionCount>;
472
+ deleteSessionSection?(input: AgentActivityRuntimeSessionSectionScopeInput): Promise<AgentActivityRuntimeDeleteSessionSectionResult>;
473
+ listPinnedSessionsPage?(input: AgentActivityRuntimeListPinnedSessionsPageInput): Promise<AgentActivityRuntimeSessionPage>;
421
474
  load(workspaceId: string, signal?: AbortSignal): Promise<AgentActivitySnapshot>;
422
- ensureSessionSynchronized?(input: AgentActivityRuntimeEnsureSessionSynchronizedInput): () => void;
475
+ ensureSessionSynchronized(input: AgentActivityRuntimeEnsureSessionSynchronizedInput): () => void;
423
476
  /** @deprecated Use ensureSessionSynchronized. */
424
- retainSessionEvents(input: AgentActivityRuntimeRetainSessionEventsInput): () => void;
477
+ retainSessionEvents?(input: AgentActivityRuntimeRetainSessionEventsInput): () => void;
425
478
  sendInput(input: AgentActivitySendInput): Promise<AgentActivitySendInputResult>;
426
479
  uploadPromptContent?(input: AgentActivityRuntimeUploadPromptContentInput): Promise<AgentActivityRuntimeUploadPromptContentResult>;
427
480
  readSessionAttachment?(input: AgentActivityRuntimeReadSessionAttachmentInput): Promise<AgentActivityRuntimeSessionAttachment>;
@@ -436,6 +489,7 @@ interface AgentActivityRuntime {
436
489
  subscribeSessionEvents(workspaceId: string, listener: (event: unknown) => void): () => void;
437
490
  subscribe(workspaceId: string, listener: AgentActivitySnapshotListener): () => void;
438
491
  }
492
+ declare function agentActivityRuntimeCapabilityEnabled(runtime: Pick<AgentActivityRuntime, "capabilities"> | null | undefined, capability: AgentActivityRuntimeCapabilityKey): boolean;
439
493
  interface AgentActivityRuntimeProviderProps extends PropsWithChildren {
440
494
  runtime?: AgentActivityRuntime | null;
441
495
  }
@@ -609,6 +663,8 @@ interface AgentComposerProps {
609
663
  previewMode?: boolean;
610
664
  workspaceReferencePickerOpen?: boolean;
611
665
  promptImagesSupported?: boolean;
666
+ canGoalControl?: boolean;
667
+ canUploadAttachment?: boolean;
612
668
  composerFocusRequestSequence?: number | null;
613
669
  layoutMode?: "dock" | "hero";
614
670
  providerSelectLabel?: string;
@@ -901,6 +957,21 @@ interface AgentGUIProviderUnavailableStateContext {
901
957
  * login, checking, or retry readiness gates.
902
958
  */
903
959
  type AgentGUIProviderUnavailableStateRenderer = (ctx: AgentGUIProviderUnavailableStateContext) => ReactNode;
960
+ interface AgentGUIProviderReadinessGateStateContext {
961
+ provider: AgentGUIProvider;
962
+ providerLabel: string;
963
+ target: AgentGUIProviderTarget | null;
964
+ iconUrl: string;
965
+ gate: AgentGUIProviderReadinessGate;
966
+ showAllProviders: boolean;
967
+ }
968
+ /**
969
+ * Renders the main-pane state for a host-projected provider readiness gate.
970
+ * Use this when a host has product-specific semantics for a readiness state,
971
+ * for example a shared agent that is temporarily unavailable because the owner
972
+ * is offline or sharing was revoked.
973
+ */
974
+ type AgentGUIProviderReadinessGateStateRenderer = (ctx: AgentGUIProviderReadinessGateStateContext) => ReactNode;
904
975
 
905
976
  interface AgentGUINodeProps {
906
977
  nodeId: string;
@@ -951,6 +1022,12 @@ interface AgentGUINodeProps {
951
1022
  * disabled. This does not replace install, login, checking, or retry gates.
952
1023
  */
953
1024
  renderProviderUnavailableState?: AgentGUIProviderUnavailableStateRenderer;
1025
+ /**
1026
+ * Host-owned main-pane state for provider readiness gates. Use this when a
1027
+ * host has product-specific semantics for coming-soon, unavailable, checking,
1028
+ * install, or login readiness states.
1029
+ */
1030
+ renderProviderReadinessGateState?: AgentGUIProviderReadinessGateStateRenderer;
954
1031
  renderSidebarFooter?: (ctx: AgentGUISidebarFooterContext) => ReactNode;
955
1032
  comingSoonProviders?: readonly AgentGUIProvider[];
956
1033
  providerReadinessGates?: Partial<Record<AgentGUIProvider, AgentGUIProviderReadinessGate | null>> | null;
@@ -1042,7 +1119,6 @@ declare const agentGuiDockIconUrls: {
1042
1119
  readonly "claude-code": string;
1043
1120
  readonly codex: string;
1044
1121
  readonly cursor: string;
1045
- readonly gemini: string;
1046
1122
  readonly hermes: string;
1047
1123
  readonly nexight: string;
1048
1124
  readonly openclaw: string;
@@ -1081,4 +1157,4 @@ interface AgentActivityHostProviderProps extends PropsWithChildren {
1081
1157
  }
1082
1158
  declare function AgentActivityHostProvider({ agentActivityRuntime, agentHostApi, children }: AgentActivityHostProviderProps): JSX.Element;
1083
1159
 
1084
- export { AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeRetainSessionEventsInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentActivityRuntimeWarmupOpenclawGatewayInput, type AgentActivitySnapshotProjection, AgentContextMentionProvider, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, AgentGUI, type AgentGUIAccountMenuState, type AgentGUIProps, AgentGUIProvider, AgentGUIProviderRailAllPresentation, type AgentGUIProviderRailEmptyRenderer, AgentGUIProviderRailMode, AgentGUIProviderReadinessGate, AgentGUIProviderTarget, AgentGUIProviderTargetBadge, type AgentGUIProviderUnavailableStateContext, type AgentGUIProviderUnavailableStateRenderer, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, AgentGuiI18nLocale, AgentHostInputApi, AgentProbeSnapshot, AgentQueuedPromptQueueSnapshot, AgentQueuedPromptRuntime, AgentQueuedPromptRuntimeProvider, type AgentQueuedPromptRuntimeProviderProps, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentHostSnapshotFromAgentActivitySnapshot, buildAgentActivitySnapshotProjection, createLocalAgentGUIProviderTarget, createLocalAgentGUIProviderTargets, createSharedAgentGUIProviderTarget, getAgentActivityRuntime, getAgentCustomMentionKind, getOptionalAgentActivityRuntime, localAgentGUIAgentTargetId, localAgentGUIProviderTargetId, normalizeAgentGUIProviderTargets, projectCoreSessionStatus, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resetAgentQueuedPromptRuntimeForTests, resolveAgentGUIExpandedWindowFrame, resolveAgentGUIProviderTarget, setAgentActivityRuntimeForTests, setAgentQueuedPromptRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useAgentQueuedPromptRuntime, useAgentQueuedPromptSessionSnapshot, useOptionalAgentActivityRuntime };
1160
+ export { AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeCapabilities, type AgentActivityRuntimeCapabilityKey, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeRetainSessionEventsInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentActivityRuntimeWarmupOpenclawGatewayInput, type AgentActivitySnapshotProjection, AgentContextMentionProvider, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, AgentGUI, type AgentGUIAccountMenuState, type AgentGUIProps, AgentGUIProvider, AgentGUIProviderRailAllPresentation, type AgentGUIProviderRailEmptyRenderer, AgentGUIProviderRailMode, AgentGUIProviderReadinessGate, type AgentGUIProviderReadinessGateStateContext, type AgentGUIProviderReadinessGateStateRenderer, AgentGUIProviderTarget, AgentGUIProviderTargetBadge, type AgentGUIProviderUnavailableStateContext, type AgentGUIProviderUnavailableStateRenderer, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, AgentGuiI18nLocale, AgentHostInputApi, AgentProbeSnapshot, AgentQueuedPromptQueueSnapshot, AgentQueuedPromptRuntime, AgentQueuedPromptRuntimeProvider, type AgentQueuedPromptRuntimeProviderProps, agentActivityRuntimeCapabilityEnabled, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentHostSnapshotFromAgentActivitySnapshot, buildAgentActivitySnapshotProjection, createLocalAgentGUIProviderTarget, createLocalAgentGUIProviderTargets, createSharedAgentGUIProviderTarget, getAgentActivityRuntime, getAgentCustomMentionKind, getOptionalAgentActivityRuntime, localAgentGUIAgentTargetId, localAgentGUIProviderTargetId, normalizeAgentGUIProviderTargets, projectCoreSessionStatus, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resetAgentQueuedPromptRuntimeForTests, resolveAgentGUIExpandedWindowFrame, resolveAgentGUIProviderTarget, setAgentActivityRuntimeForTests, setAgentQueuedPromptRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useAgentQueuedPromptRuntime, useAgentQueuedPromptSessionSnapshot, useOptionalAgentActivityRuntime };