@tutti-os/agent-gui 0.0.138 → 0.0.140

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 (69) hide show
  1. package/README.md +13 -7
  2. package/dist/{AgentRichTextReadonly-HCKTNAYO.js → AgentRichTextReadonly-ITYHQCN5.js} +5 -5
  3. package/dist/agent-conversation/index.d.ts +2 -2
  4. package/dist/agent-conversation/index.js +8 -8
  5. package/dist/agent-gui.d.ts +11 -2
  6. package/dist/agent-gui.js +17 -17
  7. package/dist/agent-message-center/index.js +6 -6
  8. package/dist/{agentGuiNodeTypes-DV7KvZRe.d.ts → agentGuiNodeTypes-D3f1yiEL.d.ts} +15 -1
  9. package/dist/agents.d.ts +1 -1
  10. package/dist/agents.js +1 -1
  11. package/dist/app/renderer/agentactivity.css +64 -83
  12. package/dist/{chunk-UA75CGAG.js → chunk-AVXN6UMO.js} +2 -2
  13. package/dist/{chunk-5WOCGIXJ.js → chunk-C4ACYHOY.js} +1 -4
  14. package/dist/chunk-C4ACYHOY.js.map +1 -0
  15. package/dist/{chunk-EU7DCT4F.js → chunk-D3VWQTDH.js} +2 -2
  16. package/dist/{chunk-R7AXDQCA.js → chunk-JDVP33S5.js} +6 -1
  17. package/dist/chunk-JDVP33S5.js.map +1 -0
  18. package/dist/{chunk-IN3HXYOO.js → chunk-MMEHSIWJ.js} +162 -12
  19. package/dist/chunk-MMEHSIWJ.js.map +1 -0
  20. package/dist/{chunk-IYZ4GOSN.js → chunk-MX2NPLCN.js} +4 -3
  21. package/dist/{chunk-IYZ4GOSN.js.map → chunk-MX2NPLCN.js.map} +1 -1
  22. package/dist/{chunk-25VMCMAQ.js → chunk-OEC2IIWG.js} +4 -4
  23. package/dist/{chunk-Y5HD6XHP.js → chunk-ORPU3AJK.js} +2558 -1432
  24. package/dist/chunk-ORPU3AJK.js.map +1 -0
  25. package/dist/{chunk-GIYGO2PB.js → chunk-OWJ7Q2DJ.js} +2 -2
  26. package/dist/{chunk-KWGMK4IZ.js → chunk-OXCHXPBD.js} +5 -5
  27. package/dist/{chunk-VGS7S7YT.js → chunk-Q2WMHYIB.js} +2 -2
  28. package/dist/{chunk-OFJNIQWR.js → chunk-RXOGBOK6.js} +2 -2
  29. package/dist/{chunk-OFJNIQWR.js.map → chunk-RXOGBOK6.js.map} +1 -1
  30. package/dist/{chunk-VUNVGEQG.js → chunk-S2D4NNEB.js} +49 -5
  31. package/dist/chunk-S2D4NNEB.js.map +1 -0
  32. package/dist/{chunk-USIFGHT3.js → chunk-VMPA46ET.js} +2 -2
  33. package/dist/{chunk-OI6BYC7P.js → chunk-WM63XUAL.js} +4 -4
  34. package/dist/{chunk-QPEO4OQS.js → chunk-WUMJJOK6.js} +31 -24
  35. package/dist/chunk-WUMJJOK6.js.map +1 -0
  36. package/dist/{chunk-JI5KND3K.js → chunk-XUFVBZUT.js} +8 -11
  37. package/dist/chunk-XUFVBZUT.js.map +1 -0
  38. package/dist/context-mention-palette/index.js +9 -9
  39. package/dist/{contribution-CDdwTppn.d.ts → contribution-CC2DVyUV.d.ts} +28 -2
  40. package/dist/i18n/index.d.ts +74 -40
  41. package/dist/i18n/index.js +2 -2
  42. package/dist/index.d.ts +111 -44
  43. package/dist/index.js +20 -17
  44. package/dist/index.js.map +1 -1
  45. package/dist/mention-search.js +7 -7
  46. package/dist/{types-ee3zJ6Cc.d.ts → types-DVmB_kyD.d.ts} +0 -2
  47. package/dist/workbench/contribution.d.ts +1 -1
  48. package/dist/workbench/contribution.js +10 -4
  49. package/dist/workbench/index.d.ts +6 -3
  50. package/dist/workbench/index.js +10 -4
  51. package/dist/workbench/sessionTitle.js +2 -2
  52. package/dist/workspace-agent-generated-files.js +2 -2
  53. package/package.json +13 -13
  54. package/dist/chunk-5WOCGIXJ.js.map +0 -1
  55. package/dist/chunk-IN3HXYOO.js.map +0 -1
  56. package/dist/chunk-JI5KND3K.js.map +0 -1
  57. package/dist/chunk-QPEO4OQS.js.map +0 -1
  58. package/dist/chunk-R7AXDQCA.js.map +0 -1
  59. package/dist/chunk-VUNVGEQG.js.map +0 -1
  60. package/dist/chunk-Y5HD6XHP.js.map +0 -1
  61. /package/dist/{AgentRichTextReadonly-HCKTNAYO.js.map → AgentRichTextReadonly-ITYHQCN5.js.map} +0 -0
  62. /package/dist/{chunk-UA75CGAG.js.map → chunk-AVXN6UMO.js.map} +0 -0
  63. /package/dist/{chunk-EU7DCT4F.js.map → chunk-D3VWQTDH.js.map} +0 -0
  64. /package/dist/{chunk-25VMCMAQ.js.map → chunk-OEC2IIWG.js.map} +0 -0
  65. /package/dist/{chunk-GIYGO2PB.js.map → chunk-OWJ7Q2DJ.js.map} +0 -0
  66. /package/dist/{chunk-KWGMK4IZ.js.map → chunk-OXCHXPBD.js.map} +0 -0
  67. /package/dist/{chunk-VGS7S7YT.js.map → chunk-Q2WMHYIB.js.map} +0 -0
  68. /package/dist/{chunk-USIFGHT3.js.map → chunk-VMPA46ET.js.map} +0 -0
  69. /package/dist/{chunk-OI6BYC7P.js.map → chunk-WM63XUAL.js.map} +0 -0
@@ -3,28 +3,28 @@ import {
3
3
  AgentFileMentionPalette,
4
4
  flattenAgentMentionPaletteEntries,
5
5
  groupStartKeys
6
- } from "../chunk-OI6BYC7P.js";
6
+ } from "../chunk-WM63XUAL.js";
7
7
  import {
8
8
  AgentMentionSearchController
9
- } from "../chunk-KWGMK4IZ.js";
10
- import "../chunk-USIFGHT3.js";
9
+ } from "../chunk-OXCHXPBD.js";
10
+ import "../chunk-VMPA46ET.js";
11
11
  import "../chunk-XJ34OIEQ.js";
