@celljs/ta-web 4.17.0 → 4.18.0

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 (585) hide show
  1. package/README.en.md +2 -1
  2. package/README.md +2 -1
  3. package/esm/browser/assistant/assistant-chat-list.d.ts +4 -4
  4. package/esm/browser/assistant/assistant-chat-list.js +74 -4
  5. package/esm/browser/assistant/assistant-export.js +6 -2
  6. package/esm/browser/assistant/assistant-extension.js +70 -15
  7. package/esm/browser/assistant/assistant-role.d.ts +2 -2
  8. package/esm/browser/assistant/assistant-role.js +7 -4
  9. package/esm/browser/assistant/assistant-task-source.d.ts +4 -0
  10. package/esm/browser/assistant/assistant-task-source.js +18 -4
  11. package/esm/browser/assistant/assistant-task-util.d.ts +8 -0
  12. package/esm/browser/assistant/assistant-task-util.js +14 -3
  13. package/esm/browser/assistant/assistant-tasks.js +2 -2
  14. package/esm/browser/assistant/assistant-thread.js +5 -1
  15. package/esm/browser/assistant/assistant-view.js +3 -5
  16. package/esm/browser/assistant/assistant.js +2 -1
  17. package/esm/browser/assistant/call-keeper.d.ts +142 -0
  18. package/esm/browser/assistant/call-keeper.js +292 -0
  19. package/esm/browser/assistant/call-screen.d.ts +39 -0
  20. package/esm/browser/assistant/call-screen.js +75 -0
  21. package/esm/browser/assistant/chat-task-source.d.ts +16 -18
  22. package/esm/browser/assistant/chat-task-source.js +27 -52
  23. package/esm/browser/assistant/realtime-voice.d.ts +62 -1
  24. package/esm/browser/assistant/realtime-voice.js +188 -29
  25. package/esm/browser/assistant/task-views.d.ts +9 -6
  26. package/esm/browser/assistant/task-views.js +28 -10
  27. package/esm/browser/assistant/voice-call-bar.d.ts +11 -4
  28. package/esm/browser/assistant/voice-call-bar.js +102 -46
  29. package/esm/browser/assistant/voice-call.d.ts +33 -1
  30. package/esm/browser/assistant/voice-call.js +131 -28
  31. package/esm/browser/assistant/voice-reopen.d.ts +18 -0
  32. package/esm/browser/assistant/voice-reopen.js +54 -0
  33. package/esm/browser/chat/chat-view.js +5 -8
  34. package/esm/browser/cloud/cloud-sign-in.d.ts +100 -0
  35. package/esm/browser/cloud/cloud-sign-in.js +239 -0
  36. package/esm/browser/cloud/device-page.d.ts +15 -0
  37. package/esm/browser/cloud/device-page.js +39 -0
  38. package/esm/browser/components/access-view.js +25 -1
  39. package/esm/browser/components/account-menu.js +3 -1
  40. package/esm/browser/components/app-contexts.d.ts +12 -0
  41. package/esm/browser/components/app-contexts.js +28 -0
  42. package/esm/browser/components/app-nav.d.ts +5 -3
  43. package/esm/browser/components/app-nav.js +11 -8
  44. package/esm/browser/components/app-shell-state.d.ts +2 -2
  45. package/esm/browser/components/app-shell-state.js +33 -28
  46. package/esm/browser/components/app-view.js +113 -82
  47. package/esm/browser/components/auth-view.js +3 -5
  48. package/esm/browser/components/call-pill.d.ts +11 -0
  49. package/esm/browser/components/call-pill.js +19 -0
  50. package/esm/browser/components/chat-home-util.d.ts +112 -0
  51. package/esm/browser/components/chat-home-util.js +123 -0
  52. package/esm/browser/components/chat-home.d.ts +54 -0
  53. package/esm/browser/components/chat-home.js +125 -0
  54. package/esm/browser/components/chat-icon.d.ts +4 -2
  55. package/esm/browser/components/chat-icon.js +15 -5
  56. package/esm/browser/components/chat-list-hooks.d.ts +30 -0
  57. package/esm/browser/components/chat-list-hooks.js +81 -0
  58. package/esm/browser/components/chat-list-props.d.ts +54 -0
  59. package/esm/browser/components/chat-list-props.js +2 -0
  60. package/esm/browser/components/chat-list-row.d.ts +14 -2
  61. package/esm/browser/components/chat-list-row.js +27 -17
  62. package/esm/browser/components/chat-list-util.d.ts +40 -9
  63. package/esm/browser/components/chat-list-util.js +72 -9
  64. package/esm/browser/components/chat-list.d.ts +4 -49
  65. package/esm/browser/components/chat-list.js +118 -87
  66. package/esm/browser/components/cloud-sign-in-view.d.ts +61 -0
  67. package/esm/browser/components/cloud-sign-in-view.js +351 -0
  68. package/esm/browser/components/code-editor.js +2 -1
  69. package/esm/browser/components/composer-box.js +7 -0
  70. package/esm/browser/components/connection-bar.js +22 -3
  71. package/esm/browser/components/context-menu.d.ts +11 -2
  72. package/esm/browser/components/context-menu.js +14 -3
  73. package/esm/browser/components/conversation-scroll.d.ts +2 -0
  74. package/esm/browser/components/conversation-scroll.js +14 -0
  75. package/esm/browser/components/device-sign-in-page.d.ts +12 -0
  76. package/esm/browser/components/device-sign-in-page.js +74 -0
  77. package/esm/browser/components/diff-editor.js +2 -1
  78. package/esm/browser/components/entry-holds.d.ts +22 -0
  79. package/esm/browser/components/entry-holds.js +49 -0
  80. package/esm/browser/components/environment-view.js +8 -8
  81. package/esm/browser/components/face.d.ts +1 -1
  82. package/esm/browser/components/fold-text.js +3 -1
  83. package/esm/browser/components/fork-view.js +2 -4
  84. package/esm/browser/components/gallery.js +2 -1
  85. package/esm/browser/components/held-talk.d.ts +6 -2
  86. package/esm/browser/components/held-talk.js +20 -2
  87. package/esm/browser/components/host-view.d.ts +9 -4
  88. package/esm/browser/components/host-view.js +53 -14
  89. package/esm/browser/components/image-swipe.d.ts +50 -0
  90. package/esm/browser/components/image-swipe.js +139 -0
  91. package/esm/browser/components/image-viewer.d.ts +10 -114
  92. package/esm/browser/components/image-viewer.js +46 -365
  93. package/esm/browser/components/image-zoom.d.ts +112 -0
  94. package/esm/browser/components/image-zoom.js +355 -0
  95. package/esm/browser/components/kept-call-bar.d.ts +12 -0
  96. package/esm/browser/components/kept-call-bar.js +99 -0
  97. package/esm/browser/components/lightbox.d.ts +6 -2
  98. package/esm/browser/components/lightbox.js +4 -3
  99. package/esm/browser/components/link-dialog.d.ts +2 -1
  100. package/esm/browser/components/link-dialog.js +5 -1
  101. package/esm/browser/components/link.d.ts +4 -0
  102. package/esm/browser/components/link.js +11 -0
  103. package/esm/browser/components/loading.d.ts +12 -0
  104. package/esm/browser/components/loading.js +18 -0
  105. package/esm/browser/components/markdown.js +2 -1
  106. package/esm/browser/components/mermaid-view.js +14 -7
  107. package/esm/browser/components/message-images.js +1 -1
  108. package/esm/browser/components/message-list.js +12 -7
  109. package/esm/browser/components/message-steps.js +31 -23
  110. package/esm/browser/components/message-user.d.ts +10 -1
  111. package/esm/browser/components/message-user.js +48 -13
  112. package/esm/browser/components/model-picker.d.ts +3 -1
  113. package/esm/browser/components/model-picker.js +14 -3
  114. package/esm/browser/components/nav-places.d.ts +7 -12
  115. package/esm/browser/components/nav-places.js +10 -13
  116. package/esm/browser/components/phone-shell.d.ts +1 -1
  117. package/esm/browser/components/scan-screen.d.ts +4 -2
  118. package/esm/browser/components/scan-screen.js +46 -20
  119. package/esm/browser/components/search-page.js +3 -2
  120. package/esm/browser/components/secret-peek.d.ts +3 -0
  121. package/esm/browser/components/secret-peek.js +19 -0
  122. package/esm/browser/components/secret-text.d.ts +41 -0
  123. package/esm/browser/components/secret-text.js +80 -0
  124. package/esm/browser/components/session-view.js +44 -13
  125. package/esm/browser/components/settings-choices.d.ts +3 -3
  126. package/esm/browser/components/settings-choices.js +9 -29
  127. package/esm/browser/components/settings-parts.js +5 -2
  128. package/esm/browser/components/settings-view.js +2 -2
  129. package/esm/browser/components/share-dialog.d.ts +2 -3
  130. package/esm/browser/components/share-dialog.js +6 -41
  131. package/esm/browser/components/share-friends.d.ts +18 -0
  132. package/esm/browser/components/share-friends.js +56 -0
  133. package/esm/browser/components/share-sheet.d.ts +15 -0
  134. package/esm/browser/components/share-sheet.js +79 -0
  135. package/esm/browser/components/side-lists.d.ts +16 -4
  136. package/esm/browser/components/side-lists.js +28 -12
  137. package/esm/browser/components/sign-in-accounts.d.ts +2 -1
  138. package/esm/browser/components/sign-in-accounts.js +59 -5
  139. package/esm/browser/components/sign-in-label.d.ts +5 -0
  140. package/esm/browser/components/sign-in-label.js +10 -0
  141. package/esm/browser/components/system-link-host.d.ts +2 -0
  142. package/esm/browser/components/system-link-host.js +17 -0
  143. package/esm/browser/components/tool-result.d.ts +3 -2
  144. package/esm/browser/components/tool-result.js +5 -3
  145. package/esm/browser/components/tool-view.d.ts +21 -3
  146. package/esm/browser/components/tool-view.js +103 -35
  147. package/esm/browser/components/unseen-drop.d.ts +2 -1
  148. package/esm/browser/components/unseen-drop.js +1 -1
  149. package/esm/browser/components/voice-services.js +26 -3
  150. package/esm/browser/components/workbench-view.d.ts +1 -1
  151. package/esm/browser/components/workbench-view.js +38 -5
  152. package/esm/browser/device/code-scan.d.ts +23 -10
  153. package/esm/browser/device/code-scan.js +48 -43
  154. package/esm/browser/device/edge-back.d.ts +17 -0
  155. package/esm/browser/device/edge-back.js +52 -0
  156. package/esm/browser/device/launch-screen.d.ts +1 -1
  157. package/esm/browser/device/launch-screen.js +2 -2
  158. package/esm/browser/device/screen-awake.d.ts +24 -0
  159. package/esm/browser/device/screen-awake.js +59 -0
  160. package/esm/browser/extension/icons.js +13 -2
  161. package/esm/browser/extension/share-sheet-compat.d.ts +11 -0
  162. package/esm/browser/extension/share-sheet-compat.js +27 -0
  163. package/esm/browser/extension/web-api-chats.d.ts +49 -0
  164. package/esm/browser/extension/web-api-chats.js +2 -0
  165. package/esm/browser/extension/web-api-components.d.ts +61 -6
  166. package/esm/browser/extension/web-api-contributions.d.ts +28 -53
  167. package/esm/browser/extension/web-api-screen-share.d.ts +10 -0
  168. package/esm/browser/extension/web-api-screen-share.js +3 -0
  169. package/esm/browser/extension/web-api-services.d.ts +50 -0
  170. package/esm/browser/extension/web-api-services.js +2 -0
  171. package/esm/browser/extension/web-extension-api.d.ts +45 -65
  172. package/esm/browser/extension/web-extension-context.d.ts +5 -10
  173. package/esm/browser/extension/web-extension-context.js +33 -21
  174. package/esm/browser/extension/web-extension-protocol.d.ts +8 -3
  175. package/esm/browser/extension/web-extension-run.js +0 -1
  176. package/esm/browser/extension/web-extensions.d.ts +4 -1
  177. package/esm/browser/extension/web-extensions.js +12 -0
  178. package/esm/browser/extension/web-tasks.d.ts +6 -1
  179. package/esm/browser/extension/web-tasks.js +11 -3
  180. package/esm/browser/extension/web-view-util.d.ts +0 -1
  181. package/esm/browser/extension/web-view-util.js +4 -5
  182. package/esm/browser/files/files.d.ts +1 -0
  183. package/esm/browser/files/files.js +14 -3
  184. package/esm/browser/game/game-control.d.ts +118 -0
  185. package/esm/browser/game/game-control.js +341 -0
  186. package/esm/browser/game/game-host.d.ts +14 -2
  187. package/esm/browser/game/game-host.js +22 -5
  188. package/esm/browser/game/game-protocol.d.ts +15 -0
  189. package/esm/browser/game/game-runner.d.ts +3 -1
  190. package/esm/browser/game/game-runner.js +6 -0
  191. package/esm/browser/game/game-util.d.ts +3 -0
  192. package/esm/browser/game/game-util.js +3 -0
  193. package/esm/browser/game/game-view.d.ts +5 -2
  194. package/esm/browser/game/game-view.js +4 -4
  195. package/esm/browser/game/game3d-protocol.d.ts +5 -1
  196. package/esm/browser/game/game3d-runner.d.ts +3 -1
  197. package/esm/browser/game/game3d-runner.js +14 -0
  198. package/esm/browser/gateway/console-agents.d.ts +11 -0
  199. package/esm/browser/gateway/console-agents.js +128 -0
  200. package/esm/browser/gateway/console-extension.js +0 -1
  201. package/esm/browser/gateway/console-limits.d.ts +19 -0
  202. package/esm/browser/gateway/console-limits.js +164 -0
  203. package/esm/browser/gateway/console-parts.d.ts +29 -22
  204. package/esm/browser/gateway/console-parts.js +67 -137
  205. package/esm/browser/gateway/console-tenant.d.ts +2 -4
  206. package/esm/browser/gateway/console-tenant.js +117 -209
  207. package/esm/browser/gateway/console-trend.js +6 -4
  208. package/esm/browser/gateway/console-view.js +136 -109
  209. package/esm/browser/hooks.js +1 -3
  210. package/esm/browser/hosts.d.ts +2 -0
  211. package/esm/browser/hosts.js +12 -2
  212. package/esm/browser/i18n/locales.d.ts +144 -14
  213. package/esm/browser/i18n/messages-ja.js +153 -23
  214. package/esm/browser/i18n/messages-zh-tw.js +153 -23
  215. package/esm/browser/i18n/messages.d.ts +141 -11
  216. package/esm/browser/i18n/messages.js +307 -47
  217. package/esm/browser/index.d.ts +1 -0
  218. package/esm/browser/index.js +1 -0
  219. package/esm/browser/links/links-protocol.d.ts +10 -1
  220. package/esm/browser/links/links.d.ts +11 -2
  221. package/esm/browser/links/links.js +65 -7
  222. package/esm/browser/links/system-links.d.ts +21 -0
  223. package/esm/browser/links/system-links.js +54 -0
  224. package/esm/browser/markdown/hooks.d.ts +3 -1
  225. package/esm/browser/markdown/hooks.js +11 -3
  226. package/esm/browser/markdown/mermaid.d.ts +18 -4
  227. package/esm/browser/markdown/mermaid.js +117 -17
  228. package/esm/browser/screen/screen-protocol.d.ts +74 -1
  229. package/esm/browser/screen/screen-protocol.js +15 -0
  230. package/esm/browser/screen/screen-scroll.d.ts +55 -0
  231. package/esm/browser/screen/screen-scroll.js +182 -0
  232. package/esm/browser/screen/screen.d.ts +34 -1
  233. package/esm/browser/screen/screen.js +172 -2
  234. package/esm/browser/settings/navigation.d.ts +9 -21
  235. package/esm/browser/settings/navigation.js +11 -31
  236. package/esm/browser/settings/settings-protocol.d.ts +9 -0
  237. package/esm/browser/settings/settings-protocol.js +18 -0
  238. package/esm/browser/settings/settings.d.ts +7 -1
  239. package/esm/browser/settings/settings.js +31 -7
  240. package/esm/browser/share/shared-extensions.js +4 -3
  241. package/esm/browser/share/shared-page.js +2 -2
  242. package/esm/browser/style/base.d.ts +1 -1
  243. package/esm/browser/style/base.js +8 -1
  244. package/esm/browser/style/chat-list.d.ts +1 -1
  245. package/esm/browser/style/chat-list.js +0 -3
  246. package/esm/browser/style/conversation.d.ts +1 -1
  247. package/esm/browser/style/conversation.js +42 -4
  248. package/esm/browser/style/dialogs.d.ts +1 -1
  249. package/esm/browser/style/dialogs.js +0 -1
  250. package/esm/browser/style/layout.d.ts +1 -1
  251. package/esm/browser/style/layout.js +7 -15
  252. package/esm/browser/style/pages.d.ts +1 -1
  253. package/esm/browser/style/pages.js +168 -112
  254. package/esm/browser/style/phone.d.ts +1 -1
  255. package/esm/browser/style/phone.js +8 -2
  256. package/esm/browser/style/shared.d.ts +1 -1
  257. package/esm/browser/style/shared.js +1 -0
  258. package/esm/browser/style/shell.d.ts +1 -1
  259. package/esm/browser/style/shell.js +12 -0
  260. package/esm/browser/style/surfaces.d.ts +1 -1
  261. package/esm/browser/style/surfaces.js +38 -13
  262. package/esm/browser/style/tasks.d.ts +1 -1
  263. package/esm/browser/style/tasks.js +16 -2
  264. package/esm/browser/style/tints.d.ts +5 -4
  265. package/esm/browser/style/tints.js +9 -9
  266. package/esm/browser/util/desktop.d.ts +7 -1
  267. package/esm/browser/util/desktop.js +17 -0
  268. package/esm/browser/util/image-swipe.d.ts +42 -0
  269. package/esm/browser/util/image-swipe.js +66 -0
  270. package/esm/browser/util/process.d.ts +31 -3
  271. package/esm/browser/util/process.js +75 -8
  272. package/esm/browser/util/share-link.d.ts +5 -0
  273. package/esm/browser/util/share-link.js +10 -0
  274. package/esm/browser/util/shell-words.d.ts +18 -0
  275. package/esm/browser/util/shell-words.js +397 -0
  276. package/esm/browser/util/spoken.d.ts +5 -0
  277. package/esm/browser/util/spoken.js +11 -2
  278. package/esm/browser/util/tool.d.ts +9 -0
  279. package/esm/browser/util/tool.js +71 -6
  280. package/esm/browser/util/transcript.js +3 -1
  281. package/esm/browser/util/turn-end.d.ts +17 -0
  282. package/esm/browser/util/turn-end.js +164 -0
  283. package/esm/browser/workbench-hosts.d.ts +1 -1
  284. package/esm/browser/workbench-hosts.js +2 -2
  285. package/esm/browser/workbench-protocol.d.ts +18 -3
  286. package/esm/browser/workbench-services.d.ts +9 -1
  287. package/esm/browser/workbench-services.js +38 -0
  288. package/esm/browser/workbench-util.d.ts +9 -3
  289. package/esm/browser/workbench-util.js +24 -4
  290. package/esm/browser/workbench.d.ts +3 -0
  291. package/esm/browser/workbench.js +36 -9
  292. package/lib/browser/assistant/assistant-chat-list.d.ts +4 -4
  293. package/lib/browser/assistant/assistant-chat-list.js +73 -3
  294. package/lib/browser/assistant/assistant-export.js +5 -1
  295. package/lib/browser/assistant/assistant-extension.js +69 -14
  296. package/lib/browser/assistant/assistant-role.d.ts +2 -2
  297. package/lib/browser/assistant/assistant-role.js +7 -4
  298. package/lib/browser/assistant/assistant-task-source.d.ts +4 -0
  299. package/lib/browser/assistant/assistant-task-source.js +19 -4
  300. package/lib/browser/assistant/assistant-task-util.d.ts +8 -0
  301. package/lib/browser/assistant/assistant-task-util.js +14 -3
  302. package/lib/browser/assistant/assistant-tasks.js +2 -2
  303. package/lib/browser/assistant/assistant-thread.js +4 -0
  304. package/lib/browser/assistant/assistant-view.js +3 -5
  305. package/lib/browser/assistant/assistant.js +2 -1
  306. package/lib/browser/assistant/call-keeper.d.ts +143 -0
  307. package/lib/browser/assistant/call-keeper.js +295 -0
  308. package/lib/browser/assistant/call-screen.d.ts +40 -0
  309. package/lib/browser/assistant/call-screen.js +78 -0
  310. package/lib/browser/assistant/chat-task-source.d.ts +16 -18
  311. package/lib/browser/assistant/chat-task-source.js +28 -53
  312. package/lib/browser/assistant/realtime-voice.d.ts +62 -1
  313. package/lib/browser/assistant/realtime-voice.js +188 -29
  314. package/lib/browser/assistant/task-views.d.ts +9 -6
  315. package/lib/browser/assistant/task-views.js +29 -10
  316. package/lib/browser/assistant/voice-call-bar.d.ts +11 -4
  317. package/lib/browser/assistant/voice-call-bar.js +102 -46
  318. package/lib/browser/assistant/voice-call.d.ts +33 -1
  319. package/lib/browser/assistant/voice-call.js +132 -29
  320. package/lib/browser/assistant/voice-reopen.d.ts +19 -0
  321. package/lib/browser/assistant/voice-reopen.js +58 -0
  322. package/lib/browser/chat/chat-view.js +5 -8
  323. package/lib/browser/cloud/cloud-sign-in.d.ts +101 -0
  324. package/lib/browser/cloud/cloud-sign-in.js +244 -0
  325. package/lib/browser/cloud/device-page.d.ts +16 -0
  326. package/lib/browser/cloud/device-page.js +42 -0
  327. package/lib/browser/components/access-view.js +24 -0
  328. package/lib/browser/components/account-menu.js +2 -0
  329. package/lib/browser/components/app-contexts.d.ts +13 -0
  330. package/lib/browser/components/app-contexts.js +64 -0
  331. package/lib/browser/components/app-nav.d.ts +5 -3
  332. package/lib/browser/components/app-nav.js +11 -8
  333. package/lib/browser/components/app-shell-state.d.ts +2 -2
  334. package/lib/browser/components/app-shell-state.js +33 -28
  335. package/lib/browser/components/app-view.js +109 -78
  336. package/lib/browser/components/auth-view.js +3 -5
  337. package/lib/browser/components/call-pill.d.ts +12 -0
  338. package/lib/browser/components/call-pill.js +55 -0
  339. package/lib/browser/components/chat-home-util.d.ts +113 -0
  340. package/lib/browser/components/chat-home-util.js +126 -0
  341. package/lib/browser/components/chat-home.d.ts +55 -0
  342. package/lib/browser/components/chat-home.js +164 -0
  343. package/lib/browser/components/chat-icon.d.ts +4 -2
  344. package/lib/browser/components/chat-icon.js +15 -5
  345. package/lib/browser/components/chat-list-hooks.d.ts +31 -0
  346. package/lib/browser/components/chat-list-hooks.js +120 -0
  347. package/lib/browser/components/chat-list-props.d.ts +55 -0
  348. package/lib/browser/components/chat-list-props.js +3 -0
  349. package/lib/browser/components/chat-list-row.d.ts +14 -2
  350. package/lib/browser/components/chat-list-row.js +27 -16
  351. package/lib/browser/components/chat-list-util.d.ts +40 -9
  352. package/lib/browser/components/chat-list-util.js +73 -10
  353. package/lib/browser/components/chat-list.d.ts +4 -49
  354. package/lib/browser/components/chat-list.js +121 -90
  355. package/lib/browser/components/cloud-sign-in-view.d.ts +62 -0
  356. package/lib/browser/components/cloud-sign-in-view.js +393 -0
  357. package/lib/browser/components/code-editor.js +2 -1
  358. package/lib/browser/components/composer-box.js +7 -0
  359. package/lib/browser/components/connection-bar.js +22 -3
  360. package/lib/browser/components/context-menu.d.ts +11 -2
  361. package/lib/browser/components/context-menu.js +14 -3
  362. package/lib/browser/components/conversation-scroll.d.ts +2 -0
  363. package/lib/browser/components/conversation-scroll.js +14 -0
  364. package/lib/browser/components/device-sign-in-page.d.ts +13 -0
  365. package/lib/browser/components/device-sign-in-page.js +110 -0
  366. package/lib/browser/components/diff-editor.js +2 -1
  367. package/lib/browser/components/entry-holds.d.ts +23 -0
  368. package/lib/browser/components/entry-holds.js +86 -0
  369. package/lib/browser/components/environment-view.js +8 -8
  370. package/lib/browser/components/face.d.ts +1 -1
  371. package/lib/browser/components/fold-text.js +3 -1
  372. package/lib/browser/components/fork-view.js +2 -4
  373. package/lib/browser/components/gallery.js +2 -1
  374. package/lib/browser/components/held-talk.d.ts +6 -2
  375. package/lib/browser/components/held-talk.js +20 -2
  376. package/lib/browser/components/host-view.d.ts +9 -4
  377. package/lib/browser/components/host-view.js +52 -13
  378. package/lib/browser/components/image-swipe.d.ts +51 -0
  379. package/lib/browser/components/image-swipe.js +143 -0
  380. package/lib/browser/components/image-viewer.d.ts +10 -114
  381. package/lib/browser/components/image-viewer.js +47 -368
  382. package/lib/browser/components/image-zoom.d.ts +113 -0
  383. package/lib/browser/components/image-zoom.js +359 -0
  384. package/lib/browser/components/kept-call-bar.d.ts +13 -0
  385. package/lib/browser/components/kept-call-bar.js +135 -0
  386. package/lib/browser/components/lightbox.d.ts +6 -2
  387. package/lib/browser/components/lightbox.js +4 -3
  388. package/lib/browser/components/link-dialog.d.ts +2 -1
  389. package/lib/browser/components/link-dialog.js +5 -1
  390. package/lib/browser/components/link.d.ts +4 -0
  391. package/lib/browser/components/link.js +12 -0
  392. package/lib/browser/components/loading.d.ts +13 -0
  393. package/lib/browser/components/loading.js +55 -0
  394. package/lib/browser/components/markdown.js +2 -1
  395. package/lib/browser/components/mermaid-view.js +13 -6
  396. package/lib/browser/components/message-images.js +1 -1
  397. package/lib/browser/components/message-list.js +12 -7
  398. package/lib/browser/components/message-steps.js +31 -23
  399. package/lib/browser/components/message-user.d.ts +10 -1
  400. package/lib/browser/components/message-user.js +48 -12
  401. package/lib/browser/components/model-picker.d.ts +3 -1
  402. package/lib/browser/components/model-picker.js +14 -3
  403. package/lib/browser/components/nav-places.d.ts +7 -12
  404. package/lib/browser/components/nav-places.js +10 -13
  405. package/lib/browser/components/phone-shell.d.ts +1 -1
  406. package/lib/browser/components/scan-screen.d.ts +4 -2
  407. package/lib/browser/components/scan-screen.js +47 -20
  408. package/lib/browser/components/search-page.js +3 -2
  409. package/lib/browser/components/secret-peek.d.ts +4 -0
  410. package/lib/browser/components/secret-peek.js +55 -0
  411. package/lib/browser/components/secret-text.d.ts +42 -0
  412. package/lib/browser/components/secret-text.js +118 -0
  413. package/lib/browser/components/session-view.js +43 -12
  414. package/lib/browser/components/settings-choices.d.ts +3 -3
  415. package/lib/browser/components/settings-choices.js +8 -28
  416. package/lib/browser/components/settings-parts.js +4 -1
  417. package/lib/browser/components/settings-view.js +2 -2
  418. package/lib/browser/components/share-dialog.d.ts +2 -3
  419. package/lib/browser/components/share-dialog.js +5 -40
  420. package/lib/browser/components/share-friends.d.ts +19 -0
  421. package/lib/browser/components/share-friends.js +93 -0
  422. package/lib/browser/components/share-sheet.d.ts +16 -0
  423. package/lib/browser/components/share-sheet.js +115 -0
  424. package/lib/browser/components/side-lists.d.ts +16 -4
  425. package/lib/browser/components/side-lists.js +28 -12
  426. package/lib/browser/components/sign-in-accounts.d.ts +2 -1
  427. package/lib/browser/components/sign-in-accounts.js +59 -5
  428. package/lib/browser/components/sign-in-label.d.ts +6 -0
  429. package/lib/browser/components/sign-in-label.js +13 -0
  430. package/lib/browser/components/system-link-host.d.ts +3 -0
  431. package/lib/browser/components/system-link-host.js +53 -0
  432. package/lib/browser/components/tool-result.d.ts +3 -2
  433. package/lib/browser/components/tool-result.js +5 -3
  434. package/lib/browser/components/tool-view.d.ts +21 -3
  435. package/lib/browser/components/tool-view.js +104 -36
  436. package/lib/browser/components/unseen-drop.d.ts +2 -1
  437. package/lib/browser/components/unseen-drop.js +1 -1
  438. package/lib/browser/components/voice-services.js +23 -0
  439. package/lib/browser/components/workbench-view.d.ts +1 -1
  440. package/lib/browser/components/workbench-view.js +38 -5
  441. package/lib/browser/device/code-scan.d.ts +23 -10
  442. package/lib/browser/device/code-scan.js +47 -42
  443. package/lib/browser/device/edge-back.d.ts +18 -0
  444. package/lib/browser/device/edge-back.js +89 -0
  445. package/lib/browser/device/launch-screen.d.ts +1 -1
  446. package/lib/browser/device/launch-screen.js +2 -2
  447. package/lib/browser/device/screen-awake.d.ts +25 -0
  448. package/lib/browser/device/screen-awake.js +63 -0
  449. package/lib/browser/extension/icons.js +12 -1
  450. package/lib/browser/extension/share-sheet-compat.d.ts +12 -0
  451. package/lib/browser/extension/share-sheet-compat.js +30 -0
  452. package/lib/browser/extension/web-api-chats.d.ts +50 -0
  453. package/lib/browser/extension/web-api-chats.js +3 -0
  454. package/lib/browser/extension/web-api-components.d.ts +61 -6
  455. package/lib/browser/extension/web-api-contributions.d.ts +28 -53
  456. package/lib/browser/extension/web-api-screen-share.d.ts +11 -0
  457. package/lib/browser/extension/web-api-screen-share.js +6 -0
  458. package/lib/browser/extension/web-api-services.d.ts +51 -0
  459. package/lib/browser/extension/web-api-services.js +3 -0
  460. package/lib/browser/extension/web-extension-api.d.ts +45 -65
  461. package/lib/browser/extension/web-extension-context.d.ts +5 -10
  462. package/lib/browser/extension/web-extension-context.js +33 -21
  463. package/lib/browser/extension/web-extension-protocol.d.ts +8 -3
  464. package/lib/browser/extension/web-extension-run.js +0 -1
  465. package/lib/browser/extension/web-extensions.d.ts +4 -1
  466. package/lib/browser/extension/web-extensions.js +12 -0
  467. package/lib/browser/extension/web-tasks.d.ts +6 -1
  468. package/lib/browser/extension/web-tasks.js +11 -3
  469. package/lib/browser/extension/web-view-util.d.ts +0 -1
  470. package/lib/browser/extension/web-view-util.js +4 -5
  471. package/lib/browser/files/files.d.ts +1 -0
  472. package/lib/browser/files/files.js +14 -3
  473. package/lib/browser/game/game-control.d.ts +119 -0
  474. package/lib/browser/game/game-control.js +345 -0
  475. package/lib/browser/game/game-host.d.ts +14 -2
  476. package/lib/browser/game/game-host.js +22 -5
  477. package/lib/browser/game/game-protocol.d.ts +15 -0
  478. package/lib/browser/game/game-runner.d.ts +3 -1
  479. package/lib/browser/game/game-runner.js +6 -0
  480. package/lib/browser/game/game-util.d.ts +3 -0
  481. package/lib/browser/game/game-util.js +3 -0
  482. package/lib/browser/game/game-view.d.ts +5 -2
  483. package/lib/browser/game/game-view.js +4 -4
  484. package/lib/browser/game/game3d-protocol.d.ts +5 -1
  485. package/lib/browser/game/game3d-runner.d.ts +3 -1
  486. package/lib/browser/game/game3d-runner.js +14 -0
  487. package/lib/browser/gateway/console-agents.d.ts +12 -0
  488. package/lib/browser/gateway/console-agents.js +165 -0
  489. package/lib/browser/gateway/console-extension.js +0 -1
  490. package/lib/browser/gateway/console-limits.d.ts +20 -0
  491. package/lib/browser/gateway/console-limits.js +200 -0
  492. package/lib/browser/gateway/console-parts.d.ts +29 -22
  493. package/lib/browser/gateway/console-parts.js +72 -141
  494. package/lib/browser/gateway/console-tenant.d.ts +2 -4
  495. package/lib/browser/gateway/console-tenant.js +115 -208
  496. package/lib/browser/gateway/console-trend.js +6 -4
  497. package/lib/browser/gateway/console-view.js +134 -107
  498. package/lib/browser/hooks.js +1 -3
  499. package/lib/browser/hosts.d.ts +2 -0
  500. package/lib/browser/hosts.js +12 -2
  501. package/lib/browser/i18n/locales.d.ts +144 -14
  502. package/lib/browser/i18n/messages-ja.js +153 -23
  503. package/lib/browser/i18n/messages-zh-tw.js +153 -23
  504. package/lib/browser/i18n/messages.d.ts +141 -11
  505. package/lib/browser/i18n/messages.js +307 -47
  506. package/lib/browser/index.d.ts +1 -0
  507. package/lib/browser/index.js +1 -0
  508. package/lib/browser/links/links-protocol.d.ts +10 -1
  509. package/lib/browser/links/links.d.ts +11 -2
  510. package/lib/browser/links/links.js +65 -7
  511. package/lib/browser/links/system-links.d.ts +22 -0
  512. package/lib/browser/links/system-links.js +58 -0
  513. package/lib/browser/markdown/hooks.d.ts +3 -1
  514. package/lib/browser/markdown/hooks.js +12 -3
  515. package/lib/browser/markdown/mermaid.d.ts +18 -4
  516. package/lib/browser/markdown/mermaid.js +117 -17
  517. package/lib/browser/screen/screen-protocol.d.ts +74 -1
  518. package/lib/browser/screen/screen-protocol.js +15 -0
  519. package/lib/browser/screen/screen-scroll.d.ts +56 -0
  520. package/lib/browser/screen/screen-scroll.js +185 -0
  521. package/lib/browser/screen/screen.d.ts +34 -1
  522. package/lib/browser/screen/screen.js +172 -2
  523. package/lib/browser/settings/navigation.d.ts +9 -21
  524. package/lib/browser/settings/navigation.js +11 -31
  525. package/lib/browser/settings/settings-protocol.d.ts +9 -0
  526. package/lib/browser/settings/settings-protocol.js +19 -1
  527. package/lib/browser/settings/settings.d.ts +7 -1
  528. package/lib/browser/settings/settings.js +31 -7
  529. package/lib/browser/share/shared-extensions.js +4 -3
  530. package/lib/browser/share/shared-page.js +2 -2
  531. package/lib/browser/style/base.d.ts +1 -1
  532. package/lib/browser/style/base.js +8 -1
  533. package/lib/browser/style/chat-list.d.ts +1 -1
  534. package/lib/browser/style/chat-list.js +0 -3
  535. package/lib/browser/style/conversation.d.ts +1 -1
  536. package/lib/browser/style/conversation.js +42 -4
  537. package/lib/browser/style/dialogs.d.ts +1 -1
  538. package/lib/browser/style/dialogs.js +0 -1
  539. package/lib/browser/style/layout.d.ts +1 -1
  540. package/lib/browser/style/layout.js +7 -15
  541. package/lib/browser/style/pages.d.ts +1 -1
  542. package/lib/browser/style/pages.js +168 -112
  543. package/lib/browser/style/phone.d.ts +1 -1
  544. package/lib/browser/style/phone.js +8 -2
  545. package/lib/browser/style/shared.d.ts +1 -1
  546. package/lib/browser/style/shared.js +1 -0
  547. package/lib/browser/style/shell.d.ts +1 -1
  548. package/lib/browser/style/shell.js +12 -0
  549. package/lib/browser/style/surfaces.d.ts +1 -1
  550. package/lib/browser/style/surfaces.js +38 -13
  551. package/lib/browser/style/tasks.d.ts +1 -1
  552. package/lib/browser/style/tasks.js +16 -2
  553. package/lib/browser/style/tints.d.ts +5 -4
  554. package/lib/browser/style/tints.js +9 -9
  555. package/lib/browser/util/desktop.d.ts +7 -1
  556. package/lib/browser/util/desktop.js +17 -0
  557. package/lib/browser/util/image-swipe.d.ts +43 -0
  558. package/lib/browser/util/image-swipe.js +69 -0
  559. package/lib/browser/util/process.d.ts +31 -3
  560. package/lib/browser/util/process.js +74 -7
  561. package/lib/browser/util/share-link.d.ts +5 -0
  562. package/lib/browser/util/share-link.js +10 -0
  563. package/lib/browser/util/shell-words.d.ts +19 -0
  564. package/lib/browser/util/shell-words.js +400 -0
  565. package/lib/browser/util/spoken.d.ts +5 -0
  566. package/lib/browser/util/spoken.js +10 -1
  567. package/lib/browser/util/tool.d.ts +9 -0
  568. package/lib/browser/util/tool.js +71 -6
  569. package/lib/browser/util/transcript.js +3 -1
  570. package/lib/browser/util/turn-end.d.ts +18 -0
  571. package/lib/browser/util/turn-end.js +167 -0
  572. package/lib/browser/workbench-hosts.d.ts +1 -1
  573. package/lib/browser/workbench-hosts.js +2 -2
  574. package/lib/browser/workbench-protocol.d.ts +18 -3
  575. package/lib/browser/workbench-services.d.ts +9 -1
  576. package/lib/browser/workbench-services.js +38 -0
  577. package/lib/browser/workbench-util.d.ts +9 -3
  578. package/lib/browser/workbench-util.js +24 -4
  579. package/lib/browser/workbench.d.ts +3 -0
  580. package/lib/browser/workbench.js +35 -8
  581. package/package.json +7 -7
  582. package/esm/browser/components/list-skeleton.d.ts +0 -10
  583. package/esm/browser/components/list-skeleton.js +0 -31
  584. package/lib/browser/components/list-skeleton.d.ts +0 -11
  585. package/lib/browser/components/list-skeleton.js +0 -68
