@tutti-os/agent-gui 0.0.215 → 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 (76) hide show
  1. package/README.md +9 -5
  2. package/dist/{agentFileMentionContracts-BeBex-Sf.d.ts → AgentMentionSearchContracts-y1_u9cPi.d.ts} +73 -1
  3. package/dist/{AgentRichTextReadonly-56TZAJ47.js → AgentRichTextReadonly-WZHUIARR.js} +7 -7
  4. package/dist/agent-conversation/index.d.ts +0 -2
  5. package/dist/agent-conversation/index.js +9 -9
  6. package/dist/agent-gui.d.ts +14 -8
  7. package/dist/agent-gui.js +23 -22
  8. package/dist/agent-message-center/index.d.ts +1 -2
  9. package/dist/agent-message-center/index.js +6 -6
  10. package/dist/app/renderer/agentactivity.css +93 -93
  11. package/dist/{chunk-KVFBUOKZ.js → chunk-2QF3RBR4.js} +4 -4
  12. package/dist/{chunk-XERDRMSF.js → chunk-44OCOBJS.js} +9 -11
  13. package/dist/chunk-44OCOBJS.js.map +1 -0
  14. package/dist/chunk-6GX57XB5.js +135 -0
  15. package/dist/chunk-6GX57XB5.js.map +1 -0
  16. package/dist/{chunk-AQ7CRDGX.js → chunk-FS7EMOVD.js} +8 -14
  17. package/dist/chunk-FS7EMOVD.js.map +1 -0
  18. package/dist/{chunk-ISC67YBJ.js → chunk-G2KRK7Z5.js} +44 -18
  19. package/dist/chunk-G2KRK7Z5.js.map +1 -0
  20. package/dist/{chunk-YTU6IUO2.js → chunk-GDLM6FLK.js} +123 -184
  21. package/dist/chunk-GDLM6FLK.js.map +1 -0
  22. package/dist/{chunk-BYHNJQYH.js → chunk-GLVENTN6.js} +2 -2
  23. package/dist/{chunk-2HYADTQP.js → chunk-JQOQETPN.js} +5 -5
  24. package/dist/{chunk-YBIT37P5.js → chunk-M6WEFXPL.js} +2 -2
  25. package/dist/{chunk-AD2RTSMS.js → chunk-N2M4B3G3.js} +2 -2
  26. package/dist/{chunk-MWAUXAD2.js → chunk-NXQGAXIE.js} +8 -8
  27. package/dist/{chunk-GUD5NOHO.js → chunk-O4QFGCLU.js} +44 -189
  28. package/dist/chunk-O4QFGCLU.js.map +1 -0
  29. package/dist/{chunk-KNSLQO52.js → chunk-PPAV2TB4.js} +7 -13
  30. package/dist/chunk-PPAV2TB4.js.map +1 -0
  31. package/dist/{chunk-4CHBM3G3.js → chunk-SUVMLCED.js} +5 -5
  32. package/dist/{chunk-JOUEYIV3.js → chunk-TKECUCUW.js} +863 -946
  33. package/dist/chunk-TKECUCUW.js.map +1 -0
  34. package/dist/{chunk-QVLEP54U.js → chunk-ZXEICU6J.js} +5 -3
  35. package/dist/chunk-ZXEICU6J.js.map +1 -0
  36. package/dist/context-mention-palette/index.d.ts +3 -3
  37. package/dist/context-mention-palette/index.js +12 -12
  38. package/dist/{contribution-DfeuQHH6.d.ts → contribution-D4lcOjSU.d.ts} +2 -14
  39. package/dist/headerLayout-CP4ujEbo.d.ts +14 -0
  40. package/dist/i18n/index.d.ts +4 -2
  41. package/dist/i18n/index.js +2 -2
  42. package/dist/index.d.ts +77 -53
  43. package/dist/index.js +46 -39
  44. package/dist/index.js.map +1 -1
  45. package/dist/layout.d.ts +7 -0
  46. package/dist/layout.js +9 -0
  47. package/dist/layout.js.map +1 -0
  48. package/dist/mention-search.d.ts +6 -73
  49. package/dist/mention-search.js +8 -8
  50. package/dist/workbench/browser-element-context/index.js +2 -2
  51. package/dist/workbench/contribution.d.ts +1 -1
  52. package/dist/workbench/contribution.js +7 -8
  53. package/dist/workbench/index.d.ts +5 -3
  54. package/dist/workbench/index.js +10 -11
  55. package/dist/workbench/launch.js +2 -2
  56. package/dist/workbench/sessionTitle.js +2 -2
  57. package/dist/workbench/tool-sidebar/index.d.ts +14 -13
  58. package/dist/workbench/tool-sidebar/index.js +66 -55
  59. package/dist/workbench/tool-sidebar/index.js.map +1 -1
  60. package/package.json +23 -16
  61. package/dist/chunk-AQ7CRDGX.js.map +0 -1
  62. package/dist/chunk-GUD5NOHO.js.map +0 -1
  63. package/dist/chunk-ISC67YBJ.js.map +0 -1
  64. package/dist/chunk-JOUEYIV3.js.map +0 -1
  65. package/dist/chunk-KNSLQO52.js.map +0 -1
  66. package/dist/chunk-QVLEP54U.js.map +0 -1
  67. package/dist/chunk-XERDRMSF.js.map +0 -1
  68. package/dist/chunk-YTU6IUO2.js.map +0 -1
  69. /package/dist/{AgentRichTextReadonly-56TZAJ47.js.map → AgentRichTextReadonly-WZHUIARR.js.map} +0 -0
  70. /package/dist/{chunk-KVFBUOKZ.js.map → chunk-2QF3RBR4.js.map} +0 -0
  71. /package/dist/{chunk-BYHNJQYH.js.map → chunk-GLVENTN6.js.map} +0 -0
  72. /package/dist/{chunk-2HYADTQP.js.map → chunk-JQOQETPN.js.map} +0 -0
  73. /package/dist/{chunk-YBIT37P5.js.map → chunk-M6WEFXPL.js.map} +0 -0
  74. /package/dist/{chunk-AD2RTSMS.js.map → chunk-N2M4B3G3.js.map} +0 -0
  75. /package/dist/{chunk-MWAUXAD2.js.map → chunk-NXQGAXIE.js.map} +0 -0
  76. /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-XERDRMSF.js";
