@celljs/ta-web 4.49.0 → 4.50.1

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/account/account-side.js +4 -0
  4. package/esm/browser/account/device-account.d.ts +6 -0
  5. package/esm/browser/account/device-account.js +20 -5
  6. package/esm/browser/assistant/assistant-view.js +2 -0
  7. package/esm/browser/assistant/call-announcing.d.ts +25 -0
  8. package/esm/browser/assistant/call-announcing.js +32 -0
  9. package/esm/browser/assistant/call-answering.d.ts +43 -0
  10. package/esm/browser/assistant/call-answering.js +63 -0
  11. package/esm/browser/assistant/call-hearing.d.ts +53 -0
  12. package/esm/browser/assistant/call-hearing.js +98 -0
  13. package/esm/browser/assistant/call-pausing.d.ts +40 -0
  14. package/esm/browser/assistant/call-pausing.js +82 -0
  15. package/esm/browser/assistant/call-reading.d.ts +32 -0
  16. package/esm/browser/assistant/call-reading.js +35 -0
  17. package/esm/browser/assistant/call-revoicing.d.ts +33 -0
  18. package/esm/browser/assistant/call-revoicing.js +68 -0
  19. package/esm/browser/assistant/call-turns.d.ts +29 -0
  20. package/esm/browser/assistant/call-turns.js +33 -0
  21. package/esm/browser/assistant/spoken-answer.d.ts +21 -0
  22. package/esm/browser/assistant/spoken-answer.js +69 -0
  23. package/esm/browser/assistant/spoken-call.d.ts +7 -0
  24. package/esm/browser/assistant/spoken-call.js +16 -0
  25. package/esm/browser/assistant/voice-call-protocol.d.ts +5 -0
  26. package/esm/browser/assistant/voice-call.d.ts +47 -43
  27. package/esm/browser/assistant/voice-call.js +193 -219
  28. package/esm/browser/chat/chat-view.js +2 -1
  29. package/esm/browser/components/account-menu.js +1 -1
  30. package/esm/browser/components/account-recovery-view.d.ts +11 -0
  31. package/esm/browser/components/account-recovery-view.js +81 -0
  32. package/esm/browser/components/account-view.d.ts +1 -2
  33. package/esm/browser/components/account-view.js +10 -1
  34. package/esm/browser/components/app-nav.js +19 -8
  35. package/esm/browser/components/app-shell-hooks.d.ts +5 -0
  36. package/esm/browser/components/app-shell-hooks.js +45 -0
  37. package/esm/browser/components/app-shell-state.js +2 -1
  38. package/esm/browser/components/app-update-view.js +4 -4
  39. package/esm/browser/components/app-view.js +9 -5
  40. package/esm/browser/components/chat-emoji.d.ts +35 -0
  41. package/esm/browser/components/chat-emoji.js +129 -0
  42. package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
  43. package/esm/browser/components/composer-attachments.d.ts +6 -0
  44. package/esm/browser/components/composer-attachments.js +12 -1
  45. package/esm/browser/components/composer-box-protocol.d.ts +15 -0
  46. package/esm/browser/components/composer-box.js +110 -87
  47. package/esm/browser/components/composer-drop-hooks.d.ts +26 -0
  48. package/esm/browser/components/composer-drop-hooks.js +36 -0
  49. package/esm/browser/components/composer-emoji.js +1 -1
  50. package/esm/browser/components/composer-faces.d.ts +16 -0
  51. package/esm/browser/components/composer-faces.js +37 -0
  52. package/esm/browser/components/composer-media.d.ts +10 -0
  53. package/esm/browser/components/composer-media.js +12 -1
  54. package/esm/browser/components/composer-target.d.ts +4 -0
  55. package/esm/browser/components/composer-target.js +18 -7
  56. package/esm/browser/components/composer-type-focus.d.ts +24 -0
  57. package/esm/browser/components/composer-type-focus.js +17 -0
  58. package/esm/browser/components/composer-voice.d.ts +24 -0
  59. package/esm/browser/components/composer-voice.js +37 -0
  60. package/esm/browser/components/composer.d.ts +2 -2
  61. package/esm/browser/components/composer.js +39 -8
  62. package/esm/browser/components/context-menu.js +2 -1
  63. package/esm/browser/components/emoji-panel.d.ts +11 -7
  64. package/esm/browser/components/emoji-panel.js +40 -22
  65. package/esm/browser/components/extension-settings.js +2 -2
  66. package/esm/browser/components/folder-new.d.ts +18 -0
  67. package/esm/browser/components/folder-new.js +53 -0
  68. package/esm/browser/components/folder-picker.d.ts +5 -2
  69. package/esm/browser/components/folder-picker.js +18 -6
  70. package/esm/browser/components/host-view.d.ts +1 -1
  71. package/esm/browser/components/image-menu.d.ts +8 -3
  72. package/esm/browser/components/image-menu.js +34 -9
  73. package/esm/browser/components/markdown.js +9 -2
  74. package/esm/browser/components/media.js +3 -2
  75. package/esm/browser/components/message-list.js +2 -2
  76. package/esm/browser/components/message-steps.js +20 -11
  77. package/esm/browser/components/message-user.js +2 -2
  78. package/esm/browser/components/moved-notice.js +2 -1
  79. package/esm/browser/components/nav-places.d.ts +2 -0
  80. package/esm/browser/components/nav-places.js +4 -2
  81. package/esm/browser/components/phone-shell.d.ts +2 -0
  82. package/esm/browser/components/phone-shell.js +5 -1
  83. package/esm/browser/components/secret-text.d.ts +1 -1
  84. package/esm/browser/components/secret-text.js +4 -3
  85. package/esm/browser/components/session-view.js +3 -0
  86. package/esm/browser/components/settings-choices.d.ts +2 -1
  87. package/esm/browser/components/settings-choices.js +13 -5
  88. package/esm/browser/components/settings-more.js +3 -3
  89. package/esm/browser/components/settings-parts.js +13 -2
  90. package/esm/browser/components/share-item-sheet.js +7 -1
  91. package/esm/browser/components/tab-title.d.ts +27 -0
  92. package/esm/browser/components/tab-title.js +35 -0
  93. package/esm/browser/components/use-composer-attachments.d.ts +28 -0
  94. package/esm/browser/components/use-composer-attachments.js +65 -0
  95. package/esm/browser/components/use-composer-files.d.ts +25 -0
  96. package/esm/browser/components/use-composer-files.js +52 -0
  97. package/esm/browser/components/web-composer.d.ts +3 -1
  98. package/esm/browser/components/web-composer.js +3 -2
  99. package/esm/browser/components/workbench-view.js +1 -0
  100. package/esm/browser/components/working-directory.js +2 -1
  101. package/esm/browser/device/app-update.d.ts +6 -3
  102. package/esm/browser/device/app-update.js +11 -5
  103. package/esm/browser/device/drag-move.d.ts +21 -0
  104. package/esm/browser/device/drag-move.js +86 -0
  105. package/esm/browser/extension/icons.js +7 -1
  106. package/esm/browser/extension/web-api-desktop.d.ts +19 -0
  107. package/esm/browser/extension/web-api-menus.d.ts +19 -0
  108. package/esm/browser/extension/web-api-spec.js +2 -0
  109. package/esm/browser/extension/web-extension-api.d.ts +24 -23
  110. package/esm/browser/extension/web-extension-context.d.ts +1 -0
  111. package/esm/browser/extension/web-extension-context.js +12 -5
  112. package/esm/browser/extension/web-extension-run.js +1 -0
  113. package/esm/browser/extension/web-share-ui.d.ts +1 -1
  114. package/esm/browser/extension/web-share-ui.js +2 -0
  115. package/esm/browser/extension/web-share.d.ts +13 -0
  116. package/esm/browser/extension/web-share.js +37 -2
  117. package/esm/browser/i18n/en/account.d.ts +18 -0
  118. package/esm/browser/i18n/en/account.js +18 -0
  119. package/esm/browser/i18n/en/call.js +1 -1
  120. package/esm/browser/i18n/en/chat.d.ts +15 -0
  121. package/esm/browser/i18n/en/chat.js +16 -1
  122. package/esm/browser/i18n/en/common.d.ts +2 -0
  123. package/esm/browser/i18n/en/common.js +2 -0
  124. package/esm/browser/i18n/en/discover.d.ts +2 -0
  125. package/esm/browser/i18n/en/discover.js +2 -0
  126. package/esm/browser/i18n/en/service.d.ts +4 -0
  127. package/esm/browser/i18n/en/service.js +4 -0
  128. package/esm/browser/i18n/en/settings.d.ts +17 -0
  129. package/esm/browser/i18n/en/settings.js +17 -0
  130. package/esm/browser/i18n/ja/account.js +18 -0
  131. package/esm/browser/i18n/ja/call.js +1 -1
  132. package/esm/browser/i18n/ja/chat.js +16 -1
  133. package/esm/browser/i18n/ja/common.js +2 -0
  134. package/esm/browser/i18n/ja/discover.js +3 -1
  135. package/esm/browser/i18n/ja/service.js +4 -0
  136. package/esm/browser/i18n/ja/settings.js +17 -0
  137. package/esm/browser/i18n/locales.d.ts +59 -1
  138. package/esm/browser/i18n/messages.d.ts +58 -0
  139. package/esm/browser/i18n/zh/account.js +18 -0
  140. package/esm/browser/i18n/zh/call.js +1 -1
  141. package/esm/browser/i18n/zh/chat.js +16 -1
  142. package/esm/browser/i18n/zh/common.js +2 -0
  143. package/esm/browser/i18n/zh/discover.js +3 -1
  144. package/esm/browser/i18n/zh/service.js +4 -0
  145. package/esm/browser/i18n/zh/settings.js +17 -0
  146. package/esm/browser/i18n/zh-tw/account.js +18 -0
  147. package/esm/browser/i18n/zh-tw/call.js +1 -1
  148. package/esm/browser/i18n/zh-tw/chat.js +16 -1
  149. package/esm/browser/i18n/zh-tw/common.js +2 -0
  150. package/esm/browser/i18n/zh-tw/discover.js +3 -1
  151. package/esm/browser/i18n/zh-tw/service.js +4 -0
  152. package/esm/browser/i18n/zh-tw/settings.js +17 -0
  153. package/esm/browser/offline/kept-chats.d.ts +3 -1
  154. package/esm/browser/offline/kept-chats.js +1 -1
  155. package/esm/browser/partners/group-picker.d.ts +3 -2
  156. package/esm/browser/partners/group-picker.js +8 -3
  157. package/esm/browser/sandbox/sandbox-runtime-code.js +1 -1
  158. package/esm/browser/sandbox/work/work-docs.js +5 -2
  159. package/esm/browser/sandbox/work/work-frame.d.ts +3 -0
  160. package/esm/browser/sandbox/work/work-frame.js +9 -3
  161. package/esm/browser/sandbox/work/work-gates.d.ts +77 -0
  162. package/esm/browser/sandbox/work/work-gates.js +182 -0
  163. package/esm/browser/settings/agent-settings.js +1 -1
  164. package/esm/browser/settings/navigation.d.ts +38 -10
  165. package/esm/browser/settings/navigation.js +73 -17
  166. package/esm/browser/settings/settings-protocol.d.ts +16 -1
  167. package/esm/browser/settings/settings-protocol.js +20 -2
  168. package/esm/browser/settings/settings.js +4 -1
  169. package/esm/browser/style/base.d.ts +1 -1
  170. package/esm/browser/style/base.js +15 -2
  171. package/esm/browser/style/chat-list.d.ts +1 -1
  172. package/esm/browser/style/chat-list.js +6 -3
  173. package/esm/browser/style/conversation-column.d.ts +1 -1
  174. package/esm/browser/style/conversation-column.js +28 -8
  175. package/esm/browser/style/conversation.d.ts +1 -1
  176. package/esm/browser/style/conversation.js +5 -0
  177. package/esm/browser/style/device.js +5 -0
  178. package/esm/browser/style/pages.d.ts +1 -1
  179. package/esm/browser/style/pages.js +3 -3
  180. package/esm/browser/style/shell.d.ts +1 -1
  181. package/esm/browser/style/shell.js +13 -6
  182. package/esm/browser/style/tasks.d.ts +1 -1
  183. package/esm/browser/style/tasks.js +4 -2
  184. package/esm/browser/util/chat-emoji.d.ts +44 -0
  185. package/esm/browser/util/chat-emoji.js +269 -0
  186. package/esm/browser/util/composer-drop.d.ts +26 -0
  187. package/esm/browser/util/composer-drop.js +40 -0
  188. package/esm/browser/util/composer-files.d.ts +48 -0
  189. package/esm/browser/util/composer-files.js +99 -0
  190. package/esm/browser/util/composer.d.ts +13 -1
  191. package/esm/browser/util/composer.js +24 -6
  192. package/esm/browser/util/markdown.d.ts +5 -0
  193. package/esm/browser/util/markdown.js +18 -0
  194. package/esm/browser/util/message.d.ts +6 -1
  195. package/esm/browser/util/message.js +13 -2
  196. package/esm/browser/util/process.d.ts +10 -13
  197. package/esm/browser/util/process.js +31 -83
  198. package/esm/browser/util/turn-join.d.ts +38 -0
  199. package/esm/browser/util/turn-join.js +119 -0
  200. package/esm/browser/workbench-services.js +1 -1
  201. package/lib/browser/account/account-side.js +4 -0
  202. package/lib/browser/account/device-account.d.ts +6 -0
  203. package/lib/browser/account/device-account.js +20 -5
  204. package/lib/browser/assistant/assistant-view.js +2 -0
  205. package/lib/browser/assistant/call-announcing.d.ts +26 -0
  206. package/lib/browser/assistant/call-announcing.js +36 -0
  207. package/lib/browser/assistant/call-answering.d.ts +44 -0
  208. package/lib/browser/assistant/call-answering.js +67 -0
  209. package/lib/browser/assistant/call-hearing.d.ts +54 -0
  210. package/lib/browser/assistant/call-hearing.js +102 -0
  211. package/lib/browser/assistant/call-pausing.d.ts +41 -0
  212. package/lib/browser/assistant/call-pausing.js +86 -0
  213. package/lib/browser/assistant/call-reading.d.ts +33 -0
  214. package/lib/browser/assistant/call-reading.js +39 -0
  215. package/lib/browser/assistant/call-revoicing.d.ts +34 -0
  216. package/lib/browser/assistant/call-revoicing.js +72 -0
  217. package/lib/browser/assistant/call-turns.d.ts +30 -0
  218. package/lib/browser/assistant/call-turns.js +37 -0
  219. package/lib/browser/assistant/spoken-answer.d.ts +22 -0
  220. package/lib/browser/assistant/spoken-answer.js +73 -0
  221. package/lib/browser/assistant/spoken-call.d.ts +8 -0
  222. package/lib/browser/assistant/spoken-call.js +19 -0
  223. package/lib/browser/assistant/voice-call-protocol.d.ts +5 -0
  224. package/lib/browser/assistant/voice-call.d.ts +47 -43
  225. package/lib/browser/assistant/voice-call.js +192 -218
  226. package/lib/browser/chat/chat-view.js +2 -1
  227. package/lib/browser/components/account-menu.js +1 -1
  228. package/lib/browser/components/account-recovery-view.d.ts +12 -0
  229. package/lib/browser/components/account-recovery-view.js +117 -0
  230. package/lib/browser/components/account-view.d.ts +1 -2
  231. package/lib/browser/components/account-view.js +10 -1
  232. package/lib/browser/components/app-nav.js +19 -8
  233. package/lib/browser/components/app-shell-hooks.d.ts +5 -0
  234. package/lib/browser/components/app-shell-hooks.js +46 -0
  235. package/lib/browser/components/app-shell-state.js +1 -0
  236. package/lib/browser/components/app-update-view.js +4 -4
  237. package/lib/browser/components/app-view.js +8 -4
  238. package/lib/browser/components/chat-emoji.d.ts +36 -0
  239. package/lib/browser/components/chat-emoji.js +167 -0
  240. package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
  241. package/lib/browser/components/composer-attachments.d.ts +6 -0
  242. package/lib/browser/components/composer-attachments.js +12 -0
  243. package/lib/browser/components/composer-box-protocol.d.ts +15 -0
  244. package/lib/browser/components/composer-box.js +107 -84
  245. package/lib/browser/components/composer-drop-hooks.d.ts +27 -0
  246. package/lib/browser/components/composer-drop-hooks.js +72 -0
  247. package/lib/browser/components/composer-emoji.js +1 -1
  248. package/lib/browser/components/composer-faces.d.ts +17 -0
  249. package/lib/browser/components/composer-faces.js +73 -0
  250. package/lib/browser/components/composer-media.d.ts +10 -0
  251. package/lib/browser/components/composer-media.js +13 -0
  252. package/lib/browser/components/composer-target.d.ts +4 -0
  253. package/lib/browser/components/composer-target.js +18 -7
  254. package/lib/browser/components/composer-type-focus.d.ts +25 -0
  255. package/lib/browser/components/composer-type-focus.js +20 -0
  256. package/lib/browser/components/composer-voice.d.ts +25 -0
  257. package/lib/browser/components/composer-voice.js +73 -0
  258. package/lib/browser/components/composer.d.ts +2 -2
  259. package/lib/browser/components/composer.js +38 -7
  260. package/lib/browser/components/context-menu.js +2 -1
  261. package/lib/browser/components/emoji-panel.d.ts +11 -7
  262. package/lib/browser/components/emoji-panel.js +40 -22
  263. package/lib/browser/components/extension-settings.js +1 -1
  264. package/lib/browser/components/folder-new.d.ts +19 -0
  265. package/lib/browser/components/folder-new.js +90 -0
  266. package/lib/browser/components/folder-picker.d.ts +5 -2
  267. package/lib/browser/components/folder-picker.js +17 -5
  268. package/lib/browser/components/host-view.d.ts +1 -1
  269. package/lib/browser/components/image-menu.d.ts +8 -3
  270. package/lib/browser/components/image-menu.js +34 -9
  271. package/lib/browser/components/markdown.js +9 -2
  272. package/lib/browser/components/media.js +3 -2
  273. package/lib/browser/components/message-list.js +2 -2
  274. package/lib/browser/components/message-steps.js +20 -11
  275. package/lib/browser/components/message-user.js +1 -1
  276. package/lib/browser/components/moved-notice.js +2 -1
  277. package/lib/browser/components/nav-places.d.ts +2 -0
  278. package/lib/browser/components/nav-places.js +4 -2
  279. package/lib/browser/components/phone-shell.d.ts +2 -0
  280. package/lib/browser/components/phone-shell.js +5 -1
  281. package/lib/browser/components/secret-text.d.ts +1 -1
  282. package/lib/browser/components/secret-text.js +4 -3
  283. package/lib/browser/components/session-view.js +3 -0
  284. package/lib/browser/components/settings-choices.d.ts +2 -1
  285. package/lib/browser/components/settings-choices.js +12 -4
  286. package/lib/browser/components/settings-more.js +2 -2
  287. package/lib/browser/components/settings-parts.js +11 -0
  288. package/lib/browser/components/share-item-sheet.js +7 -1
  289. package/lib/browser/components/tab-title.d.ts +28 -0
  290. package/lib/browser/components/tab-title.js +38 -0
  291. package/lib/browser/components/use-composer-attachments.d.ts +29 -0
  292. package/lib/browser/components/use-composer-attachments.js +101 -0
  293. package/lib/browser/components/use-composer-files.d.ts +26 -0
  294. package/lib/browser/components/use-composer-files.js +88 -0
  295. package/lib/browser/components/web-composer.d.ts +3 -1
  296. package/lib/browser/components/web-composer.js +3 -2
  297. package/lib/browser/components/workbench-view.js +1 -0
  298. package/lib/browser/components/working-directory.js +2 -1
  299. package/lib/browser/device/app-update.d.ts +6 -3
  300. package/lib/browser/device/app-update.js +11 -5
  301. package/lib/browser/device/drag-move.d.ts +22 -0
  302. package/lib/browser/device/drag-move.js +122 -0
  303. package/lib/browser/extension/icons.js +6 -0
  304. package/lib/browser/extension/web-api-desktop.d.ts +19 -0
  305. package/lib/browser/extension/web-api-menus.d.ts +19 -0
  306. package/lib/browser/extension/web-api-spec.js +2 -0
  307. package/lib/browser/extension/web-extension-api.d.ts +24 -23
  308. package/lib/browser/extension/web-extension-context.d.ts +1 -0
  309. package/lib/browser/extension/web-extension-context.js +12 -5
  310. package/lib/browser/extension/web-extension-run.js +1 -0
  311. package/lib/browser/extension/web-share-ui.d.ts +1 -1
  312. package/lib/browser/extension/web-share-ui.js +2 -0
  313. package/lib/browser/extension/web-share.d.ts +13 -0
  314. package/lib/browser/extension/web-share.js +37 -2
  315. package/lib/browser/i18n/en/account.d.ts +18 -0
  316. package/lib/browser/i18n/en/account.js +18 -0
  317. package/lib/browser/i18n/en/call.js +1 -1
  318. package/lib/browser/i18n/en/chat.d.ts +15 -0
  319. package/lib/browser/i18n/en/chat.js +16 -1
  320. package/lib/browser/i18n/en/common.d.ts +2 -0
  321. package/lib/browser/i18n/en/common.js +2 -0
  322. package/lib/browser/i18n/en/discover.d.ts +2 -0
  323. package/lib/browser/i18n/en/discover.js +2 -0
  324. package/lib/browser/i18n/en/service.d.ts +4 -0
  325. package/lib/browser/i18n/en/service.js +4 -0
  326. package/lib/browser/i18n/en/settings.d.ts +17 -0
  327. package/lib/browser/i18n/en/settings.js +17 -0
  328. package/lib/browser/i18n/ja/account.js +18 -0
  329. package/lib/browser/i18n/ja/call.js +1 -1
  330. package/lib/browser/i18n/ja/chat.js +16 -1
  331. package/lib/browser/i18n/ja/common.js +2 -0
  332. package/lib/browser/i18n/ja/discover.js +3 -1
  333. package/lib/browser/i18n/ja/service.js +4 -0
  334. package/lib/browser/i18n/ja/settings.js +17 -0
  335. package/lib/browser/i18n/locales.d.ts +59 -1
  336. package/lib/browser/i18n/messages.d.ts +58 -0
  337. package/lib/browser/i18n/zh/account.js +18 -0
  338. package/lib/browser/i18n/zh/call.js +1 -1
  339. package/lib/browser/i18n/zh/chat.js +16 -1
  340. package/lib/browser/i18n/zh/common.js +2 -0
  341. package/lib/browser/i18n/zh/discover.js +3 -1
  342. package/lib/browser/i18n/zh/service.js +4 -0
  343. package/lib/browser/i18n/zh/settings.js +17 -0
  344. package/lib/browser/i18n/zh-tw/account.js +18 -0
  345. package/lib/browser/i18n/zh-tw/call.js +1 -1
  346. package/lib/browser/i18n/zh-tw/chat.js +16 -1
  347. package/lib/browser/i18n/zh-tw/common.js +2 -0
  348. package/lib/browser/i18n/zh-tw/discover.js +3 -1
  349. package/lib/browser/i18n/zh-tw/service.js +4 -0
  350. package/lib/browser/i18n/zh-tw/settings.js +17 -0
  351. package/lib/browser/offline/kept-chats.d.ts +3 -1
  352. package/lib/browser/offline/kept-chats.js +1 -1
  353. package/lib/browser/partners/group-picker.d.ts +3 -2
  354. package/lib/browser/partners/group-picker.js +8 -3
  355. package/lib/browser/sandbox/sandbox-runtime-code.js +1 -1
  356. package/lib/browser/sandbox/work/work-docs.js +5 -2
  357. package/lib/browser/sandbox/work/work-frame.d.ts +3 -0
  358. package/lib/browser/sandbox/work/work-frame.js +9 -3
  359. package/lib/browser/sandbox/work/work-gates.d.ts +78 -0
  360. package/lib/browser/sandbox/work/work-gates.js +185 -0
  361. package/lib/browser/settings/agent-settings.js +1 -1
  362. package/lib/browser/settings/navigation.d.ts +38 -10
  363. package/lib/browser/settings/navigation.js +74 -18
  364. package/lib/browser/settings/settings-protocol.d.ts +16 -1
  365. package/lib/browser/settings/settings-protocol.js +21 -3
  366. package/lib/browser/settings/settings.js +3 -0
  367. package/lib/browser/style/base.d.ts +1 -1
  368. package/lib/browser/style/base.js +15 -2
  369. package/lib/browser/style/chat-list.d.ts +1 -1
  370. package/lib/browser/style/chat-list.js +6 -3
  371. package/lib/browser/style/conversation-column.d.ts +1 -1
  372. package/lib/browser/style/conversation-column.js +28 -8
  373. package/lib/browser/style/conversation.d.ts +1 -1
  374. package/lib/browser/style/conversation.js +5 -0
  375. package/lib/browser/style/device.js +5 -0
  376. package/lib/browser/style/pages.d.ts +1 -1
  377. package/lib/browser/style/pages.js +3 -3
  378. package/lib/browser/style/shell.d.ts +1 -1
  379. package/lib/browser/style/shell.js +13 -6
  380. package/lib/browser/style/tasks.d.ts +1 -1
  381. package/lib/browser/style/tasks.js +4 -2
  382. package/lib/browser/util/chat-emoji.d.ts +45 -0
  383. package/lib/browser/util/chat-emoji.js +272 -0
  384. package/lib/browser/util/composer-drop.d.ts +27 -0
  385. package/lib/browser/util/composer-drop.js +43 -0
  386. package/lib/browser/util/composer-files.d.ts +49 -0
  387. package/lib/browser/util/composer-files.js +102 -0
  388. package/lib/browser/util/composer.d.ts +13 -1
  389. package/lib/browser/util/composer.js +24 -6
  390. package/lib/browser/util/markdown.d.ts +5 -0
  391. package/lib/browser/util/markdown.js +18 -0
  392. package/lib/browser/util/message.d.ts +6 -1
  393. package/lib/browser/util/message.js +13 -2
  394. package/lib/browser/util/process.d.ts +10 -13
  395. package/lib/browser/util/process.js +32 -84
  396. package/lib/browser/util/turn-join.d.ts +39 -0
  397. package/lib/browser/util/turn-join.js +122 -0
  398. package/lib/browser/workbench-services.js +1 -1
  399. package/package.json +7 -7
  400. package/public/emoji/wechat-v1.webp +0 -0
