@tutti-os/agent-gui 0.0.132 → 0.0.134

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 (96) hide show
  1. package/README.md +21 -4
  2. package/dist/{AgentRichTextReadonly-PEKCMRPE.js → AgentRichTextReadonly-HCKTNAYO.js} +7 -6
  3. package/dist/agent-conversation/index.d.ts +4 -6
  4. package/dist/agent-conversation/index.js +10 -10
  5. package/dist/agent-env/index.d.ts +10 -27
  6. package/dist/agent-env/index.js +14 -290
  7. package/dist/agent-env/index.js.map +1 -1
  8. package/dist/agent-gui.d.ts +1118 -20
  9. package/dist/agent-gui.js +18 -18
  10. package/dist/agent-message-center/index.d.ts +42 -7
  11. package/dist/agent-message-center/index.js +7 -7
  12. package/dist/{agentConversationVM-BD0-gg6C.d.ts → agentConversationVM-DWEy7jzx.d.ts} +41 -2
  13. package/dist/{agentFileMentionContracts-CWAeuL7S.d.ts → agentFileMentionContracts-B0yQizXB.d.ts} +5 -0
  14. package/dist/{agentGuiNodeTypes-5TL1hyCN.d.ts → agentGuiNodeTypes-DV7KvZRe.d.ts} +10 -26
  15. package/dist/agents.d.ts +1 -1
  16. package/dist/agents.js +1 -1
  17. package/dist/app/renderer/agentactivity.css +7 -0
  18. package/dist/app/renderer/assets/icons/@-lined.svg +1 -8
  19. package/dist/{chunk-PQJXWXTS.js → chunk-25VMCMAQ.js} +4 -4
  20. package/dist/{chunk-T2NICA5D.js → chunk-5WOCGIXJ.js} +7 -1
  21. package/dist/chunk-5WOCGIXJ.js.map +1 -0
  22. package/dist/chunk-DLCZJKCA.js +1 -0
  23. package/dist/chunk-DLCZJKCA.js.map +1 -0
  24. package/dist/{chunk-QQRTUHCH.js → chunk-EU7DCT4F.js} +2 -2
  25. package/dist/chunk-FM42UN2J.js +462 -0
  26. package/dist/chunk-FM42UN2J.js.map +1 -0
  27. package/dist/{chunk-SZOTLVH6.js → chunk-GIYGO2PB.js} +2 -2
  28. package/dist/{chunk-GCQYN7BR.js → chunk-IN3HXYOO.js} +4 -4
  29. package/dist/{chunk-YWHGCKMT.js → chunk-IYZ4GOSN.js} +10 -10
  30. package/dist/chunk-IYZ4GOSN.js.map +1 -0
  31. package/dist/{chunk-JZS4SWFJ.js → chunk-JI5KND3K.js} +60 -56
  32. package/dist/chunk-JI5KND3K.js.map +1 -0
  33. package/dist/{chunk-J4TTEMRW.js → chunk-KWGMK4IZ.js} +4 -4
  34. package/dist/{chunk-NE6H7S5Z.js → chunk-OFJNIQWR.js} +2 -2
  35. package/dist/{chunk-NE6H7S5Z.js.map → chunk-OFJNIQWR.js.map} +1 -1
  36. package/dist/{chunk-UARZZJJB.js → chunk-OI6BYC7P.js} +4 -4
  37. package/dist/{chunk-OBWM2RFE.js → chunk-QPEO4OQS.js} +308 -8
  38. package/dist/chunk-QPEO4OQS.js.map +1 -0
  39. package/dist/{chunk-XNE2ROCP.js → chunk-UA75CGAG.js} +3 -3
  40. package/dist/{chunk-PVTAFUDS.js → chunk-VGS7S7YT.js} +2 -2
  41. package/dist/{chunk-OQR3HXPF.js → chunk-VUNVGEQG.js} +7 -1
  42. package/dist/chunk-VUNVGEQG.js.map +1 -0
  43. package/dist/{chunk-G75CPIVV.js → chunk-Y5HD6XHP.js} +1040 -797
  44. package/dist/chunk-Y5HD6XHP.js.map +1 -0
  45. package/dist/{chunk-KPMQGPYU.js → chunk-ZVYUTXQJ.js} +1 -1
  46. package/dist/chunk-ZVYUTXQJ.js.map +1 -0
  47. package/dist/context-mention-palette/index.d.ts +1 -1
  48. package/dist/context-mention-palette/index.js +8 -7
  49. package/dist/{contribution-yc4CGJmy.d.ts → contribution-CDdwTppn.d.ts} +54 -1
  50. package/dist/custom-mention.d.ts +4 -2
  51. package/dist/custom-mention.js +1 -0
  52. package/dist/i18n/index.d.ts +17 -6
  53. package/dist/i18n/index.js +2 -2
  54. package/dist/index.d.ts +8026 -33
  55. package/dist/index.js +21 -21
  56. package/dist/index.js.map +1 -1
  57. package/dist/mention-search.d.ts +1 -1
  58. package/dist/mention-search.js +6 -5
  59. package/dist/runtime-Dwf44VKc.d.ts +7 -0
  60. package/dist/{types-BicfRVrV.d.ts → types-ee3zJ6Cc.d.ts} +6 -5
  61. package/dist/workbench/browser-element-context/index.d.ts +37 -0
  62. package/dist/workbench/browser-element-context/index.js +750 -0
  63. package/dist/workbench/browser-element-context/index.js.map +1 -0
  64. package/dist/workbench/contribution.d.ts +1 -2
  65. package/dist/workbench/contribution.js +4 -4
  66. package/dist/workbench/index.d.ts +1 -2
  67. package/dist/workbench/index.js +4 -4
  68. package/dist/workbench/sessionTitle.js +2 -2
  69. package/dist/workbench/tool-sidebar/index.d.ts +189 -0
  70. package/dist/workbench/tool-sidebar/index.js +1492 -0
  71. package/dist/workbench/tool-sidebar/index.js.map +1 -0
  72. package/dist/workspace-agent-generated-files.d.ts +12 -1
  73. package/package.json +28 -13
  74. package/dist/AgentGUI-DxypmD7b.d.ts +0 -1080
  75. package/dist/agentPlanPromptDispatch-C7cCMjve.d.ts +0 -37
  76. package/dist/chunk-G75CPIVV.js.map +0 -1
  77. package/dist/chunk-JZS4SWFJ.js.map +0 -1
  78. package/dist/chunk-KPMQGPYU.js.map +0 -1
  79. package/dist/chunk-OBWM2RFE.js.map +0 -1
  80. package/dist/chunk-OQR3HXPF.js.map +0 -1
  81. package/dist/chunk-T2NICA5D.js.map +0 -1
  82. package/dist/chunk-VMQNG2KI.js +0 -178
  83. package/dist/chunk-VMQNG2KI.js.map +0 -1
  84. package/dist/chunk-YWHGCKMT.js.map +0 -1
  85. package/dist/pastedTextKinds-D-XuInaS.d.ts +0 -4
  86. package/dist/runtime-BBNdWgDU.d.ts +0 -10
  87. package/dist/workspaceAgentActivityListTypes-DZfS_HgG.d.ts +0 -48
  88. /package/dist/{AgentRichTextReadonly-PEKCMRPE.js.map → AgentRichTextReadonly-HCKTNAYO.js.map} +0 -0
  89. /package/dist/{chunk-PQJXWXTS.js.map → chunk-25VMCMAQ.js.map} +0 -0
  90. /package/dist/{chunk-QQRTUHCH.js.map → chunk-EU7DCT4F.js.map} +0 -0
  91. /package/dist/{chunk-SZOTLVH6.js.map → chunk-GIYGO2PB.js.map} +0 -0
  92. /package/dist/{chunk-GCQYN7BR.js.map → chunk-IN3HXYOO.js.map} +0 -0
  93. /package/dist/{chunk-J4TTEMRW.js.map → chunk-KWGMK4IZ.js.map} +0 -0
  94. /package/dist/{chunk-UARZZJJB.js.map → chunk-OI6BYC7P.js.map} +0 -0
  95. /package/dist/{chunk-XNE2ROCP.js.map → chunk-UA75CGAG.js.map} +0 -0
  96. /package/dist/{chunk-PVTAFUDS.js.map → chunk-VGS7S7YT.js.map} +0 -0
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  localAgentGUIAgentTargetId,
8
8
  normalizeAgentGUIAgentTargets,