6
+ } from "../chunk-44OCOBJS.js";
7
+ import "../chunk-N2M4B3G3.js";
7
8
  import {
8
9
  AgentMentionSearchController
9
- } from "../chunk-ISC67YBJ.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-2HYADTQP.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-AD2RTSMS.js";
20
- import "../chunk-YMXYBG7U.js";
21
- import "../chunk-YBIT37P5.js";
17
+ import "../chunk-M6WEFXPL.js";
22
18
  import "../chunk-M6HTOCQK.js";
23
19
  import "../chunk-F5UR6EJG.js";
24
- import "../chunk-BYHNJQYH.js";
20
+ import "../chunk-GLVENTN6.js";
25
21
  import "../chunk-5BJYO6X3.js";
26
22
  import "../chunk-AFUVWWQY.js";
27
- import "../chunk-QVLEP54U.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";
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { AgentSessionEngineState, AgentSessionEngine } from '@tutti-os/agent-activity-core';
3
- import { WorkbenchFrame, WorkbenchHostDockEntry, WorkbenchHostDockPopupItemInput, WorkbenchDockPreviewContent, WorkbenchHostLaunchRequest, WorkbenchHostNodeBodyContext, WorkbenchContribution } from '@tutti-os/workbench-surface';
3
+ import { WorkbenchFrame, WorkbenchHostDockEntry, WorkbenchHostLaunchRequest, WorkbenchHostNodeBodyContext, WorkbenchContribution } from '@tutti-os/workbench-surface';
4
4
  import { AgentGuiWorkbenchProvider, AgentGuiWorkbenchState } from './workbench/types.js';
5
5
 