@@ -4,5 +4,5 @@ import type { WebExtensionContextHost } from './web-extension-context';
4
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
5
  * (`share`, its tiles the ways to share), and handing an extension on. None of it does anything once it stopped.
6
6
  */
7
- export declare function shareUI(host: Pick<WebExtensionContextHost, 'extensions' | 'notices' | 'workbench'>, stopped: () => boolean): Pick<WebExtensionUI, 'shareExtension' | 'share' | 'ShareSheet'>;
7
+ export declare function shareUI(host: Pick<WebExtensionContextHost, 'extensions' | 'notices' | 'workbench'>, stopped: () => boolean): Pick<WebExtensionUI, 'shareExtension' | 'share' | 'shrinkImage' | 'ShareSheet'>;
8
8
  //# sourceMappingURL=web-share-ui.d.ts.map
@@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.shareUI = shareUI;
37
37
  const React = __importStar(require("react"));
38
38
  const share_sheet_1 = require("../components/share-sheet");
39
+ const image_shrink_1 = require("../util/image-shrink");
39
40
  /**
40
41
  * What `ui` gives an extension to share with (docs/design/ta-links.md 4): the share sheet of a link, that of something
41
42
  * (`share`, its tiles the ways to share), and handing an extension on. None of it does anything once it stopped.
@@ -51,6 +52,7 @@ function shareUI(host, stopped) {
51
52
  return {
52
53
  shareExtension: target => !stopped() && host.extensions.share(target),
53
54
  share: item => !stopped() && host.extensions.shareItem(item),
55
+ shrinkImage: (image, limits) => image_shrink_1.ImageShrink.shrink(image, limits),
54
56
  ShareSheet: sheet,
55
57
  };
56
58
  }
@@ -8,6 +8,19 @@ export declare namespace WebShareUtil {
8
8
  function ofBlock(block: WebCodeRef): WebShareItem | undefined;
9
9
  /** A file; none for a folder. */
