@celljs/ta-web 4.42.0 → 4.44.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 (400) hide show
  1. package/README.en.md +1 -1
  2. package/README.md +1 -1
  3. package/esm/browser/apps/app-window.js +2 -2
  4. package/esm/browser/apps/web-apps.d.ts +4 -0
  5. package/esm/browser/apps/web-apps.js +14 -3
  6. package/esm/browser/assistant/assistant-chat-list.js +2 -1
  7. package/esm/browser/assistant/assistant-extension.js +16 -2
  8. package/esm/browser/assistant/assistant-protocol.d.ts +6 -0
  9. package/esm/browser/assistant/assistant-task-source.js +3 -0
  10. package/esm/browser/assistant/assistant-task-util.d.ts +2 -0
  11. package/esm/browser/assistant/assistant-task-util.js +5 -0
  12. package/esm/browser/assistant/assistant.d.ts +3 -0
  13. package/esm/browser/assistant/assistant.js +26 -2
  14. package/esm/browser/assistant/ta-hearing.d.ts +85 -0
  15. package/esm/browser/assistant/ta-hearing.js +272 -0
  16. package/esm/browser/components/app-shell-hooks.d.ts +2 -1
  17. package/esm/browser/components/app-shell-hooks.js +4 -3
  18. package/esm/browser/components/app-shell-state.js +2 -2
  19. package/esm/browser/components/auth-view.js +1 -1
  20. package/esm/browser/components/board.js +9 -1
  21. package/esm/browser/components/chat-list-row.js +4 -4
  22. package/esm/browser/components/chat-list-util.d.ts +2 -2
  23. package/esm/browser/components/clipboard-link-host.d.ts +2 -0
  24. package/esm/browser/components/clipboard-link-host.js +27 -0
  25. package/esm/browser/components/cloud-network.js +1 -1
  26. package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
  27. package/esm/browser/components/custom-host.d.ts +4 -1
  28. package/esm/browser/components/custom-host.js +8 -2
  29. package/esm/browser/components/custom-provider-advanced.js +8 -8
  30. package/esm/browser/components/custom-provider-view.js +12 -12
  31. package/esm/browser/components/earlier-messages.d.ts +4 -1
  32. package/esm/browser/components/earlier-messages.js +5 -2
  33. package/esm/browser/components/empty-state.d.ts +2 -1
  34. package/esm/browser/components/empty-state.js +6 -2
  35. package/esm/browser/components/folder-picker.js +2 -2
  36. package/esm/browser/components/gallery.js +8 -9
  37. package/esm/browser/components/hearing-host.d.ts +5 -0
  38. package/esm/browser/components/hearing-host.js +58 -0
  39. package/esm/browser/components/host-view.d.ts +1 -1
  40. package/esm/browser/components/link-dialog.js +4 -0
  41. package/esm/browser/components/loading.d.ts +3 -2
  42. package/esm/browser/components/loading.js +7 -3
  43. package/esm/browser/components/markdown.d.ts +3 -1
  44. package/esm/browser/components/markdown.js +10 -5
  45. package/esm/browser/components/media.d.ts +10 -4
  46. package/esm/browser/components/media.js +60 -14
  47. package/esm/browser/components/message-list.js +2 -1
  48. package/esm/browser/components/message-steps.js +8 -5
  49. package/esm/browser/components/people-picker.d.ts +17 -0
  50. package/esm/browser/components/people-picker.js +129 -0
  51. package/esm/browser/components/relay-view.js +1 -1
  52. package/esm/browser/components/settings-choices.d.ts +2 -1
  53. package/esm/browser/components/settings-choices.js +2 -1
  54. package/esm/browser/components/settings-parts.js +25 -3
  55. package/esm/browser/components/share-dialog.d.ts +2 -2
  56. package/esm/browser/components/share-dialog.js +7 -4
  57. package/esm/browser/components/share-friends.d.ts +18 -2
  58. package/esm/browser/components/share-friends.js +64 -13
  59. package/esm/browser/components/share-item-sheet.d.ts +12 -0
  60. package/esm/browser/components/share-item-sheet.js +39 -0
  61. package/esm/browser/components/share-sheet.d.ts +12 -4
  62. package/esm/browser/components/share-sheet.js +15 -6
  63. package/esm/browser/components/sign-in-setup.js +4 -4
  64. package/esm/browser/components/trusted-domains.js +1 -1
  65. package/esm/browser/components/view-room.d.ts +25 -0
  66. package/esm/browser/components/view-room.js +136 -0
  67. package/esm/browser/components/voice-services.js +6 -6
  68. package/esm/browser/device/device-protocol.d.ts +9 -6
  69. package/esm/browser/device/device-protocol.js +7 -4
  70. package/esm/browser/device/launch-screen.d.ts +11 -1
  71. package/esm/browser/device/launch-screen.js +22 -4
  72. package/esm/browser/extension/share-sheet-compat.d.ts +2 -0
  73. package/esm/browser/extension/share-sheet-compat.js +12 -2
  74. package/esm/browser/extension/web-api-chats.d.ts +23 -0
  75. package/esm/browser/extension/web-api-code.d.ts +11 -0
  76. package/esm/browser/extension/web-api-components.d.ts +8 -1
  77. package/esm/browser/extension/web-api-contributions.d.ts +30 -1
  78. package/esm/browser/extension/web-api-desktop.d.ts +2 -1
  79. package/esm/browser/extension/web-api-file-views.d.ts +38 -0
  80. package/esm/browser/extension/web-api-file-views.js +2 -0
  81. package/esm/browser/extension/web-api-host.d.ts +47 -0
  82. package/esm/browser/extension/web-api-host.js +3 -0
  83. package/esm/browser/extension/web-api-menus.d.ts +46 -0
  84. package/esm/browser/extension/web-api-partners.d.ts +58 -1
  85. package/esm/browser/extension/web-api-skins.d.ts +95 -0
  86. package/esm/browser/extension/web-api-skins.js +2 -0
  87. package/esm/browser/extension/web-api-spec.js +9 -0
  88. package/esm/browser/extension/web-extension-api.d.ts +13 -34
  89. package/esm/browser/extension/web-extension-context.d.ts +2 -8
  90. package/esm/browser/extension/web-extension-context.js +15 -39
  91. package/esm/browser/extension/web-extension-marks.d.ts +10 -0
  92. package/esm/browser/extension/web-extension-marks.js +29 -0
  93. package/esm/browser/extension/web-extension-protocol.d.ts +13 -1
  94. package/esm/browser/extension/web-extension-protocol.js +4 -0
  95. package/esm/browser/extension/web-extension-run.d.ts +16 -2
  96. package/esm/browser/extension/web-extension-run.js +80 -0
  97. package/esm/browser/extension/web-extensions-running.d.ts +5 -1
  98. package/esm/browser/extension/web-extensions-running.js +16 -0
  99. package/esm/browser/extension/web-extensions.d.ts +2 -1
  100. package/esm/browser/extension/web-extensions.js +3 -0
  101. package/esm/browser/extension/web-home.js +3 -1
  102. package/esm/browser/extension/web-host-values.d.ts +66 -0
  103. package/esm/browser/extension/web-host-values.js +191 -0
  104. package/esm/browser/extension/web-hosts.d.ts +7 -2
  105. package/esm/browser/extension/web-hosts.js +16 -4
  106. package/esm/browser/extension/web-share-ui.d.ts +7 -0
  107. package/esm/browser/extension/web-share-ui.js +20 -0
  108. package/esm/browser/extension/web-share.d.ts +18 -0
  109. package/esm/browser/extension/web-share.js +42 -0
  110. package/esm/browser/i18n/en/assistant.d.ts +4 -0
  111. package/esm/browser/i18n/en/assistant.js +4 -0
  112. package/esm/browser/i18n/en/chat.d.ts +10 -0
  113. package/esm/browser/i18n/en/chat.js +10 -0
  114. package/esm/browser/i18n/en/common.d.ts +15 -0
  115. package/esm/browser/i18n/en/common.js +15 -0
  116. package/esm/browser/i18n/en/discover.d.ts +11 -1
  117. package/esm/browser/i18n/en/discover.js +11 -1
  118. package/esm/browser/i18n/en/settings.d.ts +10 -0
  119. package/esm/browser/i18n/en/settings.js +10 -0
  120. package/esm/browser/i18n/ja/assistant.js +4 -0
  121. package/esm/browser/i18n/ja/chat.js +10 -0
  122. package/esm/browser/i18n/ja/common.js +15 -0
  123. package/esm/browser/i18n/ja/discover.js +11 -1
  124. package/esm/browser/i18n/ja/settings.js +10 -0
  125. package/esm/browser/i18n/locales.d.ts +51 -2
  126. package/esm/browser/i18n/messages.d.ts +50 -1
  127. package/esm/browser/i18n/zh/assistant.js +4 -0
  128. package/esm/browser/i18n/zh/chat.js +10 -0
  129. package/esm/browser/i18n/zh/common.js +15 -0
  130. package/esm/browser/i18n/zh/discover.js +11 -1
  131. package/esm/browser/i18n/zh/settings.js +10 -0
  132. package/esm/browser/i18n/zh-tw/assistant.js +4 -0
  133. package/esm/browser/i18n/zh-tw/chat.js +10 -0
  134. package/esm/browser/i18n/zh-tw/common.js +15 -0
  135. package/esm/browser/i18n/zh-tw/discover.js +11 -1
  136. package/esm/browser/i18n/zh-tw/settings.js +10 -0
  137. package/esm/browser/launch-art/art-palette.d.ts +41 -0
  138. package/esm/browser/launch-art/art-palette.js +72 -0
  139. package/esm/browser/launch-art/cyclic-automaton.d.ts +45 -0
  140. package/esm/browser/launch-art/cyclic-automaton.js +176 -0
  141. package/esm/browser/launch-art/fractal-tree.d.ts +43 -0
  142. package/esm/browser/launch-art/fractal-tree.js +48 -0
  143. package/esm/browser/launch-art/launch-art.d.ts +98 -0
  144. package/esm/browser/launch-art/launch-art.js +420 -0
  145. package/esm/browser/launch-art/launch-sky.d.ts +66 -0
  146. package/esm/browser/launch-art/launch-sky.js +153 -0
  147. package/esm/browser/links/clipboard-links.d.ts +85 -0
  148. package/esm/browser/links/clipboard-links.js +261 -0
  149. package/esm/browser/links/link-text.d.ts +29 -0
  150. package/esm/browser/links/link-text.js +97 -0
  151. package/esm/browser/links/links-protocol.d.ts +12 -1
  152. package/esm/browser/links/links.d.ts +8 -2
  153. package/esm/browser/links/links.js +33 -3
  154. package/esm/browser/markdown/code-renderers.d.ts +4 -0
  155. package/esm/browser/markdown/code-renderers.js +4 -0
  156. package/esm/browser/partners/group-picker.js +23 -29
  157. package/esm/browser/sandbox/sandbox-runtime-code.js +1 -1
  158. package/esm/browser/sandbox/work/work-senses.js +1 -1
  159. package/esm/browser/settings/settings-protocol.d.ts +26 -0
  160. package/esm/browser/settings/settings-protocol.js +11 -0
  161. package/esm/browser/settings/settings.d.ts +4 -1
  162. package/esm/browser/settings/settings.js +16 -3
  163. package/esm/browser/skin/skin-layer.d.ts +8 -0
  164. package/esm/browser/skin/skin-layer.js +118 -0
  165. package/esm/browser/skin/skin-util.d.ts +40 -0
  166. package/esm/browser/skin/skin-util.js +120 -0
  167. package/esm/browser/style/base.d.ts +1 -1
  168. package/esm/browser/style/base.js +10 -6
  169. package/esm/browser/style/chat-list.d.ts +1 -1
  170. package/esm/browser/style/chat-list.js +28 -15
  171. package/esm/browser/style/conversation-column.d.ts +1 -1
  172. package/esm/browser/style/conversation.d.ts +1 -1
  173. package/esm/browser/style/conversation.js +5 -4
  174. package/esm/browser/style/dialogs.d.ts +1 -1
  175. package/esm/browser/style/dialogs.js +2 -5
  176. package/esm/browser/style/forms.d.ts +5 -0
  177. package/esm/browser/style/forms.js +65 -0
  178. package/esm/browser/style/layout.d.ts +1 -1
  179. package/esm/browser/style/pages.d.ts +1 -1
  180. package/esm/browser/style/pages.js +14 -24
  181. package/esm/browser/style/phone.d.ts +1 -1
  182. package/esm/browser/style/shared.d.ts +1 -1
  183. package/esm/browser/style/shell.d.ts +1 -1
  184. package/esm/browser/style/shell.js +1 -6
  185. package/esm/browser/style/skins.d.ts +9 -0
  186. package/esm/browser/style/skins.js +107 -0
  187. package/esm/browser/style/surfaces.d.ts +1 -1
  188. package/esm/browser/style/surfaces.js +8 -6
  189. package/esm/browser/style/tasks.d.ts +1 -1
  190. package/esm/browser/style.js +4 -0
  191. package/esm/browser/util/fresh-rows.d.ts +21 -0
  192. package/esm/browser/util/fresh-rows.js +36 -0
  193. package/esm/browser/util/process.d.ts +12 -22
  194. package/esm/browser/util/process.js +49 -39
  195. package/esm/browser/util/voice.d.ts +18 -0
  196. package/esm/browser/util/voice.js +111 -3
  197. package/esm/browser/workbench-protocol.d.ts +2 -0
  198. package/esm/browser/workbench-services.d.ts +2 -0
  199. package/esm/browser/workbench-services.js +5 -0
  200. package/esm/browser/workbench.js +5 -0
  201. package/lib/browser/apps/app-window.js +2 -2
  202. package/lib/browser/apps/web-apps.d.ts +4 -0
  203. package/lib/browser/apps/web-apps.js +14 -3
  204. package/lib/browser/assistant/assistant-chat-list.js +2 -1
  205. package/lib/browser/assistant/assistant-extension.js +15 -1
  206. package/lib/browser/assistant/assistant-protocol.d.ts +6 -0
  207. package/lib/browser/assistant/assistant-task-source.js +3 -0
  208. package/lib/browser/assistant/assistant-task-util.d.ts +2 -0
  209. package/lib/browser/assistant/assistant-task-util.js +5 -0
  210. package/lib/browser/assistant/assistant.d.ts +3 -0
  211. package/lib/browser/assistant/assistant.js +26 -2
  212. package/lib/browser/assistant/ta-hearing.d.ts +86 -0
  213. package/lib/browser/assistant/ta-hearing.js +277 -0
  214. package/lib/browser/components/app-shell-hooks.d.ts +2 -1
  215. package/lib/browser/components/app-shell-hooks.js +4 -3
  216. package/lib/browser/components/app-shell-state.js +2 -2
  217. package/lib/browser/components/auth-view.js +1 -1
  218. package/lib/browser/components/board.js +9 -1
  219. package/lib/browser/components/chat-list-row.js +4 -4
  220. package/lib/browser/components/chat-list-util.d.ts +2 -2
  221. package/lib/browser/components/clipboard-link-host.d.ts +3 -0
  222. package/lib/browser/components/clipboard-link-host.js +63 -0
  223. package/lib/browser/components/cloud-network.js +1 -1
  224. package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
  225. package/lib/browser/components/custom-host.d.ts +4 -1
  226. package/lib/browser/components/custom-host.js +8 -2
  227. package/lib/browser/components/custom-provider-advanced.js +8 -8
  228. package/lib/browser/components/custom-provider-view.js +12 -12
  229. package/lib/browser/components/earlier-messages.d.ts +4 -1
  230. package/lib/browser/components/earlier-messages.js +5 -2
  231. package/lib/browser/components/empty-state.d.ts +2 -1
  232. package/lib/browser/components/empty-state.js +6 -2
  233. package/lib/browser/components/folder-picker.js +2 -2
  234. package/lib/browser/components/gallery.js +7 -8
  235. package/lib/browser/components/hearing-host.d.ts +6 -0
  236. package/lib/browser/components/hearing-host.js +94 -0
  237. package/lib/browser/components/host-view.d.ts +1 -1
  238. package/lib/browser/components/link-dialog.js +4 -0
  239. package/lib/browser/components/loading.d.ts +3 -2
  240. package/lib/browser/components/loading.js +7 -3
  241. package/lib/browser/components/markdown.d.ts +3 -1
  242. package/lib/browser/components/markdown.js +9 -4
  243. package/lib/browser/components/media.d.ts +10 -4
  244. package/lib/browser/components/media.js +61 -14
  245. package/lib/browser/components/message-list.js +2 -1
  246. package/lib/browser/components/message-steps.js +8 -5
  247. package/lib/browser/components/people-picker.d.ts +18 -0
  248. package/lib/browser/components/people-picker.js +166 -0
  249. package/lib/browser/components/relay-view.js +1 -1
  250. package/lib/browser/components/settings-choices.d.ts +2 -1
  251. package/lib/browser/components/settings-choices.js +2 -1
  252. package/lib/browser/components/settings-parts.js +23 -1
  253. package/lib/browser/components/share-dialog.d.ts +2 -2
  254. package/lib/browser/components/share-dialog.js +7 -4
  255. package/lib/browser/components/share-friends.d.ts +18 -2
  256. package/lib/browser/components/share-friends.js +67 -13
  257. package/lib/browser/components/share-item-sheet.d.ts +13 -0
  258. package/lib/browser/components/share-item-sheet.js +75 -0
  259. package/lib/browser/components/share-sheet.d.ts +12 -4
  260. package/lib/browser/components/share-sheet.js +14 -4
  261. package/lib/browser/components/sign-in-setup.js +4 -4
  262. package/lib/browser/components/trusted-domains.js +1 -1
  263. package/lib/browser/components/view-room.d.ts +26 -0
  264. package/lib/browser/components/view-room.js +173 -0
  265. package/lib/browser/components/voice-services.js +6 -6
  266. package/lib/browser/device/device-protocol.d.ts +9 -6
  267. package/lib/browser/device/device-protocol.js +7 -4
  268. package/lib/browser/device/launch-screen.d.ts +11 -1
  269. package/lib/browser/device/launch-screen.js +22 -4
  270. package/lib/browser/extension/share-sheet-compat.d.ts +2 -0
  271. package/lib/browser/extension/share-sheet-compat.js +13 -2
  272. package/lib/browser/extension/web-api-chats.d.ts +23 -0
  273. package/lib/browser/extension/web-api-code.d.ts +11 -0
  274. package/lib/browser/extension/web-api-components.d.ts +8 -1
  275. package/lib/browser/extension/web-api-contributions.d.ts +30 -1
  276. package/lib/browser/extension/web-api-desktop.d.ts +2 -1
  277. package/lib/browser/extension/web-api-file-views.d.ts +39 -0
  278. package/lib/browser/extension/web-api-file-views.js +3 -0
  279. package/lib/browser/extension/web-api-host.d.ts +48 -0
  280. package/lib/browser/extension/web-api-host.js +4 -0
  281. package/lib/browser/extension/web-api-menus.d.ts +46 -0
  282. package/lib/browser/extension/web-api-partners.d.ts +58 -1
  283. package/lib/browser/extension/web-api-skins.d.ts +96 -0
  284. package/lib/browser/extension/web-api-skins.js +3 -0
  285. package/lib/browser/extension/web-api-spec.js +9 -0
  286. package/lib/browser/extension/web-extension-api.d.ts +13 -34
  287. package/lib/browser/extension/web-extension-context.d.ts +2 -8
  288. package/lib/browser/extension/web-extension-context.js +15 -39
  289. package/lib/browser/extension/web-extension-marks.d.ts +11 -0
  290. package/lib/browser/extension/web-extension-marks.js +65 -0
  291. package/lib/browser/extension/web-extension-protocol.d.ts +13 -1
  292. package/lib/browser/extension/web-extension-protocol.js +4 -0
  293. package/lib/browser/extension/web-extension-run.d.ts +16 -2
  294. package/lib/browser/extension/web-extension-run.js +80 -0
  295. package/lib/browser/extension/web-extensions-running.d.ts +5 -1
  296. package/lib/browser/extension/web-extensions-running.js +16 -0
  297. package/lib/browser/extension/web-extensions.d.ts +2 -1
  298. package/lib/browser/extension/web-extensions.js +3 -0
  299. package/lib/browser/extension/web-home.js +3 -1
  300. package/lib/browser/extension/web-host-values.d.ts +67 -0
  301. package/lib/browser/extension/web-host-values.js +229 -0
  302. package/lib/browser/extension/web-hosts.d.ts +7 -2
  303. package/lib/browser/extension/web-hosts.js +16 -4
  304. package/lib/browser/extension/web-share-ui.d.ts +8 -0
  305. package/lib/browser/extension/web-share-ui.js +56 -0
  306. package/lib/browser/extension/web-share.d.ts +19 -0
  307. package/lib/browser/extension/web-share.js +45 -0
  308. package/lib/browser/i18n/en/assistant.d.ts +4 -0
  309. package/lib/browser/i18n/en/assistant.js +4 -0
  310. package/lib/browser/i18n/en/chat.d.ts +10 -0
  311. package/lib/browser/i18n/en/chat.js +10 -0
  312. package/lib/browser/i18n/en/common.d.ts +15 -0
  313. package/lib/browser/i18n/en/common.js +15 -0
  314. package/lib/browser/i18n/en/discover.d.ts +11 -1
  315. package/lib/browser/i18n/en/discover.js +11 -1
  316. package/lib/browser/i18n/en/settings.d.ts +10 -0
  317. package/lib/browser/i18n/en/settings.js +10 -0
  318. package/lib/browser/i18n/ja/assistant.js +4 -0
  319. package/lib/browser/i18n/ja/chat.js +10 -0
  320. package/lib/browser/i18n/ja/common.js +15 -0
  321. package/lib/browser/i18n/ja/discover.js +11 -1
  322. package/lib/browser/i18n/ja/settings.js +10 -0
  323. package/lib/browser/i18n/locales.d.ts +51 -2
  324. package/lib/browser/i18n/messages.d.ts +50 -1
  325. package/lib/browser/i18n/zh/assistant.js +4 -0
  326. package/lib/browser/i18n/zh/chat.js +10 -0
  327. package/lib/browser/i18n/zh/common.js +15 -0
  328. package/lib/browser/i18n/zh/discover.js +11 -1
  329. package/lib/browser/i18n/zh/settings.js +10 -0
  330. package/lib/browser/i18n/zh-tw/assistant.js +4 -0
  331. package/lib/browser/i18n/zh-tw/chat.js +10 -0
  332. package/lib/browser/i18n/zh-tw/common.js +15 -0
  333. package/lib/browser/i18n/zh-tw/discover.js +11 -1
  334. package/lib/browser/i18n/zh-tw/settings.js +10 -0
  335. package/lib/browser/launch-art/art-palette.d.ts +42 -0
  336. package/lib/browser/launch-art/art-palette.js +76 -0
  337. package/lib/browser/launch-art/cyclic-automaton.d.ts +46 -0
  338. package/lib/browser/launch-art/cyclic-automaton.js +180 -0
  339. package/lib/browser/launch-art/fractal-tree.d.ts +44 -0
  340. package/lib/browser/launch-art/fractal-tree.js +52 -0
  341. package/lib/browser/launch-art/launch-art.d.ts +99 -0
  342. package/lib/browser/launch-art/launch-art.js +424 -0
  343. package/lib/browser/launch-art/launch-sky.d.ts +67 -0
  344. package/lib/browser/launch-art/launch-sky.js +157 -0
  345. package/lib/browser/links/clipboard-links.d.ts +86 -0
  346. package/lib/browser/links/clipboard-links.js +266 -0
  347. package/lib/browser/links/link-text.d.ts +30 -0
  348. package/lib/browser/links/link-text.js +100 -0
  349. package/lib/browser/links/links-protocol.d.ts +12 -1
  350. package/lib/browser/links/links.d.ts +8 -2
  351. package/lib/browser/links/links.js +33 -3
  352. package/lib/browser/markdown/code-renderers.d.ts +4 -0
  353. package/lib/browser/markdown/code-renderers.js +5 -1
  354. package/lib/browser/partners/group-picker.js +23 -29
  355. package/lib/browser/sandbox/sandbox-runtime-code.js +1 -1
  356. package/lib/browser/sandbox/work/work-senses.js +1 -1
  357. package/lib/browser/settings/settings-protocol.d.ts +26 -0
  358. package/lib/browser/settings/settings-protocol.js +12 -1
  359. package/lib/browser/settings/settings.d.ts +4 -1
  360. package/lib/browser/settings/settings.js +16 -3
  361. package/lib/browser/skin/skin-layer.d.ts +9 -0
  362. package/lib/browser/skin/skin-layer.js +154 -0
  363. package/lib/browser/skin/skin-util.d.ts +41 -0
  364. package/lib/browser/skin/skin-util.js +123 -0
  365. package/lib/browser/style/base.d.ts +1 -1
  366. package/lib/browser/style/base.js +10 -6
  367. package/lib/browser/style/chat-list.d.ts +1 -1
  368. package/lib/browser/style/chat-list.js +28 -15
  369. package/lib/browser/style/conversation-column.d.ts +1 -1
  370. package/lib/browser/style/conversation.d.ts +1 -1
  371. package/lib/browser/style/conversation.js +5 -4
  372. package/lib/browser/style/dialogs.d.ts +1 -1
  373. package/lib/browser/style/dialogs.js +2 -5
  374. package/lib/browser/style/forms.d.ts +6 -0
  375. package/lib/browser/style/forms.js +68 -0
  376. package/lib/browser/style/layout.d.ts +1 -1
  377. package/lib/browser/style/pages.d.ts +1 -1
  378. package/lib/browser/style/pages.js +14 -24
  379. package/lib/browser/style/phone.d.ts +1 -1
  380. package/lib/browser/style/shared.d.ts +1 -1
  381. package/lib/browser/style/shell.d.ts +1 -1
  382. package/lib/browser/style/shell.js +1 -6
  383. package/lib/browser/style/skins.d.ts +10 -0
  384. package/lib/browser/style/skins.js +110 -0
  385. package/lib/browser/style/surfaces.d.ts +1 -1
  386. package/lib/browser/style/surfaces.js +8 -6
  387. package/lib/browser/style/tasks.d.ts +1 -1
  388. package/lib/browser/style.js +4 -0
  389. package/lib/browser/util/fresh-rows.d.ts +22 -0
  390. package/lib/browser/util/fresh-rows.js +40 -0
  391. package/lib/browser/util/process.d.ts +12 -22
  392. package/lib/browser/util/process.js +49 -40
  393. package/lib/browser/util/voice.d.ts +18 -0
  394. package/lib/browser/util/voice.js +111 -3
  395. package/lib/browser/workbench-protocol.d.ts +2 -0
  396. package/lib/browser/workbench-services.d.ts +2 -0
  397. package/lib/browser/workbench-services.js +5 -0
  398. package/lib/browser/workbench.js +5 -0
  399. package/package.json +8 -8
  400. package/public/launch.svg +3 -3
