@tutti-os/agent-gui 0.0.115 → 0.0.116

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 (78) hide show
  1. package/dist/{AgentGUI-D4jgPDg0.d.ts → AgentGUI-Be6O5di1.d.ts} +2 -2
  2. package/dist/{AgentRichTextReadonly-KNPDB5ZJ.js → AgentRichTextReadonly-AY36C7TV.js} +5 -5
  3. package/dist/agent-conversation/index.d.ts +2 -2
  4. package/dist/agent-conversation/index.js +9 -9
  5. package/dist/agent-env/ui.d.ts +19 -0
  6. package/dist/agent-env/ui.js +9 -0
  7. package/dist/agent-env/ui.js.map +1 -0
  8. package/dist/agent-gui.d.ts +3 -3
  9. package/dist/agent-gui.js +19 -18
  10. package/dist/agent-message-center/index.js +10 -10
  11. package/dist/{agentGuiNodeTypes-BebhwDeE.d.ts → agentGuiNodeTypes-C_H3DbXt.d.ts} +78 -2
  12. package/dist/agents.d.ts +1 -1
  13. package/dist/agents.js +1 -1
  14. package/dist/app/renderer/agentactivity.css +79 -3
  15. package/dist/{chunk-CTSKSYMM.js → chunk-5G3OFCWH.js} +2 -2
  16. package/dist/{chunk-JLRPIEIE.js → chunk-5HIF53K5.js} +44 -5
  17. package/dist/chunk-5HIF53K5.js.map +1 -0
  18. package/dist/{chunk-CY45OZEY.js → chunk-AMO3EB7V.js} +4 -4
  19. package/dist/{chunk-W4KHK5HK.js → chunk-DVXXZWYX.js} +95 -1
  20. package/dist/chunk-DVXXZWYX.js.map +1 -0
  21. package/dist/{chunk-FBPZXKQC.js → chunk-DXXKHL4G.js} +2 -2
  22. package/dist/{chunk-SFYWL6FT.js → chunk-EPNL55ZQ.js} +2 -2
  23. package/dist/{chunk-EM4RD5FQ.js → chunk-EYZSEPL7.js} +9 -9
  24. package/dist/chunk-EYZSEPL7.js.map +1 -0
  25. package/dist/{chunk-YKQAOIF2.js → chunk-I6Y4XQVR.js} +119 -8
  26. package/dist/chunk-I6Y4XQVR.js.map +1 -0
  27. package/dist/{chunk-ATDAII35.js → chunk-IIQSQNS4.js} +2960 -1527
  28. package/dist/chunk-IIQSQNS4.js.map +1 -0
  29. package/dist/{chunk-RATBQN2V.js → chunk-J26ZYCAH.js} +3 -2
  30. package/dist/{chunk-RATBQN2V.js.map → chunk-J26ZYCAH.js.map} +1 -1
  31. package/dist/{chunk-HFU3FYXP.js → chunk-JEXYDXFW.js} +4 -4
  32. package/dist/{chunk-MWN3AIQJ.js → chunk-LQJBDDZG.js} +4 -4
  33. package/dist/{chunk-UHBCM6RO.js → chunk-MHOYBRCY.js} +1 -1
  34. package/dist/{chunk-UHBCM6RO.js.map → chunk-MHOYBRCY.js.map} +1 -1
  35. package/dist/{chunk-BYE5CKEU.js → chunk-NNIXG27Q.js} +6 -6
  36. package/dist/{chunk-FRCZZ7ON.js → chunk-OXC5CPW7.js} +7 -7
  37. package/dist/{chunk-AY5AFMT2.js → chunk-TUWQV2MC.js} +5 -5
  38. package/dist/chunk-UP3ZDYTN.js +64 -0
  39. package/dist/chunk-UP3ZDYTN.js.map +1 -0
  40. package/dist/{chunk-7OYHDOGG.js → chunk-UV3UQAS2.js} +6 -4
  41. package/dist/chunk-UV3UQAS2.js.map +1 -0
  42. package/dist/{chunk-455YDWMS.js → chunk-VLPWO73G.js} +2 -2
  43. package/dist/context-mention-palette/index.js +7 -7
  44. package/dist/{contribution-C2LDwLA7.d.ts → contribution-BlemXneM.d.ts} +1 -1
  45. package/dist/i18n/index.d.ts +94 -0
  46. package/dist/i18n/index.js +2 -2
  47. package/dist/index.d.ts +6 -6
  48. package/dist/index.js +22 -21
  49. package/dist/index.js.map +1 -1
  50. package/dist/mention-search.js +5 -5
  51. package/dist/{types-yF_0mrNS.d.ts → types-COIp0SYP.d.ts} +2 -0
  52. package/dist/workbench/contribution.d.ts +2 -2
  53. package/dist/workbench/contribution.js +7 -7
  54. package/dist/workbench/index.d.ts +2 -2
  55. package/dist/workbench/index.js +10 -10
  56. package/dist/workbench/launch.js +3 -3
  57. package/dist/workbench/sessionTitle.js +2 -2
  58. package/dist/workbench/state.js +1 -1
  59. package/dist/workbench/types.d.ts +2 -0
  60. package/dist/workbench/types.js +1 -1
  61. package/package.json +19 -12
  62. package/dist/chunk-7OYHDOGG.js.map +0 -1
  63. package/dist/chunk-ATDAII35.js.map +0 -1
  64. package/dist/chunk-EM4RD5FQ.js.map +0 -1
  65. package/dist/chunk-JLRPIEIE.js.map +0 -1
  66. package/dist/chunk-W4KHK5HK.js.map +0 -1
  67. package/dist/chunk-YKQAOIF2.js.map +0 -1
  68. /package/dist/{AgentRichTextReadonly-KNPDB5ZJ.js.map → AgentRichTextReadonly-AY36C7TV.js.map} +0 -0
  69. /package/dist/{chunk-CTSKSYMM.js.map → chunk-5G3OFCWH.js.map} +0 -0
  70. /package/dist/{chunk-CY45OZEY.js.map → chunk-AMO3EB7V.js.map} +0 -0
  71. /package/dist/{chunk-FBPZXKQC.js.map → chunk-DXXKHL4G.js.map} +0 -0
  72. /package/dist/{chunk-SFYWL6FT.js.map → chunk-EPNL55ZQ.js.map} +0 -0
  73. /package/dist/{chunk-HFU3FYXP.js.map → chunk-JEXYDXFW.js.map} +0 -0
  74. /package/dist/{chunk-MWN3AIQJ.js.map → chunk-LQJBDDZG.js.map} +0 -0
  75. /package/dist/{chunk-BYE5CKEU.js.map → chunk-NNIXG27Q.js.map} +0 -0
  76. /package/dist/{chunk-FRCZZ7ON.js.map → chunk-OXC5CPW7.js.map} +0 -0
  77. /package/dist/{chunk-AY5AFMT2.js.map → chunk-TUWQV2MC.js.map} +0 -0
  78. /package/dist/{chunk-455YDWMS.js.map → chunk-VLPWO73G.js.map} +0 -0
