zidane-ui 9.1.16 → 9.2.2

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 (2361) hide show
  1. package/README.md +85 -39
  2. package/dist/adapters/browser-appearance-host.d.ts +10 -5
  3. package/dist/adapters/browser-appearance-host.js +1 -10
  4. package/dist/adapters/browser-keybindings-host.d.ts +22 -6
  5. package/dist/adapters/browser-keybindings-host.js +36 -10
  6. package/dist/adapters/browser-window-settings.d.ts +67 -0
  7. package/dist/adapters/browser-window-settings.js +124 -0
  8. package/dist/adapters/browser-workspace-host.d.ts +2 -5
  9. package/dist/adapters/browser-workspace-host.js +2 -2
  10. package/dist/adapters/closable-client.d.ts +3 -6
  11. package/dist/adapters/closable-client.js +1 -2
  12. package/dist/adapters/extension-modules.d.ts +24 -27
  13. package/dist/adapters/extension-modules.js +8 -7
  14. package/dist/adapters/index.d.ts +19 -17
  15. package/dist/adapters/index.js +16 -14
  16. package/dist/adapters/live-events.d.ts +5 -0
  17. package/dist/adapters/live.d.ts +40 -26
  18. package/dist/adapters/live.js +1 -2
  19. package/dist/adapters/run-host.d.ts +25 -14
  20. package/dist/adapters/run-host.js +1 -2
  21. package/dist/adapters/server-approvals-host.d.ts +2 -5
  22. package/dist/adapters/server-approvals-host.js +1 -2
  23. package/dist/adapters/server-client.d.ts +5 -0
  24. package/dist/adapters/server-composer-host.d.ts +4 -7
  25. package/dist/adapters/server-composer-host.js +19 -37
  26. package/dist/adapters/server-custom-frame.d.ts +19 -0
  27. package/dist/adapters/server-custom-frame.js +155 -0
  28. package/dist/adapters/server-extensions-host.d.ts +52 -19
  29. package/dist/adapters/server-extensions-host.js +25 -57
  30. package/dist/adapters/server-files-host.d.ts +2 -5
  31. package/dist/adapters/server-files-host.js +3 -16
  32. package/dist/adapters/server-git-host.d.ts +2 -5
  33. package/dist/adapters/server-git-host.js +7 -32
  34. package/dist/adapters/server-host.d.ts +10 -13
  35. package/dist/adapters/server-host.js +57 -19
  36. package/dist/adapters/server-machines-host.d.ts +5 -8
  37. package/dist/adapters/server-machines-host.js +3 -34
  38. package/dist/adapters/server-media.d.ts +22 -0
  39. package/dist/adapters/server-media.js +38 -0
  40. package/dist/adapters/server-oauth-flow.d.ts +3 -6
  41. package/dist/adapters/server-oauth-flow.js +3 -4
  42. package/dist/adapters/server-onboarding-host.d.ts +42 -7
  43. package/dist/adapters/server-onboarding-host.js +20 -36
  44. package/dist/adapters/server-palette-host.d.ts +7 -7
  45. package/dist/adapters/server-palette-host.js +18 -5
  46. package/dist/adapters/server-session-host.d.ts +4 -7
  47. package/dist/adapters/server-session-host.js +2 -3
  48. package/dist/adapters/server-settings-accounts.d.ts +1 -4
  49. package/dist/adapters/server-settings-accounts.js +5 -6
  50. package/dist/adapters/server-settings-host.d.ts +9 -7
  51. package/dist/adapters/server-settings-host.js +56 -15
  52. package/dist/adapters/server-settings-models.d.ts +11 -4
  53. package/dist/adapters/server-settings-models.js +1 -2
  54. package/dist/adapters/server-settings-performance.d.ts +1 -4
  55. package/dist/adapters/server-settings-performance.js +3 -14
  56. package/dist/adapters/server-settings-sections.d.ts +2 -5
  57. package/dist/adapters/server-settings-sections.js +28 -36
  58. package/dist/adapters/server-sidebar-host.d.ts +16 -5
  59. package/dist/adapters/server-sidebar-host.js +3 -18
  60. package/dist/adapters/server-terminal-host.d.ts +2 -5
  61. package/dist/adapters/server-terminal-host.js +1 -2
  62. package/dist/adapters/server-transcript-members.d.ts +2 -5
  63. package/dist/adapters/server-transcript-members.js +1 -19
  64. package/dist/adapters/server-views-host.d.ts +27 -0
  65. package/dist/adapters/server-views-host.js +152 -0
  66. package/dist/adapters/sse-host.d.ts +13 -8
  67. package/dist/adapters/sse-host.js +11 -9
  68. package/dist/adapters/sse-parser.d.ts +6 -9
  69. package/dist/adapters/sse-parser.js +1 -2
  70. package/dist/adapters/sse-protocol.d.ts +49 -16
  71. package/dist/adapters/sse-protocol.js +1 -2
  72. package/dist/adapters/stream-pacer.d.ts +18 -8
  73. package/dist/adapters/stream-pacer.js +1 -2
  74. package/dist/adapters/worker-host.d.ts +4 -7
  75. package/dist/adapters/worker-host.js +3 -4
  76. package/dist/adapters/worker-protocol.d.ts +30 -13
  77. package/dist/adapters/worker-protocol.js +1 -2
  78. package/dist/app/AppHostProvider.d.ts +28 -6
  79. package/dist/app/AppHostProvider.js +21 -30
  80. package/dist/app/ModalProvider.d.ts +52 -22
  81. package/dist/app/ModalProvider.js +38 -59
  82. package/dist/app/Toaster.d.ts +21 -0
  83. package/dist/app/Toaster.js +32 -0
  84. package/dist/app/headless/app-host.d.ts +24 -15
  85. package/dist/app/headless/index.d.ts +5 -1
  86. package/dist/app/headless/resource.d.ts +28 -31
  87. package/dist/app/headless/resource.js +1 -2
  88. package/dist/app/index.d.ts +8 -2
  89. package/dist/app/index.js +3 -2
  90. package/dist/app/testing/index.d.ts +17 -15
  91. package/dist/app/testing/index.js +2 -8
  92. package/dist/app/toast.d.ts +68 -0
  93. package/dist/app/toast.js +195 -0
  94. package/dist/app/useConfirm.d.ts +13 -5
  95. package/dist/app/useConfirm.js +2 -14
  96. package/dist/app/useResource.d.ts +5 -4
  97. package/dist/app/useResource.js +1 -6
  98. package/dist/appearance/AppearanceProvider.d.ts +35 -21
  99. package/dist/appearance/AppearanceProvider.js +7 -25
  100. package/dist/appearance/ZoomIndicator.d.ts +31 -0
  101. package/dist/appearance/ZoomIndicator.js +124 -0
  102. package/dist/appearance/apply.d.ts +7 -6
  103. package/dist/appearance/apply.js +2 -6
  104. package/dist/appearance/headless/fixture-host.d.ts +17 -15
  105. package/dist/appearance/headless/fixture-host.js +1 -2
  106. package/dist/appearance/headless/fonts.d.ts +27 -17
  107. package/dist/appearance/headless/fonts.js +5 -6
  108. package/dist/appearance/headless/host.d.ts +25 -16
  109. package/dist/appearance/headless/index.d.ts +2 -2
  110. package/dist/appearance/headless/index.js +1 -1
  111. package/dist/appearance/headless/prefs.d.ts +18 -18
  112. package/dist/appearance/headless/prefs.js +8 -5
  113. package/dist/appearance/headless/storage.d.ts +13 -10
  114. package/dist/appearance/headless/storage.js +1 -2
  115. package/dist/appearance/headless/zoom-commands.d.ts +7 -5
  116. package/dist/appearance/headless/zoom-commands.js +1 -2
  117. package/dist/appearance/index.d.ts +2 -1
  118. package/dist/appearance/index.js +3 -2
  119. package/dist/appearance/testing/contract.d.ts +30 -17
  120. package/dist/appearance/testing/contract.js +1 -18
  121. package/dist/appearance/testing/index.d.ts +5 -0
  122. package/dist/approvals/ApprovalBar.d.ts +10 -8
  123. package/dist/approvals/ApprovalBar.js +36 -27
  124. package/dist/approvals/ApprovalConcern.d.ts +6 -5
  125. package/dist/approvals/ApprovalConcern.js +2 -3
  126. package/dist/approvals/ApprovalShell.d.ts +9 -5
  127. package/dist/approvals/ApprovalShell.js +2 -10
  128. package/dist/approvals/ApprovalsProvider.d.ts +18 -10
  129. package/dist/approvals/ApprovalsProvider.js +3 -15
  130. package/dist/approvals/FileEditApproval.d.ts +18 -6
  131. package/dist/approvals/FileEditApproval.js +5 -21
  132. package/dist/approvals/HunkPreviews.d.ts +7 -5
  133. package/dist/approvals/HunkPreviews.js +5 -10
  134. package/dist/approvals/SafelistPanel.d.ts +7 -5
  135. package/dist/approvals/SafelistPanel.js +8 -14
  136. package/dist/approvals/headless/fixture-host.d.ts +12 -10
  137. package/dist/approvals/headless/fixture-host.js +1 -2
  138. package/dist/approvals/headless/fixtures.d.ts +10 -8
  139. package/dist/approvals/headless/fixtures.js +1 -2
  140. package/dist/approvals/headless/heads.d.ts +9 -7
  141. package/dist/approvals/headless/heads.js +1 -2
  142. package/dist/approvals/headless/host.d.ts +24 -13
  143. package/dist/approvals/headless/index.d.ts +2 -2
  144. package/dist/approvals/headless/index.js +2 -2
  145. package/dist/approvals/headless/labels.d.ts +10 -5
  146. package/dist/approvals/headless/labels.js +4 -2
  147. package/dist/approvals/headless/pending.d.ts +17 -11
  148. package/dist/approvals/headless/pending.js +1 -11
  149. package/dist/approvals/headless/preview.d.ts +13 -10
  150. package/dist/approvals/headless/preview.js +1 -2
  151. package/dist/approvals/headless/safelist.d.ts +10 -8
  152. package/dist/approvals/headless/safelist.js +1 -7
  153. package/dist/approvals/index.js +2 -2
  154. package/dist/approvals/key-scope.d.ts +2 -5
  155. package/dist/approvals/key-scope.js +1 -2
  156. package/dist/approvals/testing/contract.d.ts +29 -15
  157. package/dist/approvals/testing/contract.js +12 -28
  158. package/dist/approvals/testing/index.d.ts +7 -1
  159. package/dist/approvals/testing/index.js +2 -1
  160. package/dist/approvals/testing/worst-case.d.ts +17 -0
  161. package/dist/approvals/testing/worst-case.js +62 -0
  162. package/dist/brands/marks.d.ts +3 -6
  163. package/dist/brands/marks.js +1 -2
  164. package/dist/chat/ChatProvider.d.ts +15 -9
  165. package/dist/chat/ChatProvider.js +2 -12
  166. package/dist/chat/DaemonOrb.d.ts +25 -9
  167. package/dist/chat/DaemonOrb.js +4 -23
  168. package/dist/chat/HostBadge.d.ts +8 -5
  169. package/dist/chat/HostBadge.js +5 -6
  170. package/dist/chat/HostStatusDot.d.ts +8 -5
  171. package/dist/chat/HostStatusDot.js +8 -9
  172. package/dist/chat/HostTranscript.d.ts +17 -8
  173. package/dist/chat/HostTranscript.js +38 -25
  174. package/dist/chat/PdfPreview.d.ts +9 -5
  175. package/dist/chat/PdfPreview.js +2 -10
  176. package/dist/chat/RunEstimateChip.d.ts +13 -10
  177. package/dist/chat/RunEstimateChip.js +31 -21
  178. package/dist/chat/SessionFilterMenu.d.ts +20 -13
  179. package/dist/chat/SessionFilterMenu.js +5 -16
  180. package/dist/chat/SessionGroupHeader.d.ts +14 -9
  181. package/dist/chat/SessionGroupHeader.js +4 -5
  182. package/dist/chat/SessionHostHeader.d.ts +8 -5
  183. package/dist/chat/SessionHostHeader.js +2 -3
  184. package/dist/chat/SessionList.d.ts +31 -20
  185. package/dist/chat/SessionList.js +11 -25
  186. package/dist/chat/SessionListRow.d.ts +22 -5
  187. package/dist/chat/SessionListRow.js +96 -84
  188. package/dist/chat/SessionStreamsProvider.d.ts +31 -21
  189. package/dist/chat/SessionStreamsProvider.js +7 -15
  190. package/dist/chat/StatusDot.d.ts +17 -7
  191. package/dist/chat/StatusDot.js +2 -15
  192. package/dist/chat/TextPreview.d.ts +14 -8
  193. package/dist/chat/TextPreview.js +10 -14
  194. package/dist/chat/Throbber.d.ts +18 -6
  195. package/dist/chat/Throbber.js +4 -20
  196. package/dist/chat/Transcript.d.ts +36 -9
  197. package/dist/chat/Transcript.js +142 -79
  198. package/dist/chat/composer/AgentPicker.d.ts +16 -8
  199. package/dist/chat/composer/AgentPicker.js +5 -17
  200. package/dist/chat/composer/AgentPickerDialog.d.ts +13 -5
  201. package/dist/chat/composer/AgentPickerDialog.js +6 -18
  202. package/dist/chat/composer/ApprovalDock.d.ts +2 -5
  203. package/dist/chat/composer/ApprovalDock.js +3 -11
  204. package/dist/chat/composer/ArchivedBanner.d.ts +7 -5
  205. package/dist/chat/composer/ArchivedBanner.js +1 -2
  206. package/dist/chat/composer/AttachmentTiles.d.ts +11 -8
  207. package/dist/chat/composer/AttachmentTiles.js +38 -25
  208. package/dist/chat/composer/Composer.d.ts +14 -17
  209. package/dist/chat/composer/Composer.js +7 -7
  210. package/dist/chat/composer/ComposerBadges.d.ts +28 -7
  211. package/dist/chat/composer/ComposerBadges.js +6 -31
  212. package/dist/chat/composer/ComposerControls.d.ts +22 -9
  213. package/dist/chat/composer/ComposerControls.js +6 -23
  214. package/dist/chat/composer/ComposerEditor.d.ts +15 -10
  215. package/dist/chat/composer/ComposerEditor.js +6 -12
  216. package/dist/chat/composer/ComposerHostProvider.d.ts +9 -7
  217. package/dist/chat/composer/ComposerHostProvider.js +2 -8
  218. package/dist/chat/composer/ComposerShell.d.ts +17 -13
  219. package/dist/chat/composer/ComposerShell.js +4 -11
  220. package/dist/chat/composer/ContextBreakdown.d.ts +11 -6
  221. package/dist/chat/composer/ContextBreakdown.js +30 -38
  222. package/dist/chat/composer/ContextOrb.d.ts +15 -10
  223. package/dist/chat/composer/ContextOrb.js +3 -3
  224. package/dist/chat/composer/ConversationBadges.d.ts +24 -5
  225. package/dist/chat/composer/ConversationBadges.js +10 -32
  226. package/dist/chat/composer/DockCard.d.ts +23 -9
  227. package/dist/chat/composer/DockCard.js +1 -2
  228. package/dist/chat/composer/DraftPickers.d.ts +44 -0
  229. package/dist/chat/composer/DraftPickers.js +62 -0
  230. package/dist/chat/composer/EffortPickerDialog.d.ts +19 -6
  231. package/dist/chat/composer/EffortPickerDialog.js +10 -24
  232. package/dist/chat/composer/HostComposer.d.ts +16 -5
  233. package/dist/chat/composer/HostComposer.js +13 -26
  234. package/dist/chat/composer/HostContextOrb.d.ts +9 -6
  235. package/dist/chat/composer/HostContextOrb.js +3 -10
  236. package/dist/chat/composer/HostModelChainList.d.ts +18 -5
  237. package/dist/chat/composer/HostModelChainList.js +2 -19
  238. package/dist/chat/composer/HostPicker.d.ts +8 -5
  239. package/dist/chat/composer/HostPicker.js +3 -4
  240. package/dist/chat/composer/HostPickers.d.ts +17 -11
  241. package/dist/chat/composer/HostPickers.js +5 -15
  242. package/dist/chat/composer/ImageModelList.d.ts +21 -8
  243. package/dist/chat/composer/ImageModelList.js +5 -19
  244. package/dist/chat/composer/ModelChainList.d.ts +46 -5
  245. package/dist/chat/composer/ModelChainList.js +8 -50
  246. package/dist/chat/composer/ModelChainParts.d.ts +14 -10
  247. package/dist/chat/composer/ModelChainParts.js +56 -58
  248. package/dist/chat/composer/ModelChainRow.d.ts +16 -7
  249. package/dist/chat/composer/ModelChainRow.js +8 -18
  250. package/dist/chat/composer/ModelChainRows.d.ts +17 -6
  251. package/dist/chat/composer/ModelChainRows.js +10 -19
  252. package/dist/chat/composer/ModelChainTooltip.d.ts +12 -5
  253. package/dist/chat/composer/ModelChainTooltip.js +3 -4
  254. package/dist/chat/composer/ModelFacts.d.ts +20 -13
  255. package/dist/chat/composer/ModelFacts.js +3 -4
  256. package/dist/chat/composer/ModelOptionsPicker.d.ts +28 -13
  257. package/dist/chat/composer/ModelOptionsPicker.js +25 -17
  258. package/dist/chat/composer/ModelPicker.d.ts +33 -16
  259. package/dist/chat/composer/ModelPicker.js +7 -28
  260. package/dist/chat/composer/ModelPickerDialog.d.ts +9 -5
  261. package/dist/chat/composer/ModelPickerDialog.js +4 -12
  262. package/dist/chat/composer/ModelProviderPills.d.ts +9 -5
  263. package/dist/chat/composer/ModelProviderPills.js +5 -12
  264. package/dist/chat/composer/PickerPill.d.ts +11 -5
  265. package/dist/chat/composer/PickerPill.js +4 -13
  266. package/dist/chat/composer/PlacePicker.d.ts +46 -0
  267. package/dist/chat/composer/PlacePicker.js +105 -0
  268. package/dist/chat/composer/ProjectMenu.d.ts +16 -5
  269. package/dist/chat/composer/ProjectMenu.js +9 -20
  270. package/dist/chat/composer/PromptHistoryProvider.d.ts +29 -7
  271. package/dist/chat/composer/PromptHistoryProvider.js +2 -27
  272. package/dist/chat/composer/RetryPill.d.ts +10 -6
  273. package/dist/chat/composer/RetryPill.js +1 -2
  274. package/dist/chat/composer/RunStatusChip.d.ts +26 -5
  275. package/dist/chat/composer/RunStatusChip.js +3 -38
  276. package/dist/chat/composer/ScopeToggle.d.ts +18 -5
  277. package/dist/chat/composer/ScopeToggle.js +2 -3
  278. package/dist/chat/composer/SelectTurnHint.d.ts +7 -5
  279. package/dist/chat/composer/SelectTurnHint.js +3 -4
  280. package/dist/chat/composer/SendButton.d.ts +13 -8
  281. package/dist/chat/composer/SendButton.js +1 -2
  282. package/dist/chat/composer/ServerScopeToggle.d.ts +22 -5
  283. package/dist/chat/composer/ServerScopeToggle.js +4 -5
  284. package/dist/chat/composer/attachment-ingest.d.ts +36 -17
  285. package/dist/chat/composer/attachment-ingest.js +24 -16
  286. package/dist/chat/composer/attachments.d.ts +18 -15
  287. package/dist/chat/composer/attachments.js +23 -11
  288. package/dist/chat/composer/badge-order.d.ts +4 -7
  289. package/dist/chat/composer/badge-order.js +1 -2
  290. package/dist/chat/composer/composer-bus.d.ts +34 -29
  291. package/dist/chat/composer/composer-bus.js +3 -12
  292. package/dist/chat/composer/heif.d.ts +9 -0
  293. package/dist/chat/composer/heif.js +114 -0
  294. package/dist/chat/composer/index.d.ts +23 -15
  295. package/dist/chat/composer/index.js +46 -43
  296. package/dist/chat/composer/load-composer-editor.d.ts +3 -5
  297. package/dist/chat/composer/load-composer-editor.js +1 -2
  298. package/dist/chat/composer/model-catalog.d.ts +29 -32
  299. package/dist/chat/composer/model-catalog.js +6 -29
  300. package/dist/chat/composer/model-list-layout.d.ts +19 -14
  301. package/dist/chat/composer/model-list-layout.js +1 -2
  302. package/dist/chat/composer/prompt-history-nav.d.ts +18 -6
  303. package/dist/chat/composer/prompt-history-nav.js +1 -16
  304. package/dist/chat/composer/scope-side.d.ts +2 -5
  305. package/dist/chat/composer/scope-side.js +4 -3
  306. package/dist/chat/composer/suggestion-extension.d.ts +6 -4
  307. package/dist/chat/composer/suggestion-extension.js +2 -8
  308. package/dist/chat/composer/suggestions.d.ts +18 -13
  309. package/dist/chat/composer/suggestions.js +3 -12
  310. package/dist/chat/composer/use-agent-profiles.d.ts +10 -7
  311. package/dist/chat/composer/use-agent-profiles.js +2 -9
  312. package/dist/chat/composer/use-cache-hints.d.ts +6 -4
  313. package/dist/chat/composer/use-cache-hints.js +1 -7
  314. package/dist/chat/composer/use-composer-stores.d.ts +22 -18
  315. package/dist/chat/composer/use-composer-stores.js +10 -11
  316. package/dist/chat/composer/use-draft-target.d.ts +42 -23
  317. package/dist/chat/composer/use-draft-target.js +12 -11
  318. package/dist/chat/composer/use-new-chats-default.d.ts +28 -0
  319. package/dist/chat/composer/use-new-chats-default.js +25 -0
  320. package/dist/chat/composer/use-new-session-defaults.d.ts +11 -6
  321. package/dist/chat/composer/use-new-session-defaults.js +3 -12
  322. package/dist/chat/composer/use-provider-ready-poll.d.ts +8 -4
  323. package/dist/chat/composer/use-provider-ready-poll.js +1 -9
  324. package/dist/chat/composer/use-run-meter.d.ts +16 -13
  325. package/dist/chat/composer/use-run-meter.js +1 -8
  326. package/dist/chat/composer/use-send-prompt.d.ts +38 -16
  327. package/dist/chat/composer/use-send-prompt.js +10 -8
  328. package/dist/chat/composer/use-session-meters.d.ts +10 -7
  329. package/dist/chat/composer/use-session-meters.js +1 -8
  330. package/dist/chat/composer/use-sustained-work.d.ts +15 -7
  331. package/dist/chat/composer/use-sustained-work.js +1 -13
  332. package/dist/chat/composer/useAttachmentIngest.d.ts +12 -7
  333. package/dist/chat/composer/useAttachmentIngest.js +2 -11
  334. package/dist/chat/composer/useModelListSpy.d.ts +2 -5
  335. package/dist/chat/composer/useModelListSpy.js +1 -2
  336. package/dist/chat/composer/video-frame.d.ts +14 -0
  337. package/dist/chat/composer/video-frame.js +23 -0
  338. package/dist/chat/headless/badge-refs.d.ts +9 -6
  339. package/dist/chat/headless/badge-refs.js +3 -4
  340. package/dist/chat/headless/block-runs.d.ts +25 -18
  341. package/dist/chat/headless/block-runs.js +1 -12
  342. package/dist/chat/headless/chip-labels.d.ts +6 -5
  343. package/dist/chat/headless/chip-labels.js +5 -2
  344. package/dist/chat/headless/chip-settle.d.ts +4 -7
  345. package/dist/chat/headless/chip-settle.js +3 -3
  346. package/dist/chat/headless/chip-views.d.ts +26 -12
  347. package/dist/chat/headless/chip-views.js +27 -12
  348. package/dist/chat/headless/composer/attachment-dedupe.d.ts +4 -7
  349. package/dist/chat/headless/composer/attachment-dedupe.js +1 -2
  350. package/dist/chat/headless/composer/commands.d.ts +2 -4
  351. package/dist/chat/headless/composer/commands.js +1 -3
  352. package/dist/chat/headless/composer/composer-sources.d.ts +18 -10
  353. package/dist/chat/headless/composer/composer-sources.js +1 -2
  354. package/dist/chat/headless/composer/conversation-badges.d.ts +25 -11
  355. package/dist/chat/headless/composer/conversation-badges.js +4 -2
  356. package/dist/chat/headless/composer/draft-book.d.ts +110 -0
  357. package/dist/chat/headless/composer/draft-book.js +151 -0
  358. package/dist/chat/headless/composer/draft-sync.d.ts +31 -21
  359. package/dist/chat/headless/composer/draft-sync.js +20 -16
  360. package/dist/chat/headless/composer/editor-markdown.d.ts +14 -6
  361. package/dist/chat/headless/composer/editor-markdown.js +139 -7
  362. package/dist/chat/headless/composer/ghost-autocomplete.d.ts +34 -30
  363. package/dist/chat/headless/composer/ghost-autocomplete.js +2 -3
  364. package/dist/chat/headless/composer/host-chrome.d.ts +46 -41
  365. package/dist/chat/headless/composer/host.d.ts +71 -46
  366. package/dist/chat/headless/composer/index.d.ts +14 -13
  367. package/dist/chat/headless/composer/index.js +10 -9
  368. package/dist/chat/headless/composer/labels-chrome.d.ts +6 -5
  369. package/dist/chat/headless/composer/labels-chrome.js +6 -3
  370. package/dist/chat/headless/composer/labels-editor.d.ts +6 -5
  371. package/dist/chat/headless/composer/labels-editor.js +5 -2
  372. package/dist/chat/headless/composer/labels.d.ts +9 -5
  373. package/dist/chat/headless/composer/labels.js +1 -2
  374. package/dist/chat/headless/composer/live-cost.d.ts +20 -7
  375. package/dist/chat/headless/composer/live-cost.js +1 -18
  376. package/dist/chat/headless/composer/model-knobs.d.ts +30 -19
  377. package/dist/chat/headless/composer/model-knobs.js +1 -2
  378. package/dist/chat/headless/composer/model-names.d.ts +18 -13
  379. package/dist/chat/headless/composer/model-names.js +1 -10
  380. package/dist/chat/headless/composer/model-picker-prefs.d.ts +10 -13
  381. package/dist/chat/headless/composer/model-picker-prefs.js +1 -2
  382. package/dist/chat/headless/composer/models.d.ts +6 -9
  383. package/dist/chat/headless/composer/new-session-defaults.d.ts +11 -8
  384. package/dist/chat/headless/composer/new-session-defaults.js +1 -2
  385. package/dist/chat/headless/composer/prompt-suggestions.d.ts +11 -9
  386. package/dist/chat/headless/composer/prompt-suggestions.js +1 -2
  387. package/dist/chat/headless/composer/remember-model-pick.d.ts +15 -12
  388. package/dist/chat/headless/composer/remember-model-pick.js +1 -8
  389. package/dist/chat/headless/composer/run-meter.d.ts +28 -20
  390. package/dist/chat/headless/composer/run-meter.js +7 -10
  391. package/dist/chat/headless/composer/skill-groups.d.ts +21 -0
  392. package/dist/chat/headless/composer/skill-groups.js +21 -0
  393. package/dist/chat/headless/composer-modes.d.ts +9 -12
  394. package/dist/chat/headless/composer-modes.js +1 -2
  395. package/dist/chat/headless/draft-scope.d.ts +21 -17
  396. package/dist/chat/headless/draft-scope.js +1 -2
  397. package/dist/chat/headless/draft-target.d.ts +7 -10
  398. package/dist/chat/headless/draft-target.js +1 -2
  399. package/dist/chat/headless/extension-sources.d.ts +2 -5
  400. package/dist/chat/headless/extension-sources.js +1 -2
  401. package/dist/chat/headless/file-chip.d.ts +22 -9
  402. package/dist/chat/headless/file-chip.js +19 -20
  403. package/dist/chat/headless/fixture-host.d.ts +18 -11
  404. package/dist/chat/headless/fixture-host.js +10 -5
  405. package/dist/chat/headless/fixture-transcript.d.ts +11 -6
  406. package/dist/chat/headless/fixture-transcript.js +1 -9
  407. package/dist/chat/headless/fixtures/demo-transcript-all-kinds.d.ts +1 -4
  408. package/dist/chat/headless/fixtures/demo-transcript-all-kinds.js +1 -2
  409. package/dist/chat/headless/fixtures/demo-transcript.d.ts +14 -4
  410. package/dist/chat/headless/fixtures/demo-transcript.js +1 -15
  411. package/dist/chat/headless/host.d.ts +78 -47
  412. package/dist/chat/headless/hosts.d.ts +9 -7
  413. package/dist/chat/headless/hosts.js +1 -7
  414. package/dist/chat/headless/index.d.ts +67 -62
  415. package/dist/chat/headless/index.js +36 -30
  416. package/dist/chat/headless/labels.d.ts +157 -10
  417. package/dist/chat/headless/labels.js +93 -20
  418. package/dist/chat/headless/markdown-chunks.d.ts +17 -9
  419. package/dist/chat/headless/markdown-chunks.js +20 -19
  420. package/dist/chat/headless/notifications.d.ts +7 -0
  421. package/dist/chat/headless/notifications.js +1 -0
  422. package/dist/chat/headless/path-resolver.d.ts +19 -12
  423. package/dist/chat/headless/path-resolver.js +1 -2
  424. package/dist/chat/headless/prompt-origin.d.ts +72 -9
  425. package/dist/chat/headless/prompt-origin.js +75 -10
  426. package/dist/chat/headless/reference-store.d.ts +37 -15
  427. package/dist/chat/headless/reference-store.js +1 -2
  428. package/dist/chat/headless/secrets.d.ts +3 -6
  429. package/dist/chat/headless/secrets.js +1 -2
  430. package/dist/chat/headless/send-flow.d.ts +46 -33
  431. package/dist/chat/headless/send-flow.js +21 -12
  432. package/dist/chat/headless/session-list.d.ts +158 -20
  433. package/dist/chat/headless/session-list.js +12 -15
  434. package/dist/chat/headless/sidebar/activity.d.ts +20 -13
  435. package/dist/chat/headless/sidebar/activity.js +1 -12
  436. package/dist/chat/headless/sidebar/badges.d.ts +34 -17
  437. package/dist/chat/headless/sidebar/badges.js +1 -2
  438. package/dist/chat/headless/sidebar/compaction.d.ts +9 -12
  439. package/dist/chat/headless/sidebar/compaction.js +1 -2
  440. package/dist/chat/headless/sidebar/directory.d.ts +132 -83
  441. package/dist/chat/headless/sidebar/directory.js +71 -50
  442. package/dist/chat/headless/sidebar/dot-state.d.ts +7 -6
  443. package/dist/chat/headless/sidebar/dot-state.js +1 -2
  444. package/dist/chat/headless/sidebar/environment.d.ts +10 -8
  445. package/dist/chat/headless/sidebar/environment.js +5 -3
  446. package/dist/chat/headless/sidebar/estimates.d.ts +21 -13
  447. package/dist/chat/headless/sidebar/estimates.js +1 -13
  448. package/dist/chat/headless/sidebar/history.d.ts +40 -21
  449. package/dist/chat/headless/sidebar/history.js +1 -24
  450. package/dist/chat/headless/sidebar/host.d.ts +21 -13
  451. package/dist/chat/headless/sidebar/inbox-state.d.ts +45 -0
  452. package/dist/chat/headless/sidebar/inbox-state.js +52 -0
  453. package/dist/chat/headless/sidebar/inbox.d.ts +145 -0
  454. package/dist/chat/headless/sidebar/inbox.js +239 -0
  455. package/dist/chat/headless/sidebar/index.d.ts +16 -14
  456. package/dist/chat/headless/sidebar/index.js +15 -13
  457. package/dist/chat/headless/sidebar/labels.d.ts +193 -10
  458. package/dist/chat/headless/sidebar/labels.js +62 -5
  459. package/dist/chat/headless/sidebar/notifications.d.ts +7 -10
  460. package/dist/chat/headless/sidebar/notifications.js +1 -2
  461. package/dist/chat/headless/sidebar/pinned-projects.d.ts +4 -7
  462. package/dist/chat/headless/sidebar/pinned-projects.js +1 -2
  463. package/dist/chat/headless/sidebar/pinned-sessions.d.ts +2 -5
  464. package/dist/chat/headless/sidebar/pinned-sessions.js +1 -2
  465. package/dist/chat/headless/sidebar/project-icons.d.ts +8 -11
  466. package/dist/chat/headless/sidebar/project-icons.js +1 -2
  467. package/dist/chat/headless/sidebar/query.d.ts +49 -32
  468. package/dist/chat/headless/sidebar/query.js +4 -22
  469. package/dist/chat/headless/sidebar/rows.d.ts +26 -20
  470. package/dist/chat/headless/sidebar/rows.js +19 -11
  471. package/dist/chat/headless/sidebar/types.d.ts +29 -12
  472. package/dist/chat/headless/sidebar/types.js +1 -2
  473. package/dist/chat/headless/sidebar/view.d.ts +108 -38
  474. package/dist/chat/headless/sidebar/view.js +154 -68
  475. package/dist/chat/headless/site-icons.d.ts +8 -5
  476. package/dist/chat/headless/site-icons.js +1 -2
  477. package/dist/chat/headless/smooth-stream.d.ts +5 -8
  478. package/dist/chat/headless/smooth-stream.js +1 -2
  479. package/dist/chat/headless/store.d.ts +8 -11
  480. package/dist/chat/headless/store.js +1 -2
  481. package/dist/chat/headless/streams/actions.d.ts +27 -24
  482. package/dist/chat/headless/streams/actions.js +1 -2
  483. package/dist/chat/headless/streams/index.d.ts +6 -6
  484. package/dist/chat/headless/streams/index.js +3 -3
  485. package/dist/chat/headless/streams/live-events.d.ts +20 -6
  486. package/dist/chat/headless/streams/live-events.js +9 -7
  487. package/dist/chat/headless/streams/merge.d.ts +1 -4
  488. package/dist/chat/headless/streams/merge.js +1 -2
  489. package/dist/chat/headless/streams/pacer.d.ts +8 -11
  490. package/dist/chat/headless/streams/pacer.js +1 -2
  491. package/dist/chat/headless/streams/prompt-previews.d.ts +15 -5
  492. package/dist/chat/headless/streams/prompt-previews.js +4 -3
  493. package/dist/chat/headless/streams/scheduler.d.ts +7 -10
  494. package/dist/chat/headless/streams/scheduler.js +1 -2
  495. package/dist/chat/headless/streams/selectors.d.ts +17 -13
  496. package/dist/chat/headless/streams/selectors.js +1 -2
  497. package/dist/chat/headless/streams/session-streams.d.ts +30 -25
  498. package/dist/chat/headless/streams/session-streams.js +3 -12
  499. package/dist/chat/headless/streams/store.d.ts +31 -10
  500. package/dist/chat/headless/streams/store.js +35 -11
  501. package/dist/chat/headless/streams/transcript.d.ts +2 -5
  502. package/dist/chat/headless/streams/transcript.js +1 -2
  503. package/dist/chat/headless/streams/types.d.ts +7 -12
  504. package/dist/chat/headless/transcript/auth-failure.d.ts +18 -13
  505. package/dist/chat/headless/transcript/auth-failure.js +1 -10
  506. package/dist/chat/headless/transcript/batch.d.ts +23 -11
  507. package/dist/chat/headless/transcript/batch.js +48 -7
  508. package/dist/chat/headless/transcript/collapse.d.ts +5 -8
  509. package/dist/chat/headless/transcript/collapse.js +49 -17
  510. package/dist/chat/headless/transcript/exchange-media.d.ts +68 -0
  511. package/dist/chat/headless/transcript/exchange-media.js +111 -0
  512. package/dist/chat/headless/transcript/fold-actions.d.ts +25 -10
  513. package/dist/chat/headless/transcript/fold-actions.js +34 -16
  514. package/dist/chat/headless/transcript/fold-attachments.d.ts +8 -6
  515. package/dist/chat/headless/transcript/fold-attachments.js +2 -8
  516. package/dist/chat/headless/transcript/fold.d.ts +9 -8
  517. package/dist/chat/headless/transcript/fold.js +33 -13
  518. package/dist/chat/headless/transcript/index.d.ts +6 -5
  519. package/dist/chat/headless/transcript/index.js +7 -6
  520. package/dist/chat/headless/transcript/nesting.d.ts +9 -5
  521. package/dist/chat/headless/transcript/nesting.js +1 -9
  522. package/dist/chat/headless/transcript/pairing.d.ts +14 -6
  523. package/dist/chat/headless/transcript/pairing.js +1 -2
  524. package/dist/chat/headless/transcript/rows.d.ts +66 -15
  525. package/dist/chat/headless/transcript/rows.js +1 -2
  526. package/dist/chat/headless/transcript/run-failures.d.ts +15 -6
  527. package/dist/chat/headless/transcript/run-failures.js +1 -13
  528. package/dist/chat/headless/transcript/select-stops.d.ts +20 -7
  529. package/dist/chat/headless/transcript/select-stops.js +5 -2
  530. package/dist/chat/headless/transcript/tool-media.d.ts +3 -6
  531. package/dist/chat/headless/transcript/tool-media.js +1 -2
  532. package/dist/chat/headless/transcript-host.d.ts +43 -40
  533. package/dist/chat/headless/transcript-labels.d.ts +7 -5
  534. package/dist/chat/headless/transcript-labels.js +1 -2
  535. package/dist/chat/headless/turn-labels.d.ts +4 -5
  536. package/dist/chat/headless/turn-labels.js +3 -2
  537. package/dist/chat/headless/turn-prompt.d.ts +6 -5
  538. package/dist/chat/headless/turn-prompt.js +1 -2
  539. package/dist/chat/index.d.ts +79 -63
  540. package/dist/chat/index.js +75 -66
  541. package/dist/chat/interactions/ElicitationCard.d.ts +49 -0
  542. package/dist/chat/interactions/ElicitationCard.js +192 -0
  543. package/dist/chat/interactions/HostInteractions.d.ts +11 -5
  544. package/dist/chat/interactions/HostInteractions.js +3 -13
  545. package/dist/chat/interactions/InboxPanel.d.ts +21 -7
  546. package/dist/chat/interactions/InboxPanel.js +13 -26
  547. package/dist/chat/interactions/InteractionCard.d.ts +14 -8
  548. package/dist/chat/interactions/InteractionCard.js +9 -16
  549. package/dist/chat/interactions/PlanCard.d.ts +18 -8
  550. package/dist/chat/interactions/PlanCard.js +6 -20
  551. package/dist/chat/interactions/QuestionField.d.ts +24 -6
  552. package/dist/chat/interactions/QuestionField.js +113 -31
  553. package/dist/chat/interactions/QuestionForm.d.ts +39 -16
  554. package/dist/chat/interactions/QuestionForm.js +33 -74
  555. package/dist/chat/interactions/SecretInput.d.ts +9 -5
  556. package/dist/chat/interactions/SecretInput.js +2 -10
  557. package/dist/chat/interactions/card-ui.d.ts +33 -14
  558. package/dist/chat/interactions/card-ui.js +39 -14
  559. package/dist/chat/interactions/hooks.d.ts +8 -6
  560. package/dist/chat/interactions/hooks.js +2 -8
  561. package/dist/chat/interactions/index.d.ts +6 -3
  562. package/dist/chat/interactions/index.js +8 -6
  563. package/dist/chat/interactions/question-answers.d.ts +42 -0
  564. package/dist/chat/interactions/question-answers.js +100 -0
  565. package/dist/chat/provider-color.d.ts +3 -6
  566. package/dist/chat/provider-color.js +1 -2
  567. package/dist/chat/rich-composer/MentionList.d.ts +9 -7
  568. package/dist/chat/rich-composer/MentionList.js +8 -7
  569. package/dist/chat/rich-composer/RichComposer.d.ts +19 -8
  570. package/dist/chat/rich-composer/RichComposer.js +94 -92
  571. package/dist/chat/rich-composer/badge-decorations.d.ts +9 -7
  572. package/dist/chat/rich-composer/badge-decorations.js +17 -10
  573. package/dist/chat/rich-composer/composer-controls.d.ts +14 -12
  574. package/dist/chat/rich-composer/composer-controls.js +18 -7
  575. package/dist/chat/rich-composer/composer-extensions.d.ts +37 -8
  576. package/dist/chat/rich-composer/composer-extensions.js +125 -43
  577. package/dist/chat/rich-composer/composer-keys.d.ts +17 -6
  578. package/dist/chat/rich-composer/composer-keys.js +51 -12
  579. package/dist/chat/rich-composer/ghost-plugin.d.ts +9 -6
  580. package/dist/chat/rich-composer/ghost-plugin.js +1 -2
  581. package/dist/chat/rich-composer/index.d.ts +1 -1
  582. package/dist/chat/rich-composer/mention-popover.d.ts +9 -12
  583. package/dist/chat/rich-composer/mention-popover.js +2 -3
  584. package/dist/chat/rich-composer/slash-completion.d.ts +26 -8
  585. package/dist/chat/rich-composer/slash-completion.js +3 -24
  586. package/dist/chat/rich-composer/use-composer-bus.d.ts +15 -12
  587. package/dist/chat/rich-composer/use-composer-bus.js +1 -8
  588. package/dist/chat/rich-composer/use-composer-editor.d.ts +23 -15
  589. package/dist/chat/rich-composer/use-composer-editor.js +5 -12
  590. package/dist/chat/rich-composer/use-composer-sources.d.ts +16 -9
  591. package/dist/chat/rich-composer/use-composer-sources.js +10 -10
  592. package/dist/chat/rich-composer/use-draft-mirror.d.ts +60 -14
  593. package/dist/chat/rich-composer/use-draft-mirror.js +184 -71
  594. package/dist/chat/rich-composer/use-editor-handover.d.ts +8 -4
  595. package/dist/chat/rich-composer/use-editor-handover.js +1 -2
  596. package/dist/chat/rich-composer/use-extension-composer.d.ts +25 -10
  597. package/dist/chat/rich-composer/use-extension-composer.js +31 -7
  598. package/dist/chat/rich-composer/use-ghost-lifecycle.d.ts +6 -9
  599. package/dist/chat/rich-composer/use-ghost-lifecycle.js +5 -4
  600. package/dist/chat/rich-composer/use-prompt-ghost.d.ts +14 -10
  601. package/dist/chat/rich-composer/use-prompt-ghost.js +1 -8
  602. package/dist/chat/rich-composer/use-staged-attachments.d.ts +7 -5
  603. package/dist/chat/rich-composer/use-staged-attachments.js +2 -8
  604. package/dist/chat/sidebar/InboxList.d.ts +33 -0
  605. package/dist/chat/sidebar/InboxList.js +159 -0
  606. package/dist/chat/sidebar/InboxRowActions.d.ts +32 -0
  607. package/dist/chat/sidebar/InboxRowActions.js +74 -0
  608. package/dist/chat/sidebar/MainSessionRow.d.ts +10 -5
  609. package/dist/chat/sidebar/MainSessionRow.js +4 -12
  610. package/dist/chat/sidebar/ProjectIcon.d.ts +38 -19
  611. package/dist/chat/sidebar/ProjectIcon.js +53 -70
  612. package/dist/chat/sidebar/RowChips.d.ts +10 -8
  613. package/dist/chat/sidebar/RowChips.js +25 -16
  614. package/dist/chat/sidebar/SessionSidebar.d.ts +24 -13
  615. package/dist/chat/sidebar/SessionSidebar.js +350 -109
  616. package/dist/chat/sidebar/SidebarDecoration.d.ts +13 -7
  617. package/dist/chat/sidebar/SidebarDecoration.js +19 -19
  618. package/dist/chat/sidebar/SidebarEmpty.d.ts +11 -0
  619. package/dist/chat/sidebar/SidebarEmpty.js +40 -0
  620. package/dist/chat/sidebar/SidebarFilterMenu.d.ts +9 -6
  621. package/dist/chat/sidebar/SidebarFilterMenu.js +49 -11
  622. package/dist/chat/sidebar/SidebarFold.d.ts +29 -0
  623. package/dist/chat/sidebar/SidebarFold.js +46 -0
  624. package/dist/chat/sidebar/SidebarFooter.d.ts +22 -12
  625. package/dist/chat/sidebar/SidebarFooter.js +46 -44
  626. package/dist/chat/sidebar/SidebarFrame.d.ts +26 -9
  627. package/dist/chat/sidebar/SidebarFrame.js +6 -7
  628. package/dist/chat/sidebar/SidebarGroupHeader.d.ts +21 -9
  629. package/dist/chat/sidebar/SidebarGroupHeader.js +8 -23
  630. package/dist/chat/sidebar/SidebarHostProvider.d.ts +13 -11
  631. package/dist/chat/sidebar/SidebarHostProvider.js +11 -17
  632. package/dist/chat/sidebar/SidebarPreview.d.ts +43 -0
  633. package/dist/chat/sidebar/SidebarPreview.js +117 -0
  634. package/dist/chat/sidebar/SidebarRowView.d.ts +14 -5
  635. package/dist/chat/sidebar/SidebarRowView.js +6 -18
  636. package/dist/chat/sidebar/SidebarSearchRow.d.ts +11 -5
  637. package/dist/chat/sidebar/SidebarSearchRow.js +1 -2
  638. package/dist/chat/sidebar/SidebarSessionRow.d.ts +35 -7
  639. package/dist/chat/sidebar/SidebarSessionRow.js +93 -35
  640. package/dist/chat/sidebar/SidebarToggleButton.d.ts +9 -5
  641. package/dist/chat/sidebar/SidebarToggleButton.js +5 -3
  642. package/dist/chat/sidebar/SpaceSwitcher.d.ts +25 -7
  643. package/dist/chat/sidebar/SpaceSwitcher.js +6 -28
  644. package/dist/chat/sidebar/SpacesSection.d.ts +16 -5
  645. package/dist/chat/sidebar/SpacesSection.js +54 -57
  646. package/dist/chat/sidebar/collapsed.d.ts +3 -6
  647. package/dist/chat/sidebar/collapsed.js +1 -2
  648. package/dist/chat/sidebar/inbox-triage.d.ts +85 -0
  649. package/dist/chat/sidebar/inbox-triage.js +120 -0
  650. package/dist/chat/sidebar/index.d.ts +13 -11
  651. package/dist/chat/sidebar/index.js +20 -18
  652. package/dist/chat/sidebar/pending-removals.d.ts +14 -0
  653. package/dist/chat/sidebar/pending-removals.js +61 -0
  654. package/dist/chat/sidebar/preview-data.d.ts +23 -0
  655. package/dist/chat/sidebar/preview-data.js +175 -0
  656. package/dist/chat/sidebar/session-menu.d.ts +31 -21
  657. package/dist/chat/sidebar/session-menu.js +28 -18
  658. package/dist/chat/sidebar/sidebar-focus-hold.d.ts +1 -4
  659. package/dist/chat/sidebar/sidebar-focus-hold.js +3 -4
  660. package/dist/chat/sidebar/sidebar-live.d.ts +54 -15
  661. package/dist/chat/sidebar/sidebar-live.js +117 -69
  662. package/dist/chat/sidebar/space-slide.d.ts +49 -0
  663. package/dist/chat/sidebar/space-slide.js +77 -0
  664. package/dist/chat/sidebar/use-main-session.d.ts +1 -4
  665. package/dist/chat/sidebar/use-main-session.js +1 -2
  666. package/dist/chat/sidebar/useAgentNames.d.ts +1 -4
  667. package/dist/chat/sidebar/useAgentNames.js +1 -2
  668. package/dist/chat/sidebar/useCompactionProgress.d.ts +1 -4
  669. package/dist/chat/sidebar/useCompactionProgress.js +1 -2
  670. package/dist/chat/sidebar/useInboxRows.d.ts +48 -0
  671. package/dist/chat/sidebar/useInboxRows.js +107 -0
  672. package/dist/chat/sidebar/useInboxTriage.d.ts +64 -0
  673. package/dist/chat/sidebar/useInboxTriage.js +616 -0
  674. package/dist/chat/sidebar/usePinnedProjects.d.ts +2 -5
  675. package/dist/chat/sidebar/usePinnedProjects.js +1 -2
  676. package/dist/chat/sidebar/useSaveViewAsSpace.d.ts +7 -4
  677. package/dist/chat/sidebar/useSaveViewAsSpace.js +2 -9
  678. package/dist/chat/sidebar/useSessionActivity.d.ts +1 -4
  679. package/dist/chat/sidebar/useSessionActivity.js +1 -2
  680. package/dist/chat/sidebar/useSessionBadges.d.ts +1 -4
  681. package/dist/chat/sidebar/useSessionBadges.js +1 -2
  682. package/dist/chat/sidebar/useSessionDirectoryView.d.ts +4 -7
  683. package/dist/chat/sidebar/useSessionDirectoryView.js +5 -6
  684. package/dist/chat/sidebar/useSessionSearch.d.ts +11 -7
  685. package/dist/chat/sidebar/useSessionSearch.js +1 -9
  686. package/dist/chat/sidebar/useSidebarKeyboardNav.d.ts +21 -6
  687. package/dist/chat/sidebar/useSidebarKeyboardNav.js +1 -20
  688. package/dist/chat/sidebar/useSidebarLabels.d.ts +1 -4
  689. package/dist/chat/sidebar/useSidebarLabels.js +1 -2
  690. package/dist/chat/testing/composer.contract.d.ts +25 -19
  691. package/dist/chat/testing/composer.contract.js +25 -9
  692. package/dist/chat/testing/contract.d.ts +29 -17
  693. package/dist/chat/testing/contract.js +28 -4
  694. package/dist/chat/testing/fixture-composer-chrome.d.ts +14 -12
  695. package/dist/chat/testing/fixture-composer-chrome.js +11 -10
  696. package/dist/chat/testing/fixture-composer-host.d.ts +20 -14
  697. package/dist/chat/testing/fixture-composer-host.js +6 -2
  698. package/dist/chat/testing/fixture-sidebar-host.d.ts +10 -8
  699. package/dist/chat/testing/fixture-sidebar-host.js +1 -2
  700. package/dist/chat/testing/index.d.ts +10 -4
  701. package/dist/chat/testing/index.js +4 -3
  702. package/dist/chat/testing/sidebar.contract.d.ts +26 -16
  703. package/dist/chat/testing/sidebar.contract.js +1 -2
  704. package/dist/chat/testing/worst-case-sidebar.d.ts +34 -0
  705. package/dist/chat/testing/worst-case-sidebar.js +153 -0
  706. package/dist/chat/transcript/AnsiText.d.ts +4 -7
  707. package/dist/chat/transcript/AnsiText.js +9 -15
  708. package/dist/chat/transcript/AuthFailureCard.d.ts +17 -5
  709. package/dist/chat/transcript/AuthFailureCard.js +17 -30
  710. package/dist/chat/transcript/BadgeMenu.d.ts +26 -16
  711. package/dist/chat/transcript/BadgeMenu.js +8 -28
  712. package/dist/chat/transcript/CardMarkdown.d.ts +2 -5
  713. package/dist/chat/transcript/CardMarkdown.js +8 -17
  714. package/dist/chat/transcript/ChipCard.d.ts +23 -8
  715. package/dist/chat/transcript/ChipCard.js +10 -10
  716. package/dist/chat/transcript/ChipCards.d.ts +30 -11
  717. package/dist/chat/transcript/ChipCards.js +51 -14
  718. package/dist/chat/transcript/CodemodeScript.d.ts +15 -5
  719. package/dist/chat/transcript/CodemodeScript.js +75 -82
  720. package/dist/chat/transcript/DiffLines.d.ts +26 -5
  721. package/dist/chat/transcript/DiffLines.js +89 -45
  722. package/dist/chat/transcript/EarlierHistory.d.ts +5 -8
  723. package/dist/chat/transcript/EarlierHistory.js +2 -3
  724. package/dist/chat/transcript/EditDiffBlock.d.ts +2 -5
  725. package/dist/chat/transcript/EditDiffBlock.js +40 -36
  726. package/dist/chat/transcript/FileChip.d.ts +4 -7
  727. package/dist/chat/transcript/FileChip.js +9 -24
  728. package/dist/chat/transcript/ImageGenerationBlock.d.ts +5 -8
  729. package/dist/chat/transcript/ImageGenerationBlock.js +14 -27
  730. package/dist/chat/transcript/InlineChipText.d.ts +2 -5
  731. package/dist/chat/transcript/InlineChipText.js +2 -3
  732. package/dist/chat/transcript/InteractionToolBody.d.ts +4 -7
  733. package/dist/chat/transcript/InteractionToolBody.js +7 -6
  734. package/dist/chat/transcript/LazyRow.d.ts +43 -20
  735. package/dist/chat/transcript/LazyRow.js +4 -31
  736. package/dist/chat/transcript/LiveOutput.d.ts +2 -5
  737. package/dist/chat/transcript/LiveOutput.js +2 -12
  738. package/dist/chat/transcript/MermaidDiagram.d.ts +68 -5
  739. package/dist/chat/transcript/MermaidDiagram.js +342 -62
  740. package/dist/chat/transcript/PromptEcho.d.ts +8 -5
  741. package/dist/chat/transcript/PromptEcho.js +47 -12
  742. package/dist/chat/transcript/PromptOriginLabel.d.ts +8 -5
  743. package/dist/chat/transcript/PromptOriginLabel.js +35 -8
  744. package/dist/chat/transcript/ProseMarkdown.d.ts +2 -5
  745. package/dist/chat/transcript/ProseMarkdown.js +7 -13
  746. package/dist/chat/transcript/ReferenceText.d.ts +21 -7
  747. package/dist/chat/transcript/ReferenceText.js +10 -11
  748. package/dist/chat/transcript/SelectCursor.d.ts +2 -5
  749. package/dist/chat/transcript/SelectCursor.js +2 -3
  750. package/dist/chat/transcript/SelectTurnHint.d.ts +10 -6
  751. package/dist/chat/transcript/SelectTurnHint.js +3 -4
  752. package/dist/chat/transcript/SelectTurnProvider.d.ts +31 -20
  753. package/dist/chat/transcript/SelectTurnProvider.js +3 -18
  754. package/dist/chat/transcript/SubagentBlock.d.ts +12 -15
  755. package/dist/chat/transcript/SubagentBlock.js +3 -4
  756. package/dist/chat/transcript/TranscriptRow.d.ts +19 -15
  757. package/dist/chat/transcript/TranscriptRow.js +48 -34
  758. package/dist/chat/transcript/TranscriptSearch.d.ts +18 -5
  759. package/dist/chat/transcript/TranscriptSearch.js +3 -20
  760. package/dist/chat/transcript/TurnMenu.d.ts +12 -15
  761. package/dist/chat/transcript/TurnMenu.js +2 -13
  762. package/dist/chat/transcript/actions.d.ts +51 -19
  763. package/dist/chat/transcript/actions.js +2 -17
  764. package/dist/chat/transcript/badges.d.ts +23 -14
  765. package/dist/chat/transcript/badges.js +4 -4
  766. package/dist/chat/transcript/chip-details.d.ts +5 -8
  767. package/dist/chat/transcript/chip-details.js +1 -10
  768. package/dist/chat/transcript/chip-resolve.d.ts +8 -5
  769. package/dist/chat/transcript/chip-resolve.js +1 -8
  770. package/dist/chat/transcript/diagrams-scope.d.ts +1 -0
  771. package/dist/chat/transcript/diagrams-scope.js +10 -0
  772. package/dist/chat/transcript/environment-setup.d.ts +51 -0
  773. package/dist/chat/transcript/environment-setup.js +205 -0
  774. package/dist/chat/transcript/extension-renderers.d.ts +4 -7
  775. package/dist/chat/transcript/extension-renderers.js +8 -23
  776. package/dist/chat/transcript/fold-attachments.d.ts +30 -5
  777. package/dist/chat/transcript/fold-attachments.js +26 -39
  778. package/dist/chat/transcript/fold-status.d.ts +15 -7
  779. package/dist/chat/transcript/fold-status.js +4 -15
  780. package/dist/chat/transcript/fold-worker.d.ts +8 -5
  781. package/dist/chat/transcript/fold-worker.js +9 -16
  782. package/dist/chat/transcript/fold.d.ts +16 -7
  783. package/dist/chat/transcript/fold.js +93 -39
  784. package/dist/chat/transcript/frame.d.ts +13 -16
  785. package/dist/chat/transcript/frame.js +24 -24
  786. package/dist/chat/transcript/index.d.ts +51 -42
  787. package/dist/chat/transcript/index.js +51 -47
  788. package/dist/chat/transcript/markdown-cache.d.ts +17 -6
  789. package/dist/chat/transcript/markdown-cache.js +5 -6
  790. package/dist/chat/transcript/markdown-context.d.ts +7 -10
  791. package/dist/chat/transcript/markdown-context.js +1 -2
  792. package/dist/chat/transcript/markdown.d.ts +31 -8
  793. package/dist/chat/transcript/markdown.js +118 -36
  794. package/dist/chat/transcript/media-gallery.d.ts +57 -0
  795. package/dist/chat/transcript/media-gallery.js +321 -0
  796. package/dist/chat/transcript/message-media.d.ts +43 -0
  797. package/dist/chat/transcript/message-media.js +192 -0
  798. package/dist/chat/transcript/messages.d.ts +6 -5
  799. package/dist/chat/transcript/messages.js +26 -22
  800. package/dist/chat/transcript/notices.d.ts +26 -22
  801. package/dist/chat/transcript/notices.js +8 -16
  802. package/dist/chat/transcript/prompt-lines.d.ts +3 -6
  803. package/dist/chat/transcript/prompt-lines.js +6 -7
  804. package/dist/chat/transcript/prompt.d.ts +14 -9
  805. package/dist/chat/transcript/prompt.js +42 -29
  806. package/dist/chat/transcript/prose.d.ts +10 -9
  807. package/dist/chat/transcript/prose.js +3 -8
  808. package/dist/chat/transcript/recent-map.d.ts +4 -7
  809. package/dist/chat/transcript/recent-map.js +1 -2
  810. package/dist/chat/transcript/references.d.ts +11 -6
  811. package/dist/chat/transcript/references.js +4 -13
  812. package/dist/chat/transcript/remark-references.d.ts +21 -7
  813. package/dist/chat/transcript/remark-references.js +1 -18
  814. package/dist/chat/transcript/remark-refs.d.ts +9 -11
  815. package/dist/chat/transcript/remark-refs.js +1 -2
  816. package/dist/chat/transcript/renderer-slots.d.ts +9 -6
  817. package/dist/chat/transcript/renderer-slots.js +2 -9
  818. package/dist/chat/transcript/renderers.d.ts +47 -24
  819. package/dist/chat/transcript/renderers.js +9 -30
  820. package/dist/chat/transcript/rolling.d.ts +2 -5
  821. package/dist/chat/transcript/rolling.js +1 -2
  822. package/dist/chat/transcript/row-estimate.d.ts +7 -5
  823. package/dist/chat/transcript/row-estimate.js +9 -3
  824. package/dist/chat/transcript/run-rows.d.ts +11 -9
  825. package/dist/chat/transcript/run-rows.js +9 -16
  826. package/dist/chat/transcript/script-input.d.ts +4 -6
  827. package/dist/chat/transcript/script-input.js +1 -2
  828. package/dist/chat/transcript/scroll-clamp.d.ts +8 -0
  829. package/dist/chat/transcript/scroll-clamp.js +49 -0
  830. package/dist/chat/transcript/shell-block-scope.d.ts +11 -9
  831. package/dist/chat/transcript/shell-block-scope.js +1 -7
  832. package/dist/chat/transcript/shell-block.d.ts +16 -6
  833. package/dist/chat/transcript/shell-block.js +12 -25
  834. package/dist/chat/transcript/site-icons.d.ts +1 -4
  835. package/dist/chat/transcript/site-icons.js +2 -3
  836. package/dist/chat/transcript/tasks.d.ts +38 -0
  837. package/dist/chat/transcript/tasks.js +93 -0
  838. package/dist/chat/transcript/thumbnails.d.ts +1 -4
  839. package/dist/chat/transcript/thumbnails.js +8 -4
  840. package/dist/chat/transcript/tool-batch.d.ts +6 -5
  841. package/dist/chat/transcript/tool-batch.js +4 -9
  842. package/dist/chat/transcript/tool-details.d.ts +7 -5
  843. package/dist/chat/transcript/tool-details.js +2 -3
  844. package/dist/chat/transcript/tool-media.d.ts +17 -6
  845. package/dist/chat/transcript/tool-media.js +47 -24
  846. package/dist/chat/transcript/tool-parts.d.ts +18 -15
  847. package/dist/chat/transcript/tool-parts.js +2 -9
  848. package/dist/chat/transcript/tool-payload.d.ts +9 -5
  849. package/dist/chat/transcript/tool-payload.js +5 -5
  850. package/dist/chat/transcript/tool-row.d.ts +13 -9
  851. package/dist/chat/transcript/tool-row.js +63 -30
  852. package/dist/chat/transcript/turn-commands.d.ts +29 -13
  853. package/dist/chat/transcript/turn-commands.js +43 -10
  854. package/dist/chat/transcript/use-host-turn-menu.d.ts +29 -0
  855. package/dist/chat/transcript/use-host-turn-menu.js +43 -0
  856. package/dist/chat/transcript/use-transcript-rows.d.ts +4 -7
  857. package/dist/chat/transcript/use-transcript-rows.js +5 -13
  858. package/dist/chat/transcript/useComposerSearch.d.ts +18 -6
  859. package/dist/chat/transcript/useComposerSearch.js +1 -17
  860. package/dist/chat/transcript/useSelectTurnKeys.d.ts +7 -10
  861. package/dist/chat/transcript/useSelectTurnKeys.js +1 -2
  862. package/dist/chat/transcript/useSettledReveal.d.ts +1 -4
  863. package/dist/chat/transcript/useSettledReveal.js +1 -2
  864. package/dist/chat/transcript/useStickToBottom.d.ts +41 -8
  865. package/dist/chat/transcript/useStickToBottom.js +18 -43
  866. package/dist/chat/transcript/useTranscriptFind.d.ts +7 -10
  867. package/dist/chat/transcript/useTranscriptFind.js +1 -2
  868. package/dist/chat/transcript/useTranscriptFindKey.d.ts +4 -7
  869. package/dist/chat/transcript/useTranscriptFindKey.js +1 -2
  870. package/dist/chat/transcript/useTranscriptScroll.d.ts +11 -6
  871. package/dist/chat/transcript/useTranscriptScroll.js +3 -12
  872. package/dist/chat/transcript/useTranscriptSearch.d.ts +5 -8
  873. package/dist/chat/transcript/useTranscriptSearch.js +4 -6
  874. package/dist/chat/transcript/useTranscriptSelectionCopy.d.ts +1 -4
  875. package/dist/chat/transcript/useTranscriptSelectionCopy.js +1 -2
  876. package/dist/chat/transcript/useWheelHoverPause.d.ts +17 -4
  877. package/dist/chat/transcript/useWheelHoverPause.js +1 -18
  878. package/dist/chat/transcript/user-bash.d.ts +7 -5
  879. package/dist/chat/transcript/user-bash.js +2 -8
  880. package/dist/chat/transcript/view-anchor.d.ts +13 -0
  881. package/dist/chat/transcript/view-anchor.js +26 -0
  882. package/dist/chat/transcript/view-scope.d.ts +223 -0
  883. package/dist/chat/transcript/view-scope.js +300 -0
  884. package/dist/chat/transcript-options.d.ts +7 -5
  885. package/dist/chat/transcript-options.js +8 -8
  886. package/dist/chat/useChatLabels.d.ts +5 -4
  887. package/dist/chat/useChatLabels.js +1 -6
  888. package/dist/code/CodeHighlightProvider.d.ts +14 -8
  889. package/dist/code/CodeHighlightProvider.js +2 -12
  890. package/dist/code/HighlightedCode.d.ts +16 -5
  891. package/dist/code/HighlightedCode.js +3 -18
  892. package/dist/code/code-themes.d.ts +11 -8
  893. package/dist/code/code-themes.js +1 -2
  894. package/dist/code/editor/CodeCompletion.d.ts +10 -12
  895. package/dist/code/editor/CodeCompletion.js +31 -34
  896. package/dist/code/editor/CodeEditor.d.ts +26 -7
  897. package/dist/code/editor/CodeEditor.js +6 -7
  898. package/dist/code/editor/CodeHover.d.ts +30 -13
  899. package/dist/code/editor/CodeHover.js +5 -25
  900. package/dist/code/editor/DiagnosticAnnotation.d.ts +7 -5
  901. package/dist/code/editor/DiagnosticAnnotation.js +2 -3
  902. package/dist/code/editor/DiagnosticsChip.d.ts +8 -6
  903. package/dist/code/editor/DiagnosticsChip.js +1 -2
  904. package/dist/code/editor/DiffView.d.ts +15 -8
  905. package/dist/code/editor/DiffView.js +2 -12
  906. package/dist/code/editor/EditorColumn.d.ts +23 -6
  907. package/dist/code/editor/EditorColumn.js +25 -45
  908. package/dist/code/editor/FileIcon.d.ts +10 -7
  909. package/dist/code/editor/FileIcon.js +4 -10
  910. package/dist/code/editor/FileTabPill.d.ts +2 -5
  911. package/dist/code/editor/FileTabPill.js +2 -3
  912. package/dist/code/editor/FileTree.d.ts +27 -11
  913. package/dist/code/editor/FileTree.js +2 -22
  914. package/dist/code/editor/FileView.d.ts +7 -9
  915. package/dist/code/editor/FileView.js +5 -11
  916. package/dist/code/editor/HighlightWorkers.d.ts +18 -5
  917. package/dist/code/editor/HighlightWorkers.js +3 -20
  918. package/dist/code/editor/LanguageEditor.d.ts +4 -7
  919. package/dist/code/editor/LanguageEditor.js +4 -12
  920. package/dist/code/editor/_vendor/tree-icon-colors.d.ts +2 -5
  921. package/dist/code/editor/_vendor/tree-icon-colors.js +1 -2
  922. package/dist/code/editor/diagnostics.d.ts +15 -13
  923. package/dist/code/editor/diagnostics.js +1 -2
  924. package/dist/code/editor/edit-session.d.ts +2 -5
  925. package/dist/code/editor/edit-session.js +1 -2
  926. package/dist/code/editor/environment.d.ts +13 -9
  927. package/dist/code/editor/environment.js +3 -11
  928. package/dist/code/editor/find/FindBar.d.ts +7 -5
  929. package/dist/code/editor/find/FindBar.js +3 -9
  930. package/dist/code/editor/find/find-highlight.d.ts +15 -9
  931. package/dist/code/editor/find/find-highlight.js +7 -13
  932. package/dist/code/editor/find/find-model.d.ts +14 -12
  933. package/dist/code/editor/find/find-model.js +1 -2
  934. package/dist/code/editor/find/settle-scroll.d.ts +3 -6
  935. package/dist/code/editor/find/settle-scroll.js +1 -2
  936. package/dist/code/editor/find/useFind.d.ts +15 -9
  937. package/dist/code/editor/find/useFind.js +5 -15
  938. package/dist/code/editor/fs-adapter.d.ts +14 -7
  939. package/dist/code/editor/index.d.ts +19 -13
  940. package/dist/code/editor/index.js +19 -19
  941. package/dist/code/editor/language.d.ts +9 -6
  942. package/dist/code/editor/patch-parse.d.ts +25 -14
  943. package/dist/code/editor/patch-parse.js +3 -4
  944. package/dist/code/editor/patch-parse.worker.js +3 -11
  945. package/dist/code/editor/pierre-theme.d.ts +16 -9
  946. package/dist/code/editor/pierre-theme.js +7 -5
  947. package/dist/code/editor/prime-diff.d.ts +10 -4
  948. package/dist/code/editor/prime-diff.js +1 -11
  949. package/dist/code/editor/reveal.d.ts +2 -5
  950. package/dist/code/editor/reveal.js +2 -3
  951. package/dist/code/editor/scroll-reach.d.ts +1 -4
  952. package/dist/code/editor/scroll-reach.js +1 -2
  953. package/dist/code/editor/useCodeDocument.d.ts +23 -8
  954. package/dist/code/editor/useCodeDocument.js +1 -20
  955. package/dist/code/editor/useDefinition.d.ts +12 -6
  956. package/dist/code/editor/useDefinition.js +1 -11
  957. package/dist/code/editor/useDetachCleanup.d.ts +1 -4
  958. package/dist/code/editor/useDetachCleanup.js +1 -2
  959. package/dist/code/editor/useFileDocument.d.ts +8 -6
  960. package/dist/code/editor/useFileDocument.js +1 -7
  961. package/dist/code/editor/useRevealLine.d.ts +12 -5
  962. package/dist/code/editor/useRevealLine.js +1 -12
  963. package/dist/code/editor/word-at.d.ts +5 -8
  964. package/dist/code/editor/word-at.js +1 -2
  965. package/dist/code/highlight-lines.d.ts +2 -5
  966. package/dist/code/highlight-lines.js +1 -2
  967. package/dist/code/highlight.worker.js +4 -5
  968. package/dist/code/highlighter.d.ts +7 -10
  969. package/dist/code/highlighter.js +1 -2
  970. package/dist/code/highlights.d.ts +1 -4
  971. package/dist/code/highlights.js +1 -12
  972. package/dist/code/mermaid-lexer.d.ts +17 -7
  973. package/dist/code/mermaid-lexer.js +3 -4
  974. package/dist/code/shiki-theme.d.ts +9 -5
  975. package/dist/code/shiki-theme.js +2 -3
  976. package/dist/code/use-highlighted-html.d.ts +1 -4
  977. package/dist/code/use-highlighted-html.js +2 -3
  978. package/dist/components/Accordion.d.ts +33 -0
  979. package/dist/components/Accordion.js +89 -0
  980. package/dist/components/BrandMark.d.ts +12 -7
  981. package/dist/components/BrandMark.js +2 -3
  982. package/dist/components/Breadcrumb.d.ts +7 -5
  983. package/dist/components/Breadcrumb.js +2 -8
  984. package/dist/components/Breakdown.d.ts +91 -0
  985. package/dist/components/Breakdown.js +211 -0
  986. package/dist/components/BrowserChrome.d.ts +9 -7
  987. package/dist/components/BrowserChrome.js +3 -9
  988. package/dist/components/BrowserSignIn.d.ts +10 -6
  989. package/dist/components/BrowserSignIn.js +6 -14
  990. package/dist/components/Callout.d.ts +33 -0
  991. package/dist/components/Callout.js +59 -0
  992. package/dist/components/Checklist.d.ts +56 -0
  993. package/dist/components/Checklist.js +188 -0
  994. package/dist/components/ChoiceCards.d.ts +20 -6
  995. package/dist/components/ChoiceCards.js +13 -20
  996. package/dist/components/CodeFrame.d.ts +31 -7
  997. package/dist/components/CodeFrame.js +10 -33
  998. package/dist/components/Compare.d.ts +79 -0
  999. package/dist/components/Compare.js +241 -0
  1000. package/dist/components/ConfirmDialog.d.ts +13 -7
  1001. package/dist/components/ConfirmDialog.js +2 -12
  1002. package/dist/components/CopyButton.d.ts +12 -5
  1003. package/dist/components/CopyButton.js +4 -15
  1004. package/dist/components/EditableTitle.d.ts +6 -5
  1005. package/dist/components/EditableTitle.js +4 -7
  1006. package/dist/components/ErrorBoundary.d.ts +22 -10
  1007. package/dist/components/ErrorBoundary.js +3 -18
  1008. package/dist/components/Form.d.ts +60 -49
  1009. package/dist/components/Form.js +16 -14
  1010. package/dist/components/Highlighted.d.ts +2 -5
  1011. package/dist/components/Highlighted.js +1 -2
  1012. package/dist/components/HowItWorks.d.ts +14 -6
  1013. package/dist/components/HowItWorks.js +3 -15
  1014. package/dist/components/IconButton.d.ts +42 -18
  1015. package/dist/components/IconButton.js +46 -25
  1016. package/dist/components/IconButtonTip.d.ts +19 -0
  1017. package/dist/components/IconButtonTip.js +32 -0
  1018. package/dist/components/IconToggle.d.ts +2 -5
  1019. package/dist/components/IconToggle.js +1 -2
  1020. package/dist/components/KeyValue.d.ts +39 -0
  1021. package/dist/components/KeyValue.js +42 -0
  1022. package/dist/components/Keycap.d.ts +4 -7
  1023. package/dist/components/Keycap.js +9 -10
  1024. package/dist/components/Lightbox.d.ts +33 -8
  1025. package/dist/components/Lightbox.js +84 -41
  1026. package/dist/components/LoadError.d.ts +6 -5
  1027. package/dist/components/LoadError.js +1 -2
  1028. package/dist/components/MediaNav.d.ts +9 -6
  1029. package/dist/components/MediaNav.js +1 -2
  1030. package/dist/components/Menu.d.ts +49 -27
  1031. package/dist/components/Menu.js +10 -33
  1032. package/dist/components/Notice.d.ts +11 -6
  1033. package/dist/components/Notice.js +1 -2
  1034. package/dist/components/Overlay.d.ts +32 -7
  1035. package/dist/components/Overlay.js +3 -32
  1036. package/dist/components/PanelEmpty.d.ts +22 -14
  1037. package/dist/components/PanelEmpty.js +32 -14
  1038. package/dist/components/PanelRows.d.ts +12 -10
  1039. package/dist/components/PanelRows.js +1 -2
  1040. package/dist/components/PreviewWindow.d.ts +8 -5
  1041. package/dist/components/PreviewWindow.js +1 -2
  1042. package/dist/components/Progress.d.ts +58 -0
  1043. package/dist/components/Progress.js +93 -0
  1044. package/dist/components/ReorderTabs.d.ts +10 -6
  1045. package/dist/components/ReorderTabs.js +3 -11
  1046. package/dist/components/Restricted.d.ts +13 -5
  1047. package/dist/components/Restricted.js +1 -2
  1048. package/dist/components/RowActionsMenu.d.ts +26 -6
  1049. package/dist/components/RowActionsMenu.js +6 -29
  1050. package/dist/components/RowMenuButton.d.ts +28 -0
  1051. package/dist/components/RowMenuButton.js +34 -0
  1052. package/dist/components/SegmentSpinner.d.ts +14 -5
  1053. package/dist/components/SegmentSpinner.js +1 -2
  1054. package/dist/components/Segmented.d.ts +8 -6
  1055. package/dist/components/Segmented.js +2 -8
  1056. package/dist/components/Skeleton.d.ts +26 -0
  1057. package/dist/components/Skeleton.js +22 -0
  1058. package/dist/components/Stat.d.ts +108 -0
  1059. package/dist/components/Stat.js +124 -0
  1060. package/dist/components/StepFrame.d.ts +14 -7
  1061. package/dist/components/StepFrame.js +2 -13
  1062. package/dist/components/Stepper.d.ts +9 -6
  1063. package/dist/components/Stepper.js +1 -2
  1064. package/dist/components/Steps.d.ts +40 -0
  1065. package/dist/components/Steps.js +48 -0
  1066. package/dist/components/Surface.d.ts +22 -16
  1067. package/dist/components/Surface.js +3 -4
  1068. package/dist/components/SwatchPicker.d.ts +11 -6
  1069. package/dist/components/SwatchPicker.js +2 -10
  1070. package/dist/components/SwitchGlyph.d.ts +10 -5
  1071. package/dist/components/SwitchGlyph.js +1 -2
  1072. package/dist/components/TabPill.d.ts +18 -8
  1073. package/dist/components/TabPill.js +1 -2
  1074. package/dist/components/Table.d.ts +148 -0
  1075. package/dist/components/Table.js +675 -0
  1076. package/dist/components/Tabs.d.ts +45 -0
  1077. package/dist/components/Tabs.js +95 -0
  1078. package/dist/components/ThemeThumb.d.ts +7 -5
  1079. package/dist/components/ThemeThumb.js +1 -2
  1080. package/dist/components/ToggleCard.d.ts +15 -8
  1081. package/dist/components/ToggleCard.js +31 -36
  1082. package/dist/components/Tooltip.d.ts +68 -6
  1083. package/dist/components/Tooltip.js +136 -72
  1084. package/dist/components/ZidaneMark.d.ts +17 -5
  1085. package/dist/components/ZidaneMark.js +6 -17
  1086. package/dist/components/ZoomableImage.d.ts +35 -10
  1087. package/dist/components/ZoomableImage.js +6 -29
  1088. package/dist/components/button.d.ts +11 -13
  1089. package/dist/components/button.js +6 -7
  1090. package/dist/components/charts/AreaChart.d.ts +25 -0
  1091. package/dist/components/charts/AreaChart.js +206 -0
  1092. package/dist/components/charts/BarChart.d.ts +120 -0
  1093. package/dist/components/charts/BarChart.js +675 -0
  1094. package/dist/components/charts/LineChart.d.ts +36 -0
  1095. package/dist/components/charts/LineChart.js +294 -0
  1096. package/dist/components/charts/ScatterChart.d.ts +80 -0
  1097. package/dist/components/charts/ScatterChart.js +689 -0
  1098. package/dist/components/charts/Sparkline.d.ts +31 -0
  1099. package/dist/components/charts/Sparkline.js +79 -0
  1100. package/dist/components/charts/Trend.d.ts +91 -0
  1101. package/dist/components/charts/Trend.js +225 -0
  1102. package/dist/components/charts/frame.d.ts +234 -0
  1103. package/dist/components/charts/frame.js +469 -0
  1104. package/dist/components/charts/index.d.ts +15 -0
  1105. package/dist/components/charts/index.js +9 -0
  1106. package/dist/components/charts/interact.d.ts +102 -0
  1107. package/dist/components/charts/interact.js +306 -0
  1108. package/dist/components/charts/measure.d.ts +26 -0
  1109. package/dist/components/charts/measure.js +78 -0
  1110. package/dist/components/charts/xy.d.ts +231 -0
  1111. package/dist/components/charts/xy.js +483 -0
  1112. package/dist/components/charts/zoom-reset.d.ts +4 -0
  1113. package/dist/components/charts/zoom-reset.js +22 -0
  1114. package/dist/components/floating/FloatingSurface.d.ts +36 -20
  1115. package/dist/components/floating/FloatingSurface.js +5 -21
  1116. package/dist/components/floating/HoverCard.d.ts +11 -6
  1117. package/dist/components/floating/HoverCard.js +4 -13
  1118. package/dist/components/floating/Popover.d.ts +16 -8
  1119. package/dist/components/floating/Popover.js +5 -17
  1120. package/dist/components/floating/useAnchoredPosition.d.ts +9 -12
  1121. package/dist/components/floating/useAnchoredPosition.js +1 -2
  1122. package/dist/components/floating/usePopover.d.ts +6 -9
  1123. package/dist/components/floating/usePopover.js +1 -2
  1124. package/dist/components/image-clipboard.d.ts +3 -6
  1125. package/dist/components/image-clipboard.js +1 -2
  1126. package/dist/components/keyboard-layout.d.ts +7 -9
  1127. package/dist/components/keyboard-layout.js +2 -3
  1128. package/dist/components/lazy-part.d.ts +20 -0
  1129. package/dist/components/lazy-part.js +32 -0
  1130. package/dist/components/numbers.d.ts +71 -0
  1131. package/dist/components/numbers.js +156 -0
  1132. package/dist/components/palette/PaletteList.d.ts +36 -22
  1133. package/dist/components/palette/PaletteList.js +33 -50
  1134. package/dist/components/palette/PalettePanel.d.ts +19 -8
  1135. package/dist/components/palette/PalettePanel.js +17 -30
  1136. package/dist/components/palette/palette-layout.d.ts +13 -11
  1137. package/dist/components/palette/palette-layout.js +1 -7
  1138. package/dist/components/report-error.d.ts +9 -12
  1139. package/dist/components/report-error.js +1 -2
  1140. package/dist/components/tooltip-arming.d.ts +18 -0
  1141. package/dist/components/tooltip-arming.js +32 -0
  1142. package/dist/components/zidane-mark.d.ts +9 -12
  1143. package/dist/components/zidane-mark.js +1 -2
  1144. package/dist/components/zoom.d.ts +14 -17
  1145. package/dist/components/zoom.js +3 -4
  1146. package/dist/core.css +1007 -106
  1147. package/dist/dist/{index-BZM8tu4L.d.ts → index-Betz0OWq.d.ts} +297 -150
  1148. package/dist/dist/index-QcFzZlao.d.ts +1 -0
  1149. package/dist/dist/index.d.ts +6 -6
  1150. package/dist/dist/oauth-callback-page-CV9oTMGy.d.ts +1 -0
  1151. package/dist/dist/sandbox-D0zsW8I1.d.ts +2 -0
  1152. package/dist/dist/{timeout-Cyx3VGPz.d.ts → timeout-CyU7HLyz.d.ts} +0 -2
  1153. package/dist/extensions/ExtensionComponent.d.ts +21 -13
  1154. package/dist/extensions/ExtensionComponent.js +7 -18
  1155. package/dist/extensions/ExtensionDialogHost.d.ts +5 -20
  1156. package/dist/extensions/ExtensionDialogHost.js +44 -86
  1157. package/dist/extensions/ExtensionRenderer.d.ts +12 -5
  1158. package/dist/extensions/ExtensionRenderer.js +3 -14
  1159. package/dist/extensions/ExtensionScreen.d.ts +11 -6
  1160. package/dist/extensions/ExtensionScreen.js +6 -15
  1161. package/dist/extensions/ExtensionSettingsPage.d.ts +10 -5
  1162. package/dist/extensions/ExtensionSettingsPage.js +4 -13
  1163. package/dist/extensions/ExtensionSettingsPages.d.ts +10 -5
  1164. package/dist/extensions/ExtensionSettingsPages.js +3 -4
  1165. package/dist/extensions/ExtensionSettingsSection.d.ts +15 -5
  1166. package/dist/extensions/ExtensionSettingsSection.js +18 -25
  1167. package/dist/extensions/ExtensionSettingsSidebar.d.ts +39 -12
  1168. package/dist/extensions/ExtensionSettingsSidebar.js +12 -41
  1169. package/dist/extensions/ExtensionSlot.d.ts +20 -8
  1170. package/dist/extensions/ExtensionSlot.js +48 -63
  1171. package/dist/extensions/ExtensionWebview.d.ts +18 -6
  1172. package/dist/extensions/ExtensionWebview.js +2 -18
  1173. package/dist/extensions/ExtensionsProvider.d.ts +20 -11
  1174. package/dist/extensions/ExtensionsProvider.js +4 -17
  1175. package/dist/extensions/SettingsWireForm.d.ts +18 -9
  1176. package/dist/extensions/SettingsWireForm.js +4 -5
  1177. package/dist/extensions/headless/dialog-queue.d.ts +11 -9
  1178. package/dist/extensions/headless/dialog-queue.js +1 -7
  1179. package/dist/extensions/headless/effect-channel.d.ts +9 -7
  1180. package/dist/extensions/headless/effect-channel.js +4 -3
  1181. package/dist/extensions/headless/effect-router.d.ts +23 -11
  1182. package/dist/extensions/headless/effect-router.js +1 -2
  1183. package/dist/extensions/headless/fixture-host.d.ts +23 -26
  1184. package/dist/extensions/headless/fixture-host.js +1 -8
  1185. package/dist/extensions/headless/host-modules.d.ts +31 -0
  1186. package/dist/extensions/headless/host-modules.js +46 -0
  1187. package/dist/extensions/headless/host.d.ts +62 -56
  1188. package/dist/extensions/headless/host.js +1 -2
  1189. package/dist/extensions/headless/index.d.ts +18 -6
  1190. package/dist/extensions/headless/index.js +6 -4
  1191. package/dist/extensions/headless/keys.d.ts +102 -0
  1192. package/dist/extensions/headless/keys.js +65 -0
  1193. package/dist/extensions/headless/labels.d.ts +8 -5
  1194. package/dist/extensions/headless/labels.js +1 -2
  1195. package/dist/extensions/headless/links.d.ts +10 -6
  1196. package/dist/extensions/headless/links.js +1 -2
  1197. package/dist/extensions/headless/select.d.ts +19 -17
  1198. package/dist/extensions/headless/select.js +1 -2
  1199. package/dist/extensions/headless/webview-bridge.d.ts +19 -16
  1200. package/dist/extensions/headless/webview-bridge.js +1 -2
  1201. package/dist/extensions/headless/wire.d.ts +48 -40
  1202. package/dist/extensions/headless/wire.js +3 -3
  1203. package/dist/extensions/hooks.d.ts +16 -19
  1204. package/dist/extensions/hooks.js +2 -14
  1205. package/dist/extensions/index.d.ts +16 -4
  1206. package/dist/extensions/index.js +8 -8
  1207. package/dist/extensions/kit.d.ts +5 -5
  1208. package/dist/extensions/kit.js +7 -7
  1209. package/dist/extensions/links.d.ts +27 -13
  1210. package/dist/extensions/links.js +2 -20
  1211. package/dist/extensions/testing/contract.d.ts +36 -23
  1212. package/dist/extensions/testing/contract.js +7 -22
  1213. package/dist/extensions/testing/index.d.ts +5 -0
  1214. package/dist/extensions/useExtensionsLabels.d.ts +5 -4
  1215. package/dist/extensions/useExtensionsLabels.js +1 -6
  1216. package/dist/files/CodeViewer.d.ts +3 -6
  1217. package/dist/files/CodeViewer.js +12 -24
  1218. package/dist/files/DiffFileViewer.d.ts +2 -5
  1219. package/dist/files/DiffFileViewer.js +7 -13
  1220. package/dist/files/DiffsTab.d.ts +18 -5
  1221. package/dist/files/DiffsTab.js +214 -135
  1222. package/dist/files/EditorColumn.d.ts +13 -9
  1223. package/dist/files/EditorColumn.js +90 -61
  1224. package/dist/files/EditorEnvironmentRoot.d.ts +9 -5
  1225. package/dist/files/EditorEnvironmentRoot.js +3 -11
  1226. package/dist/files/FilePreview.d.ts +21 -0
  1227. package/dist/files/FilePreview.js +264 -0
  1228. package/dist/files/FilesDiagnosticsChip.d.ts +6 -5
  1229. package/dist/files/FilesDiagnosticsChip.js +2 -7
  1230. package/dist/files/FilesProvider.d.ts +12 -7
  1231. package/dist/files/FilesProvider.js +3 -12
  1232. package/dist/files/FilesTab.d.ts +27 -6
  1233. package/dist/files/FilesTab.js +11 -36
  1234. package/dist/files/MediaDiff.d.ts +10 -6
  1235. package/dist/files/MediaDiff.js +7 -14
  1236. package/dist/files/MediaView.d.ts +17 -8
  1237. package/dist/files/MediaView.js +3 -16
  1238. package/dist/files/ReviewDraft.d.ts +2 -5
  1239. package/dist/files/ReviewDraft.js +3 -4
  1240. package/dist/files/ReviewableDiff.d.ts +7 -5
  1241. package/dist/files/ReviewableDiff.js +6 -11
  1242. package/dist/files/SearchPanel.d.ts +3 -6
  1243. package/dist/files/SearchPanel.js +67 -78
  1244. package/dist/files/TreeColumn.d.ts +12 -8
  1245. package/dist/files/TreeColumn.js +7 -14
  1246. package/dist/files/code-excerpt.d.ts +25 -22
  1247. package/dist/files/code-excerpt.js +1 -8
  1248. package/dist/files/code-menu.d.ts +10 -7
  1249. package/dist/files/code-menu.js +1 -2
  1250. package/dist/files/diff-window.d.ts +31 -0
  1251. package/dist/files/diff-window.js +232 -0
  1252. package/dist/files/drafts-store.d.ts +26 -10
  1253. package/dist/files/drafts-store.js +1 -21
  1254. package/dist/files/file-actions.d.ts +14 -12
  1255. package/dist/files/file-actions.js +2 -2
  1256. package/dist/files/headless/editor-prefs.d.ts +22 -19
  1257. package/dist/files/headless/editor-prefs.js +1 -2
  1258. package/dist/files/headless/entries.d.ts +18 -15
  1259. package/dist/files/headless/entries.js +8 -7
  1260. package/dist/files/headless/fixture-host.d.ts +19 -14
  1261. package/dist/files/headless/fixture-host.js +1 -10
  1262. package/dist/files/headless/host.d.ts +84 -71
  1263. package/dist/files/headless/index.d.ts +3 -3
  1264. package/dist/files/headless/index.js +1 -1
  1265. package/dist/files/headless/labels.d.ts +9 -5
  1266. package/dist/files/headless/labels.js +9 -3
  1267. package/dist/files/headless/lsp-edits.d.ts +16 -9
  1268. package/dist/files/headless/lsp-edits.js +1 -2
  1269. package/dist/files/headless/media.d.ts +7 -6
  1270. package/dist/files/headless/media.js +1 -2
  1271. package/dist/files/headless/name-match.d.ts +6 -4
  1272. package/dist/files/headless/name-match.js +1 -2
  1273. package/dist/files/headless/preview.d.ts +41 -0
  1274. package/dist/files/headless/preview.js +102 -0
  1275. package/dist/files/headless/search.d.ts +6 -5
  1276. package/dist/files/headless/search.js +1 -2
  1277. package/dist/files/headless/view.d.ts +17 -15
  1278. package/dist/files/headless/view.js +1 -2
  1279. package/dist/files/headless/workspace-diff.d.ts +15 -12
  1280. package/dist/files/headless/workspace-diff.js +1 -2
  1281. package/dist/files/index.d.ts +3 -3
  1282. package/dist/files/index.js +2 -2
  1283. package/dist/files/lazy-tabs.d.ts +8 -5
  1284. package/dist/files/lazy-tabs.js +2 -9
  1285. package/dist/files/scroll-follow.d.ts +26 -0
  1286. package/dist/files/scroll-follow.js +75 -0
  1287. package/dist/files/session-patch.d.ts +5 -4
  1288. package/dist/files/session-patch.js +1 -2
  1289. package/dist/files/tab-hooks.d.ts +12 -10
  1290. package/dist/files/tab-hooks.js +1 -7
  1291. package/dist/files/testing/contract.d.ts +23 -13
  1292. package/dist/files/testing/contract.js +1 -15
  1293. package/dist/files/testing/demo.d.ts +5 -4
  1294. package/dist/files/testing/demo.js +2 -3
  1295. package/dist/files/testing/index.d.ts +5 -0
  1296. package/dist/files/useCodeReview.d.ts +21 -7
  1297. package/dist/files/useCodeReview.js +4 -22
  1298. package/dist/files/useDiagnostics.d.ts +9 -5
  1299. package/dist/files/useDiagnostics.js +1 -9
  1300. package/dist/files/useDiagnosticsRun.d.ts +14 -7
  1301. package/dist/files/useDiagnosticsRun.js +1 -12
  1302. package/dist/files/useEntryActions.d.ts +13 -8
  1303. package/dist/files/useEntryActions.js +3 -12
  1304. package/dist/files/useFilesDiagnostics.d.ts +4 -7
  1305. package/dist/files/useFilesDiagnostics.js +1 -8
  1306. package/dist/files/useFilesLabels.d.ts +5 -4
  1307. package/dist/files/useFilesLabels.js +1 -6
  1308. package/dist/files/useFolderChanges.d.ts +8 -5
  1309. package/dist/files/useFolderChanges.js +2 -9
  1310. package/dist/files/useLsp.d.ts +22 -11
  1311. package/dist/files/useLsp.js +2 -17
  1312. package/dist/files/useOpenFiles.d.ts +26 -9
  1313. package/dist/files/useOpenFiles.js +18 -22
  1314. package/dist/files/useWorkspace.d.ts +16 -8
  1315. package/dist/files/useWorkspace.js +2 -14
  1316. package/dist/files/working-tree-diff.d.ts +16 -5
  1317. package/dist/files/working-tree-diff.js +2 -17
  1318. package/dist/git/BranchMenu.d.ts +45 -6
  1319. package/dist/git/BranchMenu.js +215 -254
  1320. package/dist/git/GitBar.d.ts +27 -6
  1321. package/dist/git/GitBar.js +12 -34
  1322. package/dist/git/GitProvider.d.ts +13 -7
  1323. package/dist/git/GitProvider.js +2 -12
  1324. package/dist/git/ImportRepoDialog.d.ts +23 -7
  1325. package/dist/git/ImportRepoDialog.js +13 -33
  1326. package/dist/git/MoveSessionDialog.d.ts +25 -6
  1327. package/dist/git/MoveSessionDialog.js +12 -35
  1328. package/dist/git/RemoteFolderPicker.d.ts +23 -7
  1329. package/dist/git/RemoteFolderPicker.js +37 -56
  1330. package/dist/git/SyncChip.d.ts +19 -6
  1331. package/dist/git/SyncChip.js +8 -25
  1332. package/dist/git/WherePicker.d.ts +30 -7
  1333. package/dist/git/WherePicker.js +33 -47
  1334. package/dist/git/headless/environment.d.ts +25 -16
  1335. package/dist/git/headless/environment.js +1 -2
  1336. package/dist/git/headless/host.d.ts +68 -60
  1337. package/dist/git/headless/index.d.ts +4 -4
  1338. package/dist/git/headless/index.js +3 -3
  1339. package/dist/git/headless/labels.d.ts +13 -6
  1340. package/dist/git/headless/labels.js +5 -2
  1341. package/dist/git/headless/move.d.ts +11 -9
  1342. package/dist/git/headless/move.js +1 -2
  1343. package/dist/git/headless/remote-clone.d.ts +13 -5
  1344. package/dist/git/headless/remote-clone.js +1 -13
  1345. package/dist/git/headless/status-reads.d.ts +15 -6
  1346. package/dist/git/headless/status-reads.js +1 -2
  1347. package/dist/git/headless/switcher.d.ts +34 -23
  1348. package/dist/git/headless/switcher.js +13 -8
  1349. package/dist/git/headless/sync.d.ts +13 -8
  1350. package/dist/git/headless/sync.js +1 -2
  1351. package/dist/git/index.d.ts +2 -2
  1352. package/dist/git/index.js +6 -6
  1353. package/dist/git/testing/contract.d.ts +22 -12
  1354. package/dist/git/testing/contract.js +1 -2
  1355. package/dist/git/testing/index.d.ts +24 -20
  1356. package/dist/git/testing/index.js +36 -32
  1357. package/dist/git/testing/worst-case.d.ts +12 -0
  1358. package/dist/git/testing/worst-case.js +128 -0
  1359. package/dist/git/useEnvironmentChoices.d.ts +8 -4
  1360. package/dist/git/useEnvironmentChoices.js +2 -3
  1361. package/dist/git/useGitBar.d.ts +2 -5
  1362. package/dist/git/useGitBar.js +1 -20
  1363. package/dist/git/useStartFromPanel.d.ts +13 -6
  1364. package/dist/git/useStartFromPanel.js +3 -14
  1365. package/dist/hooks/keyed-store.d.ts +7 -10
  1366. package/dist/hooks/keyed-store.js +1 -2
  1367. package/dist/hooks/near-viewport-all.d.ts +1 -0
  1368. package/dist/hooks/near-viewport-all.js +10 -0
  1369. package/dist/hooks/useDisplayPath.d.ts +23 -9
  1370. package/dist/hooks/useDisplayPath.js +2 -20
  1371. package/dist/hooks/useHydrated.d.ts +1 -4
  1372. package/dist/hooks/useHydrated.js +1 -2
  1373. package/dist/hooks/useLongPress.d.ts +26 -0
  1374. package/dist/hooks/useLongPress.js +53 -0
  1375. package/dist/hooks/useMinuteTick.d.ts +1 -4
  1376. package/dist/hooks/useMinuteTick.js +1 -2
  1377. package/dist/hooks/useNearViewport.d.ts +14 -5
  1378. package/dist/hooks/useNearViewport.js +8 -18
  1379. package/dist/hooks/usePersistedState.d.ts +20 -8
  1380. package/dist/hooks/usePersistedState.js +4 -18
  1381. package/dist/hooks/useResizeDrag.d.ts +30 -12
  1382. package/dist/hooks/useResizeDrag.js +3 -25
  1383. package/dist/hooks/useTabDrag.d.ts +9 -6
  1384. package/dist/hooks/useTabDrag.js +1 -8
  1385. package/dist/index.d.ts +59 -30
  1386. package/dist/index.js +62 -46
  1387. package/dist/keybindings/KeyCommands.d.ts +16 -8
  1388. package/dist/keybindings/KeyCommands.js +3 -15
  1389. package/dist/keybindings/KeyHint.d.ts +10 -7
  1390. package/dist/keybindings/KeyHint.js +1 -2
  1391. package/dist/keybindings/KeybindingsProvider.d.ts +36 -10
  1392. package/dist/keybindings/KeybindingsProvider.js +6 -34
  1393. package/dist/keybindings/headless/catalog.d.ts +18 -9
  1394. package/dist/keybindings/headless/catalog.js +1 -2
  1395. package/dist/keybindings/headless/commands.d.ts +16 -11
  1396. package/dist/keybindings/headless/commands.js +1 -2
  1397. package/dist/keybindings/headless/fixture-host.d.ts +9 -9
  1398. package/dist/keybindings/headless/fixture-host.js +1 -2
  1399. package/dist/keybindings/headless/host.d.ts +22 -10
  1400. package/dist/keybindings/headless/index.d.ts +8 -1
  1401. package/dist/keybindings/headless/index.js +1 -1
  1402. package/dist/keybindings/headless/key-scope.d.ts +19 -9
  1403. package/dist/keybindings/headless/key-scope.js +1 -2
  1404. package/dist/keybindings/headless/labels.d.ts +2 -5
  1405. package/dist/keybindings/headless/labels.js +1 -2
  1406. package/dist/keybindings/headless/overrides.d.ts +12 -10
  1407. package/dist/keybindings/headless/overrides.js +4 -8
  1408. package/dist/keybindings/index.d.ts +10 -2
  1409. package/dist/keybindings/index.js +3 -3
  1410. package/dist/keybindings/load-once.d.ts +1 -4
  1411. package/dist/keybindings/load-once.js +1 -2
  1412. package/dist/keybindings/match.d.ts +4 -4
  1413. package/dist/keybindings/match.js +1 -5
  1414. package/dist/keybindings/press.d.ts +4 -7
  1415. package/dist/keybindings/press.js +1 -2
  1416. package/dist/keybindings/testing/contract.d.ts +24 -12
  1417. package/dist/keybindings/testing/contract.js +2 -17
  1418. package/dist/keybindings/testing/index.d.ts +5 -0
  1419. package/dist/keybindings/useHelpKey.d.ts +1 -4
  1420. package/dist/keybindings/useHelpKey.js +1 -2
  1421. package/dist/keybindings/useKeybindingsLabels.d.ts +5 -4
  1422. package/dist/keybindings/useKeybindingsLabels.js +1 -6
  1423. package/dist/labels.d.ts +120 -12
  1424. package/dist/labels.js +112 -14
  1425. package/dist/machines/AddMachineDialog.d.ts +20 -8
  1426. package/dist/machines/AddMachineDialog.js +20 -36
  1427. package/dist/machines/AddServerForm.d.ts +8 -5
  1428. package/dist/machines/AddServerForm.js +4 -11
  1429. package/dist/machines/Banners.d.ts +21 -15
  1430. package/dist/machines/Banners.js +2 -3
  1431. package/dist/machines/DaemonMenu.d.ts +12 -5
  1432. package/dist/machines/DaemonMenu.js +11 -22
  1433. package/dist/machines/HostCapabilities.d.ts +14 -9
  1434. package/dist/machines/HostCapabilities.js +8 -17
  1435. package/dist/machines/HostIcon.d.ts +22 -0
  1436. package/dist/machines/HostIcon.js +18 -0
  1437. package/dist/machines/HostSignIn.d.ts +10 -5
  1438. package/dist/machines/HostSignIn.js +3 -12
  1439. package/dist/machines/HostSyncPanel.d.ts +20 -7
  1440. package/dist/machines/HostSyncPanel.js +8 -25
  1441. package/dist/machines/HostsSection.d.ts +41 -5
  1442. package/dist/machines/HostsSection.js +70 -70
  1443. package/dist/machines/MachinesExplainer.d.ts +8 -5
  1444. package/dist/machines/MachinesExplainer.js +1 -2
  1445. package/dist/machines/MachinesProvider.d.ts +29 -19
  1446. package/dist/machines/MachinesProvider.js +6 -20
  1447. package/dist/machines/ServerAddedCard.d.ts +9 -6
  1448. package/dist/machines/ServerAddedCard.js +4 -5
  1449. package/dist/machines/ServerCard.d.ts +20 -13
  1450. package/dist/machines/ServerCard.js +18 -29
  1451. package/dist/machines/ServerMachinesPanel.d.ts +20 -5
  1452. package/dist/machines/ServerMachinesPanel.js +159 -213
  1453. package/dist/machines/ServerUpdatePanel.d.ts +13 -5
  1454. package/dist/machines/ServerUpdatePanel.js +95 -113
  1455. package/dist/machines/ShareThisComputerForm.d.ts +8 -5
  1456. package/dist/machines/ShareThisComputerForm.js +6 -13
  1457. package/dist/machines/SyncAccounts.d.ts +14 -6
  1458. package/dist/machines/SyncAccounts.js +3 -15
  1459. package/dist/machines/SyncMarker.d.ts +11 -6
  1460. package/dist/machines/SyncMarker.js +6 -15
  1461. package/dist/machines/SyncOutcomeBadge.d.ts +9 -5
  1462. package/dist/machines/SyncOutcomeBadge.js +2 -3
  1463. package/dist/machines/TokensPanel.d.ts +16 -5
  1464. package/dist/machines/TokensPanel.js +221 -129
  1465. package/dist/machines/headless/fixture-host.d.ts +20 -17
  1466. package/dist/machines/headless/fixture-host.js +12 -11
  1467. package/dist/machines/headless/fixtures.d.ts +15 -13
  1468. package/dist/machines/headless/fixtures.js +1 -2
  1469. package/dist/machines/headless/host.d.ts +95 -80
  1470. package/dist/machines/headless/host.js +1 -2
  1471. package/dist/machines/headless/index.d.ts +12 -5
  1472. package/dist/machines/headless/index.js +5 -4
  1473. package/dist/machines/headless/labels.d.ts +46 -11
  1474. package/dist/machines/headless/labels.js +34 -8
  1475. package/dist/machines/headless/messages.d.ts +17 -15
  1476. package/dist/machines/headless/messages.js +3 -9
  1477. package/dist/machines/headless/presence.d.ts +14 -8
  1478. package/dist/machines/headless/presence.js +1 -11
  1479. package/dist/machines/headless/settings-focus.d.ts +2 -5
  1480. package/dist/machines/headless/settings-focus.js +1 -2
  1481. package/dist/machines/headless/stores.d.ts +15 -12
  1482. package/dist/machines/headless/stores.js +1 -2
  1483. package/dist/machines/headless/sync.d.ts +21 -15
  1484. package/dist/machines/headless/sync.js +1 -10
  1485. package/dist/machines/headless/update-store.d.ts +33 -0
  1486. package/dist/machines/headless/update-store.js +77 -0
  1487. package/dist/machines/index.d.ts +8 -6
  1488. package/dist/machines/index.js +11 -9
  1489. package/dist/machines/server-update.d.ts +26 -0
  1490. package/dist/machines/server-update.js +99 -0
  1491. package/dist/machines/settings-section.d.ts +10 -5
  1492. package/dist/machines/settings-section.js +3 -4
  1493. package/dist/machines/testing/contract.d.ts +48 -33
  1494. package/dist/machines/testing/contract.js +10 -26
  1495. package/dist/machines/testing/index.d.ts +7 -1
  1496. package/dist/machines/testing/index.js +2 -1
  1497. package/dist/machines/testing/sync.contract.d.ts +27 -16
  1498. package/dist/machines/testing/sync.contract.js +1 -16
  1499. package/dist/machines/testing/worst-case.d.ts +9 -0
  1500. package/dist/machines/testing/worst-case.js +30 -0
  1501. package/dist/motion/SwapIcon.d.ts +2 -5
  1502. package/dist/motion/SwapIcon.js +1 -2
  1503. package/dist/motion/collapse.d.ts +1 -4
  1504. package/dist/motion/collapse.js +1 -2
  1505. package/dist/motion/flip-list.d.ts +116 -0
  1506. package/dist/motion/flip-list.js +576 -0
  1507. package/dist/motion/grow.d.ts +15 -12
  1508. package/dist/motion/grow.js +2 -8
  1509. package/dist/motion/layout-animating.d.ts +4 -7
  1510. package/dist/motion/layout-animating.js +1 -2
  1511. package/dist/motion/presence.d.ts +11 -14
  1512. package/dist/motion/presence.js +4 -5
  1513. package/dist/motion/provider.d.ts +19 -5
  1514. package/dist/motion/provider.js +14 -17
  1515. package/dist/motion/reduced.d.ts +3 -6
  1516. package/dist/motion/reduced.js +1 -2
  1517. package/dist/motion/roll.d.ts +10 -8
  1518. package/dist/motion/roll.js +3 -9
  1519. package/dist/motion/shimmer.d.ts +2 -5
  1520. package/dist/motion/shimmer.js +1 -2
  1521. package/dist/motion/size.d.ts +12 -9
  1522. package/dist/motion/size.js +12 -27
  1523. package/dist/motion/springs.d.ts +100 -31
  1524. package/dist/motion/springs.js +50 -65
  1525. package/dist/motion/swap.d.ts +22 -8
  1526. package/dist/motion/swap.js +2 -20
  1527. package/dist/motion/title-text.d.ts +16 -5
  1528. package/dist/motion/title-text.js +3 -18
  1529. package/dist/motion/use-flip-list.d.ts +66 -0
  1530. package/dist/motion/use-flip-list.js +74 -0
  1531. package/dist/onboarding/ConnectProviderCard.d.ts +10 -5
  1532. package/dist/onboarding/ConnectProviderCard.js +1 -2
  1533. package/dist/onboarding/OnboardingFlow.d.ts +12 -6
  1534. package/dist/onboarding/OnboardingFlow.js +8 -12
  1535. package/dist/onboarding/OnboardingProvider.d.ts +22 -14
  1536. package/dist/onboarding/OnboardingProvider.js +4 -16
  1537. package/dist/onboarding/OnboardingStepFrame.d.ts +9 -5
  1538. package/dist/onboarding/OnboardingStepFrame.js +1 -2
  1539. package/dist/onboarding/conversation.d.ts +12 -8
  1540. package/dist/onboarding/conversation.js +5 -13
  1541. package/dist/onboarding/demos/autonomy.d.ts +4 -7
  1542. package/dist/onboarding/demos/autonomy.js +1 -2
  1543. package/dist/onboarding/demos/delivery.d.ts +8 -5
  1544. package/dist/onboarding/demos/delivery.js +1 -2
  1545. package/dist/onboarding/demos/extensions.d.ts +12 -15
  1546. package/dist/onboarding/demos/extensions.js +4 -5
  1547. package/dist/onboarding/demos/features.d.ts +39 -38
  1548. package/dist/onboarding/demos/features.js +27 -23
  1549. package/dist/onboarding/demos/how-it-works.d.ts +26 -22
  1550. package/dist/onboarding/demos/how-it-works.js +4 -5
  1551. package/dist/onboarding/demos/index.d.ts +9 -4
  1552. package/dist/onboarding/demos/index.js +2 -2
  1553. package/dist/onboarding/demos/lazy.d.ts +18 -0
  1554. package/dist/onboarding/demos/lazy.js +29 -0
  1555. package/dist/onboarding/demos/parts.d.ts +16 -13
  1556. package/dist/onboarding/demos/parts.js +1 -2
  1557. package/dist/onboarding/demos/setting-demos.d.ts +8 -0
  1558. package/dist/onboarding/demos/setting-demos.js +4 -0
  1559. package/dist/onboarding/demos/setting-scenes.d.ts +30 -0
  1560. package/dist/onboarding/demos/setting-scenes.js +164 -0
  1561. package/dist/onboarding/demos/sidebar-layout.d.ts +17 -0
  1562. package/dist/onboarding/demos/sidebar-layout.js +22 -0
  1563. package/dist/onboarding/demos/tour.d.ts +20 -16
  1564. package/dist/onboarding/demos/tour.js +2 -10
  1565. package/dist/onboarding/headless/controller.d.ts +11 -6
  1566. package/dist/onboarding/headless/controller.js +1 -9
  1567. package/dist/onboarding/headless/fixture-host.d.ts +8 -5
  1568. package/dist/onboarding/headless/fixture-host.js +2 -3
  1569. package/dist/onboarding/headless/fixtures.d.ts +12 -8
  1570. package/dist/onboarding/headless/fixtures.js +14 -20
  1571. package/dist/onboarding/headless/host.d.ts +40 -31
  1572. package/dist/onboarding/headless/index.d.ts +1 -1
  1573. package/dist/onboarding/headless/labels.d.ts +97 -9
  1574. package/dist/onboarding/headless/labels.js +12 -10
  1575. package/dist/onboarding/index.d.ts +18 -9
  1576. package/dist/onboarding/index.js +14 -13
  1577. package/dist/onboarding/marks.d.ts +16 -10
  1578. package/dist/onboarding/marks.js +1 -11
  1579. package/dist/onboarding/preview-attachments.d.ts +8 -4
  1580. package/dist/onboarding/preview-attachments.js +1 -2
  1581. package/dist/onboarding/skills/SkillSourceBrowser.d.ts +13 -6
  1582. package/dist/onboarding/skills/SkillSourceBrowser.js +3 -14
  1583. package/dist/onboarding/skills/parts.d.ts +23 -18
  1584. package/dist/onboarding/skills/parts.js +3 -12
  1585. package/dist/onboarding/sources/SourceBrowser.d.ts +23 -8
  1586. package/dist/onboarding/sources/SourceBrowser.js +7 -25
  1587. package/dist/onboarding/steps/AutonomyStep.d.ts +2 -5
  1588. package/dist/onboarding/steps/AutonomyStep.js +15 -99
  1589. package/dist/onboarding/steps/ConnectStep.d.ts +2 -5
  1590. package/dist/onboarding/steps/ConnectStep.js +5 -11
  1591. package/dist/onboarding/steps/ConnectorsStep.d.ts +2 -5
  1592. package/dist/onboarding/steps/ConnectorsStep.js +5 -14
  1593. package/dist/onboarding/steps/ConversationStep.d.ts +2 -5
  1594. package/dist/onboarding/steps/ConversationStep.js +40 -102
  1595. package/dist/onboarding/steps/ExtensionsStep.d.ts +2 -5
  1596. package/dist/onboarding/steps/ExtensionsStep.js +4 -13
  1597. package/dist/onboarding/steps/FeaturesStep.d.ts +2 -5
  1598. package/dist/onboarding/steps/FeaturesStep.js +15 -46
  1599. package/dist/onboarding/steps/ImportStep.d.ts +2 -5
  1600. package/dist/onboarding/steps/ImportStep.js +5 -16
  1601. package/dist/onboarding/steps/LookStep.d.ts +2 -5
  1602. package/dist/onboarding/steps/LookStep.js +6 -16
  1603. package/dist/onboarding/steps/ReadyStep.d.ts +2 -5
  1604. package/dist/onboarding/steps/ReadyStep.js +13 -15
  1605. package/dist/onboarding/steps/SidebarStep.d.ts +11 -0
  1606. package/dist/onboarding/steps/SidebarStep.js +33 -0
  1607. package/dist/onboarding/steps/SkillsStep.d.ts +2 -5
  1608. package/dist/onboarding/steps/SkillsStep.js +2 -3
  1609. package/dist/onboarding/steps/StepSection.d.ts +10 -7
  1610. package/dist/onboarding/steps/StepSection.js +1 -2
  1611. package/dist/onboarding/steps/WelcomeStep.d.ts +2 -5
  1612. package/dist/onboarding/steps/WelcomeStep.js +3 -10
  1613. package/dist/onboarding/steps/connect/KeyForm.d.ts +7 -5
  1614. package/dist/onboarding/steps/connect/KeyForm.js +2 -8
  1615. package/dist/onboarding/steps/connect/ProviderPanel.d.ts +7 -5
  1616. package/dist/onboarding/steps/connect/ProviderPanel.js +5 -11
  1617. package/dist/onboarding/steps/connect/ProviderReady.d.ts +6 -5
  1618. package/dist/onboarding/steps/connect/ProviderReady.js +5 -10
  1619. package/dist/onboarding/steps/connect/ready-text.d.ts +2 -4
  1620. package/dist/onboarding/steps/connect/ready-text.js +1 -2
  1621. package/dist/onboarding/steps/index.d.ts +3 -1
  1622. package/dist/onboarding/steps/index.js +2 -1
  1623. package/dist/onboarding/steps/setting-cards.d.ts +72 -0
  1624. package/dist/onboarding/steps/setting-cards.js +114 -0
  1625. package/dist/onboarding/steps/tasks.d.ts +9 -7
  1626. package/dist/onboarding/steps/tasks.js +6 -7
  1627. package/dist/onboarding/testing/contract.d.ts +36 -18
  1628. package/dist/onboarding/testing/contract.js +31 -49
  1629. package/dist/onboarding/testing/index.d.ts +5 -0
  1630. package/dist/onboarding/testing/index.js +1 -1
  1631. package/dist/onboarding/tutorials.d.ts +9 -5
  1632. package/dist/onboarding/tutorials.js +2 -3
  1633. package/dist/onboarding/useSignIn.d.ts +7 -5
  1634. package/dist/onboarding/useSignIn.js +1 -7
  1635. package/dist/palette/CommandPalette.d.ts +10 -5
  1636. package/dist/palette/CommandPalette.js +12 -5
  1637. package/dist/palette/PaletteDialog.d.ts +19 -8
  1638. package/dist/palette/PaletteDialog.js +28 -6
  1639. package/dist/palette/PaletteProvider.d.ts +19 -12
  1640. package/dist/palette/PaletteProvider.js +2 -3
  1641. package/dist/palette/PaletteRows.d.ts +15 -9
  1642. package/dist/palette/PaletteRows.js +16 -13
  1643. package/dist/palette/app-sources.d.ts +12 -5
  1644. package/dist/palette/app-sources.js +4 -15
  1645. package/dist/palette/headless/app-sources.d.ts +30 -26
  1646. package/dist/palette/headless/app-sources.js +2 -5
  1647. package/dist/palette/headless/gather.d.ts +2 -5
  1648. package/dist/palette/headless/gather.js +1 -2
  1649. package/dist/palette/headless/host.d.ts +36 -29
  1650. package/dist/palette/headless/index.d.ts +6 -6
  1651. package/dist/palette/headless/index.js +6 -6
  1652. package/dist/palette/headless/labels.d.ts +4 -5
  1653. package/dist/palette/headless/labels.js +3 -2
  1654. package/dist/palette/headless/rank-protocol.d.ts +8 -6
  1655. package/dist/palette/headless/recents.d.ts +2 -5
  1656. package/dist/palette/headless/recents.js +1 -2
  1657. package/dist/palette/headless/session-sources.d.ts +33 -20
  1658. package/dist/palette/headless/session-sources.js +1 -2
  1659. package/dist/palette/headless/sources.d.ts +46 -18
  1660. package/dist/palette/headless/sources.js +42 -6
  1661. package/dist/palette/headless/store.d.ts +20 -12
  1662. package/dist/palette/headless/store.js +1 -2
  1663. package/dist/palette/index.d.ts +4 -4
  1664. package/dist/palette/index.js +5 -5
  1665. package/dist/palette/rank.worker.js +3 -4
  1666. package/dist/palette/setup.d.ts +4 -6
  1667. package/dist/palette/setup.js +1 -3
  1668. package/dist/palette/testing/contract.d.ts +19 -10
  1669. package/dist/palette/testing/contract.js +1 -2
  1670. package/dist/palette/testing/index.d.ts +15 -11
  1671. package/dist/palette/testing/index.js +3 -3
  1672. package/dist/palette/testing/worst-case.d.ts +9 -0
  1673. package/dist/palette/testing/worst-case.js +40 -0
  1674. package/dist/palette/useConversationSearch.d.ts +15 -9
  1675. package/dist/palette/useConversationSearch.js +2 -3
  1676. package/dist/palette/usePaletteController.d.ts +19 -6
  1677. package/dist/palette/usePaletteController.js +6 -9
  1678. package/dist/palette/useRankedItems.d.ts +12 -5
  1679. package/dist/palette/useRankedItems.js +1 -2
  1680. package/dist/path.d.ts +6 -9
  1681. package/dist/path.js +1 -2
  1682. package/dist/server/demo-tools.d.ts +7 -5
  1683. package/dist/server/demo-tools.js +1 -2
  1684. package/dist/server/environment.d.ts +14 -8
  1685. package/dist/server/environment.js +2 -12
  1686. package/dist/server/scripted-provider.d.ts +17 -9
  1687. package/dist/server/scripted-provider.js +3 -3
  1688. package/dist/server/sse-handler.d.ts +6 -8
  1689. package/dist/server/sse-handler.js +46 -56
  1690. package/dist/session/ArtifactRowChips.d.ts +22 -13
  1691. package/dist/session/ArtifactRowChips.js +28 -23
  1692. package/dist/session/ArtifactsPanel.d.ts +29 -7
  1693. package/dist/session/ArtifactsPanel.js +59 -44
  1694. package/dist/session/DiffFileTree.d.ts +16 -6
  1695. package/dist/session/DiffFileTree.js +160 -71
  1696. package/dist/session/PanelAttention.d.ts +7 -10
  1697. package/dist/session/PanelAttention.js +3 -24
  1698. package/dist/session/PlanTracker.d.ts +28 -9
  1699. package/dist/session/PlanTracker.js +15 -38
  1700. package/dist/session/ProjectHome.d.ts +40 -9
  1701. package/dist/session/ProjectHome.js +443 -202
  1702. package/dist/session/ProviderUsageProvider.d.ts +16 -7
  1703. package/dist/session/ProviderUsageProvider.js +4 -17
  1704. package/dist/session/QueueTab.d.ts +21 -7
  1705. package/dist/session/QueueTab.js +17 -35
  1706. package/dist/session/RemindersPanel.d.ts +25 -6
  1707. package/dist/session/RemindersPanel.js +56 -36
  1708. package/dist/session/RunningWorkDialog.d.ts +10 -5
  1709. package/dist/session/RunningWorkDialog.js +6 -14
  1710. package/dist/session/SecretsPanel.d.ts +14 -5
  1711. package/dist/session/SecretsPanel.js +9 -22
  1712. package/dist/session/SessionCacheFacts.d.ts +10 -6
  1713. package/dist/session/SessionCacheFacts.js +57 -66
  1714. package/dist/session/SessionDetailsDialog.d.ts +21 -9
  1715. package/dist/session/SessionDetailsDialog.js +52 -49
  1716. package/dist/session/SessionHeader.d.ts +25 -6
  1717. package/dist/session/SessionHeader.js +51 -16
  1718. package/dist/session/SessionProvider.d.ts +19 -14
  1719. package/dist/session/SessionProvider.js +3 -12
  1720. package/dist/session/SessionShell.d.ts +12 -8
  1721. package/dist/session/SessionShell.js +3 -11
  1722. package/dist/session/SideChat.d.ts +18 -5
  1723. package/dist/session/SideChat.js +8 -25
  1724. package/dist/session/StepStatusIcon.d.ts +12 -6
  1725. package/dist/session/StepStatusIcon.js +2 -12
  1726. package/dist/session/TodoList.d.ts +14 -11
  1727. package/dist/session/TodoList.js +2 -3
  1728. package/dist/session/TurnDetailsDialog.d.ts +11 -5
  1729. package/dist/session/TurnDetailsDialog.js +10 -20
  1730. package/dist/session/UsagePanel.d.ts +10 -5
  1731. package/dist/session/UsagePanel.js +18 -23
  1732. package/dist/session/WelcomeScreen.d.ts +20 -5
  1733. package/dist/session/WelcomeScreen.js +11 -10
  1734. package/dist/session/headless/artifacts.d.ts +15 -11
  1735. package/dist/session/headless/artifacts.js +1 -2
  1736. package/dist/session/headless/diff-tree.d.ts +8 -11
  1737. package/dist/session/headless/diff-tree.js +1 -2
  1738. package/dist/session/headless/fixture-host.d.ts +23 -18
  1739. package/dist/session/headless/fixture-host.js +8 -9
  1740. package/dist/session/headless/fixture-plans.d.ts +21 -16
  1741. package/dist/session/headless/fixture-plans.js +1 -2
  1742. package/dist/session/headless/fixture-schedules.d.ts +23 -18
  1743. package/dist/session/headless/fixture-schedules.js +1 -10
  1744. package/dist/session/headless/home-layout.d.ts +101 -21
  1745. package/dist/session/headless/home-layout.js +187 -12
  1746. package/dist/session/headless/host.d.ts +95 -85
  1747. package/dist/session/headless/index.d.ts +12 -12
  1748. package/dist/session/headless/index.js +10 -10
  1749. package/dist/session/headless/keyed.d.ts +12 -10
  1750. package/dist/session/headless/keyed.js +1 -2
  1751. package/dist/session/headless/labels.d.ts +30 -9
  1752. package/dist/session/headless/labels.js +42 -14
  1753. package/dist/session/headless/plans.d.ts +22 -14
  1754. package/dist/session/headless/plans.js +1 -2
  1755. package/dist/session/headless/queue-attachments.d.ts +9 -7
  1756. package/dist/session/headless/queue-attachments.js +1 -2
  1757. package/dist/session/headless/queue.d.ts +21 -16
  1758. package/dist/session/headless/queue.js +1 -2
  1759. package/dist/session/headless/reminder-labels.d.ts +7 -4
  1760. package/dist/session/headless/reminder-labels.js +2 -3
  1761. package/dist/session/headless/running-work.d.ts +15 -10
  1762. package/dist/session/headless/running-work.js +1 -2
  1763. package/dist/session/headless/schedules.d.ts +31 -22
  1764. package/dist/session/headless/schedules.js +1 -14
  1765. package/dist/session/headless/secrets.d.ts +13 -10
  1766. package/dist/session/headless/secrets.js +1 -2
  1767. package/dist/session/headless/session-actions.d.ts +37 -27
  1768. package/dist/session/headless/session-actions.js +2 -3
  1769. package/dist/session/headless/session-diffs.d.ts +13 -9
  1770. package/dist/session/headless/session-diffs.js +21 -24
  1771. package/dist/session/headless/side.d.ts +8 -11
  1772. package/dist/session/headless/side.js +2 -3
  1773. package/dist/session/headless/usage-format.d.ts +7 -4
  1774. package/dist/session/headless/usage-format.js +1 -2
  1775. package/dist/session/headless/usage.d.ts +43 -31
  1776. package/dist/session/headless/usage.js +3 -4
  1777. package/dist/session/index.d.ts +7 -6
  1778. package/dist/session/index.js +9 -8
  1779. package/dist/session/modal-shell.d.ts +7 -5
  1780. package/dist/session/modal-shell.js +11 -10
  1781. package/dist/session/testing/contract.d.ts +42 -17
  1782. package/dist/session/testing/contract.js +28 -53
  1783. package/dist/session/testing/demo.d.ts +13 -11
  1784. package/dist/session/testing/demo.js +16 -15
  1785. package/dist/session/testing/index.d.ts +7 -1
  1786. package/dist/session/testing/index.js +4 -3
  1787. package/dist/session/testing/worst-case.d.ts +33 -0
  1788. package/dist/session/testing/worst-case.js +29 -0
  1789. package/dist/session/useSessionActionError.d.ts +9 -0
  1790. package/dist/session/useSessionActionError.js +13 -0
  1791. package/dist/session/useSessionLabels.d.ts +5 -4
  1792. package/dist/session/useSessionLabels.js +1 -6
  1793. package/dist/session/useUsageSummary.d.ts +2 -5
  1794. package/dist/session/useUsageSummary.js +2 -11
  1795. package/dist/settings/ConversationPresetsCard.d.ts +55 -0
  1796. package/dist/settings/ConversationPresetsCard.js +84 -0
  1797. package/dist/settings/SettingCard.d.ts +147 -0
  1798. package/dist/settings/SettingCard.js +148 -0
  1799. package/dist/settings/SettingDemo.d.ts +28 -0
  1800. package/dist/settings/SettingDemo.js +114 -0
  1801. package/dist/settings/SettingsFooter.d.ts +55 -0
  1802. package/dist/settings/SettingsFooter.js +88 -0
  1803. package/dist/settings/SettingsHeadingText.d.ts +10 -5
  1804. package/dist/settings/SettingsHeadingText.js +2 -11
  1805. package/dist/settings/SettingsHostSwitcher.d.ts +16 -5
  1806. package/dist/settings/SettingsHostSwitcher.js +72 -6
  1807. package/dist/settings/SettingsNav.d.ts +14 -6
  1808. package/dist/settings/SettingsNav.js +8 -16
  1809. package/dist/settings/SettingsProvider.d.ts +25 -13
  1810. package/dist/settings/SettingsProvider.js +3 -19
  1811. package/dist/settings/SettingsRestricted.d.ts +11 -6
  1812. package/dist/settings/SettingsRestricted.js +4 -13
  1813. package/dist/settings/SettingsRowsPage.d.ts +52 -10
  1814. package/dist/settings/SettingsRowsPage.js +315 -76
  1815. package/dist/settings/SettingsSectionBoundary.d.ts +31 -0
  1816. package/dist/settings/SettingsSectionBoundary.js +58 -0
  1817. package/dist/settings/SettingsShell.d.ts +42 -8
  1818. package/dist/settings/SettingsShell.js +158 -61
  1819. package/dist/settings/SettingsTutorial.d.ts +15 -5
  1820. package/dist/settings/SettingsTutorial.js +28 -9
  1821. package/dist/settings/SidebarPreviewPane.d.ts +16 -0
  1822. package/dist/settings/SidebarPreviewPane.js +30 -0
  1823. package/dist/settings/ViewsMcpAllowedRow.d.ts +16 -0
  1824. package/dist/settings/ViewsMcpAllowedRow.js +47 -0
  1825. package/dist/settings/headless/app-update.d.ts +24 -0
  1826. package/dist/settings/headless/app-update.js +0 -0
  1827. package/dist/settings/headless/cards.d.ts +41 -0
  1828. package/dist/settings/headless/cards.js +68 -0
  1829. package/dist/settings/headless/catalog.d.ts +9 -40
  1830. package/dist/settings/headless/catalog.js +3 -738
  1831. package/dist/settings/headless/claude-import.d.ts +8 -11
  1832. package/dist/settings/headless/enabled.d.ts +3 -6
  1833. package/dist/settings/headless/enabled.js +1 -2
  1834. package/dist/settings/headless/fixture-accounts.d.ts +9 -12
  1835. package/dist/settings/headless/fixture-accounts.js +9 -2
  1836. package/dist/settings/headless/fixture-host.d.ts +20 -14
  1837. package/dist/settings/headless/fixture-host.js +6 -3
  1838. package/dist/settings/headless/fixture-models.d.ts +8 -6
  1839. package/dist/settings/headless/fixture-models.js +9 -8
  1840. package/dist/settings/headless/fixture-performance.d.ts +18 -13
  1841. package/dist/settings/headless/fixture-performance.js +7 -6
  1842. package/dist/settings/headless/fixture-sections.d.ts +30 -16
  1843. package/dist/settings/headless/fixture-sections.js +79 -2
  1844. package/dist/settings/headless/host.d.ts +48 -16
  1845. package/dist/settings/headless/host.js +1 -2
  1846. package/dist/settings/headless/index.d.ts +16 -13
  1847. package/dist/settings/headless/index.js +12 -10
  1848. package/dist/settings/headless/labels.d.ts +71 -5
  1849. package/dist/settings/headless/labels.js +65 -3
  1850. package/dist/settings/headless/layout-sections.d.ts +11 -10
  1851. package/dist/settings/headless/layout-sections.js +4 -4
  1852. package/dist/settings/headless/layout.d.ts +94 -49
  1853. package/dist/settings/headless/layout.js +125 -713
  1854. package/dist/settings/headless/mcp.d.ts +43 -29
  1855. package/dist/settings/headless/mcp.js +2 -2
  1856. package/dist/settings/headless/models.d.ts +14 -11
  1857. package/dist/settings/headless/page-counts.d.ts +13 -9
  1858. package/dist/settings/headless/page-counts.js +8 -13
  1859. package/dist/settings/headless/performance.d.ts +75 -48
  1860. package/dist/settings/headless/performance.js +81 -44
  1861. package/dist/settings/headless/providers.d.ts +28 -20
  1862. package/dist/settings/headless/providers.js +1 -2
  1863. package/dist/settings/headless/registry.d.ts +8 -6
  1864. package/dist/settings/headless/resource.d.ts +9 -6
  1865. package/dist/settings/headless/resource.js +1 -8
  1866. package/dist/settings/headless/search.d.ts +98 -14
  1867. package/dist/settings/headless/search.js +129 -30
  1868. package/dist/settings/headless/sections-host.d.ts +102 -71
  1869. package/dist/settings/headless/skill-groups.d.ts +74 -0
  1870. package/dist/settings/headless/skill-groups.js +71 -0
  1871. package/dist/settings/index.d.ts +36 -30
  1872. package/dist/settings/index.js +27 -21
  1873. package/dist/settings/rows.d.ts +39 -20
  1874. package/dist/settings/rows.js +73 -17
  1875. package/dist/settings/scope.d.ts +36 -0
  1876. package/dist/settings/scope.js +44 -0
  1877. package/dist/settings/section.d.ts +20 -16
  1878. package/dist/settings/section.js +5 -13
  1879. package/dist/settings/sections/appearance/AppearanceSection.d.ts +15 -6
  1880. package/dist/settings/sections/appearance/AppearanceSection.js +78 -75
  1881. package/dist/settings/sections/appearance/labels.d.ts +4 -5
  1882. package/dist/settings/sections/appearance/labels.js +3 -2
  1883. package/dist/settings/sections/claude-import/ClaudeImportDialog.d.ts +16 -6
  1884. package/dist/settings/sections/claude-import/ClaudeImportDialog.js +6 -20
  1885. package/dist/settings/sections/claude-import/labels.d.ts +2 -5
  1886. package/dist/settings/sections/claude-import/labels.js +1 -2
  1887. package/dist/settings/sections/claude-import/use-claude-import-available.d.ts +1 -4
  1888. package/dist/settings/sections/claude-import/use-claude-import-available.js +1 -8
  1889. package/dist/settings/sections/descriptors.d.ts +20 -23
  1890. package/dist/settings/sections/descriptors.js +7 -8
  1891. package/dist/settings/sections/editor/EditorSection.d.ts +13 -9
  1892. package/dist/settings/sections/editor/EditorSection.js +7 -15
  1893. package/dist/settings/sections/editor/labels.d.ts +2 -5
  1894. package/dist/settings/sections/editor/labels.js +1 -2
  1895. package/dist/settings/sections/enabled-list/EnabledListSection.d.ts +10 -6
  1896. package/dist/settings/sections/enabled-list/EnabledListSection.js +4 -12
  1897. package/dist/settings/sections/enabled-list/labels.d.ts +8 -5
  1898. package/dist/settings/sections/enabled-list/labels.js +1 -2
  1899. package/dist/settings/sections/environments/EnvironmentsSection.d.ts +19 -6
  1900. package/dist/settings/sections/environments/EnvironmentsSection.js +18 -35
  1901. package/dist/settings/sections/environments/labels.d.ts +2 -5
  1902. package/dist/settings/sections/environments/labels.js +1 -2
  1903. package/dist/settings/sections/extensions/ChangeOriginDialog.d.ts +15 -8
  1904. package/dist/settings/sections/extensions/ChangeOriginDialog.js +5 -16
  1905. package/dist/settings/sections/extensions/CreateExtensionDialog.d.ts +11 -6
  1906. package/dist/settings/sections/extensions/CreateExtensionDialog.js +4 -13
  1907. package/dist/settings/sections/extensions/ExtensionConfigRows.d.ts +25 -12
  1908. package/dist/settings/sections/extensions/ExtensionConfigRows.js +8 -25
  1909. package/dist/settings/sections/extensions/ExtensionOptionsSection.d.ts +19 -6
  1910. package/dist/settings/sections/extensions/ExtensionOptionsSection.js +6 -23
  1911. package/dist/settings/sections/extensions/ExtensionPicksBar.d.ts +11 -8
  1912. package/dist/settings/sections/extensions/ExtensionPicksBar.js +4 -11
  1913. package/dist/settings/sections/extensions/ExtensionSourceBrowser.d.ts +14 -7
  1914. package/dist/settings/sections/extensions/ExtensionSourceBrowser.js +15 -22
  1915. package/dist/settings/sections/extensions/ExtensionsSection.d.ts +33 -8
  1916. package/dist/settings/sections/extensions/ExtensionsSection.js +32 -56
  1917. package/dist/settings/sections/extensions/create-labels.d.ts +2 -5
  1918. package/dist/settings/sections/extensions/create-labels.js +1 -2
  1919. package/dist/settings/sections/extensions/labels.d.ts +2 -5
  1920. package/dist/settings/sections/extensions/labels.js +1 -2
  1921. package/dist/settings/sections/extensions/options-labels.d.ts +7 -5
  1922. package/dist/settings/sections/extensions/options-labels.js +1 -2
  1923. package/dist/settings/sections/host-catalog/HostCatalogSection.d.ts +27 -7
  1924. package/dist/settings/sections/host-catalog/HostCatalogSection.js +41 -56
  1925. package/dist/settings/sections/host-catalog/labels.d.ts +7 -5
  1926. package/dist/settings/sections/host-catalog/labels.js +1 -2
  1927. package/dist/settings/sections/index.d.ts +47 -38
  1928. package/dist/settings/sections/index.js +40 -40
  1929. package/dist/settings/sections/instructions/InstructionsSection.d.ts +19 -6
  1930. package/dist/settings/sections/instructions/InstructionsSection.js +20 -33
  1931. package/dist/settings/sections/instructions/labels.d.ts +2 -5
  1932. package/dist/settings/sections/instructions/labels.js +1 -2
  1933. package/dist/settings/sections/keybindings/KeybindingsSection.d.ts +14 -6
  1934. package/dist/settings/sections/keybindings/KeybindingsSection.js +6 -18
  1935. package/dist/settings/sections/keybindings/labels.d.ts +3 -6
  1936. package/dist/settings/sections/keybindings/labels.js +1 -2
  1937. package/dist/settings/sections/keybindings/rows.d.ts +10 -7
  1938. package/dist/settings/sections/keybindings/rows.js +1 -2
  1939. package/dist/settings/sections/logs/LogsSection.d.ts +13 -6
  1940. package/dist/settings/sections/logs/LogsSection.js +5 -16
  1941. package/dist/settings/sections/logs/labels.d.ts +2 -5
  1942. package/dist/settings/sections/logs/labels.js +1 -2
  1943. package/dist/settings/sections/mcp/McpAddForm.d.ts +11 -6
  1944. package/dist/settings/sections/mcp/McpAddForm.js +55 -38
  1945. package/dist/settings/sections/mcp/McpSection.d.ts +17 -6
  1946. package/dist/settings/sections/mcp/McpSection.js +56 -25
  1947. package/dist/settings/sections/mcp/McpServerRow.d.ts +14 -5
  1948. package/dist/settings/sections/mcp/McpServerRow.js +111 -27
  1949. package/dist/settings/sections/mcp/labels.d.ts +46 -6
  1950. package/dist/settings/sections/mcp/labels.js +37 -9
  1951. package/dist/settings/sections/models/AgentDefaults.d.ts +18 -8
  1952. package/dist/settings/sections/models/AgentDefaults.js +9 -23
  1953. package/dist/settings/sections/models/ModelListPicker.d.ts +4 -7
  1954. package/dist/settings/sections/models/ModelListPicker.js +11 -19
  1955. package/dist/settings/sections/models/ModelPickField.d.ts +15 -6
  1956. package/dist/settings/sections/models/ModelPickField.js +8 -21
  1957. package/dist/settings/sections/models/ModelRows.d.ts +35 -14
  1958. package/dist/settings/sections/models/ModelRows.js +52 -21
  1959. package/dist/settings/sections/models/NewChatPlaceRow.d.ts +15 -10
  1960. package/dist/settings/sections/models/NewChatPlaceRow.js +17 -48
  1961. package/dist/settings/sections/models/SpacesDefaultsSection.d.ts +13 -7
  1962. package/dist/settings/sections/models/SpacesDefaultsSection.js +31 -21
  1963. package/dist/settings/sections/models/labels.d.ts +7 -7
  1964. package/dist/settings/sections/models/labels.js +6 -4
  1965. package/dist/settings/sections/models/model-test.d.ts +13 -10
  1966. package/dist/settings/sections/models/model-test.js +5 -12
  1967. package/dist/settings/sections/performance/PerfSparkline.d.ts +6 -5
  1968. package/dist/settings/sections/performance/PerfSparkline.js +4 -8
  1969. package/dist/settings/sections/performance/PerformanceHud.d.ts +8 -5
  1970. package/dist/settings/sections/performance/PerformanceHud.js +8 -9
  1971. package/dist/settings/sections/performance/PerformanceSection.d.ts +17 -6
  1972. package/dist/settings/sections/performance/PerformanceSection.js +76 -84
  1973. package/dist/settings/sections/performance/labels.d.ts +7 -5
  1974. package/dist/settings/sections/performance/labels.js +6 -5
  1975. package/dist/settings/sections/performance/use-perf-monitor.d.ts +12 -5
  1976. package/dist/settings/sections/performance/use-perf-monitor.js +9 -9
  1977. package/dist/settings/sections/plugins/PluginsSection.d.ts +17 -7
  1978. package/dist/settings/sections/plugins/PluginsSection.js +9 -22
  1979. package/dist/settings/sections/plugins/labels.d.ts +2 -5
  1980. package/dist/settings/sections/plugins/labels.js +1 -2
  1981. package/dist/settings/sections/providers/CredentialSources.d.ts +15 -7
  1982. package/dist/settings/sections/providers/CredentialSources.js +92 -91
  1983. package/dist/settings/sections/providers/ProvidersSection.d.ts +15 -7
  1984. package/dist/settings/sections/providers/ProvidersSection.js +56 -58
  1985. package/dist/settings/sections/providers/ServerProvidersSection.d.ts +11 -5
  1986. package/dist/settings/sections/providers/ServerProvidersSection.js +26 -26
  1987. package/dist/settings/sections/providers/ServerSignIn.d.ts +14 -5
  1988. package/dist/settings/sections/providers/ServerSignIn.js +5 -18
  1989. package/dist/settings/sections/providers/label-collisions.d.ts +14 -0
  1990. package/dist/settings/sections/providers/label-collisions.js +23 -0
  1991. package/dist/settings/sections/providers/labels.d.ts +9 -5
  1992. package/dist/settings/sections/providers/labels.js +2 -10
  1993. package/dist/settings/sections/shared/catalog.d.ts +21 -19
  1994. package/dist/settings/sections/shared/catalog.js +11 -17
  1995. package/dist/settings/sections/shared/filter.d.ts +53 -0
  1996. package/dist/settings/sections/shared/filter.js +105 -0
  1997. package/dist/settings/sections/shared/labels.d.ts +7 -5
  1998. package/dist/settings/sections/shared/labels.js +1 -2
  1999. package/dist/settings/sections/skills/SkillGroups.d.ts +30 -0
  2000. package/dist/settings/sections/skills/SkillGroups.js +520 -0
  2001. package/dist/settings/sections/skills/SkillList.d.ts +47 -7
  2002. package/dist/settings/sections/skills/SkillList.js +97 -127
  2003. package/dist/settings/sections/skills/SkillsSection.d.ts +17 -5
  2004. package/dist/settings/sections/skills/SkillsSection.js +21 -24
  2005. package/dist/settings/sections/skills/labels.d.ts +44 -5
  2006. package/dist/settings/sections/skills/labels.js +44 -3
  2007. package/dist/settings/sections/use-section-labels.d.ts +1 -4
  2008. package/dist/settings/sections/use-section-labels.js +1 -2
  2009. package/dist/settings/server-app.d.ts +52 -0
  2010. package/dist/settings/server-app.js +146 -0
  2011. package/dist/settings/testing/accounts-demo.d.ts +12 -7
  2012. package/dist/settings/testing/accounts-demo.js +4 -2
  2013. package/dist/settings/testing/accounts.contract.d.ts +14 -17
  2014. package/dist/settings/testing/accounts.contract.js +18 -23
  2015. package/dist/settings/testing/claude-import.contract.d.ts +14 -9
  2016. package/dist/settings/testing/claude-import.contract.js +1 -10
  2017. package/dist/settings/testing/contract.d.ts +33 -17
  2018. package/dist/settings/testing/contract.js +8 -8
  2019. package/dist/settings/testing/extension-options.contract.d.ts +19 -11
  2020. package/dist/settings/testing/extension-options.contract.js +1 -2
  2021. package/dist/settings/testing/index.d.ts +2 -2
  2022. package/dist/settings/testing/index.js +2 -2
  2023. package/dist/settings/testing/models.contract.d.ts +19 -10
  2024. package/dist/settings/testing/models.contract.js +1 -14
  2025. package/dist/settings/testing/performance.contract.d.ts +28 -16
  2026. package/dist/settings/testing/performance.contract.js +1 -17
  2027. package/dist/settings/testing/sections.contract.d.ts +30 -18
  2028. package/dist/settings/testing/sections.contract.js +13 -12
  2029. package/dist/settings/testing/skill-groups.contract.d.ts +45 -0
  2030. package/dist/settings/testing/skill-groups.contract.js +94 -0
  2031. package/dist/settings/use-panel-search.d.ts +15 -0
  2032. package/dist/settings/use-panel-search.js +96 -0
  2033. package/dist/styles.css +2228 -416
  2034. package/dist/terminal/HostTerminalSurface.d.ts +2 -5
  2035. package/dist/terminal/HostTerminalSurface.js +22 -20
  2036. package/dist/terminal/TerminalDrawer.d.ts +7 -10
  2037. package/dist/terminal/TerminalDrawer.js +8 -16
  2038. package/dist/terminal/TerminalPanel.d.ts +26 -6
  2039. package/dist/terminal/TerminalPanel.js +46 -64
  2040. package/dist/terminal/TerminalProvider.d.ts +56 -30
  2041. package/dist/terminal/TerminalProvider.js +16 -27
  2042. package/dist/terminal/TerminalSurface.d.ts +5 -6
  2043. package/dist/terminal/TerminalSurface.js +7 -7
  2044. package/dist/terminal/assets.d.ts +16 -0
  2045. package/dist/terminal/assets.js +13 -0
  2046. package/dist/terminal/box-glyphs.d.ts +3 -6
  2047. package/dist/terminal/box-glyphs.js +1 -2
  2048. package/dist/terminal/fonts/LICENSE +21 -0
  2049. package/dist/terminal/fonts/SymbolsNerdFontMono-Regular.woff2 +0 -0
  2050. package/dist/terminal/ghostty.d.ts +8 -8
  2051. package/dist/terminal/ghostty.js +26 -6
  2052. package/dist/terminal/grid-size.d.ts +4 -7
  2053. package/dist/terminal/grid-size.js +1 -2
  2054. package/dist/terminal/headless/fixture-host.d.ts +17 -15
  2055. package/dist/terminal/headless/fixture-host.js +2 -3
  2056. package/dist/terminal/headless/host.d.ts +41 -28
  2057. package/dist/terminal/headless/index.d.ts +8 -2
  2058. package/dist/terminal/headless/index.js +2 -2
  2059. package/dist/terminal/headless/labels.d.ts +6 -5
  2060. package/dist/terminal/headless/labels.js +7 -4
  2061. package/dist/terminal/headless/layout.d.ts +14 -11
  2062. package/dist/terminal/headless/layout.js +1 -8
  2063. package/dist/terminal/headless/links.d.ts +8 -11
  2064. package/dist/terminal/headless/links.js +1 -2
  2065. package/dist/terminal/headless/order.d.ts +3 -6
  2066. package/dist/terminal/headless/order.js +1 -2
  2067. package/dist/terminal/headless/output-cursor.d.ts +8 -15
  2068. package/dist/terminal/headless/output-cursor.js +1 -2
  2069. package/dist/terminal/headless/recent.d.ts +2 -5
  2070. package/dist/terminal/headless/recent.js +1 -2
  2071. package/dist/terminal/headless/replay.d.ts +2 -5
  2072. package/dist/terminal/headless/replay.js +1 -2
  2073. package/dist/terminal/headless/scope.d.ts +4 -7
  2074. package/dist/terminal/headless/scope.js +1 -2
  2075. package/dist/terminal/headless/store.d.ts +38 -15
  2076. package/dist/terminal/headless/store.js +2 -3
  2077. package/dist/terminal/index.d.ts +16 -5
  2078. package/dist/terminal/index.js +5 -5
  2079. package/dist/terminal/keys.d.ts +1 -4
  2080. package/dist/terminal/keys.js +1 -2
  2081. package/dist/terminal/testing/contract.d.ts +28 -15
  2082. package/dist/terminal/testing/contract.js +20 -35
  2083. package/dist/terminal/testing/demo.d.ts +7 -6
  2084. package/dist/terminal/testing/demo.js +1 -6
  2085. package/dist/terminal/testing/index.d.ts +5 -0
  2086. package/dist/terminal/theme.d.ts +9 -6
  2087. package/dist/terminal/theme.js +1 -8
  2088. package/dist/terminal/useTerminalLabels.d.ts +5 -4
  2089. package/dist/terminal/useTerminalLabels.js +1 -6
  2090. package/dist/theme/accents.d.ts +3 -6
  2091. package/dist/theme/accents.js +1 -2
  2092. package/dist/theme/color.d.ts +19 -22
  2093. package/dist/theme/color.js +5 -6
  2094. package/dist/theme/css-vars.d.ts +38 -7
  2095. package/dist/theme/css-vars.js +1 -2
  2096. package/dist/theme/derive.d.ts +15 -17
  2097. package/dist/theme/derive.js +6 -6
  2098. package/dist/theme/from-theme.d.ts +11 -5
  2099. package/dist/theme/from-theme.js +1 -2
  2100. package/dist/theme/runtime-icons.d.ts +3 -6
  2101. package/dist/theme/runtime-icons.js +1 -2
  2102. package/dist/theme/stylesheet.d.ts +10 -7
  2103. package/dist/theme/stylesheet.js +1 -8
  2104. package/dist/theme/themes.d.ts +10 -13
  2105. package/dist/theme/themes.js +10 -11
  2106. package/dist/theme/without-transitions.d.ts +1 -4
  2107. package/dist/theme/without-transitions.js +1 -2
  2108. package/dist/uno.d.ts +2 -5
  2109. package/dist/uno.js +47 -10
  2110. package/dist/url-imports.d.ts +6 -0
  2111. package/dist/views/BoolMark.d.ts +12 -0
  2112. package/dist/views/BoolMark.js +27 -0
  2113. package/dist/views/PinnedSavedView.d.ts +31 -0
  2114. package/dist/views/PinnedSavedView.js +220 -0
  2115. package/dist/views/SavedViewArtifact.d.ts +39 -0
  2116. package/dist/views/SavedViewArtifact.js +373 -0
  2117. package/dist/views/SavedViewTitle.d.ts +26 -0
  2118. package/dist/views/SavedViewTitle.js +104 -0
  2119. package/dist/views/SvgImage.d.ts +16 -0
  2120. package/dist/views/SvgImage.js +61 -0
  2121. package/dist/views/TranscriptViews.d.ts +34 -0
  2122. package/dist/views/TranscriptViews.js +74 -0
  2123. package/dist/views/ViewAutoRefresh.d.ts +28 -0
  2124. package/dist/views/ViewAutoRefresh.js +74 -0
  2125. package/dist/views/ViewBlock.d.ts +69 -0
  2126. package/dist/views/ViewBlock.js +796 -0
  2127. package/dist/views/ViewCharts.d.ts +22 -0
  2128. package/dist/views/ViewCharts.js +326 -0
  2129. package/dist/views/ViewControls.d.ts +46 -0
  2130. package/dist/views/ViewControls.js +199 -0
  2131. package/dist/views/ViewCustom.d.ts +68 -0
  2132. package/dist/views/ViewCustom.js +360 -0
  2133. package/dist/views/ViewExpanded.d.ts +34 -0
  2134. package/dist/views/ViewExpanded.js +120 -0
  2135. package/dist/views/ViewExtension.d.ts +31 -0
  2136. package/dist/views/ViewExtension.js +111 -0
  2137. package/dist/views/ViewInputs.d.ts +21 -0
  2138. package/dist/views/ViewInputs.js +586 -0
  2139. package/dist/views/ViewMcpApp.d.ts +51 -0
  2140. package/dist/views/ViewMcpApp.js +548 -0
  2141. package/dist/views/ViewNodes.d.ts +135 -0
  2142. package/dist/views/ViewNodes.js +1173 -0
  2143. package/dist/views/ViewPreviewPage.d.ts +54 -0
  2144. package/dist/views/ViewPreviewPage.js +219 -0
  2145. package/dist/views/ViewSessionAction.d.ts +71 -0
  2146. package/dist/views/ViewSessionAction.js +498 -0
  2147. package/dist/views/ViewSources.d.ts +82 -0
  2148. package/dist/views/ViewSources.js +435 -0
  2149. package/dist/views/ViewTables.d.ts +18 -0
  2150. package/dist/views/ViewTables.js +372 -0
  2151. package/dist/views/ViewsProvider.d.ts +34 -0
  2152. package/dist/views/ViewsProvider.js +44 -0
  2153. package/dist/views/badge-tone.d.ts +17 -0
  2154. package/dist/views/badge-tone.js +99 -0
  2155. package/dist/views/expanded.d.ts +4 -0
  2156. package/dist/views/expanded.js +13 -0
  2157. package/dist/views/fit.d.ts +31 -0
  2158. package/dist/views/fit.js +52 -0
  2159. package/dist/views/format.d.ts +23 -0
  2160. package/dist/views/format.js +38 -0
  2161. package/dist/views/headless/answers.d.ts +58 -0
  2162. package/dist/views/headless/answers.js +87 -0
  2163. package/dist/views/headless/capture.d.ts +62 -0
  2164. package/dist/views/headless/capture.js +286 -0
  2165. package/dist/views/headless/copy-image.d.ts +18 -0
  2166. package/dist/views/headless/copy-image.js +18 -0
  2167. package/dist/views/headless/custom-slots.d.ts +32 -0
  2168. package/dist/views/headless/custom-slots.js +58 -0
  2169. package/dist/views/headless/download.d.ts +14 -0
  2170. package/dist/views/headless/download.js +25 -0
  2171. package/dist/views/headless/frame-name.d.ts +14 -0
  2172. package/dist/views/headless/frame-name.js +23 -0
  2173. package/dist/views/headless/host.d.ts +296 -0
  2174. package/dist/views/headless/host.js +0 -0
  2175. package/dist/views/headless/index.d.ts +15 -0
  2176. package/dist/views/headless/index.js +13 -0
  2177. package/dist/views/headless/labels.d.ts +308 -0
  2178. package/dist/views/headless/labels.js +328 -0
  2179. package/dist/views/headless/live.d.ts +15 -0
  2180. package/dist/views/headless/live.js +43 -0
  2181. package/dist/views/headless/lru.d.ts +28 -0
  2182. package/dist/views/headless/lru.js +61 -0
  2183. package/dist/views/headless/mcp-app-bridge.d.ts +149 -0
  2184. package/dist/views/headless/mcp-app-bridge.js +309 -0
  2185. package/dist/views/headless/placement.d.ts +125 -0
  2186. package/dist/views/headless/placement.js +249 -0
  2187. package/dist/views/headless/records.d.ts +66 -0
  2188. package/dist/views/headless/records.js +155 -0
  2189. package/dist/views/headless/refs.d.ts +12 -0
  2190. package/dist/views/headless/refs.js +14 -0
  2191. package/dist/views/headless/safe.d.ts +32 -0
  2192. package/dist/views/headless/safe.js +57 -0
  2193. package/dist/views/headless/session-links.d.ts +27 -0
  2194. package/dist/views/headless/session-links.js +98 -0
  2195. package/dist/views/headless/store.d.ts +100 -0
  2196. package/dist/views/headless/store.js +261 -0
  2197. package/dist/views/headless/streaming.d.ts +48 -0
  2198. package/dist/views/headless/streaming.js +170 -0
  2199. package/dist/views/headless/view-state.d.ts +24 -0
  2200. package/dist/views/headless/view-state.js +44 -0
  2201. package/dist/views/index.d.ts +3 -0
  2202. package/dist/views/index.js +3 -0
  2203. package/dist/views/input-preview.d.ts +10 -0
  2204. package/dist/views/input-preview.js +16 -0
  2205. package/dist/views/preview-style.d.ts +24 -0
  2206. package/dist/views/preview-style.js +261 -0
  2207. package/dist/views/preview.d.ts +8 -0
  2208. package/dist/views/preview.js +1 -0
  2209. package/dist/views/session-nav.d.ts +40 -0
  2210. package/dist/views/session-nav.js +26 -0
  2211. package/dist/views/session-part.d.ts +6 -0
  2212. package/dist/views/session-part.js +12 -0
  2213. package/dist/views/testing/contract.d.ts +78 -0
  2214. package/dist/views/testing/contract.js +406 -0
  2215. package/dist/views/testing/fixture-host.d.ts +31 -0
  2216. package/dist/views/testing/fixture-host.js +92 -0
  2217. package/dist/views/testing/index.d.ts +8 -0
  2218. package/dist/views/testing/index.js +3 -0
  2219. package/dist/views/testing/saved-memory.d.ts +28 -0
  2220. package/dist/views/testing/saved-memory.js +84 -0
  2221. package/dist/views/theme-watch.d.ts +29 -0
  2222. package/dist/views/theme-watch.js +80 -0
  2223. package/dist/views/trusted.d.ts +14 -0
  2224. package/dist/views/trusted.js +16 -0
  2225. package/dist/views/use-view-copy.d.ts +43 -0
  2226. package/dist/views/use-view-copy.js +104 -0
  2227. package/dist/views/use-view-pin.d.ts +61 -0
  2228. package/dist/views/use-view-pin.js +170 -0
  2229. package/dist/views/use-view-ref.d.ts +12 -0
  2230. package/dist/views/use-view-ref.js +8 -0
  2231. package/dist/views/use-view-save.d.ts +27 -0
  2232. package/dist/views/use-view-save.js +147 -0
  2233. package/dist/views/view-chrome.d.ts +25 -0
  2234. package/dist/views/view-chrome.js +20 -0
  2235. package/dist/views/viewport.d.ts +34 -0
  2236. package/dist/views/viewport.js +80 -0
  2237. package/dist/workspace/LayoutBudget.d.ts +22 -9
  2238. package/dist/workspace/LayoutBudget.js +2 -19
  2239. package/dist/workspace/PanelContentView.d.ts +38 -10
  2240. package/dist/workspace/PanelContentView.js +47 -15
  2241. package/dist/workspace/PanelCorner.d.ts +15 -6
  2242. package/dist/workspace/PanelCorner.js +3 -3
  2243. package/dist/workspace/PanelGlyph.d.ts +7 -5
  2244. package/dist/workspace/PanelGlyph.js +1 -7
  2245. package/dist/workspace/PanelGroups.d.ts +4 -7
  2246. package/dist/workspace/PanelGroups.js +18 -27
  2247. package/dist/workspace/PanelHome.d.ts +9 -5
  2248. package/dist/workspace/PanelHome.js +5 -12
  2249. package/dist/workspace/PanelItems.d.ts +20 -11
  2250. package/dist/workspace/PanelItems.js +10 -10
  2251. package/dist/workspace/PanelStrip.d.ts +7 -10
  2252. package/dist/workspace/PanelStrip.js +13 -29
  2253. package/dist/workspace/PanelToolbar.d.ts +40 -6
  2254. package/dist/workspace/PanelToolbar.js +85 -16
  2255. package/dist/workspace/SidePanel.d.ts +24 -5
  2256. package/dist/workspace/SidePanel.js +11 -32
  2257. package/dist/workspace/TabParking.d.ts +23 -12
  2258. package/dist/workspace/TabParking.js +12 -26
  2259. package/dist/workspace/WorkspaceProvider.d.ts +68 -36
  2260. package/dist/workspace/WorkspaceProvider.js +16 -34
  2261. package/dist/workspace/dnd/engine.d.ts +19 -14
  2262. package/dist/workspace/dnd/engine.js +20 -21
  2263. package/dist/workspace/dnd/hooks.d.ts +4 -6
  2264. package/dist/workspace/dnd/hooks.js +1 -3
  2265. package/dist/workspace/dnd/index.d.ts +31 -0
  2266. package/dist/workspace/dnd/parking.d.ts +27 -18
  2267. package/dist/workspace/dnd/parking.js +4 -23
  2268. package/dist/workspace/extension-tabs.d.ts +22 -6
  2269. package/dist/workspace/extension-tabs.js +5 -24
  2270. package/dist/workspace/frame-motion.d.ts +17 -6
  2271. package/dist/workspace/frame-motion.js +10 -21
  2272. package/dist/workspace/headless/contents.d.ts +23 -18
  2273. package/dist/workspace/headless/contents.js +1 -2
  2274. package/dist/workspace/headless/host.d.ts +34 -23
  2275. package/dist/workspace/headless/index.d.ts +10 -10
  2276. package/dist/workspace/headless/index.js +9 -9
  2277. package/dist/workspace/headless/labels.d.ts +2 -5
  2278. package/dist/workspace/headless/labels.js +1 -2
  2279. package/dist/workspace/headless/layout-memory.d.ts +70 -28
  2280. package/dist/workspace/headless/layout-memory.js +15 -55
  2281. package/dist/workspace/headless/layouts.d.ts +18 -14
  2282. package/dist/workspace/headless/layouts.js +3 -4
  2283. package/dist/workspace/headless/open-target.d.ts +21 -10
  2284. package/dist/workspace/headless/open-target.js +1 -16
  2285. package/dist/workspace/headless/ops.d.ts +17 -20
  2286. package/dist/workspace/headless/ops.js +2 -3
  2287. package/dist/workspace/headless/pages.d.ts +5 -5
  2288. package/dist/workspace/headless/pages.js +1 -2
  2289. package/dist/workspace/headless/panel-focus.d.ts +15 -10
  2290. package/dist/workspace/headless/panel-focus.js +1 -2
  2291. package/dist/workspace/headless/panel-tree.d.ts +26 -18
  2292. package/dist/workspace/headless/panel-tree.js +1 -13
  2293. package/dist/workspace/headless/resolve.d.ts +11 -14
  2294. package/dist/workspace/headless/resolve.js +1 -2
  2295. package/dist/workspace/headless/reveal-at.d.ts +3 -6
  2296. package/dist/workspace/headless/reveal-at.js +1 -2
  2297. package/dist/workspace/headless/strip-drop.d.ts +16 -12
  2298. package/dist/workspace/headless/strip-drop.js +1 -9
  2299. package/dist/workspace/headless/tab-mark.d.ts +6 -5
  2300. package/dist/workspace/headless/tab-mark.js +1 -6
  2301. package/dist/workspace/headless/tree.d.ts +34 -37
  2302. package/dist/workspace/headless/tree.js +2 -3
  2303. package/dist/workspace/headless/view.d.ts +21 -19
  2304. package/dist/workspace/headless/view.js +7 -8
  2305. package/dist/workspace/index.d.ts +8 -8
  2306. package/dist/workspace/index.js +7 -7
  2307. package/dist/workspace/panel-group-keys.d.ts +7 -4
  2308. package/dist/workspace/panel-group-keys.js +1 -8
  2309. package/dist/workspace/panel-view-item.d.ts +14 -0
  2310. package/dist/workspace/panel-view-item.js +13 -0
  2311. package/dist/workspace/panel-visibility.d.ts +3 -6
  2312. package/dist/workspace/panel-visibility.js +1 -2
  2313. package/dist/workspace/tab-scopes.d.ts +37 -15
  2314. package/dist/workspace/tab-scopes.js +1 -27
  2315. package/dist/workspace/testing/contract.d.ts +27 -14
  2316. package/dist/workspace/testing/contract.js +2 -3
  2317. package/dist/workspace/testing/index.d.ts +17 -15
  2318. package/dist/workspace/testing/index.js +2 -3
  2319. package/dist/workspace/use-split-drag.d.ts +13 -7
  2320. package/dist/workspace/use-split-drag.js +1 -11
  2321. package/dist/workspace/useScopeLayout.d.ts +5 -4
  2322. package/dist/workspace/useScopeLayout.js +1 -6
  2323. package/dist/workspace/useViewport.d.ts +1 -4
  2324. package/dist/workspace/useViewport.js +1 -2
  2325. package/dist/workspace/useWorkspaceLabels.d.ts +5 -4
  2326. package/dist/workspace/useWorkspaceLabels.js +1 -6
  2327. package/dist/workspace/workspace-key-commands.d.ts +19 -7
  2328. package/dist/workspace/workspace-key-commands.js +2 -18
  2329. package/package.json +75 -30
  2330. package/src/styles/app.css +88 -0
  2331. package/src/styles/base.css +73 -0
  2332. package/src/styles/chat.css +162 -40
  2333. package/src/styles/components.css +611 -51
  2334. package/src/styles/composer.css +44 -15
  2335. package/src/styles/editor.css +1 -1
  2336. package/src/styles/files.css +15 -0
  2337. package/src/styles/fonts.css +9 -0
  2338. package/src/styles/git.css +10 -3
  2339. package/src/styles/index.css +2 -1
  2340. package/src/styles/motion.css +34 -3
  2341. package/src/styles/onboarding.css +26 -19
  2342. package/src/styles/palette.css +18 -6
  2343. package/src/styles/primitives.css +179 -20
  2344. package/src/styles/rich-composer.css +89 -41
  2345. package/src/styles/session.css +1 -18
  2346. package/src/styles/settings.css +75 -22
  2347. package/src/styles/sidebar.css +262 -9
  2348. package/src/styles/tokens.css +59 -8
  2349. package/src/styles/transcript.css +242 -45
  2350. package/src/styles/workspace.css +16 -2
  2351. package/dist/_virtual/_rolldown/runtime.js +0 -13
  2352. package/dist/app/NoticeStack.d.ts +0 -33
  2353. package/dist/app/NoticeStack.js +0 -90
  2354. package/dist/dist/index-f-XWIoYo.d.ts +0 -1
  2355. package/dist/dist/oauth-callback-page-DMxIgurj.d.ts +0 -1
  2356. package/dist/dist/sandbox-B4OW6oNx.d.ts +0 -2
  2357. package/dist/onboarding/steps/FeatureExample.d.ts +0 -19
  2358. package/dist/onboarding/steps/FeatureExample.js +0 -26
  2359. package/dist/onboarding/steps/Tradeoff.d.ts +0 -21
  2360. package/dist/onboarding/steps/Tradeoff.js +0 -44
  2361. /package/dist/dist/{types-2HrgolQz.d.ts → types-_Dtoq_No.d.ts} +0 -0
