@tutti-os/agent-gui 0.0.233 → 0.0.234

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 (87) hide show
  1. package/README.md +49 -0
  2. package/dist/{AgentRichTextReadonly-U3XUJYCW.js → AgentRichTextReadonly-CCELQPHE.js} +5 -5
  3. package/dist/agent-conversation/index.d.ts +17 -4
  4. package/dist/agent-conversation/index.js +13 -9
  5. package/dist/agent-conversation/index.js.map +1 -1
  6. package/dist/agent-gui.d.ts +19 -3
  7. package/dist/agent-gui.js +22 -16
  8. package/dist/agent-message-center/index.d.ts +1 -1
  9. package/dist/agent-message-center/index.js +10 -7
  10. package/dist/agent-message-center/index.js.map +1 -1
  11. package/dist/{agentGuiNodeTypes-DW7T--Y8.d.ts → agentGuiNodeTypes-Dgl7kQHA.d.ts} +2 -2
  12. package/dist/agents.d.ts +1 -1
  13. package/dist/app/renderer/agentactivity.css +17 -0
  14. package/dist/{chunk-M6WEFXPL.js → chunk-2MCNNB2P.js} +2 -24
  15. package/dist/chunk-2MCNNB2P.js.map +1 -0
  16. package/dist/{chunk-CQFT3MI5.js → chunk-3YYI6RXA.js} +7 -5
  17. package/dist/{chunk-CQFT3MI5.js.map → chunk-3YYI6RXA.js.map} +1 -1
  18. package/dist/{chunk-EDP4D42H.js → chunk-45KN5Z5F.js} +877 -871
  19. package/dist/chunk-45KN5Z5F.js.map +1 -0
  20. package/dist/{chunk-T57ZZWTC.js → chunk-4HAG3FOY.js} +2 -2
  21. package/dist/{chunk-ZBI6R46N.js → chunk-5DN5N2XS.js} +2 -2
  22. package/dist/{chunk-BCBB4HOV.js → chunk-634MNSI5.js} +2 -2
  23. package/dist/chunk-A4KKC324.js +4768 -0
  24. package/dist/chunk-A4KKC324.js.map +1 -0
  25. package/dist/chunk-ALAGL6VL.js +48 -0
  26. package/dist/chunk-ALAGL6VL.js.map +1 -0
  27. package/dist/{chunk-2STAUA73.js → chunk-AYTUAZE3.js} +5 -2
  28. package/dist/chunk-AYTUAZE3.js.map +1 -0
  29. package/dist/{chunk-SWO67UWQ.js → chunk-CZOZBUIM.js} +7 -7
  30. package/dist/{chunk-SWO67UWQ.js.map → chunk-CZOZBUIM.js.map} +1 -1
  31. package/dist/{chunk-2L2LVSOD.js → chunk-EHNPHZE4.js} +881 -5812
  32. package/dist/chunk-EHNPHZE4.js.map +1 -0
  33. package/dist/{chunk-N5356722.js → chunk-EKQ7UX2B.js} +13 -319
  34. package/dist/chunk-EKQ7UX2B.js.map +1 -0
  35. package/dist/{chunk-ZXEICU6J.js → chunk-KK7YXPTS.js} +3 -1
  36. package/dist/chunk-KK7YXPTS.js.map +1 -0
  37. package/dist/{chunk-WGCDSA7P.js → chunk-MBM7PJIF.js} +27 -506
  38. package/dist/chunk-MBM7PJIF.js.map +1 -0
  39. package/dist/chunk-RMC2MGL4.js +557 -0
  40. package/dist/chunk-RMC2MGL4.js.map +1 -0
  41. package/dist/{chunk-JA6XAKKE.js → chunk-TWF6JXPC.js} +2 -2
  42. package/dist/{chunk-7AYFKNLD.js → chunk-TWMV6YTX.js} +4 -4
  43. package/dist/chunk-VV3YIU5W.js +25 -0
  44. package/dist/chunk-VV3YIU5W.js.map +1 -0
  45. package/dist/{chunk-GLVENTN6.js → chunk-WXLO33YP.js} +2 -2
  46. package/dist/chunk-XWPHTXEM.js +529 -0
  47. package/dist/chunk-XWPHTXEM.js.map +1 -0
  48. package/dist/chunk-YEXRTXTE.js +315 -0
  49. package/dist/chunk-YEXRTXTE.js.map +1 -0
  50. package/dist/{chunk-WMJDOMG6.js → chunk-ZELGKLW5.js} +4 -4
  51. package/dist/composer-projection.d.ts +37 -0
  52. package/dist/composer-projection.js +21 -0
  53. package/dist/composer-projection.js.map +1 -0
  54. package/dist/context-mention-palette/index.js +9 -7
  55. package/dist/conversation-projection.d.ts +551 -0
  56. package/dist/conversation-projection.js +42 -0
  57. package/dist/conversation-projection.js.map +1 -0
  58. package/dist/conversation-rail-projection.js +3 -3
  59. package/dist/i18n/index.d.ts +2 -0
  60. package/dist/i18n/index.js +2 -2
  61. package/dist/index.d.ts +32 -13
  62. package/dist/index.js +22 -16
  63. package/dist/index.js.map +1 -1
  64. package/dist/mention-search.js +7 -5
  65. package/dist/{types-CHAMK2g7.d.ts → types-DtXXsISB.d.ts} +1 -1
  66. package/dist/workbench/contribution.js +4 -4
  67. package/dist/workbench/index.js +4 -4
  68. package/dist/workbench/sessionTitle.js +3 -3
  69. package/dist/workspace-agent-generated-files.d.ts +1 -12
  70. package/dist/workspaceAgentActivityListTypes-BUKNyMbh.d.ts +48 -0
  71. package/dist/{workspaceLinkActions-CzsbvGmC.d.ts → workspaceLinkActions-DxyzMy10.d.ts} +13 -12
  72. package/package.json +31 -17
  73. package/dist/chunk-2L2LVSOD.js.map +0 -1
  74. package/dist/chunk-2STAUA73.js.map +0 -1
  75. package/dist/chunk-EDP4D42H.js.map +0 -1
  76. package/dist/chunk-M6WEFXPL.js.map +0 -1
  77. package/dist/chunk-N5356722.js.map +0 -1
  78. package/dist/chunk-WGCDSA7P.js.map +0 -1
  79. package/dist/chunk-ZXEICU6J.js.map +0 -1
  80. /package/dist/{AgentRichTextReadonly-U3XUJYCW.js.map → AgentRichTextReadonly-CCELQPHE.js.map} +0 -0
  81. /package/dist/{chunk-T57ZZWTC.js.map → chunk-4HAG3FOY.js.map} +0 -0
  82. /package/dist/{chunk-ZBI6R46N.js.map → chunk-5DN5N2XS.js.map} +0 -0
  83. /package/dist/{chunk-BCBB4HOV.js.map → chunk-634MNSI5.js.map} +0 -0
  84. /package/dist/{chunk-JA6XAKKE.js.map → chunk-TWF6JXPC.js.map} +0 -0
  85. /package/dist/{chunk-7AYFKNLD.js.map → chunk-TWMV6YTX.js.map} +0 -0
  86. /package/dist/{chunk-GLVENTN6.js.map → chunk-WXLO33YP.js.map} +0 -0
  87. /package/dist/{chunk-WMJDOMG6.js.map → chunk-ZELGKLW5.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1791,6 +1791,19 @@ interface AgentGuiWorkbenchSessionActionRequest {
1791
1791
  }
1792
1792
 
1793
1793
  type WorkspaceLinkActionSource = "agent-markdown" | "agent-file-change" | string;
1794
+ interface OpenWorkspaceUrlLinkAction {
1795
+ type: "open-url";
1796
+ url: string;
1797
+ source: WorkspaceLinkActionSource;
1798
+ }
1799
+ interface OpenAgentSessionLinkAction {
1800
+ type: "open-agent-session";
1801
+ workspaceId: string;
1802
+ agentSessionId: string;
1803
+ agentTargetId?: string | null;
1804
+ source: WorkspaceLinkActionSource;
1805
+ }
1806
+
1794
1807
  interface OpenWorkspaceFileLinkAction {
1795
1808
  type: "open-workspace-file";
1796
1809
  mode?: "select" | "open";
@@ -1820,18 +1833,6 @@ interface WorkspaceFileLinkDirectoryListing {
1820
1833
  directoryPath: string;
1821
1834
  entries: WorkspaceFileLinkDirectoryEntry[];
1822
1835
  }
1823
- interface OpenWorkspaceUrlLinkAction {
1824
- type: "open-url";
1825
- url: string;
1826
- source: WorkspaceLinkActionSource;
1827
- }
1828
- interface OpenAgentSessionLinkAction {
1829
- type: "open-agent-session";
1830
- workspaceId: string;
1831
- agentSessionId: string;
1832
- agentTargetId?: string | null;
1833
- source: WorkspaceLinkActionSource;
1834
- }
1835
1836
  interface OpenWorkspaceIssueLinkAction {
1836
1837
  type: "open-workspace-issue";
1837
1838
  workspaceId: string;
@@ -3274,6 +3275,7 @@ declare const agentGuiI18nResources: {
3274
3275
  readonly collapseTurnWork: "Collapse task details";
3275
3276
  readonly agentTargetRequired: "Select an available agent target before starting a session.";
3276
3277
  readonly sessionActivationFailed: "The agent session could not be started.";
3278
+ readonly sessionNoLongerAvailable: "The previous agent session is no longer available.";
3277
3279
  readonly promptImagesUnsupported: "This agent does not support image input with the current model.";
3278
3280
  readonly conversationFilterCodex: "Codex";
3279
3281
  readonly conversationFilterClaudeCode: "Claude Code";
@@ -6061,6 +6063,7 @@ declare const agentGuiI18nResources: {
6061
6063
  readonly collapseTurnWork: "收起任务详情";
6062
6064
  readonly agentTargetRequired: "请先选择可用的 Agent 目标。";
6063
6065
  readonly sessionActivationFailed: "Agent 会话启动失败。";
6066
+ readonly sessionNoLongerAvailable: "之前的 Agent 会话已不可用";
6064
6067
  readonly promptImagesUnsupported: "当前模型不支持图片输入。";
6065
6068
  readonly conversationFilterCodex: "Codex";
6066
6069
  readonly conversationFilterClaudeCode: "Claude Code";
@@ -9096,6 +9099,11 @@ interface AgentGUINodeHostActions {
9096
9099
  onCapabilitySettingsRequest?: (capability: AgentComposerCapabilitySettingsTarget) => void;
9097
9100
  onAgentProviderLogin?: (provider: AgentGUIProvider) => void;
9098
9101
  onAgentEnvPanelOpen?: (input?: OpenAgentEnvPanelInput) => void;
9102
+ /**
9103
+ * Notifies the Host when the exact target's config menu opens. Account and
9104
+ * Commerce refreshes remain Host-owned and must not enter Agent status.
9105
+ */
9106
+ onAgentConfigMenuOpen?: (context: AgentGUIAgentConfigMenuContext) => void;
9099
9107
  onOpenConversationWindow?: (agentSessionId: string) => void;
9100
9108
  onClose: () => void;
9101
9109
  onResize: (frame: NodeFrame) => void;
@@ -9113,7 +9121,18 @@ interface AgentGUINodeHostActions {
9113
9121
  */
9114
9122
  onConversationRailLayoutChange?: (layout: AgentGUIConversationRailLayout) => void;
9115
9123
  }
9124
+ interface AgentGUIAgentConfigMenuContext {
9125
+ agentTargetId: string;
9126
+ provider: AgentGUIProvider;
9127
+ label: string;
9128
+ ownership?: AgentGUIAgentOwnership;
9129
+ }
9116
9130
  interface AgentGUINodeRenderSlots {
9131
+ /**
9132
+ * Optional Host chrome for the exact target's account/Commerce presentation.
9133
+ * Returning null preserves AgentGUI's provider account and quota content.
9134
+ */
9135
+ agentConfigAccount?: (context: AgentGUIAgentConfigMenuContext) => ReactNode;
9117
9136
  projectDirectoryPickerHeaderActions?: ReferenceSourcePickerProps["renderHeaderActions"];
9118
9137
  providerRailEmpty?: AgentGUIAgentsEmptyRenderer;
9119
9138
  providerUnavailableState?: AgentGUIProviderUnavailableStateRenderer;
@@ -9306,4 +9325,4 @@ declare function dispatchAgentPlanPromptAction(input: {
9306
9325
  workspaceId: string;
9307
9326
  }): boolean;
9308
9327
 
9309
- export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AGENT_CONVERSATION_RAIL_RUNTIME_METHODS, AGENT_GUI_COLLAPSED_MIN_WIDTH_PX, AGENT_GUI_DETAIL_MIN_WIDTH_PX, AGENT_GUI_EXPANDED_TARGET_WIDTH_PX, AGENT_GUI_STANDALONE_MIDDLE_CONTENT_MIN_WIDTH_PX, AGENT_PASTED_TEXT_BLOCK_KIND, AGENT_PASTED_TEXT_MENTION_KIND, AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeDeleteSessionsBatchInput, type AgentActivityRuntimeDeleteSessionsBatchResult, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeSessionSectionDeletionCandidates, type AgentActivityRuntimeSessionSectionScopeInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUpdateSessionSettingsResult, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentComposerDraftFile, type AgentContextMentionProvider, type AgentContextMentionProviderId, type AgentConversationBatchDeletionCapability, type AgentConversationRailRuntime, type AgentConversationRailRuntimeSource, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, type AgentExternalPromptEntryResolution, type AgentExternalPromptEntryResolver, type AgentExternalPromptFilePreparationErrorCode, type AgentExternalPromptFilePreparationResult, type AgentExternalPromptFilePreparer, AgentGUI, type AgentGUIAgent, type AgentGUIAgentAvailability, type AgentGUIAgentAvailabilityAction, type AgentGUIAgentAvailabilityStatus, type AgentGUIAgentDirectoryPort, type AgentGUIAgentDirectorySnapshot, type AgentGUIAgentDirectoryStatus, type AgentGUIAgentOwner, type AgentGUIAgentOwnership, type AgentGUIAgentTarget, type AgentGUIAgentTargetBadge, type AgentGUIAgentTargetRef, type AgentGUIAgentsEmptyRenderer, type AgentGUIAllAgentsPresentation, type AgentGUIComposerAppendRequest, type AgentGUIComposerContentType, type AgentGUIComposerFocusMethod, type AgentGUIConversationRailAutoCollapseMode, type AgentGUIConversationRailLayout, type AgentGUIConversationRailPresentation, type AgentGUIEngagementContext, type AgentGUIEngagementEvent, type AgentGUIEngagementEventSink, type AgentGUIHomeSuggestionId, type AgentGUIProps, type AgentGUIProvider, type AgentGUIProviderRailAllPresentation, type AgentGUIProviderRailMode, type AgentGUIProviderReadinessGate, type AgentGUIProviderReadinessGateAction, type AgentGUIProviderReadinessGateStatus, type AgentGUIProviderUnavailableStateContext, type AgentGUIProviderUnavailableStateRenderer, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, type AgentGUITargetConnectionSource, type AgentGUITargetConnectionState, type AgentGUITargetConnectionStatus, type AgentGuiI18nLocale, AgentGuiI18nProvider, AgentHandoffMenu, type AgentHandoffMenuLabels, type AgentHandoffMenuProps, type AgentHostAgentTargetAuthenticatedAccount, type AgentHostAgentTargetSetupSnapshot, type AgentHostAgentTargetSetupState, type AgentHostAgentTargetSetupWatch, type AgentHostApi, type AgentHostApplyWorkspaceGitPatchInput, type AgentHostInputApi, type AgentHostQuickPrompt, type AgentHostQuickPromptSnapshot, type AgentHostQuickPromptsApi, type AgentHostRuntimeApi, type AgentHostSelectFilesInput, type AgentHostUserProject, type AgentPlanPromptAction, type AgentPreparedExternalPromptFile, type AgentProbeProvider, type AgentProbeSnapshot, type AgentProviderProbeListInput, type AgentProviderProbeListResult, type AgentRunErrorCode, type AgentStatusController, type AgentStatusControllerOptions, type AgentStatusControllerSnapshot, type AgentStatusFrame, type AgentStatusQuery, type AgentStatusRequestPhase, type AgentStatusRequestReason, type AgentStatusSectionState, type AgentStatusSelectionKey, type AgentStatusSource, type AgentStatusSourceError, type AgentStatusStreamObserver, type AgentStatusValue, type AgentUsageQuota, type AgentUsageSnapshot, type AgentVisibleErrorOverride, type AgentVisibleErrorOverrideCode, type AgentVisibleErrorOverrides, type CreateAgentSessionHandoffPromptInput, type CreateAgentSessionMarkdownLinkInput, type EngineStateStore, type PersistWriteResult, type ReadWorkspaceAgentReadStateInput, type TuttiModePlanAssignmentAgentDetail, type TuttiModePlanAssignmentAgentOption, type TuttiModePlanAssignmentOptionsSource, type TuttiModePlanReviewRuntime, type TuttiModePlanReviewSnapshot, type TuttiModePlanTaskAssignmentInput, type TuttiPlanIssueMaterializationFailure, type TuttiPlanIssueQueryResult, type TuttiPlanIssueSnapshot, type TuttiPlanIssueSource, type TuttiPlanIssueTaskSnapshot, type WorkspaceAgentReadStateSnapshot, type WriteWorkspaceAgentReadStateInput, agentGUIAgentIsReady, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentGuiI18nModule, agentGuiI18nResources, createAgentConversationRailRuntime, createAgentSessionHandoffPrompt, createAgentSessionMarkdownLink, createAgentStatusController, createLocalAgentGUIAgentTarget, createLocalAgentGUIAgentTargets, createSharedAgentGUIAgentTarget, dispatchAgentPlanPromptAction, getAgentCustomMentionKind, inspectAgentConversationBatchDeletionCapability, localAgentGUIAgentTargetId, normalizeAgentGUIAgentTargets, normalizeAgentGUIAgents, preloadAgentMentionBrowse, projectAgentGUIAgentsToTargets, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resolveAgentGUIAgentTarget, resolveAgentGUIConversationRailPresentation, resolveAgentGUIExpandedWindowFrame, resolveAgentGUISelectedDirectoryAgent, resolveStandaloneAgentGUIViewportMinimumWidthPx, selectAgentPlanPromptTurn, selectAgentStatusControllerSnapshot, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useEngineSelector, useOptionalAgentActivityRuntime };
9328
+ export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AGENT_CONVERSATION_RAIL_RUNTIME_METHODS, AGENT_GUI_COLLAPSED_MIN_WIDTH_PX, AGENT_GUI_DETAIL_MIN_WIDTH_PX, AGENT_GUI_EXPANDED_TARGET_WIDTH_PX, AGENT_GUI_STANDALONE_MIDDLE_CONTENT_MIN_WIDTH_PX, AGENT_PASTED_TEXT_BLOCK_KIND, AGENT_PASTED_TEXT_MENTION_KIND, AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeDeleteSessionsBatchInput, type AgentActivityRuntimeDeleteSessionsBatchResult, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeSessionSectionDeletionCandidates, type AgentActivityRuntimeSessionSectionScopeInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUpdateSessionSettingsResult, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentComposerDraftFile, type AgentContextMentionProvider, type AgentContextMentionProviderId, type AgentConversationBatchDeletionCapability, type AgentConversationRailRuntime, type AgentConversationRailRuntimeSource, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, type AgentExternalPromptEntryResolution, type AgentExternalPromptEntryResolver, type AgentExternalPromptFilePreparationErrorCode, type AgentExternalPromptFilePreparationResult, type AgentExternalPromptFilePreparer, AgentGUI, type AgentGUIAgent, type AgentGUIAgentAvailability, type AgentGUIAgentAvailabilityAction, type AgentGUIAgentAvailabilityStatus, type AgentGUIAgentConfigMenuContext, type AgentGUIAgentDirectoryPort, type AgentGUIAgentDirectorySnapshot, type AgentGUIAgentDirectoryStatus, type AgentGUIAgentOwner, type AgentGUIAgentOwnership, type AgentGUIAgentTarget, type AgentGUIAgentTargetBadge, type AgentGUIAgentTargetRef, type AgentGUIAgentsEmptyRenderer, type AgentGUIAllAgentsPresentation, type AgentGUIComposerAppendRequest, type AgentGUIComposerContentType, type AgentGUIComposerFocusMethod, type AgentGUIConversationRailAutoCollapseMode, type AgentGUIConversationRailLayout, type AgentGUIConversationRailPresentation, type AgentGUIEngagementContext, type AgentGUIEngagementEvent, type AgentGUIEngagementEventSink, type AgentGUIHomeSuggestionId, type AgentGUIProps, type AgentGUIProvider, type AgentGUIProviderRailAllPresentation, type AgentGUIProviderRailMode, type AgentGUIProviderReadinessGate, type AgentGUIProviderReadinessGateAction, type AgentGUIProviderReadinessGateStatus, type AgentGUIProviderUnavailableStateContext, type AgentGUIProviderUnavailableStateRenderer, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, type AgentGUITargetConnectionSource, type AgentGUITargetConnectionState, type AgentGUITargetConnectionStatus, type AgentGuiI18nLocale, AgentGuiI18nProvider, AgentHandoffMenu, type AgentHandoffMenuLabels, type AgentHandoffMenuProps, type AgentHostAgentTargetAuthenticatedAccount, type AgentHostAgentTargetSetupSnapshot, type AgentHostAgentTargetSetupState, type AgentHostAgentTargetSetupWatch, type AgentHostApi, type AgentHostApplyWorkspaceGitPatchInput, type AgentHostInputApi, type AgentHostQuickPrompt, type AgentHostQuickPromptSnapshot, type AgentHostQuickPromptsApi, type AgentHostRuntimeApi, type AgentHostSelectFilesInput, type AgentHostUserProject, type AgentPlanPromptAction, type AgentPreparedExternalPromptFile, type AgentProbeProvider, type AgentProbeSnapshot, type AgentProviderProbeListInput, type AgentProviderProbeListResult, type AgentRunErrorCode, type AgentStatusController, type AgentStatusControllerOptions, type AgentStatusControllerSnapshot, type AgentStatusFrame, type AgentStatusQuery, type AgentStatusRequestPhase, type AgentStatusRequestReason, type AgentStatusSectionState, type AgentStatusSelectionKey, type AgentStatusSource, type AgentStatusSourceError, type AgentStatusStreamObserver, type AgentStatusValue, type AgentUsageQuota, type AgentUsageSnapshot, type AgentVisibleErrorOverride, type AgentVisibleErrorOverrideCode, type AgentVisibleErrorOverrides, type CreateAgentSessionHandoffPromptInput, type CreateAgentSessionMarkdownLinkInput, type EngineStateStore, type PersistWriteResult, type ReadWorkspaceAgentReadStateInput, type TuttiModePlanAssignmentAgentDetail, type TuttiModePlanAssignmentAgentOption, type TuttiModePlanAssignmentOptionsSource, type TuttiModePlanReviewRuntime, type TuttiModePlanReviewSnapshot, type TuttiModePlanTaskAssignmentInput, type TuttiPlanIssueMaterializationFailure, type TuttiPlanIssueQueryResult, type TuttiPlanIssueSnapshot, type TuttiPlanIssueSource, type TuttiPlanIssueTaskSnapshot, type WorkspaceAgentReadStateSnapshot, type WriteWorkspaceAgentReadStateInput, agentGUIAgentIsReady, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentGuiI18nModule, agentGuiI18nResources, createAgentConversationRailRuntime, createAgentSessionHandoffPrompt, createAgentSessionMarkdownLink, createAgentStatusController, createLocalAgentGUIAgentTarget, createLocalAgentGUIAgentTargets, createSharedAgentGUIAgentTarget, dispatchAgentPlanPromptAction, getAgentCustomMentionKind, inspectAgentConversationBatchDeletionCapability, localAgentGUIAgentTargetId, normalizeAgentGUIAgentTargets, normalizeAgentGUIAgents, preloadAgentMentionBrowse, projectAgentGUIAgentsToTargets, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resolveAgentGUIAgentTarget, resolveAgentGUIConversationRailPresentation, resolveAgentGUIExpandedWindowFrame, resolveAgentGUISelectedDirectoryAgent, resolveStandaloneAgentGUIViewportMinimumWidthPx, selectAgentPlanPromptTurn, selectAgentStatusControllerSnapshot, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useEngineSelector, useOptionalAgentActivityRuntime };
package/dist/index.js CHANGED
@@ -10,17 +10,19 @@ import {
10
10
  normalizeAgentGUIAgentTargets,
11
11
  resolveAgentGUIAgentTarget,
12
12
  selectAgentStatusControllerSnapshot
13
- } from "./chunk-EDP4D42H.js";
14
- import "./chunk-ZBI6R46N.js";
13
+ } from "./chunk-45KN5Z5F.js";
14
+ import "./chunk-5DN5N2XS.js";
15
+ import "./chunk-RMC2MGL4.js";
16
+ import "./chunk-ALAGL6VL.js";
15
17
  import {
16
18
  AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,
17
19
  createAgentConversationRailRuntime,
18
20
  inspectAgentConversationBatchDeletionCapability
19
21
  } from "./chunk-LB4AGT7B.js";
20
22
  import "./chunk-A4WCTHWS.js";
21
- import "./chunk-7AYFKNLD.js";
22
- import "./chunk-T57ZZWTC.js";
23
- import "./chunk-JA6XAKKE.js";
23
+ import "./chunk-TWMV6YTX.js";
24
+ import "./chunk-4HAG3FOY.js";
25
+ import "./chunk-TWF6JXPC.js";
24
26
  import "./chunk-KDN6SLJM.js";
25
27
  import "./chunk-SUVMLCED.js";
26
28
  import "./chunk-MGSRWYRN.js";
@@ -28,20 +30,22 @@ import "./chunk-CBMWHQ7P.js";
28
30
  import {
29
31
  dispatchAgentPlanPromptAction,
30
32
  selectAgentPlanPromptTurn
31
- } from "./chunk-CQFT3MI5.js";
33
+ } from "./chunk-3YYI6RXA.js";
32
34
  import {
33
35
  useEngineSelector
34
36
  } from "./chunk-EVQ4JY3N.js";
35
- import "./chunk-2L2LVSOD.js";
36
- import "./chunk-2STAUA73.js";
37
- import "./chunk-WGCDSA7P.js";
37
+ import "./chunk-EHNPHZE4.js";
38
+ import "./chunk-A4KKC324.js";
39
+ import "./chunk-AYTUAZE3.js";
40
+ import "./chunk-MBM7PJIF.js";
41
+ import "./chunk-XWPHTXEM.js";
38
42
  import "./chunk-LQMIEH4C.js";
39
43
  import "./chunk-FMTWYOHM.js";
40
44
  import "./chunk-N4HLBSMJ.js";
41
45
  import "./chunk-UP3ZDYTN.js";
42
46
  import "./chunk-GUFEHWUX.js";
43
- import "./chunk-WMJDOMG6.js";
44
- import "./chunk-BCBB4HOV.js";
47
+ import "./chunk-ZELGKLW5.js";
48
+ import "./chunk-634MNSI5.js";
45
49
  import {
46
50
  agentGUIAgentIsReady,
47
51
  normalizeAgentGUIAgents,
@@ -64,14 +68,15 @@ import {
64
68
  } from "./chunk-6GX57XB5.js";
65
69
  import {
66
70
  preloadAgentMentionBrowse
67
- } from "./chunk-N5356722.js";
71
+ } from "./chunk-EKQ7UX2B.js";
72
+ import "./chunk-YEXRTXTE.js";
68
73
  import "./chunk-VMPA46ET.js";
69
74
  import "./chunk-YMXYBG7U.js";
70
75
  import "./chunk-XJ34OIEQ.js";
71
76
  import {
72
77
  createAgentSessionHandoffPrompt,
73
78
  createAgentSessionMarkdownLink
74
- } from "./chunk-SWO67UWQ.js";
79
+ } from "./chunk-CZOZBUIM.js";
75
80
  import "./chunk-JDVP33S5.js";
76
81
  import "./chunk-3V5OCA2M.js";
77
82
  import {
@@ -82,18 +87,19 @@ import {
82
87
  useAgentActivityRuntime,
83
88
  useAgentActivitySnapshot,
84
89
  useOptionalAgentActivityRuntime
85
- } from "./chunk-M6WEFXPL.js";
90
+ } from "./chunk-2MCNNB2P.js";
91
+ import "./chunk-VV3YIU5W.js";
86
92
  import "./chunk-3X5VDG6T.js";
87
93
  import "./chunk-F5UR6EJG.js";
88
94
  import {
89
95
  AgentGuiI18nProvider,
90
96
  agentGuiI18nModule,
91
97
  agentGuiI18nResources
92
- } from "./chunk-GLVENTN6.js";
98
+ } from "./chunk-WXLO33YP.js";
93
99
  import "./chunk-5BJYO6X3.js";
94
100
  import "./chunk-AFUVWWQY.js";
95
101
  import "./chunk-MIJXEELH.js";
96
- import "./chunk-ZXEICU6J.js";
102
+ import "./chunk-KK7YXPTS.js";
97
103
  import {
98
104
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
99
105
  } from "./chunk-RMQREVJY.js";
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 {\n TuttiModePlanAssignmentAgentDetail,\n TuttiModePlanAssignmentAgentOption,\n TuttiModePlanAssignmentOptionsSource,\n TuttiModePlanReviewSnapshot,\n TuttiModePlanReviewRuntime,\n TuttiModePlanTaskAssignmentInput,\n TuttiPlanIssueMaterializationFailure,\n TuttiPlanIssueQueryResult,\n TuttiPlanIssueSnapshot,\n TuttiPlanIssueSource,\n TuttiPlanIssueTaskSnapshot\n} from \"./workspaceWorkflow\";\nexport type { AgentGUIComposerAppendRequest } from \"./agent-gui/agentGuiNode/controller/useAgentGUIComposerAppendRequest\";\nexport {\n createAgentStatusController,\n selectAgentStatusControllerSnapshot,\n type AgentStatusController,\n type AgentStatusControllerOptions,\n type AgentStatusControllerSnapshot,\n type AgentStatusFrame,\n type AgentStatusQuery,\n type AgentStatusRequestPhase,\n type AgentStatusRequestReason,\n type AgentStatusSelectionKey,\n type AgentStatusSectionState,\n type AgentStatusSource,\n type AgentStatusSourceError,\n type AgentStatusStreamObserver,\n type AgentStatusValue\n} from \"./agent-gui/agentGuiNode/controller/AgentStatusController\";\nexport {\n AgentHandoffMenu,\n type AgentHandoffMenuLabels,\n type AgentHandoffMenuProps\n} from \"./agent-gui/agentGuiNode/composer/AgentHandoffMenu\";\nexport {\n createAgentSessionHandoffPrompt,\n createAgentSessionMarkdownLink\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\nexport type {\n CreateAgentSessionHandoffPromptInput,\n CreateAgentSessionMarkdownLinkInput\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\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 {\n AgentExternalPromptEntryResolution,\n AgentExternalPromptEntryResolver\n} from \"./agent-gui/agentGuiNode/model/agentExternalPromptEntries\";\nexport type {\n AgentRunErrorCode,\n AgentVisibleErrorOverride,\n AgentVisibleErrorOverrideCode,\n AgentVisibleErrorOverrides\n} from \"./shared/agentEnv/agentErrorPresentation\";\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 projectAgentGUIAgentsToTargets,\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 AgentGUITargetConnectionSource,\n AgentGUITargetConnectionState,\n AgentGUITargetConnectionStatus,\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_COLLAPSED_MIN_WIDTH_PX,\n AGENT_GUI_DETAIL_MIN_WIDTH_PX,\n AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,\n AGENT_GUI_STANDALONE_MIDDLE_CONTENT_MIN_WIDTH_PX,\n resolveAgentGUIConversationRailPresentation,\n resolveAgentGUIExpandedWindowFrame,\n resolveStandaloneAgentGUIViewportMinimumWidthPx,\n shouldAutoCollapseAgentGUIConversationRail\n} from \"./agent-gui/agentGuiNode/model/agentGuiRailLayout\";\nexport type {\n AgentGUIConversationRailAutoCollapseMode,\n AgentGUIConversationRailPresentation\n} from \"./agent-gui/agentGuiNode/model/agentGuiRailLayout\";\nexport type {\n AgentGUIAgentsEmptyRenderer,\n AgentGUIConversationRailLayout,\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 {\n AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,\n createAgentConversationRailRuntime,\n inspectAgentConversationBatchDeletionCapability\n} from \"./agentConversationRailRuntime\";\nexport type {\n AgentConversationBatchDeletionCapability,\n AgentConversationRailRuntime,\n AgentConversationRailRuntimeSource\n} from \"./agentConversationRailRuntime\";\nexport type {\n AgentHostApi,\n AgentHostAgentTargetAuthenticatedAccount,\n AgentHostAgentTargetSetupSnapshot,\n AgentHostAgentTargetSetupState,\n AgentHostAgentTargetSetupWatch,\n AgentHostApplyWorkspaceGitPatchInput,\n AgentHostInputApi,\n AgentHostQuickPrompt,\n AgentHostQuickPromptSnapshot,\n AgentHostQuickPromptsApi,\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsOA;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 { AgentGUIAgentConfigMenuContext } from \"./agent-gui/agentGuiNode/AgentGUINode.types\";\nexport type {\n TuttiModePlanAssignmentAgentDetail,\n TuttiModePlanAssignmentAgentOption,\n TuttiModePlanAssignmentOptionsSource,\n TuttiModePlanReviewSnapshot,\n TuttiModePlanReviewRuntime,\n TuttiModePlanTaskAssignmentInput,\n TuttiPlanIssueMaterializationFailure,\n TuttiPlanIssueQueryResult,\n TuttiPlanIssueSnapshot,\n TuttiPlanIssueSource,\n TuttiPlanIssueTaskSnapshot\n} from \"./workspaceWorkflow\";\nexport type { AgentGUIComposerAppendRequest } from \"./agent-gui/agentGuiNode/controller/useAgentGUIComposerAppendRequest\";\nexport {\n createAgentStatusController,\n selectAgentStatusControllerSnapshot,\n type AgentStatusController,\n type AgentStatusControllerOptions,\n type AgentStatusControllerSnapshot,\n type AgentStatusFrame,\n type AgentStatusQuery,\n type AgentStatusRequestPhase,\n type AgentStatusRequestReason,\n type AgentStatusSelectionKey,\n type AgentStatusSectionState,\n type AgentStatusSource,\n type AgentStatusSourceError,\n type AgentStatusStreamObserver,\n type AgentStatusValue\n} from \"./agent-gui/agentGuiNode/controller/AgentStatusController\";\nexport {\n AgentHandoffMenu,\n type AgentHandoffMenuLabels,\n type AgentHandoffMenuProps\n} from \"./agent-gui/agentGuiNode/composer/AgentHandoffMenu\";\nexport {\n createAgentSessionHandoffPrompt,\n createAgentSessionMarkdownLink\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\nexport type {\n CreateAgentSessionHandoffPromptInput,\n CreateAgentSessionMarkdownLinkInput\n} from \"./agent-gui/agentGuiNode/agentRichText/agentMentionMarkdown\";\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 {\n AgentExternalPromptEntryResolution,\n AgentExternalPromptEntryResolver\n} from \"./agent-gui/agentGuiNode/model/agentExternalPromptEntries\";\nexport type {\n AgentRunErrorCode,\n AgentVisibleErrorOverride,\n AgentVisibleErrorOverrideCode,\n AgentVisibleErrorOverrides\n} from \"./shared/agentEnv/agentErrorPresentation\";\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 projectAgentGUIAgentsToTargets,\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 AgentGUITargetConnectionSource,\n AgentGUITargetConnectionState,\n AgentGUITargetConnectionStatus,\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_COLLAPSED_MIN_WIDTH_PX,\n AGENT_GUI_DETAIL_MIN_WIDTH_PX,\n AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,\n AGENT_GUI_STANDALONE_MIDDLE_CONTENT_MIN_WIDTH_PX,\n resolveAgentGUIConversationRailPresentation,\n resolveAgentGUIExpandedWindowFrame,\n resolveStandaloneAgentGUIViewportMinimumWidthPx,\n shouldAutoCollapseAgentGUIConversationRail\n} from \"./agent-gui/agentGuiNode/model/agentGuiRailLayout\";\nexport type {\n AgentGUIConversationRailAutoCollapseMode,\n AgentGUIConversationRailPresentation\n} from \"./agent-gui/agentGuiNode/model/agentGuiRailLayout\";\nexport type {\n AgentGUIAgentsEmptyRenderer,\n AgentGUIConversationRailLayout,\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 {\n AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,\n createAgentConversationRailRuntime,\n inspectAgentConversationBatchDeletionCapability\n} from \"./agentConversationRailRuntime\";\nexport type {\n AgentConversationBatchDeletionCapability,\n AgentConversationRailRuntime,\n AgentConversationRailRuntimeSource\n} from \"./agentConversationRailRuntime\";\nexport type {\n AgentHostApi,\n AgentHostAgentTargetAuthenticatedAccount,\n AgentHostAgentTargetSetupSnapshot,\n AgentHostAgentTargetSetupState,\n AgentHostAgentTargetSetupWatch,\n AgentHostApplyWorkspaceGitPatchInput,\n AgentHostInputApi,\n AgentHostQuickPrompt,\n AgentHostQuickPromptSnapshot,\n AgentHostQuickPromptsApi,\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuOA;AAAA,EACE;AAAA,EACA;AAAA,OACK;","names":[]}
@@ -3,21 +3,23 @@ import {
3
3
  MAX_BROWSE_CACHE_ENTRIES,
4
4
  preloadAgentMentionBrowse,
5
5
  resetAgentMentionSearchBrowseCacheForTests
6
- } from "./chunk-N5356722.js";
6
+ } from "./chunk-EKQ7UX2B.js";
7
+ import "./chunk-YEXRTXTE.js";
7
8
  import "./chunk-VMPA46ET.js";