12
- import "../chunk-R7AXDQCA.js";
13
- import "../chunk-QPEO4OQS.js";
12
+ import "../chunk-JDVP33S5.js";
13
+ import "../chunk-WUMJJOK6.js";
14
14
  import "../chunk-5QPOMKMQ.js";
15
15
  import {
16
16
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
17
17
  } from "../chunk-RMQREVJY.js";
18
18
  import "../chunk-FGLQZ6I4.js";
19
- import "../chunk-EU7DCT4F.js";
19
+ import "../chunk-D3VWQTDH.js";
20
20
  import "../chunk-YMXYBG7U.js";
21
- import "../chunk-OFJNIQWR.js";
21
+ import "../chunk-RXOGBOK6.js";
22
22
  import "../chunk-F5UR6EJG.js";
23
23
  import "../chunk-EDNJMG5T.js";
24
- import "../chunk-GIYGO2PB.js";
24
+ import "../chunk-OWJ7Q2DJ.js";
25
25
  import "../chunk-PJP5BUU6.js";
26
26
  import "../chunk-7KVZPJ3O.js";
27
- import "../chunk-VUNVGEQG.js";
27
+ import "../chunk-S2D4NNEB.js";
28
28
  import "../chunk-MIJXEELH.js";
29
29
  import "../chunk-D2JUDUYY.js";
30
30
  import "../chunk-6CUELYIF.js";
