@celljs/ta-web 4.33.0 → 4.35.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 (277) hide show
  1. package/README.en.md +1 -1
  2. package/README.md +1 -1
  3. package/esm/browser/apps/app-icon.d.ts +23 -0
  4. package/esm/browser/apps/app-icon.js +98 -0
  5. package/esm/browser/apps/app-settings.d.ts +6 -0
  6. package/esm/browser/apps/app-settings.js +67 -0
  7. package/esm/browser/apps/app-window-util.d.ts +23 -0
  8. package/esm/browser/apps/app-window-util.js +27 -0
  9. package/esm/browser/apps/app-window.d.ts +9 -0
  10. package/esm/browser/apps/app-window.js +90 -0
  11. package/esm/browser/apps/web-apps.d.ts +29 -0
  12. package/esm/browser/apps/web-apps.js +57 -0
  13. package/esm/browser/assistant/assistant-thread.js +3 -1
  14. package/esm/browser/assistant/assistant-view.js +8 -4
  15. package/esm/browser/assistant/call-keeper.d.ts +2 -5
  16. package/esm/browser/assistant/call-keeper.js +7 -11
  17. package/esm/browser/components/access-settings.d.ts +6 -0
  18. package/esm/browser/components/access-settings.js +52 -0
  19. package/esm/browser/components/app-root.d.ts +6 -0
  20. package/esm/browser/components/app-root.js +34 -0
  21. package/esm/browser/components/app-view.d.ts +8 -2
  22. package/esm/browser/components/app-view.js +1 -25
  23. package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
  24. package/esm/browser/components/context-act.d.ts +4 -0
  25. package/esm/browser/components/context-act.js +8 -0
  26. package/esm/browser/components/context-line.d.ts +19 -0
  27. package/esm/browser/components/context-line.js +71 -0
  28. package/esm/browser/components/host-view.d.ts +1 -1
  29. package/esm/browser/components/message-list.js +12 -6
  30. package/esm/browser/components/message-steps.js +1 -1
  31. package/esm/browser/components/session-settings.d.ts +8 -4
  32. package/esm/browser/components/session-settings.js +10 -5
  33. package/esm/browser/components/session-view.js +12 -8
  34. package/esm/browser/components/settings-more.js +6 -0
  35. package/esm/browser/device/screen-awake.d.ts +16 -0
  36. package/esm/browser/device/screen-awake.js +37 -0
  37. package/esm/browser/device/sheet-swipe.js +4 -0
  38. package/esm/browser/extension/icons.js +2 -1
  39. package/esm/browser/extension/web-access.d.ts +16 -0
  40. package/esm/browser/extension/web-access.js +75 -0
  41. package/esm/browser/extension/web-api-desktop.d.ts +23 -0
  42. package/esm/browser/extension/web-api-spec.d.ts +70 -0
  43. package/esm/browser/extension/web-api-spec.js +223 -0
  44. package/esm/browser/extension/web-extension-api.d.ts +6 -0
  45. package/esm/browser/extension/web-extension-context.js +11 -2
  46. package/esm/browser/extension/web-extension-run.d.ts +6 -1
  47. package/esm/browser/extension/web-extension-run.js +25 -0
  48. package/esm/browser/extension/web-extensions-running.d.ts +18 -1
  49. package/esm/browser/extension/web-extensions-running.js +102 -9
  50. package/esm/browser/extension/web-pages.d.ts +5 -0
  51. package/esm/browser/extension/web-pages.js +3 -0
  52. package/esm/browser/i18n/en/chat.d.ts +16 -2
  53. package/esm/browser/i18n/en/chat.js +16 -2
  54. package/esm/browser/i18n/en/common.d.ts +1 -0
  55. package/esm/browser/i18n/en/common.js +1 -0
  56. package/esm/browser/i18n/en/discover.d.ts +11 -0
  57. package/esm/browser/i18n/en/discover.js +11 -0
  58. package/esm/browser/i18n/en/settings.d.ts +54 -0
  59. package/esm/browser/i18n/en/settings.js +57 -3
  60. package/esm/browser/i18n/en/tools.d.ts +1 -0
  61. package/esm/browser/i18n/en/tools.js +1 -0
  62. package/esm/browser/i18n/ja/chat.js +16 -2
  63. package/esm/browser/i18n/ja/common.js +1 -0
  64. package/esm/browser/i18n/ja/discover.js +11 -0
  65. package/esm/browser/i18n/ja/settings.js +57 -3
  66. package/esm/browser/i18n/ja/tools.js +1 -0
  67. package/esm/browser/i18n/locales.d.ts +84 -5
  68. package/esm/browser/i18n/messages.d.ts +83 -4
  69. package/esm/browser/i18n/zh/chat.js +16 -2
  70. package/esm/browser/i18n/zh/common.js +1 -0
  71. package/esm/browser/i18n/zh/discover.js +11 -0
  72. package/esm/browser/i18n/zh/settings.js +57 -3
  73. package/esm/browser/i18n/zh/tools.js +1 -0
  74. package/esm/browser/i18n/zh-tw/chat.js +16 -2
  75. package/esm/browser/i18n/zh-tw/common.js +1 -0
  76. package/esm/browser/i18n/zh-tw/discover.js +11 -0
  77. package/esm/browser/i18n/zh-tw/settings.js +57 -3
  78. package/esm/browser/i18n/zh-tw/tools.js +1 -0
  79. package/esm/browser/index.d.ts +1 -0
  80. package/esm/browser/index.js +1 -0
  81. package/esm/browser/notices/notices.js +1 -0
  82. package/esm/browser/sandbox/channel/channel.d.ts +56 -0
  83. package/esm/browser/sandbox/channel/channel.js +124 -0
  84. package/esm/browser/sandbox/channel/codec.d.ts +80 -0
  85. package/esm/browser/sandbox/channel/codec.js +251 -0
  86. package/esm/browser/sandbox/hook-host.d.ts +23 -0
  87. package/esm/browser/sandbox/hook-host.js +61 -0
  88. package/esm/browser/sandbox/isolated-host.d.ts +105 -0
  89. package/esm/browser/sandbox/isolated-host.js +395 -0
  90. package/esm/browser/sandbox/remote/remote-copy.d.ts +56 -0
  91. package/esm/browser/sandbox/remote/remote-copy.js +302 -0
  92. package/esm/browser/sandbox/remote/remote-mirror.d.ts +61 -0
  93. package/esm/browser/sandbox/remote/remote-mirror.js +341 -0
  94. package/esm/browser/sandbox/remote/remote-protocol.d.ts +79 -0
  95. package/esm/browser/sandbox/remote/remote-protocol.js +54 -0
  96. package/esm/browser/sandbox/remote/remote-styles.d.ts +10 -0
  97. package/esm/browser/sandbox/remote/remote-styles.js +113 -0
  98. package/esm/browser/sandbox/remote-root.d.ts +11 -0
  99. package/esm/browser/sandbox/remote-root.js +81 -0
  100. package/esm/browser/sandbox/runtime/frame-api.d.ts +28 -0
  101. package/esm/browser/sandbox/runtime/frame-api.js +147 -0
  102. package/esm/browser/sandbox/runtime/frame-features.d.ts +6 -0
  103. package/esm/browser/sandbox/runtime/frame-features.js +50 -0
  104. package/esm/browser/sandbox/runtime/frame-parts.d.ts +36 -0
  105. package/esm/browser/sandbox/runtime/frame-parts.js +69 -0
  106. package/esm/browser/sandbox/runtime/frame-roots.d.ts +26 -0
  107. package/esm/browser/sandbox/runtime/frame-roots.js +76 -0
  108. package/esm/browser/sandbox/runtime/frame-store.d.ts +9 -0
  109. package/esm/browser/sandbox/runtime/frame-store.js +18 -0
  110. package/esm/browser/sandbox/runtime/sandbox-runtime.d.ts +11 -0
  111. package/esm/browser/sandbox/runtime/sandbox-runtime.js +45 -0
  112. package/esm/browser/sandbox/sandbox-features.d.ts +25 -0
  113. package/esm/browser/sandbox/sandbox-features.js +32 -0
  114. package/esm/browser/sandbox/sandbox-frame.d.ts +21 -0
  115. package/esm/browser/sandbox/sandbox-frame.js +75 -0
  116. package/esm/browser/sandbox/sandbox-guards.d.ts +19 -0
  117. package/esm/browser/sandbox/sandbox-guards.js +74 -0
  118. package/esm/browser/sandbox/sandbox-protocol.d.ts +57 -0
  119. package/esm/browser/sandbox/sandbox-protocol.js +49 -0
  120. package/esm/browser/sandbox/sandbox-runtime-code.d.ts +1 -0
  121. package/esm/browser/sandbox/sandbox-runtime-code.js +3 -0
  122. package/esm/browser/sandbox/web-sandbox.d.ts +28 -0
  123. package/esm/browser/sandbox/web-sandbox.js +44 -0
  124. package/esm/browser/settings/agent-settings.js +12 -2
  125. package/esm/browser/settings/settings-protocol.d.ts +2 -0
  126. package/esm/browser/settings/settings-protocol.js +2 -0
  127. package/esm/browser/style/conversation.d.ts +1 -1
  128. package/esm/browser/style/conversation.js +20 -1
  129. package/esm/browser/style/surfaces.d.ts +1 -1
  130. package/esm/browser/style/surfaces.js +5 -0
  131. package/esm/browser/style/tints.d.ts +2 -0
  132. package/esm/browser/style/tints.js +10 -0
  133. package/esm/browser/util/context-view.d.ts +16 -0
  134. package/esm/browser/util/context-view.js +42 -0
  135. package/esm/browser/util/desktop.d.ts +31 -1
  136. package/esm/browser/util/desktop.js +20 -0
  137. package/esm/browser/util/progress.d.ts +4 -0
  138. package/esm/browser/util/progress.js +9 -3
  139. package/esm/browser/view.js +1 -1
  140. package/lib/browser/apps/app-icon.d.ts +24 -0
  141. package/lib/browser/apps/app-icon.js +134 -0
  142. package/lib/browser/apps/app-settings.d.ts +7 -0
  143. package/lib/browser/apps/app-settings.js +103 -0
  144. package/lib/browser/apps/app-window-util.d.ts +24 -0
  145. package/lib/browser/apps/app-window-util.js +30 -0
  146. package/lib/browser/apps/app-window.d.ts +10 -0
  147. package/lib/browser/apps/app-window.js +126 -0
  148. package/lib/browser/apps/web-apps.d.ts +30 -0
  149. package/lib/browser/apps/web-apps.js +61 -0
  150. package/lib/browser/assistant/assistant-thread.js +3 -1
  151. package/lib/browser/assistant/assistant-view.js +8 -4
  152. package/lib/browser/assistant/call-keeper.d.ts +2 -5
  153. package/lib/browser/assistant/call-keeper.js +6 -10
  154. package/lib/browser/components/access-settings.d.ts +7 -0
  155. package/lib/browser/components/access-settings.js +88 -0
  156. package/lib/browser/components/app-root.d.ts +7 -0
  157. package/lib/browser/components/app-root.js +70 -0
  158. package/lib/browser/components/app-view.d.ts +8 -2
  159. package/lib/browser/components/app-view.js +1 -25
  160. package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
  161. package/lib/browser/components/context-act.d.ts +5 -0
  162. package/lib/browser/components/context-act.js +44 -0
  163. package/lib/browser/components/context-line.d.ts +20 -0
  164. package/lib/browser/components/context-line.js +109 -0
  165. package/lib/browser/components/host-view.d.ts +1 -1
  166. package/lib/browser/components/message-list.js +12 -6
  167. package/lib/browser/components/message-steps.js +1 -1
  168. package/lib/browser/components/session-settings.d.ts +8 -4
  169. package/lib/browser/components/session-settings.js +10 -5
  170. package/lib/browser/components/session-view.js +12 -8
  171. package/lib/browser/components/settings-more.js +6 -0
  172. package/lib/browser/device/screen-awake.d.ts +16 -0
  173. package/lib/browser/device/screen-awake.js +39 -1
  174. package/lib/browser/device/sheet-swipe.js +4 -0
  175. package/lib/browser/extension/icons.js +1 -0
  176. package/lib/browser/extension/web-access.d.ts +17 -0
  177. package/lib/browser/extension/web-access.js +78 -0
  178. package/lib/browser/extension/web-api-desktop.d.ts +23 -0
  179. package/lib/browser/extension/web-api-spec.d.ts +71 -0
  180. package/lib/browser/extension/web-api-spec.js +226 -0
  181. package/lib/browser/extension/web-extension-api.d.ts +6 -0
  182. package/lib/browser/extension/web-extension-context.js +11 -2
  183. package/lib/browser/extension/web-extension-run.d.ts +6 -1
  184. package/lib/browser/extension/web-extension-run.js +25 -0
  185. package/lib/browser/extension/web-extensions-running.d.ts +18 -1
  186. package/lib/browser/extension/web-extensions-running.js +102 -9
  187. package/lib/browser/extension/web-pages.d.ts +5 -0
  188. package/lib/browser/extension/web-pages.js +3 -0
  189. package/lib/browser/i18n/en/chat.d.ts +16 -2
  190. package/lib/browser/i18n/en/chat.js +16 -2
  191. package/lib/browser/i18n/en/common.d.ts +1 -0
  192. package/lib/browser/i18n/en/common.js +1 -0
  193. package/lib/browser/i18n/en/discover.d.ts +11 -0
  194. package/lib/browser/i18n/en/discover.js +11 -0
  195. package/lib/browser/i18n/en/settings.d.ts +54 -0
  196. package/lib/browser/i18n/en/settings.js +57 -3
  197. package/lib/browser/i18n/en/tools.d.ts +1 -0
  198. package/lib/browser/i18n/en/tools.js +1 -0
  199. package/lib/browser/i18n/ja/chat.js +16 -2
  200. package/lib/browser/i18n/ja/common.js +1 -0
  201. package/lib/browser/i18n/ja/discover.js +11 -0
  202. package/lib/browser/i18n/ja/settings.js +57 -3
  203. package/lib/browser/i18n/ja/tools.js +1 -0
  204. package/lib/browser/i18n/locales.d.ts +84 -5
  205. package/lib/browser/i18n/messages.d.ts +83 -4
  206. package/lib/browser/i18n/zh/chat.js +16 -2
  207. package/lib/browser/i18n/zh/common.js +1 -0
  208. package/lib/browser/i18n/zh/discover.js +11 -0
  209. package/lib/browser/i18n/zh/settings.js +57 -3
  210. package/lib/browser/i18n/zh/tools.js +1 -0
  211. package/lib/browser/i18n/zh-tw/chat.js +16 -2
  212. package/lib/browser/i18n/zh-tw/common.js +1 -0
  213. package/lib/browser/i18n/zh-tw/discover.js +11 -0
  214. package/lib/browser/i18n/zh-tw/settings.js +57 -3
  215. package/lib/browser/i18n/zh-tw/tools.js +1 -0
  216. package/lib/browser/index.d.ts +1 -0
  217. package/lib/browser/index.js +1 -0
  218. package/lib/browser/notices/notices.js +1 -0
  219. package/lib/browser/sandbox/channel/channel.d.ts +57 -0
  220. package/lib/browser/sandbox/channel/channel.js +128 -0
  221. package/lib/browser/sandbox/channel/codec.d.ts +81 -0
  222. package/lib/browser/sandbox/channel/codec.js +256 -0
  223. package/lib/browser/sandbox/hook-host.d.ts +24 -0
  224. package/lib/browser/sandbox/hook-host.js +98 -0
  225. package/lib/browser/sandbox/isolated-host.d.ts +106 -0
  226. package/lib/browser/sandbox/isolated-host.js +432 -0
  227. package/lib/browser/sandbox/remote/remote-copy.d.ts +57 -0
  228. package/lib/browser/sandbox/remote/remote-copy.js +306 -0
  229. package/lib/browser/sandbox/remote/remote-mirror.d.ts +62 -0
  230. package/lib/browser/sandbox/remote/remote-mirror.js +345 -0
  231. package/lib/browser/sandbox/remote/remote-protocol.d.ts +80 -0
  232. package/lib/browser/sandbox/remote/remote-protocol.js +57 -0
  233. package/lib/browser/sandbox/remote/remote-styles.d.ts +11 -0
  234. package/lib/browser/sandbox/remote/remote-styles.js +116 -0
  235. package/lib/browser/sandbox/remote-root.d.ts +12 -0
  236. package/lib/browser/sandbox/remote-root.js +117 -0
  237. package/lib/browser/sandbox/runtime/frame-api.d.ts +29 -0
  238. package/lib/browser/sandbox/runtime/frame-api.js +183 -0
  239. package/lib/browser/sandbox/runtime/frame-features.d.ts +7 -0
  240. package/lib/browser/sandbox/runtime/frame-features.js +53 -0
  241. package/lib/browser/sandbox/runtime/frame-parts.d.ts +37 -0
  242. package/lib/browser/sandbox/runtime/frame-parts.js +106 -0
  243. package/lib/browser/sandbox/runtime/frame-roots.d.ts +27 -0
  244. package/lib/browser/sandbox/runtime/frame-roots.js +113 -0
  245. package/lib/browser/sandbox/runtime/frame-store.d.ts +10 -0
  246. package/lib/browser/sandbox/runtime/frame-store.js +22 -0
  247. package/lib/browser/sandbox/runtime/sandbox-runtime.d.ts +12 -0
  248. package/lib/browser/sandbox/runtime/sandbox-runtime.js +47 -0
  249. package/lib/browser/sandbox/sandbox-features.d.ts +26 -0
  250. package/lib/browser/sandbox/sandbox-features.js +35 -0
  251. package/lib/browser/sandbox/sandbox-frame.d.ts +22 -0
  252. package/lib/browser/sandbox/sandbox-frame.js +79 -0
  253. package/lib/browser/sandbox/sandbox-guards.d.ts +20 -0
  254. package/lib/browser/sandbox/sandbox-guards.js +77 -0
  255. package/lib/browser/sandbox/sandbox-protocol.d.ts +58 -0
  256. package/lib/browser/sandbox/sandbox-protocol.js +52 -0
  257. package/lib/browser/sandbox/sandbox-runtime-code.d.ts +2 -0
  258. package/lib/browser/sandbox/sandbox-runtime-code.js +6 -0
  259. package/lib/browser/sandbox/web-sandbox.d.ts +29 -0
  260. package/lib/browser/sandbox/web-sandbox.js +47 -0
  261. package/lib/browser/settings/agent-settings.js +12 -2
  262. package/lib/browser/settings/settings-protocol.d.ts +2 -0
  263. package/lib/browser/settings/settings-protocol.js +2 -0
  264. package/lib/browser/style/conversation.d.ts +1 -1
  265. package/lib/browser/style/conversation.js +20 -1
  266. package/lib/browser/style/surfaces.d.ts +1 -1
  267. package/lib/browser/style/surfaces.js +5 -0
  268. package/lib/browser/style/tints.d.ts +2 -0
  269. package/lib/browser/style/tints.js +10 -0
  270. package/lib/browser/util/context-view.d.ts +17 -0
  271. package/lib/browser/util/context-view.js +45 -0
  272. package/lib/browser/util/desktop.d.ts +31 -1
  273. package/lib/browser/util/desktop.js +20 -0
  274. package/lib/browser/util/progress.d.ts +4 -0
  275. package/lib/browser/util/progress.js +9 -3
  276. package/lib/browser/view.js +2 -2
  277. package/package.json +8 -8