@@ -47,63 +47,38 @@ const use_screen_part_1 = require("../screen/use-screen-part");
47
47
  const workbench_util_1 = require("../workbench-util");
48
48
  const chat_asks_1 = require("./chat-asks");
49
49
  const chat_busy_1 = require("./chat-busy");
50
+ const chat_home_1 = require("./chat-home");
51
+ const chat_home_util_1 = require("./chat-home-util");
50
52
  const chat_icon_1 = require("./chat-icon");
53
+ const chat_list_hooks_1 = require("./chat-list-hooks");
51
54
  const chat_list_row_1 = require("./chat-list-row");
52
55
  const chat_list_util_1 = require("./chat-list-util");
53
56
  const chat_seen_1 = require("./chat-seen");
54
57
  const empty_state_1 = require("./empty-state");
55
58
  const host_tag_1 = require("./host-tag");
56
59
  const icon_1 = require("./icon");
60
+ const loading_1 = require("./loading");
57
61
  const phone_shell_1 = require("./phone-shell");
58
- /** The time now, again each minute. */
59
- function useMinute() {
60
- const [now, setNow] = React.useState(Date.now);
61
- React.useEffect(() => {
62
- const timer = setInterval(() => setNow(Date.now()), 60000);
63
- return () => clearInterval(timer);
64
- }, []);
65
- return now;
66
- }
67
- /** As the mark at the end of what a list draws comes near its view, `onEnd`: the next page is drawn. */
68
- function usePageEnd(more, root, end, onEnd,
69
- /** What the page drawn is: observed again as it changes. */
70
- page) {
71
- const latest = React.useRef(onEnd);
72
- latest.current = onEnd;
73
- // biome-ignore lint/correctness/useExhaustiveDependencies: observed again for each page drawn, its mark moved
74
- React.useEffect(() => {
75
- const mark = end.current;
76
- if (!more || !mark) {
77
- return;
78
- }
79
- const observer = new IntersectionObserver(entries => {
80
- // Drawn between the frames of the scroll, not in one of them.
81
- if (entries.some(entry => entry.isIntersecting)) {
82
- React.startTransition(() => latest.current());
83
- }
84
- }, { root: root.current, rootMargin: '0px 0px 800px 0px' });
85
- observer.observe(mark);
86
- return () => observer.disconnect();
87
- }, [more, page, root, end]);
88
- }
62
+ const ta_avatar_1 = require("./ta-avatar");
89
63
  /**
90
64
  * The conversations of the server, open or saved, the latest first, with a search and `+` for a new one:
91
65
  * by directory or package, each group folding and with a `+` of its own, or by day. Those not updated for
92
66
  * `foldDays` are folded at the end (of each group), those for `archiveDays` archived after them, read when
93
67
  * opened or searched, and those taken out last, folded, to put back. What comes many a day (the runs of scheduled
94
- * tasks) folds into one row of its folder (WebChatIcon.folder), pinned as a conversation is, which opens a list of its
68
+ * tasks) folds into one row of its folder (WebChatIcon.folder), pinned as a conversation is (pinned, it holds its archived
69
+ * conversations too and stays once they all are; the archive folds those of the others as the list does), which opens a list of its
95
70
  * own (on a phone pushed over the list, as a page of iOS, back with a swipe from the edge); a search finds them one by one. However long, it draws the rows of its first screens, and more as it is scrolled to its end.
96
71
  */
