@tutti-os/agent-gui 0.0.216 → 0.0.217

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 (70) hide show
  1. package/README.md +6 -0
  2. package/dist/{agentFileMentionContracts-BeBex-Sf.d.ts → AgentMentionSearchContracts-y1_u9cPi.d.ts} +73 -1
  3. package/dist/{AgentRichTextReadonly-IPPNAAWG.js → AgentRichTextReadonly-WZHUIARR.js} +7 -7
  4. package/dist/agent-conversation/index.js +9 -9
  5. package/dist/agent-gui.d.ts +16 -3
  6. package/dist/agent-gui.js +23 -22
  7. package/dist/agent-message-center/index.js +6 -6
  8. package/dist/app/renderer/agentactivity.css +93 -69
  9. package/dist/{chunk-VMPPZO5C.js → chunk-2QF3RBR4.js} +4 -4
  10. package/dist/{chunk-DTP2OMCE.js → chunk-44OCOBJS.js} +9 -11
  11. package/dist/chunk-44OCOBJS.js.map +1 -0
  12. package/dist/chunk-6GX57XB5.js +135 -0
  13. package/dist/chunk-6GX57XB5.js.map +1 -0
  14. package/dist/{chunk-EZRQMJTX.js → chunk-FS7EMOVD.js} +4 -4
  15. package/dist/{chunk-6A6OVD66.js → chunk-G2KRK7Z5.js} +44 -18
  16. package/dist/chunk-G2KRK7Z5.js.map +1 -0
  17. package/dist/{chunk-YY5WM3OE.js → chunk-GDLM6FLK.js} +90 -47
  18. package/dist/chunk-GDLM6FLK.js.map +1 -0
  19. package/dist/{chunk-UERICUWM.js → chunk-GLVENTN6.js} +2 -2
  20. package/dist/{chunk-B4TM2HYJ.js → chunk-JQOQETPN.js} +5 -5
  21. package/dist/{chunk-QFYOJMEQ.js → chunk-M6WEFXPL.js} +2 -2
  22. package/dist/{chunk-AOK22J62.js → chunk-N2M4B3G3.js} +2 -2
  23. package/dist/{chunk-DLN33TPF.js → chunk-NXQGAXIE.js} +8 -8
  24. package/dist/{chunk-MOCBHFJ2.js → chunk-O4QFGCLU.js} +42 -118
  25. package/dist/chunk-O4QFGCLU.js.map +1 -0
  26. package/dist/{chunk-Z5UJC4Q3.js → chunk-PPAV2TB4.js} +3 -3
  27. package/dist/{chunk-4CHBM3G3.js → chunk-SUVMLCED.js} +5 -5
  28. package/dist/{chunk-KJA3HHUJ.js → chunk-TKECUCUW.js} +529 -291
  29. package/dist/chunk-TKECUCUW.js.map +1 -0
  30. package/dist/{chunk-P2RIZAK5.js → chunk-ZXEICU6J.js} +3 -1
  31. package/dist/chunk-ZXEICU6J.js.map +1 -0
  32. package/dist/context-mention-palette/index.d.ts +3 -3
  33. package/dist/context-mention-palette/index.js +12 -12
  34. package/dist/headerLayout-CP4ujEbo.d.ts +14 -0
  35. package/dist/i18n/index.d.ts +2 -0
  36. package/dist/i18n/index.js +2 -2
  37. package/dist/index.d.ts +77 -46
  38. package/dist/index.js +46 -39
  39. package/dist/index.js.map +1 -1
  40. package/dist/layout.d.ts +7 -0
  41. package/dist/layout.js +9 -0
  42. package/dist/layout.js.map +1 -0
  43. package/dist/mention-search.d.ts +6 -73
  44. package/dist/mention-search.js +8 -8
  45. package/dist/workbench/browser-element-context/index.js +2 -2
  46. package/dist/workbench/contribution.js +7 -6
  47. package/dist/workbench/index.d.ts +3 -1
  48. package/dist/workbench/index.js +10 -9
  49. package/dist/workbench/launch.js +2 -2
  50. package/dist/workbench/sessionTitle.js +2 -2
  51. package/dist/workbench/tool-sidebar/index.d.ts +14 -13
  52. package/dist/workbench/tool-sidebar/index.js +66 -55
  53. package/dist/workbench/tool-sidebar/index.js.map +1 -1
  54. package/package.json +23 -16
  55. package/dist/chunk-6A6OVD66.js.map +0 -1
  56. package/dist/chunk-DTP2OMCE.js.map +0 -1
  57. package/dist/chunk-KJA3HHUJ.js.map +0 -1
  58. package/dist/chunk-MOCBHFJ2.js.map +0 -1
  59. package/dist/chunk-P2RIZAK5.js.map +0 -1
  60. package/dist/chunk-YY5WM3OE.js.map +0 -1
  61. /package/dist/{AgentRichTextReadonly-IPPNAAWG.js.map → AgentRichTextReadonly-WZHUIARR.js.map} +0 -0
  62. /package/dist/{chunk-VMPPZO5C.js.map → chunk-2QF3RBR4.js.map} +0 -0
  63. /package/dist/{chunk-EZRQMJTX.js.map → chunk-FS7EMOVD.js.map} +0 -0
  64. /package/dist/{chunk-UERICUWM.js.map → chunk-GLVENTN6.js.map} +0 -0
  65. /package/dist/{chunk-B4TM2HYJ.js.map → chunk-JQOQETPN.js.map} +0 -0
  66. /package/dist/{chunk-QFYOJMEQ.js.map → chunk-M6WEFXPL.js.map} +0 -0
  67. /package/dist/{chunk-AOK22J62.js.map → chunk-N2M4B3G3.js.map} +0 -0
  68. /package/dist/{chunk-DLN33TPF.js.map → chunk-NXQGAXIE.js.map} +0 -0
  69. /package/dist/{chunk-Z5UJC4Q3.js.map → chunk-PPAV2TB4.js.map} +0 -0
  70. /package/dist/{chunk-4CHBM3G3.js.map → chunk-SUVMLCED.js.map} +0 -0