9
9
  resolveAgentGUIAgentTarget
10
- } from "./chunk-G75CPIVV.js";
10
+ } from "./chunk-Y5HD6XHP.js";
11
11
  import "./chunk-A4WCTHWS.js";
12
12
  import {
13
13
  AGENT_GUI_DETAIL_MIN_WIDTH_PX,
@@ -15,51 +15,51 @@ import {
15
15
  AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
16
16
  resolveAgentGUIExpandedWindowFrame,
17
17
  shouldAutoCollapseAgentGUIConversationRail
18
- } from "./chunk-GCQYN7BR.js";
18
+ } from "./chunk-IN3HXYOO.js";
19
19
  import "./chunk-TUWQV2MC.js";
20
20
  import "./chunk-MHOYBRCY.js";
21
- import "./chunk-PVTAFUDS.js";
21
+ import "./chunk-VGS7S7YT.js";
22
22
  import "./chunk-5HIF53K5.js";
23
23
  import "./chunk-R2ZADXRB.js";
24
- import "./chunk-JZS4SWFJ.js";
25
- import "./chunk-XNE2ROCP.js";
26
- import "./chunk-VMQNG2KI.js";
24
+ import "./chunk-JI5KND3K.js";
25
+ import "./chunk-UA75CGAG.js";
26
+ import "./chunk-FM42UN2J.js";
27
27
  import "./chunk-UP3ZDYTN.js";
