@celljs/ta-web 4.49.0 → 4.50.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/account/account-side.js +4 -0
- package/esm/browser/account/device-account.d.ts +6 -0
- package/esm/browser/account/device-account.js +20 -5
- package/esm/browser/assistant/assistant-view.js +2 -0
- package/esm/browser/assistant/call-announcing.d.ts +25 -0
- package/esm/browser/assistant/call-announcing.js +32 -0
- package/esm/browser/assistant/call-answering.d.ts +43 -0
- package/esm/browser/assistant/call-answering.js +63 -0
- package/esm/browser/assistant/call-hearing.d.ts +53 -0
- package/esm/browser/assistant/call-hearing.js +98 -0
- package/esm/browser/assistant/call-pausing.d.ts +40 -0
- package/esm/browser/assistant/call-pausing.js +82 -0
- package/esm/browser/assistant/call-reading.d.ts +32 -0
- package/esm/browser/assistant/call-reading.js +35 -0
- package/esm/browser/assistant/call-revoicing.d.ts +33 -0
- package/esm/browser/assistant/call-revoicing.js +68 -0
- package/esm/browser/assistant/call-turns.d.ts +29 -0
- package/esm/browser/assistant/call-turns.js +33 -0
- package/esm/browser/assistant/spoken-answer.d.ts +21 -0
- package/esm/browser/assistant/spoken-answer.js +69 -0
- package/esm/browser/assistant/spoken-call.d.ts +7 -0
- package/esm/browser/assistant/spoken-call.js +16 -0
- package/esm/browser/assistant/voice-call-protocol.d.ts +5 -0
- package/esm/browser/assistant/voice-call.d.ts +47 -43
- package/esm/browser/assistant/voice-call.js +193 -219
- package/esm/browser/chat/chat-view.js +2 -1
- package/esm/browser/components/account-recovery-view.d.ts +11 -0
- package/esm/browser/components/account-recovery-view.js +81 -0
- package/esm/browser/components/account-view.d.ts +1 -2
- package/esm/browser/components/account-view.js +10 -1
- package/esm/browser/components/app-nav.js +19 -8
- package/esm/browser/components/app-shell-hooks.d.ts +5 -0
- package/esm/browser/components/app-shell-hooks.js +45 -0
- package/esm/browser/components/app-shell-state.js +2 -1
- package/esm/browser/components/app-view.js +9 -5
- package/esm/browser/components/chat-emoji.d.ts +35 -0
- package/esm/browser/components/chat-emoji.js +129 -0
- package/esm/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/esm/browser/components/composer-attachments.d.ts +6 -0
- package/esm/browser/components/composer-attachments.js +12 -1
- package/esm/browser/components/composer-box-protocol.d.ts +15 -0
- package/esm/browser/components/composer-box.js +110 -87
- package/esm/browser/components/composer-drop-hooks.d.ts +26 -0
- package/esm/browser/components/composer-drop-hooks.js +36 -0
- package/esm/browser/components/composer-emoji.js +1 -1
- package/esm/browser/components/composer-faces.d.ts +16 -0
- package/esm/browser/components/composer-faces.js +37 -0
- package/esm/browser/components/composer-media.d.ts +10 -0
- package/esm/browser/components/composer-media.js +12 -1
- package/esm/browser/components/composer-target.d.ts +4 -0
- package/esm/browser/components/composer-target.js +18 -7
- package/esm/browser/components/composer-type-focus.d.ts +24 -0
- package/esm/browser/components/composer-type-focus.js +17 -0
- package/esm/browser/components/composer-voice.d.ts +24 -0
- package/esm/browser/components/composer-voice.js +37 -0
- package/esm/browser/components/composer.d.ts +2 -2
- package/esm/browser/components/composer.js +39 -8
- package/esm/browser/components/context-menu.js +2 -1
- package/esm/browser/components/emoji-panel.d.ts +11 -7
- package/esm/browser/components/emoji-panel.js +40 -22
- package/esm/browser/components/extension-settings.js +2 -2
- package/esm/browser/components/folder-new.d.ts +18 -0
- package/esm/browser/components/folder-new.js +53 -0
- package/esm/browser/components/folder-picker.d.ts +5 -2
- package/esm/browser/components/folder-picker.js +18 -6
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/image-menu.d.ts +8 -3
- package/esm/browser/components/image-menu.js +34 -9
- package/esm/browser/components/markdown.js +9 -2
- package/esm/browser/components/media.js +3 -2
- package/esm/browser/components/message-list.js +2 -2
- package/esm/browser/components/message-steps.js +20 -11
- package/esm/browser/components/message-user.js +2 -2
- package/esm/browser/components/moved-notice.js +2 -1
- package/esm/browser/components/nav-places.d.ts +2 -0
- package/esm/browser/components/nav-places.js +4 -2
- package/esm/browser/components/phone-shell.d.ts +2 -0
- package/esm/browser/components/phone-shell.js +5 -1
- package/esm/browser/components/secret-text.d.ts +1 -1
- package/esm/browser/components/secret-text.js +4 -3
- package/esm/browser/components/session-view.js +3 -0
- package/esm/browser/components/settings-choices.d.ts +2 -1
- package/esm/browser/components/settings-choices.js +13 -5
- package/esm/browser/components/settings-more.js +3 -3
- package/esm/browser/components/settings-parts.js +13 -2
- package/esm/browser/components/share-item-sheet.js +7 -1
- package/esm/browser/components/tab-title.d.ts +27 -0
- package/esm/browser/components/tab-title.js +35 -0
- package/esm/browser/components/use-composer-attachments.d.ts +28 -0
- package/esm/browser/components/use-composer-attachments.js +65 -0
- package/esm/browser/components/use-composer-files.d.ts +25 -0
- package/esm/browser/components/use-composer-files.js +52 -0
- package/esm/browser/components/web-composer.d.ts +3 -1
- package/esm/browser/components/web-composer.js +3 -2
- package/esm/browser/components/workbench-view.js +1 -0
- package/esm/browser/components/working-directory.js +2 -1
- package/esm/browser/device/drag-move.d.ts +21 -0
- package/esm/browser/device/drag-move.js +86 -0
- package/esm/browser/extension/icons.js +7 -1
- package/esm/browser/extension/web-api-desktop.d.ts +19 -0
- package/esm/browser/extension/web-api-menus.d.ts +19 -0
- package/esm/browser/extension/web-api-spec.js +2 -0
- package/esm/browser/extension/web-extension-api.d.ts +24 -23
- package/esm/browser/extension/web-extension-context.d.ts +1 -0
- package/esm/browser/extension/web-extension-context.js +12 -5
- package/esm/browser/extension/web-extension-run.js +1 -0
- package/esm/browser/extension/web-share-ui.d.ts +1 -1
- package/esm/browser/extension/web-share-ui.js +2 -0
- package/esm/browser/extension/web-share.d.ts +13 -0
- package/esm/browser/extension/web-share.js +37 -2
- package/esm/browser/i18n/en/account.d.ts +18 -0
- package/esm/browser/i18n/en/account.js +18 -0
- package/esm/browser/i18n/en/call.js +1 -1
- package/esm/browser/i18n/en/chat.d.ts +15 -0
- package/esm/browser/i18n/en/chat.js +16 -1
- package/esm/browser/i18n/en/common.d.ts +2 -0
- package/esm/browser/i18n/en/common.js +2 -0
- package/esm/browser/i18n/en/discover.d.ts +2 -0
- package/esm/browser/i18n/en/discover.js +2 -0
- package/esm/browser/i18n/en/settings.d.ts +17 -0
- package/esm/browser/i18n/en/settings.js +17 -0
- package/esm/browser/i18n/ja/account.js +18 -0
- package/esm/browser/i18n/ja/call.js +1 -1
- package/esm/browser/i18n/ja/chat.js +16 -1
- package/esm/browser/i18n/ja/common.js +2 -0
- package/esm/browser/i18n/ja/discover.js +3 -1
- package/esm/browser/i18n/ja/settings.js +17 -0
- package/esm/browser/i18n/locales.d.ts +55 -1
- package/esm/browser/i18n/messages.d.ts +54 -0
- package/esm/browser/i18n/zh/account.js +18 -0
- package/esm/browser/i18n/zh/call.js +1 -1
- package/esm/browser/i18n/zh/chat.js +16 -1
- package/esm/browser/i18n/zh/common.js +2 -0
- package/esm/browser/i18n/zh/discover.js +3 -1
- package/esm/browser/i18n/zh/settings.js +17 -0
- package/esm/browser/i18n/zh-tw/account.js +18 -0
- package/esm/browser/i18n/zh-tw/call.js +1 -1
- package/esm/browser/i18n/zh-tw/chat.js +16 -1
- package/esm/browser/i18n/zh-tw/common.js +2 -0
- package/esm/browser/i18n/zh-tw/discover.js +3 -1
- package/esm/browser/i18n/zh-tw/settings.js +17 -0
- package/esm/browser/offline/kept-chats.d.ts +3 -1
- package/esm/browser/offline/kept-chats.js +1 -1
- package/esm/browser/partners/group-picker.d.ts +3 -2
- package/esm/browser/partners/group-picker.js +8 -3
- package/esm/browser/sandbox/sandbox-runtime-code.js +1 -1
- package/esm/browser/sandbox/work/work-docs.js +5 -2
- package/esm/browser/sandbox/work/work-frame.d.ts +3 -0
- package/esm/browser/sandbox/work/work-frame.js +9 -3
- package/esm/browser/sandbox/work/work-gates.d.ts +77 -0
- package/esm/browser/sandbox/work/work-gates.js +182 -0
- package/esm/browser/settings/agent-settings.js +1 -1
- package/esm/browser/settings/navigation.d.ts +38 -10
- package/esm/browser/settings/navigation.js +73 -17
- package/esm/browser/settings/settings-protocol.d.ts +16 -1
- package/esm/browser/settings/settings-protocol.js +20 -2
- package/esm/browser/settings/settings.js +4 -1
- package/esm/browser/style/base.d.ts +1 -1
- package/esm/browser/style/base.js +15 -2
- package/esm/browser/style/chat-list.d.ts +1 -1
- package/esm/browser/style/chat-list.js +6 -3
- package/esm/browser/style/conversation-column.d.ts +1 -1
- package/esm/browser/style/conversation-column.js +28 -8
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +5 -0
- package/esm/browser/style/device.js +5 -0
- package/esm/browser/style/pages.d.ts +1 -1
- package/esm/browser/style/pages.js +3 -3
- package/esm/browser/style/shell.d.ts +1 -1
- package/esm/browser/style/shell.js +13 -6
- package/esm/browser/style/tasks.d.ts +1 -1
- package/esm/browser/style/tasks.js +4 -2
- package/esm/browser/util/chat-emoji.d.ts +44 -0
- package/esm/browser/util/chat-emoji.js +269 -0
- package/esm/browser/util/composer-drop.d.ts +26 -0
- package/esm/browser/util/composer-drop.js +40 -0
- package/esm/browser/util/composer-files.d.ts +48 -0
- package/esm/browser/util/composer-files.js +99 -0
- package/esm/browser/util/composer.d.ts +13 -1
- package/esm/browser/util/composer.js +24 -6
- package/esm/browser/util/markdown.d.ts +5 -0
- package/esm/browser/util/markdown.js +18 -0
- package/esm/browser/util/message.d.ts +6 -1
- package/esm/browser/util/message.js +13 -2
- package/esm/browser/util/process.d.ts +10 -13
- package/esm/browser/util/process.js +31 -83
- package/esm/browser/util/turn-join.d.ts +38 -0
- package/esm/browser/util/turn-join.js +119 -0
- package/esm/browser/workbench-services.js +1 -1
- package/lib/browser/account/account-side.js +4 -0
- package/lib/browser/account/device-account.d.ts +6 -0
- package/lib/browser/account/device-account.js +20 -5
- package/lib/browser/assistant/assistant-view.js +2 -0
- package/lib/browser/assistant/call-announcing.d.ts +26 -0
- package/lib/browser/assistant/call-announcing.js +36 -0
- package/lib/browser/assistant/call-answering.d.ts +44 -0
- package/lib/browser/assistant/call-answering.js +67 -0
- package/lib/browser/assistant/call-hearing.d.ts +54 -0
- package/lib/browser/assistant/call-hearing.js +102 -0
- package/lib/browser/assistant/call-pausing.d.ts +41 -0
- package/lib/browser/assistant/call-pausing.js +86 -0
- package/lib/browser/assistant/call-reading.d.ts +33 -0
- package/lib/browser/assistant/call-reading.js +39 -0
- package/lib/browser/assistant/call-revoicing.d.ts +34 -0
- package/lib/browser/assistant/call-revoicing.js +72 -0
- package/lib/browser/assistant/call-turns.d.ts +30 -0
- package/lib/browser/assistant/call-turns.js +37 -0
- package/lib/browser/assistant/spoken-answer.d.ts +22 -0
- package/lib/browser/assistant/spoken-answer.js +73 -0
- package/lib/browser/assistant/spoken-call.d.ts +8 -0
- package/lib/browser/assistant/spoken-call.js +19 -0
- package/lib/browser/assistant/voice-call-protocol.d.ts +5 -0
- package/lib/browser/assistant/voice-call.d.ts +47 -43
- package/lib/browser/assistant/voice-call.js +192 -218
- package/lib/browser/chat/chat-view.js +2 -1
- package/lib/browser/components/account-recovery-view.d.ts +12 -0
- package/lib/browser/components/account-recovery-view.js +117 -0
- package/lib/browser/components/account-view.d.ts +1 -2
- package/lib/browser/components/account-view.js +10 -1
- package/lib/browser/components/app-nav.js +19 -8
- package/lib/browser/components/app-shell-hooks.d.ts +5 -0
- package/lib/browser/components/app-shell-hooks.js +46 -0
- package/lib/browser/components/app-shell-state.js +1 -0
- package/lib/browser/components/app-view.js +8 -4
- package/lib/browser/components/chat-emoji.d.ts +36 -0
- package/lib/browser/components/chat-emoji.js +167 -0
- package/lib/browser/components/cloud-sign-in-view.d.ts +1 -1
- package/lib/browser/components/composer-attachments.d.ts +6 -0
- package/lib/browser/components/composer-attachments.js +12 -0
- package/lib/browser/components/composer-box-protocol.d.ts +15 -0
- package/lib/browser/components/composer-box.js +107 -84
- package/lib/browser/components/composer-drop-hooks.d.ts +27 -0
- package/lib/browser/components/composer-drop-hooks.js +72 -0
- package/lib/browser/components/composer-emoji.js +1 -1
- package/lib/browser/components/composer-faces.d.ts +17 -0
- package/lib/browser/components/composer-faces.js +73 -0
- package/lib/browser/components/composer-media.d.ts +10 -0
- package/lib/browser/components/composer-media.js +13 -0
- package/lib/browser/components/composer-target.d.ts +4 -0
- package/lib/browser/components/composer-target.js +18 -7
- package/lib/browser/components/composer-type-focus.d.ts +25 -0
- package/lib/browser/components/composer-type-focus.js +20 -0
- package/lib/browser/components/composer-voice.d.ts +25 -0
- package/lib/browser/components/composer-voice.js +73 -0
- package/lib/browser/components/composer.d.ts +2 -2
- package/lib/browser/components/composer.js +38 -7
- package/lib/browser/components/context-menu.js +2 -1
- package/lib/browser/components/emoji-panel.d.ts +11 -7
- package/lib/browser/components/emoji-panel.js +40 -22
- package/lib/browser/components/extension-settings.js +1 -1
- package/lib/browser/components/folder-new.d.ts +19 -0
- package/lib/browser/components/folder-new.js +90 -0
- package/lib/browser/components/folder-picker.d.ts +5 -2
- package/lib/browser/components/folder-picker.js +17 -5
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/image-menu.d.ts +8 -3
- package/lib/browser/components/image-menu.js +34 -9
- package/lib/browser/components/markdown.js +9 -2
- package/lib/browser/components/media.js +3 -2
- package/lib/browser/components/message-list.js +2 -2
- package/lib/browser/components/message-steps.js +20 -11
- package/lib/browser/components/message-user.js +1 -1
- package/lib/browser/components/moved-notice.js +2 -1
- package/lib/browser/components/nav-places.d.ts +2 -0
- package/lib/browser/components/nav-places.js +4 -2
- package/lib/browser/components/phone-shell.d.ts +2 -0
- package/lib/browser/components/phone-shell.js +5 -1
- package/lib/browser/components/secret-text.d.ts +1 -1
- package/lib/browser/components/secret-text.js +4 -3
- package/lib/browser/components/session-view.js +3 -0
- package/lib/browser/components/settings-choices.d.ts +2 -1
- package/lib/browser/components/settings-choices.js +12 -4
- package/lib/browser/components/settings-more.js +2 -2
- package/lib/browser/components/settings-parts.js +11 -0
- package/lib/browser/components/share-item-sheet.js +7 -1
- package/lib/browser/components/tab-title.d.ts +28 -0
- package/lib/browser/components/tab-title.js +38 -0
- package/lib/browser/components/use-composer-attachments.d.ts +29 -0
- package/lib/browser/components/use-composer-attachments.js +101 -0
- package/lib/browser/components/use-composer-files.d.ts +26 -0
- package/lib/browser/components/use-composer-files.js +88 -0
- package/lib/browser/components/web-composer.d.ts +3 -1
- package/lib/browser/components/web-composer.js +3 -2
- package/lib/browser/components/workbench-view.js +1 -0
- package/lib/browser/components/working-directory.js +2 -1
- package/lib/browser/device/drag-move.d.ts +22 -0
- package/lib/browser/device/drag-move.js +122 -0
- package/lib/browser/extension/icons.js +6 -0
- package/lib/browser/extension/web-api-desktop.d.ts +19 -0
- package/lib/browser/extension/web-api-menus.d.ts +19 -0
- package/lib/browser/extension/web-api-spec.js +2 -0
- package/lib/browser/extension/web-extension-api.d.ts +24 -23
- package/lib/browser/extension/web-extension-context.d.ts +1 -0
- package/lib/browser/extension/web-extension-context.js +12 -5
- package/lib/browser/extension/web-extension-run.js +1 -0
- package/lib/browser/extension/web-share-ui.d.ts +1 -1
- package/lib/browser/extension/web-share-ui.js +2 -0
- package/lib/browser/extension/web-share.d.ts +13 -0
- package/lib/browser/extension/web-share.js +37 -2
- package/lib/browser/i18n/en/account.d.ts +18 -0
- package/lib/browser/i18n/en/account.js +18 -0
- package/lib/browser/i18n/en/call.js +1 -1
- package/lib/browser/i18n/en/chat.d.ts +15 -0
- package/lib/browser/i18n/en/chat.js +16 -1
- package/lib/browser/i18n/en/common.d.ts +2 -0
- package/lib/browser/i18n/en/common.js +2 -0
- package/lib/browser/i18n/en/discover.d.ts +2 -0
- package/lib/browser/i18n/en/discover.js +2 -0
- package/lib/browser/i18n/en/settings.d.ts +17 -0
- package/lib/browser/i18n/en/settings.js +17 -0
- package/lib/browser/i18n/ja/account.js +18 -0
- package/lib/browser/i18n/ja/call.js +1 -1
- package/lib/browser/i18n/ja/chat.js +16 -1
- package/lib/browser/i18n/ja/common.js +2 -0
- package/lib/browser/i18n/ja/discover.js +3 -1
- package/lib/browser/i18n/ja/settings.js +17 -0
- package/lib/browser/i18n/locales.d.ts +55 -1
- package/lib/browser/i18n/messages.d.ts +54 -0
- package/lib/browser/i18n/zh/account.js +18 -0
- package/lib/browser/i18n/zh/call.js +1 -1
- package/lib/browser/i18n/zh/chat.js +16 -1
- package/lib/browser/i18n/zh/common.js +2 -0
- package/lib/browser/i18n/zh/discover.js +3 -1
- package/lib/browser/i18n/zh/settings.js +17 -0
- package/lib/browser/i18n/zh-tw/account.js +18 -0
- package/lib/browser/i18n/zh-tw/call.js +1 -1
- package/lib/browser/i18n/zh-tw/chat.js +16 -1
- package/lib/browser/i18n/zh-tw/common.js +2 -0
- package/lib/browser/i18n/zh-tw/discover.js +3 -1
- package/lib/browser/i18n/zh-tw/settings.js +17 -0
- package/lib/browser/offline/kept-chats.d.ts +3 -1
- package/lib/browser/offline/kept-chats.js +1 -1
- package/lib/browser/partners/group-picker.d.ts +3 -2
- package/lib/browser/partners/group-picker.js +8 -3
- package/lib/browser/sandbox/sandbox-runtime-code.js +1 -1
- package/lib/browser/sandbox/work/work-docs.js +5 -2
- package/lib/browser/sandbox/work/work-frame.d.ts +3 -0
- package/lib/browser/sandbox/work/work-frame.js +9 -3
- package/lib/browser/sandbox/work/work-gates.d.ts +78 -0
- package/lib/browser/sandbox/work/work-gates.js +185 -0
- package/lib/browser/settings/agent-settings.js +1 -1
- package/lib/browser/settings/navigation.d.ts +38 -10
- package/lib/browser/settings/navigation.js +74 -18
- package/lib/browser/settings/settings-protocol.d.ts +16 -1
- package/lib/browser/settings/settings-protocol.js +21 -3
- package/lib/browser/settings/settings.js +3 -0
- package/lib/browser/style/base.d.ts +1 -1
- package/lib/browser/style/base.js +15 -2
- package/lib/browser/style/chat-list.d.ts +1 -1
- package/lib/browser/style/chat-list.js +6 -3
- package/lib/browser/style/conversation-column.d.ts +1 -1
- package/lib/browser/style/conversation-column.js +28 -8
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +5 -0
- package/lib/browser/style/device.js +5 -0
- package/lib/browser/style/pages.d.ts +1 -1
- package/lib/browser/style/pages.js +3 -3
- package/lib/browser/style/shell.d.ts +1 -1
- package/lib/browser/style/shell.js +13 -6
- package/lib/browser/style/tasks.d.ts +1 -1
- package/lib/browser/style/tasks.js +4 -2
- package/lib/browser/util/chat-emoji.d.ts +45 -0
- package/lib/browser/util/chat-emoji.js +272 -0
- package/lib/browser/util/composer-drop.d.ts +27 -0
- package/lib/browser/util/composer-drop.js +43 -0
- package/lib/browser/util/composer-files.d.ts +49 -0
- package/lib/browser/util/composer-files.js +102 -0
- package/lib/browser/util/composer.d.ts +13 -1
- package/lib/browser/util/composer.js +24 -6
- package/lib/browser/util/markdown.d.ts +5 -0
- package/lib/browser/util/markdown.js +18 -0
- package/lib/browser/util/message.d.ts +6 -1
- package/lib/browser/util/message.js +13 -2
- package/lib/browser/util/process.d.ts +10 -13
- package/lib/browser/util/process.js +32 -84
- package/lib/browser/util/turn-join.d.ts +39 -0
- package/lib/browser/util/turn-join.js +122 -0
- package/lib/browser/workbench-services.js +1 -1
- package/package.json +7 -7
- package/public/emoji/wechat-v1.webp +0 -0
|
@@ -15,6 +15,8 @@ export const CHAT_ZH = {
|
|
|
15
15
|
'ta.chat.draft': '草稿',
|
|
16
16
|
'ta.chat.asksCount': '{count} 个待你决定',
|
|
17
17
|
'ta.chat.unseenCount': '{count} 条新消息',
|
|
18
|
+
'ta.tab.todo': '{count} 件待办',
|
|
19
|
+
'ta.tab.urgent': '{count} 件紧急',
|
|
18
20
|
'ta.chat.letGo': '不用决定了',
|
|
19
21
|
'ta.chat.toAsk': '等你决定:{question}',
|
|
20
22
|
'ta.chat.removed': '已移除({count})',
|
|
@@ -79,6 +81,8 @@ export const CHAT_ZH = {
|
|
|
79
81
|
'ta.message.pictureSeen': '图 {n} · {what}',
|
|
80
82
|
'ta.message.steered': '插话',
|
|
81
83
|
'ta.message.steeredTitle': '在它工作时发的:它跑完手头的工具后读到,接着按这句继续',
|
|
84
|
+
'ta.message.wentOn': '接着说',
|
|
85
|
+
'ta.message.wentOnTitle': '停下之后发的:从这儿接着做,前面的工作在同一个上下文里',
|
|
82
86
|
'ta.message.queued': '排队',
|
|
83
87
|
'ta.message.queuedTitle': '在它工作时发的:等它回复完才发出',
|
|
84
88
|
'ta.message.branch': '另一分支的摘要',
|
|
@@ -121,7 +125,12 @@ export const CHAT_ZH = {
|
|
|
121
125
|
'ta.folder.path': '目录路径,回车跳转',
|
|
122
126
|
'ta.folder.up': '上一级',
|
|
123
127
|
'ta.folder.type': '输入路径',
|
|
124
|
-
'ta.folder.empty': '
|
|
128
|
+
'ta.folder.empty': '空目录,可直接使用或新建子目录',
|
|
129
|
+
'ta.folder.new': '新建文件夹',
|
|
130
|
+
'ta.folder.newName': '文件夹名称',
|
|
131
|
+
'ta.folder.newConfirm': '创建',
|
|
132
|
+
'ta.folder.newInvalid': '名称里不能有 / 或 \\,也不能是 . 或 ..',
|
|
133
|
+
'ta.folder.newExists': '这里已经有 {name} 了',
|
|
125
134
|
'ta.folder.failed': '打不开 {path}。',
|
|
126
135
|
'ta.folder.open': '使用此目录',
|
|
127
136
|
'ta.chat.search': '搜索对话',
|
|
@@ -202,6 +211,8 @@ export const CHAT_ZH = {
|
|
|
202
211
|
'ta.composer.camera': '拍照',
|
|
203
212
|
'ta.composer.more': '添加与设置',
|
|
204
213
|
'ta.composer.emoji': '表情',
|
|
214
|
+
'ta.composer.emojiRecent': '最近使用',
|
|
215
|
+
'ta.composer.emojiAll': '所有表情',
|
|
205
216
|
'ta.composer.deleteBack': '删除',
|
|
206
217
|
'ta.composer.page': '第 {page} 页',
|
|
207
218
|
'ta.composer.mentionFile': '引用文件',
|
|
@@ -215,6 +226,10 @@ export const CHAT_ZH = {
|
|
|
215
226
|
'ta.composer.image.type': '{name} 不是 Ta 能发送的图片:仅支持 PNG、JPEG、GIF、WebP。',
|
|
216
227
|
'ta.composer.image.size': '{name} 超过 5 MB。',
|
|
217
228
|
'ta.composer.image.count': '每条消息最多 8 张图片。',
|
|
229
|
+
'ta.composer.addFile': '上传文件',
|
|
230
|
+
'ta.composer.removeFile': '移除文件',
|
|
231
|
+
'ta.composer.file.noDir': '文件会存到对话的工作目录,请先选好目录。',
|
|
232
|
+
'ta.composer.file.size': '{name} 超过 {mb} MB。',
|
|
218
233
|
'ta.composer.filesUnavailable': '此服务暂不支持搜索文件',
|
|
219
234
|
'ta.composer.filter': '搜索',
|
|
220
235
|
'ta.composer.noMatch': '没有匹配的项',
|
|
@@ -33,6 +33,8 @@ export const COMMON_ZH = {
|
|
|
33
33
|
'ta.zoom.copy': '复制图片',
|
|
34
34
|
'ta.zoom.copyFailed': '图片复制失败',
|
|
35
35
|
'ta.image.copied': '图片已复制',
|
|
36
|
+
'ta.image.forward': '转发',
|
|
37
|
+
'ta.image.share': '分享',
|
|
36
38
|
'ta.zoom.loading': '加载中…',
|
|
37
39
|
'ta.zoom.previous': '上一张(←)',
|
|
38
40
|
'ta.zoom.next': '下一张(→)',
|
|
@@ -16,6 +16,7 @@ export const DISCOVER_ZH = {
|
|
|
16
16
|
'ta.partners.pickLeadWith': '选要拉进来的人,和你、{name}另建一个群聊;这个对话不变。',
|
|
17
17
|
'ta.partners.pickNone': '还没有智能体或好友',
|
|
18
18
|
'ta.partners.pickChat': '发消息',
|
|
19
|
+
'ta.partners.pickGroup': '建群聊',
|
|
19
20
|
'ta.partners.pickDone': '完成({count})',
|
|
20
21
|
'ta.partners.pickCannot': '建不了这个群聊:有好友的群聊需要 Ta 的好友功能。',
|
|
21
22
|
'ta.partners.infoAgent': '资料与设置',
|
|
@@ -60,6 +61,7 @@ export const DISCOVER_ZH = {
|
|
|
60
61
|
'ta.share.thing': '这个',
|
|
61
62
|
'ta.share.itemWork': '选择分享到哪里',
|
|
62
63
|
'ta.share.itemFile': '发出去的是文件现在的副本',
|
|
64
|
+
'ta.share.itemMedia': '发出去的是它现在的副本',
|
|
63
65
|
'ta.share.noWay': '这里还没有能分享到的地方',
|
|
64
66
|
'ta.open.title': '打开“{name}”?',
|
|
65
67
|
'ta.open.published': '扩展在 Ta 里运行,能做 Ta 能做的事:读写这台电脑上的文件、运行命令。只打开你信任的来源。',
|
|
@@ -96,7 +98,7 @@ export const DISCOVER_ZH = {
|
|
|
96
98
|
'ta.launcher.place.list': '在列表里',
|
|
97
99
|
'ta.discover.all': '所有功能',
|
|
98
100
|
'ta.discover.showAll': '在发现里列出所有功能',
|
|
99
|
-
'ta.discover.allHint': '
|
|
101
|
+
'ta.discover.allHint': '用过的功能会自动出现在发现,30 天没用再回到这里。',
|
|
100
102
|
'ta.discover.empty': '这里还没有功能',
|
|
101
103
|
'ta.discover.emptyHint': '扩展提供的功能都收在这里',
|
|
102
104
|
'ta.discover.hint': '右键点功能可以放到导航栏。',
|
|
@@ -75,6 +75,11 @@ export const SETTINGS_ZH = {
|
|
|
75
75
|
'ta.settings.fontSize.standard': '标准',
|
|
76
76
|
'ta.settings.fontSize.large': '大',
|
|
77
77
|
'ta.settings.fontSize.xlarge': '特大',
|
|
78
|
+
'ta.settings.pageWidth': '页面宽度',
|
|
79
|
+
'ta.settings.pageWidthHint': '设置、发现和扩展页面内容的宽度。',
|
|
80
|
+
'ta.settings.pageWidth.standard': '标准',
|
|
81
|
+
'ta.settings.pageWidth.wide': '宽',
|
|
82
|
+
'ta.settings.pageWidth.wider': '更宽',
|
|
78
83
|
'ta.settings.server': '服务',
|
|
79
84
|
'ta.settings.version': '版本',
|
|
80
85
|
'ta.settings.files': '配置文件',
|
|
@@ -148,6 +153,10 @@ export const SETTINGS_ZH = {
|
|
|
148
153
|
'ta.settings.chats': '对话列表',
|
|
149
154
|
'ta.settings.chatFold': '折叠旧对话',
|
|
150
155
|
'ta.settings.chatFoldHint': '超过这个时间没有新消息的对话折叠在列表(或所在目录)的末尾',
|
|
156
|
+
'ta.settings.tabTitle': '标签页的名字',
|
|
157
|
+
'ta.settings.tabTitleHint': '浏览器标签页上显示的名字,也能看出这是哪一个 Ta;留空就是 Ta',
|
|
158
|
+
'ta.settings.tabCounts': '标签页显示数量',
|
|
159
|
+
'ta.settings.tabCountsHint': '标签页上同时显示还有几件待办、几件等你决定;没有未读消息时也这样显示',
|
|
151
160
|
'ta.settings.chatArchive': '归档旧对话',
|
|
152
161
|
'ta.settings.chatArchiveHint': '超过这个时间没有新消息的对话移出列表,不再随列表刷新;在列表末尾的“已归档”或搜索中找回',
|
|
153
162
|
'ta.settings.recentShots': '提示最近的截图',
|
|
@@ -163,6 +172,8 @@ export const SETTINGS_ZH = {
|
|
|
163
172
|
'ta.settings.allFeaturesHint': '发现里列出全部功能,设置里显示全部分组;关掉时只放常用的和你用过的',
|
|
164
173
|
'ta.settings.more': '更多设置',
|
|
165
174
|
'ta.settings.navigation': '导航栏',
|
|
175
|
+
'ta.settings.navigation.tabs': '手机底部标签数',
|
|
176
|
+
'ta.settings.navigation.tabsHint': '多出的页收在发现里',
|
|
166
177
|
'ta.settings.navigation.show': '显示在导航栏',
|
|
167
178
|
'ta.settings.navigation.inNav': '在导航栏',
|
|
168
179
|
'ta.settings.navigation.folded': '收在发现',
|
|
@@ -251,6 +262,12 @@ export const SETTINGS_ZH = {
|
|
|
251
262
|
'ta.setting.context.fold.hint': '对话前面较大的工具输出,发给模型时只留开头,记录里仍完整保存。外部智能体不受影响。',
|
|
252
263
|
'ta.setting.context.fold.on': '开',
|
|
253
264
|
'ta.setting.context.fold.off': '关',
|
|
265
|
+
'ta.setting.asks.ttl': '待你决定保留多久',
|
|
266
|
+
'ta.setting.asks.ttl.hint': '对话里的提问在这个时间内算作待你决定,首页、手表都会列出来;过期的自动收起,提问本身还留在对话里。',
|
|
267
|
+
'ta.setting.asks.ttl.24': '一天',
|
|
268
|
+
'ta.setting.asks.ttl.72': '三天',
|
|
269
|
+
'ta.setting.asks.ttl.168': '一周',
|
|
270
|
+
'ta.setting.asks.ttl.0': '一直保留',
|
|
254
271
|
'ta.setting.compaction.enabled': '兜底压缩',
|
|
255
272
|
'ta.setting.compaction.enabled.hint': '一轮还没做完上下文就满了时,由模型总结前文。',
|
|
256
273
|
'ta.setting.compaction.reserveTokens': '预留 token',
|
|
@@ -94,6 +94,24 @@ export const ACCOUNT_ZH_TW = {
|
|
|
94
94
|
'ta.auth.hintRemote': '憑據只儲存在執行 Ta 的機器上。',
|
|
95
95
|
'ta.auth.later': '稍後再說',
|
|
96
96
|
'ta.myDevices.title': '我的裝置',
|
|
97
|
+
'ta.recovery.title': '恢復碼',
|
|
98
|
+
'ta.recovery.hint': '電腦丟了,在新電腦上登入帳號後輸入這串碼,好友和群聊就回到原來的樣子。',
|
|
99
|
+
'ta.recovery.make': '產生恢復碼',
|
|
100
|
+
'ta.recovery.makeHint': '現在產生會替換之前的恢復碼。',
|
|
101
|
+
'ta.recovery.show': '抄下來,放在這台電腦以外的地方:{code}',
|
|
102
|
+
'ta.recovery.saved': '已抄好',
|
|
103
|
+
'ta.recovery.made': '{time} 產生。加密儲存在你的帳號裡,Ta 也讀不了。',
|
|
104
|
+
'ta.recovery.none': '還沒有恢復碼:這台電腦丟了,上面的好友和群聊就沒了。',
|
|
105
|
+
'ta.recovery.drop': '取消恢復碼',
|
|
106
|
+
'ta.recovery.dropConfirm': '取消恢復碼?好友和群聊將不再儲存在你的帳號裡。',
|
|
107
|
+
'ta.recovery.replaced': '恢復碼已在另一台電腦上重新產生,這台電腦的舊碼打不開了。請在這裡重新產生。',
|
|
108
|
+
'ta.recovery.restore': '有恢復碼?',
|
|
109
|
+
'ta.recovery.code': '恢復碼',
|
|
110
|
+
'ta.recovery.placeholder': 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX',
|
|
111
|
+
'ta.recovery.restoreNow': '找回好友和群聊',
|
|
112
|
+
'ta.recovery.restored': '已找回 {friends} 位好友、{rooms} 個群聊。',
|
|
113
|
+
'ta.recovery.failed': '這串碼打不開這個帳號的備份。',
|
|
114
|
+
'ta.recovery.kept': '已儲存於 {time}',
|
|
97
115
|
'ta.myDevices.hint': '電腦和手機登入同一個帳號,彼此自動出現,不用掃碼。',
|
|
98
116
|
'ta.myDevices.signInWith': '使用 {name} 登入',
|
|
99
117
|
'ta.myDevices.enterCode': '在 {name} 輸入這串碼',
|
|
@@ -22,7 +22,7 @@ export const CALL_ZH_TW = {
|
|
|
22
22
|
'ta.call.speaking': 'Ta 在說',
|
|
23
23
|
'ta.call.me': '我',
|
|
24
24
|
'ta.call.onScreen': '其餘的看螢幕。',
|
|
25
|
-
'ta.call.waitsDialog': 'Ta 在等你確認:{title}',
|
|
25
|
+
'ta.call.waitsDialog': 'Ta 在等你確認:{title}。直接說「好」或「不要」就行。',
|
|
26
26
|
'ta.call.waitsAsk': '待你決定:{title}',
|
|
27
27
|
'ta.call.taskDone': '任務完成了:{title}',
|
|
28
28
|
'ta.call.taskFailed': '任務沒完成:{title}',
|
|
@@ -15,6 +15,8 @@ export const CHAT_ZH_TW = {
|
|
|
15
15
|
'ta.chat.draft': '草稿',
|
|
16
16
|
'ta.chat.asksCount': '{count} 個待你決定',
|
|
17
17
|
'ta.chat.unseenCount': '{count} 則新訊息',
|
|
18
|
+
'ta.tab.todo': '{count} 件待辦',
|
|
19
|
+
'ta.tab.urgent': '{count} 件緊急',
|
|
18
20
|
'ta.chat.letGo': '不用決定了',
|
|
19
21
|
'ta.chat.toAsk': '等你決定:{question}',
|
|
20
22
|
'ta.chat.removed': '已移除({count})',
|
|
@@ -79,6 +81,8 @@ export const CHAT_ZH_TW = {
|
|
|
79
81
|
'ta.message.pictureSeen': '圖 {n} · {what}',
|
|
80
82
|
'ta.message.steered': '插話',
|
|
81
83
|
'ta.message.steeredTitle': '在它工作時發的:它跑完手頭的工具後讀到,接著按這句繼續',
|
|
84
|
+
'ta.message.wentOn': '接著說',
|
|
85
|
+
'ta.message.wentOnTitle': '停下之後發的:從這裡接著做,前面的工作在同一個上下文裡',
|
|
82
86
|
'ta.message.queued': '排隊',
|
|
83
87
|
'ta.message.queuedTitle': '在它工作時發的:等它回覆完才發出',
|
|
84
88
|
'ta.message.branch': '另一分支的摘要',
|
|
@@ -121,7 +125,12 @@ export const CHAT_ZH_TW = {
|
|
|
121
125
|
'ta.folder.path': '目錄路徑,回車跳轉',
|
|
122
126
|
'ta.folder.up': '上一級',
|
|
123
127
|
'ta.folder.type': '輸入路徑',
|
|
124
|
-
'ta.folder.empty': '
|
|
128
|
+
'ta.folder.empty': '空目錄,可直接使用或新建子目錄',
|
|
129
|
+
'ta.folder.new': '新建資料夾',
|
|
130
|
+
'ta.folder.newName': '資料夾名稱',
|
|
131
|
+
'ta.folder.newConfirm': '建立',
|
|
132
|
+
'ta.folder.newInvalid': '名稱裡不能有 / 或 \\,也不能是 . 或 ..',
|
|
133
|
+
'ta.folder.newExists': '這裡已經有 {name} 了',
|
|
125
134
|
'ta.folder.failed': '打不開 {path}。',
|
|
126
135
|
'ta.folder.open': '使用此目錄',
|
|
127
136
|
'ta.chat.search': '搜尋對話',
|
|
@@ -202,6 +211,8 @@ export const CHAT_ZH_TW = {
|
|
|
202
211
|
'ta.composer.camera': '拍照',
|
|
203
212
|
'ta.composer.more': '新增與設定',
|
|
204
213
|
'ta.composer.emoji': '表情',
|
|
214
|
+
'ta.composer.emojiRecent': '最近使用',
|
|
215
|
+
'ta.composer.emojiAll': '所有表情',
|
|
205
216
|
'ta.composer.deleteBack': '刪除',
|
|
206
217
|
'ta.composer.page': '第 {page} 頁',
|
|
207
218
|
'ta.composer.mentionFile': '引用檔案',
|
|
@@ -215,6 +226,10 @@ export const CHAT_ZH_TW = {
|
|
|
215
226
|
'ta.composer.image.type': '{name} 不是 Ta 能傳送的圖片:僅支援 PNG、JPEG、GIF、WebP。',
|
|
216
227
|
'ta.composer.image.size': '{name} 超過 5 MB。',
|
|
217
228
|
'ta.composer.image.count': '每條訊息最多 8 張圖片。',
|
|
229
|
+
'ta.composer.addFile': '上傳檔案',
|
|
230
|
+
'ta.composer.removeFile': '移除檔案',
|
|
231
|
+
'ta.composer.file.noDir': '檔案會存到對話的工作目錄,請先選好目錄。',
|
|
232
|
+
'ta.composer.file.size': '{name} 超過 {mb} MB。',
|
|
218
233
|
'ta.composer.filesUnavailable': '此服務暫不支援搜尋檔案',
|
|
219
234
|
'ta.composer.filter': '搜尋',
|
|
220
235
|
'ta.composer.noMatch': '沒有匹配的項',
|
|
@@ -33,6 +33,8 @@ export const COMMON_ZH_TW = {
|
|
|
33
33
|
'ta.zoom.copy': '複製圖片',
|
|
34
34
|
'ta.zoom.copyFailed': '圖片複製失敗',
|
|
35
35
|
'ta.image.copied': '圖片已複製',
|
|
36
|
+
'ta.image.forward': '轉發',
|
|
37
|
+
'ta.image.share': '分享',
|
|
36
38
|
'ta.zoom.loading': '載入中…',
|
|
37
39
|
'ta.zoom.previous': '上一張(←)',
|
|
38
40
|
'ta.zoom.next': '下一張(→)',
|
|
@@ -16,6 +16,7 @@ export const DISCOVER_ZH_TW = {
|
|
|
16
16
|
'ta.partners.pickLeadWith': '選要拉進來的人,和你、{name}另建一個群聊;這個對話不變。',
|
|
17
17
|
'ta.partners.pickNone': '還沒有智慧體或好友',
|
|
18
18
|
'ta.partners.pickChat': '發訊息',
|
|
19
|
+
'ta.partners.pickGroup': '建群聊',
|
|
19
20
|
'ta.partners.pickDone': '完成({count})',
|
|
20
21
|
'ta.partners.pickCannot': '建不了這個群聊:有好友的群聊需要 Ta 的好友功能。',
|
|
21
22
|
'ta.partners.infoAgent': '資料與設定',
|
|
@@ -60,6 +61,7 @@ export const DISCOVER_ZH_TW = {
|
|
|
60
61
|
'ta.share.thing': '這個',
|
|
61
62
|
'ta.share.itemWork': '選擇分享到哪裡',
|
|
62
63
|
'ta.share.itemFile': '送出去的是檔案現在的副本',
|
|
64
|
+
'ta.share.itemMedia': '送出去的是它現在的副本',
|
|
63
65
|
'ta.share.noWay': '這裡還沒有能分享到的地方',
|
|
64
66
|
'ta.open.title': '開啟「{name}」?',
|
|
65
67
|
'ta.open.published': '擴充功能在 Ta 裡執行,能做 Ta 能做的事:讀寫這台電腦上的檔案、執行命令。只打開你信任的來源。',
|
|
@@ -96,7 +98,7 @@ export const DISCOVER_ZH_TW = {
|
|
|
96
98
|
'ta.launcher.place.list': '在列表裡',
|
|
97
99
|
'ta.discover.all': '所有功能',
|
|
98
100
|
'ta.discover.showAll': '在發現裡列出所有功能',
|
|
99
|
-
'ta.discover.allHint': '
|
|
101
|
+
'ta.discover.allHint': '用過的功能會自動出現在發現,30 天沒用再回到這裡。',
|
|
100
102
|
'ta.discover.empty': '這裡還沒有功能',
|
|
101
103
|
'ta.discover.emptyHint': '擴充功能提供的功能都收在這裡',
|
|
102
104
|
'ta.discover.hint': '在功能上按右鍵可以放到導航欄。',
|
|
@@ -75,6 +75,11 @@ export const SETTINGS_ZH_TW = {
|
|
|
75
75
|
'ta.settings.fontSize.standard': '標準',
|
|
76
76
|
'ta.settings.fontSize.large': '大',
|
|
77
77
|
'ta.settings.fontSize.xlarge': '特大',
|
|
78
|
+
'ta.settings.pageWidth': '頁面寬度',
|
|
79
|
+
'ta.settings.pageWidthHint': '設定、探索和擴充功能頁面內容的寬度。',
|
|
80
|
+
'ta.settings.pageWidth.standard': '標準',
|
|
81
|
+
'ta.settings.pageWidth.wide': '寬',
|
|
82
|
+
'ta.settings.pageWidth.wider': '更寬',
|
|
78
83
|
'ta.settings.server': '服務',
|
|
79
84
|
'ta.settings.version': '版本',
|
|
80
85
|
'ta.settings.files': '設定檔',
|
|
@@ -145,6 +150,10 @@ export const SETTINGS_ZH_TW = {
|
|
|
145
150
|
'ta.settings.days': '{count} 天',
|
|
146
151
|
'ta.settings.never': '從不',
|
|
147
152
|
'ta.settings.oneYear': '1 年',
|
|
153
|
+
'ta.settings.tabTitle': '分頁的名字',
|
|
154
|
+
'ta.settings.tabTitleHint': '瀏覽器分頁上顯示的名字,也能看出這是哪一個 Ta;留空就是 Ta',
|
|
155
|
+
'ta.settings.tabCounts': '分頁顯示數量',
|
|
156
|
+
'ta.settings.tabCountsHint': '分頁上同時顯示還有幾件待辦、幾件等你決定;沒有未讀訊息時也這樣顯示',
|
|
148
157
|
'ta.settings.chats': '對話列表',
|
|
149
158
|
'ta.settings.chatFold': '摺疊舊對話',
|
|
150
159
|
'ta.settings.chatFoldHint': '超過這個時間沒有新訊息的對話摺疊在列表(或所在目錄)的末尾',
|
|
@@ -163,6 +172,8 @@ export const SETTINGS_ZH_TW = {
|
|
|
163
172
|
'ta.settings.allFeaturesHint': '發現裡列出全部功能,設定裡顯示全部分組;關掉時只放常用的和你用過的',
|
|
164
173
|
'ta.settings.more': '更多設定',
|
|
165
174
|
'ta.settings.navigation': '導航欄',
|
|
175
|
+
'ta.settings.navigation.tabs': '手機底部標籤數',
|
|
176
|
+
'ta.settings.navigation.tabsHint': '多出的頁收在發現裡',
|
|
166
177
|
'ta.settings.navigation.show': '顯示在導航欄',
|
|
167
178
|
'ta.settings.navigation.inNav': '在導航欄',
|
|
168
179
|
'ta.settings.navigation.folded': '收在發現',
|
|
@@ -251,6 +262,12 @@ export const SETTINGS_ZH_TW = {
|
|
|
251
262
|
'ta.setting.context.fold.hint': '對話前面較大的工具輸出,送給模型時只留開頭,記錄裡仍完整保存。外部智慧體不受影響。',
|
|
252
263
|
'ta.setting.context.fold.on': '開',
|
|
253
264
|
'ta.setting.context.fold.off': '關',
|
|
265
|
+
'ta.setting.asks.ttl': '待你決定保留多久',
|
|
266
|
+
'ta.setting.asks.ttl.hint': '對話裡的提問在這個時間內算作待你決定,首頁、手錶都會列出;過期的自動收起,提問本身還留在對話裡。',
|
|
267
|
+
'ta.setting.asks.ttl.24': '一天',
|
|
268
|
+
'ta.setting.asks.ttl.72': '三天',
|
|
269
|
+
'ta.setting.asks.ttl.168': '一週',
|
|
270
|
+
'ta.setting.asks.ttl.0': '一直保留',
|
|
254
271
|
'ta.setting.compaction.enabled': '兜底壓縮',
|
|
255
272
|
'ta.setting.compaction.enabled.hint': '一輪還沒做完上下文就滿了時,由模型總結前文。',
|
|
256
273
|
'ta.setting.compaction.reserveTokens': '預留 token',
|
|
@@ -13,7 +13,9 @@ export declare namespace KeptChatUtil {
|
|
|
13
13
|
* when one is among them (not the result of a call without the call), and the calls of its last run.
|
|
14
14
|
* Not those sent from here that the session does not have (`outbox`). None when there is nothing to keep.
|
|
15
15
|
*/
|
|
16
|
-
function snapshot(state: Pick<SessionState, 'messages' | 'start' | 'tools' | 'outbox'
|
|
16
|
+
function snapshot(state: Pick<SessionState, 'messages' | 'start' | 'tools' | 'outbox'> & {
|
|
17
|
+
working?: boolean;
|
|
18
|
+
}, bytes: number): SessionSnapshot | undefined;
|
|
17
19
|
/** The files kept, the one seen now last, with those past `count` (seen longest ago) apart. */
|
|
18
20
|
function seen(files: readonly string[], file: string, count: number): {
|
|
19
21
|
files: string[];
|
|
@@ -46,7 +46,7 @@ export var KeptChatUtil;
|
|
|
46
46
|
if (from >= messages.length) {
|
|
47
47
|
return undefined;
|
|
48
48
|
}
|
|
49
|
-
return { messages: from ? messages.slice(from) : messages, start: start + from, tools };
|
|
49
|
+
return { messages: from ? messages.slice(from) : messages, start: start + from, tools, ...(state.working ? { working: true } : {}) };
|
|
50
50
|
}
|
|
51
51
|
KeptChatUtil.snapshot = snapshot;
|
|
52
52
|
/** The files kept, the one seen now last, with those past `count` (seen longest ago) apart. */
|
|
@@ -4,8 +4,9 @@ import type { TaWebExtensions } from '../extension/web-extension-protocol.js';
|
|
|
4
4
|
/**
|
|
5
5
|
* Starts a chat as a messenger does (docs/design/ta-partners.md): the user picks among their agents and friends; one is
|
|
6
6
|
* the conversation with them, two or more a group chat, made by the first extension that makes one of them (the
|
|
7
|
-
* user's own agents alone, a group chat of their own; with friends, one on the relay).
|
|
8
|
-
*
|
|
7
|
+
* user's own agents alone, a group chat of their own; with friends, one on the relay). One picked may make a group chat
|
|
8
|
+
* of two still, by the button beside (a group of two to grow later, its notice and tasks). From a chat with one, they are
|
|
9
|
+
* picked already, and one more makes a new group chat.
|
|
9
10
|
*/
|
|
10
11
|
export declare function GroupPicker({ host, with: fixed, close }: {
|
|
11
12
|
host: TaWebExtensions;
|
|
@@ -8,8 +8,9 @@ import { usePartners } from './partners-view.js';
|
|
|
8
8
|
/**
|
|
9
9
|
* Starts a chat as a messenger does (docs/design/ta-partners.md): the user picks among their agents and friends; one is
|
|
10
10
|
* the conversation with them, two or more a group chat, made by the first extension that makes one of them (the
|
|
11
|
-
* user's own agents alone, a group chat of their own; with friends, one on the relay).
|
|
12
|
-
*
|
|
11
|
+
* user's own agents alone, a group chat of their own; with friends, one on the relay). One picked may make a group chat
|
|
12
|
+
* of two still, by the button beside (a group of two to grow later, its notice and tasks). From a chat with one, they are
|
|
13
|
+
* picked already, and one more makes a new group chat.
|
|
13
14
|
*/
|
|
14
15
|
export function GroupPicker({ host, with: fixed, close }) {
|
|
15
16
|
const t = useT();
|
|
@@ -21,12 +22,15 @@ export function GroupPicker({ host, with: fixed, close }) {
|
|
|
21
22
|
const alone = !fixed && picked.length === 1;
|
|
22
23
|
const enough = picked.length >= (fixed ? 2 : 1);
|
|
23
24
|
const done = async () => {
|
|
24
|
-
var _a;
|
|
25
25
|
if (alone) {
|
|
26
26
|
close();
|
|
27
27
|
await host.openHome(picked[0]);
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
|
+
await group();
|
|
31
|
+
};
|
|
32
|
+
const group = async () => {
|
|
33
|
+
var _a;
|
|
30
34
|
setError(undefined);
|
|
31
35
|
try {
|
|
32
36
|
for (const { source } of host.partners.sourceList()) {
|
|
@@ -54,6 +58,7 @@ export function GroupPicker({ host, with: fixed, close }) {
|
|
|
54
58
|
React.createElement(PeoplePicker, { people: people, value: chosen, onChange: setChosen, disabled: busy, empty: t('ta.partners.pickNone') }),
|
|
55
59
|
error && React.createElement("p", { className: "ta-picker-error" }, error),
|
|
56
60
|
React.createElement("div", { className: "ta-dialog-actions" },
|
|
61
|
+
alone && (React.createElement("button", { type: "button", className: "ta-button", disabled: busy, onClick: () => void run(group) }, t('ta.partners.pickGroup'))),
|
|
57
62
|
React.createElement("button", { type: "button", className: `ta-button ta-primary${busy ? ' ta-busy' : ''}`, disabled: busy || !enough, onClick: () => void run(done) },
|
|
58
63
|
busy && React.createElement("span", { className: "ta-spinner ta-busy-mark" }),
|
|
59
64
|
React.createElement("span", null, alone ? t('ta.partners.pickChat') : t('ta.partners.pickDone', { count: picked.length + 1 })))))));
|