@tutti-os/agent-gui 0.0.171 → 0.0.172

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 (53) hide show
  1. package/dist/{AgentRichTextReadonly-WOIEQ673.js → AgentRichTextReadonly-ZEMFCKVR.js} +5 -5
  2. package/dist/agent-conversation/index.d.ts +1 -1
  3. package/dist/agent-conversation/index.js +7 -7
  4. package/dist/agent-gui.d.ts +53 -16
  5. package/dist/agent-gui.js +15 -15
  6. package/dist/agent-message-center/index.d.ts +1 -1
  7. package/dist/agent-message-center/index.js +7 -7
  8. package/dist/{agentGuiNodeTypes-CXL3ISqC.d.ts → agentGuiNodeTypes-CLU6X2Hk.d.ts} +1 -1
  9. package/dist/{chunk-Y3K2YTLD.js → chunk-3QPFTVLN.js} +4 -4
  10. package/dist/{chunk-42KTGN4W.js → chunk-5UTK6FDH.js} +2 -2
  11. package/dist/{chunk-QEOAZW53.js → chunk-7E2JZRSI.js} +2 -2
  12. package/dist/{chunk-LQ6CK4GS.js → chunk-7VPICMI3.js} +1173 -739
  13. package/dist/chunk-7VPICMI3.js.map +1 -0
  14. package/dist/{chunk-OUOVA353.js → chunk-ADZL6MLR.js} +4 -4
  15. package/dist/{chunk-GMALB4L6.js → chunk-ARJ63FKZ.js} +5 -5
  16. package/dist/{chunk-EZ6E3LVP.js → chunk-CAZ7NYUE.js} +2 -2
  17. package/dist/{chunk-KDRU3NBW.js → chunk-EJM3JYAD.js} +4 -4
  18. package/dist/{chunk-2RQM7PJN.js → chunk-EVQ4JY3N.js} +1 -1
  19. package/dist/{chunk-2RQM7PJN.js.map → chunk-EVQ4JY3N.js.map} +1 -1
  20. package/dist/{chunk-7M6STXDS.js → chunk-K57GJTVC.js} +2 -2
  21. package/dist/{chunk-BHLX4ZFU.js → chunk-OKBVGNH7.js} +2 -2
  22. package/dist/{chunk-5EHKHIFG.js → chunk-P44BIVG6.js} +3 -3
  23. package/dist/{chunk-C7RY5XMJ.js → chunk-P5OTILPN.js} +6 -6
  24. package/dist/{chunk-42W6JENH.js → chunk-UPX5IC2U.js} +2 -2
  25. package/dist/{chunk-J4RQ2RTM.js → chunk-VGUKS6JR.js} +7 -7
  26. package/dist/chunk-VGUKS6JR.js.map +1 -0
  27. package/dist/context-mention-palette/index.js +7 -7
  28. package/dist/i18n/index.d.ts +4 -4
  29. package/dist/i18n/index.js +2 -2
  30. package/dist/index.d.ts +95 -21
  31. package/dist/index.js +20 -16
  32. package/dist/index.js.map +1 -1
  33. package/dist/mention-search.js +5 -5
  34. package/dist/workbench/browser-element-context/index.js +1 -1
  35. package/dist/workbench/contribution.js +4 -4
  36. package/dist/workbench/index.js +4 -4
  37. package/dist/workbench/sessionTitle.js +2 -2
  38. package/package.json +13 -13
  39. package/dist/chunk-J4RQ2RTM.js.map +0 -1
  40. package/dist/chunk-LQ6CK4GS.js.map +0 -1
  41. /package/dist/{AgentRichTextReadonly-WOIEQ673.js.map → AgentRichTextReadonly-ZEMFCKVR.js.map} +0 -0
  42. /package/dist/{chunk-Y3K2YTLD.js.map → chunk-3QPFTVLN.js.map} +0 -0
  43. /package/dist/{chunk-42KTGN4W.js.map → chunk-5UTK6FDH.js.map} +0 -0
  44. /package/dist/{chunk-QEOAZW53.js.map → chunk-7E2JZRSI.js.map} +0 -0
  45. /package/dist/{chunk-OUOVA353.js.map → chunk-ADZL6MLR.js.map} +0 -0
  46. /package/dist/{chunk-GMALB4L6.js.map → chunk-ARJ63FKZ.js.map} +0 -0
  47. /package/dist/{chunk-EZ6E3LVP.js.map → chunk-CAZ7NYUE.js.map} +0 -0
  48. /package/dist/{chunk-KDRU3NBW.js.map → chunk-EJM3JYAD.js.map} +0 -0
  49. /package/dist/{chunk-7M6STXDS.js.map → chunk-K57GJTVC.js.map} +0 -0
  50. /package/dist/{chunk-BHLX4ZFU.js.map → chunk-OKBVGNH7.js.map} +0 -0
  51. /package/dist/{chunk-5EHKHIFG.js.map → chunk-P44BIVG6.js.map} +0 -0
  52. /package/dist/{chunk-C7RY5XMJ.js.map → chunk-P5OTILPN.js.map} +0 -0
  53. /package/dist/{chunk-42W6JENH.js.map → chunk-UPX5IC2U.js.map} +0 -0
