@tutti-os/agent-gui 0.0.107 → 0.0.109

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 (126) hide show
  1. package/dist/{AgentGUI-Do6py-T_.d.ts → AgentGUI-BSr3cWcJ.d.ts} +6 -3
  2. package/dist/AgentRichTextReadonly-42TUVYX5.js +18 -0
  3. package/dist/agent-conversation/index.d.ts +4 -4
  4. package/dist/agent-conversation/index.js +13 -12
  5. package/dist/agent-conversation/index.js.map +1 -1
  6. package/dist/agent-env/index.js +1 -1
  7. package/dist/agent-gui.d.ts +5 -4
  8. package/dist/agent-gui.js +27 -25
  9. package/dist/agent-message-center/index.d.ts +12 -3
  10. package/dist/agent-message-center/index.js +75 -31
  11. package/dist/agent-message-center/index.js.map +1 -1
  12. package/dist/{agentConversationVM-Bf3Zv3iI.d.ts → agentConversationVM-D3Dn2LqN.d.ts} +18 -2
  13. package/dist/{agentGuiNodeTypes-DbgQBiYz.d.ts → agentGuiNodeTypes-CR_l4HhU.d.ts} +6 -3
  14. package/dist/agents.d.ts +1 -1
  15. package/dist/agents.js +1 -1
  16. package/dist/app/renderer/agentactivity.css +65 -3
  17. package/dist/app/renderer/assets/icons/agent-vinyl-beta-tag.svg +5 -0
  18. package/dist/{chunk-OWW7CU4U.js → chunk-25BPR75P.js} +2 -2
  19. package/dist/{chunk-N4WVVCNI.js → chunk-2QHKXI5N.js} +2 -2
  20. package/dist/{chunk-ZWY32ZKZ.js → chunk-34JD75OB.js} +1296 -737
  21. package/dist/chunk-34JD75OB.js.map +1 -0
  22. package/dist/{chunk-KJQERFKX.js → chunk-6CUELYIF.js} +3 -3
  23. package/dist/chunk-6CUELYIF.js.map +1 -0
  24. package/dist/{chunk-TKBEVCHG.js → chunk-7BN2WQ2M.js} +32 -2
  25. package/dist/chunk-7BN2WQ2M.js.map +1 -0
  26. package/dist/chunk-7KVZPJ3O.js +25 -0
  27. package/dist/chunk-7KVZPJ3O.js.map +1 -0
  28. package/dist/{chunk-C35SNDVZ.js → chunk-7OYHDOGG.js} +2 -1
  29. package/dist/chunk-7OYHDOGG.js.map +1 -0
  30. package/dist/{chunk-P3CVAWGJ.js → chunk-A5UXTAYJ.js} +5 -5
  31. package/dist/{chunk-4ZWV57MF.js → chunk-AIZJHA4Q.js} +14 -9
  32. package/dist/chunk-AIZJHA4Q.js.map +1 -0
  33. package/dist/{chunk-QY22OBJS.js → chunk-AY5AFMT2.js} +8 -84
  34. package/dist/chunk-AY5AFMT2.js.map +1 -0
  35. package/dist/{chunk-V5ROOS2O.js → chunk-BM3CSFWU.js} +22 -6
  36. package/dist/chunk-BM3CSFWU.js.map +1 -0
  37. package/dist/{chunk-F7Q7QK42.js → chunk-BRLKORQI.js} +1432 -1902
  38. package/dist/chunk-BRLKORQI.js.map +1 -0
  39. package/dist/{chunk-LDZ6C3YV.js → chunk-E74BMFHI.js} +3 -3
  40. package/dist/chunk-E74BMFHI.js.map +1 -0
  41. package/dist/{chunk-ZSJBCZUH.js → chunk-EBXOSQ5G.js} +102 -73
  42. package/dist/chunk-EBXOSQ5G.js.map +1 -0
  43. package/dist/chunk-J4K7KIFZ.js +75 -0
  44. package/dist/chunk-J4K7KIFZ.js.map +1 -0
  45. package/dist/{chunk-UFIEUC3Y.js → chunk-JBX3JPTC.js} +9 -8
  46. package/dist/chunk-JBX3JPTC.js.map +1 -0
  47. package/dist/{chunk-4YVKAPKW.js → chunk-JLRPIEIE.js} +2 -17
  48. package/dist/chunk-JLRPIEIE.js.map +1 -0
  49. package/dist/{chunk-BXOKBZH4.js → chunk-K7WFXVSD.js} +81 -45
  50. package/dist/chunk-K7WFXVSD.js.map +1 -0
  51. package/dist/{chunk-4YG7YK7S.js → chunk-L2GENUG3.js} +3 -3
  52. package/dist/{chunk-J2HG7UCP.js → chunk-OEYXSD3O.js} +3 -3
  53. package/dist/{chunk-L3GMMGRS.js → chunk-R2ZADXRB.js} +2 -2
  54. package/dist/chunk-R7AXDQCA.js +146 -0
  55. package/dist/chunk-R7AXDQCA.js.map +1 -0
  56. package/dist/{chunk-7MPN2JGL.js → chunk-U4CVBCHD.js} +37 -119
  57. package/dist/chunk-U4CVBCHD.js.map +1 -0
  58. package/dist/{chunk-4YCCATI4.js → chunk-USIFGHT3.js} +17 -4
  59. package/dist/chunk-USIFGHT3.js.map +1 -0
  60. package/dist/{chunk-7BXWPI4F.js → chunk-VMQNG2KI.js} +13 -1
  61. package/dist/{chunk-7BXWPI4F.js.map → chunk-VMQNG2KI.js.map} +1 -1
  62. package/dist/{chunk-SN6UYX54.js → chunk-W6TO6K2X.js} +4 -4
  63. package/dist/{chunk-UGVI47X6.js → chunk-YNSXUEIR.js} +6 -6
  64. package/dist/context-mention-palette/index.js +13 -12
  65. package/dist/{contribution-C6K5YfJ7.d.ts → contribution-C2LDwLA7.d.ts} +3 -2
  66. package/dist/dock-icons.js +3 -3
  67. package/dist/i18n/index.d.ts +31 -1
  68. package/dist/i18n/index.js +2 -2
  69. package/dist/index.d.ts +8 -7
  70. package/dist/index.js +27 -25
  71. package/dist/index.js.map +1 -1
  72. package/dist/mention-search.js +11 -10
  73. package/dist/provider-icons.js +1 -1
  74. package/dist/provider-identity.js +1 -1
  75. package/dist/{types-CnT8rNUI.d.ts → types-yF_0mrNS.d.ts} +1 -0
  76. package/dist/workbench/contribution.d.ts +2 -2
  77. package/dist/workbench/contribution.js +11 -11
  78. package/dist/workbench/index.d.ts +4 -4
  79. package/dist/workbench/index.js +22 -28
  80. package/dist/workbench/launch.d.ts +11 -14
  81. package/dist/workbench/launch.js +5 -11
  82. package/dist/workbench/providerCatalog.js +2 -2
  83. package/dist/workbench/sessionTitle.js +3 -3
  84. package/dist/workbench/state.d.ts +2 -12
  85. package/dist/workbench/state.js +3 -9
  86. package/dist/workspace-agent-generated-files.js +2 -1
  87. package/dist/workspace-query-cache.d.ts +19 -0
  88. package/dist/workspace-query-cache.js +7 -0
  89. package/dist/workspace-query-cache.js.map +1 -0
  90. package/package.json +21 -14
  91. package/dist/@-bold-lined-BLLFKBFI.svg +0 -10
  92. package/dist/AgentRichTextReadonly-F6PHC5SX.js +0 -18
  93. package/dist/add-lined-bold-5QPUDZCU.svg +0 -3
  94. package/dist/chunk-4YCCATI4.js.map +0 -1
  95. package/dist/chunk-4YVKAPKW.js.map +0 -1
  96. package/dist/chunk-4ZWV57MF.js.map +0 -1
  97. package/dist/chunk-7MPN2JGL.js.map +0 -1
  98. package/dist/chunk-BXOKBZH4.js.map +0 -1
  99. package/dist/chunk-C35SNDVZ.js.map +0 -1
  100. package/dist/chunk-F7Q7QK42.js.map +0 -1
  101. package/dist/chunk-H6IQ63DQ.js +0 -14
  102. package/dist/chunk-H6IQ63DQ.js.map +0 -1
  103. package/dist/chunk-KJQERFKX.js.map +0 -1
  104. package/dist/chunk-LDZ6C3YV.js.map +0 -1
  105. package/dist/chunk-QY22OBJS.js.map +0 -1
  106. package/dist/chunk-TKBEVCHG.js.map +0 -1
  107. package/dist/chunk-UFIEUC3Y.js.map +0 -1
  108. package/dist/chunk-V5ROOS2O.js.map +0 -1
  109. package/dist/chunk-ZSJBCZUH.js.map +0 -1
  110. package/dist/chunk-ZWY32ZKZ.js.map +0 -1
  111. package/dist/claudecode-flat-filled-NHO4JCVK.svg +0 -10
  112. package/dist/codex-flat-filled-WYHCF5VR.svg +0 -10
  113. package/dist/cursor-flat-filled-CL7N3BTZ.svg +0 -3
  114. package/dist/handoff-lined-4WQUBVG3.svg +0 -11
  115. package/dist/open-link-lined-JWEKUKME.svg +0 -4
  116. package/dist/opencode-flat-filled-CYAJPX45.svg +0 -4
  117. package/dist/tutti-flat-filled-K32QBTZE.svg +0 -12
  118. /package/dist/{AgentRichTextReadonly-F6PHC5SX.js.map → AgentRichTextReadonly-42TUVYX5.js.map} +0 -0
  119. /package/dist/{chunk-OWW7CU4U.js.map → chunk-25BPR75P.js.map} +0 -0
  120. /package/dist/{chunk-N4WVVCNI.js.map → chunk-2QHKXI5N.js.map} +0 -0
  121. /package/dist/{chunk-P3CVAWGJ.js.map → chunk-A5UXTAYJ.js.map} +0 -0
  122. /package/dist/{chunk-4YG7YK7S.js.map → chunk-L2GENUG3.js.map} +0 -0
  123. /package/dist/{chunk-J2HG7UCP.js.map → chunk-OEYXSD3O.js.map} +0 -0
  124. /package/dist/{chunk-L3GMMGRS.js.map → chunk-R2ZADXRB.js.map} +0 -0
  125. /package/dist/{chunk-SN6UYX54.js.map → chunk-W6TO6K2X.js.map} +0 -0
  126. /package/dist/{chunk-UGVI47X6.js.map → chunk-YNSXUEIR.js.map} +0 -0