97
- function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSaved, onArchive, foldDays, archiveDays, selected, chat, byDirectory, onByDirectory, folded, onFolded, onPicked, double, notice, pinned, onPinned, looking, seen, letGo, onLetGo, onUnseen, busy = false, onBusy, }) {
72
+ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSaved, onArchive, foldDays, archiveDays, selected, chat, byDirectory, onByDirectory, folded, onFolded, onPicked, double, home, notice, pinned, onPinned, looking, seen, letGo, onLetGo, onUnseen, busy = false, onBusy, }) {
98
73
  const t = (0, use_t_1.useT)();
99
- const now = useMinute();
74
+ const now = (0, chat_list_hooks_1.useMinute)();
100
75
  const [query, setQuery] = React.useState('');
101
76
  const [removedOpen, setRemovedOpen] = React.useState(false);
102
77
  const [archiveOpen, setArchiveOpen] = React.useState(false);
103
78
  // The older of the list by day, and the groups whose older are shown: folded each time the list is drawn anew.
104
79
  const [olderOpen, setOlderOpen] = React.useState(false);
105
80
  // The folder whose conversations the list shows in place of its own (ChatFolder.key).
106
- // On a phone kept while it slides away (open false), as a page pushed is.
81
+ // On a phone kept while it slides away (open false), as a page pushed is; one of the archive lists those archived.
107
82
  const [folderShown, setFolderShown] = React.useState();
108
83
  const handheld = (0, device_1.useDevice)(device => device.handheld);
109
84
  const [groupsOlder, setGroupsOlder] = React.useState([]);
@@ -162,57 +137,78 @@ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSa
162
137
  const foldBefore = searching ? undefined : workbench_util_1.WorkbenchUtil.daysAgo(now, foldDays);
163
138
  // Those an extension archives sooner (WebChatIcon.archiveDays), asked again as its icons change.
164
139
  const icons = React.useContext(extension_view_1.ChatIcons);
165
- // biome-ignore lint/correctness/useExhaustiveDependencies: its bounds move with the day, as `since` does
166
- const sooner = React.useMemo(() => chat_icon_1.ChatIconUtil.archiveSince(icons.entries, now), [icons, since]);
140
+ const sooner = React.useMemo(() => chat_icon_1.ChatIconUtil.archiveSince(icons.entries, now), [icons, now]);
167
141
  // Those an extension folds into a row of their folder (WebChatIcon.folder), asked again as its icons change.
168
142
  const folderOf = React.useMemo(() => chat_icon_1.ChatIconUtil.folderOf(icons.entries), [icons]);
169
143
  // One that waits for the user is not archived, however old, as one pinned.
170
144
  const kept = React.useMemo(() => chat_list_util_1.ChatListUtil.keptFiles([...saved, ...(archivedSaved !== null && archivedSaved !== void 0 ? archivedSaved : [])], pinned, letGo), [saved, archivedSaved, pinned, letGo]);
171
145
  const { listed, archived, removed } = React.useMemo(() => chat_list_util_1.ChatListUtil.entries(sessions, saved, removedFiles, archivedSaved, since, kept, sooner, folderOf), [sessions, saved, removedFiles, archivedSaved, since, kept, sooner, folderOf]);
146
+ // A folder pinned holds its archived conversations too, and stays once they all are: a row pinned never goes away.
147
+ const { held, rest: archivedRest } = React.useMemo(() => chat_list_util_1.ChatListUtil.heldByPinned(archived, folderOf, pinned), [archived, folderOf, pinned]);
172
148
  const sources = React.useMemo(() => chat_list_util_1.ChatListUtil.sources(listed), [listed]);
149
+ // The double's tasks: what waits for the user above the rest, those that are no conversation rows by their time.
150
+ const allTasks = home === null || home === void 0 ? void 0 : home.tasks;
151
+ const homeTasks = React.useMemo(() => (allTasks ? chat_home_util_1.ChatHomeUtil.tasks(allTasks) : undefined), [allTasks]);
152
+ // The rows extensions add to the double's list (a daily brief), and the conversations they stand for.
153
+ const allItems = home === null || home === void 0 ? void 0 : home.items;
154
+ const homeItems = React.useMemo(() => (allItems ? chat_home_util_1.ChatHomeUtil.items(allItems) : []), [allItems]);
155
+ const standIns = React.useMemo(() => chat_home_util_1.ChatHomeUtil.standIns(homeItems), [homeItems]);
156
+ // On the double's list its own conversation is its card, one that waits for the user is under the card, and one a
157
+ // row of the home stands for is that row.
158
+ const onHome = React.useCallback((entry) => !!homeTasks &&
159
+ ((!!double && chat_list_util_1.ChatListUtil.isDouble(entry, double)) ||
160
+ homeTasks.hidden.has(chat_list_util_1.ChatListUtil.file(entry)) ||
161
+ standIns.has(chat_list_util_1.ChatListUtil.file(entry)) ||
162
+ (chat_list_util_1.ChatListUtil.isOpen(entry) && homeTasks.hidden.has(entry.sessionId))), [homeTasks, double, standIns]);
173
163
  // A search finds the archived too.
174
- const shown = React.useMemo(() => chat_list_util_1.ChatListUtil.filter(searching ? [...listed, ...archived] : listed, query, t), [listed, archived, searching, query, t]);
164
+ const shown = React.useMemo(() => chat_list_util_1.ChatListUtil.filter(searching ? [...listed, ...archived] : listed, query, t).filter(entry => !onHome(entry)), [listed, archived, searching, query, t, onHome]);
165
+ // The conversation of a task (WebTask.session), by its file or the id of its session.
166
+ const byFile = React.useMemo(() => new Map(listed.flatMap(entry => [
167
+ [chat_list_util_1.ChatListUtil.file(entry), entry],
168
+ ...(chat_list_util_1.ChatListUtil.isOpen(entry) ? [[entry.sessionId, entry]] : []),
169
+ ])), [listed]);
170
+ // A task whose conversation the list does not have is a row of its own; those that ended before the archive's bound are archived.
171
+ const { listed: taskRows, archived: archivedTasks } = React.useMemo(() => chat_home_util_1.ChatHomeUtil.rows(homeTasks, allTasks, file => byFile.has(file), query, searching ? undefined : since, archived.map(chat_list_util_1.ChatListUtil.file)), [homeTasks, allTasks, byFile, query, searching, since, archived]);
175
172
  const shownRemoved = React.useMemo(() => chat_list_util_1.ChatListUtil.filter(removed, query, t), [removed, query, t]);
176
- // Those that wait for the user to decide are at the very top, then those pinned, whatever their day or directory.
177
- const asks = React.useMemo(() => (searching ? { asking: [], rest: shown } : chat_asks_1.ChatAskUtil.apart(shown, letGo)), [shown, letGo, searching]);
178
- const apart = React.useMemo(() => chat_list_util_1.ChatListUtil.pinnedApart(asks.rest, pinned), [asks.rest, pinned]);
173
+ // Those pinned at the top, whatever their day or directory. Those that wait for the user to decide stay where they
174
+ // are, marked by a blue ?: the double's home gathers them (docs/design/ta-decide.md).
175
+ const apart = React.useMemo(() => chat_list_util_1.ChatListUtil.pinnedApart(shown, pinned), [shown, pinned]);
179
176
  // Each folder one row where its latest is; those pinned or asking the user stay above, as any other.
180
- const { folders: allFolders, rest } = React.useMemo(() => (searching ? { folders: [], rest: apart.rest } : chat_list_util_1.ChatListUtil.folders(apart.rest, folderOf)), [apart.rest, folderOf, searching]);
181
- // A folder pinned is a row of those pinned, as a conversation pinned.
177
+ const { folders: allFolders, rest } = React.useMemo(() => (searching ? { folders: [], rest: apart.rest } : chat_list_util_1.ChatListUtil.folders([...apart.rest, ...held], folderOf)), [apart.rest, held, folderOf, searching]);
178
+ // A folder pinned is a row of those pinned, as a conversation pinned; so is a row of the home.
182
179
  const { pinned: pinnedFolders, rest: folders } = React.useMemo(() => chat_list_util_1.ChatListUtil.pinnedApart(allFolders, pinned), [allFolders, pinned]);
183
- const pinnedRows = React.useMemo(() => chat_list_util_1.ChatListUtil.withFolders(apart.pinned, pinnedFolders), [apart.pinned, pinnedFolders]);
184
- // The folder opened: all of it, those pinned too, as the search of the list finds them.
185
- const folder = React.useMemo(() => (folderShown ? chat_list_util_1.ChatListUtil.folders(listed, folderOf).folders.find(candidate => candidate.key === folderShown.key) : undefined), [folderShown, listed, folderOf]);
180
+ const homeRows = React.useMemo(() => homeItems.filter(item => chat_home_util_1.ChatHomeUtil.matches(query, item.title, item.detail)).map(chat_home_util_1.ChatHomeUtil.homeRow), [homeItems, query]);
181
+ const { pinned: pinnedHome, rest: homeRest } = React.useMemo(() => chat_list_util_1.ChatListUtil.pinnedApart(homeRows, pinned), [homeRows, pinned]);
182
+ const pinnedRows = React.useMemo(() => chat_list_util_1.ChatListUtil.withFolders(apart.pinned, [...pinnedFolders, ...pinnedHome]), [apart.pinned, pinnedFolders, pinnedHome]);
183
+ (0, chat_list_hooks_1.useOfferPins)(listed, folderOf, homeItems);
184
+ // The folder opened: all of it, those pinned too, as the search of the list finds them; one of the archive, its archived.
185
+ const folder = React.useMemo(() => folderShown
186
+ ? chat_list_util_1.ChatListUtil.folders(folderShown.archived ? archivedRest : [...listed, ...held], folderOf).folders.find(candidate => candidate.key === folderShown.key)
187
+ : undefined, [folderShown, listed, held, archivedRest, folderOf]);
186
188
  const folderRows = React.useMemo(() => (folder ? chat_list_util_1.ChatListUtil.filter(folder.sessions, query, t) : []), [folder, query, t]);
187
189
  const folderOpen = !!folder && !!(folderShown === null || folderShown === void 0 ? void 0 : folderShown.open);
188
190
  const lookedAt = looking ? sessions.find(session => session.sessionId === looking) : undefined;
189
191
  const inFront = lookedAt && chat_list_util_1.ChatListUtil.file(lookedAt);
190
192
  // What a search finds is one list by day, wherever it is.
191
193
  const grouped = byDirectory && sources.length > 1 && !searching;
192
- const archiveShown = archiveDays > 0 && (archivedSaved ? archived.length > 0 : listed.length > 0);
193
- const readArchive = () => {
194
- if (archiveDays > 0) {
195
- onArchive();
196
- }
197
- };
198
- // One pinned long ago is in the archive, which the list reads for it.
199
- const pinnedAway = !archivedSaved &&
200
- pinned.some(file => !chat_list_util_1.ChatListUtil.isFolderKey(file) && !listed.some(session => chat_list_util_1.ChatListUtil.file(session) === file) && !removedFiles.includes(file));
201
- // biome-ignore lint/correctness/useExhaustiveDependencies: once as a search starts, or as the list has none (all may be archived) or misses one pinned
202
- React.useEffect(() => {
203
- if (searching || listed.length === 0 || pinnedAway) {
204
- readArchive();
205
- }
206
- }, [searching, listed.length === 0, pinnedAway]);
194
+ const archiveShown = archiveDays > 0 && (archivedSaved ? archivedRest.length + archivedTasks.length > 0 : listed.length > 0 || archivedTasks.length > 0);
195
+ const readArchive = (0, chat_list_hooks_1.useReadArchive)({ archiveDays, onArchive, read: !!archivedSaved, searching, listed, pinned, folderOf, removed: removedFiles });
207
196
  const draftIn = (cwd) => pick(chat.draft().then(() => chat.setDraftCwd(cwd)));
208
197
  const fold = (key) => onFolded(folded.includes(key) ? folded.filter(other => other !== key) : [...folded, key]);
209
198
  const byKey = React.useMemo(() => new Map([...sources, ...chat_list_util_1.ChatListUtil.sources([...archived, ...removed])].map(candidate => [candidate.key, candidate])), [sources, archived, removed]);
210
- const isSelected = (session) => chat_list_util_1.ChatListUtil.key(session) === selected;
199
+ const isSelected = (session) => (typeof session === 'string' ? session : chat_list_util_1.ChatListUtil.key(session)) === selected;
211
200
  const isUnseen = (session) => chat_seen_1.ChatSeenUtil.unseen({ ...session, isStreaming: chat_list_util_1.ChatListUtil.isOpen(session) && session.isStreaming }, chat_list_util_1.ChatListUtil.file(session), seen, inFront);
212
201
  // What is folded or not drawn yet still has the conversation shown, and those unseen: the dot of the tab finds them.
213
202
  const stays = (session) => isSelected(session) || isUnseen(session);
203
+ const taskUnseen = (task) => chat_home_util_1.ChatHomeUtil.unseen(task, seen);
214
204
  // A folder has the conversation shown and those unseen when one of its own does.
215
- const rowStays = (row) => (chat_list_util_1.ChatListUtil.isFolder(row) ? row.sessions.some(stays) : stays(row));
205
+ const rowStays = (row) => chat_list_util_1.ChatListUtil.isFolder(row)
206
+ ? row.sessions.some(stays)
207
+ : chat_list_util_1.ChatListUtil.isTask(row)
208
+ ? taskUnseen(row.task)
209
+ : chat_list_util_1.ChatListUtil.isHome(row)
210
+ ? !!row.item.unseen
211
+ : stays(row);
216
212
  const budget = chat_list_util_1.ChatListUtil.budget(pageCount, rowStays);
217
213
  const pinnedKeys = React.useMemo(() => new Set(pinned), [pinned]);
218
214
  const drafts = (0, use_composer_draft_1.useDrafts)();
@@ -222,10 +218,9 @@ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSa
222
218
  const kept = isSelected(session) ? undefined : drafts[place];
223
219
  return kept && drafts_protocol_1.DraftsUtil.preview(kept);
224
220
  };