8
9
  import "./chunk-YMXYBG7U.js";
9
10
  import "./chunk-XJ34OIEQ.js";
10
- import "./chunk-SWO67UWQ.js";
11
+ import "./chunk-CZOZBUIM.js";
11
12
  import "./chunk-JDVP33S5.js";
12
13
  import "./chunk-3V5OCA2M.js";
13
- import "./chunk-M6WEFXPL.js";
14
+ import "./chunk-2MCNNB2P.js";
15
+ import "./chunk-VV3YIU5W.js";
14
16
  import "./chunk-3X5VDG6T.js";
15
17
  import "./chunk-F5UR6EJG.js";
16
- import "./chunk-GLVENTN6.js";
18
+ import "./chunk-WXLO33YP.js";
17
19
  import "./chunk-5BJYO6X3.js";
18
20
  import "./chunk-AFUVWWQY.js";
19
21
  import "./chunk-MIJXEELH.js";
20
- import "./chunk-ZXEICU6J.js";
22
+ import "./chunk-KK7YXPTS.js";
21
23
  import "./chunk-RMQREVJY.js";
22
24
  import "./chunk-FGLQZ6I4.js";
23
25
  import "./chunk-D2JUDUYY.js";
@@ -235,4 +235,4 @@ interface NodeFrame {
235
235
  size: Size;
236
236
  }