@@ -3,30 +3,31 @@ import {
3
3
  AgentFileMentionPalette,
4
4
  flattenAgentMentionPaletteEntries,
5
5
  groupStartKeys
6
- } from "../chunk-P3CVAWGJ.js";
6
+ } from "../chunk-A5UXTAYJ.js";
7
7
  import {
8
8
  AgentMentionSearchController
9
- } from "../chunk-BXOKBZH4.js";
10
- import "../chunk-4YCCATI4.js";
9
+ } from "../chunk-K7WFXVSD.js";
10
+ import "../chunk-USIFGHT3.js";
11
11
  import "../chunk-XJ34OIEQ.js";
12
- import "../chunk-J2HG7UCP.js";
12
+ import "../chunk-R7AXDQCA.js";
13
+ import "../chunk-OEYXSD3O.js";
13
14
  import "../chunk-LUGELG5V.js";
14
15
  import {
15
16
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
16
17
  } from "../chunk-JM24HADP.js";
17
- import "../chunk-N4WVVCNI.js";
18
+ import "../chunk-2QHKXI5N.js";
18
19
  import "../chunk-YMXYBG7U.js";
19
- import "../chunk-LDZ6C3YV.js";
20
+ import "../chunk-E74BMFHI.js";
20
21
  import "../chunk-F5UR6EJG.js";