10
10
  function ofFile(file: WebFileRef): WebShareItem | undefined;
11
+ /**
12
+ * A picture or a video at `url`, called `name` when given, else as the end of its path says (a file of the
13
+ * workspace, of the web), else by its kind and the type a data: URL says.
14
+ */
15
+ function ofMedia(media: 'image' | 'video', url: string, name?: string): WebShareItem;
16
+ /**
17
+ * The ways that take a picture or a video (`accepts` reads `media`, not its URL, known only once picked): Forward
18
+ * goes straight to the one that sends into chats (WebShareWay.forward), Share to the sheet when any other takes it.
19
+ */
20
+ function mediaWays(all: readonly WebShareWay[], media: 'image' | 'video'): {
21
+ forward?: WebShareWay;
22
+ others: WebShareWay[];
23
+ };
11
24
  /** The ways that take it, in their order. */
12
25
  function ways(all: readonly WebShareWay[], item: WebShareItem): WebShareWay[];
13
26
  /** What it is called: the title a work gives itself, the name of a file; '' for a block that says nothing. */
@@ -20,6 +20,27 @@ var WebShareUtil;
20
20
  return file.kind === 'file' ? { kind: 'file', file } : undefined;
21
21
  }
22
22
  WebShareUtil.ofFile = ofFile;