@@ -1,7 +1,7 @@
1
- import { A as AgentContextMentionItem } from '../agentFileMentionContracts-BeBex-Sf.js';
2
- import { AgentMentionSearchState, AgentMentionBrowseCategory, AgentMentionFilterId, AgentMentionGroupId } from '../mention-search.js';
3
- export { AgentMentionGroup, AgentMentionSearchController } from '../mention-search.js';
1
+ import { l as AgentMentionSearchState, A as AgentContextMentionItem, a as AgentMentionBrowseCategory, b as AgentMentionFilterId, d as AgentMentionGroupId } from '../AgentMentionSearchContracts-y1_u9cPi.js';
2
+ export { c as AgentMentionGroup } from '../AgentMentionSearchContracts-y1_u9cPi.js';
4
3
  import { ReactNode } from 'react';
4
+ export { AgentMentionSearchController } from '../mention-search.js';
5
5
  export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AgentContextMentionInsertResult, AgentContextMentionProvider, AgentContextMentionProviderId, AgentContextMentionQueryInput } from '../context-mention-provider.js';
6
6
  import '@tutti-os/ui-rich-text/at-panel';
7
7
  import '@tutti-os/workspace-file-reference/contracts';
@@ -3,29 +3,29 @@ import {
3
3
  AgentFileMentionPalette,
4
4
  flattenAgentMentionPaletteEntries,
5
5
  groupStartKeys
6
- } from "../chunk-DTP2OMCE.js";
6
+ } from "../chunk-44OCOBJS.js";
7
+ import "../chunk-N2M4B3G3.js";
7
8
  import {
8
9
  AgentMentionSearchController
9
- } from "../chunk-6A6OVD66.js";
10
+ } from "../chunk-G2KRK7Z5.js";
10
11
  import "../chunk-VMPA46ET.js";
12
+ import "../chunk-YMXYBG7U.js";
11
13
  import "../chunk-XJ34OIEQ.js";
12
- import "../chunk-B4TM2HYJ.js";
14
+ import "../chunk-JQOQETPN.js";
13
15
  import "../chunk-JDVP33S5.js";
14
16
  import "../chunk-3V5OCA2M.js";
15
- import {
16
- AGENT_CONTEXT_MENTION_PROVIDER_IDS
17
- } from "../chunk-RMQREVJY.js";
18
- import "../chunk-FGLQZ6I4.js";
19
- import "../chunk-AOK22J62.js";
20
- import "../chunk-YMXYBG7U.js";
21
- import "../chunk-QFYOJMEQ.js";
17
+ import "../chunk-M6WEFXPL.js";
22
18
  import "../chunk-M6HTOCQK.js";
23
19
  import "../chunk-F5UR6EJG.js";
24
- import "../chunk-UERICUWM.js";
20
+ import "../chunk-GLVENTN6.js";
25
21
  import "../chunk-5BJYO6X3.js";
26
22
  import "../chunk-AFUVWWQY.js";
27
- import "../chunk-P2RIZAK5.js";
28
23
  import "../chunk-MIJXEELH.js";
24
+ import "../chunk-ZXEICU6J.js";
25
+ import {
26
+ AGENT_CONTEXT_MENTION_PROVIDER_IDS
27
+ } from "../chunk-RMQREVJY.js";
28
+ import "../chunk-FGLQZ6I4.js";
29
29
  import "../chunk-D2JUDUYY.js";
30
30
  import "../chunk-QNE2ZPPV.js";