21
- import "../chunk-SN6UYX54.js";
22
+ import "../chunk-W6TO6K2X.js";
22
23
  import "../chunk-PJP5BUU6.js";
23
- import "../chunk-H6IQ63DQ.js";
24
+ import "../chunk-7KVZPJ3O.js";
24
25
  import "../chunk-MIJXEELH.js";
25
- import "../chunk-OWW7CU4U.js";
26
- import "../chunk-TKBEVCHG.js";
26
+ import "../chunk-25BPR75P.js";
27
+ import "../chunk-7BN2WQ2M.js";
27
28
  import "../chunk-D2JUDUYY.js";
28
- import "../chunk-KJQERFKX.js";
29
- import "../chunk-UGVI47X6.js";
29
+ import "../chunk-6CUELYIF.js";
30
+ import "../chunk-YNSXUEIR.js";
30
31
  export {
31
32
  AGENT_CONTEXT_MENTION_PROVIDER_IDS,
32
33
  AgentContextMentionPalette,
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { AgentSessionEngineState, AgentSessionEngine } from '@tutti-os/agent-activity-core';
3
3
  import { WorkbenchFrame, WorkbenchHostDockEntry, WorkbenchHostLaunchRequest, WorkbenchHostNodeBodyContext, WorkbenchContribution } from '@tutti-os/workbench-surface';
4
- import { A as AgentGUIAgent, d as AgentGUIAgentDirectoryPort } from './types-CnT8rNUI.js';
4
+ import { A as AgentGUIAgent, d as AgentGUIAgentDirectoryPort } from './types-yF_0mrNS.js';
5
5
  import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchState } from './workbench/types.js';
6
6
 
