@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,191 @@
1
+ import * as React from 'react';
2
+ import { WebExtensionRunUtil } from './web-extension-run.js';
3
+ /**
4
+ * What the methods of one package's host answer, for `ui.useHost`: one read for all who show the same, again only as
5
+ * the host says it changed (TaExtensionHost.changed), the connection comes back or the page shows after a change it
6
+ * missed; the same snapshot until an answer differs.
7
+ */
8
+ export class WebHostValues {
9
+ constructor(deps) {
10
+ this.deps = deps;
11
+ this.entries = new Map();
12
+ this.stops = [];
13
+ }
14
+ /** What a method with its params is kept by. */
15
+ static key(method, params = []) {
16
+ return `${method}\n${JSON.stringify(params)}`;
17
+ }
18
+ /** The snapshot of a method with its params (WebHostValues.key), the same object until it changes. */
19
+ get(key) {
20
+ return this.entry(key).snapshot;
21
+ }
22
+ /** Shows it: read now, and again as it changes, until the function returned. */
23
+ subscribe(key, options, listener) {
24
+ var _a;
25
+ const entry = this.entry(key);
26
+ entry.topics = new Set((_a = options.topics) !== null && _a !== void 0 ? _a : [entry.method]);
27
+ entry.every = options.every;
28
+ entry.listeners.add(listener);
29
+ if (entry.listeners.size === 1) {
30
+ this.listen();
31
+ void this.read(entry);
32
+ if (entry.every) {
33
+ entry.timer = setInterval(() => !this.hidden() && void this.read(entry), entry.every);
34
+ }
35
+ }
36
+ return () => {
37
+ entry.listeners.delete(listener);
38
+ if (entry.listeners.size === 0) {
39
+ clearInterval(entry.timer);
40
+ entry.timer = undefined;
41
+ if (![...this.entries.values()].some(each => each.listeners.size)) {
42
+ this.dispose();
43
+ }
44
+ }
45
+ };
46
+ }
47
+ /** Heard of the host: what reads one of the topics is read again, or marked to be once the page shows. */
48
+ changed(topics) {
49
+ for (const entry of this.shown()) {
50
+ if (topics.some(topic => entry.topics.has(topic))) {
51
+ if (this.hidden()) {
52
+ entry.stale = true;
53
+ }
54
+ else {
55
+ void this.read(entry);
56
+ }
57
+ }
58
+ }
59
+ }
60
+ dispose() {
61
+ for (const stop of this.stops) {
62
+ stop();
63
+ }
64
+ this.stops = [];
65
+ }
66
+ entry(key) {
67
+ let entry = this.entries.get(key);
68
+ if (!entry) {
69
+ const at = key.indexOf('\n');
70
+ const method = key.slice(0, at);
71
+ const params = JSON.parse(key.slice(at + 1));
72
+ const created = {
73
+ method,
74
+ params,
75
+ topics: new Set([method]),
76
+ listeners: new Set(),
77
+ snapshot: { loading: true, read: () => this.read(created) },
78
+ };
79
+ this.entries.set(key, created);
80
+ entry = created;
81
+ }
82
+ return entry;
83
+ }
84
+ listen() {
85
+ var _a, _b;
86
+ if (this.stops.length) {
87
+ return;
88
+ }
89
+ this.stops.push(this.deps.onChanged(topics => this.changed(topics)));
90
+ this.stops.push(this.deps.onReconnect(() => this.readShown(false)));
91
+ const shows = (_b = (_a = this.deps).onShown) === null || _b === void 0 ? void 0 : _b.call(_a, () => this.readShown(true));
92
+ if (shows) {
93
+ this.stops.push(shows);
94
+ }
95
+ }
96
+ /** Reads again what shows; only what changed while hidden with `stale`. */
97
+ readShown(stale) {
98
+ for (const entry of this.shown()) {
99
+ if (!stale || entry.stale) {
100
+ void this.read(entry);
101
+ }
102
+ }
103
+ }
104
+ shown() {
105
+ return [...this.entries.values()].filter(entry => entry.listeners.size > 0);
106
+ }
107
+ hidden() {
108
+ var _a, _b;
109
+ var _c;
110
+ return (_c = (_b = (_a = this.deps).hidden) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : false;
111
+ }
112
+ read(entry) {
113
+ if (entry.reading) {
114
+ entry.again = true;
115
+ return entry.reading;
116
+ }
117
+ entry.stale = false;
118
+ entry.reading = (async () => {
119
+ do {
120
+ entry.again = false;
121
+ try {
122
+ const value = await this.deps.call(entry.method, entry.params);
123
+ const json = JSON.stringify(value !== null && value !== void 0 ? value : null);
124
+ if (json !== entry.json || entry.snapshot.loading || entry.snapshot.error !== undefined) {
125
+ entry.json = json;
126
+ this.show(entry, { value: value !== null && value !== void 0 ? value : undefined, loading: false, read: entry.snapshot.read });
127
+ }
128
+ }
129
+ catch (failure) {
130
+ const error = failure instanceof Error ? failure.message : String(failure);
131
+ if (error !== entry.snapshot.error || entry.snapshot.loading) {
132
+ this.show(entry, { value: entry.snapshot.value, error, loading: false, read: entry.snapshot.read });
133
+ }
134
+ }
135
+ } while (entry.again);
136
+ })().finally(() => {
137
+ entry.reading = undefined;
138
+ });
139
+ return entry.reading;
140
+ }
141
+ show(entry, snapshot) {
142
+ entry.snapshot = snapshot;
143
+ for (const listener of [...entry.listeners]) {
144
+ listener();
145
+ }
146
+ }
147
+ }
148
+ /** The values of each extension that runs, made as it first asks. */
149
+ const OF_RUN = new WeakMap();
150
+ /** What `ui.useHost` and `onHostChanged` of an extension read: its package's host, on the connection of the page. */
151
+ export var WebHostValuesUtil;
152
+ (function (WebHostValuesUtil) {
153
+ function of(run, workbench) {
154
+ let values = OF_RUN.get(run);
155
+ if (!values) {
156
+ const { name } = run.loaded;
157
+ const visible = typeof document !== 'undefined';
158
+ values = new WebHostValues({
159
+ call: (method, params) => run.stopped
160
+ ? Promise.reject(new Error(`The web extension ${name} has stopped.`))
161
+ : workbench.packages.callPackageHost(name, method, [...params]),
162
+ onChanged: listener => WebExtensionRunUtil.track(run, () => workbench.onHostChanged((changed, topics) => changed === name && listener(topics))),
163
+ onReconnect: listener => WebExtensionRunUtil.track(run, () => workbench.onReconnect(listener)),
164
+ hidden: () => visible && document.visibilityState === 'hidden',
165
+ onShown: listener => {
166
+ if (!visible) {
167
+ return () => undefined;
168
+ }
169
+ const shown = () => document.visibilityState === 'visible' && listener();
170
+ document.addEventListener('visibilitychange', shown);
171
+ return () => document.removeEventListener('visibilitychange', shown);
172
+ },
173
+ });
174
+ OF_RUN.set(run, values);
175
+ }
176
+ return values;
177
+ }
178
+ WebHostValuesUtil.of = of;
179
+ })(WebHostValuesUtil || (WebHostValuesUtil = {}));
180
+ /** `ui.useHost` on the values of one extension. */
181
+ export function useHostValue(values, method, params = [], options = {}) {
182
+ var _a;
183
+ const key = WebHostValues.key(method, params);
184
+ // By their values, not the arrays of each render.
185
+ const topics = ((_a = options.topics) !== null && _a !== void 0 ? _a : [method]).join('\n');
186
+ const { every } = options;
187
+ const subscribe = React.useCallback((listener) => values.subscribe(key, { topics: topics.split('\n'), every }, listener), [values, key, topics, every]);
188
+ const get = React.useCallback(() => values.get(key), [values, key]);
189
+ return React.useSyncExternalStore(subscribe, get, get);
190
+ }
191
+ //# sourceMappingURL=web-host-values.js.map
@@ -1,7 +1,12 @@
1
1
  import type { SavedHost, TaWorkbench } from '../workbench-protocol.js';
2
2
  import type { WebHost, WebHosts } from './web-api-hosts.js';
3
- /** The computers of the device as extensions see them (WebExtensionAPI.hosts): never their ways in. */
3
+ /**
4
+ * The computers of the device as extensions see them (WebExtensionAPI.hosts): never their ways in. Once the extension
5
+ * stopped, it keeps no computer and moves the page to none: what acts for the user fails (WebExtensionContext).
6
+ */
4
7
  export declare namespace WebHostsUtil {
5
- function of(workbench: () => TaWorkbench): WebHosts;
8
+ function of(workbench: () => TaWorkbench, extension?: {
9
+ readonly stopped: boolean;
10
+ }): WebHosts;
6
11
  function hostOf(saved: SavedHost): WebHost;
7
12
  }
@@ -1,8 +1,11 @@
1
1
  import { HostUtil } from '../hosts.js';
2
- /** The computers of the device as extensions see them (WebExtensionAPI.hosts): never their ways in. */
2
+ /**
3
+ * The computers of the device as extensions see them (WebExtensionAPI.hosts): never their ways in. Once the extension
4
+ * stopped, it keeps no computer and moves the page to none: what acts for the user fails (WebExtensionContext).
5
+ */
3
6
  export var WebHostsUtil;
4
7
  (function (WebHostsUtil) {
5
- function of(workbench) {
8
+ function of(workbench, extension = { stopped: false }) {
6
9
  return {
7
10
  current: () => {
8
11
  const { hosts, host } = workbench().state;
@@ -10,8 +13,17 @@ export var WebHostsUtil;
10
13
  return saved && hostOf(saved);
11
14
  },
12
15
  list: () => workbench().state.hosts.map(hostOf),
13
- keep: (link, name) => workbench().keepHost(link, name),
14
- switchTo: id => workbench().switchTo(id),
16
+ keep: (link, name) => {
17
+ if (extension.stopped) {
18
+ throw new Error('The web extension has stopped.');
19
+ }
20
+ return workbench().keepHost(link, name);
21
+ },
22
+ switchTo: id => {
23
+ if (!extension.stopped) {
24
+ workbench().switchTo(id);
25
+ }
26
+ },
15
27
  };
16
28
  }
17
29
  WebHostsUtil.of = of;
@@ -0,0 +1,7 @@
1
+ import type { WebExtensionUI } from './web-extension-api.js';
2
+ import type { WebExtensionContextHost } from './web-extension-context.js';
3
+ /**
4
+ * What `ui` gives an extension to share with (docs/design/ta-links.md 4): the share sheet of a link, that of something
5
+ * (`share`, its tiles the ways to share), and handing an extension on. None of it does anything once it stopped.
6
+ */
7
+ export declare function shareUI(host: Pick<WebExtensionContextHost, 'extensions' | 'notices' | 'workbench'>, stopped: () => boolean): Pick<WebExtensionUI, 'shareExtension' | 'share' | 'ShareSheet'>;
@@ -0,0 +1,20 @@
1
+ import * as React from 'react';
2
+ import { ShareSheet } from '../components/share-sheet.js';
3
+ /**
4
+ * What `ui` gives an extension to share with (docs/design/ta-links.md 4): the share sheet of a link, that of something
5
+ * (`share`, its tiles the ways to share), and handing an extension on. None of it does anything once it stopped.
6
+ */
7
+ export function shareUI(host, stopped) {
8
+ const sheet = (props) => React.createElement(ShareSheet, {
9
+ ...props,
10
+ notices: host.notices,
11
+ rooms: host.workbench.rooms,
12
+ onRoomEvent: listener => host.workbench.onRoomEvent(listener, { messages: false }),
13
+ });
14
+ return {
15
+ shareExtension: target => !stopped() && host.extensions.share(target),
16
+ share: item => !stopped() && host.extensions.shareItem(item),
17
+ ShareSheet: sheet,
18
+ };
19
+ }
20
+ //# sourceMappingURL=web-share-ui.js.map
@@ -0,0 +1,18 @@
1
+ import type { WebCodeRef, WebFileRef, WebShareItem, WebShareWay } from './web-api-menus.js';
2
+ /**
3
+ * Sharing, one entry for all (docs/design/ta-links.md 4.2): the item a block or a file is, the ways that take it, and
4
+ * what the sheet says of it. The page adds the one Share under a block a renderer drew and in the menu of a file.
5
+ */
6
+ export declare namespace WebShareUtil {
7
+ /** A block a renderer drew; none for one drawn as code. */
8
+ function ofBlock(block: WebCodeRef): WebShareItem | undefined;
9
+ /** A file; none for a folder. */
10
+ function ofFile(file: WebFileRef): WebShareItem | undefined;
11
+ /** The ways that take it, in their order. */
12
+ function ways(all: readonly WebShareWay[], item: WebShareItem): WebShareWay[];
13
+ /** What it is called: the title a work gives itself, the name of a file; '' for a block that says nothing. */
14
+ function name(item: WebShareItem): string;
15
+ /** The name of its icon (WEB_ICONS): that of the kind of work, a file's. */
16
+ function icon(item: WebShareItem): string;
17
+ function label(way: WebShareWay): string;
18
+ }
@@ -0,0 +1,42 @@
1
+ import { TA_WORK_BLOCKS, TaWorkTitle } from '@celljs/ta-protocol';
2
+ /**
3
+ * Sharing, one entry for all (docs/design/ta-links.md 4.2): the item a block or a file is, the ways that take it, and
4
+ * what the sheet says of it. The page adds the one Share under a block a renderer drew and in the menu of a file.
5
+ */
6
+ export var WebShareUtil;
7
+ (function (WebShareUtil) {
8
+ /** A block a renderer drew; none for one drawn as code. */
9
+ function ofBlock(block) {
10
+ return block.drawn
11
+ ? { kind: 'block', language: block.language, code: block.code, ...(block.conversation ? { conversation: block.conversation } : {}) }
12
+ : undefined;
13
+ }
14
+ WebShareUtil.ofBlock = ofBlock;
15
+ /** A file; none for a folder. */
16
+ function ofFile(file) {
17
+ return file.kind === 'file' ? { kind: 'file', file } : undefined;
18
+ }
19
+ WebShareUtil.ofFile = ofFile;
20
+ /** The ways that take it, in their order. */
21
+ function ways(all, item) {
22
+ return all.filter(way => way.accepts(item));
23
+ }
24
+ WebShareUtil.ways = ways;
25
+ /** What it is called: the title a work gives itself, the name of a file; '' for a block that says nothing. */
26
+ function name(item) {
27
+ var _a;
28
+ return item.kind === 'file' ? item.file.name : ((_a = TaWorkTitle.of(item.language, item.code)) !== null && _a !== void 0 ? _a : '');
29
+ }
30
+ WebShareUtil.name = name;
31
+ /** The name of its icon (WEB_ICONS): that of the kind of work, a file's. */
32
+ function icon(item) {
33
+ var _a;
34
+ return item.kind === 'file' ? 'FileText' : ((_a = TA_WORK_BLOCKS[item.language]) !== null && _a !== void 0 ? _a : 'Sparkles');
35
+ }
36
+ WebShareUtil.icon = icon;
37
+ function label(way) {
38
+ return typeof way.label === 'function' ? way.label() : way.label;
39
+ }
40
+ WebShareUtil.label = label;
41
+ })(WebShareUtil || (WebShareUtil = {}));
42
+ //# sourceMappingURL=web-share.js.map
@@ -24,6 +24,9 @@ export declare const ASSISTANT_EN: {
24
24
  'ta.assistant.speakStopShort': string;
25
25
  'ta.assistant.poke': string;
26
26
  'ta.assistant.stop': string;
27
+ 'ta.assistant.pauseTasks': string;
28
+ 'ta.assistant.resumeTasks': string;
29
+ 'ta.assistant.pausedTasks': string;
27
30
  'ta.assistant.restart': string;
28
31
  'ta.assistant.restartTitle': string;
29
32
  'ta.assistant.restartHint': string;
@@ -78,6 +81,7 @@ export declare const ASSISTANT_EN: {
78
81
  'ta.task.verdictFail': string;
79
82
  'ta.task.branch': string;
80
83
  'ta.task.stopped': string;
84
+ 'ta.task.paused': string;
81
85
  'ta.task.waiting': string;
82
86
  'ta.task.waitingPermission': string;
83
87
  'ta.task.waitingQuestion': string;
@@ -24,6 +24,9 @@ export const ASSISTANT_EN = {
24
24
  'ta.assistant.speakStopShort': 'Stop',
25
25
  'ta.assistant.poke': 'Poke Ta',
26
26
  'ta.assistant.stop': 'Stop',
27
+ 'ta.assistant.pauseTasks': 'Pause all tasks',
28
+ 'ta.assistant.resumeTasks': 'Resume paused tasks ({count})',
29
+ 'ta.assistant.pausedTasks': 'Paused {count} tasks',
27
30
  'ta.assistant.restart': 'Start over',
28
31
  'ta.assistant.restartTitle': 'Start a new conversation with the double?',
29
32
  'ta.assistant.restartHint': 'The current one stays in its session file; the tasks go on.',
@@ -78,6 +81,7 @@ export const ASSISTANT_EN = {
78
81
  'ta.task.verdictFail': 'Check failed',
79
82
  'ta.task.branch': 'Branch {branch}',
80
83
  'ta.task.stopped': 'Stopped',
84
+ 'ta.task.paused': 'Paused',
81
85
  'ta.task.waiting': 'Waiting for you',
82
86
  'ta.task.waitingPermission': 'Waiting for you to allow',
83
87
  'ta.task.waitingQuestion': 'Waiting for your answer',
@@ -165,6 +165,16 @@ export declare const CHAT_EN: {
165
165
  'ta.composer.voiceDenied': string;
166
166
  'ta.composer.voiceUnavailable': string;
167
167
  'ta.composer.voiceFailed': string;
168
+ 'ta.hear.offer': string;
169
+ 'ta.hear.offerHint': string;
170
+ 'ta.hear.turnOn': string;
171
+ 'ta.hear.turnedOn': string;
172
+ 'ta.hear.getting': string;
173
+ 'ta.hear.failed': string;
174
+ 'ta.hear.retry': string;
175
+ 'ta.hear.unsupported': string;
176
+ 'ta.hear.unavailable': string;
177
+ 'ta.hear.unavailableHint': string;
168
178
  'ta.talk.listening': string;
169
179
  'ta.talk.edit': string;
170
180
  'ta.talk.releaseSend': string;
@@ -165,6 +165,16 @@ export const CHAT_EN = {
165
165
  'ta.composer.voiceDenied': 'Ta may not use the microphone or speech recognition. If they are allowed already, this browser may have no speech recognition: try Safari, Chrome or the Ta app.',
166
166
  'ta.composer.voiceUnavailable': 'Speech recognition is not available in this browser (on an iPhone, turn on Siri & Dictation). Try Safari, Chrome or the Ta app.',
167
167
  'ta.composer.voiceFailed': 'Speech recognition failed: {error}',
168
+ 'ta.hear.offer': 'This device cannot recognize speech: your computer can write it down instead',
169
+ 'ta.hear.offerHint': 'Downloads a model of about {size} to the computer; it needs only the microphone, and nothing goes online.',
170
+ 'ta.hear.turnOn': 'Download and turn on',
171
+ 'ta.hear.turnedOn': 'Downloading the speech model to your computer; speak again once it is ready',
172
+ 'ta.hear.getting': 'Your computer is downloading the speech model ({percent}%); speak again once it is ready',
173
+ 'ta.hear.failed': 'The speech recognition of your computer is not ready',
174
+ 'ta.hear.retry': 'Try again',
175
+ 'ta.hear.unsupported': "This device cannot recognize speech, nor can your computer run Ta's",
176
+ 'ta.hear.unavailable': "This device cannot recognize speech, and Ta's speech recognition is off",
177
+ 'ta.hear.unavailableHint': 'Turn on Real-time voice and Local models in Settings → Extensions.',
168
178
  'ta.talk.listening': 'Listening…',
169
179
  'ta.talk.edit': 'Edit',
170
180
  'ta.talk.releaseSend': 'Release to send',
@@ -36,6 +36,7 @@ export declare const COMMON_EN: {
36
36
  'ta.zoom.next': string;
37
37
  'ta.zoom.failed': string;
38
38
  'ta.markdown.missing': string;
39
+ 'ta.markdown.retry': string;
39
40
  'ta.link.openFile': string;
40
41
  'ta.link.openFolder': string;
41
42
  'ta.link.external': string;
@@ -46,6 +47,16 @@ export declare const COMMON_EN: {
46
47
  'ta.link.trust': string;
47
48
  'ta.link.trustHint': string;
48
49
  'ta.link.copied': string;
50
+ 'ta.link.kindPairing': string;
51
+ 'ta.link.kindExtension': string;
52
+ 'ta.clip.clipboardOne': string;
53
+ 'ta.clip.pasteOne': string;
54
+ 'ta.clip.clipboardFrom': string;
55
+ 'ta.clip.pasteFrom': string;
56
+ 'ta.clip.clipboardMany': string;
57
+ 'ta.clip.pasteMany': string;
58
+ 'ta.clip.pick': string;
59
+ 'ta.clip.open': string;
49
60
  'ta.link.notFound': string;
50
61
  'ta.terminal.openLink': string;
51
62
  'ta.terminal.openLinkMac': string;
@@ -92,6 +103,10 @@ export declare const COMMON_EN: {
92
103
  'ta.select.all': string;
93
104
  'ta.select.count': string;
94
105
  'ta.select.done': string;
106
+ 'ta.people.search': string;
107
+ 'ta.people.none': string;
108
+ 'ta.people.noMatch': string;
109
+ 'ta.people.leaveOut': string;
95
110
  'ta.more': string;
96
111
  'ta.host.title': string;
97
112
  'ta.on': string;
@@ -36,6 +36,7 @@ export const COMMON_EN = {
36
36
  'ta.zoom.next': 'Next picture (→)',
37
37
  'ta.zoom.failed': 'Cannot show this picture',
38
38
  'ta.markdown.missing': 'Cannot show {name}',
39
+ 'ta.markdown.retry': 'Tap to try again',
39
40
  // Links of replies
40
41
  'ta.link.openFile': 'Click to open',
41
42
  'ta.link.openFolder': 'Click to show in the explorer',
@@ -47,6 +48,16 @@ export const COMMON_EN = {
47
48
  'ta.link.trust': 'Trust {host}',
48
49
  'ta.link.trustHint': 'Pages of this host open without asking from now on; the list is in Settings.',
49
50
  'ta.link.copied': 'Link copied',
51
+ 'ta.link.kindPairing': 'Link to connect a computer',
52
+ 'ta.link.kindExtension': 'Extension of Ta',
53
+ 'ta.clip.clipboardOne': 'In the clipboard: {kind}',
54
+ 'ta.clip.pasteOne': 'You pasted a link of Ta: {kind}',
55
+ 'ta.clip.clipboardFrom': 'From the clipboard · {kind}',
56
+ 'ta.clip.pasteFrom': 'Pasted · {kind}',
57
+ 'ta.clip.clipboardMany': '{count} links of Ta in the clipboard',
58
+ 'ta.clip.pasteMany': '{count} links of Ta in what you pasted',
59
+ 'ta.clip.pick': 'Tap one to open it',
60
+ 'ta.clip.open': 'Open',
50
61
  'ta.link.notFound': '{path} is not there.',
51
62
  'ta.terminal.openLink': 'Ctrl + click to open',
52
63
  'ta.terminal.openLinkMac': 'Cmd + click to open',
@@ -93,6 +104,10 @@ export const COMMON_EN = {
93
104
  'ta.select.all': 'Select all',
94
105
  'ta.select.count': '{count} selected',
95
106
  'ta.select.done': 'Done',
107
+ 'ta.people.search': 'Search',
108
+ 'ta.people.none': 'Nobody to pick yet',
109
+ 'ta.people.noMatch': 'No one found',
110
+ 'ta.people.leaveOut': 'Leave out {name}',
96
111
  'ta.more': 'More',
97
112
  'ta.host.title': 'On the remote host {host}',
98
113
  'ta.on': 'On',
@@ -46,12 +46,22 @@ export declare const DISCOVER_EN: {
46
46
  'ta.share.friends': string;
47
47
  'ta.share.pickFriends': string;
48
48
  'ta.share.sendN': string;
49
- 'ta.share.sentTo': string;
49
+ 'ta.share.sentTitle': string;
50
+ 'ta.share.sent': string;
51
+ 'ta.share.got': string;
52
+ 'ta.share.opened': string;
50
53
  'ta.share.renew': string;
51
54
  'ta.share.passwordApart': string;
52
55
  'ta.share.copyPassword': string;
53
56
  'ta.share.cannotMake': string;
54
57
  'ta.share.extensionGets': string;
58
+ 'ta.share.extensionInvite': string;
59
+ 'ta.share.share': string;
60
+ 'ta.share.titled': string;
61
+ 'ta.share.thing': string;
62
+ 'ta.share.itemWork': string;
63
+ 'ta.share.itemFile': string;
64
+ 'ta.share.noWay': string;
55
65
  'ta.open.title': string;
56
66
  'ta.open.published': string;
57
67
  'ta.open.relayed': string;
@@ -47,12 +47,22 @@ export const DISCOVER_EN = {
47
47
  'ta.share.friends': 'Ta friends',
48
48
  'ta.share.pickFriends': 'Pick friends',
49
49
  'ta.share.sendN': 'Send to {n}',
50
- 'ta.share.sentTo': 'Sent to {n}: it waits in their Ta',
50
+ 'ta.share.sentTitle': 'Sent to these friends',
51
+ 'ta.share.sent': 'Sent',
52
+ 'ta.share.got': 'Received',
53
+ 'ta.share.opened': 'Opened',
51
54
  'ta.share.renew': 'New link',
52
55
  'ta.share.passwordApart': 'Tell them the password apart:',
53
56
  'ta.share.copyPassword': 'Copy password',
54
57
  'ta.share.cannotMake': 'The link could not be made',
55
58
  'ta.share.extensionGets': 'They open it in Ta without installing',
59
+ 'ta.share.extensionInvite': 'An extension of Ta for you, {name}. Open the link in Ta to try it, nothing to install:',
60
+ 'ta.share.share': 'Share',
61
+ 'ta.share.titled': 'Share “{name}”',
62
+ 'ta.share.thing': 'This',
63
+ 'ta.share.itemWork': 'Pick where it goes',
64
+ 'ta.share.itemFile': 'A copy of the file as it is now',
65
+ 'ta.share.noWay': 'Nowhere to share it here',
56
66
  'ta.open.title': 'Open {name}?',
57
67
  'ta.open.published': 'It runs in Ta with what Ta can do: it reads and writes files of this computer and runs commands. Open only what you trust.',
58
68
  'ta.open.relayed': 'It comes from the computer of the one who shared it, and runs in Ta with what Ta can do: it reads and writes files of this computer and runs commands. Open only what you trust.',
@@ -60,6 +60,14 @@ export declare const SETTINGS_EN: {
60
60
  'ta.settings.diagramStyle.sketch': string;
61
61
  'ta.settings.diagramStyle.colour': string;
62
62
  'ta.settings.diagramStyle.motion': string;
63
+ 'ta.settings.skin': string;
64
+ 'ta.settings.skinHint': string;
65
+ 'ta.settings.skin.none': string;
66
+ 'ta.settings.glass': string;
67
+ 'ta.settings.glassHint': string;
68
+ 'ta.settings.glass.clear': string;
69
+ 'ta.settings.glass.soft': string;
70
+ 'ta.settings.glass.focus': string;
63
71
  'ta.settings.fontSize': string;
64
72
  'ta.settings.fontSizeHint': string;
65
73
  'ta.settings.chatFontSize': string;
@@ -145,6 +153,8 @@ export declare const SETTINGS_EN: {
145
153
  'ta.settings.chatArchiveHint': string;
146
154
  'ta.settings.recentShots': string;
147
155
  'ta.settings.recentShotsHint': string;
156
+ 'ta.settings.clipboardLinks': string;
157
+ 'ta.settings.clipboardLinksHint': string;
148
158
  'ta.settings.navigation': string;
149
159
  'ta.settings.navigation.show': string;
150
160
  'ta.settings.navigation.inNav': string;
@@ -60,6 +60,14 @@ export const SETTINGS_EN = {
60
60
  'ta.settings.diagramStyle.sketch': 'Sketch',
61
61
  'ta.settings.diagramStyle.colour': 'Colour',
62
62
  'ta.settings.diagramStyle.motion': 'Motion',
63
+ 'ta.settings.skin': 'Skin',
64
+ 'ta.settings.skinHint': 'A picture behind Ta, its columns glass over it.',
65
+ 'ta.settings.skin.none': 'None',
66
+ 'ta.settings.glass': 'Glass',
67
+ 'ta.settings.glassHint': 'How much of the skin shows through.',
68
+ 'ta.settings.glass.clear': 'Clear',
69
+ 'ta.settings.glass.soft': 'Soft',
70
+ 'ta.settings.glass.focus': 'Focus',
63
71
  'ta.settings.fontSize': 'Font size',
64
72
  'ta.settings.fontSizeHint': 'The text of the whole page.',
65
73
  'ta.settings.chatFontSize': 'Conversation font size',
@@ -145,6 +153,8 @@ export const SETTINGS_EN = {
145
153
  'ta.settings.chatArchiveHint': 'Chats with no new message for this long leave the list and are no longer read with it. Find them under Archived at its end, or by search',
146
154
  'ta.settings.recentShots': 'Suggest recent screenshots',
147
155
  'ta.settings.recentShotsHint': 'When you open a chat just after taking a screenshot, it shows once above the message box; tap it to add it. In Ta Desktop and the Ta app',
156
+ 'ta.settings.clipboardLinks': 'Spot links of Ta you copy',
157
+ 'ta.settings.clipboardLinksHint': 'Copied a message with an invite or a share of Ta? Back in Ta, it shows what it is with Open; so does pasting it anywhere in Ta. The clipboard is read only as you come back, and nothing of it is kept. On iPhone, only once you tap Open',
148
158
  'ta.settings.navigation': 'Navigation',
149
159
  'ta.settings.navigation.show': 'In the navigation',
150
160
  'ta.settings.navigation.inNav': 'In the navigation',
@@ -23,6 +23,9 @@ export const ASSISTANT_JA = {
23
23
  'ta.assistant.speakStopShort': '停止',
24
24
  'ta.assistant.poke': 'Ta をつついてみる',
25
25
  'ta.assistant.stop': '停止',
26
+ 'ta.assistant.pauseTasks': 'すべてのタスクを一時停止',
27
+ 'ta.assistant.resumeTasks': '一時停止したタスクを再開({count})',
28
+ 'ta.assistant.pausedTasks': '{count} 件のタスクを一時停止しました',
26
29
  'ta.assistant.restart': 'やり直す',
27
30
  'ta.assistant.restartTitle': '分身との新しい会話を始めますか?',
28
31
  'ta.assistant.restartHint': '現在の会話はセッションファイルに保存され、タスクは続行します。',
@@ -77,6 +80,7 @@ export const ASSISTANT_JA = {
77
80
  'ta.task.verdictFail': 'チェック不合格',
78
81
  'ta.task.branch': 'ブランチ {branch}',
79
82
  'ta.task.stopped': '停止',
83
+ 'ta.task.paused': '一時停止中',
80
84
  'ta.task.waiting': 'あなたの対応が必要',
81
85
  'ta.task.waitingPermission': '許可を待っています',
82
86
  'ta.task.waitingQuestion': '回答を待っています',
@@ -164,6 +164,16 @@ export const CHAT_JA = {
164
164
  'ta.composer.voiceDenied': 'Ta はマイクまたは音声認識を使用する権限がありません。許可しても使えない場合、このブラウザーは音声認識に対応していない可能性があります。Safari、Chrome または Ta App をお使いください。',
165
165
  'ta.composer.voiceUnavailable': 'このブラウザーの音声認識は使えません(iPhone では「Siri と音声入力」をオンにしてください)。Safari、Chrome または Ta App をお使いください。',
166
166
  'ta.composer.voiceFailed': '音声認識が利用できません:{error}',
167
+ 'ta.hear.offer': 'この端末は音声を認識できません。代わりにコンピューターで書き起こせます',
168
+ 'ta.hear.offerHint': '約 {size} の認識モデルをコンピューターにダウンロードします。マイクの許可だけで、ネットには出ません。',
169
+ 'ta.hear.turnOn': 'ダウンロードしてオン',
170
+ 'ta.hear.turnedOn': 'コンピューターが音声モデルをダウンロードしています。終わったらもう一度話してください',
171
+ 'ta.hear.getting': 'コンピューターが音声モデルをダウンロード中({percent}%)。終わったらもう一度話してください',
172
+ 'ta.hear.failed': 'コンピューターの音声認識の準備ができていません',
173
+ 'ta.hear.retry': '再試行',
174
+ 'ta.hear.unsupported': 'この端末は音声を認識できず、コンピューターでも Ta の音声認識は動きません',
175
+ 'ta.hear.unavailable': 'この端末は音声を認識できず、Ta の音声認識もオフです',
176
+ 'ta.hear.unavailableHint': '設定 → 拡張機能 で「リアルタイム音声」と「ローカルモデル」をオンにしてください。',
167
177
  'ta.talk.listening': '聴取中…',
168
178
  'ta.talk.edit': '編集',
169
179
  'ta.talk.releaseSend': '離して送信',