237
237
 
238
- 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, AgentGUITargetConnectionSource as j, AgentHostAgentSessionCommand as k, AgentHostAgentSessionComposerSettings as l, AgentHostAgentSessionPermissionConfig as m, AgentHostAgentSessionReasoningEffort as n, AgentHostAgentSessionSpeed as o, AgentHostUnactivateAgentSessionResult as p, AgentPromptContentBlock as q };
238
+ export type { AgentGUIAgent as A, NodeFrame as N, Point as P, AgentGUIAgentDirectorySnapshot as a, AgentGUIAgentOwnership as b, AgentGUIAgentTarget as c, AgentGUIAllAgentsPresentation as d, AgentGUIHomeSuggestionId as e, AgentGUINodeData as f, AgentGUIProvider as g, AgentGUIProviderRailAllPresentation as h, AgentGUIProviderRailMode as i, AgentGUIProviderReadinessGate as j, AgentGUITargetConnectionSource as k, AgentHostAgentSessionCommand as l, AgentHostAgentSessionComposerSettings as m, AgentHostAgentSessionPermissionConfig as n, AgentHostAgentSessionReasoningEffort as o, AgentHostAgentSessionSpeed as p, AgentHostUnactivateAgentSessionResult as q, AgentPromptContentBlock as r };
@@ -17,9 +17,9 @@ import {
17
17
  resolveAgentGuiUnifiedDockLaunchPayload,
18
18
  resolveAgentGuiWorkbenchContributionCopy,
19
19
  resolveAgentGuiWorkbenchDefaultLaunchFrame
20
- } from "../chunk-7AYFKNLD.js";
21
- import "../chunk-T57ZZWTC.js";
22
- import "../chunk-JA6XAKKE.js";
20
+ } from "../chunk-TWMV6YTX.js";
21
+ import "../chunk-4HAG3FOY.js";
22
+ import "../chunk-TWF6JXPC.js";
23
23
  import "../chunk-KDN6SLJM.js";