225
- const item = (session, compact) => { var _a; return (React.createElement(chat_list_row_1.ChatItem, { key: chat_list_util_1.ChatListUtil.key(session), session: session, source: byKey.get(chat_list_util_1.ChatListUtil.sourceKey(session)), selected: chat_list_util_1.ChatListUtil.key(session) === selected, time: chat_list_util_1.ChatListUtil.clock(session.updatedAt, now), compact: compact, actions: actions, task: chat_list_util_1.ChatListUtil.isOpen(session) ? double === null || double === void 0 ? void 0 : double.tasks.get(session.sessionId) : undefined, doubleName: double && chat_list_util_1.ChatListUtil.isDouble(session, double) ? double.name : undefined, handable: !!double && chat_list_util_1.ChatListUtil.isOpen(session) && !session.group && !double.tasks.has(session.sessionId) && !chat_list_util_1.ChatListUtil.isDouble(session, double), pinned: pinnedKeys.has(chat_list_util_1.ChatListUtil.file(session)), unseen: isUnseen(session), asking: (_a = chat_asks_1.ChatAskUtil.asking(session, letGo)) === null || _a === void 0 ? void 0 : _a.question, draft: draftOf(session) })); };
226
- // What an agent reads of the list and does to it, as the user does (docs/design/ta-app-use.md 3): the rows in sight, at most 30.
227
- const inSight = () => (folder ? folderRows : [...asks.asking, ...apart.pinned, ...apart.rest]).slice(0, 30);
228
- const entryOf = (file) => inSight().find(entry => chat_list_util_1.ChatListUtil.file(entry) === file);
221
+ const item = (session, compact) => { var _a; var _b; return (React.createElement(chat_list_row_1.ChatItem, { key: chat_list_util_1.ChatListUtil.key(session), session: session, source: byKey.get(chat_list_util_1.ChatListUtil.sourceKey(session)), selected: chat_list_util_1.ChatListUtil.key(session) === selected, time: chat_list_util_1.ChatListUtil.clock(session.updatedAt, now), compact: compact, actions: actions, task: (_b = (chat_list_util_1.ChatListUtil.isOpen(session) ? double === null || double === void 0 ? void 0 : double.tasks.get(session.sessionId) : undefined)) !== null && _b !== void 0 ? _b : (session.sessionFile ? double === null || double === void 0 ? void 0 : double.tasks.get(session.sessionFile) : undefined), doubleName: double && chat_list_util_1.ChatListUtil.isDouble(session, double) ? double.name : undefined, handable: !!double && chat_list_util_1.ChatListUtil.isOpen(session) && !session.group && !double.tasks.has(session.sessionId) && !chat_list_util_1.ChatListUtil.isDouble(session, double), pinned: pinnedKeys.has(chat_list_util_1.ChatListUtil.file(session)), unseen: isUnseen(session), asking: (_a = chat_asks_1.ChatAskUtil.asking(session, letGo)) === null || _a === void 0 ? void 0 : _a.question, draft: draftOf(session) })); };
222
+ // What an agent reads of the list and does to it (docs/design/ta-app-use.md 3): the screen keeps the rows drawn in sight.
223
+ const inSight = () => (folder ? folderRows : [...apart.pinned, ...apart.rest]);
229
224
  (0, use_screen_part_1.useScreenPart)({
230
225
  id: 'chats',
231
226
  title: folder ? folder.title : t('ta.chat'),
@@ -247,7 +242,7 @@ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSa
247
242
  label: t('ta.screen.open'),
248
243
  each: true,
249
244
  run: file => {
250
- const entry = entryOf(file);
245
+ const entry = inSight().find(one => chat_list_util_1.ChatListUtil.file(one) === file);
251
246
  if (entry) {
252
247
  actions.open(entry);
253
248
  }
@@ -270,15 +265,20 @@ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSa
270
265
  stop: { label: t('ta.stop'), each: true, command: 'chats.stop', commandInput: file => ({ file }) },
271
266
  search: { label: t('ta.chat.search'), takes: 'text', run: (_file, input) => { var _a; return setQuery(String((_a = input.text) !== null && _a !== void 0 ? _a : '')); } },
272
267
  },
268
+ scroll: { more: () => ((folder ? folderBudget : budget).more ? 'bottom' : undefined) },
273
269
  });
274
270
  // Into a folder from the top of its list, and back where the list was left.
275
271
  const listScroll = React.useRef(0);
276
- const openFolder = (key) => {
272
+ const openFolder = (key, archived) => {
277
273
  var _a;
278
274
  var _b;
279
275
  listScroll.current = (_b = (_a = scroller.current) === null || _a === void 0 ? void 0 : _a.scrollTop) !== null && _b !== void 0 ? _b : 0;
280
- setFolderShown({ key, open: true });
276
+ setFolderShown({ key, open: true, ...(archived ? { archived } : {}) });
281
277
  setQuery('');
278
+ // A folder pinned lists its archived conversations too.
279
+ if (!archivedSaved && pinned.includes(key)) {
280
+ readArchive();
281
+ }
282
282
  };
283
283
  const closeFolder = () => {
284
284
  setFolderShown(current => (handheld && current ? { ...current, open: false } : undefined));
@@ -304,8 +304,10 @@ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSa
304
304
  setFolderShown(undefined);
305
305
  }
306
306
  }, [folderShown, folder]);
307
- const folderItem = (row) => (React.createElement(chat_list_row_1.ChatFolderItem, { key: row.key, folder: row, time: chat_list_util_1.ChatListUtil.clock(row.updatedAt, now), selected: row.sessions.some(isSelected), unseen: row.sessions.some(isUnseen), pinned: pinnedKeys.has(row.key), onOpen: () => openFolder(row.key), onPin: pin => pinKey(row.key, pin) }));
308
- const rowItem = (row) => (chat_list_util_1.ChatListUtil.isFolder(row) ? folderItem(row) : item(row));
307
+ const folderItem = (row, archived) => (React.createElement(chat_list_row_1.ChatFolderItem, { key: row.key, folder: row, time: chat_list_util_1.ChatListUtil.clock(row.updatedAt, now), selected: row.sessions.some(isSelected), unseen: row.sessions.filter(isUnseen), pinned: pinnedKeys.has(row.key), onOpen: () => openFolder(row.key, archived), onPin: pin => pinKey(row.key, pin), actions: actions }));
308
+ const taskItem = (row) => home && (React.createElement(chat_home_1.ChatTaskItem, { key: row.key, task: row.task, home: home, unseen: taskUnseen(row.task), time: chat_list_util_1.ChatListUtil.clock(row.updatedAt, now), onPicked: onPicked }));
309
+ const homeItem = (row) => { var _a; return home && (React.createElement(chat_home_1.ChatHomeItem, { key: row.key, item: row.item, time: row.item.at ? chat_list_util_1.ChatListUtil.clock(row.item.at, now) : '', home: home, selected: !!row.item.sessionFile && isSelected((_a = byFile.get(row.item.sessionFile)) !== null && _a !== void 0 ? _a : row.item.sessionFile), pinned: pinnedKeys.has(row.key), onPin: pin => pinKey(row.key, pin) })); };
310
+ const rowItem = (row, compact) => chat_list_util_1.ChatListUtil.isFolder(row) ? folderItem(row) : chat_list_util_1.ChatListUtil.isTask(row) ? taskItem(row) : chat_list_util_1.ChatListUtil.isHome(row) ? homeItem(row) : item(row, compact);
309
311
  // The conversation shown is found in the list, however it came to be shown: out of a search that hides it, and scrolled to.