28
- import "./chunk-UARZZJJB.js";
28
+ import "./chunk-OI6BYC7P.js";
29
29
  import {
30
30
  agentGUIAgentIsReady,
31
31
  normalizeAgentGUIAgents,
32
32
  resolveAgentGUISelectedDirectoryAgent
33
- } from "./chunk-T2NICA5D.js";
34
- import {
35
- AGENT_PASTED_TEXT_BLOCK_KIND,
36
- AGENT_PASTED_TEXT_MENTION_KIND
37
- } from "./chunk-FGLQZ6I4.js";
33
+ } from "./chunk-5WOCGIXJ.js";
38
34
  import {
39
35
  agentGuiDockIconUrl,
40
36
  agentGuiDockIconUrls
41
37
  } from "./chunk-DXT4W2SU.js";
42
38
  import {
43
39
  preloadAgentMentionBrowse
44
- } from "./chunk-J4TTEMRW.js";
40
+ } from "./chunk-KWGMK4IZ.js";
45
41
  import "./chunk-USIFGHT3.js";
46
42
  import "./chunk-XJ34OIEQ.js";
47
43
  import "./chunk-R7AXDQCA.js";
48
- import "./chunk-OBWM2RFE.js";
44
+ import "./chunk-QPEO4OQS.js";
49
45
  import "./chunk-5QPOMKMQ.js";
50
46
  import {
51
47
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
52
48
  } from "./chunk-RMQREVJY.js";
49
+ import {
50
+ AGENT_PASTED_TEXT_BLOCK_KIND,
51
+ AGENT_PASTED_TEXT_MENTION_KIND
52
+ } from "./chunk-FGLQZ6I4.js";
53
53
  import {
54
54
  dispatchAgentPlanPromptAction,
55
55
  selectAgentPlanPromptTurn
56
- } from "./chunk-PQJXWXTS.js";
56
+ } from "./chunk-25VMCMAQ.js";
57
57
  import {
58
58
  useEngineSelector
59
59
  } from "./chunk-2RQM7PJN.js";
60
- import "./chunk-YWHGCKMT.js";
61
- import "./chunk-KPMQGPYU.js";
62
- import "./chunk-QQRTUHCH.js";
60
+ import "./chunk-IYZ4GOSN.js";
61
+ import "./chunk-ZVYUTXQJ.js";
62
+ import "./chunk-EU7DCT4F.js";
63
63
  import "./chunk-YMXYBG7U.js";
64
64
  import {
65
65
  AgentActivityHostProvider,
@@ -69,17 +69,17 @@ import {
69
69
  useAgentActivityRuntime,
70
70
  useAgentActivitySnapshot,
71
71
  useOptionalAgentActivityRuntime
72
- } from "./chunk-NE6H7S5Z.js";
72
+ } from "./chunk-OFJNIQWR.js";
73
73
  import "./chunk-F5UR6EJG.js";
74
74
  import "./chunk-EDNJMG5T.js";
75
75
  import {
76
76
  AgentGuiI18nProvider,
77
77
  agentGuiI18nModule,
78
78
  agentGuiI18nResources
79
- } from "./chunk-SZOTLVH6.js";
79
+ } from "./chunk-GIYGO2PB.js";
80
80
  import "./chunk-PJP5BUU6.js";
81
81
  import "./chunk-7KVZPJ3O.js";