@@ -0,0 +1,272 @@
1
+ import { MiniProgram } from '../device/mini-program.js';
2
+ import { Transcription } from '../util/transcription.js';
3
+ import { MicCapture } from './mic-capture.js';
4
+ import { PcmUtil } from './pcm-util.js';
5
+ import { RealtimeVoice } from './realtime-voice.js';
6
+ /** The package whose host writes speech down on the computer (ta-voice's hear.ts). */
7
+ export const HEAR_PACKAGE = '@celljs/ta-voice';
8
+ /**
9
+ * Ta listening where the recognizer of the device does not (Voice.Fallback, docs/design/ta-voice.md 11): with the
10
+ * voice service of Settings → Voice when one is chosen, else with the model of the computer (ta-voice's hear, a
11
+ * need of ta-local-models). The microphone's sound goes to ta serve as PCM16 at 16 kHz in pieces as the user speaks;
12
+ * what was said so far comes back about each second, and all of it once they stop.
13
+ */
14
+ export class TaHearing {
15
+ constructor(host) {
16
+ this.host = host;
17
+ }
18
+ available() {
19
+ var _a;
20
+ return !MiniProgram.inside() && this.host.online() && typeof navigator !== 'undefined' && !!((_a = navigator.mediaDevices) === null || _a === void 0 ? void 0 : _a.getUserMedia);
21
+ }
22
+ listen(language, onText, onEnd, options = {}) {
23
+ let ended = false;
24
+ let stopped = false;
25
+ let inner;
26
+ const end = (error) => {
27
+ if (!ended) {
28
+ ended = true;
29
+ onEnd(error);
30
+ }
31
+ };
32
+ void (async () => {
33
+ const voices = await this.host.voices.voice.listVoices().catch(() => undefined);
34
+ if ((voices === null || voices === void 0 ? void 0 : voices.use) && !stopped) {
35
+ const service = await new RealtimeVoice(this.host.voices).open(language).catch(() => undefined);
36
+ if (service && stopped) {
37
+ service.stop();
38
+ }
39
+ if (service && !stopped) {
40
+ inner = this.withService(service, language, onText, end, options);
41
+ return;
42
+ }
43
+ }
44
+ if (stopped) {
45
+ return end();
46
+ }
47
+ const status = (await this.host.call('hearing', []).catch(() => undefined));
48
+ if ((status === null || status === void 0 ? void 0 : status.state) !== 'ready') {
49
+ this.host.tell(status);
50
+ return end();
51
+ }
52
+ if (stopped) {
53
+ return end();
54
+ }
55
+ inner = await this.locally(onText, end, options);
56
+ if (stopped) {
57
+ inner === null || inner === void 0 ? void 0 : inner.stop();
58
+ }
59
+ })().catch(() => end('network'));
60
+ return {
61
+ stop: () => {
62
+ stopped = true;
63
+ inner === null || inner === void 0 ? void 0 : inner.stop();
64
+ },
65
+ };
66
+ }
67
+ /** With the voice service of Settings: one utterance, or all said till stopped, a sentence after another. */
68
+ withService(service, language, onText, end, options) {
69
+ let said = '';
70
+ let heard = '';
71
+ const done = (error) => {
72
+ service.stop();
73
+ end(error);
74
+ };
75
+ if (!options.continuous) {
76
+ const listening = service.listen(language, (text, final) => {
77
+ heard = text;
78
+ onText(text, final);
79
+ }, done);
80
+ if (!listening) {
81
+ done('unavailable');
82
+ return undefined;
83
+ }
84
+ return {
85
+ stop: () => {
86
+ listening.stop();
87
+ if (heard.trim()) {
88
+ onText(heard, true);
89
+ }
90
+ done();
91
+ },
92
+ };
93
+ }
94
+ const joined = (more) => [said, more].filter(part => part.trim()).join(' ');
95
+ const transcribing = Transcription.start(service, language, {
96
+ onText: (text, final) => {
97
+ if (final) {
98
+ said = joined(text);
99
+ heard = '';
100
+ onText(said, false);
101
+ }
102
+ else {
103
+ heard = text;
104
+ onText(joined(text), false);
105
+ }
106
+ },
107
+ onEnd: error => {
108
+ if (said.trim()) {
109
+ onText(said, true);
110
+ }
111
+ done(error);
112
+ },
113
+ }, { hints: options.hints });
114
+ if (!transcribing) {
115
+ done('unavailable');
116
+ return undefined;
117
+ }
118
+ return { stop: () => transcribing.stop() };
119
+ }
120
+ /** With the model of the computer. */
121
+ async locally(onText, end, options) {
122
+ var _a, _b;
123
+ var _c, _d;
124
+ let stream;
125
+ try {
126
+ stream = await ((_c = (_b = (_a = this.host).microphone) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : navigator.mediaDevices.getUserMedia({ audio: { echoCancellation: true, noiseSuppression: true, autoGainControl: true, channelCount: 1 } }));
127
+ }
128
+ catch (error) {
129
+ const name = error === null || error === void 0 ? void 0 : error.name;
130
+ end(name === 'NotAllowedError' || name === 'SecurityError' ? 'not-allowed' : 'audio-capture');
131
+ return undefined;
132
+ }
133
+ const id = `h-${crypto.randomUUID()}`;
134
+ const heard = new HeardSound(options.continuous === true);
135
+ let chain = Promise.resolve();
136
+ let finished = false;
137
+ let decoding = false;
138
+ let decodedAt = 0;
139
+ let latest = '';
140
+ const Context = (_d = globalThis.AudioContext) !== null && _d !== void 0 ? _d : globalThis.webkitAudioContext;
141
+ const context = new Context();
142
+ const send = (decode) => {
143
+ const piece = heard.take();
144
+ const audio = piece.length ? PcmUtil.base64(piece) : '';
145
+ const sent = chain.then(() => this.host.call('hear', decode ? [id, audio, decode] : [id, audio]));
146
+ chain = sent.catch(() => undefined);
147
+ return sent;
148
+ };
149
+ const finish = (error) => {
150
+ if (finished) {
151
+ return;
152
+ }
153
+ finished = true;
154
+ clearInterval(timer);
155
+ capture.stop();
156
+ void context.close().catch(() => undefined);
157
+ if (error) {
158
+ return end(error);
159
+ }
160
+ send('final').then(answer => {
161
+ var _a;
162
+ const text = String((_a = answer === null || answer === void 0 ? void 0 : answer.text) !== null && _a !== void 0 ? _a : '').trim() || latest;
163
+ if (text) {
164
+ onText(text, true);
165
+ }
166
+ end();
167
+ }, () => end('network'));
168
+ };
169
+ const capture = new MicCapture(stream, error => finish(error));
170
+ await context.resume().catch(() => undefined);
171
+ capture.hear(context, samples => heard.add(samples, context.sampleRate));
172
+ const timer = setInterval(() => {
173
+ if (finished) {
174
+ return;
175
+ }
176
+ if (!this.host.online()) {
177
+ return finish('network');
178
+ }
179
+ if (heard.over()) {
180
+ return finish();
181
+ }
182
+ const now = Date.now();
183
+ const ask = heard.spoke && !decoding && now - decodedAt >= TaHearing.INTERIM_MS && heard.ms <= TaHearing.INTERIM_MAX_MS;
184
+ if (!ask) {
185
+ send().catch(() => finish('network'));
186
+ return;
187
+ }
188
+ decoding = true;
189
+ decodedAt = now;
190
+ send('interim').then(answer => {
191
+ var _a;
192
+ decoding = false;
193
+ const text = String((_a = answer === null || answer === void 0 ? void 0 : answer.text) !== null && _a !== void 0 ? _a : '').trim();
194
+ if (text && !finished) {
195
+ latest = text;
196
+ onText(text, false);
197
+ }
198
+ }, () => finish('network'));
199
+ }, TaHearing.PIECE_MS);
200
+ return { stop: () => finish() };
201
+ }
202
+ }
203
+ /** Each piece sent, ms. */
204
+ TaHearing.PIECE_MS = 250;
205
+ /** What was said so far is asked at most this often, ms. */
206
+ TaHearing.INTERIM_MS = 1000;
207
+ /** Not past this much sound, ms: longer, only the end is written down. */
208
+ TaHearing.INTERIM_MAX_MS = 60000;
209
+ /** A silence this long after speech ends what is said to it (not what a finger holds), ms. */
210
+ TaHearing.SILENCE_MS = 1200;
211
+ /** No speech this long ends it, ms. */
212
+ TaHearing.NO_SPEECH_MS = 8000;
213
+ /** The longest one utterance, and one held, ms. */
214
+ TaHearing.MAX_MS = 60000;
215
+ TaHearing.MAX_HELD_MS = 300000;
216
+ /** The level (RMS) of speech, at least; in noise, louder than it. */
217
+ TaHearing.LEVEL = 0.015;
218
+ TaHearing.RATE = 16000;
219
+ /**
220
+ * The sound of a listening as it comes: PCM16 at 16 kHz not sent yet, how long it is, and whether it was speech, by its
221
+ * level above the noise there is; a silence after speech, no speech at all or too long a one ends what is said to it.
222
+ */
223
+ export class HeardSound {
224
+ constructor(held) {
225
+ this.held = held;
226
+ this.pieces = [];
227
+ this.samples = 0;
228
+ this.noise = 0;
229
+ this.spokeAt = 0;
230
+ this.spoke = false;
231
+ }
232
+ /** How long it is, ms. */
233
+ get ms() {
234
+ return (this.samples / TaHearing.RATE) * 1000;
235
+ }
236
+ add(samples, rate) {
237
+ const pcm = PcmUtil.toPcm16(samples, rate, TaHearing.RATE);
238
+ this.pieces.push(pcm);
239
+ this.samples += pcm.length / 2;
240
+ const level = PcmUtil.rms(samples);
241
+ if (level >= Math.max(TaHearing.LEVEL, this.noise * 2.5)) {
242
+ this.spoke = true;
243
+ this.spokeAt = this.ms;
244
+ }
245
+ else {
246
+ this.noise = this.noise ? this.noise * 0.95 + level * 0.05 : level;
247
+ }
248
+ }
249
+ /** What came since it was last taken. */
250
+ take() {
251
+ const bytes = this.pieces.reduce((sum, piece) => sum + piece.length, 0);
252
+ const out = new Uint8Array(bytes);
253
+ let at = 0;
254
+ for (const piece of this.pieces) {
255
+ out.set(piece, at);
256
+ at += piece.length;
257
+ }
258
+ this.pieces = [];
259
+ return out;
260
+ }
261
+ /** It is over: too long, or, said to it rather than held, a silence after speech or no speech at all. */
262
+ over() {
263
+ if (this.held) {
264
+ return this.ms >= TaHearing.MAX_HELD_MS;
265
+ }
266
+ if (this.ms >= TaHearing.MAX_MS) {
267
+ return true;
268
+ }
269
+ return this.spoke ? this.ms - this.spokeAt >= TaHearing.SILENCE_MS : this.ms >= TaHearing.NO_SPEECH_MS;
270
+ }
271
+ }
272
+ //# sourceMappingURL=ta-hearing.js.map
@@ -39,8 +39,9 @@ export declare function useKeys(toggle: () => void, openSettings: () => void, to
39
39
  * paints the corners of the window's buttons with theme-color: the traffic lights at the left over the
40
40
  * side columns, its own buttons at the right. So the bar is the colour of the side columns throughout, the
41
41
  * conversation below it too. Otherwise the whole title bar has the conversation's colour, as the sign-in page.
42
+ * Under a skin, both are the colour of the skin (SettingsState.skinColor).
42
43
  */
43
- export declare function useTitlebarColor(signedIn: boolean, theme: Theme): void;
44
+ export declare function useTitlebarColor(signedIn: boolean, theme: Theme, skinColor?: string): void;
44
45
  /** Reads the open sessions and the web extensions again while the tab is visible: other clients change them too. */
45
46
  export declare function useRefresh(online: boolean): void;
46
47
  /** The drawer of a compact layout comes out from the left edge under the finger, and goes the same way. */
@@ -102,20 +102,21 @@ export function useKeys(toggle, openSettings, toggleWorkbench, reopen) {
102
102
  * paints the corners of the window's buttons with theme-color: the traffic lights at the left over the
103
103
  * side columns, its own buttons at the right. So the bar is the colour of the side columns throughout, the
104
104
  * conversation below it too. Otherwise the whole title bar has the conversation's colour, as the sign-in page.
105
+ * Under a skin, both are the colour of the skin (SettingsState.skinColor).
105
106
  */
106
- export function useTitlebarColor(signedIn, theme) {
107
+ export function useTitlebarColor(signedIn, theme, skinColor) {
107
108
  React.useEffect(() => {
108
109
  const overlay = matchMedia('(display-mode: window-controls-overlay)');
109
110
  const apply = () => {
110
111
  const meta = document.querySelector('meta[name="theme-color"]');
111
112
  if (meta) {
112
- meta.content = THEME_COLORS[theme][overlay.matches && signedIn ? 'side' : 'main'];
113
+ meta.content = skinColor !== null && skinColor !== void 0 ? skinColor : THEME_COLORS[theme][overlay.matches && signedIn ? 'side' : 'main'];
113
114
  }
114
115
  };
115
116
  apply();
116
117
  overlay.addEventListener('change', apply);
117
118
  return () => overlay.removeEventListener('change', apply);
118
- }, [signedIn, theme]);
119
+ }, [signedIn, theme, skinColor]);
119
120
  }
120
121
  /** Reads the open sessions and the web extensions again while the tab is visible: other clients change them too. */
121
122
  export function useRefresh(online) {
@@ -75,7 +75,7 @@ export function useAppShell() {
75
75
  const settingsShown = settings !== undefined && (!phone || screenOpen);
76
76
  const [rightOpen, toggleRight, revealRight, uncoverRight] = useRight();
77
77
  const [maximized, setMaximized] = usePersisted(WORKBENCH_MAX);
78
- const [{ theme, language, settings: chatSettings }] = useSettings();
78
+ const [{ theme, language, settings: chatSettings, skinColor }] = useSettings();
79
79
  const readArchived = React.useCallback(() => void bench.readArchived().catch(() => undefined), [bench]);
80
80
  React.useEffect(() => bench.setArchiveDays(chatSettings.chatArchiveDays), [bench, chatSettings.chatArchiveDays]);
81
81
  const sidebar = usePane(SIDEBAR);
@@ -414,7 +414,7 @@ export function useAppShell() {
414
414
  }
415
415
  }, [removedChats, chat]);
416
416
  useKeys(toggleSide, openSettings, () => editors && toggleWorkbench(), reopenChat);
417
- useTitlebarColor(workbench.status !== 'signed-out', theme);
417
+ useTitlebarColor(workbench.status !== 'signed-out', theme, skinColor);
418
418
  return {
419
419
  t,
420
420
  workbench,
@@ -341,7 +341,7 @@ export function AuthPanel({ onSignedIn, onProviders, kinds }) {
341
341
  kind && (React.createElement("div", { className: "ta-auth-flow-head" },
342
342
  React.createElement(IconButton, { icon: ArrowLeft, label: t('ta.auth.back'), onClick: () => setKind(undefined) }),
343
343
  React.createElement("span", { className: "ta-auth-flow-title" }, kind === 'oauth' ? t('ta.auth.accounts') : t('ta.auth.keys')))),
344
- React.createElement("label", { className: "ta-field ta-field-small" },
344
+ React.createElement("label", { className: "ta-field" },
345
345
  React.createElement(Search, { size: 15, strokeWidth: 1.75, "aria-hidden": "true" }),
346
346
  React.createElement("input", { placeholder: t('ta.auth.search'), value: words, onChange: event => setWords(event.target.value) })),
347
347
  React.createElement("div", { className: "ta-auth-list" },
@@ -4,9 +4,15 @@ import { ExtensionBoundary } from '../extension/extension-view.js';
4
4
  import { WebLabelUtil } from '../extension/web-extension-protocol.js';
5
5
  import { usePersisted, useSettings, useWebExtensions } from '../hooks.js';
6
6
  import { useT } from '../i18n/use-t.js';
7
+ import { CodeEmbedded, CodeTitled } from '../markdown/code-renderers.js';
7
8
  import { BoardUtil } from './board-util.js';
8
9
  import { EmptyState } from './empty-state.js';
9
10
  import { useSortable } from './sortable.js';
11
+ /**
12
+ * A card of the board. It is the frame of what it holds: a block a widget draws with `ui.Markdown` (a dashboard, a plot
13
+ * kept as a work) is drawn embedded, without a frame of its own inside this one (AGENTS.md "A block has one frame"),
14
+ * nor a title of its own that says again the card's (WebCodeRendererProps.titled).
15
+ */
10
16
  function Card({ view, index }) {
11
17
  const View = view.component;
12
18
  const Glyph = view.icon;
@@ -17,7 +23,9 @@ function Card({ view, index }) {
17
23
  React.createElement("span", null, title)),
18
24
  React.createElement("div", { className: "ta-board-card-body" },
19
25
  React.createElement(ExtensionBoundary, { name: title, resetKey: View },
20
- React.createElement(View, null)))));
26
+ React.createElement(CodeEmbedded.Provider, { value: true },
27
+ React.createElement(CodeTitled.Provider, { value: title },
28
+ React.createElement(View, null)))))));
21
29
  }
