zidane-ui 9.1.3 → 9.1.5

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 (238) hide show
  1. package/dist/adapters/server-extensions-host.js +1 -1
  2. package/dist/adapters/server-host.js +2 -1
  3. package/dist/adapters/server-machines-host.js +1 -1
  4. package/dist/adapters/server-session-host.js +87 -13
  5. package/dist/adapters/server-settings-host.js +1 -1
  6. package/dist/appearance/AppearanceProvider.js +2 -2
  7. package/dist/appearance/headless/index.js +1 -1
  8. package/dist/approvals/headless/index.js +2 -2
  9. package/dist/chat/HostTranscript.d.ts +5 -1
  10. package/dist/chat/HostTranscript.js +16 -4
  11. package/dist/chat/RunEstimateChip.d.ts +5 -3
  12. package/dist/chat/RunEstimateChip.js +33 -3
  13. package/dist/chat/Transcript.js +1 -1
  14. package/dist/chat/composer/ComposerEditor.js +1 -1
  15. package/dist/chat/composer/ConversationBadges.js +16 -10
  16. package/dist/chat/composer/composer-bus.d.ts +2 -2
  17. package/dist/chat/composer/composer-bus.js +2 -2
  18. package/dist/chat/composer/use-composer-stores.js +1 -1
  19. package/dist/chat/composer/use-run-meter.js +1 -1
  20. package/dist/chat/headless/composer/conversation-badges.d.ts +8 -3
  21. package/dist/chat/headless/composer/conversation-badges.js +26 -11
  22. package/dist/chat/headless/composer/index.js +2 -2
  23. package/dist/chat/headless/composer/labels-chrome.d.ts +3 -1
  24. package/dist/chat/headless/composer/labels-chrome.js +3 -1
  25. package/dist/chat/headless/index.d.ts +5 -3
  26. package/dist/chat/headless/index.js +17 -15
  27. package/dist/chat/headless/labels.d.ts +54 -1
  28. package/dist/chat/headless/labels.js +62 -2
  29. package/dist/chat/headless/secrets.d.ts +32 -0
  30. package/dist/chat/headless/secrets.js +43 -0
  31. package/dist/chat/headless/session-list.d.ts +45 -0
  32. package/dist/chat/headless/sidebar/estimates.js +13 -1
  33. package/dist/chat/headless/sidebar/index.d.ts +2 -2
  34. package/dist/chat/headless/sidebar/index.js +1 -1
  35. package/dist/chat/headless/sidebar/labels.d.ts +50 -0
  36. package/dist/chat/headless/sidebar/labels.js +1 -0
  37. package/dist/chat/headless/sidebar/query.d.ts +2 -2
  38. package/dist/chat/headless/sidebar/query.js +6 -3
  39. package/dist/chat/headless/sidebar/types.d.ts +7 -1
  40. package/dist/chat/headless/sidebar/view.js +2 -0
  41. package/dist/chat/headless/transcript/auth-failure.d.ts +67 -0
  42. package/dist/chat/headless/transcript/auth-failure.js +87 -0
  43. package/dist/chat/headless/transcript/index.d.ts +2 -1
  44. package/dist/chat/headless/transcript/index.js +2 -1
  45. package/dist/chat/headless/transcript/nesting.d.ts +3 -3
  46. package/dist/chat/headless/transcript/nesting.js +12 -4
  47. package/dist/chat/index.d.ts +4 -2
  48. package/dist/chat/index.js +3 -1
  49. package/dist/chat/interactions/InboxPanel.d.ts +6 -2
  50. package/dist/chat/interactions/InboxPanel.js +82 -44
  51. package/dist/chat/interactions/PlanCard.d.ts +2 -2
  52. package/dist/chat/interactions/PlanCard.js +1 -1
  53. package/dist/chat/interactions/QuestionField.d.ts +8 -3
  54. package/dist/chat/interactions/QuestionField.js +89 -8
  55. package/dist/chat/interactions/QuestionForm.d.ts +3 -1
  56. package/dist/chat/interactions/QuestionForm.js +48 -10
  57. package/dist/chat/interactions/SecretInput.d.ts +32 -0
  58. package/dist/chat/interactions/SecretInput.js +72 -0
  59. package/dist/chat/interactions/card-ui.d.ts +5 -3
  60. package/dist/chat/interactions/card-ui.js +5 -3
  61. package/dist/chat/interactions/index.d.ts +2 -1
  62. package/dist/chat/interactions/index.js +2 -1
  63. package/dist/chat/sidebar/SessionSidebar.js +2 -0
  64. package/dist/chat/sidebar/SidebarFilterMenu.d.ts +7 -2
  65. package/dist/chat/sidebar/SidebarFilterMenu.js +26 -2
  66. package/dist/chat/sidebar/SidebarSessionRow.d.ts +3 -1
  67. package/dist/chat/sidebar/SidebarSessionRow.js +8 -3
  68. package/dist/chat/sidebar/sidebar-live.js +8 -4
  69. package/dist/chat/transcript/AuthFailureCard.d.ts +34 -0
  70. package/dist/chat/transcript/AuthFailureCard.js +358 -0
  71. package/dist/chat/transcript/InteractionToolBody.js +12 -2
  72. package/dist/chat/transcript/actions.d.ts +24 -1
  73. package/dist/chat/transcript/index.d.ts +3 -2
  74. package/dist/chat/transcript/index.js +2 -1
  75. package/dist/chat/transcript/notices.d.ts +2 -1
  76. package/dist/chat/transcript/notices.js +13 -1
  77. package/dist/chat/transcript/script-input.d.ts +1 -1
  78. package/dist/chat/transcript/shell-block.js +1 -1
  79. package/dist/components/HowItWorks.d.ts +8 -1
  80. package/dist/components/HowItWorks.js +2 -2
  81. package/dist/components/RowActionsMenu.d.ts +6 -1
  82. package/dist/components/RowActionsMenu.js +4 -0
  83. package/dist/core.css +24 -0
  84. package/dist/dist/{index-WlE93Q6d.d.ts → index-BI6RZc60.d.ts} +36 -3
  85. package/dist/dist/index-f-XWIoYo.d.ts +1 -0
  86. package/dist/dist/index.d.ts +6 -0
  87. package/dist/dist/sandbox-B4OW6oNx.d.ts +2 -0
  88. package/dist/dist/timeout-B5pO5I5a.d.ts +30 -0
  89. package/dist/extensions/ExtensionSettingsPage.js +1 -1
  90. package/dist/extensions/ExtensionSettingsSidebar.js +1 -1
  91. package/dist/extensions/headless/fixture-host.js +1 -1
  92. package/dist/extensions/headless/index.js +4 -4
  93. package/dist/extensions/hooks.js +1 -1
  94. package/dist/files/DiffsTab.js +1 -1
  95. package/dist/files/EditorColumn.js +1 -1
  96. package/dist/files/MediaDiff.js +1 -1
  97. package/dist/files/SearchPanel.js +121 -53
  98. package/dist/files/headless/name-match.js +29 -14
  99. package/dist/files/useEntryActions.js +1 -1
  100. package/dist/files/useOpenFiles.js +1 -1
  101. package/dist/git/WherePicker.js +2 -2
  102. package/dist/git/headless/environment.d.ts +6 -1
  103. package/dist/git/headless/environment.js +5 -2
  104. package/dist/git/headless/labels.d.ts +2 -0
  105. package/dist/git/headless/labels.js +2 -0
  106. package/dist/git/index.d.ts +2 -1
  107. package/dist/git/index.js +2 -1
  108. package/dist/git/useStartFromPanel.d.ts +22 -0
  109. package/dist/git/useStartFromPanel.js +91 -0
  110. package/dist/keybindings/KeyCommands.js +1 -1
  111. package/dist/keybindings/KeybindingsProvider.js +1 -1
  112. package/dist/keybindings/headless/catalog.js +2 -2
  113. package/dist/keybindings/headless/index.js +2 -2
  114. package/dist/keybindings/headless/overrides.js +1 -1
  115. package/dist/machines/HostSyncPanel.js +1 -1
  116. package/dist/machines/SyncOutcomeBadge.js +1 -1
  117. package/dist/machines/headless/index.js +1 -1
  118. package/dist/onboarding/demos/features.d.ts +9 -1
  119. package/dist/onboarding/demos/features.js +107 -2
  120. package/dist/onboarding/demos/how-it-works.d.ts +5 -1
  121. package/dist/onboarding/demos/how-it-works.js +120 -2
  122. package/dist/onboarding/headless/labels.d.ts +17 -0
  123. package/dist/onboarding/headless/labels.js +17 -0
  124. package/dist/onboarding/index.js +1 -1
  125. package/dist/onboarding/marks.d.ts +1 -2
  126. package/dist/onboarding/marks.js +4 -12
  127. package/dist/onboarding/steps/ReadyStep.js +1 -1
  128. package/dist/onboarding/steps/connect/ProviderPanel.js +1 -1
  129. package/dist/onboarding/tutorials.d.ts +3 -1
  130. package/dist/onboarding/tutorials.js +2 -1
  131. package/dist/palette/app-sources.js +1 -1
  132. package/dist/session/ArtifactsPanel.js +1 -1
  133. package/dist/session/PanelAttention.d.ts +14 -6
  134. package/dist/session/PanelAttention.js +35 -24
  135. package/dist/session/PlanTracker.d.ts +54 -0
  136. package/dist/session/PlanTracker.js +412 -0
  137. package/dist/session/ProjectHome.d.ts +15 -2
  138. package/dist/session/ProjectHome.js +158 -85
  139. package/dist/session/RemindersPanel.d.ts +25 -0
  140. package/dist/session/RemindersPanel.js +526 -0
  141. package/dist/session/SecretsPanel.d.ts +19 -0
  142. package/dist/session/SecretsPanel.js +241 -0
  143. package/dist/session/SessionProvider.d.ts +26 -5
  144. package/dist/session/SessionProvider.js +51 -6
  145. package/dist/session/StepStatusIcon.d.ts +24 -0
  146. package/dist/session/StepStatusIcon.js +50 -0
  147. package/dist/session/TodoList.d.ts +4 -3
  148. package/dist/session/TodoList.js +6 -5
  149. package/dist/session/headless/fixture-host.d.ts +32 -22
  150. package/dist/session/headless/fixture-host.js +86 -51
  151. package/dist/session/headless/fixture-plans.d.ts +57 -0
  152. package/dist/session/headless/fixture-plans.js +141 -0
  153. package/dist/session/headless/fixture-schedules.d.ts +49 -0
  154. package/dist/session/headless/fixture-schedules.js +133 -0
  155. package/dist/session/headless/home-layout.d.ts +10 -2
  156. package/dist/session/headless/home-layout.js +7 -2
  157. package/dist/session/headless/host.d.ts +85 -13
  158. package/dist/session/headless/index.d.ts +5 -3
  159. package/dist/session/headless/index.js +6 -4
  160. package/dist/session/headless/labels.d.ts +95 -12
  161. package/dist/session/headless/labels.js +67 -18
  162. package/dist/session/headless/plans.d.ts +53 -0
  163. package/dist/session/headless/plans.js +78 -0
  164. package/dist/session/headless/reminder-labels.d.ts +63 -0
  165. package/dist/session/headless/reminder-labels.js +84 -0
  166. package/dist/session/headless/schedules.d.ts +93 -0
  167. package/dist/session/headless/schedules.js +190 -0
  168. package/dist/session/headless/secrets.d.ts +28 -0
  169. package/dist/session/headless/secrets.js +48 -0
  170. package/dist/session/index.d.ts +7 -5
  171. package/dist/session/index.js +6 -4
  172. package/dist/session/testing/contract.d.ts +18 -5
  173. package/dist/session/testing/contract.js +351 -43
  174. package/dist/session/testing/index.d.ts +4 -2
  175. package/dist/session/testing/index.js +4 -2
  176. package/dist/settings/headless/catalog.js +17 -1
  177. package/dist/settings/headless/index.d.ts +2 -2
  178. package/dist/settings/headless/index.js +3 -3
  179. package/dist/settings/headless/labels.d.ts +0 -2
  180. package/dist/settings/headless/labels.js +0 -2
  181. package/dist/settings/headless/layout.js +7 -1
  182. package/dist/settings/headless/providers.d.ts +17 -1
  183. package/dist/settings/headless/providers.js +19 -1
  184. package/dist/settings/headless/search.d.ts +1 -1
  185. package/dist/settings/rows.d.ts +1 -1
  186. package/dist/settings/rows.js +2 -2
  187. package/dist/settings/sections/appearance/AppearanceSection.js +2 -2
  188. package/dist/settings/sections/claude-import/ClaudeImportDialog.js +1 -1
  189. package/dist/settings/sections/editor/EditorSection.js +1 -1
  190. package/dist/settings/sections/environments/EnvironmentsSection.js +1 -1
  191. package/dist/settings/sections/extensions/ChangeOriginDialog.js +1 -1
  192. package/dist/settings/sections/extensions/CreateExtensionDialog.js +1 -1
  193. package/dist/settings/sections/extensions/ExtensionsSection.js +1 -1
  194. package/dist/settings/sections/host-catalog/HostCatalogSection.js +1 -1
  195. package/dist/settings/sections/instructions/InstructionsSection.js +1 -1
  196. package/dist/settings/sections/mcp/McpSection.js +1 -1
  197. package/dist/settings/sections/mcp/McpServerRow.js +1 -1
  198. package/dist/settings/sections/models/ModelRows.js +1 -1
  199. package/dist/settings/sections/providers/ProvidersSection.js +209 -201
  200. package/dist/settings/sections/providers/ServerProvidersSection.js +1 -1
  201. package/dist/settings/sections/shared/catalog.js +1 -1
  202. package/dist/settings/sections/skills/SkillsSection.js +1 -1
  203. package/dist/styles.css +59 -1
  204. package/dist/terminal/HostTerminalSurface.js +2 -2
  205. package/dist/workspace/PanelContentView.d.ts +22 -4
  206. package/dist/workspace/PanelContentView.js +112 -16
  207. package/dist/workspace/PanelGlyph.d.ts +21 -0
  208. package/dist/workspace/PanelGlyph.js +33 -0
  209. package/dist/workspace/PanelHome.js +5 -3
  210. package/dist/workspace/PanelStrip.js +11 -4
  211. package/dist/workspace/PanelToolbar.d.ts +32 -0
  212. package/dist/workspace/PanelToolbar.js +194 -0
  213. package/dist/workspace/WorkspaceProvider.d.ts +3 -1
  214. package/dist/workspace/WorkspaceProvider.js +6 -2
  215. package/dist/workspace/extension-tabs.js +5 -2
  216. package/dist/workspace/headless/host.d.ts +4 -0
  217. package/dist/workspace/headless/index.d.ts +3 -1
  218. package/dist/workspace/headless/index.js +4 -2
  219. package/dist/workspace/headless/labels.d.ts +10 -0
  220. package/dist/workspace/headless/labels.js +11 -1
  221. package/dist/workspace/headless/pages.d.ts +15 -0
  222. package/dist/workspace/headless/pages.js +49 -0
  223. package/dist/workspace/headless/tab-mark.d.ts +14 -0
  224. package/dist/workspace/headless/tab-mark.js +27 -0
  225. package/dist/workspace/headless/view.d.ts +7 -1
  226. package/dist/workspace/index.d.ts +3 -2
  227. package/dist/workspace/index.js +3 -2
  228. package/dist/workspace/testing/index.js +6 -0
  229. package/dist/workspace/workspace-key-commands.js +3 -3
  230. package/package.json +2 -2
  231. package/src/styles/motion.css +13 -0
  232. package/src/styles/onboarding.css +0 -1
  233. package/src/styles/primitives.css +10 -0
  234. package/src/styles/workspace.css +17 -0
  235. package/dist/session/TodosPanel.d.ts +0 -19
  236. package/dist/session/TodosPanel.js +0 -251
  237. package/dist/session/headless/todos.d.ts +0 -22
  238. package/dist/session/headless/todos.js +0 -38