24
24
  import "../chunk-SUVMLCED.js";
25
25
  import "../chunk-MGSRWYRN.js";
@@ -30,7 +30,7 @@ import "../chunk-PPA2OB2H.js";
30
30
  import "../chunk-6GX57XB5.js";
31
31
  import "../chunk-AFUVWWQY.js";
32
32
  import "../chunk-MIJXEELH.js";
33
- import "../chunk-ZXEICU6J.js";
33
+ import "../chunk-KK7YXPTS.js";
34
34
  import "../chunk-SEHJINGH.js";
35
35
  import "../chunk-O433KXLK.js";
36
36
  export {
@@ -13,12 +13,12 @@ import {
13
13
  resolveAgentGuiUnifiedDockLaunchPayload,
14
14
  resolveAgentGuiWorkbenchContributionCopy,
15
15
  resolveAgentGuiWorkbenchConversationIdentity
16
- } from "../chunk-7AYFKNLD.js";
16
+ } from "../chunk-TWMV6YTX.js";
17
17
  import {
18
18
  resolveAgentGuiWorkbenchHeaderTitle,
19
19
  resolveAgentGuiWorkbenchSessionTitle
20
- } from "../chunk-T57ZZWTC.js";
21
- import "../chunk-JA6XAKKE.js";
20
+ } from "../chunk-4HAG3FOY.js";
21
+ import "../chunk-TWF6JXPC.js";
22
22
  import {
23
23
  areAgentGuiWorkbenchNodeStatesEqual,
24
24
  areAgentGuiWorkbenchStatesEqual,
@@ -63,7 +63,7 @@ import "../chunk-PPA2OB2H.js";
63
63
  import "../chunk-6GX57XB5.js";
64
64
  import "../chunk-AFUVWWQY.js";
65
65
  import "../chunk-MIJXEELH.js";
66
- import "../chunk-ZXEICU6J.js";
66
+ import "../chunk-KK7YXPTS.js";
67
67
  import "../chunk-SEHJINGH.js";
68
68
  import "../chunk-O433KXLK.js";
69
69
  export {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveAgentGuiWorkbenchHeaderTitle,
3
3
  resolveAgentGuiWorkbenchSessionTitle
4
- } from "../chunk-T57ZZWTC.js";
5
- import "../chunk-JA6XAKKE.js";
4
+ } from "../chunk-4HAG3FOY.js";
5
+ import "../chunk-TWF6JXPC.js";
6
6
  import "../chunk-MIJXEELH.js";