310
312
  const scroller = React.useRef(null);
311
313
  const end = React.useRef(null);
@@ -339,14 +341,14 @@ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSa
339
341
  const [recent, older] = chat_list_util_1.ChatListUtil.split(sessions, foldBefore);
340
342
  const olderShown = groupsOlder.includes(key);
341
343
  // Folded, a group still has the conversation shown and those unseen; so do its older ones.
342
- const candidates = closed ? sessions.filter(stays) : olderShown ? sessions : [...recent, ...older.filter(stays)];
344
+ const candidates = closed ? sessions.filter(rowStays) : olderShown ? sessions : [...recent, ...older.filter(rowStays)];
343
345
  const rows = budget.take(candidates);
344
346
  if (rows.length === 0 && candidates.length > 0) {
345
347
  return null;
346
348
  }
347
349
  return (React.createElement("section", { key: key, className: "ta-chat-group" },
348
350
  head,
349
- rows.length > 0 && React.createElement("ul", { className: "ta-side-list" }, rows.map(session => item(session, true))),
351
+ rows.length > 0 && React.createElement("ul", { className: "ta-side-list" }, rows.map(row => rowItem(row, true))),
350
352
  !closed &&
351
353
  older.length > 0 &&
352
354
  rows.length === candidates.length &&
@@ -354,13 +356,27 @@ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSa
354
356
  };
355
357
  // The rows in the order of the list, as far as the budget goes: what is drawn after uses what is left. By
356
358
  // directory, a folder is a group as a directory is, where its latest is.
359
+ // By directory, the double's tasks that are no conversation are a group of their own, where the latest of them is.
360
+ const doubleRows = [...homeRest, ...taskRows].sort((a, b) => b.updatedAt - a.updatedAt);
361
+ const taskGroup = grouped &&
362
+ doubleRows.length > 0 &&
363
+ groupSection('tasks', React.createElement("div", { className: "ta-chat-group-head" },
364
+ React.createElement("button", { type: "button", className: "ta-chat-group-toggle", "aria-expanded": !folded.includes('tasks'), onClick: () => fold('tasks') },
365
+ React.createElement(ta_avatar_1.DinoFace, { size: 20, mood: "idle" }),
366
+ React.createElement("span", { className: "ta-chat-group-label" }, t('ta.home.tasks')),
367
+ React.createElement("span", { className: "ta-chat-group-count" }, doubleRows.length),
368
+ React.createElement(icon_1.Icon, { icon: lucide_react_1.ChevronRight, size: 13, className: "ta-chat-group-chevron" }))), doubleRows);
357
369
  const list = grouped
358
370
  ? [
371
+ ...(taskGroup ? [{ latest: doubleRows[0].updatedAt, group: undefined, folder: undefined, tasks: taskGroup }] : []),
359
372
  ...chat_list_util_1.ChatListUtil.groups(rest, sources).map(group => { var _a; var _b; return ({ latest: (_b = (_a = group.sessions[0]) === null || _a === void 0 ? void 0 : _a.updatedAt) !== null && _b !== void 0 ? _b : 0, group, folder: undefined }); }),
360
373
  ...folders.map(folder => ({ latest: folder.updatedAt, group: undefined, folder })),
361
374
  ]
362
375
  .sort((a, b) => b.latest - a.latest)
363
- .map(({ group, folder }) => {
376
+ .map(({ group, folder, tasks }) => {
377
+ if (tasks) {
378
+ return tasks;
379
+ }
364
380
  if (folder) {
365
381
  return groupSection(folder.key, React.createElement("div", { className: "ta-chat-group-head" },
366
382
  React.createElement("button", { type: "button", className: "ta-chat-group-toggle", "aria-expanded": !folded.includes(folder.key), title: folder.title, onClick: () => fold(folder.key) },
@@ -380,12 +396,12 @@ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSa
380
396
  source.cwd && (React.createElement(icon_1.IconButton, { className: "ta-chat-group-add", icon: lucide_react_1.Plus, label: t('ta.chat.newIn', { name: source.label }), onClick: () => draftIn(source.cwd) }))), sessions);
381
397
  })
382
398
  : (() => {
383
- const [recent, older] = chat_list_util_1.ChatListUtil.split(chat_list_util_1.ChatListUtil.withFolders(rest, folders), foldBefore);
399
+ const [recent, older] = chat_list_util_1.ChatListUtil.split(chat_list_util_1.ChatListUtil.withFolders(rest, [...folders, ...taskRows, ...homeRest]), foldBefore);
384
400
  const sections = chat_list_util_1.ChatListUtil.sections(recent, now).map(section => {
385
401
  const rows = budget.take(section.sessions);
386
402
  return (rows.length > 0 && (React.createElement("section", { key: section.id, className: "ta-chat-section" },
387
403
  React.createElement("div", { className: "ta-chat-section-title" }, t(section.id)),
388
- React.createElement("ul", { className: "ta-side-list" }, rows.map(rowItem)))));
404
+ React.createElement("ul", { className: "ta-side-list" }, rows.map(row => rowItem(row))))));
389
405
  });
390
406
  // Folded, the older still have the conversation shown and those unseen, drawn even before the rows above them are.
391
407
  const cut = budget.more;
@@ -394,20 +410,21 @@ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSa
394
410
  ...sections,
395
411
  older.length > 0 && (!cut || olderRows.length > 0) && (React.createElement("section", { key: "older", className: "ta-chat-section ta-chat-older" },
396
412
  toggle(t('ta.chat.olderCount', { days: foldDays, count: older.length }), olderOpen, () => setOlderOpen(!olderOpen)),
397
- olderRows.length > 0 && React.createElement("ul", { className: "ta-side-list" }, olderRows.map(rowItem)))),
413
+ olderRows.length > 0 && React.createElement("ul", { className: "ta-side-list" }, olderRows.map(row => rowItem(row))))),
398
414
  ];
399
415
  })();
400
416
  // The archive, after the list once it is all drawn: read each time it opens, as it is not read with the list.
401
417
  const archive = !searching && archiveShown && !budget.more && (React.createElement("section", { className: "ta-chat-section ta-chat-archive" },
402
- toggle(archivedSaved ? t('ta.chat.archivedCount', { count: archived.length }) : t('ta.chat.archived'), archiveOpen, () => {
418
+ toggle(archivedSaved ? t('ta.chat.archivedCount', { count: archivedRest.length + archivedTasks.length }) : t('ta.chat.archived'), archiveOpen, () => {
403
419
  if (!archiveOpen) {
404
420
  readArchive();
405
421
  }
406
422
  setArchiveOpen(!archiveOpen);
407
423
  }, t('ta.chat.archivedHint', { count: archiveDays })),
408
424
  archiveOpen &&
409
- (archivedSaved ? (React.createElement("ul", { className: "ta-side-list" }, budget.take(chat_list_util_1.ChatListUtil.filter(archived, '', t)).map(session => item(session)))) : (React.createElement("div", { className: "ta-chat-archive-wait" },
410
- React.createElement("span", { className: "ta-spinner" }))))));
425
+ (archivedSaved ? (React.createElement("ul", { className: "ta-side-list" }, budget
426
+ .take(chat_list_util_1.ChatListUtil.archiveRows(chat_list_util_1.ChatListUtil.filter(archivedRest, '', t), folderOf, archivedTasks))
427
+ .map(row => (chat_list_util_1.ChatListUtil.isFolder(row) ? folderItem(row, true) : rowItem(row))))) : (React.createElement(loading_1.Loading, { compact: true })))));
411
428
  const taken = shownRemoved.length > 0 && !budget.more && (React.createElement("section", { className: "ta-chat-section ta-chat-removed" },
412
429
  toggle(t('ta.chat.removed', { count: shownRemoved.length }), removedOpen, () => setRemovedOpen(!removedOpen)),
413
430
  removedOpen && (React.createElement("ul", { className: "ta-side-list" }, budget.take(shownRemoved).map(session => (React.createElement(chat_list_row_1.ChatItem, { key: chat_list_util_1.ChatListUtil.key(session), session: session, source: byKey.get(chat_list_util_1.ChatListUtil.sourceKey(session)), selected: false, time: chat_list_util_1.ChatListUtil.clock(session.updatedAt, now), actions: actions, restorable: true })))))));
@@ -439,24 +456,28 @@ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSa
439
456
  React.createElement("span", { className: "ta-chat-filter-count" }, busyRows.length),
440
457
  React.createElement(icon_1.Icon, { icon: lucide_react_1.X, size: 13 }))),
441
458
  busyRows.length > 0 ? (React.createElement("ul", { className: "ta-side-list" }, busyRows.map(session => item(session)))) : (React.createElement(empty_state_1.EmptyState, { title: t(query.trim() ? 'ta.chat.noMatch' : 'ta.chats.busyNone') }))));
459
+ // The double's card and the rows under it, then what waits for the user: above all the rest.
460
+ const homeWaiting = homeTasks ? homeTasks.waiting.filter(task => chat_home_util_1.ChatHomeUtil.matches(query, task.title, task.detail)) : [];
461
+ const doubleEntry = home && double ? listed.find(entry => chat_list_util_1.ChatListUtil.isDouble(entry, double)) : undefined;
462
+ const homeTop = home && (React.createElement(chat_home_1.ChatHomeTop, { home: home, double: chat_home_util_1.ChatHomeUtil.matches(query, home.double.name), waiting: homeWaiting, counts: chat_home_util_1.ChatHomeUtil.counts(home.tasks, task => {
463
+ const entry = task.session ? byFile.get(task.session) : undefined;
464
+ return entry ? isUnseen(entry) : !task.session && taskUnseen(task);
465
+ }), unseen: !!doubleEntry && isUnseen(doubleEntry), now: now, onPicked: onPicked }));
466
+ const nothingFound = shown.length === 0 && taskRows.length === 0 && homeRows.length === 0;
442
467
  const listContent = busy ? (busyContent) : (React.createElement(React.Fragment, null,
443
- asks.asking.length > 0 && (React.createElement("section", { className: "ta-chat-section ta-chat-asks" },
444
- React.createElement("div", { className: "ta-chat-section-title" },
445
- t('ta.chat.asks'),
446
- React.createElement("span", { className: "ta-chat-asks-count" }, asks.asking.length)),
447
- React.createElement("ul", { className: "ta-side-list" }, asks.asking.map(session => item(session))))),
468
+ homeTop,
448
469
  pinnedRows.length > 0 && (React.createElement("section", { className: "ta-chat-section ta-chat-pinned" },
449
470
  React.createElement("div", { className: "ta-chat-section-title" }, t('ta.chat.pinned')),
450
- React.createElement("ul", { className: "ta-side-list" }, pinnedRows.map(rowItem)))),
471
+ React.createElement("ul", { className: "ta-side-list" }, pinnedRows.map(row => rowItem(row))))),
451
472
  list,
452
- shown.length === 0 && (React.createElement(empty_state_1.EmptyState, { title: t(listed.length ? 'ta.chat.noMatch' : 'ta.chat.none'), hint: listed.length ? undefined : t('ta.chat.noneHint') })),
473
+ nothingFound && (!home || searching) && (React.createElement(empty_state_1.EmptyState, { title: t(listed.length ? 'ta.chat.noMatch' : 'ta.chat.none'), hint: listed.length ? undefined : t('ta.chat.noneHint') })),
453
474
  archive,
454
475
  taken));
455
476
  // Near the end of what is drawn, the next page is: the mark at the end is seen well before it scrolls into view.
456
477
  const nextPage = () => setPaged({ query, count: pageCount + chat_list_util_1.CHAT_PAGE });
457
478
  const pageKey = `${pageCount}:${query}`;