82
- import "./chunk-OQR3HXPF.js";
82
+ import "./chunk-VUNVGEQG.js";
83
83
  import "./chunk-MIJXEELH.js";
84
84
  import {
85
85
  getAgentCustomMentionKind,
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 AgentGUIAgentOwnership,\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 AgentHostUserProject,\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmJA;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 {\n AgentExternalPromptFilePreparationErrorCode,\n AgentExternalPromptFilePreparationResult,\n AgentExternalPromptFilePreparer,\n AgentPreparedExternalPromptFile\n} from \"./agent-gui/agentGuiNode/model/agentExternalPromptFiles\";\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 AgentGUIAgentOwnership,\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 AgentHostUserProject,\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyJA;AAAA,EACE;AAAA,EACA;AAAA,OACK;","names":[]}
@@ -1,4 +1,4 @@
1
- import { A as AgentContextMentionItem } from './agentFileMentionContracts-CWAeuL7S.js';
1
+ import { A as AgentContextMentionItem } from './agentFileMentionContracts-B0yQizXB.js';
2
2
  import { AgentContextMentionProvider } from './context-mention-provider.js';
3
3
  import { MentionPaletteGroup, MentionPaletteState } from '@tutti-os/ui-rich-text/at-panel';
4
4
  import { ReferenceProvenanceFilter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
@@ -3,21 +3,22 @@ import {
3
3
  MAX_BROWSE_CACHE_ENTRIES,
4
4
  preloadAgentMentionBrowse,
5
5
  resetAgentMentionSearchBrowseCacheForTests
6
- } from "./chunk-J4TTEMRW.js";
6
+ } from "./chunk-KWGMK4IZ.js";
7
7
  import "./chunk-USIFGHT3.js";
8
8
  import "./chunk-XJ34OIEQ.js";
9
9
  import "./chunk-R7AXDQCA.js";
10
- import "./chunk-OBWM2RFE.js";
10
+ import "./chunk-QPEO4OQS.js";
11
11
  import "./chunk-5QPOMKMQ.js";
12
12
  import "./chunk-RMQREVJY.js";
13
+ import "./chunk-FGLQZ6I4.js";
13
14
  import "./chunk-YMXYBG7U.js";
14
- import "./chunk-NE6H7S5Z.js";
15
+ import "./chunk-OFJNIQWR.js";
15
16
  import "./chunk-F5UR6EJG.js";
16
17
  import "./chunk-EDNJMG5T.js";
17
- import "./chunk-SZOTLVH6.js";
18
+ import "./chunk-GIYGO2PB.js";
18
19
  import "./chunk-PJP5BUU6.js";
19
20
  import "./chunk-7KVZPJ3O.js";
20
- import "./chunk-OQR3HXPF.js";
21
+ import "./chunk-VUNVGEQG.js";
21
22
  import "./chunk-MIJXEELH.js";
22
23
  import "./chunk-D2JUDUYY.js";
23
24
  import "./chunk-6CUELYIF.js";