@@ -1,21 +1,23 @@
1
1
  import { AddMachineDialog, AddMachineDialogProps, AddMachineTab, OpenAddMachine, useAddMachine } from "./AddMachineDialog.js";
2
2
  import { AddServerForm, AddServerFormProps } from "./AddServerForm.js";
3
3
  import { ComposerNotice, ComposerNoticeProps, DraftPlaceNotice, DraftPlaceNoticeProps, HostRemovedBanner, HostRemovedBannerProps, MachineWaitingBanner, MachineWaitingBannerProps, ServerOfflineBanner, ServerOfflineBannerProps } from "./Banners.js";
4
- import { MachinesConfirm, MachinesProvider, MachinesProviderProps, useLentServers, useMachinesBridge, useMachinesConfirm, useMachinesHost, useMachinesLabels, useOnlineMachines, usePermitted, usePresenceMap, useServerMachines, useSessionPresence } from "./MachinesProvider.js";
5
4
  import { DaemonMenu, DaemonMenuProps } from "./DaemonMenu.js";
6
5
  import { CapabilitiesView, CapabilitiesViewProps, CapabilityTags, CapabilityTagsProps, HostCapabilitiesState, useHostCapabilities } from "./HostCapabilities.js";
6
+ import { HOST_CARD_ICON_CLASS, HostIcon, HostIconProps } from "./HostIcon.js";
7
7
  import { HostSignIn, HostSignInProps } from "./HostSignIn.js";