6
6
  /**
@@ -159,7 +159,6 @@ interface BuildAgentGuiDockEntriesInput {
159
159
  label?: string;
160
160
  order?: number;
161
161
  providerAvailability?: AgentGuiWorkbenchProviderAvailability;
162
- renderPreview?: CreateAgentGuiWorkbenchContributionInput["renderPreview"];
163
162
  resolveDockPopupIdentity?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupIdentity"];
164
163
  resolveDockPopupTitle?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupTitle"];
165
164
  sectionId?: string;
@@ -175,15 +174,6 @@ declare function resolveAgentGuiWorkbenchDefaultLaunchFrame(input: {
175
174
  request: Pick<WorkbenchHostLaunchRequest, "layoutConstraints" | "surfaceSize">;
176
175
  }): WorkbenchFrame;
177
176
  declare function resolveAgentGuiWorkbenchContributionCopy(copy?: AgentGuiWorkbenchContributionCopyOverrides): AgentGuiWorkbenchContributionCopy;
178
- declare function createAgentGuiWorkbenchPreviewContent(input: {
179
- agentDirectory: AgentGUIAgentDirectoryPort;
180
- item: WorkbenchHostDockPopupItemInput;
181
- label?: string;
182
- provider?: AgentGuiWorkbenchProvider;
183
- renderPreview: NonNullable<CreateAgentGuiWorkbenchContributionInput["renderPreview"]>;
184
- resolveDockPopupIdentity?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupIdentity"];
185
- resolveDockPopupTitle?: CreateAgentGuiWorkbenchContributionInput["resolveDockPopupTitle"];
186
- }): WorkbenchDockPreviewContent;
187
177
 
188
178
  declare const AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT = "tutti:agent-gui-workbench-conversation-rail-toggle";
189
179
  declare const AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT = "tutti:agent-gui-workbench-new-conversation";
@@ -233,8 +223,6 @@ interface CreateAgentGuiWorkbenchContributionInput {
233
223
  id?: string;
234
224
  providerAvailability?: AgentGuiWorkbenchProviderAvailability;
235
225
  renderBody(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
236
- renderPreview?(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
237
- renderMinimizedPreview(context: WorkbenchHostNodeBodyContext<AgentGuiWorkbenchState | null, unknown>, helpers: AgentGuiWorkbenchRenderBodyHelpers): ReactNode;
238
226
  resolveDockPopupTitle?: (state: AgentGuiWorkbenchState | null) => string | null;
239
227
  resolveDockPopupIdentity?: (state: AgentGuiWorkbenchState | null) => AgentGuiWorkbenchConversationIdentity | null;
240
228
  sessionEngine?: AgentSessionEngine;
@@ -249,4 +237,4 @@ interface CreateAgentGuiWorkbenchContributionInput {
249
237
  }
250
238
  declare function createAgentGuiWorkbenchContribution(input: CreateAgentGuiWorkbenchContributionInput): WorkbenchContribution;
251
239
 
252
- export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT as A, type BuildAgentGuiDockEntriesInput as B, type CreateAgentGuiWorkbenchContributionInput as C, isAgentGuiWorkbenchSessionAction as D, resolveAgentGuiUnifiedDockLaunchPayload as E, resolveAgentGuiWorkbenchContributionCopy as F, resolveAgentGuiWorkbenchConversationIdentity as G, resolveAgentGuiWorkbenchDefaultLaunchFrame as H, AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT as a, AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT as b, AGENT_GUI_WORKBENCH_SESSION_ACTION_EVENT as c, type AgentGuiWorkbenchContributionCopy as d, type AgentGuiWorkbenchContributionCopyOverrides as e, type AgentGuiWorkbenchConversationIdentity as f, type AgentGuiWorkbenchConversationRailToggleDetail as g, type AgentGuiWorkbenchNewConversationDetail as h, type AgentGuiWorkbenchProviderAvailability as i, type AgentGuiWorkbenchRenderBodyHelpers as j, type AgentGuiWorkbenchSessionAction as k, type AgentGuiWorkbenchSessionActionDetail as l, type AgentGuiWorkbenchSessionActionRequest as m, type AgentGuiWorkbenchSessionMenuCopy as n, agentGuiWorkbenchCompactVisibleAreaRatio as o, agentGuiWorkbenchConversationIdentitiesEqual as p, agentGuiWorkbenchDefaultCopy as q, agentGuiWorkbenchDefaultNodeFrame as r, agentGuiWorkbenchDefaultUsableHeightRatio as s, agentGuiWorkbenchDefaultUsableWidthRatio as t, agentGuiWorkbenchNewWindowCascadeOffset as u, agentGuiWorkbenchProviderRailWidthPx as v, buildAgentGuiDockEntries as w, createAgentGuiWorkbenchContribution as x, createAgentGuiWorkbenchPreviewContent as y, dispatchAgentGuiWorkbenchSessionAction as z };
240
+ export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT as A, type BuildAgentGuiDockEntriesInput as B, type CreateAgentGuiWorkbenchContributionInput as C, resolveAgentGuiUnifiedDockLaunchPayload as D, resolveAgentGuiWorkbenchContributionCopy as E, resolveAgentGuiWorkbenchConversationIdentity as F, resolveAgentGuiWorkbenchDefaultLaunchFrame as G, AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT as a, AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT as b, AGENT_GUI_WORKBENCH_SESSION_ACTION_EVENT as c, type AgentGuiWorkbenchContributionCopy as d, type AgentGuiWorkbenchContributionCopyOverrides as e, type AgentGuiWorkbenchConversationIdentity as f, type AgentGuiWorkbenchConversationRailToggleDetail as g, type AgentGuiWorkbenchNewConversationDetail as h, type AgentGuiWorkbenchProviderAvailability as i, type AgentGuiWorkbenchRenderBodyHelpers as j, type AgentGuiWorkbenchSessionAction as k, type AgentGuiWorkbenchSessionActionDetail as l, type AgentGuiWorkbenchSessionActionRequest as m, type AgentGuiWorkbenchSessionMenuCopy as n, agentGuiWorkbenchCompactVisibleAreaRatio as o, agentGuiWorkbenchConversationIdentitiesEqual as p, agentGuiWorkbenchDefaultCopy as q, agentGuiWorkbenchDefaultNodeFrame as r, agentGuiWorkbenchDefaultUsableHeightRatio as s, agentGuiWorkbenchDefaultUsableWidthRatio as t, agentGuiWorkbenchNewWindowCascadeOffset as u, agentGuiWorkbenchProviderRailWidthPx as v, buildAgentGuiDockEntries as w, createAgentGuiWorkbenchContribution as x, dispatchAgentGuiWorkbenchSessionAction as y, isAgentGuiWorkbenchSessionAction as z };
@@ -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 };
@@ -778,7 +778,7 @@ declare const agentGuiI18nResources: {
778
778
  readonly projectRailCreateProject: "New project";
779
779
  readonly projectRailLinkExistingProject: "Link existing project folder";
780
780
  readonly removeProject: "Remove";
781
- readonly removeProjectConfirmDescription: "This only removes “{{project}}” from this list. Local files are not deleted.";
781
+ readonly removeProjectConfirmDescription: "This will remove “{{project}}” and all its sessions from this list. Local files are not deleted. Continue?";
782
782
  readonly removeProjectConfirmTitle: "Remove project?";
783
783
  readonly batchDeleteProjectSessions: "Batch delete sessions";
784
784
  readonly batchDeleteProjectSessionsTitle: "Delete project sessions?";
@@ -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";
@@ -3564,7 +3565,7 @@ declare const agentGuiI18nResources: {
3564
3565
  readonly projectRailCreateProject: "新建项目";
3565
3566
  readonly projectRailLinkExistingProject: "关联已有项目文件";
3566
3567
  readonly removeProject: "移除";
3567
- readonly removeProjectConfirmDescription: "这只会从列表中移除「{{project}}」,不会删除本地文件。";
3568
+ readonly removeProjectConfirmDescription: "将会从列表中移除「{{project}}」及项目下全部会话,不会删除本地文件,是否确认移除?";
3568
3569
  readonly removeProjectConfirmTitle: "移除项目?";
3569
3570
  readonly batchDeleteProjectSessions: "批量删除会话";
3570
3571
  readonly batchDeleteProjectSessionsTitle: "删除项目会话?";
@@ -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-BYHNJQYH.js";
10
- import "../chunk-QVLEP54U.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
@@ -3211,7 +3211,7 @@ declare const agentGuiI18nResources: {
3211
3211
  readonly projectRailCreateProject: "New project";
3212
3212
  readonly projectRailLinkExistingProject: "Link existing project folder";
3213
3213
  readonly removeProject: "Remove";
3214
- readonly removeProjectConfirmDescription: "This only removes “{{project}}” from this list. Local files are not deleted.";
3214
+ readonly removeProjectConfirmDescription: "This will remove “{{project}}” and all its sessions from this list. Local files are not deleted. Continue?";
3215
3215
  readonly removeProjectConfirmTitle: "Remove project?";
3216
3216
  readonly batchDeleteProjectSessions: "Batch delete sessions";
3217
3217
  readonly batchDeleteProjectSessionsTitle: "Delete project sessions?";
@@ -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";
@@ -5997,7 +5998,7 @@ declare const agentGuiI18nResources: {
5997
5998
  readonly projectRailCreateProject: "新建项目";
5998
5999
  readonly projectRailLinkExistingProject: "关联已有项目文件";
5999
6000
  readonly removeProject: "移除";
6000
- readonly removeProjectConfirmDescription: "这只会从列表中移除「{{project}}」,不会删除本地文件。";
6001
+ readonly removeProjectConfirmDescription: "将会从列表中移除「{{project}}」及项目下全部会话,不会删除本地文件,是否确认移除?";
6001
6002
  readonly removeProjectConfirmTitle: "移除项目?";
6002
6003
  readonly batchDeleteProjectSessions: "批量删除会话";
6003
6004
  readonly batchDeleteProjectSessionsTitle: "删除项目会话?";
@@ -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[];
@@ -8153,7 +8199,6 @@ interface AgentComposerProps {
8153
8199
  projectMissingProbeEnabled?: boolean;
8154
8200
  uiLanguage?: UiLanguage;
8155
8201
  isActive?: boolean;
8156
- previewMode?: boolean;
8157
8202
  workspaceReferencePickerOpen?: boolean;
8158
8203
  promptImagesSupported?: boolean;
8159
8204
  canGoalControl?: boolean;
@@ -8428,7 +8473,7 @@ interface AgentComposerProps {
8428
8473
  path: string;
8429
8474
  } | null>;
8430
8475
  onRequestGitBranches?: AgentComposerGitBranchLoader | null;
8431
- referenceProvenanceFilter?: AgentComposerReferenceProvenanceFilter | null;
8476
+ referenceProvenanceFilters?: AgentComposerReferenceProvenanceFilters | null;
8432
8477
  }
8433
8478
  type AgentComposerCapabilitySettingsTarget = Exclude<AgentSlashCommandCapability["capability"], "tutti">;
8434
8479
  interface AgentComposerCapabilityMenuState {
@@ -8983,13 +9028,12 @@ interface AgentGUINodeFrameLayout {
8983
9028
  /** Host-projected presentation visibility. Independent from node focus. */