@@ -22,7 +22,6 @@ export declare const EN_MESSAGES: {
22
22
  'ta.access.bind': string;
23
23
  'ta.access.bindHint': string;
24
24
  'ta.access.requested': string;
25
- 'ta.access.allow': string;
26
25
  'ta.access.dismiss': string;
27
26
  'ta.access.add': string;
28
27
  'ta.access.open': string;
@@ -39,7 +38,6 @@ export declare const EN_MESSAGES: {
39
38
  'ta.access.removeConfirm': string;
40
39
  'ta.access.removeDetail': string;
41
40
  'ta.access.remove': string;
42
- 'ta.access.browser': string;
43
41
  'ta.access.thisBrowser': string;
44
42
  'ta.access.lastUsed': string;
45
43
  'ta.access.signOut': string;
@@ -483,10 +481,8 @@ export declare const EN_MESSAGES: {
483
481
  'ta.message.skill': string;
484
482
  'ta.message.showMore': string;
485
483
  'ta.message.showLess': string;
486
- 'ta.message.compacted': string;
487
484
  'ta.message.picturesSeen': string;
488
485
  'ta.message.pictureSeen': string;
489
- 'ta.message.compactedFrom': string;
490
486
  'ta.message.steered': string;
491
487
  'ta.message.steeredTitle': string;
492
488
  'ta.message.queued': string;
@@ -625,6 +621,22 @@ export declare const EN_MESSAGES: {
625
621
  'ta.chat.replyingFor': string;
626
622
  'ta.chats.busy': string;
627
623
  'ta.chat.tagOpen': string;
624
+ 'ta.context.title': string;
625
+ 'ta.context.here': string;
626
+ 'ta.context.renew': string;
627
+ 'ta.context.renewNow': string;
628
+ 'ta.context.notNow': string;
629
+ 'ta.context.undo': string;
630
+ 'ta.context.offer': string;
631
+ 'ta.context.renewed': string;
632
+ 'ta.context.at': string;
633
+ 'ta.context.never': string;
634
+ 'ta.context.follow': string;
635
+ 'ta.context.mode.auto': string;
636
+ 'ta.context.mode.ask': string;
637
+ 'ta.context.mode.off': string;
638
+ 'ta.context.mark': string;
639
+ 'ta.context.note': string;
628
640
  'ta.dismiss': string;
629
641
  'ta.cancel': string;
630
642
  'ta.ok': string;
@@ -696,6 +708,7 @@ export declare const EN_MESSAGES: {
696
708
  'ta.error.forbiddenHint': string;
697
709
  'ta.error.forbiddenAsk': string;
698
710
  'ta.error.limit': string;
711
+ 'ta.error.deviceNotWaiting': string;
699
712
  'ta.error.forbiddenNever': string;
700
713
  'ta.notices': string;
701
714
  'ta.notice.picture': string;
@@ -1007,6 +1020,17 @@ export declare const EN_MESSAGES: {
1007
1020
  'ta.open.open': string;
1008
1021
  'ta.open.notALink': string;
1009
1022
  'ta.open.failed': string;
1023
+ 'ta.access.ask': string;
1024
+ 'ta.access.new': string;
1025
+ 'ta.access.updated': string;
1026
+ 'ta.access.full': string;
1027
+ 'ta.access.app': string;
1028
+ 'ta.access.browser': string;
1029
+ 'ta.access.from': string;
1030
+ 'ta.access.fromLink': string;
1031
+ 'ta.access.fromMarket': string;
1032
+ 'ta.access.allow': string;
1033
+ 'ta.access.failed': string;
1010
1034
  'ta.search.pages': string;
1011
1035
  'ta.search.all': string;
1012
1036
  'ta.search.more': string;
@@ -1407,6 +1431,22 @@ export declare const EN_MESSAGES: {
1407
1431
  'ta.settings.keepAliveDescription': string;
1408
1432
  'ta.settings.retention': string;
1409
1433
  'ta.settings.retentionDescription': string;
1434
+ 'ta.settings.trust': string;
1435
+ 'ta.settings.trustDescription': string;
1436
+ 'ta.settings.trust.off': string;
1437
+ 'ta.settings.trust.browser': string;
1438
+ 'ta.settings.trust.ask': string;
1439
+ 'ta.settings.trust.all': string;
1440
+ 'ta.settings.trust.offHint': string;
1441
+ 'ta.settings.trust.browserHint': string;
1442
+ 'ta.settings.trust.askHint': string;
1443
+ 'ta.settings.trust.allHint': string;
1444
+ 'ta.settings.sandbox': string;
1445
+ 'ta.settings.sandboxDescription': string;
1446
+ 'ta.settings.sandboxLocal': string;
1447
+ 'ta.settings.sandboxLocalDescription': string;
1448
+ 'ta.settings.sandboxParts': string;
1449
+ 'ta.settings.sandboxPartsDescription': string;
1410
1450
  'ta.settings.minutes': string;
1411
1451
  'ta.settings.days': string;
1412
1452
  'ta.settings.never': string;
@@ -1476,6 +1516,32 @@ export declare const EN_MESSAGES: {
1476
1516
  'ta.setting.followUpMode.hint': string;
1477
1517
  'ta.setting.followUpMode.one-at-a-time': string;
1478
1518
  'ta.setting.followUpMode.all': string;
1519
+ 'ta.setting.context.renewAt': string;
1520
+ 'ta.setting.context.renewAt.hint': string;
1521
+ 'ta.setting.context.renewAt.auto': string;
1522
+ 'ta.setting.context.renewAt.never': string;
1523
+ 'ta.setting.context.renewAt.40': string;
1524
+ 'ta.setting.context.renewAt.60': string;
1525
+ 'ta.setting.context.renewAt.80': string;
1526
+ 'ta.setting.context.asked': string;
1527
+ 'ta.setting.context.asked.hint': string;
1528
+ 'ta.setting.context.asked.auto': string;
1529
+ 'ta.setting.context.asked.ask': string;
1530
+ 'ta.setting.context.asked.off': string;
1531
+ 'ta.setting.context.unattended': string;
1532
+ 'ta.setting.context.unattended.hint': string;
1533
+ 'ta.setting.context.unattended.auto': string;
1534
+ 'ta.setting.context.unattended.ask': string;
1535
+ 'ta.setting.context.unattended.off': string;
1536
+ 'ta.setting.context.double': string;
1537
+ 'ta.setting.context.double.hint': string;
1538
+ 'ta.setting.context.double.auto': string;
1539
+ 'ta.setting.context.double.ask': string;
1540
+ 'ta.setting.context.double.off': string;
1541
+ 'ta.setting.context.fold': string;
1542
+ 'ta.setting.context.fold.hint': string;
1543
+ 'ta.setting.context.fold.on': string;
1544
+ 'ta.setting.context.fold.off': string;
1479
1545
  'ta.setting.compaction.enabled': string;
1480
1546
  'ta.setting.compaction.enabled.hint': string;
1481
1547
  'ta.setting.compaction.reserveTokens': string;
@@ -1512,6 +1578,18 @@ export declare const EN_MESSAGES: {
1512
1578
  'ta.settings.cwdChange': string;
1513
1579
  'ta.settings.cwdDescription': string;
1514
1580
  'ta.workingDirectory.changed': string;
1581
+ 'ta.settings.installApps': string;
1582
+ 'ta.settings.installAppsDescription': string;
1583
+ 'ta.settings.apps': string;
1584
+ 'ta.apps.install': string;
1585
+ 'ta.apps.remove': string;
1586
+ 'ta.apps.open': string;
1587
+ 'ta.apps.installed': string;
1588
+ 'ta.apps.noEntry': string;
1589
+ 'ta.apps.removed': string;
1590
+ 'ta.apps.off': string;
1591
+ 'ta.apps.gone': string;
1592
+ 'ta.apps.goneHint': string;
1515
1593
  'ta.tool.earlier': string;
1516
1594
  'ta.tool.hideScript': string;
1517
1595
  'ta.tool.showScript': string;
@@ -1607,6 +1685,7 @@ export declare const EN_MESSAGES: {
1607
1685
  'ta.progress.waiting': string;
1608
1686
  'ta.progress.calling': string;
1609
1687
  'ta.progress.compacting': string;
1688
+ 'ta.progress.renewing': string;
1610
1689
  'ta.progress.retrying': string;
1611
1690
  'ta.progress.retryingNow': string;
1612
1691
  'ta.progress.retry.rateLimit': string;
@@ -69,10 +69,8 @@ export const CHAT_ZH = {
69
69
  'ta.message.skill': '技能',
70
70
  'ta.message.showMore': '展开',
71
71
  'ta.message.showLess': '收起',
72
- 'ta.message.compacted': '较早的消息已压缩',
73
72
  'ta.message.picturesSeen': '看了 {count} 张图',
74
73
  'ta.message.pictureSeen': '图 {n} · {what}',
75
- 'ta.message.compactedFrom': '压缩前 {tokens} tokens',
76
74
  'ta.message.steered': '插话',
77
75
  'ta.message.steeredTitle': '在它工作时发的:它跑完手头的工具后读到,接着按这句继续',
78
76
  'ta.message.queued': '排队',
@@ -211,5 +209,21 @@ export const CHAT_ZH = {
211
209
  'ta.chat.replyingFor': '{names} · 正在回复',
212
210
  'ta.chats.busy': '进行中的对话',
213
211
  'ta.chat.tagOpen': '这是什么、怎么改',
212
+ 'ta.context.title': '上下文',
213
+ 'ta.context.here': '这个对话',
214
+ 'ta.context.renew': '换新',
215
+ 'ta.context.renewNow': '立即换新上下文',
216
+ 'ta.context.notNow': '这次不用',
217
+ 'ta.context.undo': '撤销',
218
+ 'ta.context.offer': '上下文已用 {percent}%,换新会更稳',
219
+ 'ta.context.renewed': '已换上新的上下文 · 凭交接笔记接着做',
220
+ 'ta.context.at': '{tokens} 时换新',
221
+ 'ta.context.never': '不换新',
222
+ 'ta.context.follow': '跟随设置({mode})',
223
+ 'ta.context.mode.auto': '自动换新',
224
+ 'ta.context.mode.ask': '提示我',
225
+ 'ta.context.mode.off': '不换',
226
+ 'ta.context.mark': '上下文从这里换新',
227
+ 'ta.context.note': '交接笔记',
214
228
  };
215
229
  //# sourceMappingURL=chat.js.map
@@ -70,6 +70,7 @@ export const COMMON_ZH = {
70
70
  'ta.error.forbiddenHint': '这台 Ta 的所有者或管理员可以给你这个权限',
71
71
  'ta.error.forbiddenAsk': '申请',
72
72
  'ta.error.limit': '这台 Ta 同时在跑的协作任务已满,请稍后再试',
73
+ 'ta.error.deviceNotWaiting': '这台设备没有在等待允许,可能已被允许或移除',
73
74
  'ta.error.forbiddenNever': '这里对所有协作者都不开放',
74
75
  'ta.notices': '通知',
75
76
  'ta.notice.picture': '扩展给出的图像,如要扫描的二维码',
@@ -57,6 +57,17 @@ export const DISCOVER_ZH = {
57
57
  'ta.open.open': '打开',
58
58
  'ta.open.notALink': '这不是扩展链接',
59
59
  'ta.open.failed': '没能打开',
60
+ 'ta.access.ask': '允许“{name}”运行?',
61
+ 'ta.access.new': '它不是你自己做的,允许后才会运行。',
62
+ 'ta.access.updated': '它更新了,新版本要你再允许一次才会运行。',
63
+ 'ta.access.full': '它申请 Ta 的全部能力:读写这台电脑上的文件、运行命令、读你的对话。只允许你信任的来源。',
64
+ 'ta.access.app': '它只申请自己的页面,以及 Ta 的通知、小组件和语音,不申请你的文件和对话。',
65
+ 'ta.access.browser': '它只申请自己的页面和数据,和网页一样,不申请你的文件和对话。',
66
+ 'ta.access.from': '来源:{source}。',
67
+ 'ta.access.fromLink': '别人分享的链接',
68
+ 'ta.access.fromMarket': '扩展市场',
69
+ 'ta.access.allow': '允许',
70
+ 'ta.access.failed': '没能允许',
60
71
  'ta.search.pages': '页面',
61
72
  'ta.search.all': '显示全部 {count} 个',
62
73
  'ta.search.more': '查看更多',
@@ -104,6 +104,22 @@ export const SETTINGS_ZH = {
104
104
  'ta.settings.keepAliveDescription': '打开时才启动的扩展,离开后在后台保留这么久再停止,期间再打开还在原来的位置',
105
105
  'ta.settings.retention': '清除不用的临时扩展',
106
106
  'ta.settings.retentionDescription': '没有安装的扩展,这么多天没用就清除;收进“我的”的不清除',
107
+ 'ta.settings.trust': '别人分享的扩展',
108
+ 'ta.settings.trustDescription': '别人分享给你的扩展能用到哪一步:只像网页、每个版本问你,或者 Ta 的全部能力',
109
+ 'ta.settings.trust.off': '关闭',
110
+ 'ta.settings.trust.browser': '只给网页',
111
+ 'ta.settings.trust.ask': '逐版询问',
112
+ 'ta.settings.trust.all': '完全信任',
113
+ 'ta.settings.trust.offHint': '别人分享的扩展都不运行,也不再询问',
114
+ 'ta.settings.trust.browserHint': '只能用自己的页面和数据,和网页一样;申请更多的不运行',
115
+ 'ta.settings.trust.askHint': '每个扩展申请什么由你允许,更新后再问;不到完全访问的和 Ta 隔开运行',
116
+ 'ta.settings.trust.allHint': '不再询问,直接拥有 Ta 的全部能力(你的文件、对话)。只在信任分享给你的人时选',
117
+ 'ta.settings.sandbox': '在这台设备上隔离运行',
118
+ 'ta.settings.sandboxDescription': '关掉后,需要和 Ta 隔开运行的扩展在这台设备上不运行',
119
+ 'ta.settings.sandboxLocal': '保存它们的本地数据',
120
+ 'ta.settings.sandboxLocalDescription': '它们存在本地的数据跟着扩展数据保存,每个最多 1 MB',
121
+ 'ta.settings.sandboxParts': '允许使用 Ta 的组件',
122
+ 'ta.settings.sandboxPartsDescription': '关掉后只显示它们自己画的内容,没有 Ta 的文字排版、对话框和图标',
107
123
  'ta.settings.minutes': '{count} 分钟',
108
124
  'ta.settings.days': '{count} 天',
109
125
  'ta.settings.never': '从不',
@@ -147,7 +163,7 @@ export const SETTINGS_ZH = {
147
163
  'ta.settings.off': '关',
148
164
  'ta.settings.group.model': '模型',
149
165
  'ta.settings.group.conversation': '对话',
150
- 'ta.settings.group.context': '上下文与重试',
166
+ 'ta.settings.group.context': '上下文',
151
167
  'ta.settings.group.tools': '工具',
152
168
  'ta.settings.shortcuts': '键盘快捷方式',
153
169
  'ta.settings.about': '关于',
@@ -173,8 +189,34 @@ export const SETTINGS_ZH = {
173
189
  'ta.setting.followUpMode.hint': '排在本轮之后的消息(Alt+Enter)。',
174
190
  'ta.setting.followUpMode.one-at-a-time': '逐条',
175
191
  'ta.setting.followUpMode.all': '一起',
176
- 'ta.setting.compaction.enabled': '自动压缩',
177
- 'ta.setting.compaction.enabled.hint': '上下文快满时自动总结对话。',
192
+ 'ta.setting.context.renewAt': '上下文多满时换新',
193
+ 'ta.setting.context.renewAt.hint': '两轮之间写好交接笔记,再换上新的上下文接着做。自动:窗口的 60%,最多 25 万 token。',
194
+ 'ta.setting.context.renewAt.auto': '自动',
195
+ 'ta.setting.context.renewAt.never': '从不',
196
+ 'ta.setting.context.renewAt.40': '40%',
197
+ 'ta.setting.context.renewAt.60': '60%',
198
+ 'ta.setting.context.renewAt.80': '80%',
199
+ 'ta.setting.context.asked': '你发起的对话',
200
+ 'ta.setting.context.asked.hint': '满了以后自动换新,或在对话末尾提示一行。',
201
+ 'ta.setting.context.asked.auto': '自动换新',
202
+ 'ta.setting.context.asked.ask': '提示我',
203
+ 'ta.setting.context.asked.off': '不换',
204
+ 'ta.setting.context.unattended': 'Ta 自己跑的工作',
205
+ 'ta.setting.context.unattended.hint': '分身任务、目标、定时任务、被派活的智能体。',
206
+ 'ta.setting.context.unattended.auto': '自动换新',
207
+ 'ta.setting.context.unattended.ask': '提示我',
208
+ 'ta.setting.context.unattended.off': '不换',
209
+ 'ta.setting.context.double': '分身的主对话',
210
+ 'ta.setting.context.double.hint': '长期不关的那个对话。',
211
+ 'ta.setting.context.double.auto': '自动换新',
212
+ 'ta.setting.context.double.ask': '提示我',
213
+ 'ta.setting.context.double.off': '不换',
214
+ 'ta.setting.context.fold': '折叠旧的工具输出',
215
+ 'ta.setting.context.fold.hint': '对话前面较大的工具输出,发给模型时只留开头,记录里仍完整保存。外部智能体不受影响。',
216
+ 'ta.setting.context.fold.on': '开',
217
+ 'ta.setting.context.fold.off': '关',
218
+ 'ta.setting.compaction.enabled': '兜底压缩',
219
+ 'ta.setting.compaction.enabled.hint': '一轮还没做完上下文就满了时,由模型总结前文。',
178
220
  'ta.setting.compaction.reserveTokens': '预留 token',
179
221
  'ta.setting.compaction.reserveTokens.hint': '留给回复的空间少于此值时开始压缩。',
180
222
  'ta.setting.compaction.keepRecentTokens': '保留最近 token',
@@ -209,5 +251,17 @@ export const SETTINGS_ZH = {
209
251
  'ta.settings.cwdChange': '更改…',
210
252
  'ta.settings.cwdDescription': '新对话、终端和分身派出的任务在这里打开;已有的对话留在各自的目录:{path}',
211
253
  'ta.workingDirectory.changed': '默认目录已改为 {path}',
254
+ 'ta.settings.installApps': '可以装成应用',
255
+ 'ta.settings.installAppsDescription': '在快捷打开里长按页面,装成这台电脑上的一个应用,有自己的窗口。关掉后,已装的照样能打开',
256
+ 'ta.settings.apps': '装成的应用',
257
+ 'ta.apps.install': '装成应用',
258
+ 'ta.apps.remove': '从应用里移除',
259
+ 'ta.apps.open': '打开',
260
+ 'ta.apps.installed': '{name} 已装成应用,以后可以从电脑的应用里打开',
261
+ 'ta.apps.noEntry': '{name} 的窗口已打开,但没能放进电脑的应用里',
262
+ 'ta.apps.removed': '已从应用里移除 {name}',
263
+ 'ta.apps.off': '设置里关掉了“可以装成应用”',
264
+ 'ta.apps.gone': '这个页面已经不在了',
265
+ 'ta.apps.goneHint': '它的扩展可能已被移除或关闭。',
212
266
  };
213
267
  //# sourceMappingURL=settings.js.map
@@ -95,6 +95,7 @@ export const TOOLS_ZH = {
95
95
  'ta.progress.waiting': '等待模型响应',
96
96
  'ta.progress.calling': '编写工具调用 · {tool}',
97
97
  'ta.progress.compacting': '压缩上下文',
98
+ 'ta.progress.renewing': '正在整理交接笔记',
98
99
  'ta.progress.retrying': '{reason},{seconds} 秒后重试({attempt}/{max})',
99
100
  'ta.progress.retryingNow': '{reason},正在重试({attempt}/{max})',
100
101
  'ta.progress.retry.rateLimit': '被模型限流',
@@ -69,10 +69,8 @@ export const CHAT_ZH_TW = {
69
69
  'ta.message.skill': '技能',
70
70
  'ta.message.showMore': '展開',
71
71
  'ta.message.showLess': '收起',
72
- 'ta.message.compacted': '較早的訊息已壓縮',
73
72
  'ta.message.picturesSeen': '看了 {count} 張圖',
74
73
  'ta.message.pictureSeen': '圖 {n} · {what}',
75
- 'ta.message.compactedFrom': '壓縮前 {tokens} tokens',
76
74
  'ta.message.steered': '插話',
77
75
  'ta.message.steeredTitle': '在它工作時發的:它跑完手頭的工具後讀到,接著按這句繼續',
78
76
  'ta.message.queued': '排隊',
@@ -211,5 +209,21 @@ export const CHAT_ZH_TW = {
211
209
  'ta.chat.replyingFor': '{names} · 正在回覆',
212
210
  'ta.chats.busy': '進行中的對話',
213
211
  'ta.chat.tagOpen': '這是什麼、怎麼改',
212
+ 'ta.context.title': '上下文',
213
+ 'ta.context.here': '這個對話',
214
+ 'ta.context.renew': '換新',
215
+ 'ta.context.renewNow': '立即換新上下文',
216
+ 'ta.context.notNow': '這次不用',
217
+ 'ta.context.undo': '復原',
218
+ 'ta.context.offer': '上下文已用 {percent}%,換新會更穩',
219
+ 'ta.context.renewed': '已換上新的上下文 · 憑交接筆記接著做',
220
+ 'ta.context.at': '{tokens} 時換新',
221
+ 'ta.context.never': '不換新',
222
+ 'ta.context.follow': '跟隨設定({mode})',
223
+ 'ta.context.mode.auto': '自動換新',
224
+ 'ta.context.mode.ask': '提示我',
225
+ 'ta.context.mode.off': '不換',
226
+ 'ta.context.mark': '上下文從這裡換新',
227
+ 'ta.context.note': '交接筆記',
214
228
  };
215
229
  //# sourceMappingURL=chat.js.map
@@ -70,6 +70,7 @@ export const COMMON_ZH_TW = {
70
70
  'ta.error.forbiddenHint': '這台 Ta 的所有者或管理員可以給你這個權限',
71
71
  'ta.error.forbiddenAsk': '申請',
72
72
  'ta.error.limit': '這台 Ta 同時在跑的協作任務已滿,請稍後再試',
73
+ 'ta.error.deviceNotWaiting': '這台裝置沒有在等待允許,可能已被允許或移除',
73
74
  'ta.error.forbiddenNever': '這裡對所有協作者都不開放',
74
75
  'ta.notices': '通知',
75
76
  'ta.notice.picture': '擴充功能給出的影像,如要掃描的QR 碼',
@@ -57,6 +57,17 @@ export const DISCOVER_ZH_TW = {
57
57
  'ta.open.open': '開啟',
58
58
  'ta.open.notALink': '這不是擴充功能連結',
59
59
  'ta.open.failed': '沒能開啟',
60
+ 'ta.access.ask': '允許「{name}」執行?',
61
+ 'ta.access.new': '它不是你自己做的,允許後才會執行。',
62
+ 'ta.access.updated': '它更新了,新版本要你再允許一次才會執行。',
63
+ 'ta.access.full': '它申請 Ta 的全部能力:讀寫這台電腦上的檔案、執行命令、讀你的對話。只允許你信任的來源。',
64
+ 'ta.access.app': '它只申請自己的頁面,以及 Ta 的通知、小工具和語音,不申請你的檔案和對話。',
65
+ 'ta.access.browser': '它只申請自己的頁面和資料,和網頁一樣,不申請你的檔案和對話。',
66
+ 'ta.access.from': '來源:{source}。',
67
+ 'ta.access.fromLink': '別人分享的連結',
68
+ 'ta.access.fromMarket': '擴充功能市場',
69
+ 'ta.access.allow': '允許',
70
+ 'ta.access.failed': '沒能允許',
60
71
  'ta.search.pages': '頁面',
61
72
  'ta.search.all': '顯示全部 {count} 個',
62
73
  'ta.search.more': '檢視更多',
@@ -104,6 +104,22 @@ export const SETTINGS_ZH_TW = {
104
104
  'ta.settings.keepAliveDescription': '開啟時才啟動的擴充功能,離開後在後台保留這麼久再停止,期間再開啟還在原來的位置',
105
105
  'ta.settings.retention': '清除不用的臨時擴充功能',
106
106
  'ta.settings.retentionDescription': '沒有安裝的擴充功能,這麼多天沒用就清除;收進「我的」的不清除',
107
+ 'ta.settings.trust': '別人分享的擴充功能',
108
+ 'ta.settings.trustDescription': '別人分享給你的擴充功能能用到哪一步:只像網頁、每個版本問你,或者 Ta 的全部能力',
109
+ 'ta.settings.trust.off': '關閉',
110
+ 'ta.settings.trust.browser': '只給網頁',
111
+ 'ta.settings.trust.ask': '逐版詢問',
112
+ 'ta.settings.trust.all': '完全信任',
113
+ 'ta.settings.trust.offHint': '別人分享的擴充功能都不執行,也不再詢問',
114
+ 'ta.settings.trust.browserHint': '只能用自己的頁面和資料,和網頁一樣;申請更多的不執行',
115
+ 'ta.settings.trust.askHint': '每個擴充功能申請什麼由你允許,更新後再問;不到完全存取的和 Ta 隔開執行',
116
+ 'ta.settings.trust.allHint': '不再詢問,直接擁有 Ta 的全部能力(你的檔案、對話)。只在信任分享給你的人時選',
117
+ 'ta.settings.sandbox': '在這台裝置上隔離執行',
118
+ 'ta.settings.sandboxDescription': '關掉後,需要和 Ta 隔開執行的擴充功能在這台裝置上不執行',
119
+ 'ta.settings.sandboxLocal': '保存它們的本機資料',
120
+ 'ta.settings.sandboxLocalDescription': '它們存在本機的資料跟著擴充功能資料保存,每個最多 1 MB',
121
+ 'ta.settings.sandboxParts': '允許使用 Ta 的元件',
122
+ 'ta.settings.sandboxPartsDescription': '關掉後只顯示它們自己畫的內容,沒有 Ta 的文字排版、對話框和圖示',
107
123
  'ta.settings.minutes': '{count} 分鐘',
108
124
  'ta.settings.days': '{count} 天',
109
125
  'ta.settings.never': '從不',
@@ -147,7 +163,7 @@ export const SETTINGS_ZH_TW = {
147
163
  'ta.settings.off': '關',
148
164
  'ta.settings.group.model': '模型',
149
165
  'ta.settings.group.conversation': '對話',
150
- 'ta.settings.group.context': '上下文與重試',
166
+ 'ta.settings.group.context': '上下文',
151
167
  'ta.settings.group.tools': '工具',
152
168
  'ta.settings.shortcuts': '鍵盤快捷方式',
153
169
  'ta.settings.about': '關於',
@@ -173,8 +189,34 @@ export const SETTINGS_ZH_TW = {
173
189
  'ta.setting.followUpMode.hint': '排在本輪之後的訊息(Alt+Enter)。',
174
190
  'ta.setting.followUpMode.one-at-a-time': '逐條',
175
191
  'ta.setting.followUpMode.all': '一起',
176
- 'ta.setting.compaction.enabled': '自動壓縮',
177
- 'ta.setting.compaction.enabled.hint': '上下文快滿時自動總結對話。',
192
+ 'ta.setting.context.renewAt': '上下文多滿時換新',
193
+ 'ta.setting.context.renewAt.hint': '兩輪之間寫好交接筆記,再換上新的上下文接著做。自動:視窗的 60%,最多 25 萬 token。',
194
+ 'ta.setting.context.renewAt.auto': '自動',
195
+ 'ta.setting.context.renewAt.never': '從不',
196
+ 'ta.setting.context.renewAt.40': '40%',
197
+ 'ta.setting.context.renewAt.60': '60%',
198
+ 'ta.setting.context.renewAt.80': '80%',
199
+ 'ta.setting.context.asked': '你發起的對話',
200
+ 'ta.setting.context.asked.hint': '滿了以後自動換新,或在對話末尾提示一行。',
201
+ 'ta.setting.context.asked.auto': '自動換新',
202
+ 'ta.setting.context.asked.ask': '提示我',
203
+ 'ta.setting.context.asked.off': '不換',
204
+ 'ta.setting.context.unattended': 'Ta 自己跑的工作',
205
+ 'ta.setting.context.unattended.hint': '分身任務、目標、排程任務、被派活的智慧體。',
206
+ 'ta.setting.context.unattended.auto': '自動換新',
207
+ 'ta.setting.context.unattended.ask': '提示我',
208
+ 'ta.setting.context.unattended.off': '不換',
209
+ 'ta.setting.context.double': '分身的主對話',
210
+ 'ta.setting.context.double.hint': '長期不關的那個對話。',
211
+ 'ta.setting.context.double.auto': '自動換新',
212
+ 'ta.setting.context.double.ask': '提示我',
213
+ 'ta.setting.context.double.off': '不換',
214
+ 'ta.setting.context.fold': '摺疊舊的工具輸出',
215
+ 'ta.setting.context.fold.hint': '對話前面較大的工具輸出,送給模型時只留開頭,記錄裡仍完整保存。外部智慧體不受影響。',
216
+ 'ta.setting.context.fold.on': '開',
217
+ 'ta.setting.context.fold.off': '關',
218
+ 'ta.setting.compaction.enabled': '兜底壓縮',
219
+ 'ta.setting.compaction.enabled.hint': '一輪還沒做完上下文就滿了時,由模型總結前文。',
178
220
  'ta.setting.compaction.reserveTokens': '預留 token',
179
221
  'ta.setting.compaction.reserveTokens.hint': '留給回覆的空間少於此值時開始壓縮。',
180
222
  'ta.setting.compaction.keepRecentTokens': '保留最近 token',
@@ -209,5 +251,17 @@ export const SETTINGS_ZH_TW = {
209
251
  'ta.settings.cwdChange': '更改…',
210
252
  'ta.settings.cwdDescription': '新對話、終端機和分身派出的任務在這裡開啟;已有的對話留在各自的目錄:{path}',
211
253
  'ta.workingDirectory.changed': '預設目錄已改為 {path}',
254
+ 'ta.settings.installApps': '可以裝成應用程式',
255
+ 'ta.settings.installAppsDescription': '在快捷開啟裡長按頁面,裝成這台電腦上的一個應用程式,有自己的視窗。關掉後,已裝的照樣能開啟',
256
+ 'ta.settings.apps': '裝成的應用程式',
257
+ 'ta.apps.install': '裝成應用程式',
258
+ 'ta.apps.remove': '從應用程式移除',
259
+ 'ta.apps.open': '開啟',
260
+ 'ta.apps.installed': '{name} 已裝成應用程式,以後可以從電腦的應用程式裡開啟',
261
+ 'ta.apps.noEntry': '{name} 的視窗已開啟,但沒能放進電腦的應用程式裡',
262
+ 'ta.apps.removed': '已從應用程式移除 {name}',
263
+ 'ta.apps.off': '設定裡關掉了「可以裝成應用程式」',
264
+ 'ta.apps.gone': '這個頁面已經不在了',
265
+ 'ta.apps.goneHint': '它的擴充功能可能已被移除或關閉。',
212
266
  };
213
267
  //# sourceMappingURL=settings.js.map
@@ -94,6 +94,7 @@ export const TOOLS_ZH_TW = {
94
94
  'ta.progress.waiting': '等待模型響應',
95
95
  'ta.progress.calling': '編寫工具呼叫 · {tool}',
96
96
  'ta.progress.compacting': '壓縮上下文',
97
+ 'ta.progress.renewing': '正在整理交接筆記',
97
98
  'ta.progress.retrying': '{reason},{seconds} 秒後重試({attempt}/{max})',
98
99
  'ta.progress.retryingNow': '{reason},正在重試({attempt}/{max})',
99
100
  'ta.progress.retry.rateLimit': '被模型限流',
@@ -13,6 +13,7 @@ export * from './chat/chat-shown.js';
13
13
  export * from './chat/chat-util.js';
14
14
  export * from './chat/chat-view.js';
15
15
  export * from './components/account-menu.js';
16
+ export * from './components/app-root.js';
16
17
  export * from './components/app-view.js';
17
18
  export * from './components/callout.js';
18
19
  export * from './components/chat-list.js';
@@ -13,6 +13,7 @@ export * from './chat/chat-shown.js';
13
13
  export * from './chat/chat-util.js';
14
14
  export * from './chat/chat-view.js';
15
15
  export * from './components/account-menu.js';
16
+ export * from './components/app-root.js';
16
17
  export * from './components/app-view.js';
17
18
  export * from './components/callout.js';
18
19
  export * from './components/chat-list.js';
@@ -73,6 +73,7 @@ export var NoticesUtil;
73
73
  [TaErrorCode.ALREADY_COMPACTED]: 'ta.error.alreadyCompacted',
74
74
  [TaErrorCode.SESSION_BUSY]: 'ta.error.sessionBusy',
75
75
  [TaErrorCode.LIMIT]: 'ta.error.limit',
76
+ [TaErrorCode.DEVICE_NOT_WAITING]: 'ta.error.deviceNotWaiting',
76
77
  };
77
78
  /** What an error says: its message, and for a failure ta serve names (TaRemoteError) its hint. */
78
79
  function describe(cause) {
@@ -0,0 +1,56 @@
1
+ /** What one end of a channel sends the other (docs/design/ta-extension-access.md 3.3). */
2
+ export type ChannelMessage = {
3
+ t: 'q';
4
+ id: number;
5
+ op: string;
6
+ body: unknown;
7
+ } | {
8
+ t: 'a';
9
+ id: number;
10
+ body?: unknown;
11
+ error?: string;
12
+ } | {
13
+ t: 'x';
14
+ id: number;
15
+ } | {
16
+ t: 'n';
17
+ op: string;
18
+ body: unknown;
19
+ };
20
+ /** A MessagePort, or anything that sends and hears as one does. */
21
+ export interface ChannelPort {
22
+ postMessage(message: unknown): void;
23
+ onmessage: ((event: MessageEvent) => void) | null;
24
+ close?(): void;
25
+ }
26
+ /** Answers a request: what it returns, or resolves to, is the answer; what it throws, the error. */
27
+ export type ChannelHandler = (body: unknown, signal: AbortSignal) => unknown;
28
+ export declare namespace ChannelLimits {
29
+ /** Requests of the other end answered at once, at most: more are refused, so that a sandbox cannot flood the page. */
30
+ const RUNNING = 256;
31
+ }
32
+ /**
33
+ * One end of the channel between the page and a sandbox: requests answered by their id, cancelled with a signal,
34
+ * and notices that want no answer. It knows nothing of what the operations mean; both ends are this class.
35
+ */
36
+ export declare class Channel {
37
+ protected readonly port: ChannelPort;
38
+ protected nextId: number;
39
+ protected readonly waiting: Map<number, {
40
+ resolve(value: unknown): void;
41
+ reject(error: Error): void;
42
+ }>;
43
+ protected readonly running: Map<number, AbortController>;
44
+ protected readonly handlers: Map<string, ChannelHandler>;
45
+ protected readonly listeners: Map<string, (body: unknown) => void>;
46
+ protected closed: boolean;
47
+ constructor(port: ChannelPort);
48
+ request<T = unknown>(op: string, body?: unknown, signal?: AbortSignal): Promise<T>;
49
+ notify(op: string, body?: unknown): void;
50
+ handle(op: string, handler: ChannelHandler): void;
51
+ on(op: string, listener: (body: unknown) => void): void;
52
+ close(): void;
53
+ protected send(message: ChannelMessage): void;
54
+ protected heard(message: ChannelMessage | null): void;
55
+ protected answer(id: number, op: string, body: unknown): void;
56
+ }