8
+ import { HostsSection, HostsSectionProps, ServerDetail, ServerDetailProps } from "./HostsSection.js";
8
9
  import { HostSyncPanel, HostSyncPanelProps, useHostSync } from "./HostSyncPanel.js";
9
- import { NewChatsServer, ServerAddedCard, ServerAddedCardProps } from "./ServerAddedCard.js";
10
- import { HostsSection, HostsSectionProps } from "./HostsSection.js";
11
10
  import { MachinesExplainer, MachinesExplainerProps } from "./MachinesExplainer.js";
12
- import { CopyText, CopyTextProps, HOST_CARD_ICON_CLASS, HOST_NAME_MAX, HOST_TOKEN_MAX, HOST_URL_MAX, ServerCard, ServerCardProps, escapeCancels } from "./ServerCard.js";
11
+ import { MachinesConfirm, MachinesProvider, MachinesProviderProps, useLentServers, useMachinesBridge, useMachinesConfirm, useMachinesHost, useMachinesLabels, useOnlineMachines, usePermitted, usePresenceMap, useServerMachines, useSessionPresence } from "./MachinesProvider.js";
12
+ import { useServerAppUpdate, useServerUpdate } from "./server-update.js";
13
+ import { NewChatsServer, ServerAddedCard, ServerAddedCardProps } from "./ServerAddedCard.js";
14
+ import { CopyText, CopyTextProps, HOST_NAME_MAX, HOST_TOKEN_MAX, HOST_URL_MAX, ServerCard, ServerCardProps, escapeCancels } from "./ServerCard.js";
13
15
  import { ServerMachinesPanel, ServerMachinesPanelProps } from "./ServerMachinesPanel.js";