@@ -736,6 +736,39 @@ declare const agentGuiI18nResources: {
736
736
  readonly providerGatePendingInstall: "Connecting…";
737
737
  readonly providerGatePendingLogin: "Opening sign in…";
738
738
  readonly providerGatePendingRefresh: "Checking…";
739
+ readonly targetSetupTitle: "Set up {{provider}}";
740
+ readonly targetSetupDescription: "Use a compatible local runtime, or let Tutti install the pinned runtime.";
741
+ readonly targetSetupAuthRequired: "Runtime is installed and responds over ACP, but authentication is required.";
742
+ readonly targetSetupReady: "Runtime detected. You can check it again or sign in again.";
743
+ readonly targetSetupOpen: "Open setup";
744
+ readonly targetSetupRemaining: "Complete the remaining steps to use {{provider}}.";
745
+ readonly targetSetupComplete: "{{provider}} is ready.";
746
+ readonly targetSetupLoggedInAccount: "Signed-in account";
747
+ readonly targetSetupStage: {
748
+ readonly detect: "Detect runtime";
749
+ readonly install: "Install runtime";
750
+ readonly login: "Sign in";
751
+ };
752
+ readonly targetSetupChecking: "Checking local and Tutti-managed runtimes…";
753
+ readonly targetSetupInstall: "Install runtime";
754
+ readonly targetSetupStarting: "Starting installation…";
755
+ readonly targetSetupAuthMethod: "Sign-in method";
756
+ readonly targetSetupAuthenticate: "Continue to sign in";
757
+ readonly targetSetupReauthenticate: "Sign in again";
758
+ readonly targetSetupAuthStarting: "Opening sign in…";
759
+ readonly targetSetupAuthFailed: "Authentication did not complete";
760
+ readonly targetSetupNoAuthMethods: "No supported sign-in method was reported. Check the runtime again.";
761
+ readonly targetSetupRetry: "Check again";
762
+ readonly targetSetupFailed: "Runtime setup failed";
763
+ readonly targetSetupPhase: {
764
+ readonly preparing: "Preparing installation…";
765
+ readonly installing: "Installing pinned runtime…";
766
+ readonly verifying: "Verifying runtime version…";
767
+ readonly probing: "Checking ACP compatibility…";
768
+ readonly activating: "Activating managed runtime…";
769
+ readonly authenticating: "Waiting for authentication…";
770
+ readonly complete: "Installation complete";
771
+ };
739
772
  readonly collaboratorSessionReadOnlyPlaceholder: "This session belongs to another user and cannot be replied to directly";
740
773
  readonly send: "Send";
741
774
  readonly modelLabel: "Model";
@@ -762,6 +795,20 @@ declare const agentGuiI18nResources: {
762
795
  readonly permissionModeReadOnly: "Ask for approval";
763
796
  readonly permissionModeAuto: "Approve for me";
764
797
  readonly permissionModeFullAccess: "Full access";
798
+ readonly fullAccessWarning: {
799
+ readonly title: "Enable full access?";
800
+ readonly description: "Full access lets Codex act on your computer without asking for approval.";
801
+ readonly filesTitle: "Files and folders";
802
+ readonly filesDescription: "Read, create, modify, or delete files anywhere on this computer.";
803
+ readonly commandsTitle: "Terminal commands";
804
+ readonly commandsDescription: "Run commands and change system settings.";
805
+ readonly internetTitle: "Internet access";
806
+ readonly internetDescription: "Access websites and send data over the internet.";
807
+ readonly riskDescription: "Recent Codex releases, especially when using GPT-5.6 models, may go beyond your intent and accidentally delete or overwrite files. Only continue if you understand and accept this risk.";
808
+ readonly learnMore: "Learn more";
809
+ readonly cancel: "Cancel";
810
+ readonly confirm: "Enable full access";
811
+ };
765
812
  readonly permissionSemantics: {
766
813
  readonly "ask-before-write": {
767
814
  readonly label: "Ask for approval";
@@ -3266,6 +3313,39 @@ declare const agentGuiI18nResources: {
3266
3313
  readonly providerGatePendingInstall: "正在连接…";
3267
3314
  readonly providerGatePendingLogin: "正在打开登录…";
3268
3315
  readonly providerGatePendingRefresh: "正在检测…";
3316
+ readonly targetSetupTitle: "设置 {{provider}}";
3317
+ readonly targetSetupDescription: "优先使用兼容的本地运行时,也可由 Tutti 安装固定版本";
3318
+ readonly targetSetupAuthRequired: "运行时已安装并通过 ACP 检测,但仍需完成登录";
3319
+ readonly targetSetupReady: "已检测到运行时,可重新检测或重新登录";
3320
+ readonly targetSetupOpen: "打开设置";
3321
+ readonly targetSetupRemaining: "完成以下步骤后即可使用 {{provider}}";
3322
+ readonly targetSetupComplete: "{{provider}} 已就绪";
3323
+ readonly targetSetupLoggedInAccount: "已登录账号";
3324
+ readonly targetSetupStage: {
3325
+ readonly detect: "检测运行时";
3326
+ readonly install: "安装运行时";
3327
+ readonly login: "登录";
3328
+ };
3329
+ readonly targetSetupChecking: "正在检测本地和 Tutti 托管运行时…";
3330
+ readonly targetSetupInstall: "安装运行时";
3331
+ readonly targetSetupStarting: "正在启动安装…";
3332
+ readonly targetSetupAuthMethod: "登录方式";
3333
+ readonly targetSetupAuthenticate: "继续登录";
3334
+ readonly targetSetupReauthenticate: "重新登录";
3335
+ readonly targetSetupAuthStarting: "正在打开登录…";
3336
+ readonly targetSetupAuthFailed: "登录未完成";
3337
+ readonly targetSetupNoAuthMethods: "运行时未返回支持的登录方式,请重新检测";
3338
+ readonly targetSetupRetry: "重新检测";
3339
+ readonly targetSetupFailed: "运行时设置失败";
3340
+ readonly targetSetupPhase: {
3341
+ readonly preparing: "正在准备安装…";
3342
+ readonly installing: "正在安装固定版本…";
3343
+ readonly verifying: "正在验证运行时版本…";
3344
+ readonly probing: "正在检测 ACP 兼容性…";
3345
+ readonly activating: "正在启用托管运行时…";
3346
+ readonly authenticating: "正在等待登录完成…";
3347
+ readonly complete: "安装完成";
3348
+ };
3269
3349
  readonly collaboratorSessionReadOnlyPlaceholder: "非当前用户会话,不可直接对话";
3270
3350
  readonly send: "发送";
3271
3351
  readonly modelLabel: "模型";
@@ -3292,6 +3372,20 @@ declare const agentGuiI18nResources: {
3292
3372
  readonly permissionModeReadOnly: "请求批准";
3293
3373
  readonly permissionModeAuto: "替我审批";
3294
3374
  readonly permissionModeFullAccess: "完全访问权限";
3375
+ readonly fullAccessWarning: {
3376
+ readonly title: "确定启用完全访问权限吗?";
3377
+ readonly description: "完全访问权限允许 Codex 无需你的批准即可操作这台电脑。";
3378
+ readonly filesTitle: "文件和文件夹";
3379
+ readonly filesDescription: "读取、创建、修改或删除这台电脑上任意位置的文件。";
3380
+ readonly commandsTitle: "终端命令";
3381
+ readonly commandsDescription: "运行命令并更改系统设置。";
3382
+ readonly internetTitle: "互联网访问";
3383
+ readonly internetDescription: "访问网站并通过互联网发送数据。";
3384
+ readonly riskDescription: "近期版本的 Codex,尤其在使用 GPT-5.6 系列模型时,可能会超出你的意图,误删或覆盖文件。仅在你理解并接受此风险时继续。";
3385
+ readonly learnMore: "了解详情";
3386
+ readonly cancel: "取消";
3387
+ readonly confirm: "启用完全访问权限";
3388
+ };
3295
3389
  readonly permissionSemantics: {
3296
3390
  readonly "ask-before-write": {
3297
3391
  readonly label: "请求批准";
@@ -6,8 +6,8 @@ import {
6
6
  translate,
7
7
  translateInUiLanguage,
8
8
  useTranslation
9
- } from "../chunk-CTSKSYMM.js";
10
- import "../chunk-W4KHK5HK.js";
9
+ } from "../chunk-5G3OFCWH.js";
10
+ import "../chunk-DVXXZWYX.js";
11
11
  export {
12
12
  AgentGuiI18nProvider,
13
13
  agentGuiI18nModule,
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  export { AgentCustomMentionChipContext, AgentCustomMentionIdentity, AgentCustomMentionKindDefinition, AgentCustomMentionPresentation, getAgentCustomMentionKind, registerAgentCustomMentionKind, resetAgentCustomMentionKindsForTests } from './custom-mention.js';
2
2
  export { A as AGENT_PASTED_TEXT_BLOCK_KIND, a as AGENT_PASTED_TEXT_MENTION_KIND } from './pastedTextKinds-D-XuInaS.js';
3
- import { A as AgentActivityRuntime } from './AgentGUI-D4jgPDg0.js';
4
- export { a as AgentActivityRuntimeDeleteSessionsBatchInput, b as AgentActivityRuntimeDeleteSessionsBatchResult, c as AgentActivityRuntimeListSessionMessagesInput, d as AgentActivityRuntimePromptContentBlock, e as AgentActivityRuntimeProvider, f as AgentActivityRuntimeProviderProps, g as AgentActivityRuntimeSessionSectionDeletionCandidates, h as AgentActivityRuntimeSessionSectionScopeInput, i as AgentActivityRuntimeSetSessionPinnedInput, j as AgentActivityRuntimeUpdateSessionSettingsInput, k as AgentActivityRuntimeUpdateSessionSettingsResult, l as AgentActivityRuntimeUploadPromptContentInput, m as AgentActivityRuntimeUploadPromptContentResult, n as AgentGUI, o as AgentGUIAccountMenuState, p as AgentGUIAgentsEmptyRenderer, q as AgentGUIComposerAppendRequest, r as AgentGUIComposerContentType, s as AgentGUIComposerFocusMethod, t as AgentGUIEngagementContext, u as AgentGUIEngagementEvent, v as AgentGUIEngagementEventSink, w as AgentGUIProps, x as AgentGUIProviderUnavailableStateContext, y as AgentGUIProviderUnavailableStateRenderer, z as AgentGUISidebarFooterContext, B as AgentGUISidebarFooterRenderer, C as resetAgentActivityRuntimeForTests, D as setAgentActivityRuntimeForTests, E as useAgentActivityRuntime, F as useAgentActivitySnapshot, G as useOptionalAgentActivityRuntime } from './AgentGUI-D4jgPDg0.js';
5
- import { i as AgentHostInputApi } from './agentGuiNodeTypes-BebhwDeE.js';
6
- export { a as AgentComposerDraftFile, g as AgentHostApi, h as AgentHostApplyWorkspaceGitPatchInput, j as AgentHostRuntimeApi, k as AgentHostSelectFilesInput, m as AgentProbeProvider, n as AgentProbeSnapshot, o as AgentProviderProbeListInput, p as AgentProviderProbeListResult, s as AgentUsageQuota, t as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, u as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-BebhwDeE.js';
3
+ import { A as AgentActivityRuntime } from './AgentGUI-Be6O5di1.js';
4
+ export { a as AgentActivityRuntimeDeleteSessionsBatchInput, b as AgentActivityRuntimeDeleteSessionsBatchResult, c as AgentActivityRuntimeListSessionMessagesInput, d as AgentActivityRuntimePromptContentBlock, e as AgentActivityRuntimeProvider, f as AgentActivityRuntimeProviderProps, g as AgentActivityRuntimeSessionSectionDeletionCandidates, h as AgentActivityRuntimeSessionSectionScopeInput, i as AgentActivityRuntimeSetSessionPinnedInput, j as AgentActivityRuntimeUpdateSessionSettingsInput, k as AgentActivityRuntimeUpdateSessionSettingsResult, l as AgentActivityRuntimeUploadPromptContentInput, m as AgentActivityRuntimeUploadPromptContentResult, n as AgentGUI, o as AgentGUIAccountMenuState, p as AgentGUIAgentsEmptyRenderer, q as AgentGUIComposerAppendRequest, r as AgentGUIComposerContentType, s as AgentGUIComposerFocusMethod, t as AgentGUIEngagementContext, u as AgentGUIEngagementEvent, v as AgentGUIEngagementEventSink, w as AgentGUIProps, x as AgentGUIProviderUnavailableStateContext, y as AgentGUIProviderUnavailableStateRenderer, z as AgentGUISidebarFooterContext, B as AgentGUISidebarFooterRenderer, C as resetAgentActivityRuntimeForTests, D as setAgentActivityRuntimeForTests, E as useAgentActivityRuntime, F as useAgentActivitySnapshot, G as useOptionalAgentActivityRuntime } from './AgentGUI-Be6O5di1.js';
5
+ import { m as AgentHostInputApi } from './agentGuiNodeTypes-C_H3DbXt.js';
6
+ export { a as AgentComposerDraftFile, g as AgentHostAgentTargetAuthenticatedAccount, h as AgentHostAgentTargetSetupSnapshot, i as AgentHostAgentTargetSetupState, j as AgentHostAgentTargetSetupWatch, k as AgentHostApi, l as AgentHostApplyWorkspaceGitPatchInput, n as AgentHostRuntimeApi, o as AgentHostSelectFilesInput, q as AgentProbeProvider, r as AgentProbeSnapshot, s as AgentProviderProbeListInput, t as AgentProviderProbeListResult, w as AgentUsageQuota, x as AgentUsageSnapshot, P as PersistWriteResult, R as ReadWorkspaceAgentReadStateInput, W as WorkspaceAgentReadStateSnapshot, y as WriteWorkspaceAgentReadStateInput } from './agentGuiNodeTypes-C_H3DbXt.js';
7
7
  export { agentGUIAgentIsReady, normalizeAgentGUIAgents, resolveAgentGUISelectedDirectoryAgent } from './agents.js';
8
- import { n as AgentGUIProvider, h as AgentGUIAgentTarget, i as AgentGUIAgentTargetBadge } from './types-yF_0mrNS.js';
9
- export { A as AgentGUIAgent, a as AgentGUIAgentAvailability, b as AgentGUIAgentAvailabilityAction, c as AgentGUIAgentAvailabilityStatus, d as AgentGUIAgentDirectoryPort, e as AgentGUIAgentDirectorySnapshot, f as AgentGUIAgentDirectoryStatus, g as AgentGUIAgentOwner, j as AgentGUIAgentTargetRef, k as AgentGUIAllAgentsPresentation, l as AgentGUIHomeSuggestionId, o as AgentGUIProviderRailAllPresentation, p as AgentGUIProviderRailMode, q as AgentGUIProviderReadinessGate, r as AgentGUIProviderReadinessGateAction, s as AgentGUIProviderReadinessGateStatus } from './types-yF_0mrNS.js';
8
+ import { n as AgentGUIProvider, h as AgentGUIAgentTarget, i as AgentGUIAgentTargetBadge } from './types-COIp0SYP.js';
9
+ export { A as AgentGUIAgent, a as AgentGUIAgentAvailability, b as AgentGUIAgentAvailabilityAction, c as AgentGUIAgentAvailabilityStatus, d as AgentGUIAgentDirectoryPort, e as AgentGUIAgentDirectorySnapshot, f as AgentGUIAgentDirectoryStatus, g as AgentGUIAgentOwner, j as AgentGUIAgentTargetRef, k as AgentGUIAllAgentsPresentation, l as AgentGUIHomeSuggestionId, o as AgentGUIProviderRailAllPresentation, p as AgentGUIProviderRailMode, q as AgentGUIProviderReadinessGate, r as AgentGUIProviderReadinessGateAction, s as AgentGUIProviderReadinessGateStatus } from './types-COIp0SYP.js';
10
10
  export { AgentGuiI18nProvider, agentGuiI18nModule, agentGuiI18nResources } from './i18n/index.js';
11
11
  export { agentGuiDockIconUrl, agentGuiDockIconUrls } from './dock-icons.js';
12
12
  export { AgentActivityAdapter, AgentActivityMessage, AgentActivityNeedsAttentionItem, AgentActivitySnapshot, selectNeedsAttentionCount, selectNeedsAttentionItems } from '@tutti-os/agent-activity-core';
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  localAgentGUIAgentTargetId,
8
8
  normalizeAgentGUIAgentTargets,
9
9
  resolveAgentGUIAgentTarget
10
- } from "./chunk-ATDAII35.js";
10
+ } from "./chunk-IIQSQNS4.js";
11
11
  import "./chunk-A4WCTHWS.js";
12
12
  import {
13
13
  AGENT_GUI_DETAIL_MIN_WIDTH_PX,
@@ -15,21 +15,22 @@ import {
15
15
  AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
16
16
  resolveAgentGUIExpandedWindowFrame,
17
17
  shouldAutoCollapseAgentGUIConversationRail
18
- } from "./chunk-BYE5CKEU.js";
19
- import "./chunk-AY5AFMT2.js";
20
- import "./chunk-CY45OZEY.js";
21
- import "./chunk-JLRPIEIE.js";
18
+ } from "./chunk-NNIXG27Q.js";
19
+ import "./chunk-TUWQV2MC.js";
20
+ import "./chunk-MHOYBRCY.js";
21
+ import "./chunk-AMO3EB7V.js";
22
+ import "./chunk-5HIF53K5.js";
22
23
  import "./chunk-R2ZADXRB.js";
23
- import "./chunk-UHBCM6RO.js";
24
- import "./chunk-EM4RD5FQ.js";
25
- import "./chunk-455YDWMS.js";
24
+ import "./chunk-EYZSEPL7.js";
25
+ import "./chunk-VLPWO73G.js";
26
26
  import "./chunk-VMQNG2KI.js";
27
- import "./chunk-MWN3AIQJ.js";
27
+ import "./chunk-UP3ZDYTN.js";
28
+ import "./chunk-LQJBDDZG.js";
28
29
  import {
29
30
  agentGUIAgentIsReady,
30
31
  normalizeAgentGUIAgents,
31
32
  resolveAgentGUISelectedDirectoryAgent
32
- } from "./chunk-7OYHDOGG.js";
33
+ } from "./chunk-UV3UQAS2.js";
33
34
  import {
34
35
  AGENT_PASTED_TEXT_BLOCK_KIND,
35
36
  AGENT_PASTED_TEXT_MENTION_KIND
@@ -40,11 +41,11 @@ import {
40
41
  } from "./chunk-L2GENUG3.js";
41
42
  import {
42
43
  preloadAgentMentionBrowse
43
- } from "./chunk-FRCZZ7ON.js";
44
+ } from "./chunk-OXC5CPW7.js";
44
45
  import "./chunk-USIFGHT3.js";
45
46
  import "./chunk-XJ34OIEQ.js";
46
47
  import "./chunk-R7AXDQCA.js";
47
- import "./chunk-SFYWL6FT.js";
48
+ import "./chunk-EPNL55ZQ.js";
48
49
  import "./chunk-LUGELG5V.js";
49
50
  import {
50
51
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
@@ -52,13 +53,13 @@ import {
52
53
  import {
53
54
  dispatchAgentPlanPromptAction,
54
55
  selectAgentPlanPromptTurn
55
- } from "./chunk-HFU3FYXP.js";
56
+ } from "./chunk-JEXYDXFW.js";
56
57
  import {
57
58
  useEngineSelector
58
59
  } from "./chunk-2RQM7PJN.js";
59
- import "./chunk-YKQAOIF2.js";
60
+ import "./chunk-I6Y4XQVR.js";
60
61
  import "./chunk-KPMQGPYU.js";
61
- import "./chunk-FBPZXKQC.js";
62
+ import "./chunk-DXXKHL4G.js";
62
63
  import "./chunk-YMXYBG7U.js";
63
64
  import {
64
65
  AgentActivityHostProvider,
@@ -68,18 +69,18 @@ import {
68
69
  useAgentActivityRuntime,
69
70
  useAgentActivitySnapshot,
70
71
  useOptionalAgentActivityRuntime
71
- } from "./chunk-RATBQN2V.js";
72
+ } from "./chunk-J26ZYCAH.js";
72
73
  import "./chunk-F5UR6EJG.js";
73
74
  import "./chunk-W6TO6K2X.js";
74
- import "./chunk-PJP5BUU6.js";
75
- import "./chunk-7KVZPJ3O.js";
76
- import "./chunk-MIJXEELH.js";
77
75
  import {
78
76
  AgentGuiI18nProvider,
79
77
  agentGuiI18nModule,
80
78
  agentGuiI18nResources
81
- } from "./chunk-CTSKSYMM.js";
82
- import "./chunk-W4KHK5HK.js";
79
+ } from "./chunk-5G3OFCWH.js";
80
+ import "./chunk-PJP5BUU6.js";
81
+ import "./chunk-7KVZPJ3O.js";
82
+ import "./chunk-DVXXZWYX.js";
83
+ import "./chunk-MIJXEELH.js";
83
84
  import {
84
85
  getAgentCustomMentionKind,
85
86
  registerAgentCustomMentionKind,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../index.ts"],"sourcesContent":["export {\n getAgentCustomMentionKind,\n registerAgentCustomMentionKind,\n resetAgentCustomMentionKindsForTests,\n type AgentCustomMentionChipContext,\n type AgentCustomMentionIdentity,\n type AgentCustomMentionKindDefinition,\n type AgentCustomMentionPresentation\n} from \"./shared/agentCustomMentionKinds\";\nexport {\n AGENT_PASTED_TEXT_BLOCK_KIND,\n AGENT_PASTED_TEXT_MENTION_KIND\n} from \"./shared/pastedTextKinds\";\nexport { AgentGUI } from \"./AgentGUI\";\nexport type {\n AgentGUIProps,\n AgentGUIReferenceProvenanceFilterCatalog\n} from \"./AgentGUI\";\nexport type { AgentGUIComposerAppendRequest } from \"./agent-gui/agentGuiNode/controller/useAgentGUIComposerAppendRequest\";\nexport type { AgentComposerDraftFile } from \"./agent-gui/agentGuiNode/model/agentGuiNodeTypes\";\nexport type { AgentGUIAccountMenuState } from \"./agent-gui/agentGuiNode/accountMenuState\";\nexport type {\n AgentGUIComposerContentType,\n AgentGUIComposerFocusMethod,\n AgentGUIEngagementContext,\n AgentGUIEngagementEvent,\n AgentGUIEngagementEventSink\n} from \"./agent-gui/agentGuiNode/engagement/agentGUIEngagement.types\";\nexport {\n agentGUIAgentIsReady,\n normalizeAgentGUIAgents,\n resolveAgentGUISelectedDirectoryAgent\n} from \"./agents\";\nexport {\n agentGUIDefaultTargetProviders,\n createLocalAgentGUIAgentTarget,\n createLocalAgentGUIAgentTargets,\n createSharedAgentGUIAgentTarget,\n localAgentGUIAgentTargetId,\n normalizeAgentGUIAgentTargets,\n resolveAgentGUIAgentTarget\n} from \"./agentTargets\";\nexport type {\n AgentGUIAgent,\n AgentGUIAgentDirectoryPort,\n AgentGUIAgentDirectorySnapshot,\n AgentGUIAgentDirectoryStatus,\n AgentGUIAgentAvailability,\n AgentGUIAgentAvailabilityAction,\n AgentGUIAgentAvailabilityStatus,\n AgentGUIAgentOwner,\n AgentGUIHomeSuggestionId,\n AgentGUIAllAgentsPresentation,\n AgentGUIProvider,\n AgentGUIProviderRailAllPresentation,\n AgentGUIProviderRailMode,\n AgentGUIProviderReadinessGate,\n AgentGUIProviderReadinessGateAction,\n AgentGUIProviderReadinessGateStatus,\n AgentGUIAgentTarget,\n AgentGUIAgentTargetBadge,\n AgentGUIAgentTargetRef\n} from \"./types\";\nexport {\n AgentGuiI18nProvider,\n agentGuiI18nModule,\n agentGuiI18nResources\n} from \"./i18n/index\";\nexport type { AgentGuiI18nLocale } from \"./i18n/index\";\nexport { agentGuiDockIconUrl, agentGuiDockIconUrls } from \"./dockIcons\";\nexport {\n AGENT_GUI_DETAIL_MIN_WIDTH_PX,\n AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,\n AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,\n resolveAgentGUIExpandedWindowFrame,\n shouldAutoCollapseAgentGUIConversationRail\n} from \"./agent-gui/agentGuiNode/model/agentGuiRailLayout\";\nexport type {\n AgentGUIAgentsEmptyRenderer,\n AgentGUIProviderUnavailableStateContext,\n AgentGUIProviderUnavailableStateRenderer,\n AgentGUISidebarFooterContext,\n AgentGUISidebarFooterRenderer\n} from \"./agent-gui/agentGuiNode/AgentGUINodeView\";\nexport {\n AGENT_CONTEXT_MENTION_PROVIDER_IDS,\n type AgentContextMentionProviderId,\n type AgentContextMentionProvider\n} from \"./agent-gui/agentGuiNode/agentContextMentionProvider\";\nexport { preloadAgentMentionBrowse } from \"./agent-gui/agentGuiNode/AgentMentionSearchController\";\nexport { AgentActivityHostProvider } from \"./agentActivityHost\";\nexport type { AgentActivityHostProviderProps } from \"./agentActivityHost\";\nexport { useEngineSelector } from \"./shared/engine/useEngineSelector\";\nexport type { EngineStateStore } from \"./shared/engine/useEngineSelector\";\nexport {\n dispatchAgentPlanPromptAction,\n selectAgentPlanPromptTurn\n} from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport type { AgentPlanPromptAction } from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport {\n AgentActivityRuntimeProvider,\n resetAgentActivityRuntimeForTests,\n setAgentActivityRuntimeForTests,\n useAgentActivitySnapshot,\n useAgentActivityRuntime,\n useOptionalAgentActivityRuntime\n} from \"./agentActivityRuntime\";\nexport type {\n AgentActivityRuntime,\n AgentActivityRuntimeListSessionMessagesInput,\n AgentActivityRuntimeProviderProps,\n AgentActivityRuntimePromptContentBlock,\n AgentActivityRuntimeDeleteSessionsBatchInput,\n AgentActivityRuntimeDeleteSessionsBatchResult,\n AgentActivityRuntimeSessionSectionDeletionCandidates,\n AgentActivityRuntimeSessionSectionScopeInput,\n AgentActivityRuntimeSetSessionPinnedInput,\n AgentActivityRuntimeUploadPromptContentInput,\n AgentActivityRuntimeUploadPromptContentResult,\n AgentActivityRuntimeUpdateSessionSettingsInput,\n AgentActivityRuntimeUpdateSessionSettingsResult\n} from \"./agentActivityRuntime\";\nexport type {\n AgentHostApi,\n AgentHostApplyWorkspaceGitPatchInput,\n AgentHostInputApi,\n AgentHostSelectFilesInput,\n AgentHostRuntimeApi,\n AgentProviderProbeListInput,\n AgentProviderProbeListResult\n} from \"./host/agentHostApi\";\nexport type {\n AgentProbeProvider,\n AgentProbeSnapshot,\n PersistWriteResult,\n ReadWorkspaceAgentReadStateInput,\n AgentUsageQuota,\n AgentUsageSnapshot,\n WorkspaceAgentReadStateSnapshot,\n WriteWorkspaceAgentReadStateInput\n} from \"./shared/contracts/dto\";\nexport {\n selectNeedsAttentionCount,\n selectNeedsAttentionItems\n} from \"@tutti-os/agent-activity-core\";\nexport type {\n AgentActivityAdapter,\n AgentActivityMessage,\n AgentActivityNeedsAttentionItem,\n AgentActivitySnapshot\n} from \"@tutti-os/agent-activity-core\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6IA;AAAA,EACE;AAAA,EACA;AAAA,OACK;","names":[]}
1
+ {"version":3,"sources":["../index.ts"],"sourcesContent":["export {\n getAgentCustomMentionKind,\n registerAgentCustomMentionKind,\n resetAgentCustomMentionKindsForTests,\n type AgentCustomMentionChipContext,\n type AgentCustomMentionIdentity,\n type AgentCustomMentionKindDefinition,\n type AgentCustomMentionPresentation\n} from \"./shared/agentCustomMentionKinds\";\nexport {\n AGENT_PASTED_TEXT_BLOCK_KIND,\n AGENT_PASTED_TEXT_MENTION_KIND\n} from \"./shared/pastedTextKinds\";\nexport { AgentGUI } from \"./AgentGUI\";\nexport type {\n AgentGUIProps,\n AgentGUIReferenceProvenanceFilterCatalog\n} from \"./AgentGUI\";\nexport type { AgentGUIComposerAppendRequest } from \"./agent-gui/agentGuiNode/controller/useAgentGUIComposerAppendRequest\";\nexport type { AgentComposerDraftFile } from \"./agent-gui/agentGuiNode/model/agentGuiNodeTypes\";\nexport type { AgentGUIAccountMenuState } from \"./agent-gui/agentGuiNode/accountMenuState\";\nexport type {\n AgentGUIComposerContentType,\n AgentGUIComposerFocusMethod,\n AgentGUIEngagementContext,\n AgentGUIEngagementEvent,\n AgentGUIEngagementEventSink\n} from \"./agent-gui/agentGuiNode/engagement/agentGUIEngagement.types\";\nexport {\n agentGUIAgentIsReady,\n normalizeAgentGUIAgents,\n resolveAgentGUISelectedDirectoryAgent\n} from \"./agents\";\nexport {\n agentGUIDefaultTargetProviders,\n createLocalAgentGUIAgentTarget,\n createLocalAgentGUIAgentTargets,\n createSharedAgentGUIAgentTarget,\n localAgentGUIAgentTargetId,\n normalizeAgentGUIAgentTargets,\n resolveAgentGUIAgentTarget\n} from \"./agentTargets\";\nexport type {\n AgentGUIAgent,\n AgentGUIAgentDirectoryPort,\n AgentGUIAgentDirectorySnapshot,\n AgentGUIAgentDirectoryStatus,\n AgentGUIAgentAvailability,\n AgentGUIAgentAvailabilityAction,\n AgentGUIAgentAvailabilityStatus,\n AgentGUIAgentOwner,\n AgentGUIHomeSuggestionId,\n AgentGUIAllAgentsPresentation,\n AgentGUIProvider,\n AgentGUIProviderRailAllPresentation,\n AgentGUIProviderRailMode,\n AgentGUIProviderReadinessGate,\n AgentGUIProviderReadinessGateAction,\n AgentGUIProviderReadinessGateStatus,\n AgentGUIAgentTarget,\n AgentGUIAgentTargetBadge,\n AgentGUIAgentTargetRef\n} from \"./types\";\nexport {\n AgentGuiI18nProvider,\n agentGuiI18nModule,\n agentGuiI18nResources\n} from \"./i18n/index\";\nexport type { AgentGuiI18nLocale } from \"./i18n/index\";\nexport { agentGuiDockIconUrl, agentGuiDockIconUrls } from \"./dockIcons\";\nexport {\n AGENT_GUI_DETAIL_MIN_WIDTH_PX,\n AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,\n AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,\n resolveAgentGUIExpandedWindowFrame,\n shouldAutoCollapseAgentGUIConversationRail\n} from \"./agent-gui/agentGuiNode/model/agentGuiRailLayout\";\nexport type {\n AgentGUIAgentsEmptyRenderer,\n AgentGUIProviderUnavailableStateContext,\n AgentGUIProviderUnavailableStateRenderer,\n AgentGUISidebarFooterContext,\n AgentGUISidebarFooterRenderer\n} from \"./agent-gui/agentGuiNode/AgentGUINodeView\";\nexport {\n AGENT_CONTEXT_MENTION_PROVIDER_IDS,\n type AgentContextMentionProviderId,\n type AgentContextMentionProvider\n} from \"./agent-gui/agentGuiNode/agentContextMentionProvider\";\nexport { preloadAgentMentionBrowse } from \"./agent-gui/agentGuiNode/AgentMentionSearchController\";\nexport { AgentActivityHostProvider } from \"./agentActivityHost\";\nexport type { AgentActivityHostProviderProps } from \"./agentActivityHost\";\nexport { useEngineSelector } from \"./shared/engine/useEngineSelector\";\nexport type { EngineStateStore } from \"./shared/engine/useEngineSelector\";\nexport {\n dispatchAgentPlanPromptAction,\n selectAgentPlanPromptTurn\n} from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport type { AgentPlanPromptAction } from \"./shared/agentConversation/agentPlanPromptDispatch\";\nexport {\n AgentActivityRuntimeProvider,\n resetAgentActivityRuntimeForTests,\n setAgentActivityRuntimeForTests,\n useAgentActivitySnapshot,\n useAgentActivityRuntime,\n useOptionalAgentActivityRuntime\n} from \"./agentActivityRuntime\";\nexport type {\n AgentActivityRuntime,\n AgentActivityRuntimeListSessionMessagesInput,\n AgentActivityRuntimeProviderProps,\n AgentActivityRuntimePromptContentBlock,\n AgentActivityRuntimeDeleteSessionsBatchInput,\n AgentActivityRuntimeDeleteSessionsBatchResult,\n AgentActivityRuntimeSessionSectionDeletionCandidates,\n AgentActivityRuntimeSessionSectionScopeInput,\n AgentActivityRuntimeSetSessionPinnedInput,\n AgentActivityRuntimeUploadPromptContentInput,\n AgentActivityRuntimeUploadPromptContentResult,\n AgentActivityRuntimeUpdateSessionSettingsInput,\n AgentActivityRuntimeUpdateSessionSettingsResult\n} from \"./agentActivityRuntime\";\nexport type {\n AgentHostApi,\n AgentHostAgentTargetAuthenticatedAccount,\n AgentHostAgentTargetSetupSnapshot,\n AgentHostAgentTargetSetupState,\n AgentHostAgentTargetSetupWatch,\n AgentHostApplyWorkspaceGitPatchInput,\n AgentHostInputApi,\n AgentHostSelectFilesInput,\n AgentHostRuntimeApi,\n AgentProviderProbeListInput,\n AgentProviderProbeListResult\n} from \"./host/agentHostApi\";\nexport type {\n AgentProbeProvider,\n AgentProbeSnapshot,\n PersistWriteResult,\n ReadWorkspaceAgentReadStateInput,\n AgentUsageQuota,\n AgentUsageSnapshot,\n WorkspaceAgentReadStateSnapshot,\n WriteWorkspaceAgentReadStateInput\n} from \"./shared/contracts/dto\";\nexport {\n selectNeedsAttentionCount,\n selectNeedsAttentionItems\n} from \"@tutti-os/agent-activity-core\";\nexport type {\n AgentActivityAdapter,\n AgentActivityMessage,\n AgentActivityNeedsAttentionItem,\n AgentActivitySnapshot\n} from \"@tutti-os/agent-activity-core\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiJA;AAAA,EACE;AAAA,EACA;AAAA,OACK;","names":[]}
@@ -3,22 +3,22 @@ import {
3
3
  MAX_BROWSE_CACHE_ENTRIES,
4
4
  preloadAgentMentionBrowse,
5
5
  resetAgentMentionSearchBrowseCacheForTests
6
- } from "./chunk-FRCZZ7ON.js";
6
+ } from "./chunk-OXC5CPW7.js";
7
7
  import "./chunk-USIFGHT3.js";
8
8
  import "./chunk-XJ34OIEQ.js";
9
9
  import "./chunk-R7AXDQCA.js";
10
- import "./chunk-SFYWL6FT.js";
10
+ import "./chunk-EPNL55ZQ.js";
11
11
  import "./chunk-LUGELG5V.js";
12
12
  import "./chunk-JM24HADP.js";
13
13
  import "./chunk-YMXYBG7U.js";
14
- import "./chunk-RATBQN2V.js";
14
+ import "./chunk-J26ZYCAH.js";
15
15
  import "./chunk-F5UR6EJG.js";
16
16
  import "./chunk-W6TO6K2X.js";
17
+ import "./chunk-5G3OFCWH.js";
17
18
  import "./chunk-PJP5BUU6.js";
18
19
  import "./chunk-7KVZPJ3O.js";
20
+ import "./chunk-DVXXZWYX.js";
19
21
  import "./chunk-MIJXEELH.js";
20
- import "./chunk-CTSKSYMM.js";
21
- import "./chunk-W4KHK5HK.js";
22
22
  import "./chunk-D2JUDUYY.js";
23
23
  import "./chunk-6CUELYIF.js";
24
24
  import "./chunk-YNSXUEIR.js";
@@ -51,6 +51,7 @@ interface AgentGUINodeData {
51
51
  provider: AgentGUIProvider;
52
52
  agentTargetId?: string | null;
53
53
  lastActiveAgentSessionId: string | null;
54
+ lastActiveAgentSessionIdByAgentTargetId?: Record<string, string> | null;
54
55
  conversationCount?: number | null;
55
56
  conversationRailWidthPx?: number | null;
56
57
  conversationRailCollapsed?: boolean | null;
@@ -98,6 +99,7 @@ interface AgentGUIAgent {
98
99
  owner?: AgentGUIAgentOwner | null;
99
100
  availability: AgentGUIAgentAvailability;
100
101
  provider: AgentGUIProvider;
102
+ setupKind?: "target_runtime" | null;
101
103
  }
102
104
  type AgentGUIAgentDirectoryStatus = "idle" | "loading" | "ready" | "error";
103
105
  interface AgentGUIAgentDirectorySnapshot {
@@ -1,6 +1,6 @@
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 AgentGuiWorkbenchContributionCopy, d as AgentGuiWorkbenchContributionCopyOverrides, e as AgentGuiWorkbenchConversationIdentity, f as AgentGuiWorkbenchConversationRailToggleDetail, g as AgentGuiWorkbenchNewConversationDetail, h as AgentGuiWorkbenchProviderAvailability, i as AgentGuiWorkbenchRenderBodyHelpers, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, j as agentGuiWorkbenchCompactVisibleAreaRatio, l as agentGuiWorkbenchDefaultCopy, m as agentGuiWorkbenchDefaultNodeFrame, n as agentGuiWorkbenchDefaultUsableHeightRatio, o as agentGuiWorkbenchDefaultUsableWidthRatio, p as agentGuiWorkbenchNewWindowCascadeOffset, q as agentGuiWorkbenchProviderRailWidthPx, r as buildAgentGuiDockEntries, s as createAgentGuiWorkbenchContribution, t as resolveAgentGuiUnifiedDockLaunchPayload, u as resolveAgentGuiWorkbenchContributionCopy, w as resolveAgentGuiWorkbenchDefaultLaunchFrame } from '../contribution-C2LDwLA7.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 AgentGuiWorkbenchContributionCopy, d as AgentGuiWorkbenchContributionCopyOverrides, e as AgentGuiWorkbenchConversationIdentity, f as AgentGuiWorkbenchConversationRailToggleDetail, g as AgentGuiWorkbenchNewConversationDetail, h as AgentGuiWorkbenchProviderAvailability, i as AgentGuiWorkbenchRenderBodyHelpers, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, j as agentGuiWorkbenchCompactVisibleAreaRatio, l as agentGuiWorkbenchDefaultCopy, m as agentGuiWorkbenchDefaultNodeFrame, n as agentGuiWorkbenchDefaultUsableHeightRatio, o as agentGuiWorkbenchDefaultUsableWidthRatio, p as agentGuiWorkbenchNewWindowCascadeOffset, q as agentGuiWorkbenchProviderRailWidthPx, r as buildAgentGuiDockEntries, s as createAgentGuiWorkbenchContribution, t as resolveAgentGuiUnifiedDockLaunchPayload, u as resolveAgentGuiWorkbenchContributionCopy, w as resolveAgentGuiWorkbenchDefaultLaunchFrame } from '../contribution-BlemXneM.js';
5
5
  import './types.js';
6
- import '../types-yF_0mrNS.js';
6
+ import '../types-COIp0SYP.js';
@@ -14,18 +14,18 @@ import {
14
14
  resolveAgentGuiUnifiedDockLaunchPayload,
15
15
  resolveAgentGuiWorkbenchContributionCopy,
16
16
  resolveAgentGuiWorkbenchDefaultLaunchFrame
17
- } from "../chunk-BYE5CKEU.js";
18
- import "../chunk-AY5AFMT2.js";
19
- import "../chunk-CY45OZEY.js";
20
- import "../chunk-JLRPIEIE.js";
17
+ } from "../chunk-NNIXG27Q.js";
18
+ import "../chunk-TUWQV2MC.js";
19
+ import "../chunk-MHOYBRCY.js";
20
+ import "../chunk-AMO3EB7V.js";
21
+ import "../chunk-5HIF53K5.js";
21
22
  import "../chunk-R2ZADXRB.js";
22
- import "../chunk-UHBCM6RO.js";
23
- import "../chunk-7OYHDOGG.js";
23
+ import "../chunk-UV3UQAS2.js";
24
24
  import "../chunk-L2GENUG3.js";
25
25
  import "../chunk-2RQM7PJN.js";
26
26
  import "../chunk-7KVZPJ3O.js";
27
+ import "../chunk-DVXXZWYX.js";
27
28
  import "../chunk-MIJXEELH.js";
28
- import "../chunk-W4KHK5HK.js";
29
29
  import "../chunk-6CUELYIF.js";
30
30
  import "../chunk-YNSXUEIR.js";
31
31
  export {
@@ -1,4 +1,4 @@
1
- export { A as AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, a as AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, c as AgentGuiWorkbenchContributionCopy, d as AgentGuiWorkbenchContributionCopyOverrides, e as AgentGuiWorkbenchConversationIdentity, f as AgentGuiWorkbenchConversationRailToggleDetail, g as AgentGuiWorkbenchNewConversationDetail, h as AgentGuiWorkbenchProviderAvailability, i as AgentGuiWorkbenchRenderBodyHelpers, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, k as agentGuiWorkbenchConversationIdentitiesEqual, l as agentGuiWorkbenchDefaultCopy, m as agentGuiWorkbenchDefaultNodeFrame, r as buildAgentGuiDockEntries, s as createAgentGuiWorkbenchContribution, t as resolveAgentGuiUnifiedDockLaunchPayload, u as resolveAgentGuiWorkbenchContributionCopy, v as resolveAgentGuiWorkbenchConversationIdentity } from '../contribution-C2LDwLA7.js';
1
+ export { A as AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT, a as AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT, c as AgentGuiWorkbenchContributionCopy, d as AgentGuiWorkbenchContributionCopyOverrides, e as AgentGuiWorkbenchConversationIdentity, f as AgentGuiWorkbenchConversationRailToggleDetail, g as AgentGuiWorkbenchNewConversationDetail, h as AgentGuiWorkbenchProviderAvailability, i as AgentGuiWorkbenchRenderBodyHelpers, B as BuildAgentGuiDockEntriesInput, C as CreateAgentGuiWorkbenchContributionInput, k as agentGuiWorkbenchConversationIdentitiesEqual, l as agentGuiWorkbenchDefaultCopy, m as agentGuiWorkbenchDefaultNodeFrame, r as buildAgentGuiDockEntries, s as createAgentGuiWorkbenchContribution, t as resolveAgentGuiUnifiedDockLaunchPayload, u as resolveAgentGuiWorkbenchContributionCopy, v as resolveAgentGuiWorkbenchConversationIdentity } from '../contribution-BlemXneM.js';
2
2
  export { agentGuiWorkbenchComingSoonProviders, agentGuiWorkbenchDefaultDockProviders, agentGuiWorkbenchDockSuppressedProviders, agentGuiWorkbenchProviderLabels, agentGuiWorkbenchProviders, isAgentGuiWorkbenchComingSoonProvider, isAgentGuiWorkbenchDefaultDockProvider, isAgentGuiWorkbenchDockSuppressedProvider, isAgentGuiWorkbenchProvider, normalizeAgentGuiWorkbenchProvider, resolveAgentGuiWorkbenchProviderLabel } from './providerCatalog.js';
3
3
  export { AgentGuiWorkbenchLaunchDescriptor, AgentGuiWorkbenchReusePolicy, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchDockIdentityFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, agentGuiWorkbenchUnifiedDockEntryId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest, resolveAgentGuiWorkbenchLaunchDockEntryId } from './launch.js';
4
4
  export { areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState } from './state.js';
@@ -7,7 +7,7 @@ import { WorkbenchDisplayMode, WorkbenchHostNodeHeaderWindowActions } from '@tut
7
7
  export { AgentGuiWorkbenchSessionTitleResult, ResolveAgentGuiWorkbenchHeaderTitleInput, ResolveAgentGuiWorkbenchSessionTitleInput, resolveAgentGuiWorkbenchHeaderTitle, resolveAgentGuiWorkbenchSessionTitle } from './sessionTitle.js';
8
8
  export { AgentGuiWorkbenchComposerOverrides, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchPrefillPromptPayload, AgentGuiWorkbenchProvider, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType } from './types.js';
9
9
  import '@tutti-os/agent-activity-core';
10
- import '../types-yF_0mrNS.js';
10
+ import '../types-COIp0SYP.js';
11
11
 
12
12
  interface AgentGuiWorkbenchHeaderCopy {
13
13
  collapseConversationRail: string;
@@ -10,7 +10,7 @@ import {
10
10
  resolveAgentGuiUnifiedDockLaunchPayload,
11
11
  resolveAgentGuiWorkbenchContributionCopy,
12
12
  resolveAgentGuiWorkbenchConversationIdentity
13
- } from "../chunk-BYE5CKEU.js";
13
+ } from "../chunk-NNIXG27Q.js";
14
14
  import {
15
15
  agentGuiWorkbenchDockEntryId,
16
16
  agentGuiWorkbenchDockIdentityFromIdentifier,
@@ -22,11 +22,15 @@ import {
22
22
  createAgentGuiWorkbenchLaunchDescriptor,
23
23
  createAgentGuiWorkbenchSessionLaunchRequest,
24
24
  resolveAgentGuiWorkbenchLaunchDockEntryId
25
- } from "../chunk-AY5AFMT2.js";
25
+ } from "../chunk-TUWQV2MC.js";
26
+ import {
27
+ agentGuiWorkbenchOpenSessionActivationType,
28
+ agentGuiWorkbenchPrefillPromptActivationType
29
+ } from "../chunk-MHOYBRCY.js";
26
30
  import {
27
31
  resolveAgentGuiWorkbenchHeaderTitle,
28
32
  resolveAgentGuiWorkbenchSessionTitle
29
- } from "../chunk-CY45OZEY.js";
33
+ } from "../chunk-AMO3EB7V.js";
30
34
  import {
31
35
  areAgentGuiWorkbenchNodeStatesEqual,
32
36
  areAgentGuiWorkbenchStatesEqual,
@@ -35,7 +39,7 @@ import {
35
39
  normalizeAgentGuiWorkbenchNodeState,
36
40
  normalizeAgentGuiWorkbenchState,
37
41
  projectAgentGuiWorkbenchState
38
- } from "../chunk-JLRPIEIE.js";
42
+ } from "../chunk-5HIF53K5.js";
39
43
  import {
40
44
  agentGuiWorkbenchComingSoonProviders,
41
45
  agentGuiWorkbenchDefaultDockProviders,
@@ -49,16 +53,12 @@ import {
49
53
  normalizeAgentGuiWorkbenchProvider,
50
54
  resolveAgentGuiWorkbenchProviderLabel
51
55
  } from "../chunk-R2ZADXRB.js";
52
- import {
53
- agentGuiWorkbenchOpenSessionActivationType,
54
- agentGuiWorkbenchPrefillPromptActivationType
55
- } from "../chunk-UHBCM6RO.js";
56
- import "../chunk-7OYHDOGG.js";
56
+ import "../chunk-UV3UQAS2.js";
57
57
  import "../chunk-L2GENUG3.js";
58
58
  import "../chunk-2RQM7PJN.js";
59
59
  import "../chunk-7KVZPJ3O.js";
60
+ import "../chunk-DVXXZWYX.js";
60
61
  import "../chunk-MIJXEELH.js";
61
- import "../chunk-W4KHK5HK.js";
62
62
  import "../chunk-6CUELYIF.js";
63
63
  import "../chunk-YNSXUEIR.js";
64
64
  export {
@@ -9,11 +9,11 @@ import {
9
9
  createAgentGuiWorkbenchLaunchDescriptor,
10
10
  createAgentGuiWorkbenchSessionLaunchRequest,
11
11
  resolveAgentGuiWorkbenchLaunchDockEntryId
12
- } from "../chunk-AY5AFMT2.js";
13
- import "../chunk-R2ZADXRB.js";
12
+ } from "../chunk-TUWQV2MC.js";
14
13
  import {
15
14
  agentGuiWorkbenchPrefillPromptActivationType
16
- } from "../chunk-UHBCM6RO.js";
15
+ } from "../chunk-MHOYBRCY.js";
16
+ import "../chunk-R2ZADXRB.js";
17
17
  import "../chunk-6CUELYIF.js";
18
18
  export {
19
19
  agentGuiWorkbenchDockEntryId,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveAgentGuiWorkbenchHeaderTitle,
3
3
  resolveAgentGuiWorkbenchSessionTitle
4
- } from "../chunk-CY45OZEY.js";
4
+ } from "../chunk-AMO3EB7V.js";
5
+ import "../chunk-DVXXZWYX.js";
5
6
  import "../chunk-MIJXEELH.js";
6
- import "../chunk-W4KHK5HK.js";
7
7
  import "../chunk-6CUELYIF.js";
8
8
  export {
9
9
  resolveAgentGuiWorkbenchHeaderTitle,
@@ -7,7 +7,7 @@ import {
7
7
  normalizeAgentGuiWorkbenchNodeState,
8
8
  normalizeAgentGuiWorkbenchState,
9
9
  projectAgentGuiWorkbenchState
10
- } from "../chunk-JLRPIEIE.js";
10
+ } from "../chunk-5HIF53K5.js";
11
11
  import "../chunk-R2ZADXRB.js";
12
12
  import "../chunk-6CUELYIF.js";
13
13
  export {
@@ -27,6 +27,7 @@ interface AgentGuiWorkbenchNodeState {
27
27
  conversationRailCollapsed?: boolean | null;
28
28
  conversationRailWidthPx?: number | null;
29
29
  lastActiveAgentSessionId: string | null;
30
+ lastActiveAgentSessionIdByAgentTargetId?: Record<string, string> | null;
30
31
  provider: AgentGuiWorkbenchProvider;
31
32
  }
32
33
  interface AgentGuiWorkbenchState {
@@ -34,6 +35,7 @@ interface AgentGuiWorkbenchState {
34
35
  conversationRailCollapsed?: boolean | null;
35
36
  conversationRailWidthPx?: number | null;
36
37
  lastActiveAgentSessionId: string | null;
38
+ lastActiveAgentSessionIdByAgentTargetId?: Record<string, string> | null;
37
39
  }
38
40
  interface AgentGuiWorkbenchWorkspaceState {
39
41
  workspaceId: string;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  agentGuiWorkbenchOpenSessionActivationType,
3
3
  agentGuiWorkbenchPrefillPromptActivationType
4
- } from "../chunk-UHBCM6RO.js";
4
+ } from "../chunk-MHOYBRCY.js";
5
5
  export {
6
6
  agentGuiWorkbenchOpenSessionActivationType,
7
7
  agentGuiWorkbenchPrefillPromptActivationType
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tutti-os/agent-gui",
3
- "version": "0.0.115",
3
+ "version": "0.0.116",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -45,6 +45,10 @@
45
45
  "types": "./dist/agent-env/index.d.ts",
46
46
  "import": "./dist/agent-env/index.js"
47
47
  },
48
+ "./agent-env-ui": {
49
+ "types": "./dist/agent-env/ui.d.ts",
50
+ "import": "./dist/agent-env/ui.js"
51
+ },
48
52
  "./context-mention-palette": {
49
53
  "types": "./dist/context-mention-palette/index.d.ts",
50
54
  "import": "./dist/context-mention-palette/index.js"
@@ -128,17 +132,17 @@
128
132
  "@tiptap/react": "^3.11.1",
129
133
  "@tiptap/starter-kit": "^3.11.1",
130
134
  "@tiptap/suggestion": "^3.11.1",
131
- "@tutti-os/agent-activity-core": "0.0.115",
132
- "@tutti-os/ui-i18n-runtime": "0.0.115",
133
- "@tutti-os/ui-react-hooks": "0.0.115",
134
- "@tutti-os/ui-rich-text": "0.0.115",
135
- "@tutti-os/ui-system": "0.0.115",
136
- "@tutti-os/workbench-surface": "0.0.115",
137
- "@tutti-os/workspace-external-core": "0.0.115",
138
- "@tutti-os/workspace-file-manager": "0.0.115",
139
- "@tutti-os/workspace-file-reference": "0.0.115",
140
- "@tutti-os/workspace-issue-manager": "0.0.115",
141
- "@tutti-os/workspace-user-project": "0.0.115",
135
+ "@tutti-os/agent-activity-core": "0.0.116",
136
+ "@tutti-os/ui-i18n-runtime": "0.0.116",
137
+ "@tutti-os/ui-react-hooks": "0.0.116",
138
+ "@tutti-os/ui-rich-text": "0.0.116",
139
+ "@tutti-os/ui-system": "0.0.116",
140
+ "@tutti-os/workbench-surface": "0.0.116",
141
+ "@tutti-os/workspace-external-core": "0.0.116",
142
+ "@tutti-os/workspace-file-manager": "0.0.116",
143
+ "@tutti-os/workspace-file-reference": "0.0.116",
144
+ "@tutti-os/workspace-issue-manager": "0.0.116",
145
+ "@tutti-os/workspace-user-project": "0.0.116",
142
146
  "clsx": "^2.1.1",
143
147
  "framer-motion": "^12.40.0",
144
148
  "lodash": "^4.17.21",
@@ -213,6 +217,9 @@
213
217
  "agent-env": [
214
218
  "./dist/agent-env/index.d.ts"
215
219
  ],
220
+ "agent-env-ui": [
221
+ "./dist/agent-env/ui.d.ts"
222
+ ],
216
223
  "context-mention-palette": [
217
224
  "./dist/context-mention-palette/index.d.ts"
218
225
  ],
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../agents.ts"],"sourcesContent":["import type {\n AgentGUIAgent,\n AgentGUIAgentAvailabilityStatus,\n AgentGUIAgentTarget\n} from \"./types.ts\";\n\nexport function normalizeAgentGUIAgents(\n agents: readonly AgentGUIAgent[] | null | undefined\n): AgentGUIAgent[] {\n const normalized: AgentGUIAgent[] = [];\n const seenAgentTargetIds = new Set<string>();\n for (const agent of agents ?? []) {\n const agentTargetId = agent.agentTargetId.trim();\n const name = agent.name.trim();\n const iconUrl = agent.iconUrl.trim();\n const heroImageUrl = agent.heroImageUrl?.trim() ?? \"\";\n if (\n !agentTargetId ||\n !name ||\n !iconUrl ||\n seenAgentTargetIds.has(agentTargetId)\n ) {\n continue;\n }\n seenAgentTargetIds.add(agentTargetId);\n const ownerName = agent.owner?.name?.trim() ?? \"\";\n const ownerAvatarUrl = agent.owner?.avatarUrl?.trim() ?? \"\";\n const reason = agent.availability.reason?.trim() ?? \"\";\n normalized.push({\n agentTargetId,\n name,\n iconUrl,\n ...(heroImageUrl ? { heroImageUrl } : {}),\n ...(agent.description?.trim()\n ? { description: agent.description.trim() }\n : {}),\n ...(ownerName || ownerAvatarUrl\n ? {\n owner: {\n ...(ownerName ? { name: ownerName } : {}),\n ...(ownerAvatarUrl ? { avatarUrl: ownerAvatarUrl } : {})\n }\n }\n : {}),\n availability: {\n status: normalizeAgentGUIAgentAvailabilityStatus(\n agent.availability.status\n ),\n ...(reason ? { reason } : {}),\n ...(agent.availability.pendingAction\n ? { pendingAction: agent.availability.pendingAction }\n : {})\n },\n provider: agent.provider\n });\n }\n return normalized;\n}\n\nexport function agentGUIAgentIsReady(agent: AgentGUIAgent): boolean {\n return agent.availability.status === \"ready\";\n}\n\nexport function resolveAgentGUISelectedDirectoryAgent(input: {\n agents: readonly AgentGUIAgent[];\n agentTargetId?: string | null;\n defaultAgentTargetId?: string | null;\n}): AgentGUIAgent | null {\n const explicitAgentTargetId =\n input.agentTargetId?.trim() || input.defaultAgentTargetId?.trim() || \"\";\n if (explicitAgentTargetId) {\n return (\n input.agents.find(\n (agent) => agent.agentTargetId === explicitAgentTargetId\n ) ?? null\n );\n }\n return (\n input.agents.find((agent) => agentGUIAgentIsReady(agent)) ??\n input.agents[0] ??\n null\n );\n}\n\n/** Package-internal bridge while the carried node is migrated to agent names. */\nexport function projectAgentGUIAgentsToInternalTargets(\n agents: readonly AgentGUIAgent[]\n): AgentGUIAgentTarget[] {\n return agents.map((agent) => ({\n targetId: agent.agentTargetId,\n agentTargetId: agent.agentTargetId,\n provider: agent.provider,\n ref: {\n kind: \"agent-directory\",\n provider: agent.provider,\n agentTargetId: agent.agentTargetId\n },\n label: agent.name,\n availability: agent.availability,\n ...(agent.description ? { description: agent.description } : {}),\n iconUrl: agent.iconUrl,\n ...(agent.heroImageUrl ? { heroImageUrl: agent.heroImageUrl } : {}),\n ...(agent.owner?.avatarUrl\n ? {\n badge: {\n iconUrl: agent.owner.avatarUrl,\n ...(agent.owner.name ? { label: agent.owner.name } : {})\n }\n }\n : {}),\n ...(agent.owner?.name ? { ownerLabel: agent.owner.name } : {}),\n ...(agent.availability.status !== \"ready\" ? { disabled: true } : {}),\n ...(agent.availability.reason\n ? { unavailableReason: agent.availability.reason }\n : {})\n }));\n}\n\nfunction normalizeAgentGUIAgentAvailabilityStatus(\n status: AgentGUIAgentAvailabilityStatus\n): AgentGUIAgentAvailabilityStatus {\n switch (status) {\n case \"ready\":\n case \"checking\":\n case \"coming_soon\":\n case \"not_installed\":\n case \"auth_required\":\n case \"unavailable\":\n return status;\n }\n}\n"],"mappings":"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","names":[]}