22
30
  /** The day, as the widgets of a phone head their page: `11月12日 星期四`; again after midnight. */
23
31
  function Today() {
@@ -54,10 +54,10 @@ function ChatState({ streaming, waiting, waitingFor, task }) {
54
54
  return (React.createElement("span", { className: "ta-chat-state" },
55
55
  React.createElement("span", { className: "ta-spinner" })));
56
56
  }
57
- if (task === 'failed' || task === 'stopped') {
57
+ if (task === 'failed' || task === 'stopped' || task === 'paused') {
58
58
  return (React.createElement("span", { className: `ta-chat-state ta-${task}` },
59
59
  React.createElement("span", { className: `ta-status ${task === 'failed' ? 'ta-status-error' : 'ta-status-cancelled'}` }),
60
- t(task === 'failed' ? 'ta.task.failed' : 'ta.task.stopped')));
60
+ t(`ta.task.${task}`)));
61
61
  }
62
62
  return null;
63
63
  }
@@ -174,7 +174,7 @@ export const ChatItem = React.memo(function ChatItem({ session, source, selected
174
174
  const said = shown && SecretTextUtil.plain(t, shown);
175
175
  // Its directory too for one of a package's group, as a run of a scheduled task, not the package's name.
176
176
  const place = who || session.group ? MessageUtil.basename(session.cwd) : source.label;
177
- const ended = task === 'failed' || task === 'stopped' ? task : undefined;
177
+ const ended = task === 'failed' || task === 'stopped' || task === 'paused' ? task : undefined;
178
178
  return (React.createElement(SwipeRow, { as: "li", className: `ta-chat-row${selected ? ' ta-selected' : ''}${who ? ` ta-chat-${who.kind}` : ''}`, "data-row": ChatListUtil.key(session), "data-unseen": unseen && !asks ? '' : undefined, "data-asks": asks ? '' : undefined, actions: swipe, overlay: menu, onContextMenu: onContextMenu },
179
179
  React.createElement("button", { type: "button", className: `ta-chat-item${compact ? ' ta-compact' : ''}${removing ? ' ta-pending' : ''}`, title: `${title}\n${source.title}`, "aria-current": selected ? 'true' : undefined, onClick: onSelect, ...ScreenUtil.item(ChatListUtil.file(session)) }, compact ? (React.createElement("span", { className: "ta-chat-text" },
180
180
  React.createElement("span", { className: "ta-chat-line" },
@@ -212,7 +212,7 @@ export const ChatItem = React.memo(function ChatItem({ session, source, selected
212
212
  replying,
213
213
  ended && !streaming && !asks && draft === undefined && (React.createElement("span", { className: `ta-chat-flag ta-${ended}` },
214
214
  "[",
215
- t(ended === 'failed' ? 'ta.task.failed' : 'ta.task.stopped'),
215
+ t(`ta.task.${ended}`),
216
216
  "]")),
217
217
  asks || draft === undefined ? null : React.createElement("span", { className: "ta-chat-flag ta-draft" },
218
218
  "[",
@@ -193,8 +193,8 @@ export declare namespace ChatListUtil {
193
193
  /** The first letter of a name, for its avatar. */
194
194
  function initial(name: string): string;
195
195
  }
196
- /** What a task of the double came to, as the list says it beside the conversation. */
197
- export type ChatTaskStatus = 'running' | 'done' | 'failed' | 'stopped';
196
+ /** What a task of the double came to, as the list says it beside the conversation: `paused` stopped by the user, to go on later. */
197
+ export type ChatTaskStatus = 'running' | 'done' | 'failed' | 'stopped' | 'paused';
198
198
  /** The double, for the list: which conversations are its tasks, and how to hand it one. */
199
199
  export interface ChatListDouble {
200
200
  /** The sessions of its tasks (by the id of each, and by its file), and where each is. */
@@ -0,0 +1,2 @@
1
+ /** Offers the links of Ta the user copied or pasted (ClipboardLinks), once the extensions that tell them apart are loaded. */
2
+ export declare function ClipboardLinkHost(): null;
@@ -0,0 +1,27 @@
1
+ import * as React from 'react';
2
+ import { useLinks, useNotices, useSettings, useWebExtensions } from '../hooks.js';
3
+ import { translator } from '../i18n/use-t.js';
4
+ import { ClipboardLinks } from '../links/clipboard-links.js';
5
+ /** Offers the links of Ta the user copied or pasted (ClipboardLinks), once the extensions that tell them apart are loaded. */
6
+ export function ClipboardLinkHost() {
7
+ const [, links] = useLinks();
8
+ const [, notices] = useNotices();
9
+ const [, settings] = useSettings();
10
+ const [{ loaded }] = useWebExtensions();
11
+ const clipboard = React.useMemo(() => new ClipboardLinks({
12
+ find: text => links.find(text),
13
+ open: url => void links.open({ type: 'url', url }, { onlyTa: true }),
14
+ onOpen: listener => links.onOpen(listener),
15
+ notices,
16
+ say: (id, values) => translator(settings.state.language)(id, values),
17
+ enabled: () => settings.state.settings.clipboardLinks,
18
+ }), [links, notices, settings]);
19
+ React.useEffect(() => clipboard.start(), [clipboard]);
20
+ React.useEffect(() => {
21
+ if (loaded) {
22
+ clipboard.loaded();
23
+ }
24
+ }, [clipboard, loaded]);
25
+ return null;
26
+ }
27
+ //# sourceMappingURL=clipboard-link-host.js.map
@@ -95,7 +95,7 @@ export function CloudNetworkRow({ host, onChanged }) {
95
95
  }
96
96
  void save(allow);
97
97
  } },
98
- React.createElement("textarea", { className: "ta-input", rows: 5, value: text, spellCheck: false, placeholder: t('ta.remote.network.placeholder'), "aria-label": t('ta.remote.network.custom'), onChange: event => setText(event.target.value) }),
98
+ React.createElement("textarea", { className: "ta-input ta-mono", rows: 5, value: text, spellCheck: false, placeholder: t('ta.remote.network.placeholder'), "aria-label": t('ta.remote.network.custom'), onChange: event => setText(event.target.value) }),
99
99
  React.createElement("button", { type: "submit", className: `ta-button${busy ? ' ta-busy' : ''}`, disabled: busy }, busy ? React.createElement("span", { className: "ta-spinner" }) : t('ta.remote.network.save'))))),
100
100
  held && mode !== 'open' && (React.createElement(Row, { inset: true, label: "", description: held }, mendable && (React.createElement("button", { type: "button", className: `ta-button${busy ? ' ta-busy' : ''}`, disabled: busy, title: t('ta.remote.network.isolateHint'), onClick: () => void run(isolate) },
101
101
  busy ? React.createElement("span", { className: "ta-spinner" }) : React.createElement(Icon, { icon: ShieldCheck, size: 14 }),