31
31
  import "../chunk-O433KXLK.js";
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ interface AgentToolSidebarHeaderLayout {
4
+ actions: ReactNode;
5
+ isSidebarOpen: boolean;
6
+ layoutWidthPx: number;
7
+ }
8
+ interface AgentToolSidebarHeaderContract {
9
+ layout: "overlay" | "stacked";
10
+ owner: "host" | "window";
11
+ render(layout: AgentToolSidebarHeaderLayout): ReactNode;
12
+ }
13
+
14
+ export type { AgentToolSidebarHeaderContract as A, AgentToolSidebarHeaderLayout as a };
@@ -965,6 +965,7 @@ declare const agentGuiI18nResources: {
965
965
  readonly slashStatusContext: "Context";
966
966
  readonly slashStatusLimits: "Usage Limits";
967
967
  readonly slashStatusAccount: "Account";
968
+ readonly slashStatusProviderAccount: "{{provider}} Account";
968
969
  readonly slashStatusClose: "Close";
969
970
  readonly slashStatusFiveHourLimit: "5h limit";
970
971
  readonly slashStatusWeeklyLimit: "7d limit";
@@ -3961,6 +3962,7 @@ declare const agentGuiI18nResources: {
3961
3962
  readonly slashStatusContext: "上下文";
3962
3963
  readonly slashStatusLimits: "限制";
3963
3964
  readonly slashStatusAccount: "账户";
3965
+ readonly slashStatusProviderAccount: "{{provider}} 账户";
3964
3966
  readonly slashStatusClose: "关闭";
3965
3967
  readonly slashStatusFiveHourLimit: "5h limit";
3966
3968
  readonly slashStatusWeeklyLimit: "7d limit";
@@ -6,8 +6,8 @@ import {
6
6
  translate,
7
7
  translateInUiLanguage,
8
8
  useTranslation
9
- } from "../chunk-UERICUWM.js";
10
- import "../chunk-P2RIZAK5.js";
9
+ } from "../chunk-GLVENTN6.js";
10
+ import "../chunk-ZXEICU6J.js";
11
11
  export {
12
12
  AgentGuiI18nProvider,
13
13
  agentGuiI18nModule,
package/dist/index.d.ts CHANGED
@@ -3398,6 +3398,7 @@ declare const agentGuiI18nResources: {
3398
3398
  readonly slashStatusContext: "Context";
3399
3399
  readonly slashStatusLimits: "Usage Limits";
3400
3400
  readonly slashStatusAccount: "Account";
3401
+ readonly slashStatusProviderAccount: "{{provider}} Account";
3401
3402
  readonly slashStatusClose: "Close";
3402
3403
  readonly slashStatusFiveHourLimit: "5h limit";
3403
3404
  readonly slashStatusWeeklyLimit: "7d limit";
@@ -6394,6 +6395,7 @@ declare const agentGuiI18nResources: {
6394
6395
  readonly slashStatusContext: "上下文";
6395
6396
  readonly slashStatusLimits: "限制";
6396
6397
  readonly slashStatusAccount: "账户";
6398
+ readonly slashStatusProviderAccount: "{{provider}} 账户";
6397
6399
  readonly slashStatusClose: "关闭";
6398
6400
  readonly slashStatusFiveHourLimit: "5h limit";
6399
6401
  readonly slashStatusWeeklyLimit: "7d limit";
@@ -8079,10 +8081,54 @@ interface AgentQuickPromptLabels {
8079
8081
  useTemplate: string;
8080
8082
  }
8081
8083
 
8084
+ declare const AGENT_CONTEXT_MENTION_PROVIDER_IDS: {
8085
+ readonly agentGeneratedFile: "agent-generated-file";
8086
+ readonly agentSession: "agent-session";
8087
+ readonly agentTarget: "agent-target";
8088
+ readonly file: "file";
8089
+ readonly workspaceApp: "workspace-app";
8090
+ readonly workspaceIssue: "workspace-issue";
8091
+ readonly workspaceModel: "workspace-model";
8092
+ };
8093
+ type AgentContextMentionProviderId = TuttiExternalAtProviderId;
8094
+ type AgentContextMentionQueryInput = RichTextTriggerQueryInput & {
8095
+ trigger: "@";
8096
+ };
8097
+ interface AgentContextMentionDirectoryDescriptor {
8098
+ /** Canonical provider-owned directory path used for child queries. */
8099
+ path: string;
8100
+ /** Number of direct children when the provider can determine it. */
8101
+ childCount?: number | null;
8102
+ }
8103
+ type AgentContextMentionDirectoryQueryInput = AgentContextMentionQueryInput & {
8104
+ directoryPath: string;
8105
+ };
8106
+ type AgentContextMentionProvider<TItem = any> = Omit<RichTextTriggerProvider<TItem>, "trigger"> & {
8107
+ trigger: "@";
8108
+ /** Optional hierarchy contract for file providers. */
8109
+ getItemDirectory?(item: TItem): AgentContextMentionDirectoryDescriptor | null | undefined;
8110
+ /** Lists the direct children of one directory without overloading keyword search. */
8111
+ queryDirectory?(input: AgentContextMentionDirectoryQueryInput): Promise<readonly TItem[]> | readonly TItem[];
8112
+ };
8113
+
8114
+ declare function preloadAgentMentionBrowse(input: {
8115
+ workspaceId: string;
8116
+ currentUserId?: string | null;
8117
+ sectionKey?: string | null;
8118
+ sessionCwd?: string | null;
8119
+ contextMentionProviders?: readonly AgentContextMentionProvider[];
8120
+ filter?: AgentMentionFilterId;
8121
+ }): void;
8122
+
8123
+ type AgentMentionFilterId = "session" | "file" | "issue" | "agent" | "app";
8124
+
8082
8125
  interface AgentComposerReferenceProvenanceFilter {
8083
8126
  snapshot: ReferenceProvenanceFilterSnapshot;
8084
8127
  controller: Pick<ReferenceProvenanceFilterController, "reset" | "toggle" | "toggleAll">;
8085
8128
  }
8129
+ interface AgentComposerReferenceProvenanceFilters {
8130
+ byFilter: Record<AgentMentionFilterId, AgentComposerReferenceProvenanceFilter>;
8131
+ }
8086
8132
  interface AgentComposerSubmitOptions {
8087
8133
  requiredSettingsPatch?: AgentActivitySubmitSettingsPatch;
8088
8134
  capabilityRefs?: readonly AgentComposerCapabilityReference[];
@@ -8427,7 +8473,7 @@ interface AgentComposerProps {
8427
8473
  path: string;
8428
8474
  } | null>;
8429
8475
  onRequestGitBranches?: AgentComposerGitBranchLoader | null;
8430
- referenceProvenanceFilter?: AgentComposerReferenceProvenanceFilter | null;
8476
+ referenceProvenanceFilters?: AgentComposerReferenceProvenanceFilters | null;
8431
8477
  }
8432
8478
  type AgentComposerCapabilitySettingsTarget = Exclude<AgentSlashCommandCapability["capability"], "tutti">;
8433
8479
  interface AgentComposerCapabilityMenuState {
@@ -8982,7 +9028,12 @@ interface AgentGUINodeFrameLayout {
8982
9028
  /** Host-projected presentation visibility. Independent from node focus. */
8983
9029
  isVisible?: boolean;
8984
9030
  embedded?: boolean;
8985
- conversationRailAutoCollapseWidthPx?: number | null;
9031
+ /**
9032
+ * Standalone windows preserve the middle conversation width and collapse
9033
+ * the conversation Rail before it can be compressed. Other surfaces retain
9034
+ * the default responsive policy.
9035
+ */
9036
+ conversationRailAutoCollapseMode?: "preserve-middle-content";
8986
9037
  }
8987
9038
  type AgentGUISessionActionRequest = AgentGuiWorkbenchSessionActionRequest;
8988
9039
  interface AgentGUINodeRuntimeRequests {
@@ -9062,6 +9113,7 @@ interface AgentGUINodeHostActions {
9062
9113
  onConversationRailLayoutChange?: (layout: AgentGUIConversationRailLayout) => void;
9063
9114
  }
9064
9115
  interface AgentGUINodeRenderSlots {
9116
+ projectDirectoryPickerHeaderActions?: ReferenceSourcePickerProps["renderHeaderActions"];
9065
9117
  providerRailEmpty?: AgentGUIAgentsEmptyRenderer;
9066
9118
  providerUnavailableState?: AgentGUIProviderUnavailableStateRenderer;
9067
9119
  sidebarFooter?: (ctx: AgentGUISidebarFooterContext) => ReactNode;
@@ -9172,8 +9224,15 @@ declare const agentGuiDockIconUrls: Record<string, string>;
9172
9224
  declare const agentGuiDockIconUrl: string | undefined;
9173
9225
 
9174
9226
  declare const AGENT_GUI_DETAIL_MIN_WIDTH_PX = 220;
9175
- declare const AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX: number;
9227
+ declare const AGENT_GUI_COLLAPSED_MIN_WIDTH_PX = 460;
9228
+ declare const AGENT_GUI_STANDALONE_MIDDLE_CONTENT_MIN_WIDTH_PX: number;
9176
9229
  declare const AGENT_GUI_EXPANDED_TARGET_WIDTH_PX = 800;
9230
+ interface AgentGUIConversationRailPresentation {
9231
+ conversationRailWidthPx: number;
9232
+ isAutoCollapsed: boolean;
9233
+ isCollapsed: boolean;
9234
+ }
9235
+ type AgentGUIConversationRailAutoCollapseMode = "default" | "preserve-middle-content";
9177
9236
  interface AgentGUIExpandedWindowFrameInput {
9178
9237
  position: {
9179
9238
  x: number;
@@ -9187,7 +9246,20 @@ interface AgentGUIExpandedWindowFrameInput {
9187
9246
  };
9188
9247
  conversationRailWidthPx: number | null | undefined;
9189
9248
  }
9190
- declare function shouldAutoCollapseAgentGUIConversationRail(containerWidthPx: number, autoCollapseWidthPx?: number): boolean;
9249
+ declare function shouldAutoCollapseAgentGUIConversationRail(containerWidthPx: number, options?: {
9250
+ mode?: AgentGUIConversationRailAutoCollapseMode;
9251
+ conversationRailWidthPx?: number | null;
9252
+ }): boolean;
9253
+ declare function resolveAgentGUIConversationRailPresentation(input: {
9254
+ autoCollapseMode?: AgentGUIConversationRailAutoCollapseMode;
9255
+ containerWidthPx: number;
9256
+ conversationRailCollapsed?: boolean | null;
9257
+ conversationRailWidthPx?: number | null;
9258
+ }): AgentGUIConversationRailPresentation;
9259
+ declare function resolveStandaloneAgentGUIViewportMinimumWidthPx(input: {
9260
+ conversationRailCollapsed?: boolean | null;
9261
+ conversationRailWidthPx?: number | null;
9262
+ }): number;
9191
9263
  declare function resolveAgentGUIExpandedWindowFrame(input: AgentGUIExpandedWindowFrameInput): {
9192
9264
  position: {
9193
9265
  x: number;
@@ -9199,47 +9271,6 @@ declare function resolveAgentGUIExpandedWindowFrame(input: AgentGUIExpandedWindo
9199
9271
  };
9200
9272
  };
9201
9273
 
9202
- declare const AGENT_CONTEXT_MENTION_PROVIDER_IDS: {
9203
- readonly agentGeneratedFile: "agent-generated-file";
9204
- readonly agentSession: "agent-session";
9205
- readonly agentTarget: "agent-target";
9206
- readonly file: "file";
9207
- readonly workspaceApp: "workspace-app";
9208
- readonly workspaceIssue: "workspace-issue";
9209
- readonly workspaceModel: "workspace-model";
9210
- };
9211
- type AgentContextMentionProviderId = TuttiExternalAtProviderId;
9212
- type AgentContextMentionQueryInput = RichTextTriggerQueryInput & {
9213
- trigger: "@";
9214
- };
9215
- interface AgentContextMentionDirectoryDescriptor {
9216
- /** Canonical provider-owned directory path used for child queries. */
9217
- path: string;
9218
- /** Number of direct children when the provider can determine it. */
9219
- childCount?: number | null;
9220
- }
9221
- type AgentContextMentionDirectoryQueryInput = AgentContextMentionQueryInput & {
9222
- directoryPath: string;
9223
- };
9224
- type AgentContextMentionProvider<TItem = any> = Omit<RichTextTriggerProvider<TItem>, "trigger"> & {
9225
- trigger: "@";
9226
- /** Optional hierarchy contract for file providers. */
9227
- getItemDirectory?(item: TItem): AgentContextMentionDirectoryDescriptor | null | undefined;
9228
- /** Lists the direct children of one directory without overloading keyword search. */
9229
- queryDirectory?(input: AgentContextMentionDirectoryQueryInput): Promise<readonly TItem[]> | readonly TItem[];
9230
- };
9231
-
9232
- type AgentMentionFilterId = "session" | "file" | "issue" | "agent" | "app";
9233
-
9234
- declare function preloadAgentMentionBrowse(input: {
9235
- workspaceId: string;
9236
- currentUserId?: string | null;
9237
- sectionKey?: string | null;
9238
- sessionCwd?: string | null;
9239
- contextMentionProviders?: readonly AgentContextMentionProvider[];
9240
- filter?: AgentMentionFilterId;
9241
- }): void;
9242
-
9243
9274
  interface AgentActivityHostProviderProps extends PropsWithChildren {
9244
9275
  agentActivityRuntime?: AgentActivityRuntime | null;
9245
9276
  agentHostApi?: AgentHostInputApi | null;
@@ -9274,4 +9305,4 @@ declare function dispatchAgentPlanPromptAction(input: {
9274
9305
  workspaceId: string;
9275
9306
  }): boolean;
9276
9307
 
9277
- export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AGENT_CONVERSATION_RAIL_RUNTIME_METHODS, 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 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 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 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, resolveAgentGUIExpandedWindowFrame, resolveAgentGUISelectedDirectoryAgent, selectAgentPlanPromptTurn, selectAgentStatusControllerSnapshot, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useEngineSelector, useOptionalAgentActivityRuntime };
9308
+ 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 };
package/dist/index.js CHANGED
@@ -10,31 +10,36 @@ import {
10
10
  normalizeAgentGUIAgentTargets,
11
11
  resolveAgentGUIAgentTarget,
12
12
  selectAgentStatusControllerSnapshot
13
- } from "./chunk-KJA3HHUJ.js";
13
+ } from "./chunk-TKECUCUW.js";
14
14
  import {
15
15
  AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,
16
16
  createAgentConversationRailRuntime,
17
17
  inspectAgentConversationBatchDeletionCapability
18
18
  } from "./chunk-LB4AGT7B.js";
19
19
  import "./chunk-A4WCTHWS.js";
20
- import {
21
- AGENT_GUI_DETAIL_MIN_WIDTH_PX,
22
- AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,
23
- AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
24
- resolveAgentGUIExpandedWindowFrame,
25
- shouldAutoCollapseAgentGUIConversationRail
26
- } from "./chunk-MOCBHFJ2.js";
27
- import "./chunk-VMPPZO5C.js";
20
+ import "./chunk-O4QFGCLU.js";
21
+ import "./chunk-2QF3RBR4.js";
28
22
  import "./chunk-KDN6SLJM.js";
29
- import "./chunk-4CHBM3G3.js";
30
- import "./chunk-CBMWHQ7P.js";
23
+ import "./chunk-SUVMLCED.js";
31
24
  import "./chunk-MGSRWYRN.js";
32
- import "./chunk-YY5WM3OE.js";
33
- import "./chunk-DLN33TPF.js";
25
+ import "./chunk-CBMWHQ7P.js";
26
+ import {
27
+ dispatchAgentPlanPromptAction,
28
+ selectAgentPlanPromptTurn
29
+ } from "./chunk-FS7EMOVD.js";
30
+ import {
31
+ useEngineSelector
32
+ } from "./chunk-EVQ4JY3N.js";
33
+ import "./chunk-GDLM6FLK.js";
34
+ import "./chunk-NXQGAXIE.js";
35
+ import "./chunk-PPAV2TB4.js";
36
+ import "./chunk-LQMIEH4C.js";
37
+ import "./chunk-FMTWYOHM.js";
34
38
  import "./chunk-N4HLBSMJ.js";
35
39
  import "./chunk-UP3ZDYTN.js";
36
40
  import "./chunk-GUFEHWUX.js";
37
- import "./chunk-DTP2OMCE.js";
41
+ import "./chunk-44OCOBJS.js";
42
+ import "./chunk-N2M4B3G3.js";
38
43
  import {
39
44
  agentGUIAgentIsReady,
40
45
  normalizeAgentGUIAgents,
@@ -45,36 +50,28 @@ import {
45
50
  agentGuiDockIconUrl,
46
51
  agentGuiDockIconUrls
47
52
  } from "./chunk-G7DS23D4.js";
53
+ import {
54
+ AGENT_GUI_COLLAPSED_MIN_WIDTH_PX,
55
+ AGENT_GUI_DETAIL_MIN_WIDTH_PX,
56
+ AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,
57
+ AGENT_GUI_STANDALONE_MIDDLE_CONTENT_MIN_WIDTH_PX,
58
+ resolveAgentGUIConversationRailPresentation,
59
+ resolveAgentGUIExpandedWindowFrame,
60
+ resolveStandaloneAgentGUIViewportMinimumWidthPx,
61
+ shouldAutoCollapseAgentGUIConversationRail
62
+ } from "./chunk-6GX57XB5.js";
48
63
  import {
49
64
  preloadAgentMentionBrowse
50
- } from "./chunk-6A6OVD66.js";
65
+ } from "./chunk-G2KRK7Z5.js";
51
66
  import "./chunk-VMPA46ET.js";
67
+ import "./chunk-YMXYBG7U.js";
52
68
  import "./chunk-XJ34OIEQ.js";
53
69
  import {
54
70
  createAgentSessionHandoffPrompt,
55
71
  createAgentSessionMarkdownLink
56
- } from "./chunk-B4TM2HYJ.js";
72
+ } from "./chunk-JQOQETPN.js";
57
73
  import "./chunk-JDVP33S5.js";
58
74
  import "./chunk-3V5OCA2M.js";
59
- import {
60
- AGENT_CONTEXT_MENTION_PROVIDER_IDS
61
- } from "./chunk-RMQREVJY.js";
62
- import {
63
- AGENT_PASTED_TEXT_BLOCK_KIND,
64
- AGENT_PASTED_TEXT_MENTION_KIND
65
- } from "./chunk-FGLQZ6I4.js";
66
- import {
67
- dispatchAgentPlanPromptAction,
68
- selectAgentPlanPromptTurn
69
- } from "./chunk-EZRQMJTX.js";
70
- import {
71
- useEngineSelector
72
- } from "./chunk-EVQ4JY3N.js";
73
- import "./chunk-Z5UJC4Q3.js";
74
- import "./chunk-LQMIEH4C.js";
75
- import "./chunk-FMTWYOHM.js";
76
- import "./chunk-AOK22J62.js";
77
- import "./chunk-YMXYBG7U.js";
78
75
  import {
79
76
  AgentActivityHostProvider,
80
77
  AgentActivityRuntimeProvider,
@@ -83,18 +80,25 @@ import {
83
80
  useAgentActivityRuntime,
84
81
  useAgentActivitySnapshot,
85
82
  useOptionalAgentActivityRuntime
86
- } from "./chunk-QFYOJMEQ.js";
83
+ } from "./chunk-M6WEFXPL.js";
87
84
  import "./chunk-M6HTOCQK.js";
88
85
  import "./chunk-F5UR6EJG.js";
89
86
  import {
90
87
  AgentGuiI18nProvider,
91
88
  agentGuiI18nModule,
92
89
  agentGuiI18nResources
93
- } from "./chunk-UERICUWM.js";
90
+ } from "./chunk-GLVENTN6.js";
94
91
  import "./chunk-5BJYO6X3.js";
95
92
  import "./chunk-AFUVWWQY.js";
96
- import "./chunk-P2RIZAK5.js";
97
93
  import "./chunk-MIJXEELH.js";
94
+ import "./chunk-ZXEICU6J.js";
95
+ import {
96
+ AGENT_CONTEXT_MENTION_PROVIDER_IDS
97
+ } from "./chunk-RMQREVJY.js";
98
+ import {
99
+ AGENT_PASTED_TEXT_BLOCK_KIND,
100
+ AGENT_PASTED_TEXT_MENTION_KIND
101
+ } from "./chunk-FGLQZ6I4.js";
98
102
  import {
99
103
  getAgentCustomMentionKind,
100
104
  registerAgentCustomMentionKind,
@@ -111,9 +115,10 @@ import {
111
115
  export {
112
116
  AGENT_CONTEXT_MENTION_PROVIDER_IDS,
113
117
  AGENT_CONVERSATION_RAIL_RUNTIME_METHODS,
118
+ AGENT_GUI_COLLAPSED_MIN_WIDTH_PX,
114
119
  AGENT_GUI_DETAIL_MIN_WIDTH_PX,
115
120
  AGENT_GUI_EXPANDED_TARGET_WIDTH_PX,
116
- AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
121
+ AGENT_GUI_STANDALONE_MIDDLE_CONTENT_MIN_WIDTH_PX,
117
122
  AGENT_PASTED_TEXT_BLOCK_KIND,
118
123
  AGENT_PASTED_TEXT_MENTION_KIND,
119
124
  AgentActivityHostProvider,
@@ -146,8 +151,10 @@ export {
146
151
  resetAgentActivityRuntimeForTests,
147
152
  resetAgentCustomMentionKindsForTests,
148
153
  resolveAgentGUIAgentTarget,
154
+ resolveAgentGUIConversationRailPresentation,
149
155
  resolveAgentGUIExpandedWindowFrame,
150
156
  resolveAgentGUISelectedDirectoryAgent,
157
+ resolveStandaloneAgentGUIViewportMinimumWidthPx,
151
158
  selectAgentPlanPromptTurn,
152
159
  selectAgentStatusControllerSnapshot,
153
160
  selectNeedsAttentionCount,
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_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 {\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+NA;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 {\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":[]}
@@ -0,0 +1,7 @@
1
+ declare const AGENT_GUI_COLLAPSED_MIN_WIDTH_PX = 460;
2
+ declare function resolveStandaloneAgentGUIViewportMinimumWidthPx(input: {
3
+ conversationRailCollapsed?: boolean | null;
4
+ conversationRailWidthPx?: number | null;
5
+ }): number;
6
+
7
+ export { AGENT_GUI_COLLAPSED_MIN_WIDTH_PX, resolveStandaloneAgentGUIViewportMinimumWidthPx };
package/dist/layout.js ADDED
@@ -0,0 +1,9 @@
1
+ import {
2
+ AGENT_GUI_COLLAPSED_MIN_WIDTH_PX,
3
+ resolveStandaloneAgentGUIViewportMinimumWidthPx
4
+ } from "./chunk-6GX57XB5.js";
5
+ export {
6
+ AGENT_GUI_COLLAPSED_MIN_WIDTH_PX,
7
+ resolveStandaloneAgentGUIViewportMinimumWidthPx
8
+ };
9
+ //# sourceMappingURL=layout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1,79 +1,11 @@
1
- import { A as AgentContextMentionItem } from './agentFileMentionContracts-BeBex-Sf.js';
1
+ import { g as AgentMentionProviderQueryDiagnostic, h as AgentMentionRawGroups, m as AgentMentionTotalCounts, e as AgentMentionIssueTopicGroup, j as AgentMentionSearchDiagnosticLog, k as AgentMentionSearchListener, d as AgentMentionGroupId, b as AgentMentionFilterId, l as AgentMentionSearchState, i as AgentMentionSearchControllerOptions, f as AgentMentionLifecycleDiagnosticLog, R as RuntimeDiagnosticsDetailValue, A as AgentContextMentionItem, c as AgentMentionGroup } from './AgentMentionSearchContracts-y1_u9cPi.js';
2
+ export { a as AgentMentionBrowseCategory } from './AgentMentionSearchContracts-y1_u9cPi.js';
2
3
  import { AgentContextMentionProvider } from './context-mention-provider.js';
3
- import { MentionPaletteGroup, MentionPaletteState } from '@tutti-os/ui-rich-text/at-panel';
4
4
  import { ReferenceProvenanceFilter, ReferenceProvenanceCatalog } from '@tutti-os/workspace-file-reference/contracts';
5
+ import '@tutti-os/ui-rich-text/at-panel';
5
6
  import '@tutti-os/ui-rich-text/types';
6
7
  import '@tutti-os/workspace-external-core/contracts';
7
8
 
8
- type RuntimeDiagnosticsDetailValue = string | number | boolean | null;
9
-
10
- type AgentMentionProviderDiagnosticStatus = "success" | "timeout" | "error" | "missing";
11
- interface AgentMentionProviderQueryDiagnostic {
12
- durationMs: number;
13
- errorKind?: string;
14
- providerId: string;
15
- resultCount: number;
16
- status: AgentMentionProviderDiagnosticStatus;
17
- }
18
- interface AgentMentionSearchDiagnosticLog {
19
- debounceMs: number;
20
- durationMs: number;
21
- errorKind?: string;
22
- event: "agent_gui.mention_search";
23
- filter: AgentMentionFilterId;
24
- groupCount: number;
25
- itemCount: number;
26
- mode: "browse" | "results";
27
- providerResults: AgentMentionProviderQueryDiagnostic[];
28
- providerTimeoutMs: number;
29
- queryLength: number;
30
- requestId: number;
31
- status: "ready" | "error";
32
- workspaceId: string;
33
- }
34
-
35
- type AgentMentionFilterId = "session" | "file" | "issue" | "agent" | "app";
36
- type AgentMentionStaticGroupId = "apps" | "agents" | "files" | "opened_files" | "agent_generated_files" | "my_sessions" | "collab_sessions" | "issues";
37
- type AgentMentionIssueTopicGroupId = `issue-topic:${string}`;
38
- type AgentMentionProvenanceGroupId = `agent:${string}`;
39
- type AgentMentionMemberGroupId = `member:${string}`;
40
- type AgentMentionGroupId = AgentMentionStaticGroupId | AgentMentionIssueTopicGroupId | AgentMentionProvenanceGroupId | AgentMentionMemberGroupId;
41
- type AgentMentionRawGroupId = Exclude<AgentMentionStaticGroupId, "files" | "my_sessions" | "collab_sessions"> | "sessions";
42
- type AgentMentionRawGroups = Record<AgentMentionRawGroupId, AgentContextMentionItem[]>;
43
- type AgentMentionTotalCounts = Partial<Record<AgentMentionGroupId, number>>;
44
- interface AgentMentionIssueTopicGroup {
45
- id: `issue-topic:${string}`;
46
- providerGroupId: string;
47
- label: string;
48
- items: AgentContextMentionItem[];
49
- totalCount: number;
50
- nextPageToken: string | null;
51
- loadMoreStatus: "idle" | "loading" | "error";
52
- loadMoreError: string | null;
53
- }
54
- interface AgentMentionBrowseCategory {
55
- id: AgentMentionFilterId;
56
- label: string;
57
- }
58
- type AgentMentionGroup = MentionPaletteGroup<AgentContextMentionItem>;
59
- type AgentMentionSearchState = MentionPaletteState<AgentContextMentionItem>;
60
- interface AgentMentionSearchControllerOptions {
61
- contextMentionProviders?: readonly AgentContextMentionProvider[];
62
- debounceMs?: number;
63
- fileLimit?: number;
64
- issueLimit?: number;
65
- browseCacheTtlMs?: number;
66
- providerTimeoutMs?: number;
67
- diagnosticInfoLogger?: (payload: AgentMentionSearchDiagnosticLog) => void;
68
- diagnosticNow?: () => number;
69
- diagnosticSlowThresholdMs?: number;
70
- }
71
- type AgentMentionSearchListener = (state: AgentMentionSearchState) => void;
72
- interface AgentMentionLifecycleDiagnosticLog {
73
- event: "browse.open" | "browse.preload" | "browse.cache" | "browse.fetch.start" | "browse.fetch.dedupe" | "browse.fetch.success" | "browse.fetch.error" | "browse.apply.skipped";
74
- details: Record<string, RuntimeDiagnosticsDetailValue>;
75
- }
76
-
77
9
  interface AgentMentionBrowseFetchResult {
78
10
  providerDiagnostics: AgentMentionProviderQueryDiagnostic[];
79
11
  rawGroups: AgentMentionRawGroups;
@@ -252,8 +184,9 @@ declare class AgentMentionSearchControllerBase {
252
184
  declare class AgentMentionSearchController extends AgentMentionSearchControllerBase {
253
185
  private readonly issueLoadMoreRequests;
254
186
  private readonly directoryRequestLifecycle;
187
+ private readonly provenanceFilters;
255
188
  setProvenanceCatalog(catalog: ReferenceProvenanceCatalog | null): void;
256
- setProvenanceFilter(filter: ReferenceProvenanceFilter | null): void;
189
+ setProvenanceFilters(filters: Record<AgentMentionFilterId, ReferenceProvenanceFilter | null>): void;
257
190
  subscribe(listener: AgentMentionSearchListener): () => void;
258
191
  updateQuery(input: {
259
192
  workspaceId: string;
@@ -293,4 +226,4 @@ declare function preloadAgentMentionBrowse(input: {
293
226
  filter?: AgentMentionFilterId;
294
227
  }): void;
295
228
 
296
- export { type AgentMentionBrowseCategory, type AgentMentionFilterId, type AgentMentionGroup, type AgentMentionGroupId, AgentMentionSearchController, type AgentMentionSearchState, MAX_BROWSE_CACHE_ENTRIES, preloadAgentMentionBrowse, resetAgentMentionSearchBrowseCacheForTests };
229
+ export { AgentMentionFilterId, AgentMentionGroup, AgentMentionGroupId, AgentMentionSearchController, AgentMentionSearchState, MAX_BROWSE_CACHE_ENTRIES, preloadAgentMentionBrowse, resetAgentMentionSearchBrowseCacheForTests };