@@ -36,7 +36,6 @@ interface AgentGUIAgent {
36
36
  iconUrl: string;
37
37
  /** Single-color artwork rendered through the conversation rail CSS mask. */
38
38
  maskIconUrl?: string | null;
39
- sidebarIconUrl?: string | null;
40
39
  heroImageUrl?: string | null;
41
40
  description?: string | null;
42
41
  owner?: AgentGUIAgentOwner | null;
@@ -71,6 +70,32 @@ declare function resolveAgentGuiWorkbenchConversationIdentity(input: {
71
70
  }): AgentGuiWorkbenchConversationIdentity | null;
72
71
  declare function agentGuiWorkbenchConversationIdentitiesEqual(left: AgentGuiWorkbenchConversationIdentity | null, right: AgentGuiWorkbenchConversationIdentity | null): boolean;
73
72
 
73
+ declare const AGENT_GUI_WORKBENCH_SESSION_ACTION_EVENT = "tutti:agent-gui-workbench-session-action";
74
+ type AgentGuiWorkbenchSessionAction = "rename" | "copy-markdown" | "copy-reference";
75
+ declare function isAgentGuiWorkbenchSessionAction(value: unknown): value is AgentGuiWorkbenchSessionAction;
76
+ interface AgentGuiWorkbenchSessionActionDetail {
77
+ action: AgentGuiWorkbenchSessionAction;
78
+ /**
79
+ * Session the header menu was rendered for. Null lets the consumer fall
80
+ * back to its active conversation; carrying the id pins the action to the
81
+ * conversation the user saw when they clicked.
82
+ */
83
+ agentSessionId: string | null;
84
+ instanceId: string;
85
+ }
86
+ interface AgentGuiWorkbenchSessionActionRequest {
87
+ action: AgentGuiWorkbenchSessionAction;
88
+ agentSessionId: string | null;
89
+ sequence: number;
90
+ }
91
+ declare function dispatchAgentGuiWorkbenchSessionAction(detail: AgentGuiWorkbenchSessionActionDetail): void;
92
+ interface AgentGuiWorkbenchSessionMenuCopy {
93
+ moreSessionActions: string;
94
+ renameSession: string;
95
+ copyAsMarkdown: string;
96
+ copyAsReference: string;
97
+ }
98
+
74
99
  declare const agentGuiWorkbenchDefaultNodeFrame: WorkbenchFrame;
75
100
  declare const agentGuiWorkbenchDefaultUsableWidthRatio = 0.9;
76
101
  declare const agentGuiWorkbenchDefaultUsableHeightRatio = 0.9;
@@ -136,6 +161,7 @@ interface AgentGuiWorkbenchContributionCopy {
136
161
  openDetachedWindow: string;
137
162
  restore: string;
138
163
  untitledConversation: string;
164
+ sessionMenu?: AgentGuiWorkbenchSessionMenuCopy | null;
139
165
  }
140
166
  type AgentGuiWorkbenchContributionCopyOverrides = Partial<AgentGuiWorkbenchContributionCopy>;
141
167
  interface AgentGuiWorkbenchRenderBodyHelpers {
@@ -171,4 +197,4 @@ interface CreateAgentGuiWorkbenchContributionInput {
171
197
  }
172
198
  declare function createAgentGuiWorkbenchContribution(input: CreateAgentGuiWorkbenchContributionInput): WorkbenchContribution;
173
199
 
174
- export { AGENT_GUI_WORKBENCH_CONVERSATION_RAIL_TOGGLE_EVENT as A, type BuildAgentGuiDockEntriesInput as B, type CreateAgentGuiWorkbenchContributionInput as C, AGENT_GUI_WORKBENCH_NEW_CONVERSATION_EVENT as a, AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT as b, type AgentGuiWorkbenchContributionCopy as c, type AgentGuiWorkbenchContributionCopyOverrides as d, type AgentGuiWorkbenchConversationIdentity as e, type AgentGuiWorkbenchConversationRailToggleDetail as f, type AgentGuiWorkbenchNewConversationDetail as g, type AgentGuiWorkbenchProviderAvailability as h, type AgentGuiWorkbenchRenderBodyHelpers as i, agentGuiWorkbenchCompactVisibleAreaRatio as j, agentGuiWorkbenchConversationIdentitiesEqual as k, agentGuiWorkbenchDefaultCopy as l, agentGuiWorkbenchDefaultNodeFrame as m, agentGuiWorkbenchDefaultUsableHeightRatio as n, agentGuiWorkbenchDefaultUsableWidthRatio as o, agentGuiWorkbenchNewWindowCascadeOffset as p, agentGuiWorkbenchProviderRailWidthPx as q, buildAgentGuiDockEntries as r, createAgentGuiWorkbenchContribution as s, resolveAgentGuiUnifiedDockLaunchPayload as t, resolveAgentGuiWorkbenchContributionCopy as u, resolveAgentGuiWorkbenchConversationIdentity as v, resolveAgentGuiWorkbenchDefaultLaunchFrame as w };
200
+ 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 };
@@ -490,6 +490,37 @@ declare const agentGuiI18nResources: {
490
490
  readonly slashPalettePluginsGroup: "Plugins";
491
491
  readonly slashPaletteConnectorsGroup: "Connectors";
492
492
  readonly slashPaletteMcpGroup: "MCP";
493
+ readonly renameSession: "Rename session";
494
+ readonly renameSessionTitle: "Rename conversation";
495
+ readonly renameSessionDescription: "Keep it short and easy to recognize.";
496
+ readonly renameSessionPlaceholder: "Conversation title";
497
+ readonly renameSessionSave: "Save";
498
+ readonly unpinSession: "Unpin session";
499
+ readonly deleteSessionTitle: "Delete session?";
500
+ readonly deleteSessionBody: "This session cannot be recovered after deletion. It will no longer appear in the session list, session timeline, room timeline, or room status.";
501
+ readonly deleteSessionConfirm: "Delete session";
502
+ readonly conversationRailResizeAria: "Resize session list";
503
+ readonly collapseConversationRail: "Hide sidebar";
504
+ readonly expandConversationRail: "Show sidebar";
505
+ readonly relativeTimeJustNow: "just now";
506
+ readonly relativeTimeMinutes: "{{count}} min";
507
+ readonly relativeTimeHours: "{{count}} h";
508
+ readonly relativeTimeDays: "{{count}} d";
509
+ readonly relativeTimeMonths: "{{count}} mo";
510
+ readonly relativeTimeYears: "{{count}} y";
511
+ readonly moreSessionActions: string;
512
+ readonly copiedToClipboard: string;
513
+ readonly copyFailed: string;
514
+ readonly copyAsMarkdown: string;
515
+ readonly copyAsReference: string;
516
+ readonly markSessionUnread: string;
517
+ readonly conversationCopyImage: string;
518
+ readonly conversationCopyMentionPrefix: string;
519
+ readonly conversationCopyFile: string;
520
+ readonly conversationCopyPreviousMessages: string;
521
+ readonly conversationCopyImagesOmitted: string;
522
+ readonly conversationCopyInProgress: string;
523
+ readonly sessionActionUnavailable: string;
493
524
  readonly contextCompactionInProgress: "Compacting context";
494
525
  readonly contextCompactionCompleted: "Context compacted.";
495
526
  readonly contextCompactionInterrupted: "Context compaction interrupted.";
@@ -551,26 +582,6 @@ declare const agentGuiI18nResources: {
551
582
  readonly showLessConversations: "Show less";
552
583
  readonly deleteSession: "Delete session";
553
584
  readonly pinSession: "Pin session";
554
- readonly copySessionLink: "Copy session link";
555
- readonly renameSession: "Rename session";
556
- readonly renameSessionTitle: "Rename conversation";
557
- readonly renameSessionDescription: "Keep it short and easy to recognize.";
558
- readonly renameSessionPlaceholder: "Conversation title";
559
- readonly renameSessionSave: "Save";
560
- readonly unpinSession: "Unpin session";
561
- readonly markSessionUnread: "Mark as unread";
562
- readonly deleteSessionTitle: "Delete session?";
563
- readonly deleteSessionBody: "This session cannot be recovered after deletion. It will no longer appear in the session list, session timeline, room timeline, or room status.";
564
- readonly deleteSessionConfirm: "Delete session";
565
- readonly conversationRailResizeAria: "Resize session list";
566
- readonly collapseConversationRail: "Hide sidebar";
567
- readonly expandConversationRail: "Show sidebar";
568
- readonly relativeTimeJustNow: "just now";
569
- readonly relativeTimeMinutes: "{{count}} min";
570
- readonly relativeTimeHours: "{{count}} h";
571
- readonly relativeTimeDays: "{{count}} d";
572
- readonly relativeTimeMonths: "{{count}} mo";
573
- readonly relativeTimeYears: "{{count}} y";
574
585
  readonly visibleErrorStartFailed: "{{provider}} failed to start";
575
586
  readonly visibleErrorRequestFailed: "{{provider}} request failed";
576
587
  readonly visibleErrorAuthRequired: "{{provider}} needs authentication or configuration";
@@ -824,6 +835,12 @@ declare const agentGuiI18nResources: {
824
835
  readonly cancel: "Cancel";
825
836
  readonly confirm: "Enable full access";
826
837
  };
838
+ readonly fullAccessRestoredWarning: {
839
+ readonly title: "Full access is on";
840
+ readonly description: "Codex can run commands, use the internet, and create, modify, upload, or delete files anywhere on this computer without asking. This can cause data loss and expose you to prompt-injection attacks.";
841
+ readonly dontShowAgain: "Don't show again";
842
+ readonly dismissLabel: "Dismiss full access warning";
843
+ };
827
844
  readonly permissionSemantics: {
828
845
  readonly "ask-before-write": {
829
846
  readonly label: "Ask for approval";
@@ -3077,6 +3094,37 @@ declare const agentGuiI18nResources: {
3077
3094
  readonly slashPalettePluginsGroup: "插件";
3078
3095
  readonly slashPaletteConnectorsGroup: "连接器";
3079
3096
  readonly slashPaletteMcpGroup: "MCP";
3097
+ readonly renameSession: "重命名会话";
3098
+ readonly renameSessionTitle: "重命名对话";
3099
+ readonly renameSessionDescription: "保持简短且易于识别。";
3100
+ readonly renameSessionPlaceholder: "对话标题";
3101
+ readonly renameSessionSave: "保存";
3102
+ readonly unpinSession: "取消置顶";
3103
+ readonly deleteSessionTitle: "删除会话?";
3104
+ readonly deleteSessionBody: "删除后无法恢复。该会话将不再出现在会话列表、会话时间线、房间时间线或房间状态中。";
3105
+ readonly deleteSessionConfirm: "删除会话";
3106
+ readonly conversationRailResizeAria: "调整会话列表宽度";
3107
+ readonly collapseConversationRail: "隐藏侧边栏";
3108
+ readonly expandConversationRail: "显示侧边栏";
3109
+ readonly relativeTimeJustNow: "刚刚";
3110
+ readonly relativeTimeMinutes: "{{count}} 分钟";
3111
+ readonly relativeTimeHours: "{{count}} 小时";
3112
+ readonly relativeTimeDays: "{{count}} 天";
3113
+ readonly relativeTimeMonths: "{{count}} 个月";
3114
+ readonly relativeTimeYears: "{{count}} 年";
3115
+ readonly moreSessionActions: string;
3116
+ readonly copiedToClipboard: string;
3117
+ readonly copyFailed: string;
3118
+ readonly copyAsMarkdown: string;
3119
+ readonly copyAsReference: string;
3120
+ readonly markSessionUnread: string;
3121
+ readonly conversationCopyImage: string;
3122
+ readonly conversationCopyMentionPrefix: string;
3123
+ readonly conversationCopyFile: string;
3124
+ readonly conversationCopyPreviousMessages: string;
3125
+ readonly conversationCopyImagesOmitted: string;
3126
+ readonly conversationCopyInProgress: string;
3127
+ readonly sessionActionUnavailable: string;
3080
3128
  readonly contextCompactionInProgress: "正在压缩上下文";
3081
3129
  readonly contextCompactionCompleted: "已压缩上下文";
3082
3130
  readonly contextCompactionInterrupted: "上下文压缩已中断";
@@ -3138,26 +3186,6 @@ declare const agentGuiI18nResources: {
3138
3186
  readonly showLessConversations: "收起";
3139
3187
  readonly deleteSession: "删除会话";
3140
3188
  readonly pinSession: "置顶会话";
3141
- readonly copySessionLink: "复制会话链接";
3142
- readonly renameSession: "重命名会话";
3143
- readonly renameSessionTitle: "重命名对话";
3144
- readonly renameSessionDescription: "保持简短且易于识别。";
3145
- readonly renameSessionPlaceholder: "对话标题";
3146
- readonly renameSessionSave: "保存";
3147
- readonly unpinSession: "取消置顶";
3148
- readonly markSessionUnread: "标记为未读";
3149
- readonly deleteSessionTitle: "删除会话?";
3150
- readonly deleteSessionBody: "删除后无法恢复。该会话将不再出现在会话列表、会话时间线、房间时间线或房间状态中。";
3151
- readonly deleteSessionConfirm: "删除会话";
3152
- readonly conversationRailResizeAria: "调整会话列表宽度";
3153
- readonly collapseConversationRail: "隐藏侧边栏";
3154
- readonly expandConversationRail: "显示侧边栏";
3155
- readonly relativeTimeJustNow: "刚刚";
3156
- readonly relativeTimeMinutes: "{{count}} 分钟";
3157
- readonly relativeTimeHours: "{{count}} 小时";
3158
- readonly relativeTimeDays: "{{count}} 天";
3159
- readonly relativeTimeMonths: "{{count}} 个月";
3160
- readonly relativeTimeYears: "{{count}} 年";
3161
3189
  readonly visibleErrorStartFailed: "{{provider}} 启动失败";
3162
3190
  readonly visibleErrorRequestFailed: "{{provider}} 请求失败";
3163
3191
  readonly visibleErrorAuthRequired: "{{provider}} 需要认证或配置";
@@ -3411,6 +3439,12 @@ declare const agentGuiI18nResources: {
3411
3439
  readonly cancel: "取消";
3412
3440
  readonly confirm: "启用完全访问权限";
3413
3441
  };
3442
+ readonly fullAccessRestoredWarning: {
3443
+ readonly title: "完全访问权限已开启";
3444
+ readonly description: "Codex 可以在未经你同意的情况下运行命令、使用互联网,以及在这台电脑的任意位置创建、修改、上传或删除文件。这可能导致数据丢失,也会带来提示词注入风险。";
3445
+ readonly dontShowAgain: "不再显示";
3446
+ readonly dismissLabel: "关闭完全访问权限警告";
3447
+ };
3414
3448
  readonly permissionSemantics: {
3415
3449
  readonly "ask-before-write": {
3416
3450
  readonly label: "请求批准";
@@ -6,8 +6,8 @@ import {
6
6
  translate,
7
7
  translateInUiLanguage,
8
8
  useTranslation
9
- } from "../chunk-GIYGO2PB.js";
10
- import "../chunk-VUNVGEQG.js";
9
+ } from "../chunk-OWJ7Q2DJ.js";
10
+ import "../chunk-S2D4NNEB.js";
11
11
  export {
12
12
  AgentGuiI18nProvider,
13
13
  agentGuiI18nModule,
package/dist/index.d.ts CHANGED
@@ -618,9 +618,23 @@ type AgentHostPersistenceApi = AgentHostRecord & {
618
618
  readWorkspaceAgentReadState: (input: ReadWorkspaceAgentReadStateInput) => AgentHostAsyncResult<WorkspaceAgentReadStateSnapshot>;
619
619
  writeWorkspaceAgentReadState: (input: WriteWorkspaceAgentReadStateInput) => AgentHostAsyncResult<PersistWriteResult>;
620
620
  };
621
+ type AgentHostToastHandle = {
622
+ /** Settles the toast to a neutral, non-error, non-success tone. */
623
+ info: (title: string, description?: string) => void;
624
+ /** Settles the toast to the destructive tone. */
625
+ reject: (title: string, description?: string) => void;
626
+ /** Settles the toast to the success tone. */
627
+ resolve: (title: string, description?: string) => void;
628
+ };
621
629
  type AgentHostToastApi = AgentHostRecord & {
622
630
  error: (title: string, description?: string) => void;
623
631
  info?: (title: string, description?: string) => void;
632
+ /**
633
+ * Opens one toast that stays mounted across async work: it shows busy
634
+ * (spinner, no auto-dismiss) until the returned handle settles it in
635
+ * place, at which point it starts auto-dismissing like any other toast.
636
+ */
637
+ loading?: (title: string) => AgentHostToastHandle;
624
638
  success?: (title: string, description?: string) => void;
625
639
  };
626
640
  interface AgentHostSelectedFile {
@@ -1013,7 +1027,6 @@ interface AgentGUIAgent {
1013
1027
  iconUrl: string;
1014
1028
  /** Single-color artwork rendered through the conversation rail CSS mask. */
1015
1029
  maskIconUrl?: string | null;
1016
- sidebarIconUrl?: string | null;
1017
1030
  heroImageUrl?: string | null;
1018
1031
  description?: string | null;
1019
1032
  owner?: AgentGUIAgentOwner | null;
@@ -1054,7 +1067,6 @@ interface AgentGUIAgentTarget {
1054
1067
  description?: string;
1055
1068
  iconUrl?: string | null;
1056
1069
  maskIconUrl?: string | null;
1057
- sidebarIconUrl?: string | null;
1058
1070
  heroImageUrl?: string | null;
1059
1071
  badge?: AgentGUIAgentTargetBadge | null;
1060
1072
  ownerLabel?: string;
@@ -1099,6 +1111,13 @@ interface NodeFrame {
1099
1111
  size: Size;
1100
1112
  }
1101
1113
 
1114
+ type AgentGuiWorkbenchSessionAction = "rename" | "copy-markdown" | "copy-reference";
1115
+ interface AgentGuiWorkbenchSessionActionRequest {
1116
+ action: AgentGuiWorkbenchSessionAction;
1117
+ agentSessionId: string | null;
1118
+ sequence: number;
1119
+ }
1120
+
1102
1121
  type WorkspaceLinkActionSource = "agent-markdown" | "agent-file-change" | string;
1103
1122
  interface OpenWorkspaceFileLinkAction {
1104
1123
  type: "open-workspace-file";
@@ -1805,6 +1824,19 @@ interface AgentMentionCustomItem {
1805
1824
  }
1806
1825
  type AgentContextMentionItem = AgentMentionFileItem | AgentMentionAgentTargetItem | AgentMentionSessionItem | AgentMentionWorkspaceAppItem | AgentMentionWorkspaceReferenceItem | AgentMentionWorkspaceAppFactoryItem | AgentMentionWorkspaceIssueItem | AgentMentionCustomItem;
1807
1826
 
1827
+ interface CreateAgentSessionHandoffPromptInput {
1828
+ agentSessionId: string;
1829
+ agentTargetId?: string | null;
1830
+ label: string;
1831
+ workspaceId: string;
1832
+ }
1833
+ /**
1834
+ * Builds the canonical composer draft for handing a complete Agent session to
1835
+ * another Agent. The trailing space is the editable caret anchor used by the
1836
+ * rich-text composer after the atomic session mention.
1837
+ */
1838
+ declare function createAgentSessionHandoffPrompt(input: CreateAgentSessionHandoffPromptInput): string;
1839
+
1808
1840
  declare const AGENT_CONTEXT_MENTION_PROVIDER_IDS: {
1809
1841
  readonly agentGeneratedFile: "agent-generated-file";
1810
1842
  readonly agentSession: "agent-session";
@@ -2687,10 +2719,12 @@ interface AgentGUINodeFrameLayout {
2687
2719
  */
2688
2720
  conversationRailAutoCollapseWidthPx?: number | null;
2689
2721
  }
2722
+ type AgentGUISessionActionRequest = AgentGuiWorkbenchSessionActionRequest;
2690
2723
  interface AgentGUINodeRuntimeRequests {
2691
2724
  composerAppend?: AgentGUIComposerAppendRequest | null;
2692
2725
  composerFocusSequence?: number | null;
2693
2726
  newConversationSequence?: number | null;
2727
+ sessionAction?: AgentGUISessionActionRequest | null;
2694
2728
  openSession?: AgentGUIOpenSessionRequest | null;
2695
2729
  prefillPrompt?: AgentGUIPrefillPromptRequest | null;
2696
2730
  agentProbes?: WorkspaceDesktopAgentProbesState | null;
@@ -3246,6 +3280,37 @@ declare const agentGuiI18nResources: {
3246
3280
  readonly slashPalettePluginsGroup: "Plugins";
3247
3281
  readonly slashPaletteConnectorsGroup: "Connectors";
3248
3282
  readonly slashPaletteMcpGroup: "MCP";
3283
+ readonly renameSession: "Rename session";
3284
+ readonly renameSessionTitle: "Rename conversation";
3285
+ readonly renameSessionDescription: "Keep it short and easy to recognize.";
3286
+ readonly renameSessionPlaceholder: "Conversation title";
3287
+ readonly renameSessionSave: "Save";
3288
+ readonly unpinSession: "Unpin session";
3289
+ readonly deleteSessionTitle: "Delete session?";
3290
+ readonly deleteSessionBody: "This session cannot be recovered after deletion. It will no longer appear in the session list, session timeline, room timeline, or room status.";
3291
+ readonly deleteSessionConfirm: "Delete session";
3292
+ readonly conversationRailResizeAria: "Resize session list";
3293
+ readonly collapseConversationRail: "Hide sidebar";
3294
+ readonly expandConversationRail: "Show sidebar";
3295
+ readonly relativeTimeJustNow: "just now";
3296
+ readonly relativeTimeMinutes: "{{count}} min";
3297
+ readonly relativeTimeHours: "{{count}} h";
3298
+ readonly relativeTimeDays: "{{count}} d";
3299
+ readonly relativeTimeMonths: "{{count}} mo";
3300
+ readonly relativeTimeYears: "{{count}} y";
3301
+ readonly moreSessionActions: string;
3302
+ readonly copiedToClipboard: string;
3303
+ readonly copyFailed: string;
3304
+ readonly copyAsMarkdown: string;
3305
+ readonly copyAsReference: string;
3306
+ readonly markSessionUnread: string;
3307
+ readonly conversationCopyImage: string;
3308
+ readonly conversationCopyMentionPrefix: string;
3309
+ readonly conversationCopyFile: string;
3310
+ readonly conversationCopyPreviousMessages: string;
3311
+ readonly conversationCopyImagesOmitted: string;
3312
+ readonly conversationCopyInProgress: string;
3313
+ readonly sessionActionUnavailable: string;
3249
3314
  readonly contextCompactionInProgress: "Compacting context";
3250
3315
  readonly contextCompactionCompleted: "Context compacted.";
3251
3316
  readonly contextCompactionInterrupted: "Context compaction interrupted.";
@@ -3307,26 +3372,6 @@ declare const agentGuiI18nResources: {
3307
3372
  readonly showLessConversations: "Show less";
3308
3373
  readonly deleteSession: "Delete session";
3309
3374
  readonly pinSession: "Pin session";
3310
- readonly copySessionLink: "Copy session link";
3311
- readonly renameSession: "Rename session";
3312
- readonly renameSessionTitle: "Rename conversation";
3313
- readonly renameSessionDescription: "Keep it short and easy to recognize.";
3314
- readonly renameSessionPlaceholder: "Conversation title";
3315
- readonly renameSessionSave: "Save";
3316
- readonly unpinSession: "Unpin session";
3317
- readonly markSessionUnread: "Mark as unread";
3318
- readonly deleteSessionTitle: "Delete session?";
3319
- readonly deleteSessionBody: "This session cannot be recovered after deletion. It will no longer appear in the session list, session timeline, room timeline, or room status.";
3320
- readonly deleteSessionConfirm: "Delete session";
3321
- readonly conversationRailResizeAria: "Resize session list";
3322
- readonly collapseConversationRail: "Hide sidebar";
3323
- readonly expandConversationRail: "Show sidebar";
3324
- readonly relativeTimeJustNow: "just now";
3325
- readonly relativeTimeMinutes: "{{count}} min";
3326
- readonly relativeTimeHours: "{{count}} h";
3327
- readonly relativeTimeDays: "{{count}} d";
3328
- readonly relativeTimeMonths: "{{count}} mo";
3329
- readonly relativeTimeYears: "{{count}} y";
3330
3375
  readonly visibleErrorStartFailed: "{{provider}} failed to start";
3331
3376
  readonly visibleErrorRequestFailed: "{{provider}} request failed";
3332
3377
  readonly visibleErrorAuthRequired: "{{provider}} needs authentication or configuration";
@@ -3580,6 +3625,12 @@ declare const agentGuiI18nResources: {
3580
3625
  readonly cancel: "Cancel";
3581
3626
  readonly confirm: "Enable full access";
3582
3627
  };
3628
+ readonly fullAccessRestoredWarning: {
3629
+ readonly title: "Full access is on";
3630
+ readonly description: "Codex can run commands, use the internet, and create, modify, upload, or delete files anywhere on this computer without asking. This can cause data loss and expose you to prompt-injection attacks.";
3631
+ readonly dontShowAgain: "Don't show again";
3632
+ readonly dismissLabel: "Dismiss full access warning";
3633
+ };
3583
3634
  readonly permissionSemantics: {
3584
3635
  readonly "ask-before-write": {
3585
3636
  readonly label: "Ask for approval";
@@ -5833,6 +5884,37 @@ declare const agentGuiI18nResources: {
5833
5884
  readonly slashPalettePluginsGroup: "插件";
5834
5885
  readonly slashPaletteConnectorsGroup: "连接器";
5835
5886
  readonly slashPaletteMcpGroup: "MCP";
5887
+ readonly renameSession: "重命名会话";
5888
+ readonly renameSessionTitle: "重命名对话";
5889
+ readonly renameSessionDescription: "保持简短且易于识别。";
5890
+ readonly renameSessionPlaceholder: "对话标题";
5891
+ readonly renameSessionSave: "保存";
5892
+ readonly unpinSession: "取消置顶";
5893
+ readonly deleteSessionTitle: "删除会话?";
5894
+ readonly deleteSessionBody: "删除后无法恢复。该会话将不再出现在会话列表、会话时间线、房间时间线或房间状态中。";
5895
+ readonly deleteSessionConfirm: "删除会话";
5896
+ readonly conversationRailResizeAria: "调整会话列表宽度";
5897
+ readonly collapseConversationRail: "隐藏侧边栏";
5898
+ readonly expandConversationRail: "显示侧边栏";
5899
+ readonly relativeTimeJustNow: "刚刚";
5900
+ readonly relativeTimeMinutes: "{{count}} 分钟";
5901
+ readonly relativeTimeHours: "{{count}} 小时";
5902
+ readonly relativeTimeDays: "{{count}} 天";
5903
+ readonly relativeTimeMonths: "{{count}} 个月";
5904
+ readonly relativeTimeYears: "{{count}} 年";
5905
+ readonly moreSessionActions: string;
5906
+ readonly copiedToClipboard: string;
5907
+ readonly copyFailed: string;
5908
+ readonly copyAsMarkdown: string;
5909
+ readonly copyAsReference: string;
5910
+ readonly markSessionUnread: string;
5911
+ readonly conversationCopyImage: string;
5912
+ readonly conversationCopyMentionPrefix: string;
5913
+ readonly conversationCopyFile: string;
5914
+ readonly conversationCopyPreviousMessages: string;
5915
+ readonly conversationCopyImagesOmitted: string;
5916
+ readonly conversationCopyInProgress: string;
5917
+ readonly sessionActionUnavailable: string;
5836
5918
  readonly contextCompactionInProgress: "正在压缩上下文";
5837
5919
  readonly contextCompactionCompleted: "已压缩上下文";
5838
5920
  readonly contextCompactionInterrupted: "上下文压缩已中断";
@@ -5894,26 +5976,6 @@ declare const agentGuiI18nResources: {
5894
5976
  readonly showLessConversations: "收起";
5895
5977
  readonly deleteSession: "删除会话";
5896
5978
  readonly pinSession: "置顶会话";
5897
- readonly copySessionLink: "复制会话链接";
5898
- readonly renameSession: "重命名会话";
5899
- readonly renameSessionTitle: "重命名对话";
5900
- readonly renameSessionDescription: "保持简短且易于识别。";
5901
- readonly renameSessionPlaceholder: "对话标题";
5902
- readonly renameSessionSave: "保存";
5903
- readonly unpinSession: "取消置顶";
5904
- readonly markSessionUnread: "标记为未读";
5905
- readonly deleteSessionTitle: "删除会话?";
5906
- readonly deleteSessionBody: "删除后无法恢复。该会话将不再出现在会话列表、会话时间线、房间时间线或房间状态中。";
5907
- readonly deleteSessionConfirm: "删除会话";
5908
- readonly conversationRailResizeAria: "调整会话列表宽度";
5909
- readonly collapseConversationRail: "隐藏侧边栏";
5910
- readonly expandConversationRail: "显示侧边栏";
5911
- readonly relativeTimeJustNow: "刚刚";
5912
- readonly relativeTimeMinutes: "{{count}} 分钟";
5913
- readonly relativeTimeHours: "{{count}} 小时";
5914
- readonly relativeTimeDays: "{{count}} 天";
5915
- readonly relativeTimeMonths: "{{count}} 个月";
5916
- readonly relativeTimeYears: "{{count}} 年";
5917
5979
  readonly visibleErrorStartFailed: "{{provider}} 启动失败";
5918
5980
  readonly visibleErrorRequestFailed: "{{provider}} 请求失败";
5919
5981
  readonly visibleErrorAuthRequired: "{{provider}} 需要认证或配置";
@@ -6167,6 +6229,12 @@ declare const agentGuiI18nResources: {
6167
6229
  readonly cancel: "取消";
6168
6230
  readonly confirm: "启用完全访问权限";
6169
6231
  };
6232
+ readonly fullAccessRestoredWarning: {
6233
+ readonly title: "完全访问权限已开启";
6234
+ readonly description: "Codex 可以在未经你同意的情况下运行命令、使用互联网,以及在这台电脑的任意位置创建、修改、上传或删除文件。这可能导致数据丢失,也会带来提示词注入风险。";
6235
+ readonly dontShowAgain: "不再显示";
6236
+ readonly dismissLabel: "关闭完全访问权限警告";
6237
+ };
6170
6238
  readonly permissionSemantics: {
6171
6239
  readonly "ask-before-write": {
6172
6240
  readonly label: "请求批准";
@@ -7989,7 +8057,6 @@ declare function createSharedAgentGUIAgentTarget(input: {
7989
8057
  ownerLabel?: string | null;
7990
8058
  iconUrl?: string | null;
7991
8059
  maskIconUrl?: string | null;
7992
- sidebarIconUrl?: string | null;
7993
8060
  unavailableReason?: string | null;
7994
8061
  disabled?: boolean;
7995
8062
  ref?: Record<string, unknown> | null;
@@ -8088,4 +8155,4 @@ declare function dispatchAgentPlanPromptAction(input: {
8088
8155
  workspaceId: string;
8089
8156
  }): boolean;
8090
8157
 
8091
- export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AGENT_GUI_DETAIL_MIN_WIDTH_PX, AGENT_GUI_EXPANDED_TARGET_WIDTH_PX, AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX, AGENT_PASTED_TEXT_BLOCK_KIND, AGENT_PASTED_TEXT_MENTION_KIND, AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeDeleteSessionsBatchInput, type AgentActivityRuntimeDeleteSessionsBatchResult, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeSessionSectionDeletionCandidates, type AgentActivityRuntimeSessionSectionScopeInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUpdateSessionSettingsResult, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentComposerDraftFile, type AgentContextMentionProvider, type AgentContextMentionProviderId, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, type AgentExternalPromptFilePreparationErrorCode, type AgentExternalPromptFilePreparationResult, type AgentExternalPromptFilePreparer, AgentGUI, type AgentGUIAccountMenuState, type AgentGUIAgent, type AgentGUIAgentAvailability, type AgentGUIAgentAvailabilityAction, type AgentGUIAgentAvailabilityStatus, type AgentGUIAgentDirectoryPort, type AgentGUIAgentDirectorySnapshot, type AgentGUIAgentDirectoryStatus, type AgentGUIAgentOwner, type AgentGUIAgentOwnership, type AgentGUIAgentTarget, type AgentGUIAgentTargetBadge, type AgentGUIAgentTargetRef, type AgentGUIAgentsEmptyRenderer, type AgentGUIAllAgentsPresentation, type AgentGUIComposerAppendRequest, type AgentGUIComposerContentType, type AgentGUIComposerFocusMethod, type AgentGUIEngagementContext, type AgentGUIEngagementEvent, type AgentGUIEngagementEventSink, type AgentGUIHomeSuggestionId, type AgentGUIProps, type AgentGUIProvider, type AgentGUIProviderRailAllPresentation, type AgentGUIProviderRailMode, type AgentGUIProviderReadinessGate, type AgentGUIProviderReadinessGateAction, type AgentGUIProviderReadinessGateStatus, type AgentGUIProviderUnavailableStateContext, type AgentGUIProviderUnavailableStateRenderer, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, type AgentGuiI18nLocale, AgentGuiI18nProvider, type AgentHostAgentTargetAuthenticatedAccount, type AgentHostAgentTargetSetupSnapshot, type AgentHostAgentTargetSetupState, type AgentHostAgentTargetSetupWatch, type AgentHostApi, type AgentHostApplyWorkspaceGitPatchInput, type AgentHostInputApi, type AgentHostRuntimeApi, type AgentHostSelectFilesInput, type AgentHostUserProject, type AgentPlanPromptAction, type AgentPreparedExternalPromptFile, type AgentProbeProvider, type AgentProbeSnapshot, type AgentProviderProbeListInput, type AgentProviderProbeListResult, type AgentUsageQuota, type AgentUsageSnapshot, type EngineStateStore, type PersistWriteResult, type ReadWorkspaceAgentReadStateInput, type WorkspaceAgentReadStateSnapshot, type WriteWorkspaceAgentReadStateInput, agentGUIAgentIsReady, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentGuiI18nModule, agentGuiI18nResources, createLocalAgentGUIAgentTarget, createLocalAgentGUIAgentTargets, createSharedAgentGUIAgentTarget, dispatchAgentPlanPromptAction, getAgentCustomMentionKind, localAgentGUIAgentTargetId, normalizeAgentGUIAgentTargets, normalizeAgentGUIAgents, preloadAgentMentionBrowse, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resolveAgentGUIAgentTarget, resolveAgentGUIExpandedWindowFrame, resolveAgentGUISelectedDirectoryAgent, selectAgentPlanPromptTurn, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useEngineSelector, useOptionalAgentActivityRuntime };
8158
+ export { AGENT_CONTEXT_MENTION_PROVIDER_IDS, AGENT_GUI_DETAIL_MIN_WIDTH_PX, AGENT_GUI_EXPANDED_TARGET_WIDTH_PX, AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX, AGENT_PASTED_TEXT_BLOCK_KIND, AGENT_PASTED_TEXT_MENTION_KIND, AgentActivityHostProvider, type AgentActivityHostProviderProps, type AgentActivityRuntime, type AgentActivityRuntimeDeleteSessionsBatchInput, type AgentActivityRuntimeDeleteSessionsBatchResult, type AgentActivityRuntimeListSessionMessagesInput, type AgentActivityRuntimePromptContentBlock, AgentActivityRuntimeProvider, type AgentActivityRuntimeProviderProps, type AgentActivityRuntimeSessionSectionDeletionCandidates, type AgentActivityRuntimeSessionSectionScopeInput, type AgentActivityRuntimeSetSessionPinnedInput, type AgentActivityRuntimeUpdateSessionSettingsInput, type AgentActivityRuntimeUpdateSessionSettingsResult, type AgentActivityRuntimeUploadPromptContentInput, type AgentActivityRuntimeUploadPromptContentResult, type AgentComposerDraftFile, type AgentContextMentionProvider, type AgentContextMentionProviderId, type AgentCustomMentionChipContext, type AgentCustomMentionIdentity, type AgentCustomMentionKindDefinition, type AgentCustomMentionPresentation, type AgentExternalPromptFilePreparationErrorCode, type AgentExternalPromptFilePreparationResult, type AgentExternalPromptFilePreparer, AgentGUI, type AgentGUIAccountMenuState, type AgentGUIAgent, type AgentGUIAgentAvailability, type AgentGUIAgentAvailabilityAction, type AgentGUIAgentAvailabilityStatus, type AgentGUIAgentDirectoryPort, type AgentGUIAgentDirectorySnapshot, type AgentGUIAgentDirectoryStatus, type AgentGUIAgentOwner, type AgentGUIAgentOwnership, type AgentGUIAgentTarget, type AgentGUIAgentTargetBadge, type AgentGUIAgentTargetRef, type AgentGUIAgentsEmptyRenderer, type AgentGUIAllAgentsPresentation, type AgentGUIComposerAppendRequest, type AgentGUIComposerContentType, type AgentGUIComposerFocusMethod, type AgentGUIEngagementContext, type AgentGUIEngagementEvent, type AgentGUIEngagementEventSink, type AgentGUIHomeSuggestionId, type AgentGUIProps, type AgentGUIProvider, type AgentGUIProviderRailAllPresentation, type AgentGUIProviderRailMode, type AgentGUIProviderReadinessGate, type AgentGUIProviderReadinessGateAction, type AgentGUIProviderReadinessGateStatus, type AgentGUIProviderUnavailableStateContext, type AgentGUIProviderUnavailableStateRenderer, type AgentGUISidebarFooterContext, type AgentGUISidebarFooterRenderer, type AgentGuiI18nLocale, AgentGuiI18nProvider, type AgentHostAgentTargetAuthenticatedAccount, type AgentHostAgentTargetSetupSnapshot, type AgentHostAgentTargetSetupState, type AgentHostAgentTargetSetupWatch, type AgentHostApi, type AgentHostApplyWorkspaceGitPatchInput, type AgentHostInputApi, type AgentHostRuntimeApi, type AgentHostSelectFilesInput, type AgentHostUserProject, type AgentPlanPromptAction, type AgentPreparedExternalPromptFile, type AgentProbeProvider, type AgentProbeSnapshot, type AgentProviderProbeListInput, type AgentProviderProbeListResult, type AgentUsageQuota, type AgentUsageSnapshot, type CreateAgentSessionHandoffPromptInput, type EngineStateStore, type PersistWriteResult, type ReadWorkspaceAgentReadStateInput, type WorkspaceAgentReadStateSnapshot, type WriteWorkspaceAgentReadStateInput, agentGUIAgentIsReady, agentGUIDefaultTargetProviders, agentGuiDockIconUrl, agentGuiDockIconUrls, agentGuiI18nModule, agentGuiI18nResources, createAgentSessionHandoffPrompt, createLocalAgentGUIAgentTarget, createLocalAgentGUIAgentTargets, createSharedAgentGUIAgentTarget, dispatchAgentPlanPromptAction, getAgentCustomMentionKind, localAgentGUIAgentTargetId, normalizeAgentGUIAgentTargets, normalizeAgentGUIAgents, preloadAgentMentionBrowse, registerAgentCustomMentionKind, resetAgentActivityRuntimeForTests, resetAgentCustomMentionKindsForTests, resolveAgentGUIAgentTarget, resolveAgentGUIExpandedWindowFrame, resolveAgentGUISelectedDirectoryAgent, selectAgentPlanPromptTurn, setAgentActivityRuntimeForTests, shouldAutoCollapseAgentGUIConversationRail, useAgentActivityRuntime, useAgentActivitySnapshot, useEngineSelector, useOptionalAgentActivityRuntime };
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  localAgentGUIAgentTargetId,
8
8
  normalizeAgentGUIAgentTargets,
9
9
  resolveAgentGUIAgentTarget
10
- } from "./chunk-Y5HD6XHP.js";
10
+ } from "./chunk-ORPU3AJK.js";
11
11
  import "./chunk-A4WCTHWS.js";
12
12
  import {
13
13
  AGENT_GUI_DETAIL_MIN_WIDTH_PX,
@@ -15,33 +15,35 @@ import {
15
15
  AGENT_GUI_STANDALONE_AUTO_COLLAPSE_WIDTH_PX,
16
16
  resolveAgentGUIExpandedWindowFrame,
17
17
  shouldAutoCollapseAgentGUIConversationRail
18
- } from "./chunk-IN3HXYOO.js";
18
+ } from "./chunk-MMEHSIWJ.js";
19
19
  import "./chunk-TUWQV2MC.js";
20
20
  import "./chunk-MHOYBRCY.js";
21
- import "./chunk-VGS7S7YT.js";
21
+ import "./chunk-Q2WMHYIB.js";
22
22
  import "./chunk-5HIF53K5.js";
23
23
  import "./chunk-R2ZADXRB.js";
24
- import "./chunk-JI5KND3K.js";
25
- import "./chunk-UA75CGAG.js";
24
+ import "./chunk-XUFVBZUT.js";
25
+ import "./chunk-AVXN6UMO.js";
26
26
  import "./chunk-FM42UN2J.js";
27
27
  import "./chunk-UP3ZDYTN.js";
28
- import "./chunk-OI6BYC7P.js";
28
+ import "./chunk-WM63XUAL.js";
29
29
  import {
30
30
  agentGUIAgentIsReady,
31
31
  normalizeAgentGUIAgents,
32
32
  resolveAgentGUISelectedDirectoryAgent
33
- } from "./chunk-5WOCGIXJ.js";
33
+ } from "./chunk-C4ACYHOY.js";
34
34
  import {
35
35
  agentGuiDockIconUrl,
36
36
  agentGuiDockIconUrls
37
37
  } from "./chunk-DXT4W2SU.js";
38
38
  import {
39
39
  preloadAgentMentionBrowse
40
- } from "./chunk-KWGMK4IZ.js";
41
- import "./chunk-USIFGHT3.js";
40
+ } from "./chunk-OXCHXPBD.js";
41
+ import "./chunk-VMPA46ET.js";
42
42
  import "./chunk-XJ34OIEQ.js";
43
- import "./chunk-R7AXDQCA.js";
44
- import "./chunk-QPEO4OQS.js";
43
+ import "./chunk-JDVP33S5.js";
44
+ import {
45
+ createAgentSessionHandoffPrompt
46
+ } from "./chunk-WUMJJOK6.js";
45
47
  import "./chunk-5QPOMKMQ.js";
46
48
  import {
47
49
  AGENT_CONTEXT_MENTION_PROVIDER_IDS
@@ -53,13 +55,13 @@ import {
53
55
  import {
54
56
  dispatchAgentPlanPromptAction,
55
57
  selectAgentPlanPromptTurn
56
- } from "./chunk-25VMCMAQ.js";
58
+ } from "./chunk-OEC2IIWG.js";
57
59
  import {
58
60
  useEngineSelector
59
61
  } from "./chunk-2RQM7PJN.js";
60
- import "./chunk-IYZ4GOSN.js";
62
+ import "./chunk-MX2NPLCN.js";
61
63
  import "./chunk-ZVYUTXQJ.js";
62
- import "./chunk-EU7DCT4F.js";
64
+ import "./chunk-D3VWQTDH.js";
63
65
  import "./chunk-YMXYBG7U.js";
64
66
  import {
65
67
  AgentActivityHostProvider,
@@ -69,17 +71,17 @@ import {
69
71
  useAgentActivityRuntime,
70
72
  useAgentActivitySnapshot,
71
73
  useOptionalAgentActivityRuntime
72
- } from "./chunk-OFJNIQWR.js";
74
+ } from "./chunk-RXOGBOK6.js";
73
75
  import "./chunk-F5UR6EJG.js";
74
76
  import "./chunk-EDNJMG5T.js";
75
77
  import {
76
78
  AgentGuiI18nProvider,
77
79
  agentGuiI18nModule,
78
80
  agentGuiI18nResources
79
- } from "./chunk-GIYGO2PB.js";
81
+ } from "./chunk-OWJ7Q2DJ.js";
80
82
  import "./chunk-PJP5BUU6.js";
81
83
  import "./chunk-7KVZPJ3O.js";
82
- import "./chunk-VUNVGEQG.js";
84
+ import "./chunk-S2D4NNEB.js";
83
85
  import "./chunk-MIJXEELH.js";
84
86
  import {
85
87
  getAgentCustomMentionKind,
@@ -111,6 +113,7 @@ export {
111
113
  agentGuiDockIconUrls,
112
114
  agentGuiI18nModule,
113
115
  agentGuiI18nResources,
116
+ createAgentSessionHandoffPrompt,
114
117
  createLocalAgentGUIAgentTarget,
115
118
  createLocalAgentGUIAgentTargets,
116
119
  createSharedAgentGUIAgentTarget,