@@ -0,0 +1,7 @@
1
+ import { I18nParams } from '@tutti-os/ui-i18n-runtime';
2
+
3
+ type AgentGuiI18nLocale = "en" | "zh-CN";
4
+ type TranslateOptions = I18nParams;
5
+ type TranslateFn = (key: string, options?: TranslateOptions) => string;
6
+
7
+ export type { AgentGuiI18nLocale as A, TranslateFn as T };
@@ -96,6 +96,9 @@ interface AgentGUIAgent {
96
96
  agentTargetId: string;
97
97
  name: string;
98
98
  iconUrl: string;
99
+ /** Single-color artwork rendered through the conversation rail CSS mask. */
100
+ maskIconUrl?: string | null;
101
+ sidebarIconUrl?: string | null;
99
102
  heroImageUrl?: string | null;
100
103
  description?: string | null;
101
104
  owner?: AgentGUIAgentOwner | null;
@@ -111,10 +114,6 @@ interface AgentGUIAgentDirectorySnapshot {
111
114
  error: string | null;
112
115
  status: AgentGUIAgentDirectoryStatus;
113
116
  }
114
- interface AgentGUIAgentDirectoryPort {
115
- getSnapshot(): AgentGUIAgentDirectorySnapshot;
116
- subscribe(listener: () => void): () => void;
117
- }
118
117
  interface AgentGUIAllAgentsPresentation {
119
118
  iconUrl?: string | null;
120
119
  }
@@ -135,6 +134,8 @@ interface AgentGUIAgentTarget {
135
134
  label: string;
136
135
  description?: string;
137
136
  iconUrl?: string | null;
137
+ maskIconUrl?: string | null;
138
+ sidebarIconUrl?: string | null;
138
139
  heroImageUrl?: string | null;
139
140
  badge?: AgentGUIAgentTargetBadge | null;
140
141
  ownerLabel?: string;
@@ -179,4 +180,4 @@ interface NodeFrame {
179
180
  size: Size;
180
181
  }
181
182
 
182
- export type { AgentGUIAgent as A, AgentPromptContentBlock as B, NodeFrame as N, Point as P, AgentGUIAgentAvailability as a, AgentGUIAgentAvailabilityAction as b, AgentGUIAgentAvailabilityStatus as c, AgentGUIAgentDirectoryPort as d, AgentGUIAgentDirectorySnapshot as e, AgentGUIAgentDirectoryStatus as f, AgentGUIAgentOwner as g, AgentGUIAgentOwnership as h, AgentGUIAgentTarget as i, AgentGUIAgentTargetBadge as j, AgentGUIAgentTargetRef as k, AgentGUIAllAgentsPresentation as l, AgentGUIHomeSuggestionId as m, AgentGUINodeData as n, AgentGUIProvider as o, AgentGUIProviderRailAllPresentation as p, AgentGUIProviderRailMode as q, AgentGUIProviderReadinessGate as r, AgentGUIProviderReadinessGateAction as s, AgentGUIProviderReadinessGateStatus as t, AgentHostAgentSessionCommand as u, AgentHostAgentSessionComposerSettings as v, AgentHostAgentSessionPermissionConfig as w, AgentHostAgentSessionReasoningEffort as x, AgentHostAgentSessionSpeed as y, AgentHostUnactivateAgentSessionResult as z };
183
+ export type { AgentGUIAgent as A, NodeFrame as N, Point as P, AgentGUIAgentDirectorySnapshot as a, AgentGUIAgentTarget as b, AgentGUIAllAgentsPresentation as c, AgentGUIHomeSuggestionId as d, AgentGUINodeData as e, AgentGUIProvider as f, AgentGUIProviderRailAllPresentation as g, AgentGUIProviderRailMode as h, AgentGUIProviderReadinessGate as i, AgentHostAgentSessionCommand as j, AgentHostAgentSessionComposerSettings as k, AgentHostAgentSessionPermissionConfig as l, AgentHostAgentSessionReasoningEffort as m, AgentHostAgentSessionSpeed as n, AgentHostUnactivateAgentSessionResult as o, AgentPromptContentBlock as p };
@@ -0,0 +1,37 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ interface BrowserElementContextCopy {
4
+ cancel: string;
5
+ failed: string;
6
+ select: string;
7
+ }
8
+ declare function BrowserElementContextAction({ copy, onAppendMention, onError, workspaceId }: {
9
+ copy: BrowserElementContextCopy;
10
+ onAppendMention: (mention: string) => void;
11
+ onError: (message: string) => void;
12
+ workspaceId: string;
13
+ }): ReactNode;
14
+
15
+ declare const browserElementMentionKind = "browser-element";
16
+ interface BrowserElementMentionReference {
17
+ context: string;
18
+ id: string;
19
+ tagName: string;
20
+ workspaceId: string;
21
+ }
22
+ interface BrowserElementMentionIdentity {
23
+ label: string;
24
+ scope?: Readonly<Record<string, string>>;
25
+ }
26
+ interface BrowserElementMentionPresentation {
27
+ name: string;
28
+ workspaceId?: string;
29
+ }
30
+ declare function createBrowserElementMentionMarkdown(reference: BrowserElementMentionReference): string;
31
+ declare function browserElementMentionLabel(tagName: string): string;
32
+ declare function presentBrowserElementMention(mention: BrowserElementMentionIdentity): BrowserElementMentionPresentation | null;
33
+
34
+ /** Registers browser DOM references before the first AgentGUI surface mounts. */
35
+ declare function registerBrowserElementMention(): void;
36
+
37
+ export { BrowserElementContextAction, type BrowserElementContextCopy, type BrowserElementMentionIdentity, type BrowserElementMentionPresentation, type BrowserElementMentionReference, browserElementMentionKind, browserElementMentionLabel, createBrowserElementMentionMarkdown, presentBrowserElementMention, registerBrowserElementMention };