@celljs/ta-web 4.10.0 → 4.12.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 +7 -7
- package/README.md +7 -7
- package/esm/browser/assistant/assistant-chat-list.d.ts +11 -0
- package/esm/browser/assistant/assistant-chat-list.js +12 -0
- package/esm/browser/assistant/assistant-extension.js +5 -0
- package/esm/browser/assistant/assistant-protocol.d.ts +2 -1
- package/esm/browser/assistant/assistant-task-book.d.ts +12 -2
- package/esm/browser/assistant/assistant-task-book.js +23 -4
- package/esm/browser/assistant/assistant-task-source.d.ts +1 -1
- package/esm/browser/assistant/assistant-task-source.js +5 -10
- package/esm/browser/assistant/assistant-task-util.d.ts +13 -3
- package/esm/browser/assistant/assistant-task-util.js +59 -12
- package/esm/browser/assistant/assistant-view.js +48 -24
- package/esm/browser/assistant/assistant.d.ts +18 -4
- package/esm/browser/assistant/assistant.js +52 -17
- package/esm/browser/avatar/dino-face.js +1 -2
- package/esm/browser/chat/chat-protocol.d.ts +5 -0
- package/esm/browser/chat/chat-stores.d.ts +8 -5
- package/esm/browser/chat/chat-stores.js +17 -9
- package/esm/browser/chat/chat-view.js +23 -15
- package/esm/browser/chat/chat.d.ts +16 -8
- package/esm/browser/chat/chat.js +86 -51
- package/esm/browser/components/account-menu.d.ts +0 -2
- package/esm/browser/components/account-menu.js +1 -27
- package/esm/browser/components/agent-settings-view.d.ts +3 -2
- package/esm/browser/components/agent-settings-view.js +2 -1
- package/esm/browser/components/app-nav.d.ts +5 -2
- package/esm/browser/components/app-nav.js +22 -9
- package/esm/browser/components/app-shell-hooks.js +5 -3
- package/esm/browser/components/app-view.js +84 -20
- package/esm/browser/components/busy.d.ts +25 -0
- package/esm/browser/components/busy.js +52 -0
- package/esm/browser/components/chat-icon.d.ts +29 -0
- package/esm/browser/components/chat-icon.js +78 -0
- package/esm/browser/components/chat-list.d.ts +73 -6
- package/esm/browser/components/chat-list.js +295 -60
- package/esm/browser/components/chat-seen.d.ts +53 -0
- package/esm/browser/components/chat-seen.js +101 -0
- package/esm/browser/components/composer-box.d.ts +15 -4
- package/esm/browser/components/composer-box.js +139 -77
- package/esm/browser/components/composer.d.ts +9 -6
- package/esm/browser/components/composer.js +32 -4
- 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 +30 -0
- package/esm/browser/components/conversation-scroll-util.js +56 -0
- package/esm/browser/components/conversation-scroll.d.ts +52 -31
- package/esm/browser/components/conversation-scroll.js +170 -129
- package/esm/browser/components/custom-host.d.ts +3 -0
- package/esm/browser/components/custom-host.js +14 -0
- package/esm/browser/components/directory-commands.d.ts +6 -0
- package/esm/browser/components/directory-commands.js +34 -0
- package/esm/browser/components/discover-view.d.ts +11 -4
- package/esm/browser/components/discover-view.js +20 -11
- package/esm/browser/components/dismiss.d.ts +3 -0
- package/esm/browser/components/dismiss.js +29 -0
- package/esm/browser/components/earlier-messages.d.ts +34 -3
- package/esm/browser/components/earlier-messages.js +42 -8
- package/esm/browser/components/editor-area.d.ts +6 -22
- package/esm/browser/components/editor-area.js +10 -97
- package/esm/browser/components/face.d.ts +24 -0
- package/esm/browser/components/face.js +42 -0
- package/esm/browser/components/fold-text.d.ts +20 -0
- package/esm/browser/components/fold-text.js +66 -0
- package/esm/browser/components/folder-picker.d.ts +1 -1
- package/esm/browser/components/folder-picker.js +1 -1
- package/esm/browser/components/full-screen.d.ts +9 -0
- package/esm/browser/components/full-screen.js +26 -0
- package/esm/browser/components/grow-box.d.ts +9 -0
- package/esm/browser/components/grow-box.js +50 -0
- package/esm/browser/components/hold-to-talk.d.ts +22 -0
- package/esm/browser/components/hold-to-talk.js +29 -0
- package/esm/browser/components/host-view.d.ts +1 -1
- package/esm/browser/components/icon.d.ts +3 -1
- package/esm/browser/components/icon.js +4 -3
- package/esm/browser/components/image-viewer.d.ts +10 -2
- package/esm/browser/components/image-viewer.js +48 -11
- package/esm/browser/components/launcher-search-util.d.ts +4 -3
- package/esm/browser/components/launcher-search-util.js +12 -4
- package/esm/browser/components/lightbox.d.ts +5 -2
- package/esm/browser/components/lightbox.js +4 -3
- package/esm/browser/components/list-rows.d.ts +9 -1
- package/esm/browser/components/list-rows.js +17 -3
- package/esm/browser/components/markdown.js +36 -4
- package/esm/browser/components/media.js +73 -7
- package/esm/browser/components/message-actions.js +3 -0
- package/esm/browser/components/message-footer.d.ts +8 -0
- package/esm/browser/components/message-footer.js +20 -3
- package/esm/browser/components/message-list.d.ts +60 -7
- package/esm/browser/components/message-list.js +206 -58
- package/esm/browser/components/message-menu.js +6 -1
- package/esm/browser/components/model-picker.js +1 -0
- package/esm/browser/components/nav-places.d.ts +21 -2
- package/esm/browser/components/nav-places.js +20 -4
- package/esm/browser/components/notice-center.js +34 -0
- package/esm/browser/components/notice-face.d.ts +10 -0
- package/esm/browser/components/notice-face.js +28 -0
- package/esm/browser/components/phone-shell.d.ts +23 -1
- package/esm/browser/components/phone-shell.js +98 -9
- package/esm/browser/components/picture.d.ts +8 -1
- package/esm/browser/components/picture.js +12 -1
- package/esm/browser/components/plus-menu.d.ts +23 -0
- package/esm/browser/components/plus-menu.js +90 -0
- package/esm/browser/components/recent-shot.d.ts +15 -0
- package/esm/browser/components/recent-shot.js +174 -0
- package/esm/browser/components/relay-view.js +10 -3
- package/esm/browser/components/run-status.d.ts +1 -1
- package/esm/browser/components/run-status.js +17 -29
- package/esm/browser/components/said-text.d.ts +6 -0
- package/esm/browser/components/said-text.js +14 -0
- package/esm/browser/components/scan-screen.d.ts +10 -0
- package/esm/browser/components/scan-screen.js +230 -0
- package/esm/browser/components/search-page.js +10 -6
- package/esm/browser/components/session-settings.d.ts +2 -3
- package/esm/browser/components/session-settings.js +1 -0
- package/esm/browser/components/session-view.d.ts +3 -1
- package/esm/browser/components/session-view.js +35 -21
- package/esm/browser/components/settings-choices.d.ts +1 -0
- package/esm/browser/components/settings-choices.js +3 -2
- package/esm/browser/components/settings-controls.d.ts +5 -3
- package/esm/browser/components/settings-controls.js +10 -1
- package/esm/browser/components/settings-parts.js +45 -14
- package/esm/browser/components/stop-times.d.ts +47 -0
- package/esm/browser/components/stop-times.js +81 -0
- package/esm/browser/components/tool-view.js +7 -2
- package/esm/browser/components/unseen-drop.d.ts +39 -0
- package/esm/browser/components/unseen-drop.js +219 -0
- package/esm/browser/components/use-seen-chats.d.ts +8 -0
- package/esm/browser/components/use-seen-chats.js +49 -0
- 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/voice-button.d.ts +7 -1
- package/esm/browser/components/voice-button.js +15 -2
- package/esm/browser/components/voice-picker.d.ts +6 -0
- package/esm/browser/components/voice-picker.js +53 -0
- package/esm/browser/components/voice-talk.d.ts +11 -3
- package/esm/browser/components/voice-talk.js +24 -4
- package/esm/browser/components/web-composer.d.ts +4 -2
- package/esm/browser/components/web-composer.js +8 -4
- package/esm/browser/components/workbench-tabs.d.ts +41 -0
- package/esm/browser/components/workbench-tabs.js +193 -0
- package/esm/browser/components/workbench-toggle.d.ts +0 -13
- package/esm/browser/components/workbench-toggle.js +1 -28
- package/esm/browser/device/code-scan.d.ts +55 -0
- package/esm/browser/device/code-scan.js +137 -0
- package/esm/browser/device/code-vision.d.ts +51 -0
- package/esm/browser/device/code-vision.js +100 -0
- package/esm/browser/device/hold.js +4 -6
- package/esm/browser/device/long-press.d.ts +10 -0
- package/esm/browser/device/long-press.js +28 -12
- package/esm/browser/device/own-gestures.d.ts +25 -0
- package/esm/browser/device/own-gestures.js +39 -0
- package/esm/browser/device/photo-picker.d.ts +14 -0
- package/esm/browser/device/photo-picker.js +48 -0
- package/esm/browser/device/pull-down.js +3 -2
- package/esm/browser/device/recent-shots.d.ts +45 -0
- package/esm/browser/device/recent-shots.js +142 -0
- package/esm/browser/device/row-swipe.d.ts +2 -0
- package/esm/browser/device/row-swipe.js +14 -3
- package/esm/browser/device/sheet-swipe.d.ts +1 -1
- package/esm/browser/device/sheet-swipe.js +25 -4
- package/esm/browser/extension/extension-view.d.ts +10 -0
- package/esm/browser/extension/extension-view.js +6 -0
- package/esm/browser/extension/icons.js +16 -2
- package/esm/browser/extension/web-api-components.d.ts +287 -0
- package/esm/browser/extension/web-api-components.js +2 -0
- package/esm/browser/extension/web-api-contributions.d.ts +394 -0
- package/esm/browser/extension/web-api-contributions.js +2 -0
- package/esm/browser/extension/web-api-desktop.d.ts +55 -0
- package/esm/browser/extension/web-api-desktop.js +2 -0
- package/esm/browser/extension/web-api-terminal.d.ts +71 -0
- package/esm/browser/extension/web-api-terminal.js +2 -0
- package/esm/browser/extension/web-editor-tabs.d.ts +42 -0
- package/esm/browser/extension/web-editor-tabs.js +137 -0
- package/esm/browser/extension/web-extension-api.d.ts +186 -565
- package/esm/browser/extension/web-extension-context.d.ts +78 -0
- package/esm/browser/extension/web-extension-context.js +354 -0
- package/esm/browser/extension/web-extension-protocol.d.ts +57 -7
- package/esm/browser/extension/web-extension-protocol.js +34 -0
- package/esm/browser/extension/web-extension-run.d.ts +54 -0
- package/esm/browser/extension/web-extension-run.js +120 -0
- package/esm/browser/extension/web-extensions.d.ts +29 -69
- package/esm/browser/extension/web-extensions.js +121 -516
- package/esm/browser/extension/web-home.d.ts +19 -0
- package/esm/browser/extension/web-home.js +72 -0
- package/esm/browser/extension/web-pages.d.ts +13 -3
- package/esm/browser/extension/web-pages.js +23 -3
- package/esm/browser/extension/web-session-notices.d.ts +36 -0
- package/esm/browser/extension/web-session-notices.js +174 -0
- package/esm/browser/extension/web-sharing.d.ts +2 -0
- package/esm/browser/extension/web-sharing.js +4 -0
- package/esm/browser/game/game-host.d.ts +27 -0
- package/esm/browser/game/game-host.js +127 -0
- package/esm/browser/game/game-loader.d.ts +10 -0
- package/esm/browser/game/game-loader.js +28 -0
- package/esm/browser/game/game-protocol.d.ts +49 -0
- package/esm/browser/game/game-protocol.js +2 -0
- package/esm/browser/game/game-runner.d.ts +27 -0
- package/esm/browser/game/game-runner.js +60 -0
- package/esm/browser/game/game-util.d.ts +29 -0
- package/esm/browser/game/game-util.js +180 -0
- package/esm/browser/game/game-view.d.ts +12 -0
- package/esm/browser/game/game-view.js +31 -0
- package/esm/browser/game/game3d-protocol.d.ts +51 -0
- package/esm/browser/game/game3d-protocol.js +2 -0
- package/esm/browser/game/game3d-runner.d.ts +27 -0
- package/esm/browser/game/game3d-runner.js +149 -0
- package/esm/browser/hooks.d.ts +5 -1
- package/esm/browser/hooks.js +13 -2
- package/esm/browser/i18n/locales.d.ts +92 -2
- package/esm/browser/i18n/messages.d.ts +91 -1
- package/esm/browser/i18n/messages.js +187 -7
- package/esm/browser/index.d.ts +9 -0
- package/esm/browser/index.js +9 -0
- package/esm/browser/links/links-protocol.d.ts +7 -0
- package/esm/browser/links/links.d.ts +24 -7
- package/esm/browser/links/links.js +64 -11
- package/esm/browser/markdown/code-renderers.d.ts +4 -0
- package/esm/browser/markdown/code-renderers.js +4 -0
- package/esm/browser/notices/notices-protocol.d.ts +17 -0
- package/esm/browser/notices/notices.d.ts +1 -1
- package/esm/browser/notices/notices.js +6 -2
- package/esm/browser/notices/session-notices.d.ts +69 -0
- package/esm/browser/notices/session-notices.js +92 -0
- package/esm/browser/offline/device-values.js +12 -3
- package/esm/browser/offline/offline-reads.js +3 -1
- package/esm/browser/settings/navigation.d.ts +3 -2
- package/esm/browser/settings/navigation.js +4 -3
- package/esm/browser/settings/settings-protocol.d.ts +15 -0
- package/esm/browser/settings/settings-protocol.js +18 -4
- package/esm/browser/state/state-protocol.d.ts +8 -1
- package/esm/browser/state/state.d.ts +2 -0
- package/esm/browser/state/state.js +21 -2
- package/esm/browser/style/base.d.ts +1 -1
- package/esm/browser/style/base.js +27 -1
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +45 -5
- package/esm/browser/style/device.js +15 -1
- package/esm/browser/style/layout.d.ts +1 -1
- package/esm/browser/style/layout.js +192 -56
- package/esm/browser/style/pages.d.ts +1 -1
- package/esm/browser/style/pages.js +39 -1
- package/esm/browser/style/phone.d.ts +1 -1
- package/esm/browser/style/phone.js +15 -0
- package/esm/browser/style/shell.d.ts +1 -1
- package/esm/browser/style/shell.js +32 -6
- package/esm/browser/style/surfaces.d.ts +1 -1
- package/esm/browser/style/surfaces.js +21 -2
- package/esm/browser/style/tints.d.ts +27 -0
- package/esm/browser/style/tints.js +56 -0
- package/esm/browser/style.js +13 -1
- package/esm/browser/util/composer.d.ts +6 -0
- package/esm/browser/util/composer.js +16 -0
- package/esm/browser/util/desktop.d.ts +19 -1
- package/esm/browser/util/desktop.js +15 -0
- package/esm/browser/util/frame.d.ts +2 -0
- package/esm/browser/util/frame.js +2 -0
- package/esm/browser/util/link.d.ts +18 -0
- package/esm/browser/util/link.js +66 -1
- package/esm/browser/util/markdown.d.ts +4 -1
- package/esm/browser/util/markdown.js +1 -1
- package/esm/browser/util/message.d.ts +5 -0
- package/esm/browser/util/message.js +30 -0
- package/esm/browser/util/process.d.ts +57 -3
- package/esm/browser/util/process.js +123 -11
- package/esm/browser/util/progress.d.ts +19 -1
- package/esm/browser/util/progress.js +57 -4
- package/esm/browser/util/quote.d.ts +19 -0
- package/esm/browser/util/quote.js +58 -0
- package/esm/browser/util/tool.d.ts +19 -2
- package/esm/browser/util/tool.js +70 -2
- package/esm/browser/util/voice.d.ts +47 -7
- package/esm/browser/util/voice.js +269 -27
- package/esm/browser/workbench-calls.d.ts +6 -4
- package/esm/browser/workbench-calls.js +15 -10
- package/esm/browser/workbench-protocol.d.ts +31 -2
- package/esm/browser/workbench-util.d.ts +15 -4
- package/esm/browser/workbench-util.js +28 -5
- package/esm/browser/workbench.d.ts +33 -1
- package/esm/browser/workbench.js +142 -14
- package/lib/browser/assistant/assistant-chat-list.d.ts +11 -0
- package/lib/browser/assistant/assistant-chat-list.js +13 -0
- package/lib/browser/assistant/assistant-extension.js +5 -0
- package/lib/browser/assistant/assistant-protocol.d.ts +2 -1
- package/lib/browser/assistant/assistant-task-book.d.ts +12 -2
- package/lib/browser/assistant/assistant-task-book.js +23 -4
- package/lib/browser/assistant/assistant-task-source.d.ts +1 -1
- package/lib/browser/assistant/assistant-task-source.js +5 -10
- package/lib/browser/assistant/assistant-task-util.d.ts +13 -3
- package/lib/browser/assistant/assistant-task-util.js +59 -12
- package/lib/browser/assistant/assistant-view.js +46 -22
- package/lib/browser/assistant/assistant.d.ts +18 -4
- package/lib/browser/assistant/assistant.js +52 -17
- package/lib/browser/avatar/dino-face.js +1 -2
- package/lib/browser/chat/chat-protocol.d.ts +5 -0
- package/lib/browser/chat/chat-stores.d.ts +8 -5
- package/lib/browser/chat/chat-stores.js +17 -9
- package/lib/browser/chat/chat-view.js +22 -14
- package/lib/browser/chat/chat.d.ts +16 -8
- package/lib/browser/chat/chat.js +86 -51
- package/lib/browser/components/account-menu.d.ts +0 -2
- package/lib/browser/components/account-menu.js +2 -29
- package/lib/browser/components/agent-settings-view.d.ts +3 -2
- package/lib/browser/components/agent-settings-view.js +2 -1
- package/lib/browser/components/app-nav.d.ts +5 -2
- package/lib/browser/components/app-nav.js +18 -5
- package/lib/browser/components/app-shell-hooks.js +5 -3
- package/lib/browser/components/app-view.js +80 -16
- package/lib/browser/components/busy.d.ts +26 -0
- package/lib/browser/components/busy.js +91 -0
- package/lib/browser/components/chat-icon.d.ts +30 -0
- package/lib/browser/components/chat-icon.js +117 -0
- package/lib/browser/components/chat-list.d.ts +73 -6
- package/lib/browser/components/chat-list.js +295 -59
- package/lib/browser/components/chat-seen.d.ts +54 -0
- package/lib/browser/components/chat-seen.js +104 -0
- package/lib/browser/components/composer-box.d.ts +15 -4
- package/lib/browser/components/composer-box.js +136 -74
- package/lib/browser/components/composer.d.ts +9 -6
- package/lib/browser/components/composer.js +31 -3
- 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 +31 -0
- package/lib/browser/components/conversation-scroll-util.js +60 -0
- package/lib/browser/components/conversation-scroll.d.ts +52 -31
- package/lib/browser/components/conversation-scroll.js +171 -164
- package/lib/browser/components/custom-host.d.ts +4 -0
- package/lib/browser/components/custom-host.js +50 -0
- package/lib/browser/components/directory-commands.d.ts +7 -0
- package/lib/browser/components/directory-commands.js +70 -0
- package/lib/browser/components/discover-view.d.ts +11 -4
- package/lib/browser/components/discover-view.js +19 -10
- package/lib/browser/components/dismiss.d.ts +4 -0
- package/lib/browser/components/dismiss.js +65 -0
- package/lib/browser/components/earlier-messages.d.ts +34 -3
- package/lib/browser/components/earlier-messages.js +44 -9
- package/lib/browser/components/editor-area.d.ts +6 -22
- package/lib/browser/components/editor-area.js +11 -98
- package/lib/browser/components/face.d.ts +25 -0
- package/lib/browser/components/face.js +79 -0
- package/lib/browser/components/fold-text.d.ts +21 -0
- package/lib/browser/components/fold-text.js +103 -0
- package/lib/browser/components/folder-picker.d.ts +1 -1
- package/lib/browser/components/folder-picker.js +1 -1
- package/lib/browser/components/full-screen.d.ts +10 -0
- package/lib/browser/components/full-screen.js +62 -0
- package/lib/browser/components/grow-box.d.ts +10 -0
- package/lib/browser/components/grow-box.js +86 -0
- package/lib/browser/components/hold-to-talk.d.ts +23 -0
- package/lib/browser/components/hold-to-talk.js +65 -0
- package/lib/browser/components/host-view.d.ts +1 -1
- package/lib/browser/components/icon.d.ts +3 -1
- package/lib/browser/components/icon.js +4 -3
- package/lib/browser/components/image-viewer.d.ts +10 -2
- package/lib/browser/components/image-viewer.js +47 -10
- package/lib/browser/components/launcher-search-util.d.ts +4 -3
- package/lib/browser/components/launcher-search-util.js +12 -4
- package/lib/browser/components/lightbox.d.ts +5 -2
- package/lib/browser/components/lightbox.js +4 -3
- package/lib/browser/components/list-rows.d.ts +9 -1
- package/lib/browser/components/list-rows.js +18 -3
- package/lib/browser/components/markdown.js +36 -4
- package/lib/browser/components/media.js +73 -7
- package/lib/browser/components/message-actions.js +3 -0
- package/lib/browser/components/message-footer.d.ts +8 -0
- package/lib/browser/components/message-footer.js +20 -2
- package/lib/browser/components/message-list.d.ts +60 -7
- package/lib/browser/components/message-list.js +206 -55
- package/lib/browser/components/message-menu.js +6 -1
- package/lib/browser/components/model-picker.js +1 -0
- package/lib/browser/components/nav-places.d.ts +21 -2
- package/lib/browser/components/nav-places.js +22 -4
- package/lib/browser/components/notice-center.js +34 -0
- package/lib/browser/components/notice-face.d.ts +11 -0
- package/lib/browser/components/notice-face.js +64 -0
- package/lib/browser/components/phone-shell.d.ts +23 -1
- package/lib/browser/components/phone-shell.js +99 -10
- package/lib/browser/components/picture.d.ts +8 -1
- package/lib/browser/components/picture.js +13 -1
- package/lib/browser/components/plus-menu.d.ts +24 -0
- package/lib/browser/components/plus-menu.js +126 -0
- package/lib/browser/components/recent-shot.d.ts +16 -0
- package/lib/browser/components/recent-shot.js +210 -0
- package/lib/browser/components/relay-view.js +10 -3
- package/lib/browser/components/run-status.d.ts +1 -1
- package/lib/browser/components/run-status.js +17 -29
- package/lib/browser/components/said-text.d.ts +7 -0
- package/lib/browser/components/said-text.js +50 -0
- package/lib/browser/components/scan-screen.d.ts +11 -0
- package/lib/browser/components/scan-screen.js +266 -0
- package/lib/browser/components/search-page.js +10 -6
- package/lib/browser/components/session-settings.d.ts +2 -3
- package/lib/browser/components/session-settings.js +1 -0
- package/lib/browser/components/session-view.d.ts +3 -1
- package/lib/browser/components/session-view.js +32 -18
- package/lib/browser/components/settings-choices.d.ts +1 -0
- package/lib/browser/components/settings-choices.js +2 -1
- package/lib/browser/components/settings-controls.d.ts +5 -3
- package/lib/browser/components/settings-controls.js +10 -1
- package/lib/browser/components/settings-parts.js +43 -12
- package/lib/browser/components/stop-times.d.ts +48 -0
- package/lib/browser/components/stop-times.js +85 -0
- package/lib/browser/components/tool-view.js +7 -2
- package/lib/browser/components/unseen-drop.d.ts +40 -0
- package/lib/browser/components/unseen-drop.js +256 -0
- package/lib/browser/components/use-seen-chats.d.ts +9 -0
- package/lib/browser/components/use-seen-chats.js +85 -0
- 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/voice-button.d.ts +7 -1
- package/lib/browser/components/voice-button.js +16 -2
- package/lib/browser/components/voice-picker.d.ts +7 -0
- package/lib/browser/components/voice-picker.js +89 -0
- package/lib/browser/components/voice-talk.d.ts +11 -3
- package/lib/browser/components/voice-talk.js +25 -4
- package/lib/browser/components/web-composer.d.ts +4 -2
- package/lib/browser/components/web-composer.js +7 -3
- package/lib/browser/components/workbench-tabs.d.ts +42 -0
- package/lib/browser/components/workbench-tabs.js +232 -0
- package/lib/browser/components/workbench-toggle.d.ts +0 -13
- package/lib/browser/components/workbench-toggle.js +1 -29
- package/lib/browser/device/code-scan.d.ts +56 -0
- package/lib/browser/device/code-scan.js +141 -0
- package/lib/browser/device/code-vision.d.ts +52 -0
- package/lib/browser/device/code-vision.js +103 -0
- package/lib/browser/device/hold.js +4 -6
- package/lib/browser/device/long-press.d.ts +10 -0
- package/lib/browser/device/long-press.js +28 -12
- package/lib/browser/device/own-gestures.d.ts +26 -0
- package/lib/browser/device/own-gestures.js +42 -0
- package/lib/browser/device/photo-picker.d.ts +15 -0
- package/lib/browser/device/photo-picker.js +51 -0
- package/lib/browser/device/pull-down.js +3 -2
- package/lib/browser/device/recent-shots.d.ts +46 -0
- package/lib/browser/device/recent-shots.js +145 -0
- package/lib/browser/device/row-swipe.d.ts +2 -0
- package/lib/browser/device/row-swipe.js +14 -3
- package/lib/browser/device/sheet-swipe.d.ts +1 -1
- package/lib/browser/device/sheet-swipe.js +25 -4
- package/lib/browser/extension/extension-view.d.ts +10 -0
- package/lib/browser/extension/extension-view.js +7 -1
- package/lib/browser/extension/icons.js +15 -1
- package/lib/browser/extension/web-api-components.d.ts +288 -0
- package/lib/browser/extension/web-api-components.js +3 -0
- package/lib/browser/extension/web-api-contributions.d.ts +395 -0
- package/lib/browser/extension/web-api-contributions.js +3 -0
- package/lib/browser/extension/web-api-desktop.d.ts +56 -0
- package/lib/browser/extension/web-api-desktop.js +3 -0
- package/lib/browser/extension/web-api-terminal.d.ts +72 -0
- package/lib/browser/extension/web-api-terminal.js +3 -0
- package/lib/browser/extension/web-editor-tabs.d.ts +43 -0
- package/lib/browser/extension/web-editor-tabs.js +141 -0
- package/lib/browser/extension/web-extension-api.d.ts +186 -565
- package/lib/browser/extension/web-extension-context.d.ts +79 -0
- package/lib/browser/extension/web-extension-context.js +391 -0
- package/lib/browser/extension/web-extension-protocol.d.ts +57 -7
- package/lib/browser/extension/web-extension-protocol.js +35 -1
- package/lib/browser/extension/web-extension-run.d.ts +55 -0
- package/lib/browser/extension/web-extension-run.js +123 -0
- package/lib/browser/extension/web-extensions.d.ts +29 -69
- package/lib/browser/extension/web-extensions.js +117 -545
- package/lib/browser/extension/web-home.d.ts +20 -0
- package/lib/browser/extension/web-home.js +76 -0
- package/lib/browser/extension/web-pages.d.ts +13 -3
- package/lib/browser/extension/web-pages.js +23 -3
- package/lib/browser/extension/web-session-notices.d.ts +37 -0
- package/lib/browser/extension/web-session-notices.js +177 -0
- package/lib/browser/extension/web-sharing.d.ts +2 -0
- package/lib/browser/extension/web-sharing.js +4 -0
- package/lib/browser/game/game-host.d.ts +28 -0
- package/lib/browser/game/game-host.js +163 -0
- package/lib/browser/game/game-loader.d.ts +11 -0
- package/lib/browser/game/game-loader.js +31 -0
- package/lib/browser/game/game-protocol.d.ts +50 -0
- package/lib/browser/game/game-protocol.js +3 -0
- package/lib/browser/game/game-runner.d.ts +28 -0
- package/lib/browser/game/game-runner.js +64 -0
- package/lib/browser/game/game-util.d.ts +30 -0
- package/lib/browser/game/game-util.js +183 -0
- package/lib/browser/game/game-view.d.ts +13 -0
- package/lib/browser/game/game-view.js +68 -0
- package/lib/browser/game/game3d-protocol.d.ts +52 -0
- package/lib/browser/game/game3d-protocol.js +3 -0
- package/lib/browser/game/game3d-runner.d.ts +28 -0
- package/lib/browser/game/game3d-runner.js +153 -0
- package/lib/browser/hooks.d.ts +5 -1
- package/lib/browser/hooks.js +14 -2
- package/lib/browser/i18n/locales.d.ts +92 -2
- package/lib/browser/i18n/messages.d.ts +91 -1
- package/lib/browser/i18n/messages.js +187 -7
- package/lib/browser/index.d.ts +9 -0
- package/lib/browser/index.js +9 -0
- package/lib/browser/links/links-protocol.d.ts +7 -0
- package/lib/browser/links/links.d.ts +24 -7
- package/lib/browser/links/links.js +64 -11
- package/lib/browser/markdown/code-renderers.d.ts +5 -0
- package/lib/browser/markdown/code-renderers.js +40 -0
- package/lib/browser/notices/notices-protocol.d.ts +17 -0
- package/lib/browser/notices/notices.d.ts +1 -1
- package/lib/browser/notices/notices.js +6 -2
- package/lib/browser/notices/session-notices.d.ts +70 -0
- package/lib/browser/notices/session-notices.js +96 -0
- package/lib/browser/offline/device-values.js +12 -3
- package/lib/browser/offline/offline-reads.js +3 -1
- package/lib/browser/settings/navigation.d.ts +3 -2
- package/lib/browser/settings/navigation.js +4 -3
- package/lib/browser/settings/settings-protocol.d.ts +15 -0
- package/lib/browser/settings/settings-protocol.js +19 -5
- package/lib/browser/state/state-protocol.d.ts +8 -1
- package/lib/browser/state/state.d.ts +2 -0
- package/lib/browser/state/state.js +21 -2
- package/lib/browser/style/base.d.ts +1 -1
- package/lib/browser/style/base.js +27 -1
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +45 -5
- package/lib/browser/style/device.js +15 -1
- package/lib/browser/style/layout.d.ts +1 -1
- package/lib/browser/style/layout.js +192 -56
- package/lib/browser/style/pages.d.ts +1 -1
- package/lib/browser/style/pages.js +39 -1
- package/lib/browser/style/phone.d.ts +1 -1
- package/lib/browser/style/phone.js +15 -0
- package/lib/browser/style/shell.d.ts +1 -1
- package/lib/browser/style/shell.js +32 -6
- package/lib/browser/style/surfaces.d.ts +1 -1
- package/lib/browser/style/surfaces.js +21 -2
- package/lib/browser/style/tints.d.ts +28 -0
- package/lib/browser/style/tints.js +59 -0
- package/lib/browser/style.js +13 -1
- package/lib/browser/util/composer.d.ts +6 -0
- package/lib/browser/util/composer.js +16 -0
- package/lib/browser/util/desktop.d.ts +19 -1
- package/lib/browser/util/desktop.js +15 -0
- package/lib/browser/util/frame.d.ts +2 -0
- package/lib/browser/util/frame.js +2 -0
- package/lib/browser/util/link.d.ts +18 -0
- package/lib/browser/util/link.js +66 -1
- package/lib/browser/util/markdown.d.ts +4 -1
- package/lib/browser/util/markdown.js +1 -1
- package/lib/browser/util/message.d.ts +5 -0
- package/lib/browser/util/message.js +30 -0
- package/lib/browser/util/process.d.ts +57 -3
- package/lib/browser/util/process.js +125 -12
- package/lib/browser/util/progress.d.ts +19 -1
- package/lib/browser/util/progress.js +57 -4
- package/lib/browser/util/quote.d.ts +20 -0
- package/lib/browser/util/quote.js +61 -0
- package/lib/browser/util/tool.d.ts +19 -2
- package/lib/browser/util/tool.js +70 -2
- package/lib/browser/util/voice.d.ts +47 -7
- package/lib/browser/util/voice.js +269 -27
- package/lib/browser/workbench-calls.d.ts +6 -4
- package/lib/browser/workbench-calls.js +15 -10
- package/lib/browser/workbench-protocol.d.ts +31 -2
- package/lib/browser/workbench-util.d.ts +15 -4
- package/lib/browser/workbench-util.js +28 -5
- package/lib/browser/workbench.d.ts +33 -1
- package/lib/browser/workbench.js +140 -12
- package/package.json +11 -8
|
@@ -20,6 +20,10 @@ export const EN_MESSAGES = {
|
|
|
20
20
|
'ta.zoom.out': 'Zoom out',
|
|
21
21
|
'ta.zoom.fit': 'Fit to window',
|
|
22
22
|
'ta.zoom.actual': 'Actual size',
|
|
23
|
+
'ta.zoom.loading': 'Loading…',
|
|
24
|
+
'ta.zoom.previous': 'Previous picture (←)',
|
|
25
|
+
'ta.zoom.next': 'Next picture (→)',
|
|
26
|
+
'ta.zoom.failed': 'Cannot show this picture',
|
|
23
27
|
'ta.markdown.missing': 'Cannot show {name}',
|
|
24
28
|
// Links of replies
|
|
25
29
|
'ta.link.openFile': 'Click to open',
|
|
@@ -47,6 +51,9 @@ export const EN_MESSAGES = {
|
|
|
47
51
|
'ta.editor.loading': 'Loading the editor…',
|
|
48
52
|
'ta.editor.failed': 'The editor did not load: {message}',
|
|
49
53
|
'ta.editor.unsavedTitle': 'Close {title} without saving?',
|
|
54
|
+
'ta.game.failed': 'The game did not start',
|
|
55
|
+
'ta.game.label': 'Game',
|
|
56
|
+
'ta.game.loading': 'Loading the game…',
|
|
50
57
|
'ta.editor.unsavedManyTitle': 'Close {count} tabs without saving?',
|
|
51
58
|
'ta.editor.unsavedMessage': 'Your changes will be lost if you do not save them.',
|
|
52
59
|
'ta.editor.discardClose': 'Close without saving',
|
|
@@ -151,7 +158,15 @@ export const EN_MESSAGES = {
|
|
|
151
158
|
'ta.chat.restore': 'Put back in the list',
|
|
152
159
|
'ta.chat.removeShort': 'Remove',
|
|
153
160
|
'ta.chat.restoreShort': 'Put back',
|
|
161
|
+
'ta.chat.pin': 'Pin to top',
|
|
162
|
+
'ta.chat.unpin': 'Unpin',
|
|
163
|
+
'ta.chat.pinned': 'Pinned',
|
|
164
|
+
'ta.chat.unseen': 'New, not seen yet',
|
|
154
165
|
'ta.chat.removed': 'Removed ({count})',
|
|
166
|
+
'ta.chat.olderCount': 'Over {days} days ({count})',
|
|
167
|
+
'ta.chat.archived': 'Archived',
|
|
168
|
+
'ta.chat.archivedCount': 'Archived ({count})',
|
|
169
|
+
'ta.chat.archivedHint': 'Chats with no new message for {count} days',
|
|
155
170
|
'ta.session.title': 'Session',
|
|
156
171
|
'ta.session.model': 'Model',
|
|
157
172
|
'ta.session.noModel': 'No model',
|
|
@@ -168,14 +183,24 @@ export const EN_MESSAGES = {
|
|
|
168
183
|
'ta.composer.steerPlaceholder': 'Add to it or steer Ta; Alt+Enter queues a follow-up',
|
|
169
184
|
'ta.composer.steerPlaceholderTouch': 'Add to it or steer Ta',
|
|
170
185
|
'ta.composer.stopTitle': 'Stop (Esc)',
|
|
186
|
+
'ta.composer.stopping': 'Stopping…',
|
|
171
187
|
'ta.message.images': '{count, plural, one {# image} other {# images}}',
|
|
172
188
|
'ta.message.stopped': 'Stopped.',
|
|
189
|
+
'ta.message.interrupted': 'Cut off before it was done: the service stopped, or the agent ended its turn with work not finished.',
|
|
190
|
+
'ta.message.silent': 'Ended without a reply: the agent may have lost the connection to its model.',
|
|
191
|
+
'ta.message.failedUnknown': 'The request failed, without saying why.',
|
|
192
|
+
'ta.message.retriedFailed': 'Retried automatically ({count}), still failing',
|
|
193
|
+
'ta.message.resume': 'Continue',
|
|
194
|
+
'ta.message.resumeText': 'Continue',
|
|
173
195
|
'ta.message.thinking': 'Thinking',
|
|
174
196
|
'ta.message.skill': 'Skill',
|
|
197
|
+
'ta.message.showMore': 'Show more',
|
|
198
|
+
'ta.message.showLess': 'Show less',
|
|
175
199
|
'ta.message.compacted': 'Earlier messages were compacted',
|
|
176
200
|
'ta.message.branch': 'Summary of the other branch',
|
|
177
201
|
'ta.message.forkBefore': 'New conversation from here, beside',
|
|
178
202
|
'ta.message.forkAt': 'New conversation from this reply, beside',
|
|
203
|
+
'ta.message.quote': 'Quote',
|
|
179
204
|
'ta.message.rewind': 'Rewind to here',
|
|
180
205
|
'ta.message.sendFailed': 'Not sent',
|
|
181
206
|
'ta.message.resend': 'Send again',
|
|
@@ -189,6 +214,7 @@ export const EN_MESSAGES = {
|
|
|
189
214
|
'ta.message.debug': 'Copy debug info',
|
|
190
215
|
'ta.message.debugCopied': 'Debug info copied',
|
|
191
216
|
'ta.message.used': 'Used',
|
|
217
|
+
'ta.message.modelSwitched': 'Switched to {model}',
|
|
192
218
|
'ta.message.usageTitle': '{input} tokens sent, {output} received',
|
|
193
219
|
'ta.tool.earlier': '{count, plural, one {# earlier line} other {# earlier lines}}',
|
|
194
220
|
'ta.tool.hideScript': 'Hide script',
|
|
@@ -206,6 +232,11 @@ export const EN_MESSAGES = {
|
|
|
206
232
|
'ta.tool.verb.getTask': 'Check task',
|
|
207
233
|
'ta.tool.verb.messageTask': 'Tell task',
|
|
208
234
|
'ta.tool.verb.stopTask': 'Stop task',
|
|
235
|
+
'ta.tool.verb.viewImage': 'View image',
|
|
236
|
+
'ta.tool.verb.fetch': 'Fetch',
|
|
237
|
+
'ta.tool.verb.webSearch': 'Search the web',
|
|
238
|
+
'ta.tool.verb.todo': 'Update todos',
|
|
239
|
+
'ta.tool.verb.skill': 'Use skill',
|
|
209
240
|
'ta.assistant.me': 'My double',
|
|
210
241
|
'ta.assistant.hello': 'Hi, I am Ta',
|
|
211
242
|
'ta.assistant.showTasks': 'Show the tasks',
|
|
@@ -225,7 +256,8 @@ export const EN_MESSAGES = {
|
|
|
225
256
|
'ta.assistant.noTasksHint': 'What you give the double to do shows here',
|
|
226
257
|
'ta.assistant.taskEnded': 'The conversation of this task is not kept. How it ended:',
|
|
227
258
|
'ta.assistant.speakOn': 'Read replies aloud',
|
|
228
|
-
'ta.assistant.
|
|
259
|
+
'ta.assistant.speakStop': 'Stop reading aloud',
|
|
260
|
+
'ta.assistant.speakStopShort': 'Stop',
|
|
229
261
|
'ta.assistant.poke': 'Poke Ta',
|
|
230
262
|
'ta.assistant.stop': 'Stop',
|
|
231
263
|
'ta.assistant.restart': 'Start over',
|
|
@@ -300,6 +332,8 @@ export const EN_MESSAGES = {
|
|
|
300
332
|
'ta.on': 'On',
|
|
301
333
|
'ta.off': 'Off',
|
|
302
334
|
'ta.assistant.confirmOn': 'Ask me before starting tasks',
|
|
335
|
+
'ta.assistant.confirmShort': 'Ask first',
|
|
336
|
+
'ta.assistant.speakTalkShort': 'Read when I talk',
|
|
303
337
|
'ta.settings.assistant': 'Double',
|
|
304
338
|
'ta.settings.assistantModel': 'Model of the double',
|
|
305
339
|
'ta.settings.assistantModelHint': 'It hands out work with tools: pick a model, not an external agent, which works with its own tools and starts no tasks',
|
|
@@ -331,9 +365,15 @@ export const EN_MESSAGES = {
|
|
|
331
365
|
'ta.settings.language.system': 'System',
|
|
332
366
|
'ta.settings.voice': 'Voice',
|
|
333
367
|
'ta.settings.speak': 'Read replies aloud',
|
|
334
|
-
'ta.settings.speakHint': 'With the voices of this
|
|
368
|
+
'ta.settings.speakHint': 'With the voices of this device.',
|
|
335
369
|
'ta.settings.speakTalk': 'Read the answer to what I say by voice',
|
|
336
370
|
'ta.settings.speakTalkHint': 'Held to talk to the double, its answer is read aloud. Off, it only shows, unless every reply is read aloud.',
|
|
371
|
+
'ta.settings.voiceName': 'Voice',
|
|
372
|
+
'ta.settings.voiceNameHint': 'The most natural voice of the system reads unless another is chosen. More natural voices can be downloaded in the settings of the system: on an iPhone, Accessibility › Spoken Content › Voices; on a Mac, Accessibility › Spoken Content › System Voice.',
|
|
373
|
+
'ta.settings.voiceAuto': 'The most natural ({name})',
|
|
374
|
+
'ta.settings.voiceAutoNone': 'The most natural',
|
|
375
|
+
'ta.settings.voicePreview': 'Listen',
|
|
376
|
+
'ta.settings.voiceSample': 'Hello, I am Ta. This is how I read replies aloud.',
|
|
337
377
|
'ta.settings.motion': 'Reduce motion',
|
|
338
378
|
'ta.settings.motionHint': 'Calmer animations, lighter on the battery.',
|
|
339
379
|
'ta.settings.fontSize': 'Font size',
|
|
@@ -457,14 +497,21 @@ export const EN_MESSAGES = {
|
|
|
457
497
|
'ta.process.thinking': 'Thinking',
|
|
458
498
|
'ta.process.thought': 'Thought',
|
|
459
499
|
'ta.process.failed': '{count} failed',
|
|
500
|
+
'ta.process.retried': 'Request failed, retried',
|
|
460
501
|
'ta.process.earlier': '{count, plural, one {# earlier step} other {# earlier steps}}',
|
|
502
|
+
'ta.process.showAll': 'Show all',
|
|
461
503
|
'ta.session.phase.thinking': 'Thinking',
|
|
462
504
|
'ta.session.phase.working': 'Working',
|
|
463
505
|
'ta.session.phase.writing': 'Writing',
|
|
464
506
|
'ta.progress.waiting': 'Waiting for the model',
|
|
465
507
|
'ta.progress.calling': 'Writing a call · {tool}',
|
|
466
508
|
'ta.progress.compacting': 'Compacting the conversation',
|
|
467
|
-
'ta.progress.retrying': '
|
|
509
|
+
'ta.progress.retrying': '{reason}; trying again in {seconds}s ({attempt}/{max})',
|
|
510
|
+
'ta.progress.retryingNow': '{reason}; trying again ({attempt}/{max})',
|
|
511
|
+
'ta.progress.retry.rateLimit': 'Rate limited by the provider',
|
|
512
|
+
'ta.progress.retry.overloaded': 'The model is busy',
|
|
513
|
+
'ta.progress.retry.network': 'The network dropped',
|
|
514
|
+
'ta.progress.retry.error': 'The request failed',
|
|
468
515
|
'ta.progress.input': 'Tokens sent to the model in this run; each request sends the whole conversation',
|
|
469
516
|
'ta.progress.output': 'Tokens the model wrote in this run',
|
|
470
517
|
'ta.composer.label': 'Message',
|
|
@@ -479,12 +526,21 @@ export const EN_MESSAGES = {
|
|
|
479
526
|
'ta.talk.releaseCancel': 'Release to cancel',
|
|
480
527
|
'ta.talk.releaseEdit': 'Release to edit',
|
|
481
528
|
'ta.talk.tooShort': 'Too short to send',
|
|
529
|
+
'ta.talk.hold': 'Hold to talk',
|
|
530
|
+
'ta.composer.keyboard': 'Type instead',
|
|
482
531
|
'ta.composer.steerTitle': 'Steer Ta (Enter); Alt+Enter queues a follow-up',
|
|
483
532
|
'ta.composer.addImage': 'Add images',
|
|
533
|
+
'ta.composer.album': 'Album',
|
|
534
|
+
'ta.composer.camera': 'Camera',
|
|
484
535
|
'ta.composer.more': 'Add and settings',
|
|
536
|
+
'ta.composer.page': 'Page {page}',
|
|
485
537
|
'ta.composer.mentionFile': 'Mention a file',
|
|
486
538
|
'ta.composer.commands': 'Commands and skills',
|
|
539
|
+
'ta.command.mcp': 'Manage MCP servers: sign in, reconnect, enable or disable, and change exposure',
|
|
540
|
+
'ta.command.bug': 'Open an issue for Ta on GitHub',
|
|
487
541
|
'ta.composer.removeImage': 'Remove the image',
|
|
542
|
+
'ta.composer.recentShot': 'Screenshot to send?',
|
|
543
|
+
'ta.composer.recentShotAdd': 'Add the screenshot just taken',
|
|
488
544
|
'ta.composer.imageLoading': 'Reading the image…',
|
|
489
545
|
'ta.composer.image.type': '{name} is not an image Ta can send: PNG, JPEG, GIF or WebP.',
|
|
490
546
|
'ta.composer.image.size': '{name} is larger than 5 MB.',
|
|
@@ -571,9 +627,43 @@ export const EN_MESSAGES = {
|
|
|
571
627
|
'ta.settings.minutes': '{count} min',
|
|
572
628
|
'ta.settings.days': '{count} days',
|
|
573
629
|
'ta.settings.never': 'Never',
|
|
630
|
+
'ta.settings.oneYear': '1 year',
|
|
631
|
+
'ta.settings.chats': 'Chat list',
|
|
632
|
+
'ta.settings.chatFold': 'Fold older chats',
|
|
633
|
+
'ta.settings.chatFoldHint': 'Chats with no new message for this long fold at the end of the list, or of their directory',
|
|
634
|
+
'ta.settings.chatArchive': 'Archive older chats',
|
|
635
|
+
'ta.settings.chatArchiveHint': 'Chats with no new message for this long leave the list and are no longer read with it. Find them under Archived at its end, or by search',
|
|
636
|
+
'ta.settings.recentShots': 'Suggest recent screenshots',
|
|
637
|
+
'ta.settings.recentShotsHint': 'When you open a chat just after taking a screenshot, it shows once above the message box; tap it to add it. In Ta Desktop and the Ta app',
|
|
574
638
|
'ta.discover.empty': 'Nothing here yet',
|
|
575
639
|
'ta.discover.emptyHint': 'Features the navigation has no room for come here',
|
|
576
640
|
'ta.discover.hint': 'Tap the pin to put a feature back in the navigation.',
|
|
641
|
+
'ta.scan': 'Scan',
|
|
642
|
+
'ta.scan.instructions': 'Scan a QR code',
|
|
643
|
+
'ta.scan.failed': 'The code could not be read. Try again.',
|
|
644
|
+
'ta.scan.pairTitle': 'Connect to this computer?',
|
|
645
|
+
'ta.scan.pairMessage': 'Ta here switches to Ta on that computer. You can switch back under Computers.',
|
|
646
|
+
'ta.scan.sameHost': 'This computer is connected already',
|
|
647
|
+
'ta.scan.result': 'What the code says',
|
|
648
|
+
'ta.scan.copyFailed': 'Could not copy it',
|
|
649
|
+
'ta.scan.cameraFailed': 'The camera could not be opened',
|
|
650
|
+
'ta.scan.flip': 'Switch camera',
|
|
651
|
+
'ta.scan.myCode': 'Code of this computer',
|
|
652
|
+
'ta.scan.album': 'Album',
|
|
653
|
+
'ta.scan.ask': 'Photo to Ta',
|
|
654
|
+
'ta.scan.askHint': 'Identify, translate, read an error, note it',
|
|
655
|
+
'ta.scan.askTitle': 'What should Ta do with it?',
|
|
656
|
+
'ta.scan.noCode': 'No code in it. Ask Ta about it?',
|
|
657
|
+
'ta.scan.askPlaceholder': 'Or say what to do',
|
|
658
|
+
'ta.scan.retake': 'Retake',
|
|
659
|
+
'ta.scan.identify': 'Identify',
|
|
660
|
+
'ta.scan.identifyPrompt': 'What is this? Tell me what is in the picture.',
|
|
661
|
+
'ta.scan.translate': 'Translate',
|
|
662
|
+
'ta.scan.translatePrompt': 'Translate the text in the picture into English; if it is in English, into Chinese.',
|
|
663
|
+
'ta.scan.error': 'Read the error',
|
|
664
|
+
'ta.scan.errorPrompt': 'The picture shows an error or some code: tell me what is wrong and how to fix it.',
|
|
665
|
+
'ta.scan.note': 'Note it',
|
|
666
|
+
'ta.scan.notePrompt': 'Note the main points of the picture, so that you can recall them when I ask later.',
|
|
577
667
|
'ta.nav.open': 'Open',
|
|
578
668
|
'ta.nav.pin': 'Move to the navigation',
|
|
579
669
|
'ta.nav.fold': 'Move to Discover',
|
|
@@ -765,6 +855,10 @@ export const ZH_MESSAGES = {
|
|
|
765
855
|
'ta.zoom.out': '缩小',
|
|
766
856
|
'ta.zoom.fit': '适应窗口',
|
|
767
857
|
'ta.zoom.actual': '实际大小',
|
|
858
|
+
'ta.zoom.loading': '加载中…',
|
|
859
|
+
'ta.zoom.previous': '上一张(←)',
|
|
860
|
+
'ta.zoom.next': '下一张(→)',
|
|
861
|
+
'ta.zoom.failed': '无法显示这张图片',
|
|
768
862
|
'ta.markdown.missing': '无法显示 {name}',
|
|
769
863
|
'ta.link.openFile': '点击打开',
|
|
770
864
|
'ta.link.openFolder': '点击在资源管理器中显示',
|
|
@@ -791,6 +885,9 @@ export const ZH_MESSAGES = {
|
|
|
791
885
|
'ta.editor.loading': '正在加载编辑器…',
|
|
792
886
|
'ta.editor.failed': '编辑器加载失败:{message}',
|
|
793
887
|
'ta.editor.unsavedTitle': '不保存就关闭 {title}?',
|
|
888
|
+
'ta.game.failed': '游戏没能启动',
|
|
889
|
+
'ta.game.label': '游戏',
|
|
890
|
+
'ta.game.loading': '正在加载游戏…',
|
|
794
891
|
'ta.editor.unsavedManyTitle': '不保存就关闭 {count} 个标签页?',
|
|
795
892
|
'ta.editor.unsavedMessage': '如果不保存,你的更改将丢失。',
|
|
796
893
|
'ta.editor.discardClose': '不保存并关闭',
|
|
@@ -892,7 +989,15 @@ export const ZH_MESSAGES = {
|
|
|
892
989
|
'ta.chat.restore': '放回列表',
|
|
893
990
|
'ta.chat.removeShort': '移除',
|
|
894
991
|
'ta.chat.restoreShort': '放回',
|
|
992
|
+
'ta.chat.pin': '置顶',
|
|
993
|
+
'ta.chat.unpin': '取消置顶',
|
|
994
|
+
'ta.chat.pinned': '置顶',
|
|
995
|
+
'ta.chat.unseen': '有新回复未查看',
|
|
895
996
|
'ta.chat.removed': '已移除({count})',
|
|
997
|
+
'ta.chat.olderCount': '{days} 天前({count})',
|
|
998
|
+
'ta.chat.archived': '已归档',
|
|
999
|
+
'ta.chat.archivedCount': '已归档({count})',
|
|
1000
|
+
'ta.chat.archivedHint': '超过 {count} 天没有新消息的对话',
|
|
896
1001
|
'ta.session.title': '会话',
|
|
897
1002
|
'ta.session.model': '模型',
|
|
898
1003
|
'ta.session.noModel': '未选模型',
|
|
@@ -909,14 +1014,24 @@ export const ZH_MESSAGES = {
|
|
|
909
1014
|
'ta.composer.steerPlaceholder': '继续补充或引导 Ta;Alt+Enter 排队追加',
|
|
910
1015
|
'ta.composer.steerPlaceholderTouch': '继续补充或引导 Ta',
|
|
911
1016
|
'ta.composer.stopTitle': '停止(Esc)',
|
|
1017
|
+
'ta.composer.stopping': '正在停止…',
|
|
912
1018
|
'ta.message.images': '{count} 张图片',
|
|
913
1019
|
'ta.message.stopped': '已停止。',
|
|
1020
|
+
'ta.message.interrupted': '这一轮中途断了:Ta 服务停止,或智能体没做完就结束了这一轮。',
|
|
1021
|
+
'ta.message.silent': '这一轮没有回复就结束了:智能体可能和模型断了连接。',
|
|
1022
|
+
'ta.message.failedUnknown': '请求失败,没有给出原因。',
|
|
1023
|
+
'ta.message.retriedFailed': '已自动重试 {count} 次,仍然失败',
|
|
1024
|
+
'ta.message.resume': '继续',
|
|
1025
|
+
'ta.message.resumeText': '继续',
|
|
914
1026
|
'ta.message.thinking': '思考',
|
|
915
1027
|
'ta.message.skill': '技能',
|
|
1028
|
+
'ta.message.showMore': '展开',
|
|
1029
|
+
'ta.message.showLess': '收起',
|
|
916
1030
|
'ta.message.compacted': '较早的消息已压缩',
|
|
917
1031
|
'ta.message.branch': '另一分支的摘要',
|
|
918
1032
|
'ta.message.forkBefore': '从这里在侧边新开对话',
|
|
919
1033
|
'ta.message.forkAt': '从这条回复在侧边新开对话',
|
|
1034
|
+
'ta.message.quote': '引用',
|
|
920
1035
|
'ta.message.rewind': '回退到这里',
|
|
921
1036
|
'ta.message.sendFailed': '发送失败',
|
|
922
1037
|
'ta.message.resend': '重发',
|
|
@@ -930,6 +1045,7 @@ export const ZH_MESSAGES = {
|
|
|
930
1045
|
'ta.message.debug': '复制调试信息',
|
|
931
1046
|
'ta.message.debugCopied': '已复制调试信息',
|
|
932
1047
|
'ta.message.used': '共消耗',
|
|
1048
|
+
'ta.message.modelSwitched': '已切换到 {model}',
|
|
933
1049
|
'ta.message.usageTitle': '发送 {input} token,接收 {output} token',
|
|
934
1050
|
'ta.tool.earlier': '前面还有 {count} 行',
|
|
935
1051
|
'ta.tool.hideScript': '收起脚本',
|
|
@@ -947,6 +1063,11 @@ export const ZH_MESSAGES = {
|
|
|
947
1063
|
'ta.tool.verb.getTask': '查看任务',
|
|
948
1064
|
'ta.tool.verb.messageTask': '告诉任务',
|
|
949
1065
|
'ta.tool.verb.stopTask': '停止任务',
|
|
1066
|
+
'ta.tool.verb.viewImage': '查看图片',
|
|
1067
|
+
'ta.tool.verb.fetch': '打开网页',
|
|
1068
|
+
'ta.tool.verb.webSearch': '搜索网页',
|
|
1069
|
+
'ta.tool.verb.todo': '更新待办',
|
|
1070
|
+
'ta.tool.verb.skill': '使用技能',
|
|
950
1071
|
'ta.assistant.me': '我的分身',
|
|
951
1072
|
'ta.assistant.hello': '你好,我是 Ta',
|
|
952
1073
|
'ta.assistant.showTasks': '查看任务',
|
|
@@ -966,7 +1087,8 @@ export const ZH_MESSAGES = {
|
|
|
966
1087
|
'ta.assistant.noTasksHint': '交给分身的事会列在这里',
|
|
967
1088
|
'ta.assistant.taskEnded': '这个任务的对话没有保留下来,结果如下:',
|
|
968
1089
|
'ta.assistant.speakOn': '朗读回复',
|
|
969
|
-
'ta.assistant.
|
|
1090
|
+
'ta.assistant.speakStop': '停止朗读',
|
|
1091
|
+
'ta.assistant.speakStopShort': '停止',
|
|
970
1092
|
'ta.assistant.poke': '戳一下 Ta',
|
|
971
1093
|
'ta.assistant.stop': '停止',
|
|
972
1094
|
'ta.assistant.restart': '重新开始',
|
|
@@ -1041,6 +1163,8 @@ export const ZH_MESSAGES = {
|
|
|
1041
1163
|
'ta.on': '开',
|
|
1042
1164
|
'ta.off': '关',
|
|
1043
1165
|
'ta.assistant.confirmOn': '开始任务前先问我',
|
|
1166
|
+
'ta.assistant.confirmShort': '先问我',
|
|
1167
|
+
'ta.assistant.speakTalkShort': '说话时朗读',
|
|
1044
1168
|
'ta.settings.assistant': '分身',
|
|
1045
1169
|
'ta.settings.assistantModel': '分身的模型',
|
|
1046
1170
|
'ta.settings.assistantModelHint': '分身靠调用工具来交出任务,要选普通模型;外部 Agent 只用自己的工具,当分身时不会开任务',
|
|
@@ -1072,9 +1196,15 @@ export const ZH_MESSAGES = {
|
|
|
1072
1196
|
'ta.settings.language.system': '跟随系统',
|
|
1073
1197
|
'ta.settings.voice': '语音',
|
|
1074
1198
|
'ta.settings.speak': '朗读回复',
|
|
1075
|
-
'ta.settings.speakHint': '
|
|
1199
|
+
'ta.settings.speakHint': '用本机自带的声音朗读。',
|
|
1076
1200
|
'ta.settings.speakTalk': '语音说话后朗读回复',
|
|
1077
1201
|
'ta.settings.speakTalkHint': '按住说话发给分身后,把它的回复读出来。关闭时只显示文字("朗读回复"开着时所有回复都会读)。',
|
|
1202
|
+
'ta.settings.voiceName': '朗读声音',
|
|
1203
|
+
'ta.settings.voiceNameHint': '默认用系统里最自然的声音。可以在系统设置里下载更自然的"高音质"声音:iPhone 在"辅助功能 › 朗读内容 › 声音",Mac 在"辅助功能 › 朗读内容 › 系统声音"。',
|
|
1204
|
+
'ta.settings.voiceAuto': '最自然的({name})',
|
|
1205
|
+
'ta.settings.voiceAutoNone': '最自然的',
|
|
1206
|
+
'ta.settings.voicePreview': '试听',
|
|
1207
|
+
'ta.settings.voiceSample': '你好,我是 Ta。我会用这个声音给你朗读回复。',
|
|
1078
1208
|
'ta.settings.motion': '减少动效',
|
|
1079
1209
|
'ta.settings.motionHint': '动画更平缓,也更省电。',
|
|
1080
1210
|
'ta.settings.fontSize': '字体大小',
|
|
@@ -1198,14 +1328,21 @@ export const ZH_MESSAGES = {
|
|
|
1198
1328
|
'ta.process.thinking': '思考中',
|
|
1199
1329
|
'ta.process.thought': '已思考',
|
|
1200
1330
|
'ta.process.failed': '{count} 步失败',
|
|
1331
|
+
'ta.process.retried': '请求失败,已重试',
|
|
1201
1332
|
'ta.process.earlier': '前 {count} 步',
|
|
1333
|
+
'ta.process.showAll': '显示全部',
|
|
1202
1334
|
'ta.session.phase.thinking': '思考中',
|
|
1203
1335
|
'ta.session.phase.working': '执行中',
|
|
1204
1336
|
'ta.session.phase.writing': '输出中',
|
|
1205
1337
|
'ta.progress.waiting': '等待模型响应',
|
|
1206
1338
|
'ta.progress.calling': '编写工具调用 · {tool}',
|
|
1207
1339
|
'ta.progress.compacting': '压缩上下文',
|
|
1208
|
-
'ta.progress.retrying': '
|
|
1340
|
+
'ta.progress.retrying': '{reason},{seconds} 秒后重试({attempt}/{max})',
|
|
1341
|
+
'ta.progress.retryingNow': '{reason},正在重试({attempt}/{max})',
|
|
1342
|
+
'ta.progress.retry.rateLimit': '被模型限流',
|
|
1343
|
+
'ta.progress.retry.overloaded': '模型繁忙',
|
|
1344
|
+
'ta.progress.retry.network': '网络中断',
|
|
1345
|
+
'ta.progress.retry.error': '请求失败',
|
|
1209
1346
|
'ta.progress.input': '本轮发送给模型的 token,每次请求都带上完整上下文',
|
|
1210
1347
|
'ta.progress.output': '本轮模型输出的 token',
|
|
1211
1348
|
'ta.composer.label': '消息',
|
|
@@ -1220,12 +1357,21 @@ export const ZH_MESSAGES = {
|
|
|
1220
1357
|
'ta.talk.releaseCancel': '松开 取消',
|
|
1221
1358
|
'ta.talk.releaseEdit': '松开 编辑',
|
|
1222
1359
|
'ta.talk.tooShort': '说话时间太短',
|
|
1360
|
+
'ta.talk.hold': '按住 说话',
|
|
1361
|
+
'ta.composer.keyboard': '切换到键盘',
|
|
1223
1362
|
'ta.composer.steerTitle': '引导 Ta(Enter);Alt+Enter 排队追加',
|
|
1224
1363
|
'ta.composer.addImage': '上传图片',
|
|
1364
|
+
'ta.composer.album': '相册',
|
|
1365
|
+
'ta.composer.camera': '拍照',
|
|
1225
1366
|
'ta.composer.more': '添加与设置',
|
|
1367
|
+
'ta.composer.page': '第 {page} 页',
|
|
1226
1368
|
'ta.composer.mentionFile': '引用文件',
|
|
1227
1369
|
'ta.composer.commands': '命令与技能',
|
|
1370
|
+
'ta.command.mcp': '管理 MCP 服务器:登录、重新连接、启用或停用、调整暴露方式',
|
|
1371
|
+
'ta.command.bug': '在 GitHub 上给 Ta 提交问题',
|
|
1228
1372
|
'ta.composer.removeImage': '移除图片',
|
|
1373
|
+
'ta.composer.recentShot': '你可能要发送的截图',
|
|
1374
|
+
'ta.composer.recentShotAdd': '带上刚才的截图',
|
|
1229
1375
|
'ta.composer.imageLoading': '正在读取图片…',
|
|
1230
1376
|
'ta.composer.image.type': '{name} 不是 Ta 能发送的图片:仅支持 PNG、JPEG、GIF、WebP。',
|
|
1231
1377
|
'ta.composer.image.size': '{name} 超过 5 MB。',
|
|
@@ -1289,7 +1435,7 @@ export const ZH_MESSAGES = {
|
|
|
1289
1435
|
'ta.launcher.place.navigation': '在导航栏',
|
|
1290
1436
|
'ta.launcher.place.discover': '在发现',
|
|
1291
1437
|
'ta.launcher.place.launcher': '快捷打开',
|
|
1292
|
-
'ta.launcher.place.list': '
|
|
1438
|
+
'ta.launcher.place.list': '在列表里',
|
|
1293
1439
|
'ta.board': '小组件',
|
|
1294
1440
|
'ta.board.edit': '编辑',
|
|
1295
1441
|
'ta.board.done': '完成',
|
|
@@ -1311,9 +1457,43 @@ export const ZH_MESSAGES = {
|
|
|
1311
1457
|
'ta.settings.minutes': '{count} 分钟',
|
|
1312
1458
|
'ta.settings.days': '{count} 天',
|
|
1313
1459
|
'ta.settings.never': '从不',
|
|
1460
|
+
'ta.settings.oneYear': '1 年',
|
|
1461
|
+
'ta.settings.chats': '对话列表',
|
|
1462
|
+
'ta.settings.chatFold': '折叠旧对话',
|
|
1463
|
+
'ta.settings.chatFoldHint': '超过这个时间没有新消息的对话折叠在列表(或所在目录)的末尾',
|
|
1464
|
+
'ta.settings.chatArchive': '归档旧对话',
|
|
1465
|
+
'ta.settings.chatArchiveHint': '超过这个时间没有新消息的对话移出列表,不再随列表刷新;在列表末尾的“已归档”或搜索中找回',
|
|
1466
|
+
'ta.settings.recentShots': '提示最近的截图',
|
|
1467
|
+
'ta.settings.recentShotsHint': '刚截屏后打开对话,输入框上方会提示一次这张截图,点一下即可带上。仅 Ta 桌面版和手机 App',
|
|
1314
1468
|
'ta.discover.empty': '这里还没有功能',
|
|
1315
1469
|
'ta.discover.emptyHint': '导航栏放不下的功能会收到这里',
|
|
1316
1470
|
'ta.discover.hint': '点图钉可以把功能放回导航栏。',
|
|
1471
|
+
'ta.scan': '扫一扫',
|
|
1472
|
+
'ta.scan.instructions': '扫描二维码',
|
|
1473
|
+
'ta.scan.failed': '没能识别二维码,请重试。',
|
|
1474
|
+
'ta.scan.pairTitle': '连接这台电脑?',
|
|
1475
|
+
'ta.scan.pairMessage': '连接后切换到那台电脑上的 Ta,之后可在“电脑”里切换回来。',
|
|
1476
|
+
'ta.scan.sameHost': '已经连着这台电脑',
|
|
1477
|
+
'ta.scan.result': '扫描结果',
|
|
1478
|
+
'ta.scan.copyFailed': '没能复制',
|
|
1479
|
+
'ta.scan.cameraFailed': '打不开相机',
|
|
1480
|
+
'ta.scan.flip': '翻转镜头',
|
|
1481
|
+
'ta.scan.myCode': '这台电脑的二维码',
|
|
1482
|
+
'ta.scan.album': '相册',
|
|
1483
|
+
'ta.scan.ask': '拍照给 Ta',
|
|
1484
|
+
'ta.scan.askHint': '识别、翻译、看报错、记下来',
|
|
1485
|
+
'ta.scan.askTitle': '想让 Ta 做什么?',
|
|
1486
|
+
'ta.scan.noCode': '图里没有二维码,问问 Ta?',
|
|
1487
|
+
'ta.scan.askPlaceholder': '或者直接说要做什么',
|
|
1488
|
+
'ta.scan.retake': '重拍',
|
|
1489
|
+
'ta.scan.identify': '识别',
|
|
1490
|
+
'ta.scan.identifyPrompt': '这是什么?帮我识别图里的内容。',
|
|
1491
|
+
'ta.scan.translate': '翻译',
|
|
1492
|
+
'ta.scan.translatePrompt': '把图里的文字翻译成中文;原文是中文的话译成英文。',
|
|
1493
|
+
'ta.scan.error': '看报错',
|
|
1494
|
+
'ta.scan.errorPrompt': '图里是报错或代码,帮我看看哪里出了问题、怎么解决。',
|
|
1495
|
+
'ta.scan.note': '记下来',
|
|
1496
|
+
'ta.scan.notePrompt': '把图里的要点整理出来记住,之后我问起时能想起来。',
|
|
1317
1497
|
'ta.nav.open': '打开',
|
|
1318
1498
|
'ta.nav.pin': '移到导航栏',
|
|
1319
1499
|
'ta.nav.fold': '移到发现',
|
package/esm/browser/index.d.ts
CHANGED
|
@@ -32,8 +32,16 @@ export * from './extension/icons.js';
|
|
|
32
32
|
export * from './extension/web-extension-api.js';
|
|
33
33
|
export * from './extension/web-extension-protocol.js';
|
|
34
34
|
export * from './extension/web-extensions.js';
|
|
35
|
+
export * from './extension/web-session-notices.js';
|
|
35
36
|
export * from './files/files.js';
|
|
36
37
|
export * from './files/files-protocol.js';
|
|
38
|
+
export * from './game/game-host.js';
|
|
39
|
+
export * from './game/game-protocol.js';
|
|
40
|
+
export * from './game/game-runner.js';
|
|
41
|
+
export * from './game/game-util.js';
|
|
42
|
+
export * from './game/game-view.js';
|
|
43
|
+
export * from './game/game3d-protocol.js';
|
|
44
|
+
export * from './game/game3d-runner.js';
|
|
37
45
|
export * from './hooks.js';
|
|
38
46
|
export * from './i18n/locales.js';
|
|
39
47
|
export * from './i18n/messages.js';
|
|
@@ -42,6 +50,7 @@ export * from './links/links.js';
|
|
|
42
50
|
export * from './links/links-protocol.js';
|
|
43
51
|
export * from './notices/notices.js';
|
|
44
52
|
export * from './notices/notices-protocol.js';
|
|
53
|
+
export * from './notices/session-notices.js';
|
|
45
54
|
export * from './offline/device-values.js';
|
|
46
55
|
export * from './offline/kept-chats.js';
|
|
47
56
|
export * from './offline/kept-chats-protocol.js';
|
package/esm/browser/index.js
CHANGED
|
@@ -32,8 +32,16 @@ export * from './extension/icons.js';
|
|
|
32
32
|
export * from './extension/web-extension-api.js';
|
|
33
33
|
export * from './extension/web-extension-protocol.js';
|
|
34
34
|
export * from './extension/web-extensions.js';
|
|
35
|
+
export * from './extension/web-session-notices.js';
|
|
35
36
|
export * from './files/files.js';
|
|
36
37
|
export * from './files/files-protocol.js';
|
|
38
|
+
export * from './game/game-host.js';
|
|
39
|
+
export * from './game/game-protocol.js';
|
|
40
|
+
export * from './game/game-runner.js';
|
|
41
|
+
export * from './game/game-util.js';
|
|
42
|
+
export * from './game/game-view.js';
|
|
43
|
+
export * from './game/game3d-protocol.js';
|
|
44
|
+
export * from './game/game3d-runner.js';
|
|
37
45
|
export * from './hooks.js';
|
|
38
46
|
export * from './i18n/locales.js';
|
|
39
47
|
export * from './i18n/messages.js';
|
|
@@ -42,6 +50,7 @@ export * from './links/links.js';
|
|
|
42
50
|
export * from './links/links-protocol.js';
|
|
43
51
|
export * from './notices/notices.js';
|
|
44
52
|
export * from './notices/notices-protocol.js';
|
|
53
|
+
export * from './notices/session-notices.js';
|
|
45
54
|
export * from './offline/device-values.js';
|
|
46
55
|
export * from './offline/kept-chats.js';
|
|
47
56
|
export * from './offline/kept-chats-protocol.js';
|
|
@@ -16,6 +16,11 @@ export interface LinksState {
|
|
|
16
16
|
export interface OpenLinkOptions {
|
|
17
17
|
/** The directory of the conversation the link is in; that of ta serve when none. */
|
|
18
18
|
cwd?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The absolute paths the tools of the conversation named, latest first (MessageUtil.namedPaths): a
|
|
21
|
+
* relative path is looked for where the agent worked too, as a git worktree beside `cwd`.
|
|
22
|
+
*/
|
|
23
|
+
paths?: readonly string[];
|
|
19
24
|
/** In the browser outside of Ta (Cmd or Ctrl + click), not in the browser of the workbench. */
|
|
20
25
|
external?: boolean;
|
|
21
26
|
}
|
|
@@ -30,6 +35,8 @@ export interface TaLinks {
|
|
|
30
35
|
readonly state: LinksState;
|
|
31
36
|
subscribe(listener: (state: LinksState) => void): () => void;
|
|
32
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>;
|
|
33
40
|
/** The answer to the question shown. */
|
|
34
41
|
answer(id: number, answer: ExternalLinkAnswer): void;
|
|
35
42
|
}
|
|
@@ -5,6 +5,9 @@ import { TaSettings } from '../settings/settings-protocol.js';
|
|
|
5
5
|
import { type LinkTarget } from '../util/link.js';
|
|
6
6
|
import { TaWorkbench } from '../workbench-protocol.js';
|
|
7
7
|
import { type ExternalLinkAnswer, type LinksState, type OpenLinkOptions, TaLinks } from './links-protocol.js';
|
|
8
|
+
type PathTarget = Extract<LinkTarget, {
|
|
9
|
+
type: 'path';
|
|
10
|
+
}>;
|
|
8
11
|
export declare class TaLinksImpl implements TaLinks {
|
|
9
12
|
protected readonly workbench: TaWorkbench;
|
|
10
13
|
protected readonly extensions: TaWebExtensions;
|
|
@@ -15,14 +18,27 @@ export declare class TaLinksImpl implements TaLinks {
|
|
|
15
18
|
protected readonly listeners: Set<(state: LinksState) => void>;
|
|
16
19
|
get state(): LinksState;
|
|
17
20
|
subscribe(listener: (state: LinksState) => void): () => void;
|
|
18
|
-
open(
|
|
21
|
+
open(link: LinkTarget, { cwd, paths, external }?: OpenLinkOptions): Promise<void>;
|
|
19
22
|
answer(id: number, answer: ExternalLinkAnswer): void;
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
protected
|
|
23
|
+
/**
|
|
24
|
+
* A file or a directory as the openers take it. A relative path is looked for first where the tools
|
|
25
|
+
* named it and in the directory of the conversation, then near where they worked (LinkUtil.places): an
|
|
26
|
+
* agent in a git worktree writes paths of the worktree.
|
|
27
|
+
*/
|
|
28
|
+
protected locate(target: PathTarget, conversationCwd: string, paths: readonly string[]): Promise<WebLink | undefined>;
|
|
29
|
+
/** The path in the first of `dirs` that has it, each read at once. */
|
|
30
|
+
protected find(target: PathTarget, dirs: readonly string[]): Promise<WebLink | undefined>;
|
|
31
|
+
/** The path in `dir`, whether a file or a directory, read from its directory; undefined when it is not there. */
|
|
32
|
+
protected lookUp(target: PathTarget, dir: string): Promise<WebLink | undefined>;
|
|
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>;
|
|
40
|
+
/** The first opener of the web extensions that opens it; of those of some links only, with `specific`. */
|
|
41
|
+
protected dispatch(link: WebLink, specific?: boolean): Promise<boolean>;
|
|
26
42
|
/** Without asking for a host the user trusts; else the question, which a later link replaces. */
|
|
27
43
|
protected askExternal(url: string): void;
|
|
28
44
|
/** A tab of its own, which cannot reach this page (no opener) nor learn where it came from. */
|
|
@@ -30,3 +46,4 @@ export declare class TaLinksImpl implements TaLinks {
|
|
|
30
46
|
protected text(id: 'ta.link.noOpener' | 'ta.link.copied' | 'ta.link.notFound', path?: string): string;
|
|
31
47
|
protected update(change: Partial<LinksState>): void;
|
|
32
48
|
}
|
|
49
|
+
export {};
|