14
16
  import { ServerUpdatePanel, ServerUpdatePanelProps } from "./ServerUpdatePanel.js";
17
+ import { hostsSettingsSection } from "./settings-section.js";
15
18
  import { ShareThisComputerForm, ShareThisComputerFormProps } from "./ShareThisComputerForm.js";
16
19
  import { SyncAccounts, SyncAccountsProps } from "./SyncAccounts.js";
17
20
  import { SyncMarker, SyncMarkerProps, useServerSyncStatus } from "./SyncMarker.js";
18
21
  import { SyncOutcomeBadge, SyncOutcomeBadgeProps } from "./SyncOutcomeBadge.js";
19
22
  import { TokensPanel, TokensPanelProps } from "./TokensPanel.js";
20
- import { hostsSettingsSection } from "./settings-section.js";
21
- export { AddMachineDialog, AddMachineDialogProps, AddMachineTab, AddServerForm, AddServerFormProps, CapabilitiesView, CapabilitiesViewProps, CapabilityTags, CapabilityTagsProps, ComposerNotice, ComposerNoticeProps, CopyText, CopyTextProps, DaemonMenu, DaemonMenuProps, DraftPlaceNotice, DraftPlaceNoticeProps, HOST_CARD_ICON_CLASS, HOST_NAME_MAX, HOST_TOKEN_MAX, HOST_URL_MAX, HostCapabilitiesState, HostRemovedBanner, HostRemovedBannerProps, HostSignIn, HostSignInProps, HostSyncPanel, HostSyncPanelProps, HostsSection, HostsSectionProps, MachineWaitingBanner, MachineWaitingBannerProps, MachinesConfirm, MachinesExplainer, MachinesExplainerProps, MachinesProvider, MachinesProviderProps, NewChatsServer, OpenAddMachine, ServerAddedCard, ServerAddedCardProps, ServerCard, ServerCardProps, ServerMachinesPanel, ServerMachinesPanelProps, ServerOfflineBanner, ServerOfflineBannerProps, ServerUpdatePanel, ServerUpdatePanelProps, ShareThisComputerForm, ShareThisComputerFormProps, SyncAccounts, SyncAccountsProps, SyncMarker, SyncMarkerProps, SyncOutcomeBadge, SyncOutcomeBadgeProps, TokensPanel, TokensPanelProps, escapeCancels, hostsSettingsSection, useAddMachine, useHostCapabilities, useHostSync, useLentServers, useMachinesBridge, useMachinesConfirm, useMachinesHost, useMachinesLabels, useOnlineMachines, usePermitted, usePresenceMap, useServerMachines, useServerSyncStatus, useSessionPresence };
23
+ export { AddMachineDialog, AddMachineDialogProps, AddMachineTab, AddServerForm, AddServerFormProps, CapabilitiesView, CapabilitiesViewProps, CapabilityTags, CapabilityTagsProps, ComposerNotice, ComposerNoticeProps, CopyText, CopyTextProps, DaemonMenu, DaemonMenuProps, DraftPlaceNotice, DraftPlaceNoticeProps, HOST_CARD_ICON_CLASS, HOST_NAME_MAX, HOST_TOKEN_MAX, HOST_URL_MAX, HostCapabilitiesState, HostIcon, type HostIconProps, HostRemovedBanner, HostRemovedBannerProps, HostSignIn, HostSignInProps, HostSyncPanel, HostSyncPanelProps, HostsSection, HostsSectionProps, MachineWaitingBanner, MachineWaitingBannerProps, MachinesConfirm, MachinesExplainer, MachinesExplainerProps, MachinesProvider, MachinesProviderProps, NewChatsServer, OpenAddMachine, ServerAddedCard, ServerAddedCardProps, ServerCard, ServerCardProps, ServerDetail, ServerDetailProps, ServerMachinesPanel, ServerMachinesPanelProps, ServerOfflineBanner, ServerOfflineBannerProps, ServerUpdatePanel, ServerUpdatePanelProps, ShareThisComputerForm, ShareThisComputerFormProps, SyncAccounts, SyncAccountsProps, SyncMarker, SyncMarkerProps, SyncOutcomeBadge, SyncOutcomeBadgeProps, TokensPanel, TokensPanelProps, escapeCancels, hostsSettingsSection, useAddMachine, useHostCapabilities, useHostSync, useLentServers, useMachinesBridge, useMachinesConfirm, useMachinesHost, useMachinesLabels, useOnlineMachines, usePermitted, usePresenceMap, useServerAppUpdate, useServerMachines, useServerSyncStatus, useServerUpdate, useSessionPresence };
@@ -1,21 +1,23 @@
1
- import { MachinesProvider, useLentServers, useMachinesBridge, useMachinesConfirm, useMachinesHost, useMachinesLabels, useOnlineMachines, usePermitted, usePresenceMap, useServerMachines, useSessionPresence } from "./MachinesProvider.js";
2
- import { ShareThisComputerForm } from "./ShareThisComputerForm.js";
3
1
  import { AddMachineDialog, useAddMachine } from "./AddMachineDialog.js";