8984
9029
  isVisible?: boolean;
8985
9030
  embedded?: boolean;
8986
- previewMode?: boolean;
8987
9031
  /**
8988
- * Container width at or below which the conversation rail auto-hides.
8989
- * Hosts with roomier layouts (e.g. the standalone agent window) raise this
8990
- * above the default AGENT_GUI_AUTO_COLLAPSE_WIDTH_PX.
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.
8991
9035
  */
8992
- conversationRailAutoCollapseWidthPx?: number | null;
9036
+ conversationRailAutoCollapseMode?: "preserve-middle-content";
8993
9037
  }
8994
9038
  type AgentGUISessionActionRequest = AgentGuiWorkbenchSessionActionRequest;
8995
9039
  interface AgentGUINodeRuntimeRequests {
@@ -9069,6 +9113,7 @@ interface AgentGUINodeHostActions {
9069
9113
  onConversationRailLayoutChange?: (layout: AgentGUIConversationRailLayout) => void;
9070
9114
  }
9071
9115
  interface AgentGUINodeRenderSlots {
9116
+ projectDirectoryPickerHeaderActions?: ReferenceSourcePickerProps["renderHeaderActions"];
9072
9117
  providerRailEmpty?: AgentGUIAgentsEmptyRenderer;
9073
9118
  providerUnavailableState?: AgentGUIProviderUnavailableStateRenderer;
9074
9119
  sidebarFooter?: (ctx: AgentGUISidebarFooterContext) => ReactNode;
@@ -9179,8 +9224,15 @@ declare const agentGuiDockIconUrls: Record<string, string>;
9179
9224
  declare const agentGuiDockIconUrl: string | undefined;
9180
9225
 
9181
9226
  declare const AGENT_GUI_DETAIL_MIN_WIDTH_PX = 220;
9182
- 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;
9183
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";
9184
9236
  interface AgentGUIExpandedWindowFrameInput {
9185
9237
  position: {
9186
9238
  x: number;
@@ -9194,7 +9246,20 @@ interface AgentGUIExpandedWindowFrameInput {
9194
9246
  };
9195
9247
  conversationRailWidthPx: number | null | undefined;
9196
9248
  }
9197
- 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;
9198
9263
  declare function resolveAgentGUIExpandedWindowFrame(input: AgentGUIExpandedWindowFrameInput): {
9199
9264
  position: {
9200
9265
  x: number;
@@ -9206,47 +9271,6 @@ declare function resolveAgentGUIExpandedWindowFrame(input: AgentGUIExpandedWindo
9206
9271
  };
9207
9272
  };
9208
9273
 
9209
- declare const AGENT_CONTEXT_MENTION_PROVIDER_IDS: {
9210
- readonly agentGeneratedFile: "agent-generated-file";
9211
- readonly agentSession: "agent-session";
9212
- readonly agentTarget: "agent-target";
9213
- readonly file: "file";
9214
- readonly workspaceApp: "workspace-app";
9215
- readonly workspaceIssue: "workspace-issue";
9216
- readonly workspaceModel: "workspace-model";
9217
- };
9218
- type AgentContextMentionProviderId = TuttiExternalAtProviderId;
9219
- type AgentContextMentionQueryInput = RichTextTriggerQueryInput & {
9220
- trigger: "@";
9221
- };
9222
- interface AgentContextMentionDirectoryDescriptor {
9223
- /** Canonical provider-owned directory path used for child queries. */
9224
- path: string;
9225
- /** Number of direct children when the provider can determine it. */
9226
- childCount?: number | null;
9227
- }
9228
- type AgentContextMentionDirectoryQueryInput = AgentContextMentionQueryInput & {
9229
- directoryPath: string;
9230
- };
9231
- type AgentContextMentionProvider<TItem = any> = Omit<RichTextTriggerProvider<TItem>, "trigger"> & {
9232
- trigger: "@";
9233
- /** Optional hierarchy contract for file providers. */
9234
- getItemDirectory?(item: TItem): AgentContextMentionDirectoryDescriptor | null | undefined;
9235
- /** Lists the direct children of one directory without overloading keyword search. */
9236
- queryDirectory?(input: AgentContextMentionDirectoryQueryInput): Promise<readonly TItem[]> | readonly TItem[];
9237
- };
9238
-
9239
- type AgentMentionFilterId = "session" | "file" | "issue" | "agent" | "app";
9240
-
9241
- declare function preloadAgentMentionBrowse(input: {
9242
- workspaceId: string;
9243
- currentUserId?: string | null;
9244
- sectionKey?: string | null;
9245
- sessionCwd?: string | null;
9246
- contextMentionProviders?: readonly AgentContextMentionProvider[];
9247
- filter?: AgentMentionFilterId;
9248
- }): void;
9249
-
9250
9274
  interface AgentActivityHostProviderProps extends PropsWithChildren {
9251
9275
  agentActivityRuntime?: AgentActivityRuntime | null;
9252
9276
  agentHostApi?: AgentHostInputApi | null;
@@ -9281,4 +9305,4 @@ declare function dispatchAgentPlanPromptAction(input: {
9281
9305
  workspaceId: string;
9282
9306
  }): boolean;
9283
9307
 
9284
- 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-JOUEYIV3.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-GUD5NOHO.js";
27
- import "./chunk-KVFBUOKZ.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-YTU6IUO2.js";
33
- import "./chunk-MWAUXAD2.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-XERDRMSF.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-ISC67YBJ.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-2HYADTQP.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-AQ7CRDGX.js";
70
- import {
71
- useEngineSelector
72
- } from "./chunk-EVQ4JY3N.js";
73
- import "./chunk-KNSLQO52.js";
74
- import "./chunk-LQMIEH4C.js";
75
- import "./chunk-FMTWYOHM.js";
76
- import "./chunk-AD2RTSMS.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-YBIT37P5.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-BYHNJQYH.js";
90
+ } from "./chunk-GLVENTN6.js";
94
91
  import "./chunk-5BJYO6X3.js";
95
92
  import "./chunk-AFUVWWQY.js";
96
- import "./chunk-QVLEP54U.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":[]}