7
- import "../chunk-ZXEICU6J.js";
7
+ import "../chunk-KK7YXPTS.js";
8
8
  import "../chunk-O433KXLK.js";
9
9
  export {
10
10
  resolveAgentGuiWorkbenchHeaderTitle,
@@ -1,16 +1,5 @@
1
1
  import { AgentActivityMessage, AgentActivitySession } from '@tutti-os/agent-activity-core';
2
-
3
- interface WorkspaceAgentChangedFile {
4
- path: string;
5
- label: string;
6
- }
7
- interface CollectWorkspaceAgentGeneratedFilesOptions {
8
- /** When set, only include files produced by these Agent targets. */
9
- agentTargetIds?: readonly string[] | null;
10
- workspaceRoot?: string | null;
11
- /** When set, only include files from sessions whose cwd matches this path. */
12
- sessionCwd?: string | null;
13
- }
2
+ import { a as WorkspaceAgentChangedFile, C as CollectWorkspaceAgentGeneratedFilesOptions } from './workspaceAgentActivityListTypes-BUKNyMbh.js';
14
3
 
15
4
  interface WorkspaceAgentGeneratedFilesSource {
16
5
  sessionMessagesById: Readonly<Record<string, AgentActivityMessage[]>>;
@@ -0,0 +1,48 @@
1
+ type ToolCallStatusKind = "working" | "completed" | "failed" | "canceled" | "waiting";
2
+ interface WorkspaceAgentToolCallDisplay {
3
+ id: string;
4
+ name: string;
5
+ status: string | null;
6
+ statusKind: ToolCallStatusKind | null;
7
+ detail?: string;
8
+ }
9
+
10
+ type WorkspaceAgentLatestActivityStatus = "working" | "waiting" | "idle" | "completed" | "canceled" | "failed";
11
+ interface WorkspaceAgentConversationPreviewLine {
12
+ actorName: string;
13
+ summary: string;
14
+ }
15
+
16
+ type WorkspaceAgentActivityStatus = WorkspaceAgentLatestActivityStatus;
17
+ interface WorkspaceAgentChangedFile {
18
+ path: string;
19
+ label: string;
20
+ }
21
+ interface WorkspaceAgentActivityCard {
22
+ id: string;
23
+ sessionId: string;
24
+ userId: string | null;
25
+ userName: string;
26
+ userAvatarUrl?: string;
27
+ agentProvider: string;
28
+ agentName: string;
29
+ title: string;
30
+ status: WorkspaceAgentActivityStatus;
31
+ latestActivitySummary: string;
32
+ /** User prompt + latest agent reply for task/issue execution cards; room status list uses single-line summary only. */
33
+ conversationPreview?: WorkspaceAgentConversationPreviewLine[];
34
+ latestActivityActorName?: string;
35
+ toolCalls?: WorkspaceAgentToolCallDisplay[];
36
+ changedFiles: WorkspaceAgentChangedFile[];
37
+ sortTimeUnixMs: number;
38
+ readTimeUnixMs?: number;
39
+ }
40
+ interface CollectWorkspaceAgentGeneratedFilesOptions {
41
+ /** When set, only include files produced by these Agent targets. */
42
+ agentTargetIds?: readonly string[] | null;
43
+ workspaceRoot?: string | null;
44
+ /** When set, only include files from sessions whose cwd matches this path. */
45
+ sessionCwd?: string | null;
46
+ }
47
+
48
+ export type { CollectWorkspaceAgentGeneratedFilesOptions as C, ToolCallStatusKind as T, WorkspaceAgentActivityCard as W, WorkspaceAgentChangedFile as a };
@@ -549,6 +549,19 @@ interface AgentConversationVM {
549
549
  }
550
550
 
551
551
  type WorkspaceLinkActionSource = "agent-markdown" | "agent-file-change" | string;
552
+ interface OpenWorkspaceUrlLinkAction {
553
+ type: "open-url";
554
+ url: string;
555
+ source: WorkspaceLinkActionSource;
556
+ }
557
+ interface OpenAgentSessionLinkAction {
558
+ type: "open-agent-session";
559
+ workspaceId: string;
560
+ agentSessionId: string;
561
+ agentTargetId?: string | null;
562
+ source: WorkspaceLinkActionSource;
563
+ }
564
+
552
565
  interface OpenWorkspaceFileLinkAction {
553
566
  type: "open-workspace-file";
554
567
  mode?: "select" | "open";
@@ -578,18 +591,6 @@ interface WorkspaceFileLinkDirectoryListing {
578
591
  directoryPath: string;
579
592
  entries: WorkspaceFileLinkDirectoryEntry[];
580
593
  }
581
- interface OpenWorkspaceUrlLinkAction {
582
- type: "open-url";
583
- url: string;
584
- source: WorkspaceLinkActionSource;
585
- }
586
- interface OpenAgentSessionLinkAction {
587
- type: "open-agent-session";
588
- workspaceId: string;
589
- agentSessionId: string;
590
- agentTargetId?: string | null;
591
- source: WorkspaceLinkActionSource;
592
- }
593
594
  interface OpenWorkspaceIssueLinkAction {
594
595
  type: "open-workspace-issue";
595
596
  workspaceId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tutti-os/agent-gui",
3
- "version": "0.0.233",
3
+ "version": "0.0.234",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -97,6 +97,14 @@
97
97
  "types": "./dist/conversation-rail-projection.d.ts",
98
98
  "import": "./dist/conversation-rail-projection.js"
99
99
  },
100
+ "./conversation-projection": {
101
+ "types": "./dist/conversation-projection.d.ts",
102
+ "import": "./dist/conversation-projection.js"
103
+ },
104
+ "./composer-projection": {
105
+ "types": "./dist/composer-projection.d.ts",
106
+ "import": "./dist/composer-projection.js"
107
+ },
100
108
  "./workspace-query-cache": {
101
109
  "types": "./dist/workspace-query-cache.d.ts",
102
110
  "import": "./dist/workspace-query-cache.js"
@@ -153,20 +161,20 @@
153
161
  "directory": "packages/agent/gui"
154
162
  },
155
163
  "dependencies": {
156
- "@tanstack/react-virtual": "^3.13.12",
157
- "@tutti-os/agent-activity-core": "0.0.233",
158
- "@tutti-os/browser-node": "0.0.233",
159
- "@tutti-os/ui-i18n-runtime": "0.0.233",
160
- "@tutti-os/ui-react-hooks": "0.0.233",
161
- "@tutti-os/ui-rich-text": "0.0.233",
162
- "@tutti-os/ui-system": "0.0.233",
163
- "@tutti-os/workbench-surface": "0.0.233",
164
- "@tutti-os/workspace-external-core": "0.0.233",
165
- "@tutti-os/workspace-file-manager": "0.0.233",
166
- "@tutti-os/workspace-file-preview": "0.0.233",
167
- "@tutti-os/workspace-file-reference": "0.0.233",
168
- "@tutti-os/workspace-issue-manager": "0.0.233",
169
- "@tutti-os/workspace-user-project": "0.0.233",
164
+ "@tanstack/react-virtual": "^3.14.8",
165
+ "@tutti-os/agent-activity-core": "0.0.234",
166
+ "@tutti-os/browser-node": "0.0.234",
167
+ "@tutti-os/ui-i18n-runtime": "0.0.234",
168
+ "@tutti-os/ui-react-hooks": "0.0.234",
169
+ "@tutti-os/ui-rich-text": "0.0.234",
170
+ "@tutti-os/ui-system": "0.0.234",
171
+ "@tutti-os/workbench-surface": "0.0.234",
172
+ "@tutti-os/workspace-external-core": "0.0.234",
173
+ "@tutti-os/workspace-file-manager": "0.0.234",
174
+ "@tutti-os/workspace-file-preview": "0.0.234",
175
+ "@tutti-os/workspace-file-reference": "0.0.234",
176
+ "@tutti-os/workspace-issue-manager": "0.0.234",
177
+ "@tutti-os/workspace-user-project": "0.0.234",
170
178
  "clsx": "^2.1.1",
171
179
  "framer-motion": "^12.40.0",
172
180
  "lodash": "^4.17.21",
@@ -201,8 +209,8 @@
201
209
  "typescript": "^5.8.3",
202
210
  "vite": "^6.4.2",
203
211
  "vitest": "^4.0.13",
204
- "@tutti-os/client-tuttid-ts": "0.0.0",
205
- "@tutti-os/config-tsconfig": "0.0.0"
212
+ "@tutti-os/config-tsconfig": "0.0.0",
213
+ "@tutti-os/client-tuttid-ts": "0.0.0"
206
214
  },
207
215
  "peerDependencies": {
208
216
  "@tiptap/core": "^3.11.1",
@@ -290,6 +298,12 @@
290
298
  "conversation-rail-projection": [
291
299
  "./dist/conversation-rail-projection.d.ts"
292
300
  ],
301
+ "conversation-projection": [
302
+ "./dist/conversation-projection.d.ts"
303
+ ],
304
+ "composer-projection": [
305
+ "./dist/composer-projection.d.ts"
306
+ ],
293
307
  "workspace-query-cache": [
294
308
  "./dist/workspace-query-cache.d.ts"
295
309
  ],