4
- import { CopyText, HOST_CARD_ICON_CLASS, HOST_NAME_MAX, HOST_TOKEN_MAX, HOST_URL_MAX, ServerCard, escapeCancels } from "./ServerCard.js";
5
2
  import { AddServerForm } from "./AddServerForm.js";
6
3
  import { ComposerNotice, DraftPlaceNotice, HostRemovedBanner, MachineWaitingBanner, ServerOfflineBanner } from "./Banners.js";
7
4
  import { DaemonMenu } from "./DaemonMenu.js";
8
5
  import { CapabilitiesView, CapabilityTags, useHostCapabilities } from "./HostCapabilities.js";
6
+ import { HOST_CARD_ICON_CLASS, HostIcon } from "./HostIcon.js";
9
7
  import { HostSignIn } from "./HostSignIn.js";
10
- import { SyncAccounts } from "./SyncAccounts.js";
11
- import { SyncOutcomeBadge } from "./SyncOutcomeBadge.js";
8
+ import { HostsSection, ServerDetail } from "./HostsSection.js";
12
9
  import { HostSyncPanel, useHostSync } from "./HostSyncPanel.js";
13
10
  import { MachinesExplainer } from "./MachinesExplainer.js";
11
+ import { MachinesProvider, useLentServers, useMachinesBridge, useMachinesConfirm, useMachinesHost, useMachinesLabels, useOnlineMachines, usePermitted, usePresenceMap, useServerMachines, useSessionPresence } from "./MachinesProvider.js";
12
+ import { useServerAppUpdate, useServerUpdate } from "./server-update.js";
14
13
  import { ServerAddedCard } from "./ServerAddedCard.js";