@@ -1,8 +1,14 @@
1
+ import { SecretTimeLeft } from "../secrets.js";
2
+ import { u as AuthFailure } from "../../../dist/timeout-B5pO5I5a.js";
3
+ import { UC as SecretTtl } from "../../../dist/index-BI6RZc60.js";
4
+ import "../../../dist/index.js";
5
+ import "../index.js";
1
6
  //#region src/chat/headless/sidebar/labels.d.ts
2
7
  /** The default English strings of the session sidebar, merged over the chat layer's. */
3
8
  declare const DEFAULT_SIDEBAR_LABELS: {
4
9
  mainSession: string;
5
10
  changeMainIcon: string;
11
+ rowScheduled: string;
6
12
  activityCompacting: string;
7
13
  activityRetrying: string;
8
14
  activityWriting: string;
@@ -154,6 +160,7 @@ declare const DEFAULT_SIDEBAR_LABELS: {
154
160
  estimateDueTitle: string;
155
161
  estimateOver: string;
156
162
  estimateOverTitle: string;
163
+ estimateProblemTitle: (reason: string, message?: string) => string;
157
164
  runningFor: (elapsed: string) => string;
158
165
  agent: string;
159
166
  stepRunning: string;
@@ -182,6 +189,27 @@ declare const DEFAULT_SIDEBAR_LABELS: {
182
189
  continueRun: string;
183
190
  continueHint: string;
184
191
  resetsAt: (time: string) => string;
192
+ authCard: string;
193
+ authHeadline: (auth: AuthFailure, label: string) => string;
194
+ authSignInAgain: string;
195
+ authUseAccount: (account: string) => string;
196
+ authSwitching: (account: string) => string;
197
+ authSettings: string;
198
+ authSettingsHint: string;
199
+ authCopyDetails: string;
200
+ authCopied: string;
201
+ authOpeningBrowser: string;
202
+ authWaiting: string;
203
+ authOpenPage: string;
204
+ authEnterCode: (code: string) => string;
205
+ authPaste: string;
206
+ authPasteSend: string;
207
+ authCancel: string;
208
+ authSignedIn: string;
209
+ authSignedInRetrying: string;
210
+ authFixed: string;
211
+ authTryAgain: string;
212
+ authFailed: (message: string) => string;
185
213
  sessionEventLabel: (title: string, verb: string, needsAttention: boolean) => string;
186
214
  clickToAnswer: string;
187
215
  openSession: string;
@@ -363,6 +391,9 @@ declare const DEFAULT_SIDEBAR_LABELS: {
363
391
  questionCount: (count: number) => string;
364
392
  interactionsLabel: string;
365
393
  inboxEmpty: string;
394
+ inboxNeedsYou: string;
395
+ inboxInProgress: string;
396
+ inboxRecent: string;
366
397
  inboxPreviousSession: string;
367
398
  unsupportedInteraction: (tool: string) => string;
368
399
  planRejectNote: string;
@@ -387,6 +418,19 @@ declare const DEFAULT_SIDEBAR_LABELS: {
387
418
  noAnswer: string;
388
419
  confirmYes: string;
389
420
  confirmNo: string;
421
+ secretValueLabel: string;
422
+ secretValuePlaceholder: string;
423
+ secretTtlLabel: string;
424
+ secretTtlName: (ttl: SecretTtl) => string;
425
+ saveSecurely: string;
426
+ declineSecret: string;
427
+ declineSecretHint: string;
428
+ secretNote: (ttl: SecretTtl) => string;
429
+ secretSaved: (name: string, left: SecretTimeLeft) => string;
430
+ secretSent: (name: string) => string;
431
+ secretDeclined: (name: string) => string;
432
+ secretReused: (name: string) => string;
433
+ openSecrets: string;
390
434
  filterSessions: string;
391
435
  filterView: string;
392
436
  filterStatus: string;
@@ -429,6 +473,12 @@ declare const DEFAULT_SIDEBAR_LABELS: {
429
473
  filterPicked: (count: number) => string;
430
474
  filterSpaceDefault: string;
431
475
  filterSaveView: string;
476
+ filterOrigin: string;
477
+ filterOrigins: {
478
+ all: string;
479
+ scheduled: string;
480
+ unscheduled: string;
481
+ };
432
482
  hostStatuses: {
433
483
  local: string;
434
484
  connected: string;
@@ -10,6 +10,7 @@ const DEFAULT_SIDEBAR_LABELS = {
10
10
  ...DEFAULT_CHAT_LABELS,
11
11
  mainSession: "Main",
12
12
  changeMainIcon: "Change Main icon",
13
+ rowScheduled: "Started by a reminder",
13
14
  activityCompacting: "Compacting",
14
15
  activityRetrying: "Retrying",
15
16
  activityWriting: "Writing",
@@ -112,7 +112,7 @@ declare function filtersForSpace(filters: readonly ExtensionItem<'sidebar-filter
112
112
  */
113
113
  declare function filterQueryOf(filter: ExtensionItem<'sidebar-filter'>['item'], value: boolean | string | readonly string[] | undefined): SessionQuery | null;
114
114
  /**
115
- * The view layer's own narrowing: the agent and the contributed filters the space offers. `null`
115
+ * The view layer's own narrowing: the agent, the origin and the contributed filters the space offers. `null`
116
116
  * when none applies.
117
117
  *
118
118
  * @param view - The space's view.
@@ -251,7 +251,7 @@ declare function claimChildSessions<S extends SidebarListSession>(items: readonl
251
251
  };
252
252
  /**
253
253
  * Whether the view narrows the space's sessions: an archive axis other than `active`, a project,
254
- * an activity window, an agent, or a contributed filter the space offers turned on. Grouping and
254
+ * an activity window, an agent, an origin, or a contributed filter the space offers turned on. Grouping and
255
255
  * sort don't count.
256
256
  *
257
257
  * @param view - The space's view.
@@ -216,7 +216,7 @@ function filterQueryOf(filter, value) {
216
216
  return picked.length > 0 ? { any: picked.map((o) => o.query) } : null;
217
217
  }
218
218
  /**
219
- * The view layer's own narrowing: the agent and the contributed filters the space offers. `null`
219
+ * The view layer's own narrowing: the agent, the origin and the contributed filters the space offers. `null`
220
220
  * when none applies.
221
221
  *
222
222
  * @param view - The space's view.
@@ -227,6 +227,8 @@ function viewFilterOf(view, filters, now) {
227
227
  const tests = [];
228
228
  const agent = view.agent ?? null;
229
229
  if (agent !== null) tests.push((row) => row.agentId === agent);
230
+ if (view.origin === "scheduled") tests.push((row) => Boolean(row.scheduleId));
231
+ else if (view.origin === "unscheduled") tests.push((row) => !row.scheduleId);
230
232
  const values = view.extension?.filters ?? {};
231
233
  for (const { item } of filters) {
232
234
  const query = filterQueryOf(item, values[item.id]);
@@ -404,7 +406,7 @@ function claimChildSessions(items, sessions, now) {
404
406
  const filterValueOn = (value) => value !== void 0 && value !== false && value !== "" && !(Array.isArray(value) && value.length === 0);
405
407
  /**
406
408
  * Whether the view narrows the space's sessions: an archive axis other than `active`, a project,
407
- * an activity window, an agent, or a contributed filter the space offers turned on. Grouping and
409
+ * an activity window, an agent, an origin, or a contributed filter the space offers turned on. Grouping and
408
410
  * sort don't count.
409
411
  *
410
412
  * @param view - The space's view.
@@ -412,7 +414,7 @@ const filterValueOn = (value) => value !== void 0 && value !== false && value !=
412
414
  */
413
415
  function viewFiltersOn(view, filters) {
414
416
  if (view.archive !== "active" || view.project !== null || view.activity !== "all") return true;
415
- if (view.agent) return true;
417
+ if (view.agent || view.origin) return true;
416
418
  const values = view.extension?.filters ?? {};
417
419
  return filters.some(({ item }) => filterValueOn(values[item.id]));
418
420
  }
@@ -428,6 +430,7 @@ function clearedViewFilters(view) {
428
430
  project: null,
429
431
  activity: "all",
430
432
  agent: null,
433
+ origin: null,
431
434
  extension: {
432
435
  ...view.extension,
433
436
  filters: {}
@@ -38,6 +38,8 @@ interface SidebarListSession {
38
38
  archived?: boolean;
39
39
  /** The agent profile it runs (`AgentProfile.id`): the agent grouping and filter read it. */
40
40
  agentId?: string;
41
+ /** The reminder that started it (zidane's `SessionMeta.scheduleId`): the clock mark and the Origin filter read it. */
42
+ scheduleId?: string;
41
43
  /**
42
44
  * What extensions computed for it, keyed `<extensionId>.<key>` (a query reads one as
43
45
  * `facet.<extensionId>.<key>`). Absent: none, or a host that sends none.
@@ -67,6 +69,8 @@ interface SidebarExtensionView {
67
69
  /** A contributed grouping, or {@link VIEW_CHOICE}. Absent: the space's grouping when it has one, else `groupBy`. */
68
70
  group?: string;
69
71
  }
72
+ /** The Origin filter: the sessions a reminder started (`scheduleId` set), or the others. */
73
+ type SidebarOrigin = 'scheduled' | 'unscheduled';
70
74
  /** How the sidebar orders sessions inside a group. */
71
75
  type SidebarSortBy = 'recency' | 'createdTime' | 'alphabetical';
72
76
  /** The filter axes, kept per space. */
@@ -83,8 +87,10 @@ interface SidebarView {
83
87
  sortBy: SidebarSortBy;
84
88
  /** Only this agent's sessions (`AgentProfile.id`), or null for every agent. */
85
89
  agent?: string | null;
90
+ /** Only the sessions a reminder started, or only the others. Absent or null: every session. */
91
+ origin?: SidebarOrigin | null;
86
92
  /** What the user picked of the extensions' filters, sorts and groupings. Absent: nothing. */
87
93
  extension?: SidebarExtensionView;
88
94
  }
89
95
  //#endregion
90
- export { SessionActivityFilter, SessionArchiveFilter, SidebarExtensionView, SidebarGroupBy, SidebarListSession, SidebarSortBy, SidebarView, VIEW_CHOICE };
96
+ export { SessionActivityFilter, SessionArchiveFilter, SidebarExtensionView, SidebarGroupBy, SidebarListSession, SidebarOrigin, SidebarSortBy, SidebarView, VIEW_CHOICE };
@@ -80,6 +80,7 @@ function parseSidebarView(raw) {
80
80
  const str = (v) => typeof v === "string" ? v : "";
81
81
  const d = DEFAULT_SIDEBAR_VIEW;
82
82
  const agent = typeof o.agent === "string" && o.agent.length > 0 ? o.agent : null;
83
+ const origin = o.origin === "scheduled" || o.origin === "unscheduled" ? o.origin : null;
83
84
  const extension = parseExtensionView(o.extension);
84
85
  return {
85
86
  archive: parseArchive(str(o.archive)) ?? d.archive,
@@ -88,6 +89,7 @@ function parseSidebarView(raw) {
88
89
  groupBy: parseGroupBy(str(o.groupBy)) ?? d.groupBy,
89
90
  sortBy: parseSortBy(str(o.sortBy)) ?? d.sortBy,
90
91
  ...agent ? { agent } : {},
92
+ ...origin ? { origin } : {},
91
93
  ...extension ? { extension } : {}
92
94
  };
93
95
  }
@@ -0,0 +1,67 @@
1
+ import { Readable } from "../store.js";
2
+ import { SettingsCredential, SettingsProvider } from "../../../settings/headless/providers.js";
3
+ import { AuthFailure } from "zidane/chat/pure";
4
+ //#region src/chat/headless/transcript/auth-failure.d.ts
5
+ /** Where the card's Settings button lands: the provider (or MCP server, integration) and the stored credential that failed. */
6
+ interface AuthSettingsTarget {
7
+ /** What signs in. */
8
+ source: AuthFailure['source'];
9
+ /** The provider's key as the host lists it (or the MCP server's, the integration's name). */
10
+ provider: string;
11
+ /** The stored credential that failed (`SettingsCredential.key`), when it is known. */
12
+ credential?: string;
13
+ /** `apikey`: the credentials were an API key the provider refused; land on its key field. */
14
+ field?: 'apikey';
15
+ }
16
+ /** What the card offers for one failure, given the host's providers. */
17
+ interface AuthCardPlan {
18
+ /** The provider as the user knows it (`Anthropic`): the host's label, else `auth.provider`. */
19
+ label: string;
20
+ /** The host's provider the failure is about, when the list names it. */
21
+ provider?: SettingsProvider;
22
+ /** The stored credential that failed, when it can be told. */
23
+ failed?: SettingsCredential;
24
+ /** The stored OAuth account to sign in again (`SettingsSignInOptions.replaceKey`). */
25
+ replaceKey?: string;
26
+ /** Another stored OAuth account of the provider to switch to. */
27
+ otherAccount?: SettingsCredential;
28
+ /** Where Settings opens for it. */
29
+ settings: AuthSettingsTarget;
30
+ }
31
+ /**
32
+ * Plans the card of a failed sign-in: the provider's label, the stored
33
+ * credential that failed (by its id, else its account name, else the one in
34
+ * use when the failure names none), another OAuth account to switch to, and
35
+ * the Settings target.
36
+ *
37
+ * @param auth - The failed sign-in.
38
+ * @param providers - The providers of the host that holds the credentials; absent while unknown.
39
+ */
40
+ declare function planAuthCard(auth: AuthFailure, providers?: readonly SettingsProvider[]): AuthCardPlan;
41
+ /**
42
+ * What the card's Copy details writes: the headline, the reason, and the
43
+ * provider's own words when the reason rephrased them.
44
+ *
45
+ * @param headline - The card's headline.
46
+ * @param reason - The run's stop reason.
47
+ * @param raw - The provider's own words (`RunErrorDetail.raw`).
48
+ */
49
+ declare function authFailureDetails(headline: string, reason: string, raw?: string): string;
50
+ /** The sign-ins fixed from a card, per session: every card for the same sign-in says so. */
51
+ interface AuthFixes {
52
+ /** The sign-ins fixed in a session (`null`: a session without an id). */
53
+ fixed(sessionId: string | null): Readable<readonly AuthFailure[]>;
54
+ /** Records that a sign-in of a session was fixed. */
55
+ add(sessionId: string | null, auth: AuthFailure): void;
56
+ }
57
+ /** Creates an empty {@link AuthFixes}. */
58
+ declare function createAuthFixes(): AuthFixes;
59
+ /**
60
+ * Whether a failure's sign-in was fixed since.
61
+ *
62
+ * @param fixes - The session's fixed sign-ins.
63
+ * @param auth - The failure.
64
+ */
65
+ declare function isAuthFixed(fixes: readonly AuthFailure[], auth: AuthFailure): boolean;
66
+ //#endregion
67
+ export { AuthCardPlan, AuthFixes, AuthSettingsTarget, authFailureDetails, createAuthFixes, isAuthFixed, planAuthCard };
@@ -0,0 +1,87 @@
1
+ import { writable } from "../store.js";
2
+ import { authProviderKeys, sameAuthTarget } from "zidane/chat/pure";
3
+ //#region src/chat/headless/transcript/auth-failure.ts
4
+ /**
5
+ * The model behind a sign-in failure's card (`AuthFailureCard`): which
6
+ * provider and stored account failed, what the card can offer for it (sign
7
+ * that account in again, switch to another stored account, open Settings
8
+ * there), its copyable details, and the sign-ins fixed in this page's life.
9
+ * The rules of what to offer are core's (`zidane/chat/pure`'s
10
+ * `authPrimaryAction` …), shared with the TUI. React-free.
11
+ */
12
+ /**
13
+ * Plans the card of a failed sign-in: the provider's label, the stored
14
+ * credential that failed (by its id, else its account name, else the one in
15
+ * use when the failure names none), another OAuth account to switch to, and
16
+ * the Settings target.
17
+ *
18
+ * @param auth - The failed sign-in.
19
+ * @param providers - The providers of the host that holds the credentials; absent while unknown.
20
+ */
21
+ function planAuthCard(auth, providers) {
22
+ const keys = authProviderKeys(auth);
23
+ const provider = auth.source === "provider" ? providers?.find((p) => keys.includes(p.key)) : void 0;
24
+ const stored = provider?.methods.filter((m) => m.key && m.source !== "env") ?? [];
25
+ const named = auth.accountId !== void 0 || auth.accountLabel !== void 0;
26
+ const failed = (auth.accountId ? stored.find((m) => m.id === auth.accountId) : void 0) ?? (auth.accountLabel ? stored.find((m) => m.source === "oauth" && m.label === auth.accountLabel) : void 0) ?? (named ? void 0 : stored.find((m) => m.active));
27
+ const otherAccount = stored.find((m) => m.source === "oauth" && m.key !== failed?.key);
28
+ const apiKey = auth.kind === "rejected" && (failed ? failed.source === "apikey" : provider !== void 0 && provider.hasApiKey && !provider.hasOAuth);
29
+ return {
30
+ label: provider?.label ?? auth.provider,
31
+ ...provider ? { provider } : {},
32
+ ...failed ? { failed } : {},
33
+ ...failed?.source === "oauth" && failed.key ? { replaceKey: failed.key } : {},
34
+ ...otherAccount ? { otherAccount } : {},
35
+ settings: {
36
+ source: auth.source,
37
+ provider: provider?.key ?? auth.providerId ?? auth.provider,
38
+ ...failed?.key ? { credential: failed.key } : {},
39
+ ...apiKey ? { field: "apikey" } : {}
40
+ }
41
+ };
42
+ }
43
+ /**
44
+ * What the card's Copy details writes: the headline, the reason, and the
45
+ * provider's own words when the reason rephrased them.
46
+ *
47
+ * @param headline - The card's headline.
48
+ * @param reason - The run's stop reason.
49
+ * @param raw - The provider's own words (`RunErrorDetail.raw`).
50
+ */
51
+ function authFailureDetails(headline, reason, raw) {
52
+ return [
53
+ headline,
54
+ reason,
55
+ raw && raw !== reason ? raw : ""
56
+ ].filter(Boolean).join("\n\n");
57
+ }
58
+ /** Creates an empty {@link AuthFixes}. */
59
+ function createAuthFixes() {
60
+ const stores = /* @__PURE__ */ new Map();
61
+ const of = (sessionId) => {
62
+ let store = stores.get(sessionId);
63
+ if (!store) {
64
+ store = writable([]);
65
+ stores.set(sessionId, store);
66
+ }
67
+ return store;
68
+ };
69
+ return {
70
+ fixed: of,
71
+ add: (sessionId, auth) => {
72
+ const store = of(sessionId);
73
+ if (!store.get().some((fix) => sameAuthTarget(fix, auth))) store.set([...store.get(), auth]);
74
+ }
75
+ };
76
+ }
77
+ /**
78
+ * Whether a failure's sign-in was fixed since.
79
+ *
80
+ * @param fixes - The session's fixed sign-ins.
81
+ * @param auth - The failure.
82
+ */
83
+ function isAuthFixed(fixes, auth) {
84
+ return fixes.some((fix) => sameAuthTarget(fix, auth));
85
+ }
86
+ //#endregion
87
+ export { authFailureDetails, createAuthFixes, isAuthFixed, planAuthCard };
@@ -6,5 +6,6 @@ import { nestToolCalls, nestedCallVisible } from "./nesting.js";
6
6
  import { PairingResult, ToolPairing, pairToolEvents } from "./pairing.js";
7
7
  import { FoldActionItem, FoldActionState, foldActionItems, toolAction } from "./fold-actions.js";
8
8
  import { RunFailure, failureTooltip, markRunFailures } from "./run-failures.js";
9
+ import { AuthCardPlan, AuthFixes, AuthSettingsTarget, authFailureDetails, createAuthFixes, isAuthFixed, planAuthCard } from "./auth-failure.js";
9
10
  import { SelectStops, computeSelectStops, rowTurnIds, stopForRow } from "./select-stops.js";
10
- export { type BashExitMeta, type Cluster, type DotVariant, type ExchangeFoldStats, type FoldActionItem, type FoldActionState, type GroupCluster, type Owned, type PairingResult, type Row, type RunFailure, type SelectStops, type SpawnMeta, type ToolPairing, type ToolRowModel, batchThinkingRuns, batchToolRuns, clusterByOwner, collapseEvents, computeSelectStops, dockRunReceipts, dotVariantFor, failureTooltip, findLastStreamingRow, firstRowId, foldActionItems, foldExchanges, foldWorkerRows, inheritRowIdentity, markRunFailures, nestToolCalls, nestedCallVisible, pairToolEvents, parseBashExitMeta, refusedSpawn, rowTurnIds, stopForRow, toolAction, toolFailed };
11
+ export { type AuthCardPlan, type AuthFixes, type AuthSettingsTarget, type BashExitMeta, type Cluster, type DotVariant, type ExchangeFoldStats, type FoldActionItem, type FoldActionState, type GroupCluster, type Owned, type PairingResult, type Row, type RunFailure, type SelectStops, type SpawnMeta, type ToolPairing, type ToolRowModel, authFailureDetails, batchThinkingRuns, batchToolRuns, clusterByOwner, collapseEvents, computeSelectStops, createAuthFixes, dockRunReceipts, dotVariantFor, failureTooltip, findLastStreamingRow, firstRowId, foldActionItems, foldExchanges, foldWorkerRows, inheritRowIdentity, isAuthFixed, markRunFailures, nestToolCalls, nestedCallVisible, pairToolEvents, parseBashExitMeta, planAuthCard, refusedSpawn, rowTurnIds, stopForRow, toolAction, toolFailed };
@@ -6,5 +6,6 @@ import { foldActionItems, toolAction } from "./fold-actions.js";
6
6
  import { dockRunReceipts, dotVariantFor, findLastStreamingRow, foldExchanges, foldWorkerRows } from "./fold.js";
7
7
  import { nestToolCalls, nestedCallVisible } from "./nesting.js";
8
8
  import { failureTooltip, markRunFailures } from "./run-failures.js";
9
+ import { authFailureDetails, createAuthFixes, isAuthFixed, planAuthCard } from "./auth-failure.js";
9
10
  import { computeSelectStops, rowTurnIds, stopForRow } from "./select-stops.js";
10
- export { batchThinkingRuns, batchToolRuns, clusterByOwner, collapseEvents, computeSelectStops, dockRunReceipts, dotVariantFor, failureTooltip, findLastStreamingRow, firstRowId, foldActionItems, foldExchanges, foldWorkerRows, inheritRowIdentity, markRunFailures, nestToolCalls, nestedCallVisible, pairToolEvents, parseBashExitMeta, refusedSpawn, rowTurnIds, stopForRow, toolAction, toolFailed };
11
+ export { authFailureDetails, batchThinkingRuns, batchToolRuns, clusterByOwner, collapseEvents, computeSelectStops, createAuthFixes, dockRunReceipts, dotVariantFor, failureTooltip, findLastStreamingRow, firstRowId, foldActionItems, foldExchanges, foldWorkerRows, inheritRowIdentity, isAuthFixed, markRunFailures, nestToolCalls, nestedCallVisible, pairToolEvents, parseBashExitMeta, planAuthCard, refusedSpawn, rowTurnIds, stopForRow, toolAction, toolFailed };
@@ -2,9 +2,9 @@ import { ChatEvent } from "../host.js";
2
2
  import { Row } from "./rows.js";
3
3
  //#region src/chat/headless/transcript/nesting.d.ts
4
4
  /**
5
- * Whether a nested call's events show: a call that runs a subagent always
6
- * does (its worker attaches to it), the others only with
7
- * `Settings.codemodeShowCalls`. Core's `isVisible` applies the same rule.
5
+ * Whether a nested call's events show: core's `nestedCallShown` (a subagent,
6
+ * a plan or a question always; the rest only with
7
+ * `Settings.codemodeShowCalls`), the rule `isVisible` applies too.
8
8
  *
9
9
  * @param event - The transcript event.
10
10
  * @param codemodeShowCalls - The user's `codemodeShowCalls` setting.
@@ -1,15 +1,23 @@
1
1
  import { sameMembers } from "./batch.js";
2
+ import { nestedCallShown } from "zidane/chat/pure";
2
3
  //#region src/chat/headless/transcript/nesting.ts
3
4
  /**
4
- * Whether a nested call's events show: a call that runs a subagent always
5
- * does (its worker attaches to it), the others only with
6
- * `Settings.codemodeShowCalls`. Core's `isVisible` applies the same rule.
5
+ * Calls a tool made (a codemode script's `tools.*`, recorded with
6
+ * `parentToolCallId`) as children of the calling row: one grouping step
7
+ * keyed on the parent's call id, never on position, so a live run (nested
8
+ * events between the parent's call and result) and a reload (nested pairs
9
+ * right before the parent's result) give the same rows.
10
+ */
11
+ /**
12
+ * Whether a nested call's events show: core's `nestedCallShown` (a subagent,
13
+ * a plan or a question always; the rest only with
14
+ * `Settings.codemodeShowCalls`), the rule `isVisible` applies too.
7
15
  *
8
16
  * @param event - The transcript event.
9
17
  * @param codemodeShowCalls - The user's `codemodeShowCalls` setting.
10
18
  */
11
19
  function nestedCallVisible(event, codemodeShowCalls) {
12
- return event.parentToolCallId === void 0 || event.runsNestedAgent === true || codemodeShowCalls;
20
+ return event.parentToolCallId === void 0 || nestedCallShown(event, codemodeShowCalls);
13
21
  }
14
22
  /** The row with children, per source row: kept while the children are the same rows. */
15
23
  const NESTED_CACHE = /* @__PURE__ */ new WeakMap();
@@ -91,8 +91,9 @@ import { InteractionCard, InteractionCardProps } from "./interactions/Interactio
91
91
  import { PlanBody, PlanBodyProps, PlanCard, PlanCardProps } from "./interactions/PlanCard.js";
92
92
  import { QuestionField, QuestionFieldProps, isRequired } from "./interactions/QuestionField.js";
93
93
  import { AnsweredQuestions, AnsweredQuestionsProps, QuestionForm, QuestionFormProps, seedDefaults } from "./interactions/QuestionForm.js";
94
+ import { SecretInput, SecretInputProps } from "./interactions/SecretInput.js";
94
95
  import "./interactions/index.js";
95
- import { TranscriptActions, TranscriptActionsProvider, TranscriptActionsProviderProps, useModelName, useTranscriptActions } from "./transcript/actions.js";
96
+ import { TranscriptAccounts, TranscriptActions, TranscriptActionsProvider, TranscriptActionsProviderProps, useModelName, useTranscriptActions } from "./transcript/actions.js";
96
97
  import { DiffLines, DiffLinesProps } from "./transcript/DiffLines.js";
97
98
  import { EditDiffBlock, EditDiffBlockProps } from "./transcript/EditDiffBlock.js";
98
99
  import { ExchangeFoldRow, ExchangeFoldRowProps, FoldHeader, FoldHeaderProps } from "./transcript/fold.js";
@@ -104,6 +105,7 @@ import { Markdown, MarkdownDiagrams, MarkdownDiagramsProps, MarkdownLinkProps, M
104
105
  import { MermaidDiagram, MermaidDiagramProps } from "./transcript/MermaidDiagram.js";
105
106
  import { MessageGroupRow, MessageGroupRowProps } from "./transcript/messages.js";
106
107
  import { COMMAND_DETAIL_LINE, CommandDetailRow, CommandDetailRowProps, CommandNoteRow, CommandNoteRowProps, ErrorRow, ErrorRowProps, FailureRow, FailureRowProps, InfoRow, InfoRowProps, NoticeRow, NoticeRowProps, SessionEventRow, SessionEventRowProps, SpawnEndRow, SpawnEndRowProps, SpawnStartRow, SpawnStartRowProps } from "./transcript/notices.js";
108
+ import { AuthFailureCard, AuthFailureCardProps } from "./transcript/AuthFailureCard.js";
107
109
  import { AttachmentIcon, AttachmentIconProps, UserPromptAttachments, UserPromptAttachmentsProps, UserPromptRow, UserPromptRowProps } from "./transcript/prompt.js";
108
110
  import { PromptLines, PromptLinesProps, copyPromptLines } from "./transcript/prompt-lines.js";
109
111
  import { TextRow, TextRowProps, ThinkingBatchRow, ThinkingBatchRowProps, ThinkingRow, ThinkingRowProps } from "./transcript/prose.js";
@@ -157,4 +159,4 @@ import { UserBashRow, UserBashRowProps } from "./transcript/user-bash.js";
157
159
  import { RowPlace, ScrollPosition, StickToBottomOptions, useStickToBottom } from "./transcript/useStickToBottom.js";
158
160
  import { useTranscriptSelectionCopy } from "./transcript/useTranscriptSelectionCopy.js";
159
161
  import "./transcript/index.js";
160
- export { ATTACHMENT_NOTICE_MS, AUTO_FILL_PAGES, AgentPicker, AgentPickerDialog, AgentPickerDialogProps, AgentPickerProps, AgentProfile, AnsiSpans, type AnsiSpansProps, AnsiText, type AnsiTextProps, AnsweredQuestions, AnsweredQuestionsProps, ApprovalDock, ApprovalDockProps, ArchivedBanner, ArchivedBannerProps, AttachmentIcon, AttachmentIconProps, AttachmentLabelFn, AttachmentLabelParts, AttachmentNotices, AttachmentNoticesProps, AttachmentRefusedError, AttachmentRow, AttachmentRowProps, AttachmentTextState, AttachmentTiles, AttachmentTilesProps, BADGE_GLYPH, BadgeEffectContext, BadgeMenuComposer, BadgeMenuProvider, BadgeMenuProviderProps, BadgeMenuSystem, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, CardMarkdownProps, Caret, CaretProps, ChatProvider, ChatProviderProps, ChipCard, ChipCardProps, ChipHover, ChipHoverProps, ChipOpener, CodeBlockSlotProps, CodemodeScript, type CodemodeScriptProps, CommandCard, CommandCardProps, CommandDetailRow, CommandDetailRowProps, CommandNoteRow, CommandNoteRowProps, CommandScope, CommandScopeContext, CommitCard, CommitCardProps, CompactSummaryRow, CompactSummaryRowProps, Composer, type ComposerAttachment, ComposerBadge, ComposerBadgeTone, ComposerBadges, ComposerBadgesProps, ComposerControls, ComposerControlsProps, ComposerDefaults, ComposerDock, ComposerDockProps, ComposerDraft, ComposerHandle, ComposerHostProvider, ComposerHostProviderProps, ComposerProps, ComposerResult, ComposerRetry, ComposerSearch, ComposerStatusPills, ComposerStatusPillsProps, ComposerSubmit, ComposerTarget, ContextBreakdown, type ContextBreakdownData, ContextBreakdownProps, ContextCost, ContextGauge, ContextOrb, ContextOrbProps, ContextUsage, ConversationBadges, ConversationBadgesProps, Cursor, CvRow, CvRowProps, CycleAgentOptions, DEFAULT_BADGE_ORDER, DEFAULT_TRANSCRIPT_OPTIONS, DEFAULT_TRANSCRIPT_RENDERERS, DaemonOrb, DaemonOrbButton, DaemonOrbButtonProps, DaemonOrbProps, DefaultInlineText, DefaultInlineTextProps, DefaultMarkdown, DefaultMarkdownProps, DefaultPrompt, DefaultPromptProps, DefaultSessionTitle, DefaultSessionTitleProps, DiffLines, DiffLinesProps, DockCard, DockCardProps, DockRow, DockRowProps, Dot, DotProps, DraftServer, DraftTarget, DraftTargetOptions, DraftTargetRequest, EFFORT_LEVELS, EditDiffBlock, EditDiffBlockProps, EffortLevel, EffortPickerDialog, EffortPickerDialogProps, ErrorRow, ErrorRowProps, ExchangeFoldRow, ExchangeFoldRowProps, FILL_MIN_PROMPTS, FailedMark, FailedMarkProps, FailureRow, FailureRowProps, FileBadgeIcon, FileBadgeIconProps, FoldHeader, FoldHeaderProps, GUTTER_STEP_PX, GroupGlyph, GroupGlyphProps, HostAgentPicker, HostAgentPickerProps, HostBadge, HostBadgeProps, HostComposer, HostComposerProps, HostContextOrb, HostContextOrbProps, HostInteractions, HostInteractionsProps, HostModelChainList, HostModelChainListProps, HostModelImages, HostModelOptionsPicker, HostModelOptionsPickerProps, HostModelPicker, HostModelPickerProps, HostPicker, HostPickerProps, HostStatusDot, HostStatusDotProps, HostTranscript, HostTranscriptProps, INLINE_CODE_CLASS, ImageGenerationBlock, ImageGenerationBlockProps, ImageModelList, ImageModelListProps, type ImageModelRow, InboxPanel, InboxPanelProps, InfoRow, InfoRowProps, InlineChipText, InlineChipTextProps, InlineCode, InlineCodeProps, InlineTextSlotProps, InteractionCard, InteractionCardProps, InteractionTool, InteractionToolBody, InteractionToolBodyProps, LazyRow, LazyRowProps, LineState, LinkBadge, LinkBadgeProps, LinkIcon, LinkIconProps, LiveOutput, type LiveOutputProps, LoadEarlierRow, LoadEarlierRowProps, LoadFullOutputButton, LoadFullOutputButtonProps, MAX_FILE_ATTACHMENT_BYTES, MAX_IMAGE_ATTACHMENT_BYTES, MAX_MATCHES, MAX_TEXT_PREVIEW_BYTES, Markdown, MarkdownContext, MarkdownContextValue, MarkdownDiagrams, MarkdownDiagramsProps, MarkdownLinkProps, MarkdownProps, MarkdownSlotProps, MentionItem, MermaidDiagram, type MermaidDiagramProps, MessageGroupRow, MessageGroupRowProps, type ModelCatalogRow, ModelCatalogState, ModelChainFooter, ModelChainFooterProps, ModelChainHeader, ModelChainHeaderProps, ModelChainImages, ModelChainList, ModelChainListProps, ModelChainPopover, ModelChainPopoverProps, ModelChainRow, ModelChainRowProps, ModelChainRows, ModelChainRowsProps, ModelChainTooltip, ModelChainTooltipProps, ModelChoice, ModelFlag, ModelFlagProps, ModelGroupHeader, ModelGroupHeaderProps, ModelKind, ModelMeta, ModelMetaProps, ModelOption, ModelOptionsPicker, ModelOptionsPickerProps, type ModelPickRef, ModelPicker, ModelPickerDialog, ModelPickerDialogProps, ModelPickerFrame, ModelPickerFrameProps, ModelPickerProps, ModelProviderChip, ModelProviderChipProps, ModelProviderPills, ModelProviderPillsProps, ModelReasoning, ModelReasoningProps, ModelVerdict, ModelVerdictProps, ModelWindow, ModelWindowProps, NO_COMPOSER_HINT, NestedToolCalls, NestedToolCallsProps, NewSessionDefaults, NewSessionModelSource, NoticeRow, NoticeRowProps, OPTION_ICON, OpenBadgeMenu, OpenSessionContext, OrbState, OrderedBadge, PASTE_FOLD_CHAR_THRESHOLD, PASTE_FOLD_LINE_THRESHOLD, ParsedRef, ParsedReferenceUrl, PdfPreview, PdfPreviewProps, PickerGroup, PickerPill, PickerPillProps, PlanBody, PlanBodyProps, PlanCard, PlanCardProps, ProjectMenu, ProjectMenuProps, PromptEcho, PromptEchoProps, PromptHistoryProvider, PromptHistoryProviderProps, PromptHistoryValue, PromptLines, PromptLinesProps, PromptSlotProps, ProseMarkdown, ProseMarkdownProps, QuestionField, QuestionFieldProps, QuestionForm, QuestionFormProps, ReadFileBlock, ReadFileBlockProps, RefChip, RefChipProps, RefMatch, ReferenceChip, ReferenceChipProps, ReferenceText, ReferenceTextProps, RetryPill, RetryPillProps, type RowActionItem, RowContext, RowFrame, RowFrameProps, RowIconsContext, RowPlace, RunEstimateChip, RunEstimateChipProps, RunEstimatesProvider, RunEstimatesProviderProps, RunReceiptInline, RunReceiptInlineProps, RunStatusChip, RunStatusChipProps, RunSummaryRow, RunSummaryRowProps, RunnableCodeBlock, type RunnableCodeBlockProps, ScopeToggle, ScopeToggleProps, ScrollPosition, SearchHighlightStyle, SelectCursor, SelectCursorProps, SelectTurnCommands, SelectTurnExit, SelectTurnHint, SelectTurnHintKeys, SelectTurnHintKeysProps, type SelectTurnHintProps, SelectTurnKeysOptions, SelectTurnProvider, SelectTurnProviderProps, SelectTurnState, SelectTurnValue, SendButton, SendButtonProps, SendPromptControls, SendPromptOptions, SendRoute, ServerScopeToggle, ServerScopeToggleProps, SessionActivityFilter, SessionArchiveFilter, SessionCard, SessionCardProps, SessionDotState, SessionEventRow, SessionEventRowProps, SessionFilterAction, SessionFilterAxis, SessionFilterExtra, SessionFilterMenu, SessionFilterMenuProps, SessionFilterPlacement, SessionGroupHeader, SessionGroupHeaderProps, SessionHostHeader, SessionHostHeaderProps, SessionList, SessionListProps, SessionListRow, SessionListRowProps, SessionMeters, SessionMetersTarget, SessionProjectAxis, SessionStreamsProvider, SessionStreamsProviderProps, SessionTitleSlotProps, SessionView, ShellBlockProvider, type ShellBlockProviderProps, type ShellBlockScope, ShowMoreRow, ShowMoreRowProps, SkillCard, SkillCardProps, SlotEntry, SpawnEndRow, SpawnEndRowProps, SpawnStartRow, SpawnStartRowProps, StatusDot, StatusDotProps, StickToBottomOptions, SubagentBlock, SubagentBlockProps, SuggestionKind, SuggestionPopup, SuggestionPopupProps, SuggestionSource, SuggestionState, THINKING_LEVELS, TRANSCRIPT_OPTION_KEYS, TRIGGER, TextPreview, TextPreviewProps, TextPreviewSlotProps, TextRow, TextRowProps, ThinkingBatchRow, ThinkingBatchRowProps, ThinkingLevel, ThinkingRow, ThinkingRowProps, Throbber, ThrobberProps, ThrobberVariant, ToolBatchRow, ToolBatchRowProps, ToolBodySlotProps, ToolDetails, ToolDetailsProps, ToolGlyph, ToolGlyphProps, ToolInput, ToolInputProps, ToolMedia, type ToolMediaItem, ToolMediaProps, ToolRow, ToolRowProps, ToolTiming, ToolTimingProps, Transcript, TranscriptActions, TranscriptActionsProvider, TranscriptActionsProviderProps, TranscriptFind, TranscriptFindKeyOptions, TranscriptFindOptions, TranscriptFindTarget, TranscriptOptions, TranscriptProps, TranscriptRenderers, TranscriptRenderersProvider, type TranscriptRenderersProviderProps, TranscriptRow, TranscriptRowProps, TranscriptRowSlot, TranscriptRowSlotProps, TranscriptRows, TranscriptRowsInput, TranscriptScrollInputs, TranscriptSearch, TranscriptSearchOptions, TranscriptSearchProps, TranscriptSearchState, TranscriptSelection, TranscriptSettling, TranscriptTurnMenu, TurnCommands, TurnCommandsOptions, TurnMenuActions, TurnMenuTarget, UserBashRow, UserBashRowProps, UserPromptAttachments, UserPromptAttachmentsProps, UserPromptRow, UserPromptRowProps, WORK_HOLD_MS, WORK_SHOW_MS, WorkerDetails, WorkerDetailsProps, __resetComposerScopesForTests, attachmentErrorText, attachmentLightboxItems, canJoinChain, catalogFromProviders, claimComposerFocus, classifyInlineRef, colorForCategory, compactWindow, contextGauge, copyPromptLines, createTurnCommands, decodeDataUrlAsText, defaultAttachmentLabel, defaultAttachmentTileLabel, detectLanguage, dotStateFor, drawsImageGeneration, effectiveImageModel, fileBadgeName, fileBadgeSpec, findModel, findRefs, focusComposer, formatBytes, groupKeyOf, hasComposerFor, hasFocusedComposer, hasInteractionBody, holdForceMountRows, imageCatalogRows, imageModelKey, imageRequestsOf, isCaretAtEnd, isCaretAtStart, isFocusedComposer, isHiddenRow, isPdfAttachment, isRequired, isTextLike, lineStateOf, lineupKeyOf, linkGlyph, mergeBadgeOrder, modelKey, modelLineup, modelNameOf, modelSearchScore, mountRowNow, nextProfileId, numberRef, offCatalogRows, onComposerAttachment, onComposerDraft, onComposerFocus, onComposerInsert, onComposerMention, onComposerPrompt, orbState, orderComposerBadges, parseRefUrl, parseReferenceUrl, parseToolMedia, pastedTextFilename, pickRefOf, pickerGroups, plainTextToDocJson, providerAccountLabel, providerColor, providerHue, providerTint, pushComposerAttachment, pushComposerDraft, pushComposerInsert, pushComposerMention, pushComposerPrompt, readAttachment, refHref, refKey, referenceUrl, registerComposerScope, remarkReferences, remarkRefs, resolveChain, resolvePick, resourceErrorText, rowKey, savedPaths, seedDefaults, shouldFoldPasteToAttachment, siteIconValue, suggestionExtension, textAttachment, unresolveChain, useAgentProfiles, useAllInteractions, useAttachmentIngest, useAttachmentNotices, useAttachmentRemoval, useAttachmentText, useBackgroundMount, useBadgeMenu, useCacheHints, useCaptureRunState, useChatHost, useChatLabels, useChipResolution, useCommand, useCommitInfo, useComposerFor, useComposerHost, useComposerLabels, useComposerModelName, useComposerProviderLabel, useComposerSearch, useCycleAgent, useDraftKnobs, useDraftTarget, useFillViewportScrollback, useForceMountRows, useFullOutput, useHasFocusedComposer, useHasSessionEvents, useHostResource, useHostSessions, useInteractionHead, useIsSessionHydrated, useJoinedRunProgress, useModelCatalog, useModelKnobs, useModelName, useModelPickerPrefs, useModelPickerPrefsStore, useNewSessionDefaults, useOptionalChatHost, usePeekRunSeq, usePeekSessionEvents, usePeekSessionRunning, usePendingInteractions, usePromptHistory, useProviderReadyPoll, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useRememberedKnobs, useResolveChipNow, useRowIcons, useRunAccruedCost, useRunElapsedSec, useRunEstimate, useRunMeterValue, useRunOutputTokens, useRunProgress, useRunStartedAt, useSelectStops, useSelectTurn, useSelectTurnKeys, useSendPrompt, useSessionContextStatus, useSessionEdits, useSessionEvents, useSessionEventsSelector, useSessionFallbackModel, useSessionMeters, useSessionPage, useSessionRetry, useSessionRunning, useSessionStreamActions, useSessionStreams, useSessionSystemMd, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useSustainedWork, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptOptions, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause, withPrimary, workShowDelay };
162
+ export { ATTACHMENT_NOTICE_MS, AUTO_FILL_PAGES, AgentPicker, AgentPickerDialog, AgentPickerDialogProps, AgentPickerProps, AgentProfile, AnsiSpans, type AnsiSpansProps, AnsiText, type AnsiTextProps, AnsweredQuestions, AnsweredQuestionsProps, ApprovalDock, ApprovalDockProps, ArchivedBanner, ArchivedBannerProps, AttachmentIcon, AttachmentIconProps, AttachmentLabelFn, AttachmentLabelParts, AttachmentNotices, AttachmentNoticesProps, AttachmentRefusedError, AttachmentRow, AttachmentRowProps, AttachmentTextState, AttachmentTiles, AttachmentTilesProps, AuthFailureCard, AuthFailureCardProps, BADGE_GLYPH, BadgeEffectContext, BadgeMenuComposer, BadgeMenuProvider, BadgeMenuProviderProps, BadgeMenuSystem, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, CardMarkdownProps, Caret, CaretProps, ChatProvider, ChatProviderProps, ChipCard, ChipCardProps, ChipHover, ChipHoverProps, ChipOpener, CodeBlockSlotProps, CodemodeScript, type CodemodeScriptProps, CommandCard, CommandCardProps, CommandDetailRow, CommandDetailRowProps, CommandNoteRow, CommandNoteRowProps, CommandScope, CommandScopeContext, CommitCard, CommitCardProps, CompactSummaryRow, CompactSummaryRowProps, Composer, type ComposerAttachment, ComposerBadge, ComposerBadgeTone, ComposerBadges, ComposerBadgesProps, ComposerControls, ComposerControlsProps, ComposerDefaults, ComposerDock, ComposerDockProps, ComposerDraft, ComposerHandle, ComposerHostProvider, ComposerHostProviderProps, ComposerProps, ComposerResult, ComposerRetry, ComposerSearch, ComposerStatusPills, ComposerStatusPillsProps, ComposerSubmit, ComposerTarget, ContextBreakdown, type ContextBreakdownData, ContextBreakdownProps, ContextCost, ContextGauge, ContextOrb, ContextOrbProps, ContextUsage, ConversationBadges, ConversationBadgesProps, Cursor, CvRow, CvRowProps, CycleAgentOptions, DEFAULT_BADGE_ORDER, DEFAULT_TRANSCRIPT_OPTIONS, DEFAULT_TRANSCRIPT_RENDERERS, DaemonOrb, DaemonOrbButton, DaemonOrbButtonProps, DaemonOrbProps, DefaultInlineText, DefaultInlineTextProps, DefaultMarkdown, DefaultMarkdownProps, DefaultPrompt, DefaultPromptProps, DefaultSessionTitle, DefaultSessionTitleProps, DiffLines, DiffLinesProps, DockCard, DockCardProps, DockRow, DockRowProps, Dot, DotProps, DraftServer, DraftTarget, DraftTargetOptions, DraftTargetRequest, EFFORT_LEVELS, EditDiffBlock, EditDiffBlockProps, EffortLevel, EffortPickerDialog, EffortPickerDialogProps, ErrorRow, ErrorRowProps, ExchangeFoldRow, ExchangeFoldRowProps, FILL_MIN_PROMPTS, FailedMark, FailedMarkProps, FailureRow, FailureRowProps, FileBadgeIcon, FileBadgeIconProps, FoldHeader, FoldHeaderProps, GUTTER_STEP_PX, GroupGlyph, GroupGlyphProps, HostAgentPicker, HostAgentPickerProps, HostBadge, HostBadgeProps, HostComposer, HostComposerProps, HostContextOrb, HostContextOrbProps, HostInteractions, HostInteractionsProps, HostModelChainList, HostModelChainListProps, HostModelImages, HostModelOptionsPicker, HostModelOptionsPickerProps, HostModelPicker, HostModelPickerProps, HostPicker, HostPickerProps, HostStatusDot, HostStatusDotProps, HostTranscript, HostTranscriptProps, INLINE_CODE_CLASS, ImageGenerationBlock, ImageGenerationBlockProps, ImageModelList, ImageModelListProps, type ImageModelRow, InboxPanel, InboxPanelProps, InfoRow, InfoRowProps, InlineChipText, InlineChipTextProps, InlineCode, InlineCodeProps, InlineTextSlotProps, InteractionCard, InteractionCardProps, InteractionTool, InteractionToolBody, InteractionToolBodyProps, LazyRow, LazyRowProps, LineState, LinkBadge, LinkBadgeProps, LinkIcon, LinkIconProps, LiveOutput, type LiveOutputProps, LoadEarlierRow, LoadEarlierRowProps, LoadFullOutputButton, LoadFullOutputButtonProps, MAX_FILE_ATTACHMENT_BYTES, MAX_IMAGE_ATTACHMENT_BYTES, MAX_MATCHES, MAX_TEXT_PREVIEW_BYTES, Markdown, MarkdownContext, MarkdownContextValue, MarkdownDiagrams, MarkdownDiagramsProps, MarkdownLinkProps, MarkdownProps, MarkdownSlotProps, MentionItem, MermaidDiagram, type MermaidDiagramProps, MessageGroupRow, MessageGroupRowProps, type ModelCatalogRow, ModelCatalogState, ModelChainFooter, ModelChainFooterProps, ModelChainHeader, ModelChainHeaderProps, ModelChainImages, ModelChainList, ModelChainListProps, ModelChainPopover, ModelChainPopoverProps, ModelChainRow, ModelChainRowProps, ModelChainRows, ModelChainRowsProps, ModelChainTooltip, ModelChainTooltipProps, ModelChoice, ModelFlag, ModelFlagProps, ModelGroupHeader, ModelGroupHeaderProps, ModelKind, ModelMeta, ModelMetaProps, ModelOption, ModelOptionsPicker, ModelOptionsPickerProps, type ModelPickRef, ModelPicker, ModelPickerDialog, ModelPickerDialogProps, ModelPickerFrame, ModelPickerFrameProps, ModelPickerProps, ModelProviderChip, ModelProviderChipProps, ModelProviderPills, ModelProviderPillsProps, ModelReasoning, ModelReasoningProps, ModelVerdict, ModelVerdictProps, ModelWindow, ModelWindowProps, NO_COMPOSER_HINT, NestedToolCalls, NestedToolCallsProps, NewSessionDefaults, NewSessionModelSource, NoticeRow, NoticeRowProps, OPTION_ICON, OpenBadgeMenu, OpenSessionContext, OrbState, OrderedBadge, PASTE_FOLD_CHAR_THRESHOLD, PASTE_FOLD_LINE_THRESHOLD, ParsedRef, ParsedReferenceUrl, PdfPreview, PdfPreviewProps, PickerGroup, PickerPill, PickerPillProps, PlanBody, PlanBodyProps, PlanCard, PlanCardProps, ProjectMenu, ProjectMenuProps, PromptEcho, PromptEchoProps, PromptHistoryProvider, PromptHistoryProviderProps, PromptHistoryValue, PromptLines, PromptLinesProps, PromptSlotProps, ProseMarkdown, ProseMarkdownProps, QuestionField, QuestionFieldProps, QuestionForm, QuestionFormProps, ReadFileBlock, ReadFileBlockProps, RefChip, RefChipProps, RefMatch, ReferenceChip, ReferenceChipProps, ReferenceText, ReferenceTextProps, RetryPill, RetryPillProps, type RowActionItem, RowContext, RowFrame, RowFrameProps, RowIconsContext, RowPlace, RunEstimateChip, RunEstimateChipProps, RunEstimatesProvider, RunEstimatesProviderProps, RunReceiptInline, RunReceiptInlineProps, RunStatusChip, RunStatusChipProps, RunSummaryRow, RunSummaryRowProps, RunnableCodeBlock, type RunnableCodeBlockProps, ScopeToggle, ScopeToggleProps, ScrollPosition, SearchHighlightStyle, SecretInput, SecretInputProps, SelectCursor, SelectCursorProps, SelectTurnCommands, SelectTurnExit, SelectTurnHint, SelectTurnHintKeys, SelectTurnHintKeysProps, type SelectTurnHintProps, SelectTurnKeysOptions, SelectTurnProvider, SelectTurnProviderProps, SelectTurnState, SelectTurnValue, SendButton, SendButtonProps, SendPromptControls, SendPromptOptions, SendRoute, ServerScopeToggle, ServerScopeToggleProps, SessionActivityFilter, SessionArchiveFilter, SessionCard, SessionCardProps, SessionDotState, SessionEventRow, SessionEventRowProps, SessionFilterAction, SessionFilterAxis, SessionFilterExtra, SessionFilterMenu, SessionFilterMenuProps, SessionFilterPlacement, SessionGroupHeader, SessionGroupHeaderProps, SessionHostHeader, SessionHostHeaderProps, SessionList, SessionListProps, SessionListRow, SessionListRowProps, SessionMeters, SessionMetersTarget, SessionProjectAxis, SessionStreamsProvider, SessionStreamsProviderProps, SessionTitleSlotProps, SessionView, ShellBlockProvider, type ShellBlockProviderProps, type ShellBlockScope, ShowMoreRow, ShowMoreRowProps, SkillCard, SkillCardProps, SlotEntry, SpawnEndRow, SpawnEndRowProps, SpawnStartRow, SpawnStartRowProps, StatusDot, StatusDotProps, StickToBottomOptions, SubagentBlock, SubagentBlockProps, SuggestionKind, SuggestionPopup, SuggestionPopupProps, SuggestionSource, SuggestionState, THINKING_LEVELS, TRANSCRIPT_OPTION_KEYS, TRIGGER, TextPreview, TextPreviewProps, TextPreviewSlotProps, TextRow, TextRowProps, ThinkingBatchRow, ThinkingBatchRowProps, ThinkingLevel, ThinkingRow, ThinkingRowProps, Throbber, ThrobberProps, ThrobberVariant, ToolBatchRow, ToolBatchRowProps, ToolBodySlotProps, ToolDetails, ToolDetailsProps, ToolGlyph, ToolGlyphProps, ToolInput, ToolInputProps, ToolMedia, type ToolMediaItem, ToolMediaProps, ToolRow, ToolRowProps, ToolTiming, ToolTimingProps, Transcript, TranscriptAccounts, TranscriptActions, TranscriptActionsProvider, TranscriptActionsProviderProps, TranscriptFind, TranscriptFindKeyOptions, TranscriptFindOptions, TranscriptFindTarget, TranscriptOptions, TranscriptProps, TranscriptRenderers, TranscriptRenderersProvider, type TranscriptRenderersProviderProps, TranscriptRow, TranscriptRowProps, TranscriptRowSlot, TranscriptRowSlotProps, TranscriptRows, TranscriptRowsInput, TranscriptScrollInputs, TranscriptSearch, TranscriptSearchOptions, TranscriptSearchProps, TranscriptSearchState, TranscriptSelection, TranscriptSettling, TranscriptTurnMenu, TurnCommands, TurnCommandsOptions, TurnMenuActions, TurnMenuTarget, UserBashRow, UserBashRowProps, UserPromptAttachments, UserPromptAttachmentsProps, UserPromptRow, UserPromptRowProps, WORK_HOLD_MS, WORK_SHOW_MS, WorkerDetails, WorkerDetailsProps, __resetComposerScopesForTests, attachmentErrorText, attachmentLightboxItems, canJoinChain, catalogFromProviders, claimComposerFocus, classifyInlineRef, colorForCategory, compactWindow, contextGauge, copyPromptLines, createTurnCommands, decodeDataUrlAsText, defaultAttachmentLabel, defaultAttachmentTileLabel, detectLanguage, dotStateFor, drawsImageGeneration, effectiveImageModel, fileBadgeName, fileBadgeSpec, findModel, findRefs, focusComposer, formatBytes, groupKeyOf, hasComposerFor, hasFocusedComposer, hasInteractionBody, holdForceMountRows, imageCatalogRows, imageModelKey, imageRequestsOf, isCaretAtEnd, isCaretAtStart, isFocusedComposer, isHiddenRow, isPdfAttachment, isRequired, isTextLike, lineStateOf, lineupKeyOf, linkGlyph, mergeBadgeOrder, modelKey, modelLineup, modelNameOf, modelSearchScore, mountRowNow, nextProfileId, numberRef, offCatalogRows, onComposerAttachment, onComposerDraft, onComposerFocus, onComposerInsert, onComposerMention, onComposerPrompt, orbState, orderComposerBadges, parseRefUrl, parseReferenceUrl, parseToolMedia, pastedTextFilename, pickRefOf, pickerGroups, plainTextToDocJson, providerAccountLabel, providerColor, providerHue, providerTint, pushComposerAttachment, pushComposerDraft, pushComposerInsert, pushComposerMention, pushComposerPrompt, readAttachment, refHref, refKey, referenceUrl, registerComposerScope, remarkReferences, remarkRefs, resolveChain, resolvePick, resourceErrorText, rowKey, savedPaths, seedDefaults, shouldFoldPasteToAttachment, siteIconValue, suggestionExtension, textAttachment, unresolveChain, useAgentProfiles, useAllInteractions, useAttachmentIngest, useAttachmentNotices, useAttachmentRemoval, useAttachmentText, useBackgroundMount, useBadgeMenu, useCacheHints, useCaptureRunState, useChatHost, useChatLabels, useChipResolution, useCommand, useCommitInfo, useComposerFor, useComposerHost, useComposerLabels, useComposerModelName, useComposerProviderLabel, useComposerSearch, useCycleAgent, useDraftKnobs, useDraftTarget, useFillViewportScrollback, useForceMountRows, useFullOutput, useHasFocusedComposer, useHasSessionEvents, useHostResource, useHostSessions, useInteractionHead, useIsSessionHydrated, useJoinedRunProgress, useModelCatalog, useModelKnobs, useModelName, useModelPickerPrefs, useModelPickerPrefsStore, useNewSessionDefaults, useOptionalChatHost, usePeekRunSeq, usePeekSessionEvents, usePeekSessionRunning, usePendingInteractions, usePromptHistory, useProviderReadyPoll, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useRememberedKnobs, useResolveChipNow, useRowIcons, useRunAccruedCost, useRunElapsedSec, useRunEstimate, useRunMeterValue, useRunOutputTokens, useRunProgress, useRunStartedAt, useSelectStops, useSelectTurn, useSelectTurnKeys, useSendPrompt, useSessionContextStatus, useSessionEdits, useSessionEvents, useSessionEventsSelector, useSessionFallbackModel, useSessionMeters, useSessionPage, useSessionRetry, useSessionRunning, useSessionStreamActions, useSessionStreams, useSessionSystemMd, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useSustainedWork, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptOptions, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause, withPrimary, workShowDelay };
@@ -45,6 +45,7 @@ import { ImageGenerationBlock, drawsImageGeneration, imageRequestsOf, savedPaths
45
45
  import { ModelVerdict, NestedToolCalls, ToolRow } from "./transcript/tool-row.js";
46
46
  import { ExchangeFoldRow, FoldHeader } from "./transcript/fold.js";
47
47
  import { MessageGroupRow } from "./transcript/messages.js";
48
+ import { AuthFailureCard } from "./transcript/AuthFailureCard.js";
48
49
  import { COMMAND_DETAIL_LINE, CommandDetailRow, CommandNoteRow, ErrorRow, FailureRow, InfoRow, NoticeRow, SessionEventRow, SpawnEndRow, SpawnStartRow } from "./transcript/notices.js";
49
50
  import { AttachmentRefusedError, MAX_FILE_ATTACHMENT_BYTES, MAX_IMAGE_ATTACHMENT_BYTES, PASTE_FOLD_CHAR_THRESHOLD, PASTE_FOLD_LINE_THRESHOLD, attachmentErrorText, decodeDataUrlAsText, detectLanguage, formatBytes, isPdfAttachment, isTextLike, pastedTextFilename, readAttachment, shouldFoldPasteToAttachment } from "./composer/attachment-ingest.js";
50
51
  import { MAX_TEXT_PREVIEW_BYTES, TextPreview, useAttachmentText } from "./TextPreview.js";
@@ -129,6 +130,7 @@ import { useSessionContextStatus, useSessionMeters } from "./composer/use-sessio
129
130
  import { useNewSessionDefaults } from "./composer/use-new-session-defaults.js";
130
131
  import { useProviderReadyPoll } from "./composer/use-provider-ready-poll.js";
131
132
  import { PlanBody, PlanCard } from "./interactions/PlanCard.js";
133
+ import { SecretInput } from "./interactions/SecretInput.js";
132
134
  import { QuestionField, isRequired } from "./interactions/QuestionField.js";
133
135
  import { AnsweredQuestions, QuestionForm, seedDefaults } from "./interactions/QuestionForm.js";
134
136
  import { InteractionCard } from "./interactions/InteractionCard.js";
@@ -151,4 +153,4 @@ import { useTranscriptFindKey } from "./transcript/useTranscriptFindKey.js";
151
153
  import { useTranscriptFind } from "./transcript/useTranscriptFind.js";
152
154
  import { useTurnMenu } from "./transcript/TurnMenu.js";
153
155
  import { createTurnCommands, useTurnCommands } from "./transcript/turn-commands.js";
154
- export { ATTACHMENT_NOTICE_MS, AUTO_FILL_PAGES, AgentPicker, AgentPickerDialog, AnsiSpans, AnsiText, AnsweredQuestions, ApprovalDock, ArchivedBanner, AttachmentIcon, AttachmentNotices, AttachmentRefusedError, AttachmentRow, AttachmentTiles, BADGE_GLYPH, BadgeMenuProvider, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, Caret, ChatProvider, ChipCard, ChipHover, CodemodeScript, CommandCard, CommandDetailRow, CommandNoteRow, CommandScopeContext, CommitCard, CompactSummaryRow, Composer, ComposerBadges, ComposerControls, ComposerDock, ComposerHostProvider, ComposerStatusPills, ContextBreakdown, ContextOrb, ConversationBadges, CvRow, DEFAULT_BADGE_ORDER, DEFAULT_TRANSCRIPT_OPTIONS, DEFAULT_TRANSCRIPT_RENDERERS, DaemonOrb, DaemonOrbButton, DefaultInlineText, DefaultMarkdown, DefaultPrompt, DefaultSessionTitle, DiffLines, DockCard, DockRow, Dot, EFFORT_LEVELS, EditDiffBlock, EffortPickerDialog, ErrorRow, ExchangeFoldRow, FILL_MIN_PROMPTS, FailedMark, FailureRow, FileBadgeIcon, FoldHeader, GUTTER_STEP_PX, GroupGlyph, HostAgentPicker, HostBadge, HostComposer, HostContextOrb, HostInteractions, HostModelChainList, HostModelOptionsPicker, HostModelPicker, HostPicker, HostStatusDot, HostTranscript, INLINE_CODE_CLASS, ImageGenerationBlock, ImageModelList, InboxPanel, InfoRow, InlineChipText, InlineCode, InteractionCard, InteractionToolBody, LazyRow, LinkBadge, LinkIcon, LiveOutput, LoadEarlierRow, LoadFullOutputButton, MAX_FILE_ATTACHMENT_BYTES, MAX_IMAGE_ATTACHMENT_BYTES, MAX_MATCHES, MAX_TEXT_PREVIEW_BYTES, Markdown, MarkdownContext, MarkdownDiagrams, MermaidDiagram, MessageGroupRow, ModelChainFooter, ModelChainHeader, ModelChainList, ModelChainPopover, ModelChainRow, ModelChainRows, ModelChainTooltip, ModelFlag, ModelGroupHeader, ModelMeta, ModelOptionsPicker, ModelPicker, ModelPickerDialog, ModelPickerFrame, ModelProviderChip, ModelProviderPills, ModelReasoning, ModelVerdict, ModelWindow, NO_COMPOSER_HINT, NestedToolCalls, NoticeRow, OPTION_ICON, OpenSessionContext, PASTE_FOLD_CHAR_THRESHOLD, PASTE_FOLD_LINE_THRESHOLD, PdfPreview, PickerPill, PlanBody, PlanCard, ProjectMenu, PromptEcho, PromptHistoryProvider, PromptLines, ProseMarkdown, QuestionField, QuestionForm, ReadFileBlock, RefChip, ReferenceChip, ReferenceText, RetryPill, RowFrame, RowIconsContext, RunEstimateChip, RunEstimatesProvider, RunReceiptInline, RunStatusChip, RunSummaryRow, RunnableCodeBlock, ScopeToggle, SearchHighlightStyle, SelectCursor, SelectTurnExit, SelectTurnHint, SelectTurnHintKeys, SelectTurnProvider, SendButton, ServerScopeToggle, SessionCard, SessionEventRow, SessionFilterMenu, SessionGroupHeader, SessionHostHeader, SessionList, SessionListRow, SessionStreamsProvider, ShellBlockProvider, ShowMoreRow, SkillCard, SpawnEndRow, SpawnStartRow, StatusDot, SubagentBlock, SuggestionPopup, THINKING_LEVELS, TRANSCRIPT_OPTION_KEYS, TRIGGER, TextPreview, TextRow, ThinkingBatchRow, ThinkingRow, Throbber, ToolBatchRow, ToolDetails, ToolGlyph, ToolInput, ToolMedia, ToolRow, ToolTiming, Transcript, TranscriptActionsProvider, TranscriptRenderersProvider, TranscriptRow, TranscriptRowSlot, TranscriptSearch, TranscriptSettling, UserBashRow, UserPromptAttachments, UserPromptRow, WORK_HOLD_MS, WORK_SHOW_MS, WorkerDetails, __resetComposerScopesForTests, attachmentErrorText, attachmentLightboxItems, canJoinChain, catalogFromProviders, claimComposerFocus, classifyInlineRef, colorForCategory, compactWindow, contextGauge, copyPromptLines, createTurnCommands, decodeDataUrlAsText, defaultAttachmentLabel, defaultAttachmentTileLabel, detectLanguage, dotStateFor, drawsImageGeneration, effectiveImageModel, fileBadgeName, fileBadgeSpec, findModel, findRefs, focusComposer, formatBytes, groupKeyOf, hasComposerFor, hasFocusedComposer, hasInteractionBody, holdForceMountRows, imageCatalogRows, imageModelKey, imageRequestsOf, isCaretAtEnd, isCaretAtStart, isFocusedComposer, isHiddenRow, isPdfAttachment, isRequired, isTextLike, lineStateOf, lineupKeyOf, linkGlyph, mergeBadgeOrder, modelKey, modelLineup, modelNameOf, modelSearchScore, mountRowNow, nextProfileId, numberRef, offCatalogRows, onComposerAttachment, onComposerDraft, onComposerFocus, onComposerInsert, onComposerMention, onComposerPrompt, orbState, orderComposerBadges, parseRefUrl, parseReferenceUrl, parseToolMedia, pastedTextFilename, pickRefOf, pickerGroups, plainTextToDocJson, providerAccountLabel, providerColor, providerHue, providerTint, pushComposerAttachment, pushComposerDraft, pushComposerInsert, pushComposerMention, pushComposerPrompt, readAttachment, refHref, refKey, referenceUrl, registerComposerScope, remarkReferences, remarkRefs, resolveChain, resolvePick, resourceErrorText, rowKey, savedPaths, seedDefaults, shouldFoldPasteToAttachment, siteIconValue, suggestionExtension, textAttachment, unresolveChain, useAgentProfiles, useAllInteractions, useAttachmentIngest, useAttachmentNotices, useAttachmentRemoval, useAttachmentText, useBackgroundMount, useBadgeMenu, useCacheHints, useCaptureRunState, useChatHost, useChatLabels, useChipResolution, useCommand, useCommitInfo, useComposerFor, useComposerHost, useComposerLabels, useComposerModelName, useComposerProviderLabel, useComposerSearch, useCycleAgent, useDraftKnobs, useDraftTarget, useFillViewportScrollback, useForceMountRows, useFullOutput, useHasFocusedComposer, useHasSessionEvents, useHostResource, useHostSessions, useInteractionHead, useIsSessionHydrated, useJoinedRunProgress, useModelCatalog, useModelKnobs, useModelName, useModelPickerPrefs, useModelPickerPrefsStore, useNewSessionDefaults, useOptionalChatHost, usePeekRunSeq, usePeekSessionEvents, usePeekSessionRunning, usePendingInteractions, usePromptHistory, useProviderReadyPoll, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useRememberedKnobs, useResolveChipNow, useRowIcons, useRunAccruedCost, useRunElapsedSec, useRunEstimate, useRunMeterValue, useRunOutputTokens, useRunProgress, useRunStartedAt, useSelectStops, useSelectTurn, useSelectTurnKeys, useSendPrompt, useSessionContextStatus, useSessionEdits, useSessionEvents, useSessionEventsSelector, useSessionFallbackModel, useSessionMeters, useSessionPage, useSessionRetry, useSessionRunning, useSessionStreamActions, useSessionStreams, useSessionSystemMd, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useSustainedWork, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptOptions, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause, withPrimary, workShowDelay };
156
+ export { ATTACHMENT_NOTICE_MS, AUTO_FILL_PAGES, AgentPicker, AgentPickerDialog, AnsiSpans, AnsiText, AnsweredQuestions, ApprovalDock, ArchivedBanner, AttachmentIcon, AttachmentNotices, AttachmentRefusedError, AttachmentRow, AttachmentTiles, AuthFailureCard, BADGE_GLYPH, BadgeMenuProvider, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, Caret, ChatProvider, ChipCard, ChipHover, CodemodeScript, CommandCard, CommandDetailRow, CommandNoteRow, CommandScopeContext, CommitCard, CompactSummaryRow, Composer, ComposerBadges, ComposerControls, ComposerDock, ComposerHostProvider, ComposerStatusPills, ContextBreakdown, ContextOrb, ConversationBadges, CvRow, DEFAULT_BADGE_ORDER, DEFAULT_TRANSCRIPT_OPTIONS, DEFAULT_TRANSCRIPT_RENDERERS, DaemonOrb, DaemonOrbButton, DefaultInlineText, DefaultMarkdown, DefaultPrompt, DefaultSessionTitle, DiffLines, DockCard, DockRow, Dot, EFFORT_LEVELS, EditDiffBlock, EffortPickerDialog, ErrorRow, ExchangeFoldRow, FILL_MIN_PROMPTS, FailedMark, FailureRow, FileBadgeIcon, FoldHeader, GUTTER_STEP_PX, GroupGlyph, HostAgentPicker, HostBadge, HostComposer, HostContextOrb, HostInteractions, HostModelChainList, HostModelOptionsPicker, HostModelPicker, HostPicker, HostStatusDot, HostTranscript, INLINE_CODE_CLASS, ImageGenerationBlock, ImageModelList, InboxPanel, InfoRow, InlineChipText, InlineCode, InteractionCard, InteractionToolBody, LazyRow, LinkBadge, LinkIcon, LiveOutput, LoadEarlierRow, LoadFullOutputButton, MAX_FILE_ATTACHMENT_BYTES, MAX_IMAGE_ATTACHMENT_BYTES, MAX_MATCHES, MAX_TEXT_PREVIEW_BYTES, Markdown, MarkdownContext, MarkdownDiagrams, MermaidDiagram, MessageGroupRow, ModelChainFooter, ModelChainHeader, ModelChainList, ModelChainPopover, ModelChainRow, ModelChainRows, ModelChainTooltip, ModelFlag, ModelGroupHeader, ModelMeta, ModelOptionsPicker, ModelPicker, ModelPickerDialog, ModelPickerFrame, ModelProviderChip, ModelProviderPills, ModelReasoning, ModelVerdict, ModelWindow, NO_COMPOSER_HINT, NestedToolCalls, NoticeRow, OPTION_ICON, OpenSessionContext, PASTE_FOLD_CHAR_THRESHOLD, PASTE_FOLD_LINE_THRESHOLD, PdfPreview, PickerPill, PlanBody, PlanCard, ProjectMenu, PromptEcho, PromptHistoryProvider, PromptLines, ProseMarkdown, QuestionField, QuestionForm, ReadFileBlock, RefChip, ReferenceChip, ReferenceText, RetryPill, RowFrame, RowIconsContext, RunEstimateChip, RunEstimatesProvider, RunReceiptInline, RunStatusChip, RunSummaryRow, RunnableCodeBlock, ScopeToggle, SearchHighlightStyle, SecretInput, SelectCursor, SelectTurnExit, SelectTurnHint, SelectTurnHintKeys, SelectTurnProvider, SendButton, ServerScopeToggle, SessionCard, SessionEventRow, SessionFilterMenu, SessionGroupHeader, SessionHostHeader, SessionList, SessionListRow, SessionStreamsProvider, ShellBlockProvider, ShowMoreRow, SkillCard, SpawnEndRow, SpawnStartRow, StatusDot, SubagentBlock, SuggestionPopup, THINKING_LEVELS, TRANSCRIPT_OPTION_KEYS, TRIGGER, TextPreview, TextRow, ThinkingBatchRow, ThinkingRow, Throbber, ToolBatchRow, ToolDetails, ToolGlyph, ToolInput, ToolMedia, ToolRow, ToolTiming, Transcript, TranscriptActionsProvider, TranscriptRenderersProvider, TranscriptRow, TranscriptRowSlot, TranscriptSearch, TranscriptSettling, UserBashRow, UserPromptAttachments, UserPromptRow, WORK_HOLD_MS, WORK_SHOW_MS, WorkerDetails, __resetComposerScopesForTests, attachmentErrorText, attachmentLightboxItems, canJoinChain, catalogFromProviders, claimComposerFocus, classifyInlineRef, colorForCategory, compactWindow, contextGauge, copyPromptLines, createTurnCommands, decodeDataUrlAsText, defaultAttachmentLabel, defaultAttachmentTileLabel, detectLanguage, dotStateFor, drawsImageGeneration, effectiveImageModel, fileBadgeName, fileBadgeSpec, findModel, findRefs, focusComposer, formatBytes, groupKeyOf, hasComposerFor, hasFocusedComposer, hasInteractionBody, holdForceMountRows, imageCatalogRows, imageModelKey, imageRequestsOf, isCaretAtEnd, isCaretAtStart, isFocusedComposer, isHiddenRow, isPdfAttachment, isRequired, isTextLike, lineStateOf, lineupKeyOf, linkGlyph, mergeBadgeOrder, modelKey, modelLineup, modelNameOf, modelSearchScore, mountRowNow, nextProfileId, numberRef, offCatalogRows, onComposerAttachment, onComposerDraft, onComposerFocus, onComposerInsert, onComposerMention, onComposerPrompt, orbState, orderComposerBadges, parseRefUrl, parseReferenceUrl, parseToolMedia, pastedTextFilename, pickRefOf, pickerGroups, plainTextToDocJson, providerAccountLabel, providerColor, providerHue, providerTint, pushComposerAttachment, pushComposerDraft, pushComposerInsert, pushComposerMention, pushComposerPrompt, readAttachment, refHref, refKey, referenceUrl, registerComposerScope, remarkReferences, remarkRefs, resolveChain, resolvePick, resourceErrorText, rowKey, savedPaths, seedDefaults, shouldFoldPasteToAttachment, siteIconValue, suggestionExtension, textAttachment, unresolveChain, useAgentProfiles, useAllInteractions, useAttachmentIngest, useAttachmentNotices, useAttachmentRemoval, useAttachmentText, useBackgroundMount, useBadgeMenu, useCacheHints, useCaptureRunState, useChatHost, useChatLabels, useChipResolution, useCommand, useCommitInfo, useComposerFor, useComposerHost, useComposerLabels, useComposerModelName, useComposerProviderLabel, useComposerSearch, useCycleAgent, useDraftKnobs, useDraftTarget, useFillViewportScrollback, useForceMountRows, useFullOutput, useHasFocusedComposer, useHasSessionEvents, useHostResource, useHostSessions, useInteractionHead, useIsSessionHydrated, useJoinedRunProgress, useModelCatalog, useModelKnobs, useModelName, useModelPickerPrefs, useModelPickerPrefsStore, useNewSessionDefaults, useOptionalChatHost, usePeekRunSeq, usePeekSessionEvents, usePeekSessionRunning, usePendingInteractions, usePromptHistory, useProviderReadyPoll, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useRememberedKnobs, useResolveChipNow, useRowIcons, useRunAccruedCost, useRunElapsedSec, useRunEstimate, useRunMeterValue, useRunOutputTokens, useRunProgress, useRunStartedAt, useSelectStops, useSelectTurn, useSelectTurnKeys, useSendPrompt, useSessionContextStatus, useSessionEdits, useSessionEvents, useSessionEventsSelector, useSessionFallbackModel, useSessionMeters, useSessionPage, useSessionRetry, useSessionRunning, useSessionStreamActions, useSessionStreams, useSessionSystemMd, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useSustainedWork, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptOptions, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause, withPrimary, workShowDelay };
@@ -1,5 +1,5 @@
1
1
  import { MarkdownSlotProps } from "../transcript/renderers.js";
2
- import { CSSProperties, ComponentType } from "react";
2
+ import { CSSProperties, ComponentType, ReactNode } from "react";
3
3
  //#region src/chat/interactions/InboxPanel.d.ts
4
4
  /** Props for {@link InboxPanel}. */
5
5
  interface InboxPanelProps {
@@ -13,6 +13,10 @@ interface InboxPanelProps {
13
13
  onEscape?(): void;
14
14
  /** Draws an intro or a plan. Defaults to the transcript's `Markdown` slot. */
15
15
  Markdown?: ComponentType<MarkdownSlotProps>;
16
+ /** The "In progress" section's body: the plan being applied. Absent or null: no section. */
17
+ inProgress?: ReactNode;
18
+ /** The "Recent" section's body: closed plans. Absent or null: no section. */
19
+ recent?: ReactNode;
16
20
  /** Extra class names for the root. */
17
21
  className?: string;
18
22
  /** Inline styles on the root element. */
@@ -23,6 +27,6 @@ interface InboxPanelProps {
23
27
  *
24
28
  * @param props - The {@link InboxPanelProps}.
25
29
  */
26
- declare function InboxPanel({ sessionId, focus, onFocusTaken, onEscape, Markdown, className, style }: InboxPanelProps): import("react").JSX.Element;
30
+ declare function InboxPanel({ sessionId, focus, onFocusTaken, onEscape, Markdown, inProgress, recent, className, style }: InboxPanelProps): import("react").JSX.Element;
27
31
  //#endregion
28
32
  export { InboxPanel, InboxPanelProps };