@celljs/ta-web 4.11.0 → 4.13.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.
- package/README.en.md +1 -1
- package/README.md +1 -1
- package/esm/browser/assistant/assistant-extension.js +14 -0
- package/esm/browser/assistant/assistant-initiative.d.ts +27 -0
- package/esm/browser/assistant/assistant-initiative.js +76 -0
- package/esm/browser/assistant/assistant-task-source.d.ts +7 -0
- package/esm/browser/assistant/assistant-task-source.js +12 -2
- package/esm/browser/assistant/assistant-view.js +10 -6
- package/esm/browser/assistant/assistant.d.ts +5 -0
- package/esm/browser/assistant/assistant.js +25 -6
- package/esm/browser/chat/chat-view.js +6 -5
- package/esm/browser/components/app-nav.d.ts +3 -1
- package/esm/browser/components/app-nav.js +5 -2
- package/esm/browser/components/app-view.js +26 -13
- package/esm/browser/components/asks-badge.d.ts +5 -0
- package/esm/browser/components/asks-badge.js +8 -0
- package/esm/browser/components/chat-asks.d.ts +46 -0
- package/esm/browser/components/chat-asks.js +101 -0
- package/esm/browser/components/chat-list.d.ts +7 -1
- package/esm/browser/components/chat-list.js +46 -17
- package/esm/browser/components/composer-addon-util.d.ts +11 -0
- package/esm/browser/components/composer-addon-util.js +40 -0
- package/esm/browser/components/composer-addons.d.ts +1 -7
- package/esm/browser/components/composer-addons.js +1 -27
- package/esm/browser/components/composer-box.d.ts +1 -0
- package/esm/browser/components/composer-box.js +50 -28
- package/esm/browser/components/composer.d.ts +10 -1
- package/esm/browser/components/composer.js +61 -22
- package/esm/browser/components/connection-bar.js +31 -12
- package/esm/browser/components/conversation-scroll-hooks.d.ts +16 -0
- package/esm/browser/components/conversation-scroll-hooks.js +98 -0
- package/esm/browser/components/conversation-scroll-util.d.ts +35 -0
- package/esm/browser/components/conversation-scroll-util.js +74 -0
- package/esm/browser/components/conversation-scroll.d.ts +57 -33
- package/esm/browser/components/conversation-scroll.js +188 -123
- package/esm/browser/components/discover-view.js +5 -1
- package/esm/browser/components/earlier-messages.d.ts +10 -3
- package/esm/browser/components/earlier-messages.js +14 -8
- package/esm/browser/components/face.d.ts +24 -0
- package/esm/browser/components/face.js +42 -0
- package/esm/browser/components/folder-picker.d.ts +2 -0
- package/esm/browser/components/folder-picker.js +7 -0
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/markdown.js +4 -2
- package/esm/browser/components/media.js +25 -11
- package/esm/browser/components/mermaid-view.js +45 -3
- package/esm/browser/components/message-actions.js +1 -0
- package/esm/browser/components/message-footer.d.ts +4 -0
- package/esm/browser/components/message-footer.js +8 -1
- package/esm/browser/components/message-list.d.ts +15 -1
- package/esm/browser/components/message-list.js +204 -41
- package/esm/browser/components/phone-shell.d.ts +7 -2
- package/esm/browser/components/phone-shell.js +9 -3
- package/esm/browser/components/relay-services.d.ts +24 -0
- package/esm/browser/components/relay-services.js +249 -0
- package/esm/browser/components/relay-view.js +17 -1
- package/esm/browser/components/remote-hosts.js +1 -1
- package/esm/browser/components/session-view.d.ts +3 -1
- package/esm/browser/components/session-view.js +23 -7
- package/esm/browser/components/settings-controls.js +3 -3
- package/esm/browser/components/settings-parts.js +13 -1
- package/esm/browser/components/stop-times.d.ts +47 -0
- package/esm/browser/components/stop-times.js +81 -0
- package/esm/browser/components/ta-avatar.js +6 -0
- package/esm/browser/components/tool-result.d.ts +13 -0
- package/esm/browser/components/tool-result.js +138 -0
- package/esm/browser/components/tool-view.js +5 -15
- package/esm/browser/components/use-stop-times.d.ts +3 -0
- package/esm/browser/components/use-stop-times.js +17 -0
- package/esm/browser/components/web-composer.js +2 -1
- package/esm/browser/device/photo-picker.d.ts +14 -0
- package/esm/browser/device/photo-picker.js +48 -0
- package/esm/browser/device/row-swipe.d.ts +2 -0
- package/esm/browser/device/row-swipe.js +8 -2
- package/esm/browser/device/sheet-swipe.d.ts +1 -1
- package/esm/browser/device/sheet-swipe.js +17 -3
- package/esm/browser/extension/extension-view.d.ts +3 -1
- package/esm/browser/extension/extension-view.js +7 -0
- package/esm/browser/extension/icons.js +10 -1
- package/esm/browser/extension/web-api-components.d.ts +21 -3
- package/esm/browser/extension/web-api-contributions.d.ts +128 -0
- package/esm/browser/extension/web-extension-api.d.ts +45 -48
- package/esm/browser/extension/web-extension-context.d.ts +6 -1
- package/esm/browser/extension/web-extension-context.js +72 -7
- package/esm/browser/extension/web-extension-protocol.d.ts +18 -2
- package/esm/browser/extension/web-extension-protocol.js +2 -0
- package/esm/browser/extension/web-extension-run.d.ts +3 -2
- package/esm/browser/extension/web-extension-run.js +3 -0
- package/esm/browser/extension/web-extensions.d.ts +2 -8
- package/esm/browser/extension/web-extensions.js +12 -35
- package/esm/browser/extension/web-page-list.d.ts +25 -0
- package/esm/browser/extension/web-page-list.js +35 -0
- package/esm/browser/extension/web-session-notices.d.ts +6 -1
- package/esm/browser/extension/web-session-notices.js +30 -4
- package/esm/browser/extension/web-sharing.d.ts +5 -2
- package/esm/browser/extension/web-sharing.js +10 -1
- package/esm/browser/i18n/locales.d.ts +77 -1
- package/esm/browser/i18n/messages.d.ts +76 -0
- package/esm/browser/i18n/messages.js +154 -2
- package/esm/browser/links/links-protocol.d.ts +2 -0
- package/esm/browser/links/links.d.ts +7 -2
- package/esm/browser/links/links.js +16 -9
- package/esm/browser/markdown/code-renderers.d.ts +4 -0
- package/esm/browser/markdown/code-renderers.js +4 -0
- package/esm/browser/markdown/lazy.d.ts +8 -0
- package/esm/browser/markdown/lazy.js +35 -0
- package/esm/browser/markdown/mermaid.d.ts +15 -3
- package/esm/browser/markdown/mermaid.js +45 -6
- package/esm/browser/notices/notices-protocol.d.ts +5 -0
- package/esm/browser/notices/notices.d.ts +19 -0
- package/esm/browser/notices/notices.js +85 -2
- package/esm/browser/notices/session-notices.d.ts +5 -2
- package/esm/browser/notices/session-notices.js +10 -1
- package/esm/browser/style/base.d.ts +1 -1
- package/esm/browser/style/base.js +2 -1
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +53 -0
- package/esm/browser/style/device.js +3 -0
- package/esm/browser/style/layout.d.ts +1 -1
- package/esm/browser/style/layout.js +27 -9
- package/esm/browser/style/pages.d.ts +1 -1
- package/esm/browser/style/pages.js +5 -0
- package/esm/browser/style/phone.d.ts +1 -1
- package/esm/browser/style/phone.js +2 -0
- package/esm/browser/style/shell.d.ts +1 -1
- package/esm/browser/style/shell.js +16 -3
- package/esm/browser/style/surfaces.d.ts +1 -1
- package/esm/browser/style/surfaces.js +19 -0
- package/esm/browser/util/desktop.d.ts +18 -1
- package/esm/browser/util/desktop.js +13 -0
- package/esm/browser/util/frame.d.ts +2 -0
- package/esm/browser/util/frame.js +2 -0
- package/esm/browser/util/process.d.ts +69 -2
- package/esm/browser/util/process.js +163 -8
- package/esm/browser/util/progress.d.ts +6 -1
- package/esm/browser/util/progress.js +11 -2
- package/esm/browser/util/scroll-rest.d.ts +10 -0
- package/esm/browser/util/scroll-rest.js +44 -0
- package/esm/browser/util/tool-result.d.ts +32 -0
- package/esm/browser/util/tool-result.js +85 -0
- package/esm/browser/util/tool.js +7 -0
- package/lib/browser/assistant/assistant-extension.js +14 -0
- package/lib/browser/assistant/assistant-initiative.d.ts +28 -0
- package/lib/browser/assistant/assistant-initiative.js +80 -0
- package/lib/browser/assistant/assistant-task-source.d.ts +7 -0
- package/lib/browser/assistant/assistant-task-source.js +12 -2
- package/lib/browser/assistant/assistant-view.js +8 -4
- package/lib/browser/assistant/assistant.d.ts +5 -0
- package/lib/browser/assistant/assistant.js +24 -5
- package/lib/browser/chat/chat-view.js +6 -5
- package/lib/browser/components/app-nav.d.ts +3 -1
- package/lib/browser/components/app-nav.js +5 -2
- package/lib/browser/components/app-view.js +25 -12
- package/lib/browser/components/asks-badge.d.ts +6 -0
- package/lib/browser/components/asks-badge.js +44 -0
- package/lib/browser/components/chat-asks.d.ts +47 -0
- package/lib/browser/components/chat-asks.js +104 -0
- package/lib/browser/components/chat-list.d.ts +7 -1
- package/lib/browser/components/chat-list.js +46 -17
- package/lib/browser/components/composer-addon-util.d.ts +12 -0
- package/lib/browser/components/composer-addon-util.js +76 -0
- package/lib/browser/components/composer-addons.d.ts +1 -7
- package/lib/browser/components/composer-addons.js +2 -29
- package/lib/browser/components/composer-box.d.ts +1 -0
- package/lib/browser/components/composer-box.js +48 -26
- package/lib/browser/components/composer.d.ts +10 -1
- package/lib/browser/components/composer.js +61 -21
- package/lib/browser/components/connection-bar.js +30 -11
- package/lib/browser/components/conversation-scroll-hooks.d.ts +17 -0
- package/lib/browser/components/conversation-scroll-hooks.js +135 -0
- package/lib/browser/components/conversation-scroll-util.d.ts +36 -0
- package/lib/browser/components/conversation-scroll-util.js +78 -0
- package/lib/browser/components/conversation-scroll.d.ts +57 -33
- package/lib/browser/components/conversation-scroll.js +189 -158
- package/lib/browser/components/discover-view.js +5 -1
- package/lib/browser/components/earlier-messages.d.ts +10 -3
- package/lib/browser/components/earlier-messages.js +16 -9
- package/lib/browser/components/face.d.ts +25 -0
- package/lib/browser/components/face.js +79 -0
- package/lib/browser/components/folder-picker.d.ts +2 -0
- package/lib/browser/components/folder-picker.js +7 -0
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/markdown.js +3 -1
- package/lib/browser/components/media.js +24 -10
- package/lib/browser/components/mermaid-view.js +45 -3
- package/lib/browser/components/message-actions.js +1 -0
- package/lib/browser/components/message-footer.d.ts +4 -0
- package/lib/browser/components/message-footer.js +8 -0
- package/lib/browser/components/message-list.d.ts +15 -1
- package/lib/browser/components/message-list.js +200 -35
- package/lib/browser/components/phone-shell.d.ts +7 -2
- package/lib/browser/components/phone-shell.js +9 -3
- package/lib/browser/components/relay-services.d.ts +25 -0
- package/lib/browser/components/relay-services.js +286 -0
- package/lib/browser/components/relay-view.js +17 -1
- package/lib/browser/components/remote-hosts.js +1 -1
- package/lib/browser/components/session-view.d.ts +3 -1
- package/lib/browser/components/session-view.js +23 -7
- package/lib/browser/components/settings-controls.js +3 -3
- package/lib/browser/components/settings-parts.js +13 -1
- package/lib/browser/components/stop-times.d.ts +48 -0
- package/lib/browser/components/stop-times.js +85 -0
- package/lib/browser/components/ta-avatar.js +6 -0
- package/lib/browser/components/tool-result.d.ts +14 -0
- package/lib/browser/components/tool-result.js +175 -0
- package/lib/browser/components/tool-view.js +10 -20
- package/lib/browser/components/use-stop-times.d.ts +4 -0
- package/lib/browser/components/use-stop-times.js +53 -0
- package/lib/browser/components/web-composer.js +2 -1
- package/lib/browser/device/photo-picker.d.ts +15 -0
- package/lib/browser/device/photo-picker.js +51 -0
- package/lib/browser/device/row-swipe.d.ts +2 -0
- package/lib/browser/device/row-swipe.js +8 -2
- package/lib/browser/device/sheet-swipe.d.ts +1 -1
- package/lib/browser/device/sheet-swipe.js +17 -3
- package/lib/browser/extension/extension-view.d.ts +3 -1
- package/lib/browser/extension/extension-view.js +8 -1
- package/lib/browser/extension/icons.js +9 -0
- package/lib/browser/extension/web-api-components.d.ts +21 -3
- package/lib/browser/extension/web-api-contributions.d.ts +128 -0
- package/lib/browser/extension/web-extension-api.d.ts +45 -48
- package/lib/browser/extension/web-extension-context.d.ts +6 -1
- package/lib/browser/extension/web-extension-context.js +73 -8
- package/lib/browser/extension/web-extension-protocol.d.ts +18 -2
- package/lib/browser/extension/web-extension-protocol.js +2 -0
- package/lib/browser/extension/web-extension-run.d.ts +3 -2
- package/lib/browser/extension/web-extension-run.js +3 -0
- package/lib/browser/extension/web-extensions.d.ts +2 -8
- package/lib/browser/extension/web-extensions.js +12 -35
- package/lib/browser/extension/web-page-list.d.ts +26 -0
- package/lib/browser/extension/web-page-list.js +39 -0
- package/lib/browser/extension/web-session-notices.d.ts +6 -1
- package/lib/browser/extension/web-session-notices.js +30 -4
- package/lib/browser/extension/web-sharing.d.ts +5 -2
- package/lib/browser/extension/web-sharing.js +10 -1
- package/lib/browser/i18n/locales.d.ts +77 -1
- package/lib/browser/i18n/messages.d.ts +76 -0
- package/lib/browser/i18n/messages.js +154 -2
- package/lib/browser/links/links-protocol.d.ts +2 -0
- package/lib/browser/links/links.d.ts +7 -2
- package/lib/browser/links/links.js +16 -9
- package/lib/browser/markdown/code-renderers.d.ts +4 -0
- package/lib/browser/markdown/code-renderers.js +5 -1
- package/lib/browser/markdown/lazy.d.ts +8 -0
- package/lib/browser/markdown/lazy.js +37 -1
- package/lib/browser/markdown/mermaid.d.ts +15 -3
- package/lib/browser/markdown/mermaid.js +44 -5
- package/lib/browser/notices/notices-protocol.d.ts +5 -0
- package/lib/browser/notices/notices.d.ts +19 -0
- package/lib/browser/notices/notices.js +84 -1
- package/lib/browser/notices/session-notices.d.ts +5 -2
- package/lib/browser/notices/session-notices.js +10 -1
- package/lib/browser/style/base.d.ts +1 -1
- package/lib/browser/style/base.js +2 -1
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +53 -0
- package/lib/browser/style/device.js +3 -0
- package/lib/browser/style/layout.d.ts +1 -1
- package/lib/browser/style/layout.js +27 -9
- package/lib/browser/style/pages.d.ts +1 -1
- package/lib/browser/style/pages.js +5 -0
- package/lib/browser/style/phone.d.ts +1 -1
- package/lib/browser/style/phone.js +2 -0
- package/lib/browser/style/shell.d.ts +1 -1
- package/lib/browser/style/shell.js +16 -3
- package/lib/browser/style/surfaces.d.ts +1 -1
- package/lib/browser/style/surfaces.js +19 -0
- package/lib/browser/util/desktop.d.ts +18 -1
- package/lib/browser/util/desktop.js +13 -0
- package/lib/browser/util/frame.d.ts +2 -0
- package/lib/browser/util/frame.js +2 -0
- package/lib/browser/util/process.d.ts +69 -2
- package/lib/browser/util/process.js +165 -9
- package/lib/browser/util/progress.d.ts +6 -1
- package/lib/browser/util/progress.js +11 -2
- package/lib/browser/util/scroll-rest.d.ts +11 -0
- package/lib/browser/util/scroll-rest.js +47 -0
- package/lib/browser/util/tool-result.d.ts +33 -0
- package/lib/browser/util/tool-result.js +88 -0
- package/lib/browser/util/tool.js +7 -0
- package/package.json +7 -7
|
@@ -67,6 +67,8 @@ export declare const EN_MESSAGES: {
|
|
|
67
67
|
'ta.connection.retry': string;
|
|
68
68
|
'ta.connection.away': string;
|
|
69
69
|
'ta.connection.back': string;
|
|
70
|
+
'ta.connection.outdated': string;
|
|
71
|
+
'ta.connection.reload': string;
|
|
70
72
|
'ta.connection.awayBrief': string;
|
|
71
73
|
'ta.connection.unreachableBrief': string;
|
|
72
74
|
'ta.connection.notDone': string;
|
|
@@ -78,6 +80,12 @@ export declare const EN_MESSAGES: {
|
|
|
78
80
|
'ta.error.nothingToCompact': string;
|
|
79
81
|
'ta.error.alreadyCompacted': string;
|
|
80
82
|
'ta.error.sessionBusy': string;
|
|
83
|
+
'ta.error.forbidden': string;
|
|
84
|
+
'ta.error.forbiddenHint': string;
|
|
85
|
+
'ta.error.forbiddenAsk': string;
|
|
86
|
+
'ta.assistant.forbidden': string;
|
|
87
|
+
'ta.error.limit': string;
|
|
88
|
+
'ta.error.forbiddenNever': string;
|
|
81
89
|
'ta.notices': string;
|
|
82
90
|
'ta.notice.picture': string;
|
|
83
91
|
'ta.packages.removeDetail': string;
|
|
@@ -158,6 +166,11 @@ export declare const EN_MESSAGES: {
|
|
|
158
166
|
'ta.chat.unpin': string;
|
|
159
167
|
'ta.chat.pinned': string;
|
|
160
168
|
'ta.chat.unseen': string;
|
|
169
|
+
'ta.chat.asking': string;
|
|
170
|
+
'ta.chat.asks': string;
|
|
171
|
+
'ta.chat.asksCount': string;
|
|
172
|
+
'ta.chat.letGo': string;
|
|
173
|
+
'ta.chat.toAsk': string;
|
|
161
174
|
'ta.chat.removed': string;
|
|
162
175
|
'ta.chat.olderCount': string;
|
|
163
176
|
'ta.chat.archived': string;
|
|
@@ -179,13 +192,24 @@ export declare const EN_MESSAGES: {
|
|
|
179
192
|
'ta.composer.steerPlaceholder': string;
|
|
180
193
|
'ta.composer.steerPlaceholderTouch': string;
|
|
181
194
|
'ta.composer.stopTitle': string;
|
|
195
|
+
'ta.composer.stopping': string;
|
|
182
196
|
'ta.message.images': string;
|
|
183
197
|
'ta.message.stopped': string;
|
|
198
|
+
'ta.message.interrupted': string;
|
|
199
|
+
'ta.message.silent': string;
|
|
200
|
+
'ta.message.failedUnknown': string;
|
|
201
|
+
'ta.message.resume': string;
|
|
202
|
+
'ta.message.resumeText': string;
|
|
184
203
|
'ta.message.thinking': string;
|
|
185
204
|
'ta.message.skill': string;
|
|
186
205
|
'ta.message.showMore': string;
|
|
187
206
|
'ta.message.showLess': string;
|
|
188
207
|
'ta.message.compacted': string;
|
|
208
|
+
'ta.message.compactedFrom': string;
|
|
209
|
+
'ta.message.steered': string;
|
|
210
|
+
'ta.message.steeredTitle': string;
|
|
211
|
+
'ta.message.queued': string;
|
|
212
|
+
'ta.message.queuedTitle': string;
|
|
189
213
|
'ta.message.branch': string;
|
|
190
214
|
'ta.message.forkBefore': string;
|
|
191
215
|
'ta.message.forkAt': string;
|
|
@@ -204,10 +228,16 @@ export declare const EN_MESSAGES: {
|
|
|
204
228
|
'ta.message.debugCopied': string;
|
|
205
229
|
'ta.message.used': string;
|
|
206
230
|
'ta.message.modelSwitched': string;
|
|
231
|
+
'ta.message.resumed': string;
|
|
207
232
|
'ta.message.usageTitle': string;
|
|
208
233
|
'ta.tool.earlier': string;
|
|
209
234
|
'ta.tool.hideScript': string;
|
|
210
235
|
'ta.tool.showScript': string;
|
|
236
|
+
'ta.tool.printed': string;
|
|
237
|
+
'ta.tool.failedCalls': string;
|
|
238
|
+
'ta.tool.exitCode': string;
|
|
239
|
+
'ta.tool.noOutput': string;
|
|
240
|
+
'ta.tool.moreEntries': string;
|
|
211
241
|
'ta.tool.verb.bash': string;
|
|
212
242
|
'ta.tool.verb.read': string;
|
|
213
243
|
'ta.tool.verb.edit': string;
|
|
@@ -226,6 +256,13 @@ export declare const EN_MESSAGES: {
|
|
|
226
256
|
'ta.tool.verb.webSearch': string;
|
|
227
257
|
'ta.tool.verb.todo': string;
|
|
228
258
|
'ta.tool.verb.skill': string;
|
|
259
|
+
'ta.tool.verb.sendMessage': string;
|
|
260
|
+
'ta.tool.verb.deleteTeam': string;
|
|
261
|
+
'ta.tool.verb.scheduleTask': string;
|
|
262
|
+
'ta.tool.verb.listScheduled': string;
|
|
263
|
+
'ta.tool.verb.deleteScheduled': string;
|
|
264
|
+
'ta.tool.verb.publish': string;
|
|
265
|
+
'ta.tool.verb.editImage': string;
|
|
229
266
|
'ta.assistant.me': string;
|
|
230
267
|
'ta.assistant.hello': string;
|
|
231
268
|
'ta.assistant.showTasks': string;
|
|
@@ -392,6 +429,40 @@ export declare const EN_MESSAGES: {
|
|
|
392
429
|
'ta.remote.addHint': string;
|
|
393
430
|
'ta.remote.connected': string;
|
|
394
431
|
'ta.remote.failed': string;
|
|
432
|
+
'ta.relays.title': string;
|
|
433
|
+
'ta.relays.feature.devices': string;
|
|
434
|
+
'ta.relays.feature.devicesHint': string;
|
|
435
|
+
'ta.relays.feature.share': string;
|
|
436
|
+
'ta.relays.feature.shareHint': string;
|
|
437
|
+
'ta.relays.feature.rooms': string;
|
|
438
|
+
'ta.relays.feature.roomsHint': string;
|
|
439
|
+
'ta.relays.feature.sync': string;
|
|
440
|
+
'ta.relays.feature.syncHint': string;
|
|
441
|
+
'ta.relays.official': string;
|
|
442
|
+
'ta.relays.online': string;
|
|
443
|
+
'ta.relays.onlineNoTime': string;
|
|
444
|
+
'ta.relays.offline': string;
|
|
445
|
+
'ta.relays.memory': string;
|
|
446
|
+
'ta.relays.limits': string;
|
|
447
|
+
'ta.relays.remove': string;
|
|
448
|
+
'ta.relays.add': string;
|
|
449
|
+
'ta.relays.addHint': string;
|
|
450
|
+
'ta.relays.addButton': string;
|
|
451
|
+
'ta.relays.addPlaceholder': string;
|
|
452
|
+
'ta.relays.folderOnly': string;
|
|
453
|
+
'ta.relays.drive': string;
|
|
454
|
+
'ta.relays.driveHint': string;
|
|
455
|
+
'ta.relays.driveUse': string;
|
|
456
|
+
'ta.relays.file': string;
|
|
457
|
+
'ta.relays.broken': string;
|
|
458
|
+
'ta.relays.storeType': string;
|
|
459
|
+
'ta.relays.storeOpen': string;
|
|
460
|
+
'ta.relays.storeName': string;
|
|
461
|
+
'ta.relays.optional': string;
|
|
462
|
+
'ta.relays.storeNote': string;
|
|
463
|
+
'ta.relays.storeAdd': string;
|
|
464
|
+
'ta.relays.storeOnly': string;
|
|
465
|
+
'ta.relays.unavailable': string;
|
|
395
466
|
'ta.remote.title': string;
|
|
396
467
|
'ta.remote.description': string;
|
|
397
468
|
'ta.remote.none': string;
|
|
@@ -485,6 +556,7 @@ export declare const EN_MESSAGES: {
|
|
|
485
556
|
'ta.process.thinking': string;
|
|
486
557
|
'ta.process.thought': string;
|
|
487
558
|
'ta.process.failed': string;
|
|
559
|
+
'ta.process.requestFailed': string;
|
|
488
560
|
'ta.process.earlier': string;
|
|
489
561
|
'ta.process.showAll': string;
|
|
490
562
|
'ta.session.phase.thinking': string;
|
|
@@ -517,6 +589,8 @@ export declare const EN_MESSAGES: {
|
|
|
517
589
|
'ta.composer.keyboard': string;
|
|
518
590
|
'ta.composer.steerTitle': string;
|
|
519
591
|
'ta.composer.addImage': string;
|
|
592
|
+
'ta.composer.album': string;
|
|
593
|
+
'ta.composer.camera': string;
|
|
520
594
|
'ta.composer.more': string;
|
|
521
595
|
'ta.composer.page': string;
|
|
522
596
|
'ta.composer.mentionFile': string;
|
|
@@ -778,6 +852,8 @@ export declare const EN_MESSAGES: {
|
|
|
778
852
|
'ta.relay.offline': string;
|
|
779
853
|
'ta.relay.unpair': string;
|
|
780
854
|
'ta.relay.unpairConfirm': string;
|
|
855
|
+
'ta.relay.keepAwake': string;
|
|
856
|
+
'ta.relay.keepAwakeHint': string;
|
|
781
857
|
'ta.manage.relay': string;
|
|
782
858
|
'ta.settings.relay': string;
|
|
783
859
|
'ta.settings.relayDescription': string;
|
|
@@ -73,6 +73,8 @@ exports.EN_MESSAGES = {
|
|
|
73
73
|
'ta.connection.retry': 'Retry',
|
|
74
74
|
'ta.connection.away': "Can't reach Ta on your computer. Make sure the computer is on and online, with Ta running; this reconnects by itself.",
|
|
75
75
|
'ta.connection.back': 'Connected again',
|
|
76
|
+
'ta.connection.outdated': 'Ta was updated. Reload to show everything',
|
|
77
|
+
'ta.connection.reload': 'Reload',
|
|
76
78
|
'ta.connection.awayBrief': "Can't reach Ta on your computer",
|
|
77
79
|
'ta.connection.unreachableBrief': 'The Ta service is not running',
|
|
78
80
|
'ta.connection.notDone': 'Not done: the connection dropped for a moment. Try again',
|
|
@@ -84,6 +86,12 @@ exports.EN_MESSAGES = {
|
|
|
84
86
|
'ta.error.nothingToCompact': 'The conversation is still short: nothing to compact yet',
|
|
85
87
|
'ta.error.alreadyCompacted': 'Nothing new since the last compaction: nothing to compact yet',
|
|
86
88
|
'ta.error.sessionBusy': 'Ta is still answering or compacting; try again once it is done',
|
|
89
|
+
'ta.error.forbidden': 'You may not {action} here yet',
|
|
90
|
+
'ta.error.forbiddenHint': 'The owner of this Ta or an admin can let you',
|
|
91
|
+
'ta.error.forbiddenAsk': 'Ask',
|
|
92
|
+
'ta.assistant.forbidden': 'In this Ta you use what was shared with you: find it under the double, or in Discover → Members',
|
|
93
|
+
'ta.error.limit': 'Too many people are working in this Ta at once; try again in a moment',
|
|
94
|
+
'ta.error.forbiddenNever': 'This is kept out of reach of everyone let in',
|
|
87
95
|
'ta.notices': 'Notifications',
|
|
88
96
|
'ta.notice.picture': 'Picture of the extension, such as a QR code to scan',
|
|
89
97
|
'ta.packages.removeDetail': 'Its pages, cards and commands go with it.',
|
|
@@ -166,6 +174,11 @@ exports.EN_MESSAGES = {
|
|
|
166
174
|
'ta.chat.unpin': 'Unpin',
|
|
167
175
|
'ta.chat.pinned': 'Pinned',
|
|
168
176
|
'ta.chat.unseen': 'New, not seen yet',
|
|
177
|
+
'ta.chat.asking': 'Your call',
|
|
178
|
+
'ta.chat.asks': 'Waiting for you',
|
|
179
|
+
'ta.chat.asksCount': '{count} waiting for you to decide',
|
|
180
|
+
'ta.chat.letGo': 'Skip this decision',
|
|
181
|
+
'ta.chat.toAsk': 'Waiting for you: {question}',
|
|
169
182
|
'ta.chat.removed': 'Removed ({count})',
|
|
170
183
|
'ta.chat.olderCount': 'Over {days} days ({count})',
|
|
171
184
|
'ta.chat.archived': 'Archived',
|
|
@@ -187,13 +200,24 @@ exports.EN_MESSAGES = {
|
|
|
187
200
|
'ta.composer.steerPlaceholder': 'Add to it or steer Ta; Alt+Enter queues a follow-up',
|
|
188
201
|
'ta.composer.steerPlaceholderTouch': 'Add to it or steer Ta',
|
|
189
202
|
'ta.composer.stopTitle': 'Stop (Esc)',
|
|
203
|
+
'ta.composer.stopping': 'Stopping…',
|
|
190
204
|
'ta.message.images': '{count, plural, one {# image} other {# images}}',
|
|
191
205
|
'ta.message.stopped': 'Stopped.',
|
|
206
|
+
'ta.message.interrupted': 'Cut off before it was done: the service stopped, or the agent ended its turn with work not finished.',
|
|
207
|
+
'ta.message.silent': 'Ended without a reply: the agent may have lost the connection to its model.',
|
|
208
|
+
'ta.message.failedUnknown': 'The request failed, without saying why.',
|
|
209
|
+
'ta.message.resume': 'Continue',
|
|
210
|
+
'ta.message.resumeText': 'Continue',
|
|
192
211
|
'ta.message.thinking': 'Thinking',
|
|
193
212
|
'ta.message.skill': 'Skill',
|
|
194
213
|
'ta.message.showMore': 'Show more',
|
|
195
214
|
'ta.message.showLess': 'Show less',
|
|
196
215
|
'ta.message.compacted': 'Earlier messages were compacted',
|
|
216
|
+
'ta.message.compactedFrom': 'from {tokens} tokens',
|
|
217
|
+
'ta.message.steered': 'Said on the way',
|
|
218
|
+
'ta.message.steeredTitle': 'Written while it worked: it read this after its tools and went on with it',
|
|
219
|
+
'ta.message.queued': 'Waited for the reply',
|
|
220
|
+
'ta.message.queuedTitle': 'Written while it worked: sent once it had answered',
|
|
197
221
|
'ta.message.branch': 'Summary of the other branch',
|
|
198
222
|
'ta.message.forkBefore': 'New conversation from here, beside',
|
|
199
223
|
'ta.message.forkAt': 'New conversation from this reply, beside',
|
|
@@ -212,10 +236,16 @@ exports.EN_MESSAGES = {
|
|
|
212
236
|
'ta.message.debugCopied': 'Debug info copied',
|
|
213
237
|
'ta.message.used': 'Used',
|
|
214
238
|
'ta.message.modelSwitched': 'Switched to {model}',
|
|
239
|
+
'ta.message.resumed': 'Carried on after Ta restarted',
|
|
215
240
|
'ta.message.usageTitle': '{input} tokens sent, {output} received',
|
|
216
241
|
'ta.tool.earlier': '{count, plural, one {# earlier line} other {# earlier lines}}',
|
|
217
242
|
'ta.tool.hideScript': 'Hide script',
|
|
218
243
|
'ta.tool.showScript': 'Show the script',
|
|
244
|
+
'ta.tool.printed': 'Printed',
|
|
245
|
+
'ta.tool.failedCalls': '{count, plural, one {# call failed} other {# calls failed}}',
|
|
246
|
+
'ta.tool.exitCode': 'Exit code {code}',
|
|
247
|
+
'ta.tool.noOutput': 'Nothing returned',
|
|
248
|
+
'ta.tool.moreEntries': '{count} more',
|
|
219
249
|
'ta.tool.verb.bash': 'Run',
|
|
220
250
|
'ta.tool.verb.read': 'Read',
|
|
221
251
|
'ta.tool.verb.edit': 'Edit',
|
|
@@ -234,6 +264,13 @@ exports.EN_MESSAGES = {
|
|
|
234
264
|
'ta.tool.verb.webSearch': 'Search the web',
|
|
235
265
|
'ta.tool.verb.todo': 'Update todos',
|
|
236
266
|
'ta.tool.verb.skill': 'Use skill',
|
|
267
|
+
'ta.tool.verb.sendMessage': 'Send message',
|
|
268
|
+
'ta.tool.verb.deleteTeam': 'Disband team',
|
|
269
|
+
'ta.tool.verb.scheduleTask': 'Schedule',
|
|
270
|
+
'ta.tool.verb.listScheduled': 'List scheduled tasks',
|
|
271
|
+
'ta.tool.verb.deleteScheduled': 'Cancel scheduled task',
|
|
272
|
+
'ta.tool.verb.publish': 'Publish',
|
|
273
|
+
'ta.tool.verb.editImage': 'Edit image',
|
|
237
274
|
'ta.assistant.me': 'My double',
|
|
238
275
|
'ta.assistant.hello': 'Hi, I am Ta',
|
|
239
276
|
'ta.assistant.showTasks': 'Show the tasks',
|
|
@@ -337,7 +374,7 @@ exports.EN_MESSAGES = {
|
|
|
337
374
|
'ta.settings.taskModel': 'Model of its tasks',
|
|
338
375
|
'ta.settings.taskModelHint': 'What does the work the double hands out; an external agent fits here',
|
|
339
376
|
'ta.settings.confirmTasks': 'Ask before starting tasks',
|
|
340
|
-
'ta.settings.confirmTasksHint': 'The double says what it would hand out, tasks or a team of agents, and waits for your go',
|
|
377
|
+
'ta.settings.confirmTasksHint': 'The double says what it would hand out, tasks or a team of agents, and waits for your go. With Initiative on, it starts by itself once you said yes 3 times in a row (Settings → Initiative)',
|
|
341
378
|
'ta.settings.maxTasks': 'Tasks at once',
|
|
342
379
|
'ta.settings.maxTasksHint': 'Beyond it, the double waits for one to end',
|
|
343
380
|
'ta.settings.maxTasksAny': 'Any',
|
|
@@ -400,6 +437,40 @@ exports.EN_MESSAGES = {
|
|
|
400
437
|
'ta.remote.addHint': 'A Host of ~/.ssh/config, user@host:port, or an ssh command',
|
|
401
438
|
'ta.remote.connected': 'Connected',
|
|
402
439
|
'ta.remote.failed': 'Cannot connect to {host}',
|
|
440
|
+
'ta.relays.title': 'Relays',
|
|
441
|
+
'ta.relays.feature.devices': 'Phones and other devices',
|
|
442
|
+
'ta.relays.feature.devicesHint': 'What new devices reach this computer through. Paired ones stay on theirs.',
|
|
443
|
+
'ta.relays.feature.share': 'Links you share',
|
|
444
|
+
'ta.relays.feature.shareHint': 'Extensions and conversations shared by a link, their copies for while this computer is off, and the pages they open in.',
|
|
445
|
+
'ta.relays.feature.rooms': 'Rooms and playing together',
|
|
446
|
+
'ta.relays.feature.roomsHint': 'Where new rooms are made. A room stays on its relay; one you join is on the relay of its link.',
|
|
447
|
+
'ta.relays.feature.sync': 'Sync',
|
|
448
|
+
'ta.relays.feature.syncHint': 'Where your computers sync when it is turned on: a room of a relay; or with no relay at all, a folder of a cloud drive or storage of your own (WebDAV, S3, a git repository).',
|
|
449
|
+
'ta.relays.official': 'Official relay',
|
|
450
|
+
'ta.relays.online': 'answers in {ms} ms',
|
|
451
|
+
'ta.relays.onlineNoTime': 'answers',
|
|
452
|
+
'ta.relays.offline': 'does not answer',
|
|
453
|
+
'ta.relays.memory': 'keeps rooms in memory only',
|
|
454
|
+
'ta.relays.limits': 'rooms of {members}, {state} MB',
|
|
455
|
+
'ta.relays.remove': 'Remove {name}',
|
|
456
|
+
'ta.relays.add': 'Add a relay',
|
|
457
|
+
'ta.relays.addHint': 'A relay of your own (on your Cloudflare, or ta relay --data <dir> behind HTTPS), which reads none of what goes through it but serves the pages of links; or a folder a cloud drive keeps the same on your computers, for sync.',
|
|
458
|
+
'ta.relays.addButton': 'Add',
|
|
459
|
+
'ta.relays.addPlaceholder': 'https://relay.example.com, or a folder ~/…',
|
|
460
|
+
'ta.relays.folderOnly': 'a folder, for sync only',
|
|
461
|
+
'ta.relays.drive': 'Sync in {name}',
|
|
462
|
+
'ta.relays.driveHint': 'Sync through the folder {path}, which the drive keeps the same on your computers: no relay at all.',
|
|
463
|
+
'ta.relays.driveUse': 'Use',
|
|
464
|
+
'ta.relays.file': 'relays.json',
|
|
465
|
+
'ta.relays.broken': 'relays.json does not parse',
|
|
466
|
+
'ta.relays.storeType': 'Sync in {name}',
|
|
467
|
+
'ta.relays.storeOpen': 'Set up',
|
|
468
|
+
'ta.relays.storeName': 'Name',
|
|
469
|
+
'ta.relays.optional': 'optional',
|
|
470
|
+
'ta.relays.storeNote': 'Ta tries it first, writing and removing a small file. What sync puts there is sealed on this computer; the password stays in relays.json here.',
|
|
471
|
+
'ta.relays.storeAdd': 'Add and sync there',
|
|
472
|
+
'ta.relays.storeOnly': 'for sync only',
|
|
473
|
+
'ta.relays.unavailable': 'its extension is off',
|
|
403
474
|
'ta.remote.title': 'Remote hosts',
|
|
404
475
|
'ta.remote.description': 'Conversations can work in directories of these machines. Ta connects with the ssh of this computer and its ~/.ssh/config.',
|
|
405
476
|
'ta.remote.none': 'No hosts yet',
|
|
@@ -494,6 +565,7 @@ exports.EN_MESSAGES = {
|
|
|
494
565
|
'ta.process.thinking': 'Thinking',
|
|
495
566
|
'ta.process.thought': 'Thought',
|
|
496
567
|
'ta.process.failed': '{count} failed',
|
|
568
|
+
'ta.process.requestFailed': 'Request failed',
|
|
497
569
|
'ta.process.earlier': '{count, plural, one {# earlier step} other {# earlier steps}}',
|
|
498
570
|
'ta.process.showAll': 'Show all',
|
|
499
571
|
'ta.session.phase.thinking': 'Thinking',
|
|
@@ -526,6 +598,8 @@ exports.EN_MESSAGES = {
|
|
|
526
598
|
'ta.composer.keyboard': 'Type instead',
|
|
527
599
|
'ta.composer.steerTitle': 'Steer Ta (Enter); Alt+Enter queues a follow-up',
|
|
528
600
|
'ta.composer.addImage': 'Add images',
|
|
601
|
+
'ta.composer.album': 'Album',
|
|
602
|
+
'ta.composer.camera': 'Camera',
|
|
529
603
|
'ta.composer.more': 'Add and settings',
|
|
530
604
|
'ta.composer.page': 'Page {page}',
|
|
531
605
|
'ta.composer.mentionFile': 'Mention a file',
|
|
@@ -789,6 +863,8 @@ exports.EN_MESSAGES = {
|
|
|
789
863
|
'ta.relay.offline': 'Not connected · {relay}',
|
|
790
864
|
'ta.relay.unpair': 'Unpair',
|
|
791
865
|
'ta.relay.unpairConfirm': 'Unpair {name}? It can no longer reach this Ta.',
|
|
866
|
+
'ta.relay.keepAwake': 'Keep this computer awake',
|
|
867
|
+
'ta.relay.keepAwakeHint': 'While a task runs, or for 30 minutes after a device was connected, the computer does not sleep when idle, so your phone can reach it. The display still turns off; closing the lid still puts it to sleep.',
|
|
792
868
|
'ta.manage.relay': 'Use on your phone…',
|
|
793
869
|
'ta.settings.relay': 'Phone',
|
|
794
870
|
'ta.settings.relayDescription': 'Devices that reach this Ta through a relay',
|
|
@@ -896,6 +972,8 @@ exports.ZH_MESSAGES = {
|
|
|
896
972
|
'ta.connection.retry': '重试',
|
|
897
973
|
'ta.connection.away': '连不上电脑上的 Ta。请确认电脑开着、联网,并且 Ta 在运行;连上后会自动恢复。',
|
|
898
974
|
'ta.connection.back': '已重新连接',
|
|
975
|
+
'ta.connection.outdated': 'Ta 已更新,刷新后才能完整显示',
|
|
976
|
+
'ta.connection.reload': '刷新',
|
|
899
977
|
'ta.connection.awayBrief': '连不上电脑上的 Ta',
|
|
900
978
|
'ta.connection.unreachableBrief': 'Ta 服务没有在运行',
|
|
901
979
|
'ta.connection.notDone': '没有完成:连接断了一下,再试一次',
|
|
@@ -907,6 +985,12 @@ exports.ZH_MESSAGES = {
|
|
|
907
985
|
'ta.error.nothingToCompact': '对话内容还很少,暂时不需要压缩',
|
|
908
986
|
'ta.error.alreadyCompacted': '上次压缩后还没有新内容,暂时不需要压缩',
|
|
909
987
|
'ta.error.sessionBusy': 'Ta 正在回复或压缩,请等它结束后再试',
|
|
988
|
+
'ta.error.forbidden': '你在这里还不能「{action}」',
|
|
989
|
+
'ta.error.forbiddenHint': '这台 Ta 的所有者或管理员可以给你这个权限',
|
|
990
|
+
'ta.error.forbiddenAsk': '申请',
|
|
991
|
+
'ta.assistant.forbidden': '在这台 Ta 里你只能使用分享给你的内容:在分身下方的列表或「发现 → 成员与权限」里找到它',
|
|
992
|
+
'ta.error.limit': '这台 Ta 同时在跑的协作任务已满,请稍后再试',
|
|
993
|
+
'ta.error.forbiddenNever': '这里对所有协作者都不开放',
|
|
910
994
|
'ta.notices': '通知',
|
|
911
995
|
'ta.notice.picture': '扩展给出的图像,如要扫描的二维码',
|
|
912
996
|
'ta.packages.removeDetail': '它的页面、卡片和命令也会一起移除。',
|
|
@@ -987,6 +1071,11 @@ exports.ZH_MESSAGES = {
|
|
|
987
1071
|
'ta.chat.unpin': '取消置顶',
|
|
988
1072
|
'ta.chat.pinned': '置顶',
|
|
989
1073
|
'ta.chat.unseen': '有新回复未查看',
|
|
1074
|
+
'ta.chat.asking': '等你决定',
|
|
1075
|
+
'ta.chat.asks': '待你决定',
|
|
1076
|
+
'ta.chat.asksCount': '{count} 个待你决定',
|
|
1077
|
+
'ta.chat.letGo': '不用决定了',
|
|
1078
|
+
'ta.chat.toAsk': '等你决定:{question}',
|
|
990
1079
|
'ta.chat.removed': '已移除({count})',
|
|
991
1080
|
'ta.chat.olderCount': '{days} 天前({count})',
|
|
992
1081
|
'ta.chat.archived': '已归档',
|
|
@@ -1008,13 +1097,24 @@ exports.ZH_MESSAGES = {
|
|
|
1008
1097
|
'ta.composer.steerPlaceholder': '继续补充或引导 Ta;Alt+Enter 排队追加',
|
|
1009
1098
|
'ta.composer.steerPlaceholderTouch': '继续补充或引导 Ta',
|
|
1010
1099
|
'ta.composer.stopTitle': '停止(Esc)',
|
|
1100
|
+
'ta.composer.stopping': '正在停止…',
|
|
1011
1101
|
'ta.message.images': '{count} 张图片',
|
|
1012
1102
|
'ta.message.stopped': '已停止。',
|
|
1103
|
+
'ta.message.interrupted': '这一轮中途断了:Ta 服务停止,或智能体没做完就结束了这一轮。',
|
|
1104
|
+
'ta.message.silent': '这一轮没有回复就结束了:智能体可能和模型断了连接。',
|
|
1105
|
+
'ta.message.failedUnknown': '请求失败,没有给出原因。',
|
|
1106
|
+
'ta.message.resume': '继续',
|
|
1107
|
+
'ta.message.resumeText': '继续',
|
|
1013
1108
|
'ta.message.thinking': '思考',
|
|
1014
1109
|
'ta.message.skill': '技能',
|
|
1015
1110
|
'ta.message.showMore': '展开',
|
|
1016
1111
|
'ta.message.showLess': '收起',
|
|
1017
1112
|
'ta.message.compacted': '较早的消息已压缩',
|
|
1113
|
+
'ta.message.compactedFrom': '压缩前 {tokens} tokens',
|
|
1114
|
+
'ta.message.steered': '插话',
|
|
1115
|
+
'ta.message.steeredTitle': '在它工作时发的:它跑完手头的工具后读到,接着按这句继续',
|
|
1116
|
+
'ta.message.queued': '排队',
|
|
1117
|
+
'ta.message.queuedTitle': '在它工作时发的:等它回复完才发出',
|
|
1018
1118
|
'ta.message.branch': '另一分支的摘要',
|
|
1019
1119
|
'ta.message.forkBefore': '从这里在侧边新开对话',
|
|
1020
1120
|
'ta.message.forkAt': '从这条回复在侧边新开对话',
|
|
@@ -1033,10 +1133,16 @@ exports.ZH_MESSAGES = {
|
|
|
1033
1133
|
'ta.message.debugCopied': '已复制调试信息',
|
|
1034
1134
|
'ta.message.used': '共消耗',
|
|
1035
1135
|
'ta.message.modelSwitched': '已切换到 {model}',
|
|
1136
|
+
'ta.message.resumed': 'Ta 重启后接着做',
|
|
1036
1137
|
'ta.message.usageTitle': '发送 {input} token,接收 {output} token',
|
|
1037
1138
|
'ta.tool.earlier': '前面还有 {count} 行',
|
|
1038
1139
|
'ta.tool.hideScript': '收起脚本',
|
|
1039
1140
|
'ta.tool.showScript': '查看脚本',
|
|
1141
|
+
'ta.tool.printed': '打印',
|
|
1142
|
+
'ta.tool.failedCalls': '{count} 次调用失败',
|
|
1143
|
+
'ta.tool.exitCode': '退出码 {code}',
|
|
1144
|
+
'ta.tool.noOutput': '没有返回内容',
|
|
1145
|
+
'ta.tool.moreEntries': '还有 {count} 项',
|
|
1040
1146
|
'ta.tool.verb.bash': '运行',
|
|
1041
1147
|
'ta.tool.verb.read': '读取',
|
|
1042
1148
|
'ta.tool.verb.edit': '编辑',
|
|
@@ -1055,6 +1161,13 @@ exports.ZH_MESSAGES = {
|
|
|
1055
1161
|
'ta.tool.verb.webSearch': '搜索网页',
|
|
1056
1162
|
'ta.tool.verb.todo': '更新待办',
|
|
1057
1163
|
'ta.tool.verb.skill': '使用技能',
|
|
1164
|
+
'ta.tool.verb.sendMessage': '发送消息',
|
|
1165
|
+
'ta.tool.verb.deleteTeam': '解散团队',
|
|
1166
|
+
'ta.tool.verb.scheduleTask': '创建定时任务',
|
|
1167
|
+
'ta.tool.verb.listScheduled': '查看定时任务',
|
|
1168
|
+
'ta.tool.verb.deleteScheduled': '取消定时任务',
|
|
1169
|
+
'ta.tool.verb.publish': '发布',
|
|
1170
|
+
'ta.tool.verb.editImage': '编辑图片',
|
|
1058
1171
|
'ta.assistant.me': '我的分身',
|
|
1059
1172
|
'ta.assistant.hello': '你好,我是 Ta',
|
|
1060
1173
|
'ta.assistant.showTasks': '查看任务',
|
|
@@ -1158,7 +1271,7 @@ exports.ZH_MESSAGES = {
|
|
|
1158
1271
|
'ta.settings.taskModel': '任务的模型',
|
|
1159
1272
|
'ta.settings.taskModelHint': '分身交出的任务由它来做,外部 Agent 适合放在这里',
|
|
1160
1273
|
'ta.settings.confirmTasks': '开始任务前先问我',
|
|
1161
|
-
'ta.settings.confirmTasksHint': '
|
|
1274
|
+
'ta.settings.confirmTasksHint': '分身先说明要交出的任务或要组建的团队,等你同意再开始。开着“主动”时,你连续同意 3 次后它会直接开始(设置 → 主动)',
|
|
1162
1275
|
'ta.settings.maxTasks': '同时进行的任务',
|
|
1163
1276
|
'ta.settings.maxTasksHint': '超过时,分身会等前面的结束',
|
|
1164
1277
|
'ta.settings.maxTasksAny': '不限',
|
|
@@ -1221,6 +1334,40 @@ exports.ZH_MESSAGES = {
|
|
|
1221
1334
|
'ta.remote.addHint': '~/.ssh/config 里的主机、user@host:port,或 ssh 命令',
|
|
1222
1335
|
'ta.remote.connected': '已连接',
|
|
1223
1336
|
'ta.remote.failed': '连不上 {host}',
|
|
1337
|
+
'ta.relays.title': '中继服务',
|
|
1338
|
+
'ta.relays.feature.devices': '手机等设备',
|
|
1339
|
+
'ta.relays.feature.devicesHint': '新配对的设备经它连回这台电脑;已配对的保持原来的中继。',
|
|
1340
|
+
'ta.relays.feature.share': '分享链接',
|
|
1341
|
+
'ta.relays.feature.shareHint': '分享扩展、对话的链接,电脑关机时可看的副本,以及链接在浏览器里打开的页面。',
|
|
1342
|
+
'ta.relays.feature.rooms': '房间与联机',
|
|
1343
|
+
'ta.relays.feature.roomsHint': '新建房间放在这里。房间建好后不随之变化;加入别人的房间用对方链接里的中继。',
|
|
1344
|
+
'ta.relays.feature.sync': '设备同步',
|
|
1345
|
+
'ta.relays.feature.syncHint': '开启同步时你的几台电脑经它同步:中继上的房间;或完全不经过中继,用网盘里的文件夹、你自己的 WebDAV、S3 存储或 git 仓库。',
|
|
1346
|
+
'ta.relays.official': '官方中继',
|
|
1347
|
+
'ta.relays.online': '{ms} 毫秒响应',
|
|
1348
|
+
'ta.relays.onlineNoTime': '可用',
|
|
1349
|
+
'ta.relays.offline': '连不上',
|
|
1350
|
+
'ta.relays.memory': '房间只存在内存里',
|
|
1351
|
+
'ta.relays.limits': '房间最多 {members} 人、{state} MB',
|
|
1352
|
+
'ta.relays.remove': '移除 {name}',
|
|
1353
|
+
'ta.relays.add': '添加中继',
|
|
1354
|
+
'ta.relays.addHint': '你自己的中继(部署在自己的 Cloudflare 上,或在 HTTPS 后面运行 ta relay --data <目录>),它读不到经过的内容,但链接打开的网页由它提供;或者一个由网盘在几台电脑间保持一致的文件夹,用于设备同步。',
|
|
1355
|
+
'ta.relays.addButton': '添加',
|
|
1356
|
+
'ta.relays.addPlaceholder': 'https://relay.example.com,或文件夹 ~/…',
|
|
1357
|
+
'ta.relays.folderOnly': '文件夹,仅用于设备同步',
|
|
1358
|
+
'ta.relays.drive': '用 {name} 同步',
|
|
1359
|
+
'ta.relays.driveHint': '设备同步经文件夹 {path},由网盘在你的几台电脑间保持一致,完全不经过中继。',
|
|
1360
|
+
'ta.relays.driveUse': '使用',
|
|
1361
|
+
'ta.relays.file': 'relays.json',
|
|
1362
|
+
'ta.relays.broken': 'relays.json 格式不对',
|
|
1363
|
+
'ta.relays.storeType': '用 {name} 同步',
|
|
1364
|
+
'ta.relays.storeOpen': '设置',
|
|
1365
|
+
'ta.relays.storeName': '名称',
|
|
1366
|
+
'ta.relays.optional': '可不填',
|
|
1367
|
+
'ta.relays.storeNote': 'Ta 会先试一下:写入再删掉一个小文件。同步放进去的内容在本机就已加密;密码只存在这台电脑的 relays.json 里。',
|
|
1368
|
+
'ta.relays.storeAdd': '添加并用于同步',
|
|
1369
|
+
'ta.relays.storeOnly': '仅用于设备同步',
|
|
1370
|
+
'ta.relays.unavailable': '对应的扩展已关闭',
|
|
1224
1371
|
'ta.remote.title': '远程主机',
|
|
1225
1372
|
'ta.remote.description': '对话可以在这些机器的目录里工作。Ta 用本机的 ssh 和 ~/.ssh/config 连接。',
|
|
1226
1373
|
'ta.remote.none': '还没有主机',
|
|
@@ -1315,6 +1462,7 @@ exports.ZH_MESSAGES = {
|
|
|
1315
1462
|
'ta.process.thinking': '思考中',
|
|
1316
1463
|
'ta.process.thought': '已思考',
|
|
1317
1464
|
'ta.process.failed': '{count} 步失败',
|
|
1465
|
+
'ta.process.requestFailed': '请求失败',
|
|
1318
1466
|
'ta.process.earlier': '前 {count} 步',
|
|
1319
1467
|
'ta.process.showAll': '显示全部',
|
|
1320
1468
|
'ta.session.phase.thinking': '思考中',
|
|
@@ -1347,6 +1495,8 @@ exports.ZH_MESSAGES = {
|
|
|
1347
1495
|
'ta.composer.keyboard': '切换到键盘',
|
|
1348
1496
|
'ta.composer.steerTitle': '引导 Ta(Enter);Alt+Enter 排队追加',
|
|
1349
1497
|
'ta.composer.addImage': '上传图片',
|
|
1498
|
+
'ta.composer.album': '相册',
|
|
1499
|
+
'ta.composer.camera': '拍照',
|
|
1350
1500
|
'ta.composer.more': '添加与设置',
|
|
1351
1501
|
'ta.composer.page': '第 {page} 页',
|
|
1352
1502
|
'ta.composer.mentionFile': '引用文件',
|
|
@@ -1609,6 +1759,8 @@ exports.ZH_MESSAGES = {
|
|
|
1609
1759
|
'ta.relay.offline': '未连接 · {relay}',
|
|
1610
1760
|
'ta.relay.unpair': '取消配对',
|
|
1611
1761
|
'ta.relay.unpairConfirm': '取消配对 {name}?它将无法再连到这台电脑上的 Ta。',
|
|
1762
|
+
'ta.relay.keepAwake': '让电脑保持唤醒',
|
|
1763
|
+
'ta.relay.keepAwakeHint': '有任务在跑,或手机连过后的 30 分钟内,电脑闲置也不睡眠,手机随时连得上。屏幕照常熄灭,合上盖子仍会睡眠。',
|
|
1612
1764
|
'ta.manage.relay': '在手机上使用…',
|
|
1613
1765
|
'ta.settings.relay': '手机访问',
|
|
1614
1766
|
'ta.settings.relayDescription': '经 Relay 连到这台电脑上 Ta 的设备',
|
|
@@ -35,6 +35,8 @@ export interface TaLinks {
|
|
|
35
35
|
readonly state: LinksState;
|
|
36
36
|
subscribe(listener: (state: LinksState) => void): () => void;
|
|
37
37
|
open(target: LinkTarget, options?: OpenLinkOptions): Promise<void>;
|
|
38
|
+
/** Shows the conversation of a session file as the lists open it; false when no conversation has it (WebExtensionAPI.openChat). */
|
|
39
|
+
openConversation(file: string): Promise<boolean>;
|
|
38
40
|
/** The answer to the question shown. */
|
|
39
41
|
answer(id: number, answer: ExternalLinkAnswer): void;
|
|
40
42
|
}
|
|
@@ -30,8 +30,13 @@ export declare class TaLinksImpl implements TaLinks {
|
|
|
30
30
|
protected find(target: PathTarget, dirs: readonly string[]): Promise<WebLink | undefined>;
|
|
31
31
|
/** The path in `dir`, whether a file or a directory, read from its directory; undefined when it is not there. */
|
|
32
32
|
protected lookUp(target: PathTarget, dir: string): Promise<WebLink | undefined>;
|
|
33
|
-
/**
|
|
34
|
-
|
|
33
|
+
/**
|
|
34
|
+
* Shows the conversation of a session file as the lists open it: an open one by its session, a saved one by its file
|
|
35
|
+
* (TaChat.resume), at once from what the page or the device has; false when no conversation has it.
|
|
36
|
+
*/
|
|
37
|
+
openConversation(file: string): Promise<boolean>;
|
|
38
|
+
/** Whether a saved conversation has the file: by the lists of the page, the server asked only when they do not have it. */
|
|
39
|
+
protected isSaved(file: string): Promise<boolean>;
|
|
35
40
|
/** The first opener of the web extensions that opens it; of those of some links only, with `specific`. */
|
|
36
41
|
protected dispatch(link: WebLink, specific?: boolean): Promise<boolean>;
|
|
37
42
|
/** Without asking for a host the user trusts; else the question, which a later link replaces. */
|
|
@@ -113,27 +113,34 @@ let TaLinksImpl = class TaLinksImpl {
|
|
|
113
113
|
}
|
|
114
114
|
return entry.kind === 'directory' ? { type: 'directory', cwd, path } : { type: 'file', cwd, path, selection: target.selection };
|
|
115
115
|
}
|
|
116
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Shows the conversation of a session file as the lists open it: an open one by its session, a saved one by its file
|
|
118
|
+
* (TaChat.resume), at once from what the page or the device has; false when no conversation has it.
|
|
119
|
+
*/
|
|
117
120
|
async openConversation(file) {
|
|
118
|
-
var _a, _b, _c;
|
|
119
|
-
var _d, _e;
|
|
120
121
|
const switcher = this.extensions.sessionSwitcher();
|
|
121
122
|
if (!switcher) {
|
|
122
123
|
return false;
|
|
123
124
|
}
|
|
124
125
|
const open = this.workbench.state.sessions.find(session => session.sessionFile === file);
|
|
125
|
-
|
|
126
|
-
if (!open && !saved) {
|
|
126
|
+
if (!open && !(await this.isSaved(file))) {
|
|
127
127
|
return false;
|
|
128
128
|
}
|
|
129
|
-
const
|
|
130
|
-
.
|
|
131
|
-
|
|
132
|
-
const shown = switcher(session, { title: ((_a = (open !== null && open !== void 0 ? open : saved)) === null || _a === void 0 ? void 0 : _a.sessionName) || ((_b = (open !== null && open !== void 0 ? open : saved)) === null || _b === void 0 ? void 0 : _b.firstMessage), cwd: (_c = (open !== null && open !== void 0 ? open : saved)) === null || _c === void 0 ? void 0 : _c.cwd, sessionFile: file });
|
|
129
|
+
const shown = open
|
|
130
|
+
? switcher(open.sessionId, { title: open.sessionName || open.firstMessage, cwd: open.cwd, sessionFile: file })
|
|
131
|
+
: switcher({ sessionFile: file });
|
|
133
132
|
this.extensions.showPage('');
|
|
134
133
|
await shown;
|
|
135
134
|
return true;
|
|
136
135
|
}
|
|
136
|
+
/** Whether a saved conversation has the file: by the lists of the page, the server asked only when they do not have it. */
|
|
137
|
+
async isSaved(file) {
|
|
138
|
+
const { saved, archived = [] } = this.workbench.state;
|
|
139
|
+
if ([...saved, ...archived].some(session => session.sessionFile === file)) {
|
|
140
|
+
return true;
|
|
141
|
+
}
|
|
142
|
+
return (await this.workbench.server.listSavedSessions()).some(session => session.sessionFile === file);
|
|
143
|
+
}
|
|
137
144
|
/** The first opener of the web extensions that opens it; of those of some links only, with `specific`. */
|
|
138
145
|
async dispatch(link, specific = false) {
|
|
139
146
|
const { openers, specificOpeners } = this.extensions.state;
|
|
@@ -2,4 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import type { WebCodeRendererProps } from '../extension/web-api-contributions';
|
|
3
3
|
/** What web extensions draw fenced blocks of their languages with (WebExtensionAPI.registerCodeRenderer), by language in lower case. */
|
|
4
4
|
export declare const CodeRenderers: React.Context<Readonly<Record<string, React.ComponentType<WebCodeRendererProps>>>>;
|
|
5
|
+
/** Where the fenced blocks drawn by web extensions send what the user picks in them: the conversation they are in. */
|
|
6
|
+
export declare const CodeReply: React.Context<((text: string) => Promise<void>) | undefined>;
|
|
7
|
+
/** What the user said after the turn of the blocks (WebCodeRendererProps.answer): none while they did not answer it. */
|
|
8
|
+
export declare const CodeAnswer: React.Context<string | undefined>;
|
|
5
9
|
//# sourceMappingURL=code-renderers.d.ts.map
|
|
@@ -33,8 +33,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.CodeRenderers = void 0;
|
|
36
|
+
exports.CodeAnswer = exports.CodeReply = exports.CodeRenderers = void 0;
|
|
37
37
|
const React = __importStar(require("react"));
|
|
38
38
|
/** What web extensions draw fenced blocks of their languages with (WebExtensionAPI.registerCodeRenderer), by language in lower case. */
|
|
39
39
|
exports.CodeRenderers = React.createContext({});
|
|
40
|
+
/** Where the fenced blocks drawn by web extensions send what the user picks in them: the conversation they are in. */
|
|
41
|
+
exports.CodeReply = React.createContext(undefined);
|
|
42
|
+
/** What the user said after the turn of the blocks (WebCodeRendererProps.answer): none while they did not answer it. */
|
|
43
|
+
exports.CodeAnswer = React.createContext(undefined);
|
|
40
44
|
//# sourceMappingURL=code-renderers.js.map
|
|
@@ -19,4 +19,12 @@ export declare class Recent<V> {
|
|
|
19
19
|
has(key: string): boolean;
|
|
20
20
|
set(key: string, value: V): V;
|
|
21
21
|
}
|
|
22
|
+
/** A Recent kept on the device (localStorage, under `key`): what it was told is there again after the page loads again. */
|
|
23
|
+
export declare class KeptRecent<V> extends Recent<V> {
|
|
24
|
+
private readonly key;
|
|
25
|
+
private saving;
|
|
26
|
+
constructor(key: string, limit: number);
|
|
27
|
+
set(key: string, value: V): V;
|
|
28
|
+
private static storage;
|
|
29
|
+
}
|
|
22
30
|
//# sourceMappingURL=lazy.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Recent = exports.Lazy = void 0;
|
|
3
|
+
exports.KeptRecent = exports.Recent = exports.Lazy = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* A module loaded the first time it is needed, not with the page: formulas and diagrams bring large
|
|
6
6
|
* libraries that most conversations never use. A load that failed is tried again the next time.
|
|
@@ -41,4 +41,40 @@ class Recent {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
exports.Recent = Recent;
|
|
44
|
+
/** A Recent kept on the device (localStorage, under `key`): what it was told is there again after the page loads again. */
|
|
45
|
+
class KeptRecent extends Recent {
|
|
46
|
+
constructor(key, limit) {
|
|
47
|
+
var _a;
|
|
48
|
+
var _b;
|
|
49
|
+
super(limit);
|
|
50
|
+
this.key = key;
|
|
51
|
+
try {
|
|
52
|
+
for (const [entry, value] of JSON.parse((_b = (_a = KeptRecent.storage()) === null || _a === void 0 ? void 0 : _a.getItem(key)) !== null && _b !== void 0 ? _b : '[]')) {
|
|
53
|
+
super.set(entry, value);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
catch (_c) {
|
|
57
|
+
// Kept by another version, or not at all: starts empty.
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
set(key, value) {
|
|
61
|
+
var _a;
|
|
62
|
+
super.set(key, value);
|
|
63
|
+
(_a = this.saving) !== null && _a !== void 0 ? _a : (this.saving = setTimeout(() => {
|
|
64
|
+
var _a;
|
|
65
|
+
this.saving = undefined;
|
|
66
|
+
try {
|
|
67
|
+
(_a = KeptRecent.storage()) === null || _a === void 0 ? void 0 : _a.setItem(this.key, JSON.stringify([...this.entries]));
|
|
68
|
+
}
|
|
69
|
+
catch (_b) {
|
|
70
|
+
// Full: kept for this page only.
|
|
71
|
+
}
|
|
72
|
+
}, 1000));
|
|
73
|
+
return value;
|
|
74
|
+
}
|
|
75
|
+
static storage() {
|
|
76
|
+
return typeof localStorage === 'undefined' ? undefined : localStorage;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.KeptRecent = KeptRecent;
|
|
44
80
|
//# sourceMappingURL=lazy.js.map
|