14
+ import { CopyText, HOST_NAME_MAX, HOST_TOKEN_MAX, HOST_URL_MAX, ServerCard, escapeCancels } from "./ServerCard.js";
15
15
  import { ServerMachinesPanel } from "./ServerMachinesPanel.js";
16
16
  import { ServerUpdatePanel } from "./ServerUpdatePanel.js";
17
- import { TokensPanel } from "./TokensPanel.js";
18
- import { HostsSection } from "./HostsSection.js";
19
- import { SyncMarker, useServerSyncStatus } from "./SyncMarker.js";
20
17
  import { hostsSettingsSection } from "./settings-section.js";
21
- export { AddMachineDialog, AddServerForm, CapabilitiesView, CapabilityTags, ComposerNotice, CopyText, DaemonMenu, DraftPlaceNotice, HOST_CARD_ICON_CLASS, HOST_NAME_MAX, HOST_TOKEN_MAX, HOST_URL_MAX, HostRemovedBanner, HostSignIn, HostSyncPanel, HostsSection, MachineWaitingBanner, MachinesExplainer, MachinesProvider, ServerAddedCard, ServerCard, ServerMachinesPanel, ServerOfflineBanner, ServerUpdatePanel, ShareThisComputerForm, SyncAccounts, SyncMarker, SyncOutcomeBadge, TokensPanel, escapeCancels, hostsSettingsSection, useAddMachine, useHostCapabilities, useHostSync, useLentServers, useMachinesBridge, useMachinesConfirm, useMachinesHost, useMachinesLabels, useOnlineMachines, usePermitted, usePresenceMap, useServerMachines, useServerSyncStatus, useSessionPresence };
18
+ import { ShareThisComputerForm } from "./ShareThisComputerForm.js";
19
+ import { SyncAccounts } from "./SyncAccounts.js";
20
+ import { SyncMarker, useServerSyncStatus } from "./SyncMarker.js";
21
+ import { SyncOutcomeBadge } from "./SyncOutcomeBadge.js";
22
+ import { TokensPanel } from "./TokensPanel.js";
23
+ export { AddMachineDialog, AddServerForm, CapabilitiesView, CapabilityTags, ComposerNotice, CopyText, DaemonMenu, DraftPlaceNotice, HOST_CARD_ICON_CLASS, HOST_NAME_MAX, HOST_TOKEN_MAX, HOST_URL_MAX, HostIcon, HostRemovedBanner, HostSignIn, HostSyncPanel, HostsSection, MachineWaitingBanner, MachinesExplainer, MachinesProvider, ServerAddedCard, ServerCard, ServerDetail, ServerMachinesPanel, ServerOfflineBanner, ServerUpdatePanel, ShareThisComputerForm, SyncAccounts, SyncMarker, SyncOutcomeBadge, TokensPanel, escapeCancels, hostsSettingsSection, useAddMachine, useHostCapabilities, useHostSync, useLentServers, useMachinesBridge, useMachinesConfirm, useMachinesHost, useMachinesLabels, useOnlineMachines, usePermitted, usePresenceMap, useServerAppUpdate, useServerMachines, useServerSyncStatus, useServerUpdate, useSessionPresence };
@@ -0,0 +1,26 @@
1
+ /**
2
+ * A server's self-update in React: `useServerUpdate` reads the shared store
3
+ * (`serverUpdateStore`) that the server page's Updates section shows, and
4
+ * `useServerAppUpdate` words it for the foot of Settings in an app that
5
+ * server serves (the web app): the version it runs and the update's button.
6
+ */
7
+ import { AppUpdate } from "../settings/headless/app-update.js";
8
+ import { HostSummary } from "./headless/host.js";
9
+ import { ServerUpdateState, ServerUpdateStore } from "./headless/update-store.js";
10
+ import { MachinesConfirm } from "./MachinesProvider.js";
11
+ /**
12
+ * The shared update status of `host`, and its store (`null` without the host's `updates` or the `update.status` permission).
13
+ *
14
+ * @param host - The server, or nothing.
15
+ */
16
+ export declare function useServerUpdate(host: HostSummary | undefined): ServerUpdateState & {
17
+ store: ServerUpdateStore | null;
18
+ };
19
+ /**
20
+ * The server's pending update as the foot of Settings shows it, or `null` when there is nothing to do (up to date,
21
+ * no self-update, or this connection may not manage it).
22
+ *
23
+ * @param host - The server.
24
+ * @param confirm - Asks before an install (it restarts the server). Default: the provider's confirm.
25
+ */
26
+ export declare function useServerAppUpdate(host: HostSummary | undefined, confirm?: MachinesConfirm): AppUpdate | null;
@@ -0,0 +1,99 @@
1
+ import { useReadable } from "../chat/headless/store.js";
2
+ import { UPDATE_BUSY_STATES } from "./headless/messages.js";
3
+ import { serverUpdateStore } from "./headless/update-store.js";
4
+ import { useMachinesConfirm, useMachinesHost, useMachinesLabels, usePermitted } from "./MachinesProvider.js";
5
+ import { useMemo } from "react";
6
+ // src/machines/server-update.ts
7
+ const NONE = {
8
+ status: void 0,
9
+ error: null
10
+ };
11
+ const NO_STORE = {
12
+ get: () => NONE,
13
+ subscribe: () => () => void 0
14
+ };
15
+ /**
16
+ * The shared update status of `host`, and its store (`null` without the host's `updates` or the `update.status` permission).
17
+ *
18
+ * @param host - The server, or nothing.
19
+ */
20
+ function useServerUpdate(host) {
21
+ const updates = useMachinesHost().updates;
22
+ const readable = usePermitted("update.status");
23
+ const store = useMemo(() => updates && readable && host ? serverUpdateStore(updates, host.id) : null, [
24
+ updates,
25
+ readable,
26
+ host
27
+ ]);
28
+ return {
29
+ ...useReadable(store ?? NO_STORE),
30
+ store
31
+ };
32
+ }
33
+ const label = (version) => `v${version.replace(/^v/, "")}`;
34
+ /**
35
+ * The server's pending update as the foot of Settings shows it, or `null` when there is nothing to do (up to date,
36
+ * no self-update, or this connection may not manage it).
37
+ *
38
+ * @param host - The server.
39
+ * @param confirm - Asks before an install (it restarts the server). Default: the provider's confirm.
40
+ */
41
+ function useServerAppUpdate(host, confirm) {
42
+ const { status, store } = useServerUpdate(host);
43
+ const { install, check } = useMachinesHost().updates ?? {};
44
+ const manage = usePermitted("update.manage");
45
+ const labels = useMachinesLabels();
46
+ const providerConfirm = useMachinesConfirm();
47
+ const ask = confirm ?? providerConfirm;
48
+ return useMemo(() => {
49
+ if (!host || !store || !manage || !status?.supported || !status.latest || status.latest === status.current) return null;
50
+ const version = label(status.latest);
51
+ if (status.state === "error") {
52
+ if (!check) return null;
53
+ return {
54
+ kind: "failed",
55
+ label: version,
56
+ title: labels.machinesFooterUpdateTitle("failed", version, host.name, status.error),
57
+ run: () => void store.run(() => check(host.id))
58
+ };
59
+ }
60
+ if (UPDATE_BUSY_STATES.has(status.state) && status.state !== "waiting") return {
61
+ kind: "updating",
62
+ label: version,
63
+ title: labels.machinesFooterUpdateTitle("updating", version, host.name),
64
+ run: () => void 0
65
+ };
66
+ const ready = status.state === "ready" || status.state === "waiting";
67
+ const action = ready ? install : check;
68
+ if (!action) return null;
69
+ return {
70
+ kind: "available",
71
+ label: version,
72
+ title: labels.machinesFooterUpdateTitle("available", version, host.name),
73
+ run: () => {
74
+ if (!ready) {
75
+ store.run(() => action(host.id));
76
+ return;
77
+ }
78
+ ask({
79
+ title: labels.machinesUpdateInstallTitle(status.latest),
80
+ message: labels.machinesUpdateInstallMessage,
81
+ confirmLabel: labels.machinesUpdateInstall,
82
+ destructive: true
83
+ }).then((ok) => {
84
+ if (ok) store.run(() => action(host.id));
85
+ });
86
+ }
87
+ };
88
+ }, [
89
+ host,
90
+ store,
91
+ manage,
92
+ status,
93
+ install,
94
+ check,
95
+ labels,
96
+ ask
97
+ ]);
98
+ }
99
+ export { useServerAppUpdate, useServerUpdate };
@@ -1,13 +1,18 @@
1
+ /**
2
+ * The Hosts page as a `SettingsSection` for the settings shell: its title,
3
+ * icon, nav group, description and search entries from zidane's settings
4
+ * layout (`SETTINGS_PAGES`), its body `HostsSection` over the nearest
5
+ * `MachinesProvider`.
6
+ *
7
+ * <SettingsShell sections={[...kitSections, hostsSettingsSection({ confirm })]} />
8
+ */
1
9
  import { SettingsSection } from "../settings/headless/registry.js";