458
- usePageEnd(budget.more && !(folderOpen && !handheld), scroller, end, nextPage, pageKey);
459
- usePageEnd(!!folder && folderBudget.more, folderScroller, folderEnd, nextPage, pageKey);
479
+ (0, chat_list_hooks_1.usePageEnd)(budget.more && !(folderOpen && !handheld), scroller, end, nextPage, pageKey);
480
+ (0, chat_list_hooks_1.usePageEnd)(!!folder && folderBudget.more, folderScroller, folderEnd, nextPage, pageKey);
460
481
  const head = (React.createElement("header", { className: "ta-chats-head" },
461
482
  React.createElement("label", { className: "ta-chats-search" },
462
483
  React.createElement(icon_1.Icon, { icon: lucide_react_1.Search, size: 15 }),
@@ -474,6 +495,16 @@ function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSa
474
495
  React.createElement("div", { className: "ta-side-scroll", ref: folderScroller },
475
496
  folderList,
476
497
  folderBudget.more && React.createElement("div", { ref: folderEnd, className: "ta-chat-more", "aria-hidden": "true" }))));
498
+ // On a phone those going on are a page pushed over a tab (AppShell's PhoneHome): its head, as a folder's, goes back.
499
+ if (busy && handheld) {
500
+ return (React.createElement("section", { className: "ta-chats", "aria-label": t('ta.chats.busy'), ...screen_protocol_1.ScreenUtil.part('chats') },
501
+ React.createElement("div", { className: "ta-chat-folder-head" },
502
+ React.createElement(icon_1.IconButton, { className: "ta-chat-folder-back", icon: lucide_react_1.ChevronLeft, label: t('ta.back'), onClick: () => onBusy === null || onBusy === void 0 ? void 0 : onBusy(false) }),
503
+ React.createElement("span", { className: "ta-chat-folder-title" }, t('ta.chats.busy')),
504
+ React.createElement("span", { className: "ta-chat-group-count" }, busyRows.length)),
505
+ notice,
506
+ React.createElement("div", { className: "ta-side-scroll", ref: scroller }, busyRows.length > 0 ? (React.createElement("ul", { className: "ta-side-list" }, busyRows.map(session => item(session)))) : (React.createElement(empty_state_1.EmptyState, { title: t('ta.chats.busyNone') })))));
507
+ }
477
508
  // On a phone the folder is pushed over the list, as a page of iOS: back with its button, a swipe from the left
478
509
  // edge or the back of the system; the list keeps its search, which finds the runs one by one.
479
510
  return (React.createElement("section", { className: "ta-chats", "aria-label": t('ta.chat'), ...screen_protocol_1.ScreenUtil.part('chats') }, handheld ? (React.createElement(phone_shell_1.PhoneStack, { base: React.createElement(React.Fragment, null,
@@ -0,0 +1,62 @@
1
+ import type { TaSignInProvider } from '@celljs/ta-protocol';
2
+ import * as React from 'react';
3
+ import { type CloudSignInProgress } from '../cloud/cloud-sign-in';
4
+ /** The Ta in the cloud the sign-in offers first, its ways to sign in known: the one picked here, else the build's. */
5
+ export interface KnownCloud {
6
+ url: string;
7
+ name?: string;
8
+ providers: TaSignInProvider[];
9
+ /** Its gateway did not answer this time (outside the company's network): signed in to all the same, to say why it fails. */
10
+ unreachable?: true;
11
+ /** What a device does to reach it, by language (TaDistribution.reach): the build's, not another company's. */
12
+ reach?: Record<string, string>;
13
+ }
14
+ /**
15
+ * What a device does to reach the gateway at `url`, in the language of the page: told by the build for its deployment
16
+ * (TaDistribution.reach); none for another.
17
+ */
18
+ export declare function useCloudReach(url: string | undefined): string | undefined;
19
+ /**
20
+ * The ways to sign in of the Ta in the cloud of this build's deployment (a company's accounts), offered first on the
21
+ * sign-in: one tap goes to them, no address, no code. Undefined in a build for none; with no ways while its gateway does
22
+ * not answer, still the one signed in to, never an address to type.
23
+ */
24
+ export declare function useBuiltInWays(): KnownCloud | undefined;
25
+ /**
26
+ * useBuiltInWays, and whether the sign-in may be drawn yet (`settled`): once what it shows will stay, so that it is not
27
+ * a page of a computer turning into one of a company's accounts. What this device kept shows at once; the first time,
28
+ * the gateway is waited for SETTLE_MS at most.
29
+ */
30
+ export declare function useBuiltInState(): {
31
+ known?: KnownCloud;
32
+ settled: boolean;
33
+ };
34
+ /** A button per way to sign in of the Ta in the cloud of this build, first on the sign-in. */
35
+ export declare function BuiltInSignIn({ known, onPick, onOther }: {
36
+ known: KnownCloud;
37
+ onPick(provider?: string): void;
38
+ onOther(): void;
39
+ }): React.JSX.Element;
40
+ /** Signing in to Ta in the cloud, from an address (or the gateway of this build) to the computer kept and in use. */
41
+ export declare function useCloudSignIn(): {
42
+ busy: boolean;
43
+ progress: CloudSignInProgress | undefined;
44
+ error: "ta.access.add" | "ta.access.addHint" | "ta.access.added" | "ta.access.allow" | "ta.access.bind" | "ta.access.bindHint" | "ta.access.browser" | "ta.access.dismiss" | "ta.access.fromEnv" | "ta.access.lastUsed" | "ta.access.none" | "ta.access.noneHint" | "ta.access.open" | "ta.access.openHint" | "ta.access.openOff" | "ta.access.openOffConfirm" | "ta.access.openOffDetail" | "ta.access.remove" | "ta.access.removeAccount" | "ta.access.removeConfirm" | "ta.access.removeDetail" | "ta.access.requested" | "ta.access.signOut" | "ta.access.thisBrowser" | "ta.access.title" | "ta.account" | "ta.account.menu" | "ta.account.service" | "ta.account.switchSignIn" | "ta.ask.no" | "ta.ask.start" | "ta.ask.title" | "ta.ask.waiting" | "ta.assistant.attention" | "ta.assistant.busy" | "ta.assistant.confirmOn" | "ta.assistant.confirmShort" | "ta.assistant.copied" | "ta.assistant.copyCwd" | "ta.assistant.cwdTitle" | "ta.assistant.endedTasks" | "ta.assistant.export" | "ta.assistant.forbidden" | "ta.assistant.hello" | "ta.assistant.look" | "ta.assistant.me" | "ta.assistant.noTasks" | "ta.assistant.noTasksHint" | "ta.assistant.nothingToExport" | "ta.assistant.offline" | "ta.assistant.placeholder" | "ta.assistant.poke" | "ta.assistant.prompt" | "ta.assistant.promptTitle" | "ta.assistant.rename" | "ta.assistant.restart" | "ta.assistant.restartHint" | "ta.assistant.restartTitle" | "ta.assistant.runningTasks" | "ta.assistant.showTasks" | "ta.assistant.speakOn" | "ta.assistant.speakStop" | "ta.assistant.speakStopShort" | "ta.assistant.speakTalkShort" | "ta.assistant.step.run" | "ta.assistant.step.say" | "ta.assistant.step.tell" | "ta.assistant.stop" | "ta.assistant.taskEnded" | "ta.assistant.tasks" | "ta.assistant.tasksTool" | "ta.assistant.waking" | "ta.assistant.working" | "ta.assistant.you" | "ta.auth.account" | "ta.auth.accounts" | "ta.auth.accountsExample" | "ta.auth.accountsTitle" | "ta.auth.apiKey" | "ta.auth.back" | "ta.auth.continue" | "ta.auth.copyAndOpen" | "ta.auth.copyCode" | "ta.auth.copyLink" | "ta.auth.custom.add" | "ta.auth.custom.addHeader" | "ta.auth.custom.addHint" | "ta.auth.custom.advanced" | "ta.auth.custom.advancedHint" | "ta.auth.custom.api" | "ta.auth.custom.apiAnthropic" | "ta.auth.custom.apiGoogle" | "ta.auth.custom.apiKey" | "ta.auth.custom.apiOpenai" | "ta.auth.custom.apiResponses" | "ta.auth.custom.badNumber" | "ta.auth.custom.baseUrl" | "ta.auth.custom.contextWindow" | "ta.auth.custom.fetch" | "ta.auth.custom.fetchFailed" | "ta.auth.custom.fetched" | "ta.auth.custom.fetchedNone" | "ta.auth.custom.filter" | "ta.auth.custom.headerName" | "ta.auth.custom.headerValue" | "ta.auth.custom.headers" | "ta.auth.custom.images" | "ta.auth.custom.keyKept" | "ta.auth.custom.keyOptional" | "ta.auth.custom.kind" | "ta.auth.custom.maxTokens" | "ta.auth.custom.mixed" | "ta.auth.custom.modelPlaceholder" | "ta.auth.custom.models" | "ta.auth.custom.name" | "ta.auth.custom.needModel" | "ta.auth.custom.note" | "ta.auth.custom.optional" | "ta.auth.custom.reasoning" | "ta.auth.custom.remove" | "ta.auth.custom.removeConfirm" | "ta.auth.custom.removeHeader" | "ta.auth.custom.removeModel" | "ta.auth.custom.save" | "ta.auth.custom.saved" | "ta.auth.custom.title" | "ta.auth.deviceHint" | "ta.auth.done" | "ta.auth.enterKey" | "ta.auth.failed" | "ta.auth.hint" | "ta.auth.hintRemote" | "ta.auth.keys" | "ta.auth.keysExample" | "ta.auth.later" | "ta.auth.manualCode" | "ta.auth.manualCodeRemote" | "ta.auth.none" | "ta.auth.openHint" | "ta.auth.openPage" | "ta.auth.search" | "ta.auth.signOut" | "ta.auth.signOutConfirm" | "ta.auth.signedIn" | "ta.auth.subscription" | "ta.auth.title" | "ta.auth.waiting" | "ta.back" | "ta.board" | "ta.board.add" | "ta.board.done" | "ta.board.edit" | "ta.board.empty" | "ta.board.emptyHint" | "ta.board.moreTasks" | "ta.board.move" | "ta.board.noTasks" | "ta.board.none" | "ta.board.noneHint" | "ta.board.put" | "ta.board.remove" | "ta.board.tasks" | "ta.builtin.assistant" | "ta.builtin.assistantHint" | "ta.call.back" | "ta.call.captionsHidden" | "ta.call.captionsOff" | "ta.call.captionsOn" | "ta.call.captionsShown" | "ta.call.connecting" | "ta.call.done" | "ta.call.endedFailed" | "ta.call.endedSilent" | "ta.call.endedUnavailable" | "ta.call.hangUp" | "ta.call.interrupt" | "ta.call.listening" | "ta.call.me" | "ta.call.onComputer" | "ta.call.onPhone" | "ta.call.onScreen" | "ta.call.part" | "ta.call.paused" | "ta.call.pausedHint" | "ta.call.speaking" | "ta.call.start" | "ta.call.startTitle" | "ta.call.taskDone" | "ta.call.taskFailed" | "ta.call.thinking" | "ta.call.waitsAsk" | "ta.call.waitsDialog" | "ta.call.youSpeak" | "ta.cancel" | "ta.chat" | "ta.chat.archived" | "ta.chat.archivedCount" | "ta.chat.archivedHint" | "ta.chat.asking" | "ta.chat.asksCount" | "ta.chat.byDirectory" | "ta.chat.cwdTitle" | "ta.chat.doubleTag" | "ta.chat.doubleTagTitle" | "ta.chat.draft" | "ta.chat.folderLatest" | "ta.chat.handToDouble" | "ta.chat.hint" | "ta.chat.letGo" | "ta.chat.markSeen" | "ta.chat.markUnseen" | "ta.chat.new" | "ta.chat.newIn" | "ta.chat.noMatch" | "ta.chat.none" | "ta.chat.noneHint" | "ta.chat.olderCount" | "ta.chat.open" | "ta.chat.opening" | "ta.chat.openingOffline" | "ta.chat.pin" | "ta.chat.pinned" | "ta.chat.remove" | "ta.chat.removeShort" | "ta.chat.removed" | "ta.chat.replyingFor" | "ta.chat.restore" | "ta.chat.restoreShort" | "ta.chat.search" | "ta.chat.suggest.1" | "ta.chat.suggest.1.label" | "ta.chat.suggest.2" | "ta.chat.suggest.2.label" | "ta.chat.suggest.3" | "ta.chat.suggest.3.label" | "ta.chat.title" | "ta.chat.toAsk" | "ta.chat.unpin" | "ta.chat.unseen" | "ta.chats.busy" | "ta.chats.busyClear" | "ta.chats.busyFilter" | "ta.chats.busyNone" | "ta.close" | "ta.cloud.address" | "ta.cloud.back" | "ta.cloud.builtInHint" | "ta.cloud.code" | "ta.cloud.codeTitle" | "ta.cloud.companyAccount" | "ta.cloud.connecting" | "ta.cloud.device.allow" | "ta.cloud.device.done" | "ta.cloud.device.doneTitle" | "ta.cloud.device.failed" | "ta.cloud.device.failedTitle" | "ta.cloud.device.from" | "ta.cloud.device.fromAny" | "ta.cloud.device.hint" | "ta.cloud.device.ignored" | "ta.cloud.device.ignoredTitle" | "ta.cloud.device.none" | "ta.cloud.device.notMe" | "ta.cloud.device.title" | "ta.cloud.device.waiting" | "ta.cloud.device.waitingTitle" | "ta.cloud.direct" | "ta.cloud.expired" | "ta.cloud.go" | "ta.cloud.hint" | "ta.cloud.noGateway" | "ta.cloud.or" | "ta.cloud.orComputer" | "ta.cloud.other" | "ta.cloud.pending" | "ta.cloud.reachHint" | "ta.cloud.reopen" | "ta.cloud.retry" | "ta.cloud.signIn" | "ta.cloud.signInTo" | "ta.cloud.unreachable" | "ta.cloud.unreachableAt" | "ta.cloud.waiting" | "ta.command.bug" | "ta.command.mcp" | "ta.composer.addImage" | "ta.composer.album" | "ta.composer.camera" | "ta.composer.commands" | "ta.composer.filesUnavailable" | "ta.composer.filter" | "ta.composer.image.count" | "ta.composer.image.size" | "ta.composer.image.type" | "ta.composer.imageLoading" | "ta.composer.keyboard" | "ta.composer.label" | "ta.composer.listening" | "ta.composer.mentionFile" | "ta.composer.more" | "ta.composer.noFiles" | "ta.composer.noMatch" | "ta.composer.page" | "ta.composer.placeholder" | "ta.composer.placeholderTouch" | "ta.composer.queue.count" | "ta.composer.queue.editTitle" | "ta.composer.queue.followUp" | "ta.composer.queue.remove" | "ta.composer.queue.steering" | "ta.composer.queue.takeBackAll" | "ta.composer.queue.takeBackTitle" | "ta.composer.recentShot" | "ta.composer.recentShotAdd" | "ta.composer.removeImage" | "ta.composer.steerPlaceholder" | "ta.composer.steerPlaceholderTouch" | "ta.composer.steerTitle" | "ta.composer.stopTitle" | "ta.composer.stopping" | "ta.composer.voice" | "ta.composer.voiceDenied" | "ta.composer.voiceFailed" | "ta.composer.voiceStop" | "ta.connection.away" | "ta.connection.awayBrief" | "ta.connection.back" | "ta.connection.cloudUnreachable" | "ta.connection.cloudUnreachableBrief" | "ta.connection.lost" | "ta.connection.notDone" | "ta.connection.outdated" | "ta.connection.reload" | "ta.connection.retry" | "ta.connection.retryIn" | "ta.connection.retryNow" | "ta.connection.retrying" | "ta.connection.unreachableBrief" | "ta.console.about" | "ta.console.accounts" | "ta.console.active" | "ta.console.activityNone" | "ta.console.activityRunning" | "ta.console.activitySummary" | "ta.console.agentAsking" | "ta.console.agentIdle" | "ta.console.agentWaiting" | "ta.console.agentWorking" | "ta.console.agents" | "ta.console.agentsNone" | "ta.console.agentsOwn" | "ta.console.agentsPrivacy" | "ta.console.agentsStopped" | "ta.console.agentsWorking" | "ta.console.allProviders" | "ta.console.audit" | "ta.console.auditActivity" | "ta.console.auditAllow" | "ta.console.auditDefaults" | "ta.console.auditDisallow" | "ta.console.auditDismiss" | "ta.console.auditEgress" | "ta.console.auditGrant" | "ta.console.auditInvite" | "ta.console.auditLimits" | "ta.console.auditLogs" | "ta.console.auditNone" | "ta.console.auditRestart" | "ta.console.auditRole" | "ta.console.auditStart" | "ta.console.auditStop" | "ta.console.auditSuspend" | "ta.console.blockedMinutes" | "ta.console.blockedSuspended" | "ta.console.bonus" | "ta.console.byAccount" | "ta.console.byModel" | "ta.console.cannotManage" | "ta.console.connectionsLabel" | "ta.console.connectionsLimit" | "ta.console.connectionsMax" | "ta.console.connectionsMaxHint" | "ta.console.context" | "ta.console.copied" | "ta.console.copy" | "ta.console.cost" | "ta.console.cpu" | "ta.console.created" | "ta.console.default" | "ta.console.defaults" | "ta.console.defaultsHint" | "ta.console.defaultsReadOnly" | "ta.console.demote" | "ta.console.demoteConfirm" | "ta.console.demoteDetail" | "ta.console.egress" | "ta.console.egressBytes" | "ta.console.egressHint" | "ta.console.egressHosts" | "ta.console.egressHostsHint" | "ta.console.egressHostsPlaceholder" | "ta.console.egressNetworks" | "ta.console.egressOff" | "ta.console.egressReasonHost" | "ta.console.egressReasonNetwork" | "ta.console.egressReasonPort" | "ta.console.egressRefused" | "ta.console.egressThrough" | "ta.console.empty" | "ta.console.emptyHint" | "ta.console.environment" | "ta.console.failed" | "ta.console.filterAdmins" | "ta.console.filterAll" | "ta.console.filterLimited" | "ta.console.filterRunning" | "ta.console.filterWorking" | "ta.console.freeMinutes" | "ta.console.freeMinutesHint" | "ta.console.grant" | "ta.console.grantTitle" | "ta.console.granted" | "ta.console.hint" | "ta.console.idle" | "ta.console.idleNever" | "ta.console.invite" | "ta.console.inviteHint" | "ta.console.inviteLink" | "ta.console.invitePlaceholder" | "ta.console.inviteShort" | "ta.console.inviteTitle" | "ta.console.isAdmin" | "ta.console.isMember" | "ta.console.limitCustom" | "ta.console.limitDefault" | "ta.console.limitSet" | "ta.console.limitedCount" | "ta.console.limits" | "ta.console.limitsDone" | "ta.console.limitsEdit" | "ta.console.limitsHint" | "ta.console.logs" | "ta.console.logsAudited" | "ta.console.logsEmpty" | "ta.console.logsNone" | "ta.console.logsShow" | "ta.console.manage" | "ta.console.managers" | "ta.console.managersHint" | "ta.console.memory" | "ta.console.messages" | "ta.console.metric" | "ta.console.modelFailed" | "ta.console.models" | "ta.console.modelsHint" | "ta.console.modelsNone" | "ta.console.modelsOf" | "ta.console.monthTokens" | "ta.console.monthlyTokens" | "ta.console.monthlyTokensHint" | "ta.console.monthlyTokensOff" | "ta.console.more" | "ta.console.never" | "ta.console.no" | "ta.console.noMatch" | "ta.console.outOfMinutes" | "ta.console.ownAllowed" | "ta.console.ownNot" | "ta.console.ownService" | "ta.console.ownServiceHint" | "ta.console.peak" | "ta.console.promote" | "ta.console.promoteConfirm" | "ta.console.promoteDetail" | "ta.console.promptsLimit" | "ta.console.promptsPerMinute" | "ta.console.promptsPerMinuteHint" | "ta.console.providerTenants" | "ta.console.providersAllowed" | "ta.console.providersAllowedHint" | "ta.console.quota" | "ta.console.range" | "ta.console.range1" | "ta.console.range30" | "ta.console.range7" | "ta.console.refresh" | "ta.console.requests" | "ta.console.requestsWaiting" | "ta.console.reset" | "ta.console.resets" | "ta.console.restartConfirm" | "ta.console.restartDetail" | "ta.console.resume" | "ta.console.resumed" | "ta.console.review" | "ta.console.roleAdmin" | "ta.console.roleMember" | "ta.console.roleOwner" | "ta.console.rowWaiting" | "ta.console.rowWorking" | "ta.console.running" | "ta.console.sandbox" | "ta.console.sandboxNow" | "ta.console.sandboxes" | "ta.console.save" | "ta.console.saved" | "ta.console.search" | "ta.console.sessions" | "ta.console.since" | "ta.console.someProviders" | "ta.console.sort" | "ta.console.sortActive" | "ta.console.sortMinutes" | "ta.console.sortName" | "ta.console.stale" | "ta.console.start" | "ta.console.suspend" | "ta.console.suspendConfirm" | "ta.console.suspendDetail" | "ta.console.suspended" | "ta.console.tabAccounts" | "ta.console.tabOverview" | "ta.console.tabPolicy" | "ta.console.tenantId" | "ta.console.title" | "ta.console.tokens" | "ta.console.tokensMetered" | "ta.console.tokensReported" | "ta.console.toolCalls" | "ta.console.toolCallsLabel" | "ta.console.trend" | "ta.console.trendEmpty" | "ta.console.turns" | "ta.console.unlimited" | "ta.console.updated" | "ta.console.view" | "ta.console.wholeNumber" | "ta.console.yes" | "ta.copied" | "ta.copy" | "ta.deploy.cloud" | "ta.deploy.cloudAdded" | "ta.deploy.cloudHint" | "ta.deploy.gateway" | "ta.deploy.join" | "ta.deploy.joinButton" | "ta.deploy.joinHint" | "ta.deploy.joined" | "ta.deploy.joinedLine" | "ta.deploy.leave" | "ta.deploy.open" | "ta.deploy.relay" | "ta.discover" | "ta.discover.empty" | "ta.discover.emptyHint" | "ta.discover.hint" | "ta.discover.hintTouch" | "ta.dismiss" | "ta.editor" | "ta.editor.close" | "ta.editor.discardClose" | "ta.editor.failed" | "ta.editor.loading" | "ta.editor.unsavedManyTitle" | "ta.editor.unsavedMessage" | "ta.editor.unsavedTitle" | "ta.environment.blockedMinutes" | "ta.environment.blockedSuspended" | "ta.environment.blockedTitle" | "ta.environment.connect" | "ta.environment.connections" | "ta.environment.elsewhere" | "ta.environment.elsewhereHint" | "ta.environment.failed" | "ta.environment.failedTitle" | "ta.environment.makeToken" | "ta.environment.none" | "ta.environment.own" | "ta.environment.ownDetail" | "ta.environment.ownHint" | "ta.environment.quotaHint" | "ta.environment.restart" | "ta.environment.restartConfirm" | "ta.environment.restartDetail" | "ta.environment.retry" | "ta.environment.running" | "ta.environment.sandbox" | "ta.environment.starting" | "ta.environment.stop" | "ta.environment.stopConfirm" | "ta.environment.stopDetail" | "ta.environment.stopped" | "ta.environment.switch" | "ta.environment.switchConfirm" | "ta.environment.switchDetail" | "ta.environment.title" | "ta.environment.token" | "ta.environment.tokenHint" | "ta.environment.tokenLabel" | "ta.environment.url" | "ta.environment.where" | "ta.environment.whereHint" | "ta.error.alreadyCompacted" | "ta.error.forbidden" | "ta.error.forbiddenAsk" | "ta.error.forbiddenHint" | "ta.error.forbiddenNever" | "ta.error.limit" | "ta.error.messageConflict" | "ta.error.modelNotFound" | "ta.error.nothingToCompact" | "ta.error.sessionBusy" | "ta.error.sessionLocked" | "ta.error.sessionNotFound" | "ta.error.tooManySessions" | "ta.find.newer" | "ta.find.none" | "ta.find.older" | "ta.find.open" | "ta.find.placeholder" | "ta.folder.empty" | "ta.folder.failed" | "ta.folder.open" | "ta.folder.path" | "ta.folder.title" | "ta.folder.type" | "ta.folder.up" | "ta.gait.bounce" | "ta.gait.sneak" | "ta.gait.strut" | "ta.gait.waddle" | "ta.gait.walk" | "ta.game.failed" | "ta.game.hold" | "ta.game.key" | "ta.game.label" | "ta.game.loading" | "ta.game.move" | "ta.game.point" | "ta.home" | "ta.home.decide" | "ta.home.fresh" | "ta.home.running" | "ta.home.standingBy" | "ta.home.tasks" | "ta.home.waiting" | "ta.host.title" | "ta.hosts.cameraDenied" | "ta.hosts.connecting" | "ta.hosts.notPairing" | "ta.hosts.paste" | "ta.hosts.refused" | "ta.hosts.remove" | "ta.hosts.removeConfirm" | "ta.hosts.rename" | "ta.hosts.saved" | "ta.hosts.scan" | "ta.hosts.scanFailed" | "ta.hosts.scanHint" | "ta.hosts.scanInstructions" | "ta.hosts.scanShort" | "ta.hosts.switching" | "ta.hosts.thisServer" | "ta.hosts.title" | "ta.hosts.unreachable" | "ta.image.copied" | "ta.launch.failed" | "ta.launch.open" | "ta.launch.ready" | "ta.launcher" | "ta.launcher.back" | "ta.launcher.clear" | "ta.launcher.noResults" | "ta.launcher.place.discover" | "ta.launcher.place.launcher" | "ta.launcher.place.list" | "ta.launcher.place.navigation" | "ta.launcher.search" | "ta.launcher.searchHint" | "ta.launcher.searchPlaceholder" | "ta.layout.editor" | "ta.layout.panel" | "ta.layout.resize" | "ta.layout.sidebar" | "ta.link.ask" | "ta.link.copied" | "ta.link.external" | "ta.link.externalMac" | "ta.link.noOpener" | "ta.link.notFound" | "ta.link.open" | "ta.link.openFile" | "ta.link.openFolder" | "ta.link.trust" | "ta.link.trustHint" | "ta.look.gait" | "ta.look.premium" | "ta.look.species" | "ta.look.title" | "ta.manage.about" | "ta.manage.accounts" | "ta.manage.packages" | "ta.manage.relay" | "ta.manage.shortcuts" | "ta.manage.workingDirectory" | "ta.markdown.diagram" | "ta.markdown.download" | "ta.markdown.enlarge" | "ta.markdown.exitFullscreen" | "ta.markdown.fullscreen" | "ta.markdown.missing" | "ta.markdown.source" | "ta.me" | "ta.menu" | "ta.message.branch" | "ta.message.compacted" | "ta.message.compactedFrom" | "ta.message.copiedFrom" | "ta.message.copyFrom" | "ta.message.debug" | "ta.message.debugCopied" | "ta.message.discard" | "ta.message.failedUnknown" | "ta.message.forkAt" | "ta.message.forkBefore" | "ta.message.forked" | "ta.message.images" | "ta.message.interrupted" | "ta.message.modelSwitched" | "ta.message.notSaved" | "ta.message.queued" | "ta.message.queuedTitle" | "ta.message.quote" | "ta.message.resend" | "ta.message.resume" | "ta.message.resumeText" | "ta.message.resumed" | "ta.message.rewind" | "ta.message.rewindConfirm" | "ta.message.rewindDetail" | "ta.message.selectText" | "ta.message.sendFailed" | "ta.message.showLess" | "ta.message.showMore" | "ta.message.silent" | "ta.message.skill" | "ta.message.steered" | "ta.message.steeredTitle" | "ta.message.stopped" | "ta.message.thinking" | "ta.message.transcriptUser" | "ta.message.usageTitle" | "ta.message.used" | "ta.model.default" | "ta.model.defaultNone" | "ta.model.search" | "ta.mood.attention" | "ta.mood.done" | "ta.mood.idle" | "ta.mood.listening" | "ta.mood.sleeping" | "ta.mood.speaking" | "ta.mood.thinking" | "ta.mood.working" | "ta.more" | "ta.nav.double" | "ta.nav.fold" | "ta.nav.open" | "ta.nav.pin" | "ta.nav.settings" | "ta.no" | "ta.notice.openLink" | "ta.notice.picture" | "ta.notices" | "ta.off" | "ta.ok" | "ta.on" | "ta.online" | "ta.open.failed" | "ta.open.notALink" | "ta.open.open" | "ta.open.published" | "ta.open.relayed" | "ta.open.title" | "ta.packages" | "ta.packages.builtin" | "ta.packages.builtinTitle" | "ta.packages.failed" | "ta.packages.hint" | "ta.packages.installed" | "ta.packages.none" | "ta.packages.noneHint" | "ta.packages.reload" | "ta.packages.reloaded" | "ta.packages.remove" | "ta.packages.removeConfirm" | "ta.packages.removeDetail" | "ta.packages.removed" | "ta.packages.scope.project" | "ta.packages.scope.user" | "ta.panel.hide" | "ta.panel.show" | "ta.presence.asked" | "ta.presence.more" | "ta.presence.owner" | "ta.presence.separator" | "ta.presence.typing" | "ta.presence.viewing" | "ta.process.done" | "ta.process.earlier" | "ta.process.failed" | "ta.process.files" | "ta.process.requestFailed" | "ta.process.running" | "ta.process.showAll" | "ta.process.steps" | "ta.process.thinking" | "ta.process.thought" | "ta.progress.calling" | "ta.progress.compacting" | "ta.progress.input" | "ta.progress.output" | "ta.progress.retry.error" | "ta.progress.retry.network" | "ta.progress.retry.overloaded" | "ta.progress.retry.rateLimit" | "ta.progress.retrying" | "ta.progress.retryingNow" | "ta.progress.waiting" | "ta.pwa.install" | "ta.reconnecting" | "ta.relay.devices" | "ta.relay.done" | "ta.relay.hint" | "ta.relay.keepAwake" | "ta.relay.keepAwakeHint" | "ta.relay.offline" | "ta.relay.online" | "ta.relay.pair" | "ta.relay.phone" | "ta.relay.scan" | "ta.relay.title" | "ta.relay.unpair" | "ta.relay.unpairConfirm" | "ta.relays.add" | "ta.relays.addButton" | "ta.relays.addHint" | "ta.relays.addPlaceholder" | "ta.relays.broken" | "ta.relays.drive" | "ta.relays.driveHint" | "ta.relays.driveUse" | "ta.relays.feature.devices" | "ta.relays.feature.devicesHint" | "ta.relays.feature.rooms" | "ta.relays.feature.roomsHint" | "ta.relays.feature.share" | "ta.relays.feature.shareHint" | "ta.relays.feature.sync" | "ta.relays.feature.syncHint" | "ta.relays.file" | "ta.relays.folderOnly" | "ta.relays.limits" | "ta.relays.memory" | "ta.relays.official" | "ta.relays.offline" | "ta.relays.online" | "ta.relays.onlineNoTime" | "ta.relays.optional" | "ta.relays.remove" | "ta.relays.storeAdd" | "ta.relays.storeName" | "ta.relays.storeNote" | "ta.relays.storeOnly" | "ta.relays.storeOpen" | "ta.relays.storeType" | "ta.relays.title" | "ta.relays.unavailable" | "ta.remote.add" | "ta.remote.addCloud" | "ta.remote.addConfirm" | "ta.remote.addHint" | "ta.remote.added" | "ta.remote.closePort" | "ta.remote.cloudAdded" | "ta.remote.cloudConnect" | "ta.remote.cloudDescription" | "ta.remote.cloudHint" | "ta.remote.cloudName" | "ta.remote.cloudTitle" | "ta.remote.cloudToken" | "ta.remote.cloudUrl" | "ta.remote.connect" | "ta.remote.connected" | "ta.remote.connectedTo" | "ta.remote.connecting" | "ta.remote.description" | "ta.remote.disconnect" | "ta.remote.disconnected" | "ta.remote.failed" | "ta.remote.forwarded" | "ta.remote.fromConfig" | "ta.remote.invalid" | "ta.remote.local" | "ta.remote.lost" | "ta.remote.none" | "ta.remote.noneHint" | "ta.remote.openCloud" | "ta.remote.openCloudHint" | "ta.remote.options" | "ta.remote.port" | "ta.remote.prompt.continue" | "ta.remote.prompt.title" | "ta.remote.prompt.trust" | "ta.remote.remove" | "ta.remote.step.checking" | "ta.remote.step.connecting" | "ta.remote.step.copying-server" | "ta.remote.step.installing-node" | "ta.remote.step.starting" | "ta.remote.title" | "ta.restart" | "ta.restart.button" | "ta.restart.confirm" | "ta.restart.description" | "ta.restart.detail" | "ta.restart.done" | "ta.restart.restarting" | "ta.scan" | "ta.scan.album" | "ta.scan.ask" | "ta.scan.askHint" | "ta.scan.askPlaceholder" | "ta.scan.askTitle" | "ta.scan.cameraFailed" | "ta.scan.copyFailed" | "ta.scan.error" | "ta.scan.errorPrompt" | "ta.scan.failed" | "ta.scan.flip" | "ta.scan.identify" | "ta.scan.identifyPrompt" | "ta.scan.instructions" | "ta.scan.myCode" | "ta.scan.noCode" | "ta.scan.noCodeFound" | "ta.scan.note" | "ta.scan.notePrompt" | "ta.scan.pairMessage" | "ta.scan.pairTitle" | "ta.scan.result" | "ta.scan.retake" | "ta.scan.sameHost" | "ta.scan.translate" | "ta.scan.translatePrompt" | "ta.screen.allow" | "ta.screen.answer" | "ta.screen.asks" | "ta.screen.chats" | "ta.screen.confirm" | "ta.screen.open" | "ta.screen.unread" | "ta.screen.working" | "ta.search.all" | "ta.search.failed" | "ta.search.loading" | "ta.search.more" | "ta.search.pages" | "ta.secret.bankCard" | "ta.secret.email" | "ta.secret.gone" | "ta.secret.idNumber" | "ta.secret.manage" | "ta.secret.phone" | "ta.secret.secret" | "ta.secret.title" | "ta.secret.unused" | "ta.secret.uses" | "ta.select.all" | "ta.select.count" | "ta.select.done" | "ta.send" | "ta.session.compact" | "ta.session.compactTitle" | "ta.session.earlier" | "ta.session.empty" | "ta.session.model" | "ta.session.moved" | "ta.session.movedBusy" | "ta.session.movedCopy" | "ta.session.movedDetail" | "ta.session.movedDone" | "ta.session.movedKeep" | "ta.session.movedPick" | "ta.session.noModel" | "ta.session.phase.thinking" | "ta.session.phase.working" | "ta.session.phase.writing" | "ta.session.thinking" | "ta.session.title" | "ta.session.toBottom" | "ta.session.waitingClientTool" | "ta.session.working" | "ta.setting.codemode.mode" | "ta.setting.codemode.mode.hint" | "ta.setting.codemode.mode.on" | "ta.setting.codemode.mode.only" | "ta.setting.compaction.enabled" | "ta.setting.compaction.enabled.hint" | "ta.setting.compaction.keepRecentTokens" | "ta.setting.compaction.keepRecentTokens.hint" | "ta.setting.compaction.reserveTokens" | "ta.setting.compaction.reserveTokens.hint" | "ta.setting.defaultThinkingLevel" | "ta.setting.defaultThinkingLevel.high" | "ta.setting.defaultThinkingLevel.hint" | "ta.setting.defaultThinkingLevel.low" | "ta.setting.defaultThinkingLevel.max" | "ta.setting.defaultThinkingLevel.medium" | "ta.setting.defaultThinkingLevel.minimal" | "ta.setting.defaultThinkingLevel.off" | "ta.setting.defaultThinkingLevel.xhigh" | "ta.setting.enableSkillCommands" | "ta.setting.enableSkillCommands.hint" | "ta.setting.followUpMode" | "ta.setting.followUpMode.all" | "ta.setting.followUpMode.hint" | "ta.setting.followUpMode.one-at-a-time" | "ta.setting.images.autoResize" | "ta.setting.images.autoResize.hint" | "ta.setting.images.blockImages" | "ta.setting.images.blockImages.hint" | "ta.setting.model" | "ta.setting.model.hint" | "ta.setting.retry.enabled" | "ta.setting.retry.enabled.hint" | "ta.setting.retry.maxRetries" | "ta.setting.shellCommandPrefix" | "ta.setting.shellCommandPrefix.hint" | "ta.setting.shellPath" | "ta.setting.shellPath.hint" | "ta.setting.steeringMode" | "ta.setting.steeringMode.all" | "ta.setting.steeringMode.hint" | "ta.setting.steeringMode.one-at-a-time" | "ta.setting.transport" | "ta.setting.transport.auto" | "ta.setting.transport.hint" | "ta.settings" | "ta.settings.about" | "ta.settings.accounts" | "ta.settings.accountsDescription" | "ta.settings.agent" | "ta.settings.appearance" | "ta.settings.assistant" | "ta.settings.assistantModel" | "ta.settings.assistantModelHint" | "ta.settings.callCaptions" | "ta.settings.callCaptionsHint" | "ta.settings.chatArchive" | "ta.settings.chatArchiveHint" | "ta.settings.chatFold" | "ta.settings.chatFoldHint" | "ta.settings.chatFontSize" | "ta.settings.chatFontSizeHint" | "ta.settings.chats" | "ta.settings.confirmTasks" | "ta.settings.confirmTasksHint" | "ta.settings.cwd" | "ta.settings.cwdChange" | "ta.settings.cwdDescription" | "ta.settings.days" | "ta.settings.decides" | "ta.settings.default" | "ta.settings.delegate" | "ta.settings.delegate.balanced" | "ta.settings.delegate.balancedHint" | "ta.settings.delegate.less" | "ta.settings.delegate.lessHint" | "ta.settings.delegate.more" | "ta.settings.delegate.moreHint" | "ta.settings.delegateHint" | "ta.settings.devices" | "ta.settings.diagramStyle" | "ta.settings.diagramStyle.clean" | "ta.settings.diagramStyle.colour" | "ta.settings.diagramStyle.motion" | "ta.settings.diagramStyle.sketch" | "ta.settings.diagramStyleHint" | "ta.settings.displayLanguage" | "ta.settings.failed" | "ta.settings.fontSize" | "ta.settings.fontSize.large" | "ta.settings.fontSize.small" | "ta.settings.fontSize.standard" | "ta.settings.fontSize.xlarge" | "ta.settings.fontSizeHint" | "ta.settings.fromUser" | "ta.settings.general" | "ta.settings.group.context" | "ta.settings.group.conversation" | "ta.settings.group.model" | "ta.settings.group.tools" | "ta.settings.keepAlive" | "ta.settings.keepAliveDescription" | "ta.settings.language" | "ta.settings.language.system" | "ta.settings.links" | "ta.settings.loading" | "ta.settings.manageAccounts" | "ta.settings.maxTasks" | "ta.settings.maxTasksAny" | "ta.settings.maxTasksHint" | "ta.settings.minutes" | "ta.settings.modified" | "ta.settings.motion" | "ta.settings.motionHint" | "ta.settings.navigation" | "ta.settings.navigation.folded" | "ta.settings.navigation.inNav" | "ta.settings.navigation.none" | "ta.settings.navigation.overflow" | "ta.settings.navigation.show" | "ta.settings.never" | "ta.settings.noMatch" | "ta.settings.off" | "ta.settings.offline" | "ta.settings.on" | "ta.settings.oneYear" | "ta.settings.privacy" | "ta.settings.recentShots" | "ta.settings.recentShotsHint" | "ta.settings.relay" | "ta.settings.relayDescription" | "ta.settings.reset" | "ta.settings.retention" | "ta.settings.retentionDescription" | "ta.settings.scope.project" | "ta.settings.scope.user" | "ta.settings.scopeHint.project" | "ta.settings.scopeHint.user" | "ta.settings.search" | "ta.settings.server" | "ta.settings.shortcuts" | "ta.settings.signOut" | "ta.settings.speak" | "ta.settings.speakHint" | "ta.settings.speakTalk" | "ta.settings.speakTalkHint" | "ta.settings.taskModel" | "ta.settings.taskModelHint" | "ta.settings.theme" | "ta.settings.theme.dark" | "ta.settings.theme.light" | "ta.settings.theme.system" | "ta.settings.trustedDomains" | "ta.settings.trustedDomainsAdd" | "ta.settings.trustedDomainsEmpty" | "ta.settings.trustedDomainsEmptyHint" | "ta.settings.trustedDomainsHint" | "ta.settings.trustedDomainsRemove" | "ta.settings.untrusted" | "ta.settings.version" | "ta.settings.voice" | "ta.settings.voiceAuto" | "ta.settings.voiceAutoNone" | "ta.settings.voiceName" | "ta.settings.voiceNameHint" | "ta.settings.voicePreview" | "ta.settings.voiceSample" | "ta.share.apps" | "ta.share.cannot" | "ta.share.cannotMake" | "ta.share.copied" | "ta.share.copy" | "ta.share.copyPassword" | "ta.share.extensionGets" | "ta.share.friends" | "ta.share.making" | "ta.share.passwordApart" | "ta.share.pickFriends" | "ta.share.published" | "ta.share.qr" | "ta.share.relayed" | "ta.share.renew" | "ta.share.send" | "ta.share.sendN" | "ta.share.sentTo" | "ta.share.stop" | "ta.share.stopHint" | "ta.share.stopTitle" | "ta.share.title" | "ta.shared.copied" | "ta.shared.copy" | "ta.shared.failed" | "ta.shared.footer" | "ta.shared.imagesOmitted" | "ta.shared.messages" | "ta.shared.opening" | "ta.shared.outputsOmitted" | "ta.shared.redacted" | "ta.shared.secure" | "ta.shared.sharedAt" | "ta.shell.build" | "ta.shell.copy" | "ta.shell.count" | "ta.shell.gitAdd" | "ta.shell.gitCommit" | "ta.shell.gitDiff" | "ta.shell.gitLog" | "ta.shell.gitMerge" | "ta.shell.gitPull" | "ta.shell.gitPush" | "ta.shell.gitRebase" | "ta.shell.gitShow" | "ta.shell.gitStatus" | "ta.shell.gitSwitch" | "ta.shell.gitWorktree" | "ta.shell.install" | "ta.shell.kill" | "ta.shell.lint" | "ta.shell.mkdir" | "ta.shell.move" | "ta.shell.open" | "ta.shell.processes" | "ta.shell.remove" | "ta.shell.request" | "ta.shell.test" | "ta.shell.typecheck" | "ta.shell.wait" | "ta.shortcut.commands" | "ta.shortcut.files" | "ta.shortcut.followUp" | "ta.shortcut.newline" | "ta.shortcut.save" | "ta.shortcut.send" | "ta.shortcut.settings" | "ta.shortcut.sidebar" | "ta.shortcut.stop" | "ta.sidebar" | "ta.sidebar.closeTitle" | "ta.signInSetup.add" | "ta.signInSetup.callback" | "ta.signInSetup.copied" | "ta.signInSetup.copy" | "ta.signInSetup.device" | "ta.signInSetup.edit" | "ta.signInSetup.field.appId" | "ta.signInSetup.field.appSecret" | "ta.signInSetup.field.clientId" | "ta.signInSetup.field.clientSecret" | "ta.signInSetup.field.issuer" | "ta.signInSetup.field.name" | "ta.signInSetup.field.url" | "ta.signInSetup.fromEnv" | "ta.signInSetup.hint" | "ta.signInSetup.incomplete" | "ta.signInSetup.off" | "ta.signInSetup.oidc" | "ta.signInSetup.on" | "ta.signInSetup.optional" | "ta.signInSetup.remove" | "ta.signInSetup.removeConfirm" | "ta.signInSetup.removeDetail" | "ta.signInSetup.removed" | "ta.signInSetup.save" | "ta.signInSetup.saved" | "ta.signInSetup.secretKept" | "ta.signInSetup.title" | "ta.signin.accountsHint" | "ta.signin.connect" | "ta.signin.denied" | "ta.signin.failed" | "ta.signin.hint" | "ta.signin.hintRemote" | "ta.signin.orToken" | "ta.signin.pairHint" | "ta.signin.pairRefused" | "ta.signin.pairing" | "ta.signin.refused" | "ta.signin.title" | "ta.signin.token" | "ta.signin.wechat" | "ta.signin.with" | "ta.species.ankylosaurus" | "ta.species.brachiosaurus" | "ta.species.dragon" | "ta.species.parasaurolophus" | "ta.species.pteranodon" | "ta.species.stegosaurus" | "ta.species.trex" | "ta.species.triceratops" | "ta.species.velociraptor" | "ta.stop" | "ta.suggest.1" | "ta.suggest.1.label" | "ta.suggest.2" | "ta.suggest.2.label" | "ta.suggest.3" | "ta.suggest.3.label" | "ta.tab.close" | "ta.tab.closeAll" | "ta.tab.closeLeft" | "ta.tab.closeOthers" | "ta.tab.closeRight" | "ta.tab.closeSaved" | "ta.tab.keepOpen" | "ta.talk.call" | "ta.talk.edit" | "ta.talk.hold" | "ta.talk.keep" | "ta.talk.listening" | "ta.talk.releaseCall" | "ta.talk.releaseCancel" | "ta.talk.releaseEdit" | "ta.talk.releaseKeep" | "ta.talk.releaseSend" | "ta.talk.releaseSendCall" | "ta.talk.releaseSendKeep" | "ta.talk.tooShort" | "ta.task.adopted" | "ta.task.allTasks" | "ta.task.branch" | "ta.task.done" | "ta.task.ended" | "ta.task.failed" | "ta.task.remove" | "ta.task.removeHint" | "ta.task.removeTitle" | "ta.task.running" | "ta.task.stopped" | "ta.task.takeOver" | "ta.task.takeOverHint" | "ta.task.takenOver" | "ta.task.verdictFail" | "ta.task.verdictPass" | "ta.task.waiting" | "ta.tasks.all" | "ta.tasks.ended" | "ta.tasks.fewer" | "ta.tasks.removeTitle" | "ta.tasks.running" | "ta.tasks.runningCount" | "ta.tasks.select" | "ta.tasks.waiting" | "ta.tasks.waitingCount" | "ta.terminal.openLink" | "ta.terminal.openLinkMac" | "ta.terminal.openUrl" | "ta.terminal.openUrlMac" | "ta.time.dayBefore" | "ta.time.earlier" | "ta.time.today" | "ta.time.week" | "ta.time.yesterday" | "ta.tool.earlier" | "ta.tool.exitCode" | "ta.tool.failedCalls" | "ta.tool.hideScript" | "ta.tool.moreEntries" | "ta.tool.noOutput" | "ta.tool.printed" | "ta.tool.showScript" | "ta.tool.verb.bash" | "ta.tool.verb.codemode" | "ta.tool.verb.deleteScheduled" | "ta.tool.verb.deleteTeam" | "ta.tool.verb.edit" | "ta.tool.verb.editImage" | "ta.tool.verb.fetch" | "ta.tool.verb.find" | "ta.tool.verb.getTask" | "ta.tool.verb.grep" | "ta.tool.verb.listScheduled" | "ta.tool.verb.listTasks" | "ta.tool.verb.ls" | "ta.tool.verb.messageTask" | "ta.tool.verb.publish" | "ta.tool.verb.read" | "ta.tool.verb.scheduleTask" | "ta.tool.verb.sendMessage" | "ta.tool.verb.skill" | "ta.tool.verb.startTask" | "ta.tool.verb.stopTask" | "ta.tool.verb.todo" | "ta.tool.verb.viewImage" | "ta.tool.verb.webSearch" | "ta.tool.verb.write" | "ta.unreachable" | "ta.update.later" | "ta.update.ready" | "ta.update.readyDetail" | "ta.update.restartTo" | "ta.voices.add" | "ta.voices.addOpen" | "ta.voices.bargeIn" | "ta.voices.bargeIn.0" | "ta.voices.bargeIn.1" | "ta.voices.bargeIn.2" | "ta.voices.bargeIn.3" | "ta.voices.bargeIn.4" | "ta.voices.bargeInHint" | "ta.voices.cutIn" | "ta.voices.cutInHint" | "ta.voices.device" | "ta.voices.deviceHint" | "ta.voices.edit" | "ta.voices.file" | "ta.voices.keepSecret" | "ta.voices.listensOnly" | "ta.voices.name" | "ta.voices.none" | "ta.voices.note" | "ta.voices.noteSave" | "ta.voices.optional" | "ta.voices.remove" | "ta.voices.save" | "ta.voices.submit" | "ta.voices.title" | "ta.voices.titleHint" | "ta.voices.unavailable" | "ta.voices.use" | "ta.widget.failed" | "ta.workbench" | "ta.workbench.cards" | "ta.workbench.cwd" | "ta.workbench.empty" | "ta.workbench.emptyHint" | "ta.workbench.maximize" | "ta.workbench.noCards" | "ta.workbench.noCardsHint" | "ta.workbench.open" | "ta.workbench.restore" | "ta.workbench.tabs" | "ta.workingDirectory.changed" | "ta.yes" | "ta.zoom.actual" | "ta.zoom.copy" | "ta.zoom.copyFailed" | "ta.zoom.failed" | "ta.zoom.fit" | "ta.zoom.in" | "ta.zoom.loading" | "ta.zoom.next" | "ta.zoom.out" | "ta.zoom.previous" | undefined;
45
+ start: (address: string, known?: boolean, provider?: string) => Promise<void>;
46
+ cancel: () => void;
47
+ };
48
+ /** The way to Ta in the cloud on the sign-in, under the ways to a computer: one wide button. */
49
+ export declare function CloudSignInEntry({ onPick }: {
50
+ onPick(): void;
51
+ }): React.JSX.Element;
52
+ /**
53
+ * Signing in to Ta in the cloud, the whole card: the address once (none for the deployment of this build, which starts at
54
+ * once), then the code to check in the browser while the token comes. `onBack` goes back to the other ways.
55
+ */
56
+ export declare function CloudSignInFlow({ onBack, provider, typing, page }: {
57
+ onBack(): void;
58
+ provider?: string;
59
+ typing?: boolean;
60
+ page?: boolean;
61
+ }): React.JSX.Element;
62
+ //# sourceMappingURL=cloud-sign-in-view.d.ts.map