@celljs/ta-web 4.47.0 → 4.48.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/esm/browser/assistant/assistant-role.d.ts +1 -1
- package/esm/browser/assistant/assistant-role.js +1 -1
- package/esm/browser/assistant/assistant-task-source.js +6 -1
- package/esm/browser/assistant/assistant-task-util.d.ts +1 -0
- package/esm/browser/assistant/assistant-task-util.js +9 -3
- package/esm/browser/assistant/assistant-view.js +5 -2
- package/esm/browser/chat/chat-view.js +2 -1
- package/esm/browser/cloud/cloud-sign-in.d.ts +26 -4
- package/esm/browser/cloud/cloud-sign-in.js +88 -18
- package/esm/browser/components/app-nav.d.ts +3 -1
- package/esm/browser/components/app-nav.js +3 -3
- package/esm/browser/components/app-shell-state.js +11 -0
- package/esm/browser/components/app-view.js +16 -6
- package/esm/browser/components/asks-badge.d.ts +12 -0
- package/esm/browser/components/asks-badge.js +17 -1
- package/esm/browser/components/chat-list-row.d.ts +4 -1
- package/esm/browser/components/chat-list-row.js +7 -1
- package/esm/browser/components/chats-dot.d.ts +4 -1
- package/esm/browser/components/chats-dot.js +6 -2
- package/esm/browser/components/cloud-sign-in-view.d.ts +2 -1
- package/esm/browser/components/cloud-sign-in-view.js +28 -5
- package/esm/browser/components/composer-box-protocol.d.ts +5 -3
- package/esm/browser/components/composer-box.js +11 -11
- package/esm/browser/components/composer.d.ts +8 -1
- package/esm/browser/components/composer.js +57 -34
- package/esm/browser/components/discover-view.js +1 -1
- package/esm/browser/components/first-steps-util.d.ts +30 -0
- package/esm/browser/components/first-steps-util.js +36 -3
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/lightbox.d.ts +15 -1
- package/esm/browser/components/lightbox.js +14 -2
- package/esm/browser/components/link.js +8 -3
- package/esm/browser/components/list-rows.d.ts +1 -1
- package/esm/browser/components/list-rows.js +1 -1
- package/esm/browser/components/markdown.d.ts +4 -2
- package/esm/browser/components/markdown.js +13 -4
- package/esm/browser/components/media.d.ts +6 -0
- package/esm/browser/components/media.js +9 -1
- package/esm/browser/components/message-images.d.ts +5 -0
- package/esm/browser/components/message-images.js +40 -4
- package/esm/browser/components/message-user.js +4 -2
- package/esm/browser/components/partner-row.js +4 -4
- package/esm/browser/components/phone-hint.d.ts +6 -0
- package/esm/browser/components/phone-hint.js +63 -0
- package/esm/browser/components/phone-shell.d.ts +2 -0
- package/esm/browser/components/phone-shell.js +2 -2
- package/esm/browser/components/sending.d.ts +19 -0
- package/esm/browser/components/sending.js +27 -0
- package/esm/browser/components/session-view.js +5 -3
- package/esm/browser/components/settings-choices.js +1 -0
- package/esm/browser/components/settings-parts.js +28 -17
- package/esm/browser/components/share-dialog.js +3 -2
- package/esm/browser/components/share-item-sheet.js +1 -1
- package/esm/browser/components/share-sheet.d.ts +4 -2
- package/esm/browser/components/share-sheet.js +16 -2
- package/esm/browser/components/sign-in-accounts.js +7 -1
- package/esm/browser/components/unseen-drop.d.ts +2 -2
- package/esm/browser/components/unseen-drop.js +1 -1
- package/esm/browser/device/app-badge.d.ts +8 -0
- package/esm/browser/device/app-badge.js +28 -0
- package/esm/browser/device/code-scan.js +1 -1
- package/esm/browser/extension/web-api-code.d.ts +26 -0
- package/esm/browser/extension/web-api-components.d.ts +31 -0
- package/esm/browser/extension/web-api-menus.d.ts +15 -0
- package/esm/browser/extension/web-api-messages.d.ts +15 -0
- package/esm/browser/extension/web-api-messages.js +2 -0
- package/esm/browser/extension/web-api-partners.d.ts +16 -0
- package/esm/browser/extension/web-api-spec.js +1 -0
- package/esm/browser/extension/web-extension-api.d.ts +7 -13
- package/esm/browser/extension/web-extension-context.js +2 -0
- package/esm/browser/extension/web-session-notices.js +11 -2
- package/esm/browser/extension/web-share-ui.js +1 -0
- package/esm/browser/extension/web-share.js +3 -3
- package/esm/browser/extension/web-sharing.js +1 -1
- package/esm/browser/i18n/en/assistant.d.ts +2 -0
- package/esm/browser/i18n/en/assistant.js +2 -0
- package/esm/browser/i18n/en/chat.d.ts +11 -0
- package/esm/browser/i18n/en/chat.js +13 -2
- package/esm/browser/i18n/en/common.d.ts +4 -0
- package/esm/browser/i18n/en/common.js +4 -0
- package/esm/browser/i18n/en/service.d.ts +7 -0
- package/esm/browser/i18n/en/service.js +7 -0
- package/esm/browser/i18n/en/settings.d.ts +6 -0
- package/esm/browser/i18n/en/settings.js +8 -2
- package/esm/browser/i18n/ja/assistant.js +2 -0
- package/esm/browser/i18n/ja/chat.js +13 -2
- package/esm/browser/i18n/ja/common.js +4 -0
- package/esm/browser/i18n/ja/service.js +7 -0
- package/esm/browser/i18n/ja/settings.js +10 -4
- package/esm/browser/i18n/locales.d.ts +31 -1
- package/esm/browser/i18n/messages.d.ts +30 -0
- package/esm/browser/i18n/zh/assistant.js +2 -0
- package/esm/browser/i18n/zh/chat.js +13 -2
- package/esm/browser/i18n/zh/common.js +4 -0
- package/esm/browser/i18n/zh/service.js +7 -0
- package/esm/browser/i18n/zh/settings.js +8 -2
- package/esm/browser/i18n/zh-tw/assistant.js +2 -0
- package/esm/browser/i18n/zh-tw/chat.js +13 -2
- package/esm/browser/i18n/zh-tw/common.js +4 -0
- package/esm/browser/i18n/zh-tw/service.js +7 -0
- package/esm/browser/i18n/zh-tw/settings.js +8 -2
- package/esm/browser/links/links.js +1 -1
- package/esm/browser/notices/session-notices.d.ts +4 -4
- package/esm/browser/notices/session-notices.js +3 -6
- package/esm/browser/partners/partners-util.d.ts +6 -0
- package/esm/browser/partners/partners-util.js +22 -0
- package/esm/browser/sandbox/sandbox-runtime-code.js +1 -1
- package/esm/browser/settings/agent-settings.d.ts +2 -0
- package/esm/browser/settings/agent-settings.js +2 -0
- package/esm/browser/settings/settings-protocol.d.ts +8 -0
- package/esm/browser/settings/settings-protocol.js +5 -0
- package/esm/browser/style/base.d.ts +1 -1
- package/esm/browser/style/base.js +3 -0
- package/esm/browser/style/chat-list.d.ts +1 -1
- package/esm/browser/style/chat-list.js +8 -3
- package/esm/browser/style/conversation-column.d.ts +1 -1
- package/esm/browser/style/conversation-column.js +10 -1
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +18 -0
- package/esm/browser/style/phone.d.ts +1 -1
- package/esm/browser/style/phone.js +2 -0
- package/esm/browser/style/skins.d.ts +1 -1
- package/esm/browser/style/skins.js +1 -1
- package/esm/browser/util/composer.d.ts +18 -3
- package/esm/browser/util/composer.js +31 -5
- package/esm/browser/util/desktop.d.ts +8 -1
- package/esm/browser/util/desktop.js +10 -0
- package/esm/browser/util/image-shrink.d.ts +5 -1
- package/esm/browser/util/image-shrink.js +1 -1
- package/esm/browser/util/markdown.d.ts +3 -5
- package/esm/browser/util/markdown.js +5 -29
- package/esm/browser/util/process.js +2 -2
- package/lib/browser/assistant/assistant-role.d.ts +1 -1
- package/lib/browser/assistant/assistant-role.js +1 -1
- package/lib/browser/assistant/assistant-task-source.js +5 -0
- package/lib/browser/assistant/assistant-task-util.d.ts +1 -0
- package/lib/browser/assistant/assistant-task-util.js +8 -2
- package/lib/browser/assistant/assistant-view.js +5 -2
- package/lib/browser/chat/chat-view.js +2 -1
- package/lib/browser/cloud/cloud-sign-in.d.ts +26 -4
- package/lib/browser/cloud/cloud-sign-in.js +89 -19
- package/lib/browser/components/app-nav.d.ts +3 -1
- package/lib/browser/components/app-nav.js +2 -2
- package/lib/browser/components/app-shell-state.js +11 -0
- package/lib/browser/components/app-view.js +16 -6
- package/lib/browser/components/asks-badge.d.ts +12 -0
- package/lib/browser/components/asks-badge.js +19 -1
- package/lib/browser/components/chat-list-row.d.ts +4 -1
- package/lib/browser/components/chat-list-row.js +7 -1
- package/lib/browser/components/chats-dot.d.ts +4 -1
- package/lib/browser/components/chats-dot.js +6 -2
- package/lib/browser/components/cloud-sign-in-view.d.ts +2 -1
- package/lib/browser/components/cloud-sign-in-view.js +28 -5
- package/lib/browser/components/composer-box-protocol.d.ts +5 -3
- package/lib/browser/components/composer-box.js +11 -11
- package/lib/browser/components/composer.d.ts +8 -1
- package/lib/browser/components/composer.js +56 -33
- package/lib/browser/components/discover-view.js +1 -1
- package/lib/browser/components/first-steps-util.d.ts +30 -0
- package/lib/browser/components/first-steps-util.js +37 -4
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/lightbox.d.ts +15 -1
- package/lib/browser/components/lightbox.js +15 -2
- package/lib/browser/components/link.js +8 -3
- package/lib/browser/components/list-rows.d.ts +1 -1
- package/lib/browser/components/list-rows.js +1 -1
- package/lib/browser/components/markdown.d.ts +4 -2
- package/lib/browser/components/markdown.js +11 -2
- package/lib/browser/components/media.d.ts +6 -0
- package/lib/browser/components/media.js +10 -2
- package/lib/browser/components/message-images.d.ts +5 -0
- package/lib/browser/components/message-images.js +40 -4
- package/lib/browser/components/message-user.js +4 -2
- package/lib/browser/components/partner-row.js +4 -4
- package/lib/browser/components/phone-hint.d.ts +7 -0
- package/lib/browser/components/phone-hint.js +99 -0
- package/lib/browser/components/phone-shell.d.ts +2 -0
- package/lib/browser/components/phone-shell.js +1 -1
- package/lib/browser/components/sending.d.ts +20 -0
- package/lib/browser/components/sending.js +63 -0
- package/lib/browser/components/session-view.js +5 -3
- package/lib/browser/components/settings-choices.js +1 -0
- package/lib/browser/components/settings-parts.js +26 -15
- package/lib/browser/components/share-dialog.js +3 -2
- package/lib/browser/components/share-item-sheet.js +1 -1
- package/lib/browser/components/share-sheet.d.ts +4 -2
- package/lib/browser/components/share-sheet.js +16 -2
- package/lib/browser/components/sign-in-accounts.js +7 -1
- package/lib/browser/components/unseen-drop.d.ts +2 -2
- package/lib/browser/components/unseen-drop.js +1 -1
- package/lib/browser/device/app-badge.d.ts +9 -0
- package/lib/browser/device/app-badge.js +31 -0
- package/lib/browser/device/code-scan.js +1 -1
- package/lib/browser/extension/web-api-code.d.ts +26 -0
- package/lib/browser/extension/web-api-components.d.ts +31 -0
- package/lib/browser/extension/web-api-menus.d.ts +15 -0
- package/lib/browser/extension/web-api-messages.d.ts +16 -0
- package/lib/browser/extension/web-api-messages.js +3 -0
- package/lib/browser/extension/web-api-partners.d.ts +16 -0
- package/lib/browser/extension/web-api-spec.js +1 -0
- package/lib/browser/extension/web-extension-api.d.ts +7 -13
- package/lib/browser/extension/web-extension-context.js +2 -0
- package/lib/browser/extension/web-session-notices.js +10 -1
- package/lib/browser/extension/web-share-ui.js +1 -0
- package/lib/browser/extension/web-share.js +3 -3
- package/lib/browser/extension/web-sharing.js +1 -1
- package/lib/browser/i18n/en/assistant.d.ts +2 -0
- package/lib/browser/i18n/en/assistant.js +2 -0
- package/lib/browser/i18n/en/chat.d.ts +11 -0
- package/lib/browser/i18n/en/chat.js +13 -2
- package/lib/browser/i18n/en/common.d.ts +4 -0
- package/lib/browser/i18n/en/common.js +4 -0
- package/lib/browser/i18n/en/service.d.ts +7 -0
- package/lib/browser/i18n/en/service.js +7 -0
- package/lib/browser/i18n/en/settings.d.ts +6 -0
- package/lib/browser/i18n/en/settings.js +8 -2
- package/lib/browser/i18n/ja/assistant.js +2 -0
- package/lib/browser/i18n/ja/chat.js +13 -2
- package/lib/browser/i18n/ja/common.js +4 -0
- package/lib/browser/i18n/ja/service.js +7 -0
- package/lib/browser/i18n/ja/settings.js +10 -4
- package/lib/browser/i18n/locales.d.ts +31 -1
- package/lib/browser/i18n/messages.d.ts +30 -0
- package/lib/browser/i18n/zh/assistant.js +2 -0
- package/lib/browser/i18n/zh/chat.js +13 -2
- package/lib/browser/i18n/zh/common.js +4 -0
- package/lib/browser/i18n/zh/service.js +7 -0
- package/lib/browser/i18n/zh/settings.js +8 -2
- package/lib/browser/i18n/zh-tw/assistant.js +2 -0
- package/lib/browser/i18n/zh-tw/chat.js +13 -2
- package/lib/browser/i18n/zh-tw/common.js +4 -0
- package/lib/browser/i18n/zh-tw/service.js +7 -0
- package/lib/browser/i18n/zh-tw/settings.js +8 -2
- package/lib/browser/links/links.js +1 -1
- package/lib/browser/notices/session-notices.d.ts +4 -4
- package/lib/browser/notices/session-notices.js +3 -6
- package/lib/browser/partners/partners-util.d.ts +6 -0
- package/lib/browser/partners/partners-util.js +22 -0
- package/lib/browser/sandbox/sandbox-runtime-code.js +1 -1
- package/lib/browser/settings/agent-settings.d.ts +2 -0
- package/lib/browser/settings/agent-settings.js +3 -1
- package/lib/browser/settings/settings-protocol.d.ts +8 -0
- package/lib/browser/settings/settings-protocol.js +6 -1
- package/lib/browser/style/base.d.ts +1 -1
- package/lib/browser/style/base.js +3 -0
- package/lib/browser/style/chat-list.d.ts +1 -1
- package/lib/browser/style/chat-list.js +8 -3
- package/lib/browser/style/conversation-column.d.ts +1 -1
- package/lib/browser/style/conversation-column.js +10 -1
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +18 -0
- package/lib/browser/style/phone.d.ts +1 -1
- package/lib/browser/style/phone.js +2 -0
- package/lib/browser/style/skins.d.ts +1 -1
- package/lib/browser/style/skins.js +1 -1
- package/lib/browser/util/composer.d.ts +18 -3
- package/lib/browser/util/composer.js +31 -5
- package/lib/browser/util/desktop.d.ts +8 -1
- package/lib/browser/util/desktop.js +10 -0
- package/lib/browser/util/image-shrink.d.ts +5 -1
- package/lib/browser/util/image-shrink.js +1 -1
- package/lib/browser/util/markdown.d.ts +3 -5
- package/lib/browser/util/markdown.js +5 -29
- package/lib/browser/util/process.js +1 -1
- package/package.json +7 -7
- package/esm/browser/util/share-link.d.ts +0 -21
- package/esm/browser/util/share-link.js +0 -61
- package/lib/browser/util/share-link.d.ts +0 -22
- package/lib/browser/util/share-link.js +0 -64
|
@@ -80,6 +80,8 @@ exports.ASSISTANT_ZH = {
|
|
|
80
80
|
'ta.task.running': '进行中',
|
|
81
81
|
'ta.task.done': '已完成',
|
|
82
82
|
'ta.task.failed': '失败',
|
|
83
|
+
'ta.task.deadEndFiltered': '没完成:回答被模型服务的内容过滤拦下了(已自动重试一次)',
|
|
84
|
+
'ta.task.deadEndEmpty': '没完成:模型没有输出就结束了(已自动重试一次)',
|
|
83
85
|
'ta.task.verdictPass': '检查通过',
|
|
84
86
|
'ta.task.verdictFail': '检查未通过',
|
|
85
87
|
'ta.task.branch': '分支 {branch}',
|
|
@@ -17,6 +17,7 @@ exports.CHAT_ZH = {
|
|
|
17
17
|
'ta.chat.asking': '等你决定',
|
|
18
18
|
'ta.chat.draft': '草稿',
|
|
19
19
|
'ta.chat.asksCount': '{count} 个待你决定',
|
|
20
|
+
'ta.chat.unseenCount': '{count} 条新消息',
|
|
20
21
|
'ta.chat.letGo': '不用决定了',
|
|
21
22
|
'ta.chat.toAsk': '等你决定:{question}',
|
|
22
23
|
'ta.chat.removed': '已移除({count})',
|
|
@@ -58,7 +59,7 @@ exports.CHAT_ZH = {
|
|
|
58
59
|
'ta.session.waitingClientTool': '等待客户端工具',
|
|
59
60
|
'ta.composer.placeholder': '给 Ta 发消息;/ 查看命令,@ 引用文件',
|
|
60
61
|
'ta.composer.placeholderTouch': '给 Ta 发消息',
|
|
61
|
-
'ta.composer.steerPlaceholder': '继续补充或引导 Ta;
|
|
62
|
+
'ta.composer.steerPlaceholder': '继续补充或引导 Ta;{alt}Enter 排队,{mod}Enter 立即发送',
|
|
62
63
|
'ta.composer.steerPlaceholderTouch': '继续补充或引导 Ta',
|
|
63
64
|
'ta.composer.stopTitle': '停止(Esc)',
|
|
64
65
|
'ta.composer.stopping': '正在停止…',
|
|
@@ -91,6 +92,7 @@ exports.CHAT_ZH = {
|
|
|
91
92
|
'ta.message.sendFailed': '发送失败',
|
|
92
93
|
'ta.message.resend': '重发',
|
|
93
94
|
'ta.message.discard': '删除',
|
|
95
|
+
'ta.message.sending': '发送中',
|
|
94
96
|
'ta.message.noModel': '还没连上模型,Ta 没法回答',
|
|
95
97
|
'ta.message.connectModel': '连接模型',
|
|
96
98
|
'ta.message.selectText': '选择文本',
|
|
@@ -196,7 +198,7 @@ exports.CHAT_ZH = {
|
|
|
196
198
|
'ta.talk.tooShort': '说话时间太短',
|
|
197
199
|
'ta.talk.hold': '按住 说话',
|
|
198
200
|
'ta.composer.keyboard': '切换到键盘',
|
|
199
|
-
'ta.composer.steerTitle': '引导 Ta(Enter);
|
|
201
|
+
'ta.composer.steerTitle': '引导 Ta(Enter);{alt}Enter 排队,{mod}Enter 立即发送',
|
|
200
202
|
'ta.composer.addImage': '上传图片',
|
|
201
203
|
'ta.composer.addMedia': '上传图片或视频',
|
|
202
204
|
'ta.composer.album': '相册',
|
|
@@ -230,6 +232,15 @@ exports.CHAT_ZH = {
|
|
|
230
232
|
'ta.composer.queue.takeBackTitle': '把排队的消息取回输入框',
|
|
231
233
|
'ta.composer.queue.editTitle': '撤回到输入框编辑',
|
|
232
234
|
'ta.composer.queue.remove': '删除',
|
|
235
|
+
'ta.composer.queue.settings': '工作中发消息的设置',
|
|
236
|
+
'ta.composer.queue.sendNowTitle': '打断 Ta 手上的事,马上发这条',
|
|
237
|
+
'ta.composer.queue.sendNow': '立即发送',
|
|
238
|
+
'ta.composer.interruptTitle': '打断 Ta,立即发送(Enter);{alt}Enter 排队',
|
|
239
|
+
'ta.composer.followUpTitle': '排队,等它回复完再发(Enter);{mod}Enter 立即发送',
|
|
240
|
+
'ta.composer.interruptPlaceholderTouch': '发出去会打断 Ta,马上处理这条',
|
|
241
|
+
'ta.composer.interruptPlaceholder': '发出去会打断 Ta,马上处理这条;{alt}Enter 排队',
|
|
242
|
+
'ta.composer.followUpPlaceholderTouch': '排一条消息,等它回复完再发',
|
|
243
|
+
'ta.composer.followUpPlaceholder': '排一条消息,等它回复完再发;{mod}Enter 立即发送',
|
|
233
244
|
'ta.chat.replyingFor': '{names} · 正在回复',
|
|
234
245
|
'ta.chats.busy': '进行中的对话',
|
|
235
246
|
'ta.chat.tagOpen': '这是什么、怎么改',
|
|
@@ -25,6 +25,9 @@ exports.COMMON_ZH = {
|
|
|
25
25
|
'ta.markdown.exitFullscreen': '退出全屏',
|
|
26
26
|
'ta.markdown.enlarge': '查看大图',
|
|
27
27
|
'ta.images.expand': '展开 {count}',
|
|
28
|
+
'ta.images.original': '查看原图 {size}',
|
|
29
|
+
'ta.images.originalLoading': '正在加载原图',
|
|
30
|
+
'ta.images.originalFailed': '原图暂时取不到,稍后再试',
|
|
28
31
|
'ta.images.collapse': '收起',
|
|
29
32
|
'ta.zoom.in': '放大',
|
|
30
33
|
'ta.zoom.out': '缩小',
|
|
@@ -38,6 +41,7 @@ exports.COMMON_ZH = {
|
|
|
38
41
|
'ta.zoom.next': '下一张(→)',
|
|
39
42
|
'ta.zoom.failed': '无法显示这张图片',
|
|
40
43
|
'ta.markdown.missing': '无法显示 {name}',
|
|
44
|
+
'ta.markdown.elsewhere': '{name} 在对方电脑上,没有发过来',
|
|
41
45
|
'ta.markdown.retry': '点一下重试',
|
|
42
46
|
'ta.link.openFile': '点击打开',
|
|
43
47
|
'ta.link.openFolder': '点击在资源管理器中显示',
|
|
@@ -157,6 +157,11 @@ exports.SERVICE_ZH = {
|
|
|
157
157
|
'ta.cloud.codeTitle': '在浏览器中完成登录',
|
|
158
158
|
'ta.cloud.code': '确认浏览器页面上显示的是同一串码,并在那里登录。登录后这里会自动连上。',
|
|
159
159
|
'ta.cloud.pending': '等待你登录…',
|
|
160
|
+
'ta.cloud.failed.timeout': '登录确认超时了,再试一次就好。',
|
|
161
|
+
'ta.cloud.failed.error': '这次没有登录成功,请再试一次。',
|
|
162
|
+
'ta.cloud.renewed': '等得太久,这次登录已失效,点下面重新登录。',
|
|
163
|
+
'ta.cloud.reconnecting': '正在重新连接云端 Ta…',
|
|
164
|
+
'ta.cloud.signInAgain': '重新登录',
|
|
160
165
|
'ta.cloud.connecting': '正在连接 {host}…',
|
|
161
166
|
'ta.cloud.retry': '重试',
|
|
162
167
|
'ta.cloud.device.title': '允许新设备登录',
|
|
@@ -260,6 +265,8 @@ exports.SERVICE_ZH = {
|
|
|
260
265
|
'ta.relay.hint': '配对一次,随时随地连回这台电脑上的 Ta,端到端加密。',
|
|
261
266
|
'ta.relay.phone': '手机',
|
|
262
267
|
'ta.relay.pair': '配对设备',
|
|
268
|
+
'ta.phoneHint.text': '手机上也能找 Ta,出门在外也能派活、看结果',
|
|
269
|
+
'ta.phoneHint.pair': '连手机',
|
|
263
270
|
'ta.relay.scan': '用手机上的 Ta 扫码。配对码只显示这一次,不要发给别人。',
|
|
264
271
|
'ta.relay.noApp': '还没装 Ta?用手机相机扫这个码,或者',
|
|
265
272
|
'ta.relay.download': '去下载 Ta',
|
|
@@ -215,12 +215,17 @@ exports.SETTINGS_ZH = {
|
|
|
215
215
|
'ta.setting.transport': '传输方式',
|
|
216
216
|
'ta.setting.transport.hint': '模型服务支持多种连接方式时使用哪一种。',
|
|
217
217
|
'ta.setting.transport.auto': '自动',
|
|
218
|
+
'ta.settings.sendWhileWorking': '工作中发消息',
|
|
219
|
+
'ta.settings.sendWhileWorkingHint': 'Ta 正在干活时,按 Enter 或发送按钮发出的消息怎么处理(这台设备)。{alt}Enter、{mod}Enter 可以临时换另一种。',
|
|
220
|
+
'ta.settings.sendWhileWorking.steer': '引导(推荐)',
|
|
221
|
+
'ta.settings.sendWhileWorking.followUp': '排队',
|
|
222
|
+
'ta.settings.sendWhileWorking.interrupt': '立即发送',
|
|
218
223
|
'ta.setting.steeringMode': '引导消息',
|
|
219
|
-
'ta.setting.steeringMode.hint': '
|
|
224
|
+
'ta.setting.steeringMode.hint': 'Ta 跑完手上的工具就读到;攒了几条时,逐条读还是一起读。',
|
|
220
225
|
'ta.setting.steeringMode.one-at-a-time': '逐条',
|
|
221
226
|
'ta.setting.steeringMode.all': '一起',
|
|
222
227
|
'ta.setting.followUpMode': '排队消息',
|
|
223
|
-
'ta.setting.followUpMode.hint': '
|
|
228
|
+
'ta.setting.followUpMode.hint': '等这一轮回复完才发;攒了几条时,逐条发还是一起发。',
|
|
224
229
|
'ta.setting.followUpMode.one-at-a-time': '逐条',
|
|
225
230
|
'ta.setting.followUpMode.all': '一起',
|
|
226
231
|
'ta.setting.context.renewAt': '上下文多满时换新',
|
|
@@ -279,6 +284,7 @@ exports.SETTINGS_ZH = {
|
|
|
279
284
|
'ta.shortcut.send': '发送',
|
|
280
285
|
'ta.shortcut.newline': '换行',
|
|
281
286
|
'ta.shortcut.followUp': 'Ta 工作时排队一条消息',
|
|
287
|
+
'ta.shortcut.sendNow': '立即发送:打断 Ta,马上处理这条',
|
|
282
288
|
'ta.shortcut.stop': '停止 Ta',
|
|
283
289
|
'ta.shortcut.commands': '命令与技能',
|
|
284
290
|
'ta.shortcut.files': '提及文件',
|
|
@@ -80,6 +80,8 @@ exports.ASSISTANT_ZH_TW = {
|
|
|
80
80
|
'ta.task.running': '進行中',
|
|
81
81
|
'ta.task.done': '已完成',
|
|
82
82
|
'ta.task.failed': '失敗',
|
|
83
|
+
'ta.task.deadEndFiltered': '沒完成:回答被模型服務的內容過濾攔下了(已自動重試一次)',
|
|
84
|
+
'ta.task.deadEndEmpty': '沒完成:模型沒有輸出就結束了(已自動重試一次)',
|
|
83
85
|
'ta.task.verdictPass': '檢查通過',
|
|
84
86
|
'ta.task.verdictFail': '檢查未通過',
|
|
85
87
|
'ta.task.branch': '分支 {branch}',
|
|
@@ -17,6 +17,7 @@ exports.CHAT_ZH_TW = {
|
|
|
17
17
|
'ta.chat.asking': '等你決定',
|
|
18
18
|
'ta.chat.draft': '草稿',
|
|
19
19
|
'ta.chat.asksCount': '{count} 個待你決定',
|
|
20
|
+
'ta.chat.unseenCount': '{count} 則新訊息',
|
|
20
21
|
'ta.chat.letGo': '不用決定了',
|
|
21
22
|
'ta.chat.toAsk': '等你決定:{question}',
|
|
22
23
|
'ta.chat.removed': '已移除({count})',
|
|
@@ -58,7 +59,7 @@ exports.CHAT_ZH_TW = {
|
|
|
58
59
|
'ta.session.waitingClientTool': '等待客戶端工具',
|
|
59
60
|
'ta.composer.placeholder': '給 Ta 發訊息;/ 檢視命令,@ 引用檔案',
|
|
60
61
|
'ta.composer.placeholderTouch': '給 Ta 發訊息',
|
|
61
|
-
'ta.composer.steerPlaceholder': '繼續補充或引導 Ta;
|
|
62
|
+
'ta.composer.steerPlaceholder': '繼續補充或引導 Ta;{alt}Enter 排隊,{mod}Enter 立即發送',
|
|
62
63
|
'ta.composer.steerPlaceholderTouch': '繼續補充或引導 Ta',
|
|
63
64
|
'ta.composer.stopTitle': '停止(Esc)',
|
|
64
65
|
'ta.composer.stopping': '正在停止…',
|
|
@@ -91,6 +92,7 @@ exports.CHAT_ZH_TW = {
|
|
|
91
92
|
'ta.message.sendFailed': '傳送失敗',
|
|
92
93
|
'ta.message.resend': '重發',
|
|
93
94
|
'ta.message.discard': '刪除',
|
|
95
|
+
'ta.message.sending': '傳送中',
|
|
94
96
|
'ta.message.noModel': '還沒連上模型,Ta 沒法回答',
|
|
95
97
|
'ta.message.connectModel': '連接模型',
|
|
96
98
|
'ta.message.selectText': '選擇文本',
|
|
@@ -196,7 +198,7 @@ exports.CHAT_ZH_TW = {
|
|
|
196
198
|
'ta.talk.tooShort': '說話時間太短',
|
|
197
199
|
'ta.talk.hold': '按住 說話',
|
|
198
200
|
'ta.composer.keyboard': '切換到鍵盤',
|
|
199
|
-
'ta.composer.steerTitle': '引導 Ta(Enter);
|
|
201
|
+
'ta.composer.steerTitle': '引導 Ta(Enter);{alt}Enter 排隊,{mod}Enter 立即發送',
|
|
200
202
|
'ta.composer.addImage': '上傳圖片',
|
|
201
203
|
'ta.composer.addMedia': '上傳圖片或影片',
|
|
202
204
|
'ta.composer.album': '相簿',
|
|
@@ -230,6 +232,15 @@ exports.CHAT_ZH_TW = {
|
|
|
230
232
|
'ta.composer.queue.takeBackTitle': '把排隊的訊息取回輸入框',
|
|
231
233
|
'ta.composer.queue.editTitle': '撤回到輸入框編輯',
|
|
232
234
|
'ta.composer.queue.remove': '刪除',
|
|
235
|
+
'ta.composer.queue.settings': '工作中發訊息的設定',
|
|
236
|
+
'ta.composer.queue.sendNowTitle': '打斷 Ta 手上的事,馬上發這則',
|
|
237
|
+
'ta.composer.queue.sendNow': '立即發送',
|
|
238
|
+
'ta.composer.interruptTitle': '打斷 Ta,立即發送(Enter);{alt}Enter 排隊',
|
|
239
|
+
'ta.composer.followUpTitle': '排隊,等它回覆完再發(Enter);{mod}Enter 立即發送',
|
|
240
|
+
'ta.composer.interruptPlaceholderTouch': '發出去會打斷 Ta,馬上處理這則',
|
|
241
|
+
'ta.composer.interruptPlaceholder': '發出去會打斷 Ta,馬上處理這則;{alt}Enter 排隊',
|
|
242
|
+
'ta.composer.followUpPlaceholderTouch': '排一則訊息,等它回覆完再發',
|
|
243
|
+
'ta.composer.followUpPlaceholder': '排一則訊息,等它回覆完再發;{mod}Enter 立即發送',
|
|
233
244
|
'ta.chat.replyingFor': '{names} · 正在回覆',
|
|
234
245
|
'ta.chats.busy': '進行中的對話',
|
|
235
246
|
'ta.chat.tagOpen': '這是什麼、怎麼改',
|
|
@@ -25,6 +25,9 @@ exports.COMMON_ZH_TW = {
|
|
|
25
25
|
'ta.markdown.exitFullscreen': '退出全螢幕',
|
|
26
26
|
'ta.markdown.enlarge': '檢視大圖',
|
|
27
27
|
'ta.images.expand': '展開 {count}',
|
|
28
|
+
'ta.images.original': '查看原圖 {size}',
|
|
29
|
+
'ta.images.originalLoading': '正在載入原圖',
|
|
30
|
+
'ta.images.originalFailed': '原圖暫時取不到,稍後再試',
|
|
28
31
|
'ta.images.collapse': '收起',
|
|
29
32
|
'ta.zoom.in': '放大',
|
|
30
33
|
'ta.zoom.out': '縮小',
|
|
@@ -38,6 +41,7 @@ exports.COMMON_ZH_TW = {
|
|
|
38
41
|
'ta.zoom.next': '下一張(→)',
|
|
39
42
|
'ta.zoom.failed': '無法顯示這張圖片',
|
|
40
43
|
'ta.markdown.missing': '無法顯示 {name}',
|
|
44
|
+
'ta.markdown.elsewhere': '{name} 在對方電腦上,沒有傳過來',
|
|
41
45
|
'ta.markdown.retry': '點一下重試',
|
|
42
46
|
'ta.link.openFile': '點選開啟',
|
|
43
47
|
'ta.link.openFolder': '點選在資源管理器中顯示',
|
|
@@ -157,6 +157,11 @@ exports.SERVICE_ZH_TW = {
|
|
|
157
157
|
'ta.cloud.codeTitle': '在瀏覽器中完成登入',
|
|
158
158
|
'ta.cloud.code': '確認瀏覽器頁面上顯示的是同一串碼,並在那裡登入。登入後這裡會自動連上。',
|
|
159
159
|
'ta.cloud.pending': '等待你登入…',
|
|
160
|
+
'ta.cloud.failed.timeout': '登入確認逾時了,再試一次就好。',
|
|
161
|
+
'ta.cloud.failed.error': '這次沒有登入成功,請再試一次。',
|
|
162
|
+
'ta.cloud.renewed': '等得太久,這次登入已失效,點下面重新登入。',
|
|
163
|
+
'ta.cloud.reconnecting': '正在重新連線雲端 Ta…',
|
|
164
|
+
'ta.cloud.signInAgain': '重新登入',
|
|
160
165
|
'ta.cloud.connecting': '正在連線到 {host}…',
|
|
161
166
|
'ta.cloud.retry': '重試',
|
|
162
167
|
'ta.cloud.device.title': '允許新裝置登入',
|
|
@@ -260,6 +265,8 @@ exports.SERVICE_ZH_TW = {
|
|
|
260
265
|
'ta.relay.hint': '配對一次,隨時隨地連回這台電腦上的 Ta,端到端加密。',
|
|
261
266
|
'ta.relay.phone': '手機',
|
|
262
267
|
'ta.relay.pair': '配對裝置',
|
|
268
|
+
'ta.phoneHint.text': '手機上也能找 Ta,出門在外也能派工作、看結果',
|
|
269
|
+
'ta.phoneHint.pair': '連手機',
|
|
263
270
|
'ta.relay.scan': '用手機上的 Ta 掃碼。配對碼只顯示這一次,不要發給別人。',
|
|
264
271
|
'ta.relay.noApp': '還沒裝 Ta?用手機相機掃這個碼,或者',
|
|
265
272
|
'ta.relay.download': '去下載 Ta',
|
|
@@ -215,12 +215,17 @@ exports.SETTINGS_ZH_TW = {
|
|
|
215
215
|
'ta.setting.transport': '傳輸方式',
|
|
216
216
|
'ta.setting.transport.hint': '模型服務支援多種連線方式時使用哪一種。',
|
|
217
217
|
'ta.setting.transport.auto': '自動',
|
|
218
|
+
'ta.settings.sendWhileWorking': '工作中發訊息',
|
|
219
|
+
'ta.settings.sendWhileWorkingHint': 'Ta 正在工作時,按 Enter 或發送按鈕發出的訊息怎麼處理(這台裝置)。{alt}Enter、{mod}Enter 可以臨時換另一種。',
|
|
220
|
+
'ta.settings.sendWhileWorking.steer': '引導(推薦)',
|
|
221
|
+
'ta.settings.sendWhileWorking.followUp': '排隊',
|
|
222
|
+
'ta.settings.sendWhileWorking.interrupt': '立即發送',
|
|
218
223
|
'ta.setting.steeringMode': '引導訊息',
|
|
219
|
-
'ta.setting.steeringMode.hint': '
|
|
224
|
+
'ta.setting.steeringMode.hint': 'Ta 跑完手上的工具就讀到;累積了幾則時,逐則讀還是一起讀。',
|
|
220
225
|
'ta.setting.steeringMode.one-at-a-time': '逐條',
|
|
221
226
|
'ta.setting.steeringMode.all': '一起',
|
|
222
227
|
'ta.setting.followUpMode': '排隊訊息',
|
|
223
|
-
'ta.setting.followUpMode.hint': '
|
|
228
|
+
'ta.setting.followUpMode.hint': '等這一輪回覆完才發;累積了幾則時,逐則發還是一起發。',
|
|
224
229
|
'ta.setting.followUpMode.one-at-a-time': '逐條',
|
|
225
230
|
'ta.setting.followUpMode.all': '一起',
|
|
226
231
|
'ta.setting.context.renewAt': '上下文多滿時換新',
|
|
@@ -279,6 +284,7 @@ exports.SETTINGS_ZH_TW = {
|
|
|
279
284
|
'ta.shortcut.send': '傳送',
|
|
280
285
|
'ta.shortcut.newline': '換行',
|
|
281
286
|
'ta.shortcut.followUp': 'Ta 工作時排隊一條訊息',
|
|
287
|
+
'ta.shortcut.sendNow': '立即發送:打斷 Ta,馬上處理這則',
|
|
282
288
|
'ta.shortcut.stop': '停止 Ta',
|
|
283
289
|
'ta.shortcut.commands': '命令與技能',
|
|
284
290
|
'ta.shortcut.files': '提及檔案',
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.TaLinksImpl = void 0;
|
|
13
13
|
const core_1 = require("@celljs/core");
|
|
14
|
+
const share_link_1 = require("@celljs/ta-protocol/lib/common/share-link");
|
|
14
15
|
const relay_open_in_ta_1 = require("@celljs/ta-relay/lib/common/relay-open-in-ta");
|
|
15
16
|
const mini_program_1 = require("../device/mini-program");
|
|
16
17
|
const web_extension_protocol_1 = require("../extension/web-extension-protocol");
|
|
@@ -18,7 +19,6 @@ const messages_1 = require("../i18n/messages");
|
|
|
18
19
|
const notices_protocol_1 = require("../notices/notices-protocol");
|
|
19
20
|
const settings_protocol_1 = require("../settings/settings-protocol");
|
|
20
21
|
const link_1 = require("../util/link");
|
|
21
|
-
const share_link_1 = require("../util/share-link");
|
|
22
22
|
const workbench_protocol_1 = require("../workbench-protocol");
|
|
23
23
|
const workbench_util_1 = require("../workbench-util");
|
|
24
24
|
const link_text_1 = require("./link-text");
|
|
@@ -11,7 +11,7 @@ export type SessionNoticeWay = 'none' | 'banner' | 'system' | 'waiting';
|
|
|
11
11
|
export interface SessionNoticeScene {
|
|
12
12
|
/** The page is in front and has the focus: the user is on it. */
|
|
13
13
|
focused: boolean;
|
|
14
|
-
/** The user looks at that conversation: it is shown, or it is the double's and its page is. */
|
|
14
|
+
/** The user looks at that conversation: it is shown, or it is the double's and its page is; the view of news of an extension. */
|
|
15
15
|
looking: boolean;
|
|
16
16
|
/** It is a task the double follows, which tells the user of it. */
|
|
17
17
|
task: boolean;
|
|
@@ -54,9 +54,9 @@ export declare namespace SessionNoticeUtil {
|
|
|
54
54
|
*/
|
|
55
55
|
function way(notice: Pick<WebSessionNotice, 'level' | 'view'>, scene: SessionNoticeScene): SessionNoticeWay;
|
|
56
56
|
/**
|
|
57
|
-
* Whether a notice the user asked to hear plays its tone: not of what they look at
|
|
58
|
-
*
|
|
59
|
-
*
|
|
57
|
+
* Whether a notice the user asked to hear plays its tone: not of what they look at (news of an extension, its
|
|
58
|
+
* view), nor of a task the double tells of unless it asks; else it does, whatever the way, as a messenger chimes
|
|
59
|
+
* in front on a phone (a friend writes in another chat) and while away with no notice of the system.
|
|
60
60
|
*/
|
|
61
61
|
function audible(notice: Pick<WebSessionNotice, 'level' | 'view'>, scene: SessionNoticeScene): boolean;
|
|
62
62
|
function level(notice: Pick<WebSessionNotice, 'level'>): NoticeLevel;
|
|
@@ -31,14 +31,11 @@ var SessionNoticeUtil;
|
|
|
31
31
|
}
|
|
32
32
|
SessionNoticeUtil.way = way;
|
|
33
33
|
/**
|
|
34
|
-
* Whether a notice the user asked to hear plays its tone: not of what they look at
|
|
35
|
-
*
|
|
36
|
-
*
|
|
34
|
+
* Whether a notice the user asked to hear plays its tone: not of what they look at (news of an extension, its
|
|
35
|
+
* view), nor of a task the double tells of unless it asks; else it does, whatever the way, as a messenger chimes
|
|
36
|
+
* in front on a phone (a friend writes in another chat) and while away with no notice of the system.
|
|
37
37
|
*/
|
|
38
38
|
function audible(notice, scene) {
|
|
39
|
-
if (notice.view) {
|
|
40
|
-
return !scene.focused;
|
|
41
|
-
}
|
|
42
39
|
if (scene.task && notice.level !== 'ask') {
|
|
43
40
|
return false;
|
|
44
41
|
}
|
|
@@ -35,5 +35,11 @@ export declare namespace PartnersUtil {
|
|
|
35
35
|
function line(partner: WebPartnerEntry, waiting: string): string;
|
|
36
36
|
/** It wants the user to look: one asks or invites them, or something was said they have not seen. */
|
|
37
37
|
function unseen(partner: WebPartnerEntry): boolean;
|
|
38
|
+
/** How many messages of people it has the user has not seen (WebPartnerChat.count): 0 for none, or none counted. */
|
|
39
|
+
function count(partner: WebPartnerEntry): number;
|
|
40
|
+
/** Sees what each of them said that the user has not, as the number of the tab is dragged away (WebPartnerChat.see). */
|
|
41
|
+
function seeAll(partners: readonly WebPartnerEntry[]): void;
|
|
42
|
+
/** All of them, of the partners the double's list has: the red number of the tab of the chats. */
|
|
43
|
+
function counted(partners: readonly WebPartnerEntry[]): number;
|
|
38
44
|
}
|
|
39
45
|
//# sourceMappingURL=partners-util.d.ts.map
|
|
@@ -76,5 +76,27 @@ var PartnersUtil;
|
|
|
76
76
|
return partner.status === 'asking' || partner.status === 'invited' || (!partner.status && !!((_a = partner.chat) === null || _a === void 0 ? void 0 : _a.unseen));
|
|
77
77
|
}
|
|
78
78
|
PartnersUtil.unseen = unseen;
|
|
79
|
+
/** How many messages of people it has the user has not seen (WebPartnerChat.count): 0 for none, or none counted. */
|
|
80
|
+
function count(partner) {
|
|
81
|
+
var _a;
|
|
82
|
+
const count = !partner.status && ((_a = partner.chat) === null || _a === void 0 ? void 0 : _a.unseen) ? partner.chat.count : undefined;
|
|
83
|
+
return typeof count === 'number' && Number.isFinite(count) && count > 0 ? Math.floor(count) : 0;
|
|
84
|
+
}
|
|
85
|
+
PartnersUtil.count = count;
|
|
86
|
+
/** Sees what each of them said that the user has not, as the number of the tab is dragged away (WebPartnerChat.see). */
|
|
87
|
+
function seeAll(partners) {
|
|
88
|
+
var _a, _b, _c;
|
|
89
|
+
for (const partner of chats(partners)) {
|
|
90
|
+
if (!partner.status && ((_a = partner.chat) === null || _a === void 0 ? void 0 : _a.unseen)) {
|
|
91
|
+
(_c = (_b = partner.chat).see) === null || _c === void 0 ? void 0 : _c.call(_b);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
PartnersUtil.seeAll = seeAll;
|
|
96
|
+
/** All of them, of the partners the double's list has: the red number of the tab of the chats. */
|
|
97
|
+
function counted(partners) {
|
|
98
|
+
return chats(partners).reduce((sum, partner) => sum + count(partner), 0);
|
|
99
|
+
}
|
|
100
|
+
PartnersUtil.counted = counted;
|
|
79
101
|
})(PartnersUtil || (exports.PartnersUtil = PartnersUtil = {}));
|
|
80
102
|
//# sourceMappingURL=partners-util.js.map
|