2
- import { HostsSectionProps } from "./HostsSection.js";
3
10
  import { PreferenceSectionOverrides } from "../settings/sections/descriptors.js";
4
- //#region src/machines/settings-section.d.ts
11
+ import { HostsSectionProps } from "./HostsSection.js";
5
12
  /**
6
13
  * The Hosts section, over the nearest `MachinesProvider`.
7
14
  *
8
15
  * @param props - What {@link HostsSection} takes (`confirm`, `now`).
9
16
  * @param overrides - The title, description or group, instead of the layout's.
10
17
  */
11
- declare function hostsSettingsSection(props?: HostsSectionProps, overrides?: PreferenceSectionOverrides): SettingsSection;
12
- //#endregion
13
- export { hostsSettingsSection };
18
+ export declare function hostsSettingsSection(props?: HostsSectionProps, overrides?: PreferenceSectionOverrides): SettingsSection;
@@ -1,7 +1,7 @@
1
- import { HostsSection } from "./HostsSection.js";
2
1
  import { SETTINGS_PAGES } from "../settings/headless/layout.js";
2
+ import { HostsSection } from "./HostsSection.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
- //#region src/machines/settings-section.tsx
4
+ // src/machines/settings-section.tsx
5
5
  /**
6
6
  * The Hosts section, over the nearest `MachinesProvider`.
7
7
  *
@@ -10,7 +10,7 @@ import { jsx } from "react/jsx-runtime";
10
10
  */