7
7
  interface AgentGuiWorkbenchConversationIdentity {
@@ -87,9 +87,10 @@ interface AgentGuiWorkbenchContributionCopy {
87
87
  type AgentGuiWorkbenchContributionCopyOverrides = Partial<AgentGuiWorkbenchContributionCopy>;
88
88
  interface AgentGuiWorkbenchRenderBodyHelpers {
89
89
  agentDirectory: AgentGUIAgentDirectoryPort;
90
+ agentTargetId: string | null;
90
91
  nodeTypeId: string;
91
92
  onStateChange(state: AgentGuiWorkbenchState): void;
92
- provider: AgentGuiWorkbenchProvider;
93
+ provider: AgentGuiWorkbenchProvider | null;
93
94
  }
94
95
  interface CreateAgentGuiWorkbenchContributionInput {
95
96
  agentDirectory: AgentGUIAgentDirectoryPort;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  agentGuiDockIconUrl,
3
3
  agentGuiDockIconUrls
4
- } from "./chunk-4YG7YK7S.js";
5
- import "./chunk-KJQERFKX.js";
6
- import "./chunk-UGVI47X6.js";
4
+ } from "./chunk-L2GENUG3.js";
5
+ import "./chunk-6CUELYIF.js";
6
+ import "./chunk-YNSXUEIR.js";
7
7
  export {
8
8
  agentGuiDockIconUrl,
9
9
  agentGuiDockIconUrls
@@ -643,6 +643,7 @@ declare const agentGuiI18nResources: {
643
643
  readonly batchDeleteConversationsConfirm: "Delete conversations";
644
644
  readonly runtimeSessionOnly: "Only runtime sessions appear here.";
645
645
  readonly approvalRequired: "{{provider}} requests your authorization.";
646
+ readonly fileChangeApprovalRequired: "{{provider}} requests your authorization to edit files.";
646
647
  readonly approvalUnavailable: "No choices are available.";
647
648
  readonly approvalOptions: {
648
649
  readonly allowOnce: "Yes, proceed";
@@ -807,6 +808,20 @@ declare const agentGuiI18nResources: {
807
808
  readonly description: "Runs commands without asking, unless explicitly denied by your Cursor permission rules.";
808
809
  };
809
810
  };
811
+ readonly opencode: {
812
+ readonly "read-only": {
813
+ readonly label: "Read-only";
814
+ readonly description: "Reads and searches the local project, but denies edits, commands, network access, and other approval-gated actions.";
815
+ };
816
+ readonly ask: {
817
+ readonly label: "Ask";
818
+ readonly description: "Reads and searches directly, then asks before edits, commands, network access, and other gated actions.";
819
+ };
820
+ readonly "full-access": {
821
+ readonly label: "Full access";
822
+ readonly description: "Automatically allows gated actions without changing OpenCode's separate Plan mode restrictions.";
823
+ };
824
+ };
810
825
  readonly nexight: {
811
826
  readonly "read-only": {
812
827
  readonly label: "Ask for approval";
@@ -3149,6 +3164,7 @@ declare const agentGuiI18nResources: {
3149
3164
  readonly batchDeleteConversationsConfirm: "删除对话";
3150
3165
  readonly runtimeSessionOnly: "这里只显示 runtime 会话。";
3151
3166
  readonly approvalRequired: "{{provider}} 请求你的授权。";
3167
+ readonly fileChangeApprovalRequired: "{{provider}} 请求编辑文件的授权";
3152
3168
  readonly approvalUnavailable: "没有可用选项。";
3153
3169
  readonly approvalOptions: {
3154
3170
  readonly allowOnce: "允许执行";
@@ -3221,7 +3237,7 @@ declare const agentGuiI18nResources: {
3221
3237
  readonly providerGateInstallDescription: "需要先连接 {{provider}},才能在这里开始新的对话。";
3222
3238
  readonly providerGateInstallAction: "连接";
3223
3239
  readonly providerGateLoginTitle: "登录 {{provider}}";
3224
- readonly providerGateLoginDescription: "使用账号登录后即可开始使用 {{provider}} 对话。";
3240
+ readonly providerGateLoginDescription: "使用账号登录后即可开始使用 {{provider}} 对话";
3225
3241
  readonly providerGateLoginAction: "登录";
3226
3242
  readonly providerGateComingSoonTitle: "{{provider}} 即将上线";
3227
3243
  readonly providerGateComingSoonDescription: "{{provider}} 暂未开放。准备好后即可在这里使用这个 Agent。";
@@ -3313,6 +3329,20 @@ declare const agentGuiI18nResources: {
3313
3329
  readonly description: "无需询问直接运行命令,除非被你的 Cursor 权限规则明确拒绝。";
3314
3330
  };
3315
3331
  };
3332
+ readonly opencode: {
3333
+ readonly "read-only": {
3334
+ readonly label: "只读";
3335
+ readonly description: "允许读取和搜索本地项目,拒绝修改、命令、网络及其他需授权操作";
3336
+ };
3337
+ readonly ask: {
3338
+ readonly label: "询问";
3339
+ readonly description: "读取和搜索直接执行,修改、命令、网络及其他操作会先询问你";
3340
+ };
3341
+ readonly "full-access": {
3342
+ readonly label: "完全访问";
3343
+ readonly description: "自动允许需授权操作,但不会改变 OpenCode 独立的 Plan 模式限制";
3344
+ };
3345
+ };
3316
3346
  readonly nexight: {
3317
3347
  readonly "read-only": {
3318
3348
  readonly label: "请求批准";
@@ -6,8 +6,8 @@ import {
6
6
  translate,
7
7
  translateInUiLanguage,
8
8
  useTranslation
9
- } from "../chunk-OWW7CU4U.js";
10
- import "../chunk-TKBEVCHG.js";
9
+ } from "../chunk-25BPR75P.js";
10
+ import "../chunk-7BN2WQ2M.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-Do6py-T_.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-Do6py-T_.js';
5
- import { i as AgentHostInputApi } from './agentGuiNodeTypes-DbgQBiYz.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-DbgQBiYz.js';
3
+ import { A as AgentActivityRuntime } from './AgentGUI-BSr3cWcJ.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-BSr3cWcJ.js';
5
+ import { i as AgentHostInputApi } from './agentGuiNodeTypes-CR_l4HhU.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-CR_l4HhU.js';
7
7
  export { agentGUIAgentIsReady, normalizeAgentGUIAgents, resolveAgentGUISelectedDirectoryAgent } from './agents.js';
8
- import { n as AgentGUIProvider, h as AgentGUIAgentTarget, i as AgentGUIAgentTargetBadge } from './types-CnT8rNUI.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-CnT8rNUI.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';
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';
@@ -17,10 +17,11 @@ export { A as AgentPlanPromptAction, E as EngineStateStore, d as dispatchAgentPl
17
17
  export { ReferenceProvenanceCatalog as AgentGUIReferenceProvenanceFilterCatalog } from '@tutti-os/workspace-file-reference/contracts';
18
18
  export { A as AgentGuiI18nLocale } from './runtime-BBNdWgDU.js';
19
19
  import '@tutti-os/ui-i18n-runtime';
20
+ import './workspace-query-cache.js';
20
21
  import './agentFileMentionContracts-B70VnPWO.js';
21
22
  import '@tutti-os/workspace-file-manager/services';
22
23
  import '@tutti-os/workspace-file-reference/core';
23
- import './agentConversationVM-Bf3Zv3iI.js';
24
+ import './agentConversationVM-D3Dn2LqN.js';
24
25
  import '@tutti-os/workspace-issue-manager/core';
25
26
  import './workspaceAgentActivityListTypes-DZfS_HgG.js';
26
27
  import '@tutti-os/workspace-user-project/i18n';
package/dist/index.js CHANGED
@@ -7,28 +7,29 @@ import {
7
7
  localAgentGUIAgentTargetId,
8
8
  normalizeAgentGUIAgentTargets,
9
9
  resolveAgentGUIAgentTarget
10
- } from "./chunk-ZWY32ZKZ.js";
10
+ } from "./chunk-34JD75OB.js";
11
+ import "./chunk-J4K7KIFZ.js";
11
12
  import {
12
13
  AGENT_GUI_DETAIL_MIN_WIDTH_PX,
13
14
  AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,
14
15
  AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
15
16
  resolveAgentGUIExpandedWindowFrame,
16
17
  shouldAutoCollapseAgentGUIConversationRail
17
- } from "./chunk-ZSJBCZUH.js";
18
- import "./chunk-V5ROOS2O.js";
19
- import "./chunk-4YVKAPKW.js";
20
- import "./chunk-QY22OBJS.js";
21
- import "./chunk-L3GMMGRS.js";
18
+ } from "./chunk-EBXOSQ5G.js";
19
+ import "./chunk-AY5AFMT2.js";
20
+ import "./chunk-BM3CSFWU.js";
21
+ import "./chunk-JLRPIEIE.js";
22
+ import "./chunk-R2ZADXRB.js";
22
23
  import "./chunk-UHBCM6RO.js";
23
- import "./chunk-F7Q7QK42.js";
24
- import "./chunk-UFIEUC3Y.js";
25
- import "./chunk-7BXWPI4F.js";
26
- import "./chunk-P3CVAWGJ.js";
24
+ import "./chunk-BRLKORQI.js";
25
+ import "./chunk-JBX3JPTC.js";
26
+ import "./chunk-VMQNG2KI.js";
27
+ import "./chunk-A5UXTAYJ.js";
27
28
  import {
28
29
  agentGUIAgentIsReady,
29
30
  normalizeAgentGUIAgents,
30
31
  resolveAgentGUISelectedDirectoryAgent
31
- } from "./chunk-C35SNDVZ.js";
32
+ } from "./chunk-7OYHDOGG.js";
32
33
  import {
33
34
  AGENT_PASTED_TEXT_BLOCK_KIND,
34
35
  AGENT_PASTED_TEXT_MENTION_KIND
@@ -36,13 +37,14 @@ import {
36
37
  import {
37
38
  agentGuiDockIconUrl,
38
39
  agentGuiDockIconUrls
39
- } from "./chunk-4YG7YK7S.js";
40
+ } from "./chunk-L2GENUG3.js";
40
41
  import {
41
42
  preloadAgentMentionBrowse
42
- } from "./chunk-BXOKBZH4.js";
43
- import "./chunk-4YCCATI4.js";
43
+ } from "./chunk-K7WFXVSD.js";
44
+ import "./chunk-USIFGHT3.js";
44
45
  import "./chunk-XJ34OIEQ.js";
45
- import "./chunk-J2HG7UCP.js";
46
+ import "./chunk-R7AXDQCA.js";
47
+ import "./chunk-OEYXSD3O.js";
46
48
  import "./chunk-LUGELG5V.js";
47
49
  import {
48
50
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
@@ -50,13 +52,13 @@ import {
50
52
  import {
51
53
  dispatchAgentPlanPromptAction,
52
54
  selectAgentPlanPromptTurn
53
- } from "./chunk-4ZWV57MF.js";
55
+ } from "./chunk-AIZJHA4Q.js";
54
56
  import {
55
57
  useEngineSelector
56
58
  } from "./chunk-2RQM7PJN.js";
57
- import "./chunk-7MPN2JGL.js";
59
+ import "./chunk-U4CVBCHD.js";
58
60
  import "./chunk-KPMQGPYU.js";
59
- import "./chunk-N4WVVCNI.js";
61
+ import "./chunk-2QHKXI5N.js";
60
62
  import "./chunk-YMXYBG7U.js";
61
63
  import {
62
64
  AgentActivityHostProvider,
@@ -66,25 +68,25 @@ import {
66
68
  useAgentActivityRuntime,
67
69
  useAgentActivitySnapshot,
68
70
  useOptionalAgentActivityRuntime
69
- } from "./chunk-LDZ6C3YV.js";
71
+ } from "./chunk-E74BMFHI.js";
70
72
  import "./chunk-F5UR6EJG.js";
71
- import "./chunk-SN6UYX54.js";
73
+ import "./chunk-W6TO6K2X.js";
72
74
  import "./chunk-PJP5BUU6.js";
73
- import "./chunk-H6IQ63DQ.js";
75
+ import "./chunk-7KVZPJ3O.js";
74
76
  import "./chunk-MIJXEELH.js";
75
77
  import {
76
78
  AgentGuiI18nProvider,
77
79
  agentGuiI18nModule,
78
80
  agentGuiI18nResources
79
- } from "./chunk-OWW7CU4U.js";
80
- import "./chunk-TKBEVCHG.js";
81
+ } from "./chunk-25BPR75P.js";
82
+ import "./chunk-7BN2WQ2M.js";
81
83
  import {
82
84
  getAgentCustomMentionKind,
83
85
  registerAgentCustomMentionKind,
84
86
  resetAgentCustomMentionKindsForTests
85
87
  } from "./chunk-D2JUDUYY.js";
86
- import "./chunk-KJQERFKX.js";
87
- import "./chunk-UGVI47X6.js";
88
+ import "./chunk-6CUELYIF.js";
89
+ import "./chunk-YNSXUEIR.js";
88
90
 
89
91
  // index.ts
90
92
  import {
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 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":[]}
@@ -3,24 +3,25 @@ import {
3
3
  MAX_BROWSE_CACHE_ENTRIES,
4
4
  preloadAgentMentionBrowse,
5
5
  resetAgentMentionSearchBrowseCacheForTests
6
- } from "./chunk-BXOKBZH4.js";
7
- import "./chunk-4YCCATI4.js";
6
+ } from "./chunk-K7WFXVSD.js";
7
+ import "./chunk-USIFGHT3.js";
8
8
  import "./chunk-XJ34OIEQ.js";
9
- import "./chunk-J2HG7UCP.js";
9
+ import "./chunk-R7AXDQCA.js";
10
+ import "./chunk-OEYXSD3O.js";
10
11
  import "./chunk-LUGELG5V.js";
11
12
  import "./chunk-JM24HADP.js";
12
13
  import "./chunk-YMXYBG7U.js";
13
- import "./chunk-LDZ6C3YV.js";
14
+ import "./chunk-E74BMFHI.js";
14
15
  import "./chunk-F5UR6EJG.js";
15
- import "./chunk-SN6UYX54.js";
16
+ import "./chunk-W6TO6K2X.js";
16
17
  import "./chunk-PJP5BUU6.js";
17
- import "./chunk-H6IQ63DQ.js";
18
+ import "./chunk-7KVZPJ3O.js";
18
19
  import "./chunk-MIJXEELH.js";
19
- import "./chunk-OWW7CU4U.js";
20
- import "./chunk-TKBEVCHG.js";
20
+ import "./chunk-25BPR75P.js";
21
+ import "./chunk-7BN2WQ2M.js";
21
22
  import "./chunk-D2JUDUYY.js";
22
- import "./chunk-KJQERFKX.js";
23
- import "./chunk-UGVI47X6.js";
23
+ import "./chunk-6CUELYIF.js";
24
+ import "./chunk-YNSXUEIR.js";
24
25
  export {
25
26
  AgentMentionSearchController,
26
27
  MAX_BROWSE_CACHE_ENTRIES,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveProviderIconAsset
3
- } from "./chunk-UGVI47X6.js";
3
+ } from "./chunk-YNSXUEIR.js";
4
4
 
5
5
  // provider-icons.ts
6
6
  function resolveProviderIconAsset2(iconKey, variant) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveAgentGUIProviderCatalogIdentity
3
- } from "./chunk-KJQERFKX.js";
3
+ } from "./chunk-6CUELYIF.js";
4
4
 
5
5
  // provider-identity.ts
6
6
  function resolveAgentGUIProviderIdentity(value) {
@@ -133,6 +133,7 @@ interface AgentGUIAgentTarget {
133
133
  heroImageUrl?: string | null;
134
134
  badge?: AgentGUIAgentTargetBadge | null;
135
135
  ownerLabel?: string;
136
+ availability?: AgentGUIAgentAvailability;
136
137
  disabled?: boolean;
137
138
  unavailableReason?: string;
138
139
  }
@@ -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-C6K5YfJ7.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-C2LDwLA7.js';
5
5
  import './types.js';
6
- import '../types-CnT8rNUI.js';
6
+ import '../types-yF_0mrNS.js';
@@ -14,20 +14,20 @@ import {
14
14
  resolveAgentGuiUnifiedDockLaunchPayload,
15
15
  resolveAgentGuiWorkbenchContributionCopy,
16
16
  resolveAgentGuiWorkbenchDefaultLaunchFrame
17
- } from "../chunk-ZSJBCZUH.js";
18
- import "../chunk-V5ROOS2O.js";
19
- import "../chunk-4YVKAPKW.js";
20
- import "../chunk-QY22OBJS.js";
21
- import "../chunk-L3GMMGRS.js";
17
+ } from "../chunk-EBXOSQ5G.js";
18
+ import "../chunk-AY5AFMT2.js";
19
+ import "../chunk-BM3CSFWU.js";
20
+ import "../chunk-JLRPIEIE.js";
21
+ import "../chunk-R2ZADXRB.js";
22
22
  import "../chunk-UHBCM6RO.js";
23
- import "../chunk-C35SNDVZ.js";
24
- import "../chunk-4YG7YK7S.js";
23
+ import "../chunk-7OYHDOGG.js";
24
+ import "../chunk-L2GENUG3.js";
25
25
  import "../chunk-2RQM7PJN.js";
26
- import "../chunk-H6IQ63DQ.js";
26
+ import "../chunk-7KVZPJ3O.js";
27
27
  import "../chunk-MIJXEELH.js";
28
- import "../chunk-TKBEVCHG.js";
29
- import "../chunk-KJQERFKX.js";
30
- import "../chunk-UGVI47X6.js";
28
+ import "../chunk-7BN2WQ2M.js";
29
+ import "../chunk-6CUELYIF.js";
30
+ import "../chunk-YNSXUEIR.js";
31
31
  export {
32
32
  AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
33
33
  AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT,
@@ -1,13 +1,13 @@
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-C6K5YfJ7.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-C2LDwLA7.js';
2
2
  export { agentGuiWorkbenchComingSoonProviders, agentGuiWorkbenchDefaultDockProviders, agentGuiWorkbenchDockSuppressedProviders, agentGuiWorkbenchProviderLabels, agentGuiWorkbenchProviders, isAgentGuiWorkbenchComingSoonProvider, isAgentGuiWorkbenchDefaultDockProvider, isAgentGuiWorkbenchDockSuppressedProvider, isAgentGuiWorkbenchProvider, normalizeAgentGuiWorkbenchProvider, resolveAgentGuiWorkbenchProviderLabel } from './providerCatalog.js';
3
- export { AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchDockIdentityFromIdentifier, agentGuiWorkbenchInstanceId, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, agentGuiWorkbenchUnifiedDockEntryId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest, resolveAgentGuiWorkbenchLaunchDockEntryId } from './launch.js';
4
- export { agentGuiWorkbenchProviderFromInstanceId, areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState } from './state.js';
3
+ export { AgentGuiWorkbenchLaunchDescriptor, AgentGuiWorkbenchReusePolicy, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchDockIdentityFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, agentGuiWorkbenchUnifiedDockEntryId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest, resolveAgentGuiWorkbenchLaunchDockEntryId } from './launch.js';
4
+ export { areAgentGuiWorkbenchNodeStatesEqual, areAgentGuiWorkbenchStatesEqual, createAgentGuiWorkbenchNodeStateSource, createDefaultAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchNodeState, normalizeAgentGuiWorkbenchState, projectAgentGuiWorkbenchState } from './state.js';
5
5
  import { HTMLAttributes, ReactNode } from 'react';
6
6
  import { WorkbenchDisplayMode, WorkbenchHostNodeHeaderWindowActions } from '@tutti-os/workbench-surface';
7
7
  export { AgentGuiWorkbenchSessionTitleResult, ResolveAgentGuiWorkbenchHeaderTitleInput, ResolveAgentGuiWorkbenchSessionTitleInput, resolveAgentGuiWorkbenchHeaderTitle, resolveAgentGuiWorkbenchSessionTitle } from './sessionTitle.js';
8
8
  export { AgentGuiWorkbenchComposerOverrides, AgentGuiWorkbenchNodeState, AgentGuiWorkbenchPrefillPromptPayload, AgentGuiWorkbenchProvider, AgentGuiWorkbenchState, AgentGuiWorkbenchWorkspaceState, agentGuiWorkbenchOpenSessionActivationType, agentGuiWorkbenchPrefillPromptActivationType } from './types.js';
9
9
  import '@tutti-os/agent-activity-core';
10
- import '../types-CnT8rNUI.js';
10
+ import '../types-yF_0mrNS.js';
11
11
 
12
12
  interface AgentGuiWorkbenchHeaderCopy {
13
13
  collapseConversationRail: string;
@@ -10,26 +10,10 @@ import {
10
10
  resolveAgentGuiUnifiedDockLaunchPayload,
11
11
  resolveAgentGuiWorkbenchContributionCopy,
12
12
  resolveAgentGuiWorkbenchConversationIdentity
13
- } from "../chunk-ZSJBCZUH.js";
14
- import {
15
- resolveAgentGuiWorkbenchHeaderTitle,
16
- resolveAgentGuiWorkbenchSessionTitle
17
- } from "../chunk-V5ROOS2O.js";
18
- import {
19
- agentGuiWorkbenchProviderFromInstanceId,
20
- areAgentGuiWorkbenchNodeStatesEqual,
21
- areAgentGuiWorkbenchStatesEqual,
22
- createAgentGuiWorkbenchNodeStateSource,
23
- createDefaultAgentGuiWorkbenchNodeState,
24
- normalizeAgentGuiWorkbenchNodeState,
25
- normalizeAgentGuiWorkbenchState,
26
- projectAgentGuiWorkbenchState
27
- } from "../chunk-4YVKAPKW.js";
13
+ } from "../chunk-EBXOSQ5G.js";
28
14
  import {
29
15
  agentGuiWorkbenchDockEntryId,
30
16
  agentGuiWorkbenchDockIdentityFromIdentifier,
31
- agentGuiWorkbenchInstanceId,
32
- agentGuiWorkbenchProviderFromIdentifier,
33
17
  agentGuiWorkbenchProviderFromLaunchRequest,
34
18
  agentGuiWorkbenchTypeId,
35
19
  agentGuiWorkbenchUnifiedDockEntryId,
@@ -38,7 +22,20 @@ import {
38
22
  createAgentGuiWorkbenchLaunchDescriptor,
39
23
  createAgentGuiWorkbenchSessionLaunchRequest,
40
24
  resolveAgentGuiWorkbenchLaunchDockEntryId
41
- } from "../chunk-QY22OBJS.js";
25
+ } from "../chunk-AY5AFMT2.js";
26
+ import {
27
+ resolveAgentGuiWorkbenchHeaderTitle,
28
+ resolveAgentGuiWorkbenchSessionTitle
29
+ } from "../chunk-BM3CSFWU.js";
30
+ import {
31
+ areAgentGuiWorkbenchNodeStatesEqual,
32
+ areAgentGuiWorkbenchStatesEqual,
33
+ createAgentGuiWorkbenchNodeStateSource,
34
+ createDefaultAgentGuiWorkbenchNodeState,
35
+ normalizeAgentGuiWorkbenchNodeState,
36
+ normalizeAgentGuiWorkbenchState,
37
+ projectAgentGuiWorkbenchState
38
+ } from "../chunk-JLRPIEIE.js";
42
39
  import {
43
40
  agentGuiWorkbenchComingSoonProviders,
44
41
  agentGuiWorkbenchDefaultDockProviders,
@@ -51,19 +48,19 @@ import {
51
48
  isAgentGuiWorkbenchProvider,
52
49
  normalizeAgentGuiWorkbenchProvider,
53
50
  resolveAgentGuiWorkbenchProviderLabel
54
- } from "../chunk-L3GMMGRS.js";
51
+ } from "../chunk-R2ZADXRB.js";
55
52
  import {
56
53
  agentGuiWorkbenchOpenSessionActivationType,
57
54
  agentGuiWorkbenchPrefillPromptActivationType
58
55
  } from "../chunk-UHBCM6RO.js";
59
- import "../chunk-C35SNDVZ.js";
60
- import "../chunk-4YG7YK7S.js";
56
+ import "../chunk-7OYHDOGG.js";
57
+ import "../chunk-L2GENUG3.js";
61
58
  import "../chunk-2RQM7PJN.js";
62
- import "../chunk-H6IQ63DQ.js";
59
+ import "../chunk-7KVZPJ3O.js";
63
60
  import "../chunk-MIJXEELH.js";
64
- import "../chunk-TKBEVCHG.js";
65
- import "../chunk-KJQERFKX.js";
66
- import "../chunk-UGVI47X6.js";
61
+ import "../chunk-7BN2WQ2M.js";
62
+ import "../chunk-6CUELYIF.js";
63
+ import "../chunk-YNSXUEIR.js";
67
64
  export {
68
65
  AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT,
69
66
  AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT,
@@ -76,11 +73,8 @@ export {
76
73
  agentGuiWorkbenchDockEntryId,
77
74
  agentGuiWorkbenchDockIdentityFromIdentifier,
78
75
  agentGuiWorkbenchDockSuppressedProviders,
79
- agentGuiWorkbenchInstanceId,
80
76
  agentGuiWorkbenchOpenSessionActivationType,
81
77
  agentGuiWorkbenchPrefillPromptActivationType,
82
- agentGuiWorkbenchProviderFromIdentifier,
83
- agentGuiWorkbenchProviderFromInstanceId,
84
78
  agentGuiWorkbenchProviderFromLaunchRequest,
85
79
  agentGuiWorkbenchProviderLabels,
86
80
  agentGuiWorkbenchProviders,
@@ -14,13 +14,7 @@ interface AgentGuiWorkbenchDockIdentity {
14
14
  */
15
15
  declare function agentGuiWorkbenchDockEntryId(_provider: AgentGuiWorkbenchProvider): string;
16
16
  declare function agentGuiWorkbenchUnifiedDockEntryId(): string;
17
- declare function agentGuiWorkbenchInstanceId(provider: AgentGuiWorkbenchProvider): string;
18
- declare function createAgentGuiWorkbenchInstanceId(input: {
19
- agentSessionId?: string | null;
20
- agentTargetId?: string | null;
21
- provider: AgentGuiWorkbenchProvider;
22
- }): string;
23
- declare function agentGuiWorkbenchProviderFromIdentifier(value: string | null | undefined): AgentGuiWorkbenchProvider | null;
17
+ declare function createAgentGuiWorkbenchInstanceId(): string;
24
18
  declare function agentGuiWorkbenchDockIdentityFromIdentifier(value: string | null | undefined): AgentGuiWorkbenchDockIdentity | null;
25
19
  declare function agentGuiWorkbenchProviderFromLaunchRequest(request: AgentGuiWorkbenchLaunchRequestInput): AgentGuiWorkbenchProvider;
26
20
  declare function createAgentGuiWorkbenchSessionLaunchRequest(input: {
@@ -73,15 +67,18 @@ interface AgentGuiWorkbenchLaunchDescriptor {
73
67
  instanceId: string;
74
68
  openInNewWindow: boolean;
75
69
  provider: AgentGuiWorkbenchProvider;
76
- reuseDockEntryNode: boolean;
77
- reuseExistingSessionNode: boolean;
70
+ reusePolicy: AgentGuiWorkbenchReusePolicy;
78
71
  targetAgentSessionId: string | null;
79
72
  }
73
+ type AgentGuiWorkbenchReusePolicy = {
74
+ kind: "dock-entry";
75
+ } | {
76
+ agentSessionId: string;
77
+ kind: "current-session";
78
+ } | {
79
+ kind: "none";
80
+ };
80
81
  declare function createAgentGuiWorkbenchLaunchDescriptor(request: AgentGuiWorkbenchLaunchRequestInput): AgentGuiWorkbenchLaunchDescriptor;
81
- declare function shouldReuseAgentGuiWorkbenchDockEntryNode(input: {
82
- dockEntryId: string;
83
- launchKind: "empty" | "prefill" | "session";
84
- }): boolean;
85
82
  /**
86
83
  * @deprecated AgentGUI launch results always use the unified Dock entry. Use
87
84
  * {@link agentGuiWorkbenchUnifiedDockEntryId} instead.
@@ -91,4 +88,4 @@ declare function resolveAgentGuiWorkbenchLaunchDockEntryId(_input: {
91
88
  requestedDockEntryId?: string | null;
92
89
  }): string;
93
90
 
94
- export { type AgentGuiWorkbenchDockIdentity, type AgentGuiWorkbenchLaunchDescriptor, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchDockIdentityFromIdentifier, agentGuiWorkbenchInstanceId, agentGuiWorkbenchPrefillPromptActivationType, agentGuiWorkbenchProviderFromIdentifier, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, agentGuiWorkbenchUnifiedDockEntryId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest, resolveAgentGuiWorkbenchLaunchDockEntryId, shouldReuseAgentGuiWorkbenchDockEntryNode };
91
+ export { type AgentGuiWorkbenchDockIdentity, type AgentGuiWorkbenchLaunchDescriptor, type AgentGuiWorkbenchReusePolicy, agentGuiWorkbenchDockEntryId, agentGuiWorkbenchDockIdentityFromIdentifier, agentGuiWorkbenchPrefillPromptActivationType, agentGuiWorkbenchProviderFromLaunchRequest, agentGuiWorkbenchTypeId, agentGuiWorkbenchUnifiedDockEntryId, createAgentGuiWorkbenchDraftLaunchRequest, createAgentGuiWorkbenchInstanceId, createAgentGuiWorkbenchLaunchDescriptor, createAgentGuiWorkbenchSessionLaunchRequest, resolveAgentGuiWorkbenchLaunchDockEntryId };