23
+ /**
24
+ * A picture or a video at `url`, called `name` when given, else as the end of its path says (a file of the
25
+ * workspace, of the web), else by its kind and the type a data: URL says.
26
+ */
27
+ function ofMedia(media, url, name) {
28
+ var _a;
29
+ const data = /^data:(image|video)\/([\w.+-]+)[;,]/i.exec(url);
30
+ const last = data || url.startsWith('blob:') ? '' : decodeURIComponent((_a = url.split(/[?#]/)[0].split('/').pop()) !== null && _a !== void 0 ? _a : '');
31
+ const extension = data ? `.${data[2].toLowerCase() === 'jpeg' ? 'jpg' : data[2].toLowerCase()}` : '';
32
+ return { kind: 'media', media, url, name: name || last || `${media}${extension}` };
33
+ }
34
+ WebShareUtil.ofMedia = ofMedia;
35
+ /**
36
+ * The ways that take a picture or a video (`accepts` reads `media`, not its URL, known only once picked): Forward
37
+ * goes straight to the one that sends into chats (WebShareWay.forward), Share to the sheet when any other takes it.
38
+ */
39
+ function mediaWays(all, media) {
40
+ const taking = ways(all, { kind: 'media', media, url: '', name: '' });
41
+ return { forward: taking.find(way => way.forward), others: taking.filter(way => !way.forward) };
42
+ }
43
+ WebShareUtil.mediaWays = mediaWays;
23
44
  /** The ways that take it, in their order. */
24
45
  function ways(all, item) {
25
46
  return all.filter(way => way.accepts(item));
@@ -28,13 +49,27 @@ var WebShareUtil;
28
49
  /** What it is called: the title a work gives itself, the name of a file; '' for a block that says nothing. */
29
50
  function name(item) {
30
51
  var _a;
31
- return item.kind === 'file' ? item.file.name : item.kind === 'link' ? item.title : ((_a = ta_protocol_1.TaWorkTitle.of(item.language, item.code)) !== null && _a !== void 0 ? _a : '');
52
+ return item.kind === 'file'
53
+ ? item.file.name
54
+ : item.kind === 'link'
55
+ ? item.title
56
+ : item.kind === 'media'
57
+ ? item.name
58
+ : ((_a = ta_protocol_1.TaWorkTitle.of(item.language, item.code)) !== null && _a !== void 0 ? _a : '');
32
59
  }
33
60
  WebShareUtil.name = name;
34
61
  /** The name of its icon (WEB_ICONS): that of the kind of work, a file's. */
35
62
  function icon(item) {
36
63
  var _a, _b;
37
- return item.kind === 'file' ? 'FileText' : item.kind === 'link' ? ((_a = item.icon) !== null && _a !== void 0 ? _a : 'Link') : ((_b = ta_protocol_1.TA_WORK_BLOCKS[item.language]) !== null && _b !== void 0 ? _b : 'Sparkles');
64
+ return item.kind === 'file'
65
+ ? 'FileText'
66
+ : item.kind === 'link'
67
+ ? ((_a = item.icon) !== null && _a !== void 0 ? _a : 'Link')
68
+ : item.kind === 'media'
69
+ ? item.media === 'image'
70
+ ? 'Image'
71
+ : 'Film'
72
+ : ((_b = ta_protocol_1.TA_WORK_BLOCKS[item.language]) !== null && _b !== void 0 ? _b : 'Sparkles');
38
73
  }
39
74
  WebShareUtil.icon = icon;
40
75
  function label(way) {
@@ -95,6 +95,24 @@ export declare const ACCOUNT_EN: {
95
95
  'ta.auth.hintRemote': string;
96
96
  'ta.auth.later': string;
97
97
  'ta.myDevices.title': string;
98
+ 'ta.recovery.title': string;
99
+ 'ta.recovery.hint': string;
100
+ 'ta.recovery.make': string;
101
+ 'ta.recovery.makeHint': string;
102
+ 'ta.recovery.show': string;
103
+ 'ta.recovery.saved': string;
104
+ 'ta.recovery.made': string;
105
+ 'ta.recovery.none': string;
106
+ 'ta.recovery.drop': string;
107
+ 'ta.recovery.dropConfirm': string;
108
+ 'ta.recovery.replaced': string;
109
+ 'ta.recovery.restore': string;
110
+ 'ta.recovery.code': string;
111
+ 'ta.recovery.placeholder': string;
112
+ 'ta.recovery.restoreNow': string;
113
+ 'ta.recovery.restored': string;
114
+ 'ta.recovery.failed': string;
115
+ 'ta.recovery.kept': string;
98
116
  'ta.myDevices.hint': string;
99
117
  'ta.myDevices.signInWith': string;
100
118
  'ta.myDevices.enterCode': string;
@@ -100,6 +100,24 @@ exports.ACCOUNT_EN = {
100
100
  'ta.auth.hintRemote': 'Credentials stay on the machine that runs Ta.',
101
101
  'ta.auth.later': 'Later',
102
102
  'ta.myDevices.title': 'My devices',
103
+ 'ta.recovery.title': 'Recovery code',
104
+ 'ta.recovery.hint': 'If this computer is lost, sign in to your account on a new one and enter this code: your friends and group chats come back as they were.',
105
+ 'ta.recovery.make': 'Make a recovery code',
106
+ 'ta.recovery.makeHint': 'Made now, it replaces the one before it.',
107
+ 'ta.recovery.show': 'Write it down and keep it away from this computer: {code}',
108
+ 'ta.recovery.saved': 'I saved it',
109
+ 'ta.recovery.made': 'Made {time}. Kept in your account, sealed: Ta cannot read it.',
110
+ 'ta.recovery.none': 'No recovery code yet: the friends and group chats of this computer would be lost with it.',
111
+ 'ta.recovery.drop': 'Take it away',
112
+ 'ta.recovery.dropConfirm': 'Take away the recovery code? Your friends and group chats stop being kept in your account.',
113
+ 'ta.recovery.replaced': 'A recovery code was made on another computer, which this one no longer opens. Make a new one here.',
114
+ 'ta.recovery.restore': 'Got a recovery code?',
115
+ 'ta.recovery.code': 'Recovery code',
116
+ 'ta.recovery.placeholder': 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX',
117
+ 'ta.recovery.restoreNow': 'Bring back friends and group chats',
118
+ 'ta.recovery.restored': '{friends} friends and {rooms} group chats are back.',
119
+ 'ta.recovery.failed': 'That code does not open a backup of this account.',
120
+ 'ta.recovery.kept': 'Kept {time}',
103
121
  'ta.myDevices.hint': 'Sign in to one account on your computers and phone: they show up on each other, no code to scan.',
104
122
  'ta.myDevices.signInWith': 'Sign in with {name}',
105
123
  'ta.myDevices.enterCode': 'Enter this code on {name}',
@@ -26,7 +26,7 @@ exports.CALL_EN = {
26
26
  'ta.call.speaking': 'Ta is speaking',
27
27
  'ta.call.me': 'Me',
28
28
  'ta.call.onScreen': 'The rest is on the screen.',
29
- 'ta.call.waitsDialog': 'Ta waits for you: {title}',
29
+ 'ta.call.waitsDialog': 'Ta waits for you: {title}. Say yes or no.',
30
30
  'ta.call.waitsAsk': 'Waiting for you to decide: {title}',
31
31
  'ta.call.taskDone': 'Task done: {title}',
32
32
  'ta.call.taskFailed': 'Task did not finish: {title}',
@@ -16,6 +16,8 @@ export declare const CHAT_EN: {
16
16
  'ta.chat.draft': string;
17
17
  'ta.chat.asksCount': string;
18
18
  'ta.chat.unseenCount': string;
19
+ 'ta.tab.todo': string;
20
+ 'ta.tab.urgent': string;
19
21
  'ta.chat.letGo': string;
20
22
  'ta.chat.toAsk': string;
21
23
  'ta.chat.removed': string;
@@ -80,6 +82,8 @@ export declare const CHAT_EN: {
80
82
  'ta.message.pictureSeen': string;
81
83
  'ta.message.steered': string;
82
84
  'ta.message.steeredTitle': string;
85
+ 'ta.message.wentOn': string;
86
+ 'ta.message.wentOnTitle': string;
83
87
  'ta.message.queued': string;
84
88
  'ta.message.queuedTitle': string;
85
89
  'ta.message.branch': string;
@@ -123,6 +127,11 @@ export declare const CHAT_EN: {
123
127
  'ta.folder.up': string;
124
128
  'ta.folder.type': string;
125
129
  'ta.folder.empty': string;
130
+ 'ta.folder.new': string;
131
+ 'ta.folder.newName': string;
132
+ 'ta.folder.newConfirm': string;
133
+ 'ta.folder.newInvalid': string;
134
+ 'ta.folder.newExists': string;
126
135
  'ta.folder.failed': string;
127
136
  'ta.folder.open': string;
128
137
  'ta.chat.search': string;
@@ -203,6 +212,8 @@ export declare const CHAT_EN: {
203
212
  'ta.composer.camera': string;
204
213
  'ta.composer.more': string;
205
214
  'ta.composer.emoji': string;
215
+ 'ta.composer.emojiRecent': string;
216
+ 'ta.composer.emojiAll': string;
206
217
  'ta.composer.deleteBack': string;
207
218
  'ta.composer.page': string;
208
219
  'ta.composer.mentionFile': string;
@@ -216,6 +227,10 @@ export declare const CHAT_EN: {
216
227
  'ta.composer.image.type': string;
217
228
  'ta.composer.image.size': string;
218
229
  'ta.composer.image.count': string;
230
+ 'ta.composer.addFile': string;
231
+ 'ta.composer.removeFile': string;
232
+ 'ta.composer.file.noDir': string;
233
+ 'ta.composer.file.size': string;
219
234
  'ta.composer.filesUnavailable': string;
220
235
  'ta.composer.filter': string;
221
236
  'ta.composer.noMatch': string;
@@ -19,6 +19,8 @@ exports.CHAT_EN = {
19
19
  'ta.chat.draft': 'Draft',
20
20
  'ta.chat.asksCount': '{count} waiting for you to decide',
21
21
  'ta.chat.unseenCount': '{count} new messages',
22
+ 'ta.tab.todo': '{count, plural, one {# to do} other {# to do}}',
23
+ 'ta.tab.urgent': '{count, plural, one {# urgent} other {# urgent}}',
22
24
  'ta.chat.letGo': 'Skip this decision',
23
25
  'ta.chat.toAsk': 'Waiting for you: {question}',
24
26
  'ta.chat.removed': 'Removed ({count})',
@@ -83,6 +85,8 @@ exports.CHAT_EN = {
83
85
  'ta.message.pictureSeen': 'Picture {n} · {what}',
84
86
  'ta.message.steered': 'Said on the way',
85
87
  'ta.message.steeredTitle': 'Written while it worked: it read this after its tools and went on with it',
88
+ 'ta.message.wentOn': 'Said after it stopped',
89
+ 'ta.message.wentOnTitle': 'Written once it had stopped: the work goes on from here, in the same context',
86
90
  'ta.message.queued': 'Waited for the reply',
87
91
  'ta.message.queuedTitle': 'Written while it worked: sent once it had answered',
88
92
  'ta.message.branch': 'Summary of the other branch',
@@ -125,7 +129,12 @@ exports.CHAT_EN = {
125
129
  'ta.folder.path': 'Path of a directory; Enter to go there',
126
130
  'ta.folder.up': 'Up one level',
127
131
  'ta.folder.type': 'Type a path',
128
- 'ta.folder.empty': 'No folders here',
132
+ 'ta.folder.empty': 'An empty folder: use it as it is, or make a folder in it',
133
+ 'ta.folder.new': 'New folder',
134
+ 'ta.folder.newName': 'Name of the folder',
135
+ 'ta.folder.newConfirm': 'Create',
136
+ 'ta.folder.newInvalid': 'A name has no / or \\, and is not . or ..',
137
+ 'ta.folder.newExists': '{name} is already here',
129
138
  'ta.folder.failed': 'Cannot open {path}.',
130
139
  'ta.folder.open': 'Use this directory',
131
140
  'ta.chat.search': 'Search chats',
@@ -206,6 +215,8 @@ exports.CHAT_EN = {
206
215
  'ta.composer.camera': 'Camera',
207
216
  'ta.composer.more': 'Add and settings',
208
217
  'ta.composer.emoji': 'Emoji',
218
+ 'ta.composer.emojiRecent': 'Recently used',
219
+ 'ta.composer.emojiAll': 'All emoji',
209
220
  'ta.composer.deleteBack': 'Delete',
210
221
  'ta.composer.page': 'Page {page}',
211
222
  'ta.composer.mentionFile': 'Mention a file',
@@ -219,6 +230,10 @@ exports.CHAT_EN = {
219
230
  'ta.composer.image.type': '{name} is not an image Ta can send: PNG, JPEG, GIF or WebP.',
220
231
  'ta.composer.image.size': '{name} is larger than 5 MB.',
221
232
  'ta.composer.image.count': 'At most 8 images per message.',
233
+ 'ta.composer.addFile': 'Add files',
234
+ 'ta.composer.removeFile': 'Remove the file',
235
+ 'ta.composer.file.noDir': 'Files go to the directory of the conversation: pick one first.',
236
+ 'ta.composer.file.size': '{name} is larger than {mb} MB.',
222
237
  'ta.composer.filesUnavailable': 'File search is not available on this server yet',
223
238
  'ta.composer.filter': 'Search',
224
239
  'ta.composer.noMatch': 'Nothing matches',
@@ -34,6 +34,8 @@ export declare const COMMON_EN: {
34
34
  'ta.zoom.copy': string;
35
35
  'ta.zoom.copyFailed': string;
36
36
  'ta.image.copied': string;
37
+ 'ta.image.forward': string;
38
+ 'ta.image.share': string;
37
39
  'ta.zoom.loading': string;
38
40
  'ta.zoom.previous': string;
39
41
  'ta.zoom.next': string;
@@ -37,6 +37,8 @@ exports.COMMON_EN = {
37
37
  'ta.zoom.copy': 'Copy image',
38
38
  'ta.zoom.copyFailed': 'Could not copy the image',
39
39
  'ta.image.copied': 'Image copied',
40
+ 'ta.image.forward': 'Forward',
41
+ 'ta.image.share': 'Share',
40
42
  'ta.zoom.loading': 'Loading…',
41
43
  'ta.zoom.previous': 'Previous picture (←)',
42
44
  'ta.zoom.next': 'Next picture (→)',
@@ -17,6 +17,7 @@ export declare const DISCOVER_EN: {
17
17
  'ta.partners.pickLeadWith': string;
18
18
  'ta.partners.pickNone': string;
19
19
  'ta.partners.pickChat': string;
20
+ 'ta.partners.pickGroup': string;
20
21
  'ta.partners.pickDone': string;
21
22
  'ta.partners.pickCannot': string;
22
23
  'ta.partners.infoAgent': string;
@@ -61,6 +62,7 @@ export declare const DISCOVER_EN: {
61
62
  'ta.share.thing': string;
62
63
  'ta.share.itemWork': string;
63
64
  'ta.share.itemFile': string;
65
+ 'ta.share.itemMedia': string;
64
66
  'ta.share.noWay': string;
65
67
  'ta.open.title': string;
66
68
  'ta.open.published': string;
@@ -20,6 +20,7 @@ exports.DISCOVER_EN = {
20
20
  'ta.partners.pickLeadWith': 'Pick who else joins you and {name}: a new group chat; this chat stays as it is.',
21
21
  'ta.partners.pickNone': 'No agents or friends yet',
22
22
  'ta.partners.pickChat': 'Message',
23
+ 'ta.partners.pickGroup': 'Group chat',
23
24
  'ta.partners.pickDone': 'Done ({count})',
24
25
  'ta.partners.pickCannot': 'This group chat cannot be made: a group chat with friends needs the friends of Ta.',
25
26
  'ta.partners.infoAgent': 'Profile and settings',
@@ -65,6 +66,7 @@ exports.DISCOVER_EN = {
65
66
  'ta.share.thing': 'This',
66
67
  'ta.share.itemWork': 'Pick where it goes',
67
68
  'ta.share.itemFile': 'A copy of the file as it is now',
69
+ 'ta.share.itemMedia': 'A copy of it as it is now',
68
70
  'ta.share.noWay': 'Nowhere to share it here',
69
71
  'ta.open.title': 'Open {name}?',
70
72
  '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.',
@@ -33,6 +33,10 @@ export declare const SERVICE_EN: {
33
33
  'ta.appUpdate.detail': string;
34
34
  'ta.appUpdate.update': string;
35
35
  'ta.appUpdate.installTo': string;
36
+ 'ta.appUpdate.back': string;
37
+ 'ta.appUpdate.backDetail': string;
38
+ 'ta.appUpdate.goBack': string;
39
+ 'ta.appUpdate.backTo': string;
36
40
  'ta.release.available': string;
37
41
  'ta.release.detail': string;
38
42
  'ta.release.install': string;
@@ -37,6 +37,10 @@ exports.SERVICE_EN = {
37
37
  'ta.appUpdate.detail': 'Tap Update, then Install in the dialog: Ta closes and the new version takes its place, nothing lost.',
38
38
  'ta.appUpdate.update': 'Update',
39
39
  'ta.appUpdate.installTo': 'Update to Ta {version}',
40
+ 'ta.appUpdate.back': 'This version was taken back: go back to Ta {version}',
41
+ 'ta.appUpdate.backDetail': 'This version has a problem and was taken back. Tap Go Back, then Install in the dialog, nothing lost.',
42
+ 'ta.appUpdate.goBack': 'Go Back',
43
+ 'ta.appUpdate.backTo': 'Go back to Ta {version}',
40
44
  'ta.release.available': 'Ta {version} is out',
41
45
  'ta.release.detail': 'Runs {command}; running tasks carry on after the restart.',
42
46
  'ta.release.install': 'Update and restart',
@@ -76,6 +76,11 @@ export declare const SETTINGS_EN: {
76
76
  'ta.settings.fontSize.standard': string;
77
77
  'ta.settings.fontSize.large': string;
78
78
  'ta.settings.fontSize.xlarge': string;
79
+ 'ta.settings.pageWidth': string;
80
+ 'ta.settings.pageWidthHint': string;
81
+ 'ta.settings.pageWidth.standard': string;
82
+ 'ta.settings.pageWidth.wide': string;
83
+ 'ta.settings.pageWidth.wider': string;
79
84
  'ta.settings.server': string;
80
85
  'ta.settings.version': string;
81
86
  'ta.settings.files': string;
@@ -149,6 +154,10 @@ export declare const SETTINGS_EN: {
149
154
  'ta.settings.chats': string;
150
155
  'ta.settings.chatFold': string;
151
156
  'ta.settings.chatFoldHint': string;
157
+ 'ta.settings.tabTitle': string;
158
+ 'ta.settings.tabTitleHint': string;
159
+ 'ta.settings.tabCounts': string;
160
+ 'ta.settings.tabCountsHint': string;
152
161
  'ta.settings.chatArchive': string;
153
162
  'ta.settings.chatArchiveHint': string;
154
163
  'ta.settings.recentShots': string;
@@ -164,6 +173,8 @@ export declare const SETTINGS_EN: {
164
173
  'ta.settings.allFeaturesHint': string;
165
174
  'ta.settings.more': string;
166
175
  'ta.settings.navigation': string;
176
+ 'ta.settings.navigation.tabs': string;
177
+ 'ta.settings.navigation.tabsHint': string;
167
178
  'ta.settings.navigation.show': string;
168
179
  'ta.settings.navigation.inNav': string;
169
180
  'ta.settings.navigation.folded': string;
@@ -252,6 +263,12 @@ export declare const SETTINGS_EN: {
252
263
  'ta.setting.context.fold.hint': string;
253
264
  'ta.setting.context.fold.on': string;
254
265
  'ta.setting.context.fold.off': string;
266
+ 'ta.setting.asks.ttl': string;
267
+ 'ta.setting.asks.ttl.hint': string;
268
+ 'ta.setting.asks.ttl.24': string;
269
+ 'ta.setting.asks.ttl.72': string;
270
+ 'ta.setting.asks.ttl.168': string;
271
+ 'ta.setting.asks.ttl.0': string;
255
272
  'ta.setting.compaction.enabled': string;
256
273
  'ta.setting.compaction.enabled.hint': string;
257
274
  'ta.setting.compaction.reserveTokens': string;
@@ -79,6 +79,11 @@ exports.SETTINGS_EN = {
79
79
  'ta.settings.fontSize.standard': 'Standard',
80
80
  'ta.settings.fontSize.large': 'Large',
81
81
  'ta.settings.fontSize.xlarge': 'Extra large',
82
+ 'ta.settings.pageWidth': 'Page width',
83
+ 'ta.settings.pageWidthHint': 'How wide the settings, Discover and the pages of extensions are.',
84
+ 'ta.settings.pageWidth.standard': 'Standard',
85
+ 'ta.settings.pageWidth.wide': 'Wide',
86
+ 'ta.settings.pageWidth.wider': 'Wider',
82
87
  'ta.settings.server': 'Server',
83
88
  'ta.settings.version': 'Version',
84
89
  'ta.settings.files': 'Settings files',
@@ -152,6 +157,10 @@ exports.SETTINGS_EN = {
152
157
  'ta.settings.chats': 'Chat list',
153
158
  'ta.settings.chatFold': 'Fold older chats',
154
159
  'ta.settings.chatFoldHint': 'Chats with no new message for this long fold at the end of the list, or of their directory',
160
+ 'ta.settings.tabTitle': 'Name of the tab',
161
+ 'ta.settings.tabTitleHint': 'What the browser tab says, so that you know which Ta it is; leave it empty for Ta',
162
+ 'ta.settings.tabCounts': 'Counts on the tab',
163
+ 'ta.settings.tabCountsHint': 'The tab also says how much is left to do and how much waits for you, even with no message unseen',
155
164
  'ta.settings.chatArchive': 'Archive older chats',
156
165
  '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',
157
166
  'ta.settings.recentShots': 'Suggest recent screenshots',
@@ -167,6 +176,8 @@ exports.SETTINGS_EN = {
167
176
  'ta.settings.allFeaturesHint': 'Every feature in Discover and every section here; off, only the common ones and those you use',
168
177
  'ta.settings.more': 'More settings',
169
178
  'ta.settings.navigation': 'Navigation',
179
+ 'ta.settings.navigation.tabs': 'Tabs on a phone',
180
+ 'ta.settings.navigation.tabsHint': 'The others go under Discover',
170
181
  'ta.settings.navigation.show': 'In the navigation',
171
182
  'ta.settings.navigation.inNav': 'In the navigation',
172
183
  'ta.settings.navigation.folded': 'Under Discover',
@@ -255,6 +266,12 @@ exports.SETTINGS_EN = {
255
266
  'ta.setting.context.fold.hint': 'Large outputs of tools from earlier in a conversation shrink to their start in what the model reads; the record keeps them whole. Not for external agents.',
256
267
  'ta.setting.context.fold.on': 'On',
257
268
  'ta.setting.context.fold.off': 'Off',
269
+ 'ta.setting.asks.ttl': 'How long a question waits',
270
+ 'ta.setting.asks.ttl.hint': "A conversation's question counts in 待你决定 and on the watch for this long; older ones stop asking, and their conversation keeps them.",
271
+ 'ta.setting.asks.ttl.24': 'A day',
272
+ 'ta.setting.asks.ttl.72': 'Three days',
273
+ 'ta.setting.asks.ttl.168': 'A week',
274
+ 'ta.setting.asks.ttl.0': 'Until answered',
258
275
  'ta.setting.compaction.enabled': 'Compaction as a net',
259
276
  'ta.setting.compaction.enabled.hint': 'When a turn fills the context before it ends, the model summarizes it.',
260
277
  'ta.setting.compaction.reserveTokens': 'Tokens kept free',
@@ -97,6 +97,24 @@ exports.ACCOUNT_JA = {
97
97
  'ta.auth.hintRemote': '認証情報は Ta を実行しているマシンにのみ保存されます。',
98
98
  'ta.auth.later': '後で',
99
99
  'ta.myDevices.title': 'マイデバイス',
100
+ 'ta.recovery.title': 'リカバリーコード',
101
+ 'ta.recovery.hint': 'このコンピューターを失っても、新しいコンピューターでアカウントにサインインし、このコードを入れると友だちとグループチャットが元どおりに戻ります。',
102
+ 'ta.recovery.make': 'リカバリーコードを作る',
103
+ 'ta.recovery.makeHint': '作成すると、前のコードは使えなくなります。',
104
+ 'ta.recovery.show': '書き留めて、このコンピューター以外の場所に: {code}',
105
+ 'ta.recovery.saved': '書き留めました',
106
+ 'ta.recovery.made': '{time} に作成。アカウントに暗号化して保存され、Ta にも読めません。',
107
+ 'ta.recovery.none': 'リカバリーコードがありません:このコンピューターを失うと友だちとグループチャットも失われます。',
108
+ 'ta.recovery.drop': '取り消す',
109
+ 'ta.recovery.dropConfirm': 'リカバリーコードを取り消しますか?友だちとグループチャットはアカウントに保存されなくなります。',
110
+ 'ta.recovery.replaced': '別のコンピューターでリカバリーコードが作られました。このコードでは開けません。ここで作り直してください。',
111
+ 'ta.recovery.restore': 'リカバリーコードがありますか?',
112
+ 'ta.recovery.code': 'リカバリーコード',
113
+ 'ta.recovery.placeholder': 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX',
114
+ 'ta.recovery.restoreNow': '友だちとグループチャットを戻す',
115
+ 'ta.recovery.restored': '友だち {friends} 人とグループチャット {rooms} 件が戻りました。',
116
+ 'ta.recovery.failed': 'このコードではこのアカウントのバックアップを開けません。',
117
+ 'ta.recovery.kept': '{time} に保存',
100
118
  'ta.myDevices.hint': 'パソコンとスマホで同じアカウントにログインすると、互いに自動で表示されます。コードの読み取りは不要です。',
101
119
  'ta.myDevices.signInWith': '{name} でログイン',
102
120
  'ta.myDevices.enterCode': '{name} でこのコードを入力',
@@ -25,7 +25,7 @@ exports.CALL_JA = {
25
25
  'ta.call.speaking': 'Ta が話しています',
26
26
  'ta.call.me': '自分',
27
27
  'ta.call.onScreen': '残りは画面をご覧ください。',
28
- 'ta.call.waitsDialog': 'Ta が確認を待っています:{title}',
28
+ 'ta.call.waitsDialog': 'Ta が確認を待っています:{title}。「はい」か「いいえ」と言ってください。',
29
29
  'ta.call.waitsAsk': 'あなたの判断待ち:{title}',
30
30
  'ta.call.taskDone': 'タスク完了:{title}',
31
31
  'ta.call.taskFailed': 'タスクが完了しませんでした:{title}',
@@ -18,6 +18,8 @@ exports.CHAT_JA = {
18
18
  'ta.chat.draft': '下書き',
19
19
  'ta.chat.asksCount': '{count} 件の判断待ち',
20
20
  'ta.chat.unseenCount': '新着メッセージ {count} 件',
21
+ 'ta.tab.todo': '未完 {count} 件',
22
+ 'ta.tab.urgent': '緊急 {count} 件',
21
23
  'ta.chat.letGo': '判断は不要です',
22
24
  'ta.chat.toAsk': 'あなたの判断待ち:{question}',
23
25
  'ta.chat.removed': '削除済み({count})',
@@ -82,6 +84,8 @@ exports.CHAT_JA = {
82
84
  'ta.message.pictureSeen': '画像 {n} · {what}',
83
85
  'ta.message.steered': '途中で発言',
84
86
  'ta.message.steeredTitle': '作業中に書かれました。ツールを完了後に読まれて続行しました',
87
+ 'ta.message.wentOn': '停止後に言った',
88
+ 'ta.message.wentOnTitle': '止まった後に書かれました。ここから同じ流れで続きを進めます',
85
89
  'ta.message.queued': '返信を待機',
86
90
  'ta.message.queuedTitle': '作業中に書かれました。返信完了後に送信されました',
87
91
  'ta.message.branch': '他のブランチの要約',
@@ -124,7 +128,12 @@ exports.CHAT_JA = {
124
128
  'ta.folder.path': 'ディレクトリパス。Enter キーで移動します。',
125
129
  'ta.folder.up': '上のレベルに移動',
126
130
  'ta.folder.type': 'パスを入力',
127
- 'ta.folder.empty': 'ここにはサブディレクトリがありません。',
131
+ 'ta.folder.empty': '空のフォルダです。このまま使うか、中にフォルダを作成できます',
132
+ 'ta.folder.new': '新規フォルダ',
133
+ 'ta.folder.newName': 'フォルダ名',
134
+ 'ta.folder.newConfirm': '作成',
135
+ 'ta.folder.newInvalid': '名前に / や \\ は使えず、. や .. にもできません',
136
+ 'ta.folder.newExists': '{name} はすでにあります',
128
137
  'ta.folder.failed': '{path} を開くことができません。',
129
138
  'ta.folder.open': 'このディレクトリを使用',
130
139
  'ta.chat.search': '会話を検索',
@@ -205,6 +214,8 @@ exports.CHAT_JA = {
205
214
  'ta.composer.camera': 'カメラ',
206
215
  'ta.composer.more': '追加と設定',
207
216
  'ta.composer.emoji': '絵文字',
217
+ 'ta.composer.emojiRecent': '最近使用',
218
+ 'ta.composer.emojiAll': 'すべての絵文字',
208
219
  'ta.composer.deleteBack': '削除',
209
220
  'ta.composer.page': 'ページ {page}',
210
221
  'ta.composer.mentionFile': 'ファイルを引用',
@@ -218,6 +229,10 @@ exports.CHAT_JA = {
218
229
  'ta.composer.image.type': '{name} は Ta が送信できる画像ではありません:PNG、JPEG、GIF、WebP のみサポート。',
219
230
  'ta.composer.image.size': '{name} は 5 MB を超えています。',
220
231
  'ta.composer.image.count': '1 つのメッセージあたり最大 8 枚の画像。',
232
+ 'ta.composer.addFile': 'ファイルを追加',
233
+ 'ta.composer.removeFile': 'ファイルを削除',
234
+ 'ta.composer.file.noDir': 'ファイルは会話の作業ディレクトリに保存されます。先にディレクトリを選んでください。',
235
+ 'ta.composer.file.size': '{name} は {mb} MB を超えています。',
221
236
  'ta.composer.filesUnavailable': 'このサーバーではまだファイル検索が利用できません',
222
237
  'ta.composer.filter': '検索',
223
238
  'ta.composer.noMatch': '一致する項目がありません',
@@ -36,6 +36,8 @@ exports.COMMON_JA = {
36
36
  'ta.zoom.copy': '画像をコピー',
37
37
  'ta.zoom.copyFailed': '画像をコピーできませんでした',
38
38
  'ta.image.copied': '画像をコピーしました',
39
+ 'ta.image.forward': '転送',
40
+ 'ta.image.share': '共有',
39
41
  'ta.zoom.loading': '読み込み中…',
40
42
  'ta.zoom.previous': '前の画像(←)',
41
43
  'ta.zoom.next': '次の画像(→)',
@@ -19,6 +19,7 @@ exports.DISCOVER_JA = {
19
19
  'ta.partners.pickLeadWith': 'あなたと{name}に加える人を選ぶと、新しいグループチャットになります。この会話はそのままです。',
20
20
  'ta.partners.pickNone': 'まだエージェントも友だちもいません',
21
21
  'ta.partners.pickChat': 'メッセージ',
22
+ 'ta.partners.pickGroup': 'グループを作成',
22
23
  'ta.partners.pickDone': '完了({count})',
23
24
  'ta.partners.pickCannot': 'このグループチャットは作成できません。友だちを含むグループチャットには Ta の友だち機能が必要です。',
24
25
  'ta.partners.infoAgent': 'プロフィールと設定',
@@ -63,6 +64,7 @@ exports.DISCOVER_JA = {
63
64
  'ta.share.thing': 'これ',
64
65
  'ta.share.itemWork': '共有先を選んでください',
65
66
  'ta.share.itemFile': '今のファイルのコピーを送ります',
67
+ 'ta.share.itemMedia': '今のコピーを送ります',
66
68
  'ta.share.noWay': 'ここには共有先がありません',
67
69
  'ta.open.title': '「{name}」を開きますか?',
68
70
  'ta.open.published': 'この拡張機能は Ta で実行され、Ta ができることを実行できます:このパソコン上のファイルを読み書きし、コマンドを実行できます。信頼できるソースからのみ開いてください。',
@@ -99,7 +101,7 @@ exports.DISCOVER_JA = {
99
101
  'ta.launcher.place.list': 'リストに',
100
102
  'ta.discover.all': 'すべての機能',
101
103
  'ta.discover.showAll': '見つけるにすべての機能を表示',
102
- 'ta.discover.allHint': '使った機能は自動で見つけるに表示され、30 日使わないとここに戻ります。',
104
+ 'ta.discover.allHint': '使った機能は自動で見つけるに並び、30 日使わないとここに戻ります。',
103
105
  'ta.discover.empty': 'ここはまだ何もありません',
104
106
  'ta.discover.emptyHint': '拡張機能が提供する機能はここにあります',
105
107
  'ta.discover.hint': '機能を右クリックするとナビゲーションバーに置けます。',
@@ -35,6 +35,10 @@ exports.SERVICE_JA = {
35
35
  'ta.appUpdate.detail': '「更新」をタップし、表示されたダイアログで「インストール」を選ぶと、Ta が閉じて新しいバージョンに入れ替わります。データは残ります。',
36
36
  'ta.appUpdate.update': '更新',
37
37
  'ta.appUpdate.installTo': 'Ta {version} に更新',
38
+ 'ta.appUpdate.back': 'このバージョンは取り下げられました。Ta {version} に戻してください',
39
+ 'ta.appUpdate.backDetail': 'このバージョンには問題があり、取り下げられました。「戻す」をタップし、ダイアログで「インストール」を選んでください。データは失われません。',
40
+ 'ta.appUpdate.goBack': '戻す',
41
+ 'ta.appUpdate.backTo': 'Ta {version} に戻す',
38
42
  'ta.release.available': '新しいバージョン {version} があります',
39
43
  'ta.release.detail': '{command} を実行します。実行中のタスクは再起動後に続きます。',
40
44
  'ta.release.install': '更新して再起動',
@@ -78,6 +78,11 @@ exports.SETTINGS_JA = {
78
78
  'ta.settings.fontSize.standard': '標準',
79
79
  'ta.settings.fontSize.large': '大',
80
80
  'ta.settings.fontSize.xlarge': '特大',
81
+ 'ta.settings.pageWidth': 'ページの幅',
82
+ 'ta.settings.pageWidthHint': '設定、見つける、拡張機能のページの内容の幅です。',
83
+ 'ta.settings.pageWidth.standard': '標準',
84
+ 'ta.settings.pageWidth.wide': '広い',
85
+ 'ta.settings.pageWidth.wider': 'もっと広い',
81
86
  'ta.settings.server': 'サービス',
82
87
  'ta.settings.version': 'バージョン',
83
88
  'ta.settings.files': '設定ファイル',
@@ -148,6 +153,10 @@ exports.SETTINGS_JA = {
148
153
  'ta.settings.days': '{count} 日',
149
154
  'ta.settings.never': 'なし',
150
155
  'ta.settings.oneYear': '1 年',
156
+ 'ta.settings.tabTitle': 'タブの名前',
157
+ 'ta.settings.tabTitleHint': 'ブラウザのタブに表示する名前。どの Ta か分かります。空なら Ta',
158
+ 'ta.settings.tabCounts': 'タブに件数を表示',
159
+ 'ta.settings.tabCountsHint': 'タブに、残っていることと判断待ちの件数も表示します。未読がなくても表示します',
151
160
  'ta.settings.chats': 'チャットリスト',
152
161
  'ta.settings.chatFold': '古い会話を折りたたむ',
153
162
  'ta.settings.chatFoldHint': 'この期間新しいメッセージがない会話は、リスト(またはそのディレクトリ)の末尾に折りたたまれます',
@@ -166,6 +175,8 @@ exports.SETTINGS_JA = {
166
175
  'ta.settings.allFeaturesHint': '見つけるにすべての機能、設定にすべての項目を表示します。オフでは、よく使うものと使ったものだけ',
167
176
  'ta.settings.more': 'その他の設定',
168
177
  'ta.settings.navigation': 'ナビゲーション',
178
+ 'ta.settings.navigation.tabs': 'スマホの下タブ数',
179
+ 'ta.settings.navigation.tabsHint': 'あふれたページは「見つける」に',
169
180
  'ta.settings.navigation.show': 'ナビゲーションバーに表示',
170
181
  'ta.settings.navigation.inNav': 'ナビゲーションバーに',
171
182
  'ta.settings.navigation.folded': '「見つける」に格納',
@@ -254,6 +265,12 @@ exports.SETTINGS_JA = {
254
265
  'ta.setting.context.fold.hint': '会話の前半にある大きなツール出力は、モデルに渡すときに先頭だけ残します。記録には全文が残ります。外部エージェントには適用しません。',
255
266
  'ta.setting.context.fold.on': 'オン',
256
267
  'ta.setting.context.fold.off': 'オフ',
268
+ 'ta.setting.asks.ttl': '確認待ちを残す期間',
269
+ 'ta.setting.asks.ttl.hint': '会話の質問がこの期間、確認待ちとして一覧とウォッチに出ます。過ぎたものは自動で畳まれ、質問自体は会話に残ります。',
270
+ 'ta.setting.asks.ttl.24': '1日',
271
+ 'ta.setting.asks.ttl.72': '3日',
272
+ 'ta.setting.asks.ttl.168': '1週間',
273
+ 'ta.setting.asks.ttl.0': '答えるまで',
257
274
  'ta.setting.compaction.enabled': '保険の圧縮',
258
275
  'ta.setting.compaction.enabled.hint': 'ターンの途中でコンテキストがいっぱいになったとき、モデルが前の内容を要約します。',
259
276
  'ta.setting.compaction.reserveTokens': '予約トークン数',