11
11
  function hostsSettingsSection(props = {}, overrides = {}) {
12
12
  const page = SETTINGS_PAGES.find((p) => p.id === "hosts");
13
- const search = page && "search" in page ? page.search : void 0;
13
+ const search = page && "sections" in page ? page.sections.flatMap((section) => "panel" in section && section.panel === "hosts" ? section.search : []) : page?.search;
14
14
  return {
15
15
  id: "hosts",
16
16
  title: overrides.title ?? page?.label ?? "hosts",
@@ -22,5 +22,4 @@ function hostsSettingsSection(props = {}, overrides = {}) {
22
22
  render: () => /* @__PURE__ */ jsx(HostsSection, { ...props })
23
23
  };
24
24
  }
25
- //#endregion
26
25
  export { hostsSettingsSection };
@@ -1,12 +1,28 @@
1
- import { SessionPresence } from "../headless/presence.js";
1
+ /**
2
+ * What every `MachinesHost` implementation does alike, as a vitest suite: the in-memory fixture
3
+ * (`createFixtureMachinesHost`), zidane-server (`createServerMachinesHost`), the desktop app's IPC
4
+ * host.
5
+ *
6
+ * An implementation's test calls {@link describeMachinesHostContract} with a harness factory. The
7
+ * contract hands it a {@link MachinesHostContractBackend}: the server under test (its id, name and
8
+ * version), its machines, self-update and tokens, this computer's links and the local daemon, read at
9
+ * each call, and the recorders the backend calls when an action reaches it. The harness builds the host
10
+ * over a backend that does that (a fake WebSocket server, a mocked IPC bridge) and pushes what a backend
11
+ * pushes: a machine coming online or going offline. The capabilities list says which optional members
12
+ * the host offers: the suite checks that the others are undefined and skips what needs them.
13
+ *
14
+ * describeMachinesHostContract('createServerMachinesHost', (backend) => ({ host, pushMachineStatus }), [
15
+ * 'hosts', 'machines', 'updates',
16
+ * ]);
17
+ */
2
18
  import { DaemonStatus, HostCheckResult, MachineInfo as MachineInfo$1, MachineJoinEvent as MachineJoinEvent$1, MachineLinksStatus as MachineLinksStatus$1, MachinesHost, ServerToken, ServerUpdateStatus as ServerUpdateStatus$1 } from "../headless/host.js";
19
+ import { SessionPresence } from "../headless/presence.js";
3
20
  import { MachinesSyncCapability, MachinesSyncContractBackend, MachinesSyncHarness, MachinesSyncHarnessFactory, describeMachinesSyncContract } from "./sync.contract.js";
4
21
  import { HostCapabilities } from "zidane/chat/pure";
5
- //#region src/machines/testing/contract.d.ts
6
22
  /** An optional `MachinesHost` member, by its path. */
7
- type MachinesHostCapability = 'hosts' | 'refreshHosts' | 'retry' | 'testHost' | 'addHost' | 'renameHost' | 'setHostUrl' | 'removeHost' | 'savedHosts' | 'machines' | 'machines.forget' | 'machines.invite' | 'machines.onJoin' | 'links' | 'links.shareStart' | 'links.shareStop' | 'links.useServer' | 'pickFolder' | 'newChat' | 'updates' | 'updates.check' | 'updates.install' | 'updates.configure' | 'tokens' | 'tokens.create' | 'tokens.revoke' | 'tokens.pair' | 'tokens.onChanged' | 'daemon' | 'daemon.reconnect' | 'daemon.restart' | 'daemon.stopRun' | 'daemon.relaunchApp' | 'presence' | 'capabilities' | 'installTool' | 'permitted';
23
+ export type MachinesHostCapability = 'hosts' | 'refreshHosts' | 'retry' | 'testHost' | 'addHost' | 'renameHost' | 'setHostUrl' | 'removeHost' | 'savedHosts' | 'machines' | 'machines.forget' | 'machines.invite' | 'machines.onJoin' | 'links' | 'links.shareStart' | 'links.shareStop' | 'links.useServer' | 'pickFolder' | 'newChat' | 'updates' | 'updates.check' | 'updates.install' | 'updates.configure' | 'tokens' | 'tokens.create' | 'tokens.revoke' | 'tokens.pair' | 'tokens.onChanged' | 'daemon' | 'daemon.reconnect' | 'daemon.restart' | 'daemon.stopRun' | 'daemon.relaunchApp' | 'presence' | 'capabilities' | 'installTool' | 'permitted';
8
24
  /** What the backend behind the host holds, and what it records. */
9
- interface MachinesHostContractBackend {
25
+ export interface MachinesHostContractBackend {
10
26
  /**
11
27
  * The server under test, as its backend reports it. Its id is the one the suite passes to the host; the registry
12
28
  * (`savedHosts`) lists it with its dates.
@@ -40,76 +56,76 @@ interface MachinesHostContractBackend {
40
56
  /** Every live session's presence. Read at each listing; the harness changes it before it pushes. */
41
57
  presence: SessionPresence[];
42
58
  /** The backend calls this when a retry reaches it. */
43
- retried(hostId: string): void;
59
+ retried: (hostId: string) => void;
44
60
  /** The backend calls this when a test reaches it, and answers with what it returns. */
45
- tested(target: {
61
+ tested: (target: {
46
62
  id: string;
47
63
  } | {
48
64
  url: string;
49
65
  token: string;
50
- }): HostCheckResult;
66
+ }) => HostCheckResult;
51
67
  /** The backend calls this when an add reaches it. */
52
- added(input: {
68
+ added: (input: {
53
69
  url: string;
54
70
  token: string;
55
71
  name?: string;
56
- }): HostCheckResult;
72
+ }) => HostCheckResult;
57
73
  /** The backend calls this when a rename reaches it. */
58
- renamed(id: string, name: string): HostCheckResult;
74
+ renamed: (id: string, name: string) => HostCheckResult;
59
75
  /** The backend calls this when a URL change reaches it. */
60
- urlChanged(id: string, url: string): HostCheckResult;
76
+ urlChanged: (id: string, url: string) => HostCheckResult;
61
77
  /** The backend calls this when a removal reaches it. */
62
- removed(id: string): void;
78
+ removed: (id: string) => void;
63
79
  /** The backend calls this when a forget reaches it: the machine leaves {@link machines}. */
64
- forgot(machineId: string): void;
80
+ forgot: (machineId: string) => void;
65
81
  /** The backend calls this when a join code is asked for, and answers with what it returns. */
66
- invited(params: {
82
+ invited: (params: {
67
83
  name?: string;
68
84
  ttlMs?: number;
69
- }): {
85
+ }) => {
70
86
  code: string;
71
87
  expiresAt: number;
72
88
  };
73
89
  /** The backend calls this when an update action reaches it: {@link update} changes. */
74
- updated(action: 'check' | 'install' | 'configure', enabled?: boolean): void;
90
+ updated: (action: 'check' | 'install' | 'configure', enabled?: boolean) => void;
75
91
  /** The backend calls this when a token is created, and answers with what it returns. */
76
- created(name: string): ServerToken & {
92
+ created: (name: string) => ServerToken & {
77
93
  token: string;
78
94
  };
79
95
  /** The backend calls this when a browser pairing code is asked for, and answers with what it returns. */
80
- paired(params: {
96
+ paired: (params: {
81
97
  name?: string;
82
98
  ttlMs?: number;
83
- }): {
99
+ }) => {
84
100
  code: string;
85
101
  expiresAt: number;
86
102
  };
87
103
  /** The backend calls this when a revoke reaches it. */
88
- revoked(id: string): void;
104
+ revoked: (id: string) => void;
89
105
  /** The backend calls this when a link action reaches it: {@link links} changes. */
90
- linked(action: 'shareStart' | 'shareStop' | 'useServer', detail?: unknown): void;
106
+ linked: (action: 'shareStart' | 'shareStop' | 'useServer', detail?: unknown) => void;
91
107
  /** The backend calls this when a daemon action reaches it. */
92
- daemonCalled(action: 'reconnect' | 'restart' | 'stopRun' | 'relaunchApp', detail?: unknown): void;
108
+ daemonCalled: (action: 'reconnect' | 'restart' | 'stopRun' | 'relaunchApp', detail?: unknown) => void;
93
109
  /** The app calls this when New chat reaches it: the server, and the machine's name when on one. */
94
- chatOpened(hostId: string, machine?: string): void;
110
+ chatOpened: (hostId: string, machine?: string) => void;
95
111
  }
96
112
  /** A host built over a contract backend, and the pushes its backend can make. */
97
- interface MachinesHostHarness {
113
+ export interface MachinesHostHarness {
98
114
  /** The host under test. */
99
115
  host: MachinesHost;
100
116
  /** Sets a machine's status in the backend and pushes the change, as the backend does. */
101
- pushMachineStatus(machineId: string, status: 'online' | 'offline'): void;
117
+ pushMachineStatus: (machineId: string, status: 'online' | 'offline') => void;
102
118
  /** Pushes what became of a join code, as the backend does (needed for `machines.onJoin`). */
103
- pushJoin?(event: MachineJoinEvent$1): void;
119
+ pushJoin?: (event: MachineJoinEvent$1) => void;
104
120
  /** Sets the backend's presence and pushes the snapshot, as the backend does (needed for `presence`). */
105
- pushPresence?(sessions: SessionPresence[]): void;
121
+ pushPresence?: (sessions: SessionPresence[]) => void;
106
122
  /** Adds a token elsewhere (another page, the CLI) and says so, as the backend does (needed for `tokens.onChanged`). */
107
- pushTokenCreated?(name: string): void;
123
+ pushTokenCreated?: (name: string) => void;
108
124
  /** Closes connections and listeners after each test. */
109
- dispose?(): void;
125
+ dispose?: () => void;
110
126
  }
111
127
  /** Builds a fresh host (and its backend) for one test. */
112
- type MachinesHostHarnessFactory = (backend: MachinesHostContractBackend) => MachinesHostHarness | Promise<MachinesHostHarness>;
128
+ export type MachinesHostHarnessFactory = (backend: MachinesHostContractBackend) => MachinesHostHarness | Promise<MachinesHostHarness>;
113
129
  /**
114
130
  * Declares the shared `MachinesHost` suite for one implementation.
115
131
  *
@@ -117,6 +133,5 @@ type MachinesHostHarnessFactory = (backend: MachinesHostContractBackend) => Mach
117
133
  * @param makeHarness - Builds a fresh host over a backend that holds and records what it is given, once per test.
118
134
  * @param capabilities - The optional members the host offers. Every other optional member must be undefined.
119
135
  */
120
- declare function describeMachinesHostContract(name: string, makeHarness: MachinesHostHarnessFactory, capabilities: readonly MachinesHostCapability[]): void;
121
- //#endregion
122
- export { MachinesHostCapability, MachinesHostContractBackend, MachinesHostHarness, MachinesHostHarnessFactory, MachinesSyncCapability, MachinesSyncContractBackend, MachinesSyncHarness, MachinesSyncHarnessFactory, describeMachinesHostContract, describeMachinesSyncContract };
136
+ export declare function describeMachinesHostContract(name: string, makeHarness: MachinesHostHarnessFactory, capabilities: readonly MachinesHostCapability[]): void;
137
+ export { MachinesSyncCapability, MachinesSyncContractBackend, MachinesSyncHarness, MachinesSyncHarnessFactory, describeMachinesSyncContract };
@@ -1,23 +1,6 @@
1
1
  import { describeMachinesSyncContract } from "./sync.contract.js";
2
2
  import { afterEach, describe, expect, it, vi } from "vitest";
3
- //#region src/machines/testing/contract.ts
4
- /**
5
- * What every `MachinesHost` implementation does alike, as a vitest suite: the in-memory fixture
6
- * (`createFixtureMachinesHost`), zidane-server (`createServerMachinesHost`), the desktop app's IPC
7
- * host.
8
- *
9
- * An implementation's test calls {@link describeMachinesHostContract} with a harness factory. The
10
- * contract hands it a {@link MachinesHostContractBackend}: the server under test (its id, name and
11
- * version), its machines, self-update and tokens, this computer's links and the local daemon, read at
12
- * each call, and the recorders the backend calls when an action reaches it. The harness builds the host
13
- * over a backend that does that (a fake WebSocket server, a mocked IPC bridge) and pushes what a backend
14
- * pushes: a machine coming online or going offline. The capabilities list says which optional members
15
- * the host offers: the suite checks that the others are undefined and skips what needs them.
16
- *
17
- * describeMachinesHostContract('createServerMachinesHost', (backend) => ({ host, pushMachineStatus }), [
18
- * 'hosts', 'machines', 'updates',
19
- * ]);
20
- */
3
+ // src/machines/testing/contract.ts
21
4
  const CAPABILITIES = [
22
5
  "hosts",
23
6
  "refreshHosts",
@@ -68,13 +51,15 @@ const OBJECTS = /* @__PURE__ */ new Set([
68
51
  "presence",
69
52
  "permitted"
70
53
  ]);
71
- const machine = (id, name, status) => ({
72
- id,
73
- name,
74
- roots: [{ path: `/home/${name}` }],
75
- status,
76
- lastSeen: 17e11
77
- });
54
+ function machine(id, name, status) {
55
+ return {
56
+ id,
57
+ name,
58
+ roots: [{ path: `/home/${name}` }],
59
+ status,
60
+ lastSeen: 17e11
61
+ };
62
+ }
78
63
  function contractBackend() {
79
64
  const calls = [];
80
65
  const record = (action, detail) => calls.push({
@@ -682,5 +667,4 @@ function describeMachinesHostContract(name, makeHarness, capabilities) {
682
667
  });
683
668
  });
684
669
  }
685
- //#endregion
686
670
  export { describeMachinesHostContract, describeMachinesSyncContract };
@@ -1,3 +1,9 @@
1
+ /**
2
+ * `zidane-ui/machines/testing`: a `MachinesHost` that runs in memory
3
+ * (`createFixtureMachinesHost`) and demo hosts, machines, tokens and a daemon,
4
+ * for docs, demos and an app's own tests. Not for production hosts.
5
+ */
1
6
  import { FIXTURE_LOCAL_HOST, FixtureMachinesControl, FixtureMachinesHost, FixtureMachinesOptions, createFixtureMachinesHost } from "../headless/fixture-host.js";
2
7
  import { DEMO_CAPABILITIES, DEMO_DAEMON, DEMO_HOSTS, DEMO_MACHINES, DEMO_NOW, DEMO_SERVER_PROVIDERS, DEMO_SYNC, DEMO_TOKENS, DEMO_UPDATE_WAITING } from "../headless/fixtures.js";
3
- export { DEMO_CAPABILITIES, DEMO_DAEMON, DEMO_HOSTS, DEMO_MACHINES, DEMO_NOW, DEMO_SERVER_PROVIDERS, DEMO_SYNC, DEMO_TOKENS, DEMO_UPDATE_WAITING, FIXTURE_LOCAL_HOST, FixtureMachinesControl, FixtureMachinesHost, FixtureMachinesOptions, createFixtureMachinesHost };
8
+ import { WORST_CASE_HOSTS, WORST_CASE_HOSTS_EMPTY } from "./worst-case.js";
9
+ export { DEMO_CAPABILITIES, DEMO_DAEMON, DEMO_HOSTS, DEMO_MACHINES, DEMO_NOW, DEMO_SERVER_PROVIDERS, DEMO_SYNC, DEMO_TOKENS, DEMO_UPDATE_WAITING, FIXTURE_LOCAL_HOST, FixtureMachinesControl, FixtureMachinesHost, FixtureMachinesOptions, WORST_CASE_HOSTS, WORST_CASE_HOSTS_EMPTY, createFixtureMachinesHost };
@@ -1,3 +1,4 @@
1
1
  import { FIXTURE_LOCAL_HOST, createFixtureMachinesHost } from "../headless/fixture-host.js";
2
2
  import { DEMO_CAPABILITIES, DEMO_DAEMON, DEMO_HOSTS, DEMO_MACHINES, DEMO_NOW, DEMO_SERVER_PROVIDERS, DEMO_SYNC, DEMO_TOKENS, DEMO_UPDATE_WAITING } from "../headless/fixtures.js";
3
- export { DEMO_CAPABILITIES, DEMO_DAEMON, DEMO_HOSTS, DEMO_MACHINES, DEMO_NOW, DEMO_SERVER_PROVIDERS, DEMO_SYNC, DEMO_TOKENS, DEMO_UPDATE_WAITING, FIXTURE_LOCAL_HOST, createFixtureMachinesHost };
3
+ import { WORST_CASE_HOSTS, WORST_CASE_HOSTS_EMPTY } from "./worst-case.js";
4
+ export { DEMO_CAPABILITIES, DEMO_DAEMON, DEMO_HOSTS, DEMO_MACHINES, DEMO_NOW, DEMO_SERVER_PROVIDERS, DEMO_SYNC, DEMO_TOKENS, DEMO_UPDATE_WAITING, FIXTURE_LOCAL_HOST, WORST_CASE_HOSTS, WORST_CASE_HOSTS_EMPTY, createFixtureMachinesHost };
@@ -1,10 +1,23 @@
1
- import { HostSyncPatch, HostSyncState, SyncStatus } from "../headless/sync.js";
1
+ /**
2
+ * What every implementation of `MachinesHost.sync` and `MachinesHost.signIn` does alike, as a vitest suite: the
3
+ * in-memory fixture, zidane-server (`createServerMachinesHost`: the server's record, its reset, its providers and a
4
+ * sign-in there), the desktop app's IPC host (this computer's sync engine too).
5
+ *
6
+ * The suite hands the harness a {@link MachinesSyncContractBackend}: this computer's sync to the server, the server's
7
+ * record and providers, read at each call, and the recorders the backend calls when an action reaches it. The
8
+ * capabilities list says which members the host offers: the suite checks the others are undefined and skips what
9
+ * needs them.
10
+ *
11
+ * describeMachinesSyncContract('createServerMachinesHost', (backend) => ({ host }), [
12
+ * 'sync', 'sync.reset', 'sync.providers', 'signIn',
13
+ * ]);
14
+ */
2
15
  import { HostProviderAuth, HostSignInTarget, MachinesHost } from "../headless/host.js";
3
- //#region src/machines/testing/sync.contract.d.ts
16
+ import { HostSyncPatch, HostSyncState, SyncStatus } from "../headless/sync.js";
4
17
  /** A member of `MachinesHost.sync`, or `signIn`, by its path. */
5
- type MachinesSyncCapability = 'sync' | 'sync.state' | 'sync.configure' | 'sync.push' | 'sync.takeOver' | 'sync.reset' | 'sync.providers' | 'signIn';
18
+ export type MachinesSyncCapability = 'sync' | 'sync.state' | 'sync.configure' | 'sync.push' | 'sync.takeOver' | 'sync.reset' | 'sync.providers' | 'signIn';
6
19
  /** What the backend behind the host holds, and what it records. */
7
- interface MachinesSyncContractBackend {
20
+ export interface MachinesSyncContractBackend {
8
21
  /** The server under test. Its id is the one the suite passes to the host. */
9
22
  server: {
10
23
  id: string;
@@ -21,27 +34,27 @@ interface MachinesSyncContractBackend {
21
34
  /** When set, every action fails with this message. */
22
35
  fail: string | null;
23
36
  /** The backend calls this when a configure reaches it: {@link state} changes. */
24
- configured(patch: HostSyncPatch): void;
37
+ configured: (patch: HostSyncPatch) => void;
25
38
  /** The backend calls this when a push reaches it. */
26
- pushed(): void;
39
+ pushed: () => void;
27
40
  /** The backend calls this when a take over reaches it. */
28
- tookOver(): void;
41
+ tookOver: () => void;
29
42
  /** The backend calls this when a reset reaches it: the override leaves {@link status}. */
30
- reset(field: string): void;
43
+ reset: (field: string) => void;
31
44
  /** The backend calls this when a sign-in starts. */
32
- signedIn(target: HostSignInTarget): void;
45
+ signedIn: (target: HostSignInTarget) => void;
33
46
  }
34
47
  /** A host built over a contract backend, and the pushes its backend can make. */
35
- interface MachinesSyncHarness {
48
+ export interface MachinesSyncHarness {
36
49
  /** The host under test. */
37
50
  host: MachinesHost;
38
51
  /** Tells the host the sync of the server changed, as the backend does (needed for `sync.state` live reads). */
39
- pushSyncChanged?(): void;
52
+ pushSyncChanged?: () => void;
40
53
  /** Closes connections and listeners after each test. */
41
- dispose?(): void;
54
+ dispose?: () => void;
42
55
  }
43
56
  /** Builds a fresh host (and its backend) for one test. */
44
- type MachinesSyncHarnessFactory = (backend: MachinesSyncContractBackend) => MachinesSyncHarness | Promise<MachinesSyncHarness>;
57
+ export type MachinesSyncHarnessFactory = (backend: MachinesSyncContractBackend) => MachinesSyncHarness | Promise<MachinesSyncHarness>;
45
58
  /**
46
59
  * Declares the shared suite of `MachinesHost.sync` and `signIn` for one implementation.
47
60
  *
@@ -49,6 +62,4 @@ type MachinesSyncHarnessFactory = (backend: MachinesSyncContractBackend) => Mach
49
62
  * @param makeHarness - Builds a fresh host over a backend that holds and records what it is given, once per test.
50
63
  * @param capabilities - The members the host offers. Every other one must be undefined.
51
64
  */
52
- declare function describeMachinesSyncContract(name: string, makeHarness: MachinesSyncHarnessFactory, capabilities: readonly MachinesSyncCapability[]): void;
53
- //#endregion
54
- export { MachinesSyncCapability, MachinesSyncContractBackend, MachinesSyncHarness, MachinesSyncHarnessFactory, describeMachinesSyncContract };
65
+ export declare function describeMachinesSyncContract(name: string, makeHarness: MachinesSyncHarnessFactory, capabilities: readonly MachinesSyncCapability[]): void;
@@ -1,20 +1,6 @@
1
1
  import { isMachinesError } from "../headless/host.js";
2
2
  import { afterEach, describe, expect, it, vi } from "vitest";
3
- //#region src/machines/testing/sync.contract.ts
4
- /**
5
- * What every implementation of `MachinesHost.sync` and `MachinesHost.signIn` does alike, as a vitest suite: the
6
- * in-memory fixture, zidane-server (`createServerMachinesHost`: the server's record, its reset, its providers and a
7
- * sign-in there), the desktop app's IPC host (this computer's sync engine too).
8
- *
9
- * The suite hands the harness a {@link MachinesSyncContractBackend}: this computer's sync to the server, the server's
10
- * record and providers, read at each call, and the recorders the backend calls when an action reaches it. The
11
- * capabilities list says which members the host offers: the suite checks the others are undefined and skips what
12
- * needs them.
13
- *
14
- * describeMachinesSyncContract('createServerMachinesHost', (backend) => ({ host }), [
15
- * 'sync', 'sync.reset', 'sync.providers', 'signIn',
16
- * ]);
17
- */
3
+ // src/machines/testing/sync.contract.ts
18
4
  const CAPABILITIES = [
19
5
  "sync",
20
6
  "sync.state",
@@ -243,5 +229,4 @@ function describeMachinesSyncContract(name, makeHarness, capabilities) {
243
229
  });
244
230
  });
245
231
  }
246
- //#endregion
247
232
  export { describeMachinesSyncContract };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Worst-case hosts, for galleries and visual tests: a server with a long name,
3
+ * a long URL and a long error, and no servers at all.
4
+ */
5
+ import { HostSummary } from "../headless/host.js";
6
+ /** This computer, then servers with long names, URLs and errors. */
7
+ export declare const WORST_CASE_HOSTS: readonly HostSummary[];
8
+ /** This computer only. */
9
+ export declare const WORST_CASE_HOSTS_EMPTY: readonly HostSummary[];
@@ -0,0 +1,30 @@
1
+ import { FIXTURE_LOCAL_HOST } from "../headless/fixture-host.js";
2
+ // src/machines/testing/worst-case.ts
3
+ const NOW = Date.UTC(2025, 5, 2, 10, 0, 0);
4
+ /** This computer, then servers with long names, URLs and errors. */
5
+ const WORST_CASE_HOSTS = [
6
+ FIXTURE_LOCAL_HOST,
7
+ {
8
+ id: "wc-northwind",
9
+ kind: "server",
10
+ name: "northwind-industries-holdings-build-runner-eu-west-01",
11
+ status: "connected",
12
+ url: "wss://build-runner-eu-west-01.northwind-industries-holdings.example.com",
13
+ serverName: "Aleksandra Wiśniewska-Kowalczyk’s build runner",
14
+ serverVersion: "48213.0.0-canary.20250805",
15
+ addedAt: NOW - 289278e4,
16
+ lastConnectedAt: NOW - 6e4,
17
+ machineServe: true
18
+ },
19
+ {
20
+ id: "wc-refused",
21
+ kind: "server",
22
+ name: "خادم المصادقة",
23
+ status: "auth-refused",
24
+ url: "wss://auth.northwind-industries-holdings.example.com",
25
+ error: "token refused (401) for bartholomew.fitzgerald@northwind-industries-holdings.example.com"
26
+ }
27
+ ];
28
+ /** This computer only. */
29
+ const WORST_CASE_HOSTS_EMPTY = [FIXTURE_LOCAL_HOST];
30
+ export { WORST_CASE_HOSTS, WORST_CASE_HOSTS_EMPTY };
@@ -1,7 +1,6 @@
1
1
  import { CSSProperties } from "react";
2
- //#region src/motion/SwapIcon.d.ts
3
2
  /** Props for {@link SwapIcon}. */
4
- interface SwapIconProps<K extends string> {
3
+ export interface SwapIconProps<K extends string> {
5
4
  /** Key → icon class (`i-ph-*`). */
6
5
  icons: Record<K, string>;
7
6
  /** Key in `icons` of the glyph to show. */
@@ -17,6 +16,4 @@ interface SwapIconProps<K extends string> {
17
16
  *
18
17
  * @param props - Component props.
19
18
  */
20
- declare function SwapIcon<K extends string>({ icons, current, className, style }: SwapIconProps<K>): import("react").JSX.Element;
21
- //#endregion
22
- export { SwapIcon, SwapIconProps };
19
+ export declare function SwapIcon<K extends string>({ icons, current, className, style }: SwapIconProps<K>): import("react").JSX.Element;