@@ -3,28 +3,28 @@ import {
3
3
  AgentFileMentionPalette,
4
4
  flattenAgentMentionPaletteEntries,
5
5
  groupStartKeys
6
- } from "../chunk-KDRU3NBW.js";
6
+ } from "../chunk-EJM3JYAD.js";
7
7
  import {
8
8
  AgentMentionSearchController
9
- } from "../chunk-GMALB4L6.js";
9
+ } from "../chunk-ARJ63FKZ.js";
10
10
  import "../chunk-VMPA46ET.js";
11
11
  import "../chunk-XJ34OIEQ.js";
12
12
  import "../chunk-JDVP33S5.js";
13
- import "../chunk-7M6STXDS.js";
13
+ import "../chunk-K57GJTVC.js";
14
14
  import "../chunk-5QPOMKMQ.js";
15
15
  import {
16
16
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
17
17
  } from "../chunk-RMQREVJY.js";
18
18
  import "../chunk-FGLQZ6I4.js";
19
- import "../chunk-BHLX4ZFU.js";
19
+ import "../chunk-OKBVGNH7.js";
20
20
  import "../chunk-YMXYBG7U.js";
21
- import "../chunk-QEOAZW53.js";
21
+ import "../chunk-7E2JZRSI.js";
22
22
  import "../chunk-F5UR6EJG.js";
23
23
  import "../chunk-ZWLWT3TZ.js";
24
- import "../chunk-EZ6E3LVP.js";
24
+ import "../chunk-CAZ7NYUE.js";
25
25
  import "../chunk-PJP5BUU6.js";
26
26
  import "../chunk-AODSTIED.js";
27
- import "../chunk-J4RQ2RTM.js";
27
+ import "../chunk-VGUKS6JR.js";
28
28
  import "../chunk-MIJXEELH.js";
29
29
  import "../chunk-D2JUDUYY.js";
30
30
  import "../chunk-LCFMJPNA.js";
@@ -440,7 +440,6 @@ declare const agentGuiI18nResources: {
440
440
  readonly selectedCount: "{{count}} selected";
441
441
  readonly sourceColumn: "Category";
442
442
  readonly title: "Pick workspace references";
443
- readonly workspaceRootGroup: "Workspace";
444
443
  };
445
444
  readonly slashCommandCompactLabel: "compact";
446
445
  readonly slashCommandContextLabel: "context";
@@ -1066,8 +1065,9 @@ declare const agentGuiI18nResources: {
1066
1065
  readonly slashStatusLimitPercentLeft: "{{percent}}% left";
1067
1066
  readonly slashStatusLimitReset: "resets {{reset}}";
1068
1067
  readonly slashStatusContextValue: "{{percentLeft}}% left ({{usedTokens}} used / {{totalTokens}})";
1069
- readonly slashStatusContextUnavailable: "Context usage unavailable";
1068
+ readonly slashStatusContextUnavailable: "";
1070
1069
  readonly slashStatusLimitsUnavailable: "Rate limits unavailable from this agent";
1070
+ readonly slashStatusEmptyValue: "—";
1071
1071
  readonly slashStatusUsageJustUpdated: "Updated just now";
1072
1072
  readonly slashStatusUsageMinutesAgo: "Updated {{count}}m ago";
1073
1073
  readonly slashStatusUsageHoursAgo: "Updated {{count}}h ago";
@@ -3126,7 +3126,6 @@ declare const agentGuiI18nResources: {
3126
3126
  readonly selectedCount: "已选择 {{count}} 项";
3127
3127
  readonly title: "选择工作区引用";
3128
3128
  readonly sourceColumn: "分类";
3129
- readonly workspaceRootGroup: "工作区";
3130
3129
  };
3131
3130
  readonly slashCommandCompactLabel: "压缩";
3132
3131
  readonly slashCommandContextLabel: "上下文";
@@ -3752,8 +3751,9 @@ declare const agentGuiI18nResources: {
3752
3751
  readonly slashStatusLimitPercentLeft: "{{percent}}% left";
3753
3752
  readonly slashStatusLimitReset: "resets {{reset}}";
3754
3753
  readonly slashStatusContextValue: "{{percentLeft}}% 剩余(已用 {{usedTokens}} / {{totalTokens}})";
3755
- readonly slashStatusContextUnavailable: "上下文用量不可用";
3754
+ readonly slashStatusContextUnavailable: "";
3756
3755
  readonly slashStatusLimitsUnavailable: "当前 Agent 未提供额度限制";
3756
+ readonly slashStatusEmptyValue: "—";
3757
3757
  readonly slashStatusUsageJustUpdated: "刚刚更新";
3758
3758
  readonly slashStatusUsageMinutesAgo: "{{count}} 分钟前更新";
3759
3759
  readonly slashStatusUsageHoursAgo: "{{count}} 小时前更新";
@@ -6,8 +6,8 @@ import {
6
6
  translate,
7
7
  translateInUiLanguage,
8
8
  useTranslation
9
- } from "../chunk-EZ6E3LVP.js";
10
- import "../chunk-J4RQ2RTM.js";
9
+ } from "../chunk-CAZ7NYUE.js";
10
+ import "../chunk-VGUKS6JR.js";
11
11
  export {
12
12
  AgentGuiI18nProvider,
13
13
  agentGuiI18nModule,
package/dist/index.d.ts CHANGED
@@ -2726,7 +2726,6 @@ declare const agentGuiI18nResources: {
2726
2726
  readonly selectedCount: "{{count}} selected";
2727
2727
  readonly sourceColumn: "Category";
2728
2728
  readonly title: "Pick workspace references";
2729
- readonly workspaceRootGroup: "Workspace";
2730
2729
  };
2731
2730
  readonly slashCommandCompactLabel: "compact";
2732
2731
  readonly slashCommandContextLabel: "context";
@@ -3352,8 +3351,9 @@ declare const agentGuiI18nResources: {
3352
3351
  readonly slashStatusLimitPercentLeft: "{{percent}}% left";
3353
3352
  readonly slashStatusLimitReset: "resets {{reset}}";
3354
3353
  readonly slashStatusContextValue: "{{percentLeft}}% left ({{usedTokens}} used / {{totalTokens}})";
3355
- readonly slashStatusContextUnavailable: "Context usage unavailable";
3354
+ readonly slashStatusContextUnavailable: "";
3356
3355
  readonly slashStatusLimitsUnavailable: "Rate limits unavailable from this agent";
3356
+ readonly slashStatusEmptyValue: "—";
3357
3357
  readonly slashStatusUsageJustUpdated: "Updated just now";
3358
3358
  readonly slashStatusUsageMinutesAgo: "Updated {{count}}m ago";
3359
3359
  readonly slashStatusUsageHoursAgo: "Updated {{count}}h ago";
@@ -5412,7 +5412,6 @@ declare const agentGuiI18nResources: {
5412
5412
  readonly selectedCount: "已选择 {{count}} 项";
5413
5413
  readonly title: "选择工作区引用";
5414
5414
  readonly sourceColumn: "分类";
5415
- readonly workspaceRootGroup: "工作区";
5416
5415
  };
5417
5416
  readonly slashCommandCompactLabel: "压缩";
5418
5417
  readonly slashCommandContextLabel: "上下文";
@@ -6038,8 +6037,9 @@ declare const agentGuiI18nResources: {
6038
6037
  readonly slashStatusLimitPercentLeft: "{{percent}}% left";
6039
6038
  readonly slashStatusLimitReset: "resets {{reset}}";
6040
6039
  readonly slashStatusContextValue: "{{percentLeft}}% 剩余(已用 {{usedTokens}} / {{totalTokens}})";
6041
- readonly slashStatusContextUnavailable: "上下文用量不可用";
6040
+ readonly slashStatusContextUnavailable: "";
6042
6041
  readonly slashStatusLimitsUnavailable: "当前 Agent 未提供额度限制";
6042
+ readonly slashStatusEmptyValue: "—";
6043
6043
  readonly slashStatusUsageJustUpdated: "刚刚更新";
6044
6044
  readonly slashStatusUsageMinutesAgo: "{{count}} 分钟前更新";
6045
6045
  readonly slashStatusUsageHoursAgo: "{{count}} 小时前更新";
@@ -7898,6 +7898,13 @@ interface AgentComposerProps {
7898
7898
  }) => string;
7899
7899
  slashStatusContextUnavailable: string;
7900
7900
  slashStatusLimitsUnavailable: string;
7901
+ slashStatusEmptyValue: string;
7902
+ slashStatusUsageJustUpdated: string;
7903
+ slashStatusUsageMinutesAgo: (count: number) => string;
7904
+ slashStatusUsageHoursAgo: (count: number) => string;
7905
+ slashStatusUsageUpdating: string;
7906
+ slashStatusUsageRefreshFailed: string;
7907
+ slashStatusUsageRefreshAria: string;
7901
7908
  usageChipLabel: (input: {
7902
7909
  percent: number;
7903
7910
  }) => string;
@@ -7984,6 +7991,8 @@ interface AgentComposerProps {
7984
7991
  capabilityMenuState?: AgentComposerCapabilityMenuState;
7985
7992
  onCapabilitySettingsRequest?: (capability: AgentComposerCapabilitySettingsTarget) => void;
7986
7993
  onSlashStatusOpen?: () => void;
7994
+ onSlashStatusClose?: () => void;
7995
+ onSlashStatusRefresh?: () => void;
7987
7996
  onSubmit: (content: AgentPromptContentBlock[], displayPrompt?: string, options?: AgentComposerSubmitOptions) => void;
7988
7997
  onSubmitGuidance?: (content: AgentPromptContentBlock[], displayPrompt?: string) => void;
7989
7998
  onSendQueuedPromptNext: (queuedPromptId: string) => void;
@@ -8042,6 +8051,10 @@ interface AgentComposerSlashStatus {
8042
8051
  limits?: readonly AgentComposerSlashStatusLimit[];
8043
8052
  limitsLoading?: boolean;
8044
8053
  limitsUnavailable?: boolean;
8054
+ limitsResolvedEmpty?: boolean;
8055
+ limitsCapturedAtUnixMs?: number | null;
8056
+ refreshFailed?: boolean;
8057
+ isRefreshing?: boolean;
8045
8058
  }
8046
8059
  interface AgentComposerSlashStatusLimit {
8047
8060
  id: string;
@@ -8107,18 +8120,6 @@ interface DesktopSize {
8107
8120
  height: number;
8108
8121
  bottomInset?: number;
8109
8122
  }
8110
- /** Workspace-scoped agent probes for currently visible Agent GUI windows. */
8111
- interface WorkspaceDesktopAgentProbesState {
8112
- snapshot: AgentProbeSnapshot | null;
8113
- isLoadingAvailability: boolean;
8114
- isLoadingUsage: boolean;
8115
- /** True when the most recent usage probe fetch failed (the retained snapshot,
8116
- * if any, is stale). Lets surfaces show a refresh/retry affordance instead of
8117
- * silently displaying old numbers. Absent is treated as "no failure". */
8118
- usageLoadFailed?: boolean;
8119
- }
8120
- type WorkspaceDesktopAgentProbeDemandChange = (provider: AgentProvider | null, sourceId?: string) => void;
8121
- type WorkspaceDesktopAgentProbeRefreshRequest = (provider: AgentProvider, sourceId?: string) => void;
8122
8123
 
8123
8124
  interface AgentGUIComposerDefaults {
8124
8125
  model?: string | null;
@@ -8162,6 +8163,80 @@ interface AgentGUIPrefillPromptRequest {
8162
8163
  userProjectPath?: string | null;
8163
8164
  }
8164
8165
 
8166
+ type AgentStatusSectionState = "available" | "unavailable" | "error";
8167
+ type AgentStatusRequestReason = "slash-status" | "agent-info" | "agent-config";
8168
+ interface AgentStatusQuery {
8169
+ /** Exact host-owned execution target identity. AgentGUI treats it as opaque. */
8170
+ scopeKey: string;
8171
+ agentSessionId?: string | null;
8172
+ reason: AgentStatusRequestReason;
8173
+ forceRefresh?: boolean;
8174
+ }
8175
+ interface AgentStatusValue {
8176
+ agentSessionId?: string | null;
8177
+ contextWindow?: {
8178
+ usedTokens?: number | null;
8179
+ totalTokens?: number | null;
8180
+ } | null;
8181
+ contextState: AgentStatusSectionState;
8182
+ quotas: readonly AgentUsageQuota[];
8183
+ limitsState: AgentStatusSectionState;
8184
+ limitsCapturedAtUnixMs?: number | null;
8185
+ limitsStale?: boolean;
8186
+ }
8187
+ interface AgentStatusFrame {
8188
+ kind: "snapshot" | "refreshed";
8189
+ value: AgentStatusValue;
8190
+ }
8191
+ interface AgentStatusStreamObserver {
8192
+ onFrame(frame: AgentStatusFrame): void;
8193
+ onError(error: AgentStatusSourceError): void;
8194
+ onComplete(): void;
8195
+ }
8196
+ interface AgentStatusSourceError {
8197
+ /** Structured host error code. Raw provider errors must not cross this port. */
8198
+ code: string;
8199
+ }
8200
+ interface AgentStatusSource {
8201
+ open(query: AgentStatusQuery, observer: AgentStatusStreamObserver): () => void;
8202
+ }
8203
+ type AgentStatusRequestPhase = "idle" | "loading" | "ready" | "error";
8204
+ interface AgentStatusControllerSnapshot {
8205
+ query: AgentStatusQuery | null;
8206
+ value: AgentStatusValue | null;
8207
+ phase: AgentStatusRequestPhase;
8208
+ isRefreshing: boolean;
8209
+ errorCode: string | null;
8210
+ }
8211
+ interface AgentStatusController {
8212
+ getSnapshot(): AgentStatusControllerSnapshot;
8213
+ subscribe(listener: () => void): () => void;
8214
+ open(query: AgentStatusQuery): void;
8215
+ close(): void;
8216
+ invalidate(scopeKey?: string): void;
8217
+ }
8218
+ interface AgentStatusControllerOptions {
8219
+ source: AgentStatusSource;
8220
+ now?: () => number;
8221
+ requestTimeoutMs?: number;
8222
+ retainedSnapshotMs?: number;
8223
+ forcedRefreshDebounceMs?: number;
8224
+ }
8225
+ interface AgentStatusSelectionKey {
8226
+ scopeKey: string;
8227
+ agentSessionId?: string | null;
8228
+ reasons?: readonly AgentStatusRequestReason[];
8229
+ }
8230
+ /** Selects status only for the exact target and caller-visible Session. */
8231
+ declare function selectAgentStatusControllerSnapshot(snapshot: AgentStatusControllerSnapshot, key: AgentStatusSelectionKey): AgentStatusControllerSnapshot;
8232
+ /**
8233
+ * Creates the shared AgentGUI interaction controller for bounded status reads.
8234
+ * The host owns transport, authorization and provider probing. The controller
8235
+ * owns only request visibility, a bounded presentation snapshot, timeout and
8236
+ * stale-response fencing.
8237
+ */
8238
+ declare function createAgentStatusController(options: AgentStatusControllerOptions): AgentStatusController;
8239
+
8165
8240
  interface AgentGUINodeIdentity {
8166
8241
  nodeId: string;
8167
8242
  workspaceId: string;
@@ -8215,9 +8290,8 @@ interface AgentGUINodeRuntimeRequests {
8215
8290
  sessionAction?: AgentGUISessionActionRequest | null;
8216
8291
  openSession?: AgentGUIOpenSessionRequest | null;
8217
8292
  prefillPrompt?: AgentGUIPrefillPromptRequest | null;
8218
- agentProbes?: WorkspaceDesktopAgentProbesState | null;
8219
- onProbeDemandChange?: WorkspaceDesktopAgentProbeDemandChange;
8220
- onProbeRefreshRequest?: WorkspaceDesktopAgentProbeRefreshRequest;
8293
+ /** On-demand status capability. Transport and owner resolution stay host-owned. */
8294
+ agentStatusController?: AgentStatusController | null;
8221
8295
  }
8222
8296
  interface AgentGUINodeHostCapabilities {
8223
8297
  /**
@@ -8469,7 +8543,7 @@ declare function AgentActivityHostProvider({ agentActivityRuntime, agentHostApi,
8469
8543
  */
8470
8544
  interface EngineStateStore<TState> {
8471
8545
  getSnapshot(): TState;
8472
- subscribe(listener: (state: TState) => void): () => void;
8546
+ subscribe(listener: () => void): () => void;
8473
8547
  }
8474
8548
  declare function useEngineSelector<TState, TSelected>(engine: EngineStateStore<TState>, selector: (state: TState) => TSelected, isEqual?: (a: TSelected, b: TSelected) => boolean): TSelected;
8475
8549
 
@@ -8489,4 +8563,4 @@ declare function dispatchAgentPlanPromptAction(input: {
8489
8563
  workspaceId: string;
8490
8564
  }): boolean;
8491
8565
 
8492
- export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AGENT_GUI_DETAIL_MIN_WIDTH_PX, AGENT_GUI_EXPANDED_TARGET_WIDTH_PX, AGENT_GUI_STANDALONE_AUTO_COLLAPSE_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 AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, type AgentExternalPromptEntryResolution, type AgentExternalPromptEntryResolver, type AgentExternalPromptFilePreparationErrorCode, type AgentExternalPromptFilePreparationResult, type AgentExternalPromptFilePreparer, AgentGUI, type AgentGUIAccountMenuState, 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 AgentGUIConversationRailLayout, 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 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 AgentUsageQuota, type AgentUsageSnapshot, type CreateAgentSessionHandoffPromptInput, type CreateAgentSessionMarkdownLinkInput, type EngineStateStore, type PersistWriteResult, type ReadWorkspaceAgentReadStateInput, type WorkspaceAgentReadStateSnapshot, type WriteWorkspaceAgentReadStateInput, agentGUIAgentIsReady, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentGuiI18nModule, agentGuiI18nResources, createAgentSessionHandoffPrompt, createAgentSessionMarkdownLink, createLocalAgentGUIAgentTarget, createLocalAgentGUIAgentTargets, createSharedAgentGUIAgentTarget, dispatchAgentPlanPromptAction, getAgentCustomMentionKind, localAgentGUIAgentTargetId, normalizeAgentGUIAgentTargets, normalizeAgentGUIAgents, preloadAgentMentionBrowse, projectAgentGUIAgentsToTargets, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resolveAgentGUIAgentTarget, resolveAgentGUIExpandedWindowFrame, resolveAgentGUISelectedDirectoryAgent, selectAgentPlanPromptTurn, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useEngineSelector, useOptionalAgentActivityRuntime };
8566
+ export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AGENT_GUI_DETAIL_MIN_WIDTH_PX, AGENT_GUI_EXPANDED_TARGET_WIDTH_PX, AGENT_GUI_STANDALONE_AUTO_COLLAPSE_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 AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, type AgentExternalPromptEntryResolution, type AgentExternalPromptEntryResolver, type AgentExternalPromptFilePreparationErrorCode, type AgentExternalPromptFilePreparationResult, type AgentExternalPromptFilePreparer, AgentGUI, type AgentGUIAccountMenuState, 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 AgentGUIConversationRailLayout, 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 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 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 CreateAgentSessionHandoffPromptInput, type CreateAgentSessionMarkdownLinkInput, type EngineStateStore, type PersistWriteResult, type ReadWorkspaceAgentReadStateInput, type WorkspaceAgentReadStateSnapshot, type WriteWorkspaceAgentReadStateInput, agentGUIAgentIsReady, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentGuiI18nModule, agentGuiI18nResources, createAgentSessionHandoffPrompt, createAgentSessionMarkdownLink, createAgentStatusController, createLocalAgentGUIAgentTarget, createLocalAgentGUIAgentTargets, createSharedAgentGUIAgentTarget, dispatchAgentPlanPromptAction, getAgentCustomMentionKind, localAgentGUIAgentTargetId, normalizeAgentGUIAgentTargets, normalizeAgentGUIAgents, preloadAgentMentionBrowse, projectAgentGUIAgentsToTargets, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resolveAgentGUIAgentTarget, resolveAgentGUIExpandedWindowFrame, resolveAgentGUISelectedDirectoryAgent, selectAgentPlanPromptTurn, selectAgentStatusControllerSnapshot, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useEngineSelector, useOptionalAgentActivityRuntime };
package/dist/index.js CHANGED
@@ -2,13 +2,15 @@ import {
2
2
  AgentGUI,
3
3
  AgentHandoffMenu,
4
4
  agentGUIDefaultTargetProviders,
5
+ createAgentStatusController,
5
6
  createLocalAgentGUIAgentTarget,
6
7
  createLocalAgentGUIAgentTargets,
7
8
  createSharedAgentGUIAgentTarget,
8
9
  localAgentGUIAgentTargetId,
9
10
  normalizeAgentGUIAgentTargets,
10
- resolveAgentGUIAgentTarget
11
- } from "./chunk-LQ6CK4GS.js";
11
+ resolveAgentGUIAgentTarget,
12
+ selectAgentStatusControllerSnapshot
13
+ } from "./chunk-7VPICMI3.js";
12
14
  import "./chunk-A4WCTHWS.js";
13
15
  import {
14
16
  AGENT_GUI_DETAIL_MIN_WIDTH_PX,
@@ -16,18 +18,18 @@ import {
16
18
  AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
17
19
  resolveAgentGUIExpandedWindowFrame,
18
20
  shouldAutoCollapseAgentGUIConversationRail
19
- } from "./chunk-Y3K2YTLD.js";
21
+ } from "./chunk-3QPFTVLN.js";
20
22
  import "./chunk-6II57C72.js";
21
23
  import "./chunk-YSA4MXR5.js";
22
24
  import "./chunk-MHOYBRCY.js";
23
25
  import "./chunk-SZVHT57M.js";
24
- import "./chunk-42KTGN4W.js";
25
- import "./chunk-C7RY5XMJ.js";
26
- import "./chunk-42W6JENH.js";
26
+ import "./chunk-5UTK6FDH.js";
27
+ import "./chunk-P5OTILPN.js";
28
+ import "./chunk-UPX5IC2U.js";
27
29
  import "./chunk-THBCAUBR.js";
28
30
  import "./chunk-UP3ZDYTN.js";
29
31
  import "./chunk-GUFEHWUX.js";
30
- import "./chunk-KDRU3NBW.js";
32
+ import "./chunk-EJM3JYAD.js";
31
33
  import {
32
34
  agentGUIAgentIsReady,
33
35
  normalizeAgentGUIAgents,
@@ -40,14 +42,14 @@ import {
40
42
  } from "./chunk-PQPNDL4A.js";
41
43
  import {
42
44
  preloadAgentMentionBrowse
43
- } from "./chunk-GMALB4L6.js";
45
+ } from "./chunk-ARJ63FKZ.js";
44
46
  import "./chunk-VMPA46ET.js";
45
47
  import "./chunk-XJ34OIEQ.js";
46
48
  import "./chunk-JDVP33S5.js";
47
49
  import {
48
50
  createAgentSessionHandoffPrompt,
49
51
  createAgentSessionMarkdownLink
50
- } from "./chunk-7M6STXDS.js";
52
+ } from "./chunk-K57GJTVC.js";
51
53
  import "./chunk-5QPOMKMQ.js";
52
54
  import {
53
55
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
@@ -59,13 +61,13 @@ import {
59
61
  import {
60
62
  dispatchAgentPlanPromptAction,
61
63
  selectAgentPlanPromptTurn
62
- } from "./chunk-OUOVA353.js";
64
+ } from "./chunk-ADZL6MLR.js";
63
65
  import {
64
66
  useEngineSelector
65
- } from "./chunk-2RQM7PJN.js";
66
- import "./chunk-5EHKHIFG.js";
67
+ } from "./chunk-EVQ4JY3N.js";
68
+ import "./chunk-P44BIVG6.js";
67
69
  import "./chunk-ZVYUTXQJ.js";
68
- import "./chunk-BHLX4ZFU.js";
70
+ import "./chunk-OKBVGNH7.js";
69
71
  import "./chunk-YMXYBG7U.js";
70
72
  import {
71
73
  AgentActivityHostProvider,
@@ -75,17 +77,17 @@ import {
75
77
  useAgentActivityRuntime,
76
78
  useAgentActivitySnapshot,
77
79
  useOptionalAgentActivityRuntime
78
- } from "./chunk-QEOAZW53.js";
80
+ } from "./chunk-7E2JZRSI.js";
79
81
  import "./chunk-F5UR6EJG.js";
80
82
  import "./chunk-ZWLWT3TZ.js";
81
83
  import {
82
84
  AgentGuiI18nProvider,
83
85
  agentGuiI18nModule,
84
86
  agentGuiI18nResources
85
- } from "./chunk-EZ6E3LVP.js";
87
+ } from "./chunk-CAZ7NYUE.js";
86
88
  import "./chunk-PJP5BUU6.js";
87
89
  import "./chunk-AODSTIED.js";
88
- import "./chunk-J4RQ2RTM.js";
90
+ import "./chunk-VGUKS6JR.js";
89
91
  import "./chunk-MIJXEELH.js";
90
92
  import {
91
93
  getAgentCustomMentionKind,
@@ -120,6 +122,7 @@ export {
120
122
  agentGuiI18nResources,
121
123
  createAgentSessionHandoffPrompt,
122
124
  createAgentSessionMarkdownLink,
125
+ createAgentStatusController,
123
126
  createLocalAgentGUIAgentTarget,
124
127
  createLocalAgentGUIAgentTargets,
125
128
  createSharedAgentGUIAgentTarget,
@@ -137,6 +140,7 @@ export {
137
140
  resolveAgentGUIExpandedWindowFrame,
138
141
  resolveAgentGUISelectedDirectoryAgent,
139
142
  selectAgentPlanPromptTurn,
143
+ selectAgentStatusControllerSnapshot,
140
144
  selectNeedsAttentionCount,
141
145
  selectNeedsAttentionItems,
142
146
  setAgentActivityRuntimeForTests,
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 {\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 { 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 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 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 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 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+KA;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 {\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 { 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 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 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 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 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgMA;AAAA,EACE;AAAA,EACA;AAAA,OACK;","names":[]}
@@ -3,22 +3,22 @@ import {
3
3
  MAX_BROWSE_CACHE_ENTRIES,
4
4
  preloadAgentMentionBrowse,
5
5
  resetAgentMentionSearchBrowseCacheForTests
6
- } from "./chunk-GMALB4L6.js";
6
+ } from "./chunk-ARJ63FKZ.js";
7
7
  import "./chunk-VMPA46ET.js";
8
8
  import "./chunk-XJ34OIEQ.js";
9
9
  import "./chunk-JDVP33S5.js";
10
- import "./chunk-7M6STXDS.js";
10
+ import "./chunk-K57GJTVC.js";
11
11
  import "./chunk-5QPOMKMQ.js";
12
12
  import "./chunk-RMQREVJY.js";
13
13
  import "./chunk-FGLQZ6I4.js";
14
14
  import "./chunk-YMXYBG7U.js";
15
- import "./chunk-QEOAZW53.js";
15
+ import "./chunk-7E2JZRSI.js";
16
16
  import "./chunk-F5UR6EJG.js";
17
17
  import "./chunk-ZWLWT3TZ.js";
18
- import "./chunk-EZ6E3LVP.js";
18
+ import "./chunk-CAZ7NYUE.js";
19
19
  import "./chunk-PJP5BUU6.js";
20
20
  import "./chunk-AODSTIED.js";
21
- import "./chunk-J4RQ2RTM.js";
21
+ import "./chunk-VGUKS6JR.js";
22
22
  import "./chunk-MIJXEELH.js";
23
23
  import "./chunk-D2JUDUYY.js";
24
24
  import "./chunk-LCFMJPNA.js";
@@ -2,7 +2,7 @@ import "../../chunk-DLCZJKCA.js";
2
2
  import "../../chunk-FGLQZ6I4.js";
3
3
  import {
4
4
  useEngineSelector
5
- } from "../../chunk-2RQM7PJN.js";
5
+ } from "../../chunk-EVQ4JY3N.js";
6
6
  import {
7
7
  registerAgentCustomMentionKind
8
8
  } from "../../chunk-D2JUDUYY.js";
@@ -18,17 +18,17 @@ import {
18
18
  resolveAgentGuiUnifiedDockLaunchPayload,
19
19
  resolveAgentGuiWorkbenchContributionCopy,
20
20
  resolveAgentGuiWorkbenchDefaultLaunchFrame
21
- } from "../chunk-Y3K2YTLD.js";
21
+ } from "../chunk-3QPFTVLN.js";
22
22
  import "../chunk-6II57C72.js";
23
23
  import "../chunk-YSA4MXR5.js";
24
24
  import "../chunk-MHOYBRCY.js";
25
25
  import "../chunk-SZVHT57M.js";
26
- import "../chunk-42KTGN4W.js";
26
+ import "../chunk-5UTK6FDH.js";
27
27
  import "../chunk-CX6XXG6R.js";
28
28
  import "../chunk-PQPNDL4A.js";
29
- import "../chunk-2RQM7PJN.js";
29
+ import "../chunk-EVQ4JY3N.js";
30
30
  import "../chunk-AODSTIED.js";
31
- import "../chunk-J4RQ2RTM.js";
31
+ import "../chunk-VGUKS6JR.js";
32
32
  import "../chunk-MIJXEELH.js";
33
33
  import "../chunk-LCFMJPNA.js";
34
34
  import "../chunk-5CLSJWUN.js";
@@ -14,7 +14,7 @@ import {
14
14
  resolveAgentGuiUnifiedDockLaunchPayload,
15
15
  resolveAgentGuiWorkbenchContributionCopy,
16
16
  resolveAgentGuiWorkbenchConversationIdentity
17
- } from "../chunk-Y3K2YTLD.js";
17
+ } from "../chunk-3QPFTVLN.js";
18
18
  import {
19
19
  areAgentGuiWorkbenchNodeStatesEqual,
20
20
  areAgentGuiWorkbenchStatesEqual,
@@ -56,12 +56,12 @@ import {
56
56
  import {
57
57
  resolveAgentGuiWorkbenchHeaderTitle,
58
58
  resolveAgentGuiWorkbenchSessionTitle
59
- } from "../chunk-42KTGN4W.js";
59
+ } from "../chunk-5UTK6FDH.js";
60
60
  import "../chunk-CX6XXG6R.js";
61
61
  import "../chunk-PQPNDL4A.js";
62
- import "../chunk-2RQM7PJN.js";
62
+ import "../chunk-EVQ4JY3N.js";
63
63
  import "../chunk-AODSTIED.js";
64
- import "../chunk-J4RQ2RTM.js";
64
+ import "../chunk-VGUKS6JR.js";
65
65
  import "../chunk-MIJXEELH.js";
66
66
  import "../chunk-LCFMJPNA.js";
67
67
  import "../chunk-5CLSJWUN.js";
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  resolveAgentGuiWorkbenchHeaderTitle,
3
3
  resolveAgentGuiWorkbenchSessionTitle
4
- } from "../chunk-42KTGN4W.js";
5
- import "../chunk-J4RQ2RTM.js";
4
+ } from "../chunk-5UTK6FDH.js";
5
+ import "../chunk-VGUKS6JR.js";
6
6
  import "../chunk-MIJXEELH.js";
7
7
  import "../chunk-5CLSJWUN.js";
8
8
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tutti-os/agent-gui",
3
- "version": "0.0.171",
3
+ "version": "0.0.172",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -139,18 +139,18 @@
139
139
  "dependencies": {
140
140
  "@monaco-editor/react": "^4.7.0",
141
141
  "@tanstack/react-virtual": "^3.13.12",
142
- "@tutti-os/agent-activity-core": "0.0.171",
143
- "@tutti-os/browser-node": "0.0.171",
144
- "@tutti-os/ui-i18n-runtime": "0.0.171",
145
- "@tutti-os/ui-react-hooks": "0.0.171",
146
- "@tutti-os/ui-rich-text": "0.0.171",
147
- "@tutti-os/ui-system": "0.0.171",
148
- "@tutti-os/workbench-surface": "0.0.171",
149
- "@tutti-os/workspace-external-core": "0.0.171",
150
- "@tutti-os/workspace-file-manager": "0.0.171",
151
- "@tutti-os/workspace-file-reference": "0.0.171",
152
- "@tutti-os/workspace-issue-manager": "0.0.171",
153
- "@tutti-os/workspace-user-project": "0.0.171",
142
+ "@tutti-os/agent-activity-core": "0.0.172",
143
+ "@tutti-os/browser-node": "0.0.172",
144
+ "@tutti-os/ui-i18n-runtime": "0.0.172",
145
+ "@tutti-os/ui-react-hooks": "0.0.172",
146
+ "@tutti-os/ui-rich-text": "0.0.172",
147
+ "@tutti-os/ui-system": "0.0.172",
148
+ "@tutti-os/workbench-surface": "0.0.172",
149
+ "@tutti-os/workspace-external-core": "0.0.172",
150
+ "@tutti-os/workspace-file-manager": "0.0.172",
151
+ "@tutti-os/workspace-file-reference": "0.0.172",
152
+ "@tutti-os/workspace-issue-manager": "0.0.172",
153
+ "@tutti-os/workspace-user-project": "0.0.172",
154
154
  "clsx": "^2.1.1",
155
155
  "framer-motion": "^12.40.0",
156
156
  "lodash": "^4.17.21",