@celljs/ta-web 4.17.0 → 4.19.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 +2 -1
- package/README.md +2 -1
- package/esm/browser/account/account-side.d.ts +13 -0
- package/esm/browser/account/account-side.js +74 -0
- package/esm/browser/account/device-account.d.ts +69 -0
- package/esm/browser/account/device-account.js +215 -0
- package/esm/browser/assistant/assistant-chat-list.d.ts +4 -4
- package/esm/browser/assistant/assistant-chat-list.js +74 -4
- package/esm/browser/assistant/assistant-export.js +6 -2
- package/esm/browser/assistant/assistant-extension.js +70 -15
- package/esm/browser/assistant/assistant-role.d.ts +2 -2
- package/esm/browser/assistant/assistant-role.js +7 -4
- package/esm/browser/assistant/assistant-task-source.d.ts +4 -0
- package/esm/browser/assistant/assistant-task-source.js +18 -4
- package/esm/browser/assistant/assistant-task-util.d.ts +8 -0
- package/esm/browser/assistant/assistant-task-util.js +14 -3
- package/esm/browser/assistant/assistant-tasks.js +2 -2
- package/esm/browser/assistant/assistant-thread.js +5 -1
- package/esm/browser/assistant/assistant-view.js +3 -5
- package/esm/browser/assistant/assistant.js +2 -1
- package/esm/browser/assistant/call-keeper.d.ts +142 -0
- package/esm/browser/assistant/call-keeper.js +292 -0
- package/esm/browser/assistant/call-screen.d.ts +39 -0
- package/esm/browser/assistant/call-screen.js +75 -0
- package/esm/browser/assistant/chat-task-source.d.ts +16 -18
- package/esm/browser/assistant/chat-task-source.js +27 -52
- package/esm/browser/assistant/realtime-voice.d.ts +62 -1
- package/esm/browser/assistant/realtime-voice.js +188 -29
- package/esm/browser/assistant/task-views.d.ts +9 -6
- package/esm/browser/assistant/task-views.js +28 -10
- package/esm/browser/assistant/voice-call-bar.d.ts +11 -4
- package/esm/browser/assistant/voice-call-bar.js +102 -46
- package/esm/browser/assistant/voice-call.d.ts +33 -1
- package/esm/browser/assistant/voice-call.js +131 -28
- package/esm/browser/assistant/voice-reopen.d.ts +18 -0
- package/esm/browser/assistant/voice-reopen.js +54 -0
- package/esm/browser/chat/chat-view.js +5 -8
- package/esm/browser/cloud/cloud-sign-in.d.ts +100 -0
- package/esm/browser/cloud/cloud-sign-in.js +239 -0
- package/esm/browser/cloud/device-page.d.ts +15 -0
- package/esm/browser/cloud/device-page.js +39 -0
- package/esm/browser/components/access-view.js +25 -1
- package/esm/browser/components/account-menu.d.ts +1 -1
- package/esm/browser/components/account-menu.js +7 -2
- package/esm/browser/components/account-view.d.ts +17 -0
- package/esm/browser/components/account-view.js +216 -0
- package/esm/browser/components/app-contexts.d.ts +12 -0
- package/esm/browser/components/app-contexts.js +28 -0
- package/esm/browser/components/app-nav.d.ts +5 -3
- package/esm/browser/components/app-nav.js +11 -8
- package/esm/browser/components/app-shell-state.d.ts +2 -2
- package/esm/browser/components/app-shell-state.js +33 -28
- package/esm/browser/components/app-view.js +113 -82
- package/esm/browser/components/auth-view.js +3 -5
- package/esm/browser/components/call-pill.d.ts +11 -0
- package/esm/browser/components/call-pill.js +19 -0
- package/esm/browser/components/chat-home-util.d.ts +112 -0
- package/esm/browser/components/chat-home-util.js +123 -0
- package/esm/browser/components/chat-home.d.ts +54 -0
- package/esm/browser/components/chat-home.js +125 -0
- package/esm/browser/components/chat-icon.d.ts +4 -2
- package/esm/browser/components/chat-icon.js +15 -5
- package/esm/browser/components/chat-list-hooks.d.ts +30 -0
- package/esm/browser/components/chat-list-hooks.js +81 -0
- package/esm/browser/components/chat-list-props.d.ts +54 -0
- package/esm/browser/components/chat-list-props.js +2 -0
- package/esm/browser/components/chat-list-row.d.ts +14 -2
- package/esm/browser/components/chat-list-row.js +27 -17
- package/esm/browser/components/chat-list-util.d.ts +40 -9
- package/esm/browser/components/chat-list-util.js +72 -9
- package/esm/browser/components/chat-list.d.ts +4 -49
- package/esm/browser/components/chat-list.js +118 -87
- package/esm/browser/components/cloud-sign-in-view.d.ts +65 -0
- package/esm/browser/components/cloud-sign-in-view.js +351 -0
- package/esm/browser/components/code-editor.js +2 -1
- package/esm/browser/components/composer-box.js +7 -0
- package/esm/browser/components/connection-bar.js +22 -3
- package/esm/browser/components/context-menu.d.ts +11 -2
- package/esm/browser/components/context-menu.js +14 -3
- package/esm/browser/components/conversation-scroll.d.ts +2 -0
- package/esm/browser/components/conversation-scroll.js +14 -0
- package/esm/browser/components/device-sign-in-page.d.ts +12 -0
- package/esm/browser/components/device-sign-in-page.js +74 -0
- package/esm/browser/components/diff-editor.js +2 -1
- package/esm/browser/components/entry-holds.d.ts +22 -0
- package/esm/browser/components/entry-holds.js +49 -0
- package/esm/browser/components/environment-view.js +8 -8
- package/esm/browser/components/face.d.ts +1 -1
- package/esm/browser/components/fold-text.js +3 -1
- package/esm/browser/components/fork-view.js +2 -4
- package/esm/browser/components/gallery.js +2 -1
- package/esm/browser/components/held-talk.d.ts +6 -2
- package/esm/browser/components/held-talk.js +20 -2
- package/esm/browser/components/host-view.d.ts +11 -4
- package/esm/browser/components/host-view.js +60 -14
- package/esm/browser/components/image-swipe.d.ts +50 -0
- package/esm/browser/components/image-swipe.js +139 -0
- package/esm/browser/components/image-viewer.d.ts +10 -114
- package/esm/browser/components/image-viewer.js +46 -365
- package/esm/browser/components/image-zoom.d.ts +112 -0
- package/esm/browser/components/image-zoom.js +355 -0
- package/esm/browser/components/kept-call-bar.d.ts +12 -0
- package/esm/browser/components/kept-call-bar.js +99 -0
- package/esm/browser/components/lightbox.d.ts +6 -2
- package/esm/browser/components/lightbox.js +4 -3
- package/esm/browser/components/link-dialog.d.ts +2 -1
- package/esm/browser/components/link-dialog.js +5 -1
- package/esm/browser/components/link.d.ts +4 -0
- package/esm/browser/components/link.js +11 -0
- package/esm/browser/components/loading.d.ts +12 -0
- package/esm/browser/components/loading.js +18 -0
- package/esm/browser/components/markdown.js +2 -1
- package/esm/browser/components/mermaid-view.js +14 -7
- package/esm/browser/components/message-images.js +1 -1
- package/esm/browser/components/message-list.js +12 -7
- package/esm/browser/components/message-steps.js +31 -23
- package/esm/browser/components/message-user.d.ts +10 -1
- package/esm/browser/components/message-user.js +48 -13
- package/esm/browser/components/model-picker.d.ts +3 -1
- package/esm/browser/components/model-picker.js +14 -3
- package/esm/browser/components/nav-places.d.ts +7 -12
- package/esm/browser/components/nav-places.js +10 -13
- package/esm/browser/components/phone-shell.d.ts +1 -1
- package/esm/browser/components/scan-screen.d.ts +4 -2
- package/esm/browser/components/scan-screen.js +46 -20
- package/esm/browser/components/search-page.js +3 -2
- package/esm/browser/components/secret-peek.d.ts +3 -0
- package/esm/browser/components/secret-peek.js +19 -0
- package/esm/browser/components/secret-text.d.ts +41 -0
- package/esm/browser/components/secret-text.js +80 -0
- package/esm/browser/components/session-view.js +44 -13
- package/esm/browser/components/settings-choices.d.ts +3 -3
- package/esm/browser/components/settings-choices.js +9 -29
- package/esm/browser/components/settings-parts.js +5 -2
- package/esm/browser/components/settings-view.js +2 -2
- package/esm/browser/components/share-dialog.d.ts +2 -3
- package/esm/browser/components/share-dialog.js +6 -41
- package/esm/browser/components/share-friends.d.ts +18 -0
- package/esm/browser/components/share-friends.js +56 -0
- package/esm/browser/components/share-sheet.d.ts +15 -0
- package/esm/browser/components/share-sheet.js +79 -0
- package/esm/browser/components/side-lists.d.ts +16 -4
- package/esm/browser/components/side-lists.js +28 -12
- package/esm/browser/components/sign-in-accounts.d.ts +2 -1
- package/esm/browser/components/sign-in-accounts.js +59 -5
- package/esm/browser/components/sign-in-label.d.ts +5 -0
- package/esm/browser/components/sign-in-label.js +10 -0
- package/esm/browser/components/system-link-host.d.ts +2 -0
- package/esm/browser/components/system-link-host.js +17 -0
- package/esm/browser/components/tool-result.d.ts +3 -2
- package/esm/browser/components/tool-result.js +5 -3
- package/esm/browser/components/tool-view.d.ts +21 -3
- package/esm/browser/components/tool-view.js +103 -35
- package/esm/browser/components/unseen-drop.d.ts +2 -1
- package/esm/browser/components/unseen-drop.js +1 -1
- package/esm/browser/components/voice-services.js +26 -3
- package/esm/browser/components/workbench-view.d.ts +1 -1
- package/esm/browser/components/workbench-view.js +42 -5
- package/esm/browser/device/code-scan.d.ts +23 -10
- package/esm/browser/device/code-scan.js +48 -43
- package/esm/browser/device/edge-back.d.ts +17 -0
- package/esm/browser/device/edge-back.js +52 -0
- package/esm/browser/device/launch-screen.d.ts +1 -1
- package/esm/browser/device/launch-screen.js +2 -2
- package/esm/browser/device/screen-awake.d.ts +24 -0
- package/esm/browser/device/screen-awake.js +59 -0
- package/esm/browser/extension/icons.js +13 -2
- package/esm/browser/extension/share-sheet-compat.d.ts +11 -0
- package/esm/browser/extension/share-sheet-compat.js +27 -0
- package/esm/browser/extension/web-api-chats.d.ts +49 -0
- package/esm/browser/extension/web-api-chats.js +2 -0
- package/esm/browser/extension/web-api-components.d.ts +61 -6
- package/esm/browser/extension/web-api-contributions.d.ts +28 -53
- package/esm/browser/extension/web-api-screen-share.d.ts +10 -0
- package/esm/browser/extension/web-api-screen-share.js +3 -0
- package/esm/browser/extension/web-api-services.d.ts +50 -0
- package/esm/browser/extension/web-api-services.js +2 -0
- package/esm/browser/extension/web-extension-api.d.ts +45 -65
- package/esm/browser/extension/web-extension-context.d.ts +5 -10
- package/esm/browser/extension/web-extension-context.js +33 -21
- package/esm/browser/extension/web-extension-protocol.d.ts +8 -3
- package/esm/browser/extension/web-extension-run.js +0 -1
- package/esm/browser/extension/web-extensions.d.ts +4 -1
- package/esm/browser/extension/web-extensions.js +12 -0
- package/esm/browser/extension/web-tasks.d.ts +6 -1
- package/esm/browser/extension/web-tasks.js +11 -3
- package/esm/browser/extension/web-view-util.d.ts +0 -1
- package/esm/browser/extension/web-view-util.js +4 -5
- package/esm/browser/files/files.d.ts +1 -0
- package/esm/browser/files/files.js +14 -3
- package/esm/browser/game/game-control.d.ts +118 -0
- package/esm/browser/game/game-control.js +341 -0
- package/esm/browser/game/game-host.d.ts +14 -2
- package/esm/browser/game/game-host.js +22 -5
- package/esm/browser/game/game-protocol.d.ts +15 -0
- package/esm/browser/game/game-runner.d.ts +3 -1
- package/esm/browser/game/game-runner.js +6 -0
- package/esm/browser/game/game-util.d.ts +3 -0
- package/esm/browser/game/game-util.js +3 -0
- package/esm/browser/game/game-view.d.ts +5 -2
- package/esm/browser/game/game-view.js +4 -4
- package/esm/browser/game/game3d-protocol.d.ts +5 -1
- package/esm/browser/game/game3d-runner.d.ts +3 -1
- package/esm/browser/game/game3d-runner.js +14 -0
- package/esm/browser/gateway/console-agents.d.ts +11 -0
- package/esm/browser/gateway/console-agents.js +128 -0
- package/esm/browser/gateway/console-extension.js +0 -1
- package/esm/browser/gateway/console-limits.d.ts +19 -0
- package/esm/browser/gateway/console-limits.js +164 -0
- package/esm/browser/gateway/console-parts.d.ts +29 -22
- package/esm/browser/gateway/console-parts.js +67 -137
- package/esm/browser/gateway/console-tenant.d.ts +2 -4
- package/esm/browser/gateway/console-tenant.js +117 -209
- package/esm/browser/gateway/console-trend.js +6 -4
- package/esm/browser/gateway/console-view.js +136 -109
- package/esm/browser/hooks.js +1 -3
- package/esm/browser/hosts.d.ts +7 -0
- package/esm/browser/hosts.js +23 -2
- package/esm/browser/i18n/locales.d.ts +169 -14
- package/esm/browser/i18n/messages-ja.js +178 -23
- package/esm/browser/i18n/messages-zh-tw.js +178 -23
- package/esm/browser/i18n/messages.d.ts +166 -11
- package/esm/browser/i18n/messages.js +357 -47
- package/esm/browser/index.d.ts +1 -0
- package/esm/browser/index.js +1 -0
- package/esm/browser/links/links-protocol.d.ts +10 -1
- package/esm/browser/links/links.d.ts +11 -2
- package/esm/browser/links/links.js +65 -7
- package/esm/browser/links/system-links.d.ts +21 -0
- package/esm/browser/links/system-links.js +54 -0
- package/esm/browser/markdown/hooks.d.ts +3 -1
- package/esm/browser/markdown/hooks.js +11 -3
- package/esm/browser/markdown/mermaid.d.ts +18 -4
- package/esm/browser/markdown/mermaid.js +117 -17
- package/esm/browser/screen/screen-protocol.d.ts +74 -1
- package/esm/browser/screen/screen-protocol.js +15 -0
- package/esm/browser/screen/screen-scroll.d.ts +55 -0
- package/esm/browser/screen/screen-scroll.js +182 -0
- package/esm/browser/screen/screen.d.ts +34 -1
- package/esm/browser/screen/screen.js +172 -2
- package/esm/browser/settings/navigation.d.ts +9 -21
- package/esm/browser/settings/navigation.js +11 -31
- package/esm/browser/settings/settings-protocol.d.ts +9 -0
- package/esm/browser/settings/settings-protocol.js +18 -0
- package/esm/browser/settings/settings.d.ts +7 -1
- package/esm/browser/settings/settings.js +31 -7
- package/esm/browser/share/shared-extensions.js +4 -3
- package/esm/browser/share/shared-page.js +2 -2
- package/esm/browser/style/base.d.ts +1 -1
- package/esm/browser/style/base.js +8 -1
- package/esm/browser/style/chat-list.d.ts +1 -1
- package/esm/browser/style/chat-list.js +0 -3
- package/esm/browser/style/conversation.d.ts +1 -1
- package/esm/browser/style/conversation.js +42 -4
- package/esm/browser/style/dialogs.d.ts +1 -1
- package/esm/browser/style/dialogs.js +31 -1
- package/esm/browser/style/layout.d.ts +1 -1
- package/esm/browser/style/layout.js +7 -15
- package/esm/browser/style/pages.d.ts +1 -1
- package/esm/browser/style/pages.js +168 -112
- package/esm/browser/style/phone.d.ts +1 -1
- package/esm/browser/style/phone.js +10 -3
- package/esm/browser/style/shared.d.ts +1 -1
- package/esm/browser/style/shared.js +1 -0
- package/esm/browser/style/shell.d.ts +1 -1
- package/esm/browser/style/shell.js +12 -0
- package/esm/browser/style/surfaces.d.ts +1 -1
- package/esm/browser/style/surfaces.js +38 -13
- package/esm/browser/style/tasks.d.ts +1 -1
- package/esm/browser/style/tasks.js +16 -2
- package/esm/browser/style/tints.d.ts +5 -4
- package/esm/browser/style/tints.js +9 -9
- package/esm/browser/util/desktop.d.ts +7 -1
- package/esm/browser/util/desktop.js +17 -0
- package/esm/browser/util/image-swipe.d.ts +42 -0
- package/esm/browser/util/image-swipe.js +66 -0
- package/esm/browser/util/process.d.ts +31 -3
- package/esm/browser/util/process.js +75 -8
- package/esm/browser/util/share-link.d.ts +5 -0
- package/esm/browser/util/share-link.js +10 -0
- package/esm/browser/util/shell-words.d.ts +18 -0
- package/esm/browser/util/shell-words.js +397 -0
- package/esm/browser/util/spoken.d.ts +5 -0
- package/esm/browser/util/spoken.js +11 -2
- package/esm/browser/util/tool.d.ts +9 -0
- package/esm/browser/util/tool.js +71 -6
- package/esm/browser/util/transcript.js +3 -1
- package/esm/browser/util/turn-end.d.ts +17 -0
- package/esm/browser/util/turn-end.js +164 -0
- package/esm/browser/workbench-hosts.d.ts +8 -1
- package/esm/browser/workbench-hosts.js +22 -2
- package/esm/browser/workbench-protocol.d.ts +25 -3
- package/esm/browser/workbench-services.d.ts +10 -1
- package/esm/browser/workbench-services.js +41 -0
- package/esm/browser/workbench-util.d.ts +9 -3
- package/esm/browser/workbench-util.js +24 -4
- package/esm/browser/workbench.d.ts +3 -0
- package/esm/browser/workbench.js +36 -9
- package/lib/browser/account/account-side.d.ts +14 -0
- package/lib/browser/account/account-side.js +111 -0
- package/lib/browser/account/device-account.d.ts +70 -0
- package/lib/browser/account/device-account.js +219 -0
- package/lib/browser/assistant/assistant-chat-list.d.ts +4 -4
- package/lib/browser/assistant/assistant-chat-list.js +73 -3
- package/lib/browser/assistant/assistant-export.js +5 -1
- package/lib/browser/assistant/assistant-extension.js +69 -14
- package/lib/browser/assistant/assistant-role.d.ts +2 -2
- package/lib/browser/assistant/assistant-role.js +7 -4
- package/lib/browser/assistant/assistant-task-source.d.ts +4 -0
- package/lib/browser/assistant/assistant-task-source.js +19 -4
- package/lib/browser/assistant/assistant-task-util.d.ts +8 -0
- package/lib/browser/assistant/assistant-task-util.js +14 -3
- package/lib/browser/assistant/assistant-tasks.js +2 -2
- package/lib/browser/assistant/assistant-thread.js +4 -0
- package/lib/browser/assistant/assistant-view.js +3 -5
- package/lib/browser/assistant/assistant.js +2 -1
- package/lib/browser/assistant/call-keeper.d.ts +143 -0
- package/lib/browser/assistant/call-keeper.js +295 -0
- package/lib/browser/assistant/call-screen.d.ts +40 -0
- package/lib/browser/assistant/call-screen.js +78 -0
- package/lib/browser/assistant/chat-task-source.d.ts +16 -18
- package/lib/browser/assistant/chat-task-source.js +28 -53
- package/lib/browser/assistant/realtime-voice.d.ts +62 -1
- package/lib/browser/assistant/realtime-voice.js +188 -29
- package/lib/browser/assistant/task-views.d.ts +9 -6
- package/lib/browser/assistant/task-views.js +29 -10
- package/lib/browser/assistant/voice-call-bar.d.ts +11 -4
- package/lib/browser/assistant/voice-call-bar.js +102 -46
- package/lib/browser/assistant/voice-call.d.ts +33 -1
- package/lib/browser/assistant/voice-call.js +132 -29
- package/lib/browser/assistant/voice-reopen.d.ts +19 -0
- package/lib/browser/assistant/voice-reopen.js +58 -0
- package/lib/browser/chat/chat-view.js +5 -8
- package/lib/browser/cloud/cloud-sign-in.d.ts +101 -0
- package/lib/browser/cloud/cloud-sign-in.js +244 -0
- package/lib/browser/cloud/device-page.d.ts +16 -0
- package/lib/browser/cloud/device-page.js +42 -0
- package/lib/browser/components/access-view.js +24 -0
- package/lib/browser/components/account-menu.d.ts +1 -1
- package/lib/browser/components/account-menu.js +6 -1
- package/lib/browser/components/account-view.d.ts +18 -0
- package/lib/browser/components/account-view.js +255 -0
- package/lib/browser/components/app-contexts.d.ts +13 -0
- package/lib/browser/components/app-contexts.js +64 -0
- package/lib/browser/components/app-nav.d.ts +5 -3
- package/lib/browser/components/app-nav.js +11 -8
- package/lib/browser/components/app-shell-state.d.ts +2 -2
- package/lib/browser/components/app-shell-state.js +33 -28
- package/lib/browser/components/app-view.js +109 -78
- package/lib/browser/components/auth-view.js +3 -5
- package/lib/browser/components/call-pill.d.ts +12 -0
- package/lib/browser/components/call-pill.js +55 -0
- package/lib/browser/components/chat-home-util.d.ts +113 -0
- package/lib/browser/components/chat-home-util.js +126 -0
- package/lib/browser/components/chat-home.d.ts +55 -0
- package/lib/browser/components/chat-home.js +164 -0
- package/lib/browser/components/chat-icon.d.ts +4 -2
- package/lib/browser/components/chat-icon.js +15 -5
- package/lib/browser/components/chat-list-hooks.d.ts +31 -0
- package/lib/browser/components/chat-list-hooks.js +120 -0
- package/lib/browser/components/chat-list-props.d.ts +55 -0
- package/lib/browser/components/chat-list-props.js +3 -0
- package/lib/browser/components/chat-list-row.d.ts +14 -2
- package/lib/browser/components/chat-list-row.js +27 -16
- package/lib/browser/components/chat-list-util.d.ts +40 -9
- package/lib/browser/components/chat-list-util.js +73 -10
- package/lib/browser/components/chat-list.d.ts +4 -49
- package/lib/browser/components/chat-list.js +121 -90
- package/lib/browser/components/cloud-sign-in-view.d.ts +66 -0
- package/lib/browser/components/cloud-sign-in-view.js +394 -0
- package/lib/browser/components/code-editor.js +2 -1
- package/lib/browser/components/composer-box.js +7 -0
- package/lib/browser/components/connection-bar.js +22 -3
- package/lib/browser/components/context-menu.d.ts +11 -2
- package/lib/browser/components/context-menu.js +14 -3
- package/lib/browser/components/conversation-scroll.d.ts +2 -0
- package/lib/browser/components/conversation-scroll.js +14 -0
- package/lib/browser/components/device-sign-in-page.d.ts +13 -0
- package/lib/browser/components/device-sign-in-page.js +110 -0
- package/lib/browser/components/diff-editor.js +2 -1
- package/lib/browser/components/entry-holds.d.ts +23 -0
- package/lib/browser/components/entry-holds.js +86 -0
- package/lib/browser/components/environment-view.js +8 -8
- package/lib/browser/components/face.d.ts +1 -1
- package/lib/browser/components/fold-text.js +3 -1
- package/lib/browser/components/fork-view.js +2 -4
- package/lib/browser/components/gallery.js +2 -1
- package/lib/browser/components/held-talk.d.ts +6 -2
- package/lib/browser/components/held-talk.js +20 -2
- package/lib/browser/components/host-view.d.ts +11 -4
- package/lib/browser/components/host-view.js +60 -13
- package/lib/browser/components/image-swipe.d.ts +51 -0
- package/lib/browser/components/image-swipe.js +143 -0
- package/lib/browser/components/image-viewer.d.ts +10 -114
- package/lib/browser/components/image-viewer.js +47 -368
- package/lib/browser/components/image-zoom.d.ts +113 -0
- package/lib/browser/components/image-zoom.js +359 -0
- package/lib/browser/components/kept-call-bar.d.ts +13 -0
- package/lib/browser/components/kept-call-bar.js +135 -0
- package/lib/browser/components/lightbox.d.ts +6 -2
- package/lib/browser/components/lightbox.js +4 -3
- package/lib/browser/components/link-dialog.d.ts +2 -1
- package/lib/browser/components/link-dialog.js +5 -1
- package/lib/browser/components/link.d.ts +4 -0
- package/lib/browser/components/link.js +12 -0
- package/lib/browser/components/loading.d.ts +13 -0
- package/lib/browser/components/loading.js +55 -0
- package/lib/browser/components/markdown.js +2 -1
- package/lib/browser/components/mermaid-view.js +13 -6
- package/lib/browser/components/message-images.js +1 -1
- package/lib/browser/components/message-list.js +12 -7
- package/lib/browser/components/message-steps.js +31 -23
- package/lib/browser/components/message-user.d.ts +10 -1
- package/lib/browser/components/message-user.js +48 -12
- package/lib/browser/components/model-picker.d.ts +3 -1
- package/lib/browser/components/model-picker.js +14 -3
- package/lib/browser/components/nav-places.d.ts +7 -12
- package/lib/browser/components/nav-places.js +10 -13
- package/lib/browser/components/phone-shell.d.ts +1 -1
- package/lib/browser/components/scan-screen.d.ts +4 -2
- package/lib/browser/components/scan-screen.js +47 -20
- package/lib/browser/components/search-page.js +3 -2
- package/lib/browser/components/secret-peek.d.ts +4 -0
- package/lib/browser/components/secret-peek.js +55 -0
- package/lib/browser/components/secret-text.d.ts +42 -0
- package/lib/browser/components/secret-text.js +118 -0
- package/lib/browser/components/session-view.js +43 -12
- package/lib/browser/components/settings-choices.d.ts +3 -3
- package/lib/browser/components/settings-choices.js +8 -28
- package/lib/browser/components/settings-parts.js +4 -1
- package/lib/browser/components/settings-view.js +2 -2
- package/lib/browser/components/share-dialog.d.ts +2 -3
- package/lib/browser/components/share-dialog.js +5 -40
- package/lib/browser/components/share-friends.d.ts +19 -0
- package/lib/browser/components/share-friends.js +93 -0
- package/lib/browser/components/share-sheet.d.ts +16 -0
- package/lib/browser/components/share-sheet.js +115 -0
- package/lib/browser/components/side-lists.d.ts +16 -4
- package/lib/browser/components/side-lists.js +28 -12
- package/lib/browser/components/sign-in-accounts.d.ts +2 -1
- package/lib/browser/components/sign-in-accounts.js +59 -5
- package/lib/browser/components/sign-in-label.d.ts +6 -0
- package/lib/browser/components/sign-in-label.js +13 -0
- package/lib/browser/components/system-link-host.d.ts +3 -0
- package/lib/browser/components/system-link-host.js +53 -0
- package/lib/browser/components/tool-result.d.ts +3 -2
- package/lib/browser/components/tool-result.js +5 -3
- package/lib/browser/components/tool-view.d.ts +21 -3
- package/lib/browser/components/tool-view.js +104 -36
- package/lib/browser/components/unseen-drop.d.ts +2 -1
- package/lib/browser/components/unseen-drop.js +1 -1
- package/lib/browser/components/voice-services.js +23 -0
- package/lib/browser/components/workbench-view.d.ts +1 -1
- package/lib/browser/components/workbench-view.js +42 -5
- package/lib/browser/device/code-scan.d.ts +23 -10
- package/lib/browser/device/code-scan.js +47 -42
- package/lib/browser/device/edge-back.d.ts +18 -0
- package/lib/browser/device/edge-back.js +89 -0
- package/lib/browser/device/launch-screen.d.ts +1 -1
- package/lib/browser/device/launch-screen.js +2 -2
- package/lib/browser/device/screen-awake.d.ts +25 -0
- package/lib/browser/device/screen-awake.js +63 -0
- package/lib/browser/extension/icons.js +12 -1
- package/lib/browser/extension/share-sheet-compat.d.ts +12 -0
- package/lib/browser/extension/share-sheet-compat.js +30 -0
- package/lib/browser/extension/web-api-chats.d.ts +50 -0
- package/lib/browser/extension/web-api-chats.js +3 -0
- package/lib/browser/extension/web-api-components.d.ts +61 -6
- package/lib/browser/extension/web-api-contributions.d.ts +28 -53
- package/lib/browser/extension/web-api-screen-share.d.ts +11 -0
- package/lib/browser/extension/web-api-screen-share.js +6 -0
- package/lib/browser/extension/web-api-services.d.ts +51 -0
- package/lib/browser/extension/web-api-services.js +3 -0
- package/lib/browser/extension/web-extension-api.d.ts +45 -65
- package/lib/browser/extension/web-extension-context.d.ts +5 -10
- package/lib/browser/extension/web-extension-context.js +33 -21
- package/lib/browser/extension/web-extension-protocol.d.ts +8 -3
- package/lib/browser/extension/web-extension-run.js +0 -1
- package/lib/browser/extension/web-extensions.d.ts +4 -1
- package/lib/browser/extension/web-extensions.js +12 -0
- package/lib/browser/extension/web-tasks.d.ts +6 -1
- package/lib/browser/extension/web-tasks.js +11 -3
- package/lib/browser/extension/web-view-util.d.ts +0 -1
- package/lib/browser/extension/web-view-util.js +4 -5
- package/lib/browser/files/files.d.ts +1 -0
- package/lib/browser/files/files.js +14 -3
- package/lib/browser/game/game-control.d.ts +119 -0
- package/lib/browser/game/game-control.js +345 -0
- package/lib/browser/game/game-host.d.ts +14 -2
- package/lib/browser/game/game-host.js +22 -5
- package/lib/browser/game/game-protocol.d.ts +15 -0
- package/lib/browser/game/game-runner.d.ts +3 -1
- package/lib/browser/game/game-runner.js +6 -0
- package/lib/browser/game/game-util.d.ts +3 -0
- package/lib/browser/game/game-util.js +3 -0
- package/lib/browser/game/game-view.d.ts +5 -2
- package/lib/browser/game/game-view.js +4 -4
- package/lib/browser/game/game3d-protocol.d.ts +5 -1
- package/lib/browser/game/game3d-runner.d.ts +3 -1
- package/lib/browser/game/game3d-runner.js +14 -0
- package/lib/browser/gateway/console-agents.d.ts +12 -0
- package/lib/browser/gateway/console-agents.js +165 -0
- package/lib/browser/gateway/console-extension.js +0 -1
- package/lib/browser/gateway/console-limits.d.ts +20 -0
- package/lib/browser/gateway/console-limits.js +200 -0
- package/lib/browser/gateway/console-parts.d.ts +29 -22
- package/lib/browser/gateway/console-parts.js +72 -141
- package/lib/browser/gateway/console-tenant.d.ts +2 -4
- package/lib/browser/gateway/console-tenant.js +115 -208
- package/lib/browser/gateway/console-trend.js +6 -4
- package/lib/browser/gateway/console-view.js +134 -107
- package/lib/browser/hooks.js +1 -3
- package/lib/browser/hosts.d.ts +7 -0
- package/lib/browser/hosts.js +23 -2
- package/lib/browser/i18n/locales.d.ts +169 -14
- package/lib/browser/i18n/messages-ja.js +178 -23
- package/lib/browser/i18n/messages-zh-tw.js +178 -23
- package/lib/browser/i18n/messages.d.ts +166 -11
- package/lib/browser/i18n/messages.js +357 -47
- package/lib/browser/index.d.ts +1 -0
- package/lib/browser/index.js +1 -0
- package/lib/browser/links/links-protocol.d.ts +10 -1
- package/lib/browser/links/links.d.ts +11 -2
- package/lib/browser/links/links.js +65 -7
- package/lib/browser/links/system-links.d.ts +22 -0
- package/lib/browser/links/system-links.js +58 -0
- package/lib/browser/markdown/hooks.d.ts +3 -1
- package/lib/browser/markdown/hooks.js +12 -3
- package/lib/browser/markdown/mermaid.d.ts +18 -4
- package/lib/browser/markdown/mermaid.js +117 -17
- package/lib/browser/screen/screen-protocol.d.ts +74 -1
- package/lib/browser/screen/screen-protocol.js +15 -0
- package/lib/browser/screen/screen-scroll.d.ts +56 -0
- package/lib/browser/screen/screen-scroll.js +185 -0
- package/lib/browser/screen/screen.d.ts +34 -1
- package/lib/browser/screen/screen.js +172 -2
- package/lib/browser/settings/navigation.d.ts +9 -21
- package/lib/browser/settings/navigation.js +11 -31
- package/lib/browser/settings/settings-protocol.d.ts +9 -0
- package/lib/browser/settings/settings-protocol.js +19 -1
- package/lib/browser/settings/settings.d.ts +7 -1
- package/lib/browser/settings/settings.js +31 -7
- package/lib/browser/share/shared-extensions.js +4 -3
- package/lib/browser/share/shared-page.js +2 -2
- package/lib/browser/style/base.d.ts +1 -1
- package/lib/browser/style/base.js +8 -1
- package/lib/browser/style/chat-list.d.ts +1 -1
- package/lib/browser/style/chat-list.js +0 -3
- package/lib/browser/style/conversation.d.ts +1 -1
- package/lib/browser/style/conversation.js +42 -4
- package/lib/browser/style/dialogs.d.ts +1 -1
- package/lib/browser/style/dialogs.js +31 -1
- package/lib/browser/style/layout.d.ts +1 -1
- package/lib/browser/style/layout.js +7 -15
- package/lib/browser/style/pages.d.ts +1 -1
- package/lib/browser/style/pages.js +168 -112
- package/lib/browser/style/phone.d.ts +1 -1
- package/lib/browser/style/phone.js +10 -3
- package/lib/browser/style/shared.d.ts +1 -1
- package/lib/browser/style/shared.js +1 -0
- package/lib/browser/style/shell.d.ts +1 -1
- package/lib/browser/style/shell.js +12 -0
- package/lib/browser/style/surfaces.d.ts +1 -1
- package/lib/browser/style/surfaces.js +38 -13
- package/lib/browser/style/tasks.d.ts +1 -1
- package/lib/browser/style/tasks.js +16 -2
- package/lib/browser/style/tints.d.ts +5 -4
- package/lib/browser/style/tints.js +9 -9
- package/lib/browser/util/desktop.d.ts +7 -1
- package/lib/browser/util/desktop.js +17 -0
- package/lib/browser/util/image-swipe.d.ts +43 -0
- package/lib/browser/util/image-swipe.js +69 -0
- package/lib/browser/util/process.d.ts +31 -3
- package/lib/browser/util/process.js +74 -7
- package/lib/browser/util/share-link.d.ts +5 -0
- package/lib/browser/util/share-link.js +10 -0
- package/lib/browser/util/shell-words.d.ts +19 -0
- package/lib/browser/util/shell-words.js +400 -0
- package/lib/browser/util/spoken.d.ts +5 -0
- package/lib/browser/util/spoken.js +10 -1
- package/lib/browser/util/tool.d.ts +9 -0
- package/lib/browser/util/tool.js +71 -6
- package/lib/browser/util/transcript.js +3 -1
- package/lib/browser/util/turn-end.d.ts +18 -0
- package/lib/browser/util/turn-end.js +167 -0
- package/lib/browser/workbench-hosts.d.ts +8 -1
- package/lib/browser/workbench-hosts.js +22 -2
- package/lib/browser/workbench-protocol.d.ts +25 -3
- package/lib/browser/workbench-services.d.ts +10 -1
- package/lib/browser/workbench-services.js +41 -0
- package/lib/browser/workbench-util.d.ts +9 -3
- package/lib/browser/workbench-util.js +24 -4
- package/lib/browser/workbench.d.ts +3 -0
- package/lib/browser/workbench.js +35 -8
- package/package.json +7 -7
- package/esm/browser/components/list-skeleton.d.ts +0 -10
- package/esm/browser/components/list-skeleton.js +0 -31
- package/lib/browser/components/list-skeleton.d.ts +0 -11
- package/lib/browser/components/list-skeleton.js +0 -68
|
@@ -11,54 +11,29 @@ import { useScreenPart } from '../screen/use-screen-part.js';
|
|
|
11
11
|
import { WorkbenchUtil } from '../workbench-util.js';
|
|
12
12
|
import { ChatAskUtil } from './chat-asks.js';
|
|
13
13
|
import { ChatBusyUtil } from './chat-busy.js';
|
|
14
|
+
import { ChatHomeItem, ChatHomeTop, ChatTaskItem } from './chat-home.js';
|
|
15
|
+
import { ChatHomeUtil } from './chat-home-util.js';
|
|
14
16
|
import { ChatIconTile, ChatIconUtil } from './chat-icon.js';
|
|
17
|
+
import { useMinute, useOfferPins, usePageEnd, useReadArchive } from './chat-list-hooks.js';
|
|
15
18
|
import { ChatFolderItem, ChatItem } from './chat-list-row.js';
|
|
16
19
|
import { CHAT_PAGE, ChatListUtil } from './chat-list-util.js';
|
|
17
20
|
import { ChatSeenUtil } from './chat-seen.js';
|
|
18
21
|
import { EmptyState } from './empty-state.js';
|
|
19
22
|
import { HostTag } from './host-tag.js';
|
|
20
23
|
import { Icon, IconButton } from './icon.js';
|
|
24
|
+
import { Loading } from './loading.js';
|
|
21
25
|
import { PhoneStack } from './phone-shell.js';
|
|
22
|
-
|
|
23
|
-
function useMinute() {
|
|
24
|
-
const [now, setNow] = React.useState(Date.now);
|
|
25
|
-
React.useEffect(() => {
|
|
26
|
-
const timer = setInterval(() => setNow(Date.now()), 60000);
|
|
27
|
-
return () => clearInterval(timer);
|
|
28
|
-
}, []);
|
|
29
|
-
return now;
|
|
30
|
-
}
|
|
31
|
-
/** As the mark at the end of what a list draws comes near its view, `onEnd`: the next page is drawn. */
|
|
32
|
-
function usePageEnd(more, root, end, onEnd,
|
|
33
|
-
/** What the page drawn is: observed again as it changes. */
|
|
34
|
-
page) {
|
|
35
|
-
const latest = React.useRef(onEnd);
|
|
36
|
-
latest.current = onEnd;
|
|
37
|
-
// biome-ignore lint/correctness/useExhaustiveDependencies: observed again for each page drawn, its mark moved
|
|
38
|
-
React.useEffect(() => {
|
|
39
|
-
const mark = end.current;
|
|
40
|
-
if (!more || !mark) {
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
const observer = new IntersectionObserver(entries => {
|
|
44
|
-
// Drawn between the frames of the scroll, not in one of them.
|
|
45
|
-
if (entries.some(entry => entry.isIntersecting)) {
|
|
46
|
-
React.startTransition(() => latest.current());
|
|
47
|
-
}
|
|
48
|
-
}, { root: root.current, rootMargin: '0px 0px 800px 0px' });
|
|
49
|
-
observer.observe(mark);
|
|
50
|
-
return () => observer.disconnect();
|
|
51
|
-
}, [more, page, root, end]);
|
|
52
|
-
}
|
|
26
|
+
import { DinoFace } from './ta-avatar.js';
|
|
53
27
|
/**
|
|
54
28
|
* The conversations of the server, open or saved, the latest first, with a search and `+` for a new one:
|
|
55
29
|
* by directory or package, each group folding and with a `+` of its own, or by day. Those not updated for
|
|
56
30
|
* `foldDays` are folded at the end (of each group), those for `archiveDays` archived after them, read when
|
|
57
31
|
* opened or searched, and those taken out last, folded, to put back. What comes many a day (the runs of scheduled
|
|
58
|
-
* tasks) folds into one row of its folder (WebChatIcon.folder), pinned as a conversation is,
|
|
32
|
+
* tasks) folds into one row of its folder (WebChatIcon.folder), pinned as a conversation is (pinned, it holds its archived
|
|
33
|
+
* conversations too and stays once they all are; the archive folds those of the others as the list does), which opens a list of its
|
|
59
34
|
* own (on a phone pushed over the list, as a page of iOS, back with a swipe from the edge); a search finds them one by one. However long, it draws the rows of its first screens, and more as it is scrolled to its end.
|
|
60
35
|
*/
|
|
61
|
-
export function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSaved, onArchive, foldDays, archiveDays, selected, chat, byDirectory, onByDirectory, folded, onFolded, onPicked, double, notice, pinned, onPinned, looking, seen, letGo, onLetGo, onUnseen, busy = false, onBusy, }) {
|
|
36
|
+
export function ChatList({ sessions, saved, removed: removedFiles, archived: archivedSaved, onArchive, foldDays, archiveDays, selected, chat, byDirectory, onByDirectory, folded, onFolded, onPicked, double, home, notice, pinned, onPinned, looking, seen, letGo, onLetGo, onUnseen, busy = false, onBusy, }) {
|
|
62
37
|
const t = useT();
|
|
63
38
|
const now = useMinute();
|
|
64
39
|
const [query, setQuery] = React.useState('');
|
|
@@ -67,7 +42,7 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
67
42
|
// The older of the list by day, and the groups whose older are shown: folded each time the list is drawn anew.
|
|
68
43
|
const [olderOpen, setOlderOpen] = React.useState(false);
|
|
69
44
|
// The folder whose conversations the list shows in place of its own (ChatFolder.key).
|
|
70
|
-
// On a phone kept while it slides away (open false), as a page pushed is.
|
|
45
|
+
// On a phone kept while it slides away (open false), as a page pushed is; one of the archive lists those archived.
|
|
71
46
|
const [folderShown, setFolderShown] = React.useState();
|
|
72
47
|
const handheld = useDevice(device => device.handheld);
|
|
73
48
|
const [groupsOlder, setGroupsOlder] = React.useState([]);
|
|
@@ -126,57 +101,78 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
126
101
|
const foldBefore = searching ? undefined : WorkbenchUtil.daysAgo(now, foldDays);
|
|
127
102
|
// Those an extension archives sooner (WebChatIcon.archiveDays), asked again as its icons change.
|
|
128
103
|
const icons = React.useContext(ChatIcons);
|
|
129
|
-
|
|
130
|
-
const sooner = React.useMemo(() => ChatIconUtil.archiveSince(icons.entries, now), [icons, since]);
|
|
104
|
+
const sooner = React.useMemo(() => ChatIconUtil.archiveSince(icons.entries, now), [icons, now]);
|
|
131
105
|
// Those an extension folds into a row of their folder (WebChatIcon.folder), asked again as its icons change.
|
|
132
106
|
const folderOf = React.useMemo(() => ChatIconUtil.folderOf(icons.entries), [icons]);
|
|
133
107
|
// One that waits for the user is not archived, however old, as one pinned.
|
|
134
108
|
const kept = React.useMemo(() => ChatListUtil.keptFiles([...saved, ...(archivedSaved !== null && archivedSaved !== void 0 ? archivedSaved : [])], pinned, letGo), [saved, archivedSaved, pinned, letGo]);
|
|
135
109
|
const { listed, archived, removed } = React.useMemo(() => ChatListUtil.entries(sessions, saved, removedFiles, archivedSaved, since, kept, sooner, folderOf), [sessions, saved, removedFiles, archivedSaved, since, kept, sooner, folderOf]);
|
|
110
|
+
// A folder pinned holds its archived conversations too, and stays once they all are: a row pinned never goes away.
|
|
111
|
+
const { held, rest: archivedRest } = React.useMemo(() => ChatListUtil.heldByPinned(archived, folderOf, pinned), [archived, folderOf, pinned]);
|
|
136
112
|
const sources = React.useMemo(() => ChatListUtil.sources(listed), [listed]);
|
|
113
|
+
// The double's tasks: what waits for the user above the rest, those that are no conversation rows by their time.
|
|
114
|
+
const allTasks = home === null || home === void 0 ? void 0 : home.tasks;
|
|
115
|
+
const homeTasks = React.useMemo(() => (allTasks ? ChatHomeUtil.tasks(allTasks) : undefined), [allTasks]);
|
|
116
|
+
// The rows extensions add to the double's list (a daily brief), and the conversations they stand for.
|
|
117
|
+
const allItems = home === null || home === void 0 ? void 0 : home.items;
|
|
118
|
+
const homeItems = React.useMemo(() => (allItems ? ChatHomeUtil.items(allItems) : []), [allItems]);
|
|
119
|
+
const standIns = React.useMemo(() => ChatHomeUtil.standIns(homeItems), [homeItems]);
|
|
120
|
+
// On the double's list its own conversation is its card, one that waits for the user is under the card, and one a
|
|
121
|
+
// row of the home stands for is that row.
|
|
122
|
+
const onHome = React.useCallback((entry) => !!homeTasks &&
|
|
123
|
+
((!!double && ChatListUtil.isDouble(entry, double)) ||
|
|
124
|
+
homeTasks.hidden.has(ChatListUtil.file(entry)) ||
|
|
125
|
+
standIns.has(ChatListUtil.file(entry)) ||
|
|
126
|
+
(ChatListUtil.isOpen(entry) && homeTasks.hidden.has(entry.sessionId))), [homeTasks, double, standIns]);
|
|
137
127
|
// A search finds the archived too.
|
|
138
|
-
const shown = React.useMemo(() => ChatListUtil.filter(searching ? [...listed, ...archived] : listed, query, t), [listed, archived, searching, query, t]);
|
|
128
|
+
const shown = React.useMemo(() => ChatListUtil.filter(searching ? [...listed, ...archived] : listed, query, t).filter(entry => !onHome(entry)), [listed, archived, searching, query, t, onHome]);
|
|
129
|
+
// The conversation of a task (WebTask.session), by its file or the id of its session.
|
|
130
|
+
const byFile = React.useMemo(() => new Map(listed.flatMap(entry => [
|
|
131
|
+
[ChatListUtil.file(entry), entry],
|
|
132
|
+
...(ChatListUtil.isOpen(entry) ? [[entry.sessionId, entry]] : []),
|
|
133
|
+
])), [listed]);
|
|
134
|
+
// A task whose conversation the list does not have is a row of its own; those that ended before the archive's bound are archived.
|
|
135
|
+
const { listed: taskRows, archived: archivedTasks } = React.useMemo(() => ChatHomeUtil.rows(homeTasks, allTasks, file => byFile.has(file), query, searching ? undefined : since, archived.map(ChatListUtil.file)), [homeTasks, allTasks, byFile, query, searching, since, archived]);
|
|
139
136
|
const shownRemoved = React.useMemo(() => ChatListUtil.filter(removed, query, t), [removed, query, t]);
|
|
140
|
-
// Those
|
|
141
|
-
|
|
142
|
-
const apart = React.useMemo(() => ChatListUtil.pinnedApart(
|
|
137
|
+
// Those pinned at the top, whatever their day or directory. Those that wait for the user to decide stay where they
|
|
138
|
+
// are, marked by a blue ?: the double's home gathers them (docs/design/ta-decide.md).
|
|
139
|
+
const apart = React.useMemo(() => ChatListUtil.pinnedApart(shown, pinned), [shown, pinned]);
|
|
143
140
|
// Each folder one row where its latest is; those pinned or asking the user stay above, as any other.
|
|
144
|
-
const { folders: allFolders, rest } = React.useMemo(() => (searching ? { folders: [], rest: apart.rest } : ChatListUtil.folders(apart.rest, folderOf)), [apart.rest, folderOf, searching]);
|
|
145
|
-
// A folder pinned is a row of those pinned, as a conversation pinned.
|
|
141
|
+
const { folders: allFolders, rest } = React.useMemo(() => (searching ? { folders: [], rest: apart.rest } : ChatListUtil.folders([...apart.rest, ...held], folderOf)), [apart.rest, held, folderOf, searching]);
|
|
142
|
+
// A folder pinned is a row of those pinned, as a conversation pinned; so is a row of the home.
|
|
146
143
|
const { pinned: pinnedFolders, rest: folders } = React.useMemo(() => ChatListUtil.pinnedApart(allFolders, pinned), [allFolders, pinned]);
|
|
147
|
-
const
|
|
148
|
-
|
|
149
|
-
const
|
|
144
|
+
const homeRows = React.useMemo(() => homeItems.filter(item => ChatHomeUtil.matches(query, item.title, item.detail)).map(ChatHomeUtil.homeRow), [homeItems, query]);
|
|
145
|
+
const { pinned: pinnedHome, rest: homeRest } = React.useMemo(() => ChatListUtil.pinnedApart(homeRows, pinned), [homeRows, pinned]);
|
|
146
|
+
const pinnedRows = React.useMemo(() => ChatListUtil.withFolders(apart.pinned, [...pinnedFolders, ...pinnedHome]), [apart.pinned, pinnedFolders, pinnedHome]);
|
|
147
|
+
useOfferPins(listed, folderOf, homeItems);
|
|
148
|
+
// The folder opened: all of it, those pinned too, as the search of the list finds them; one of the archive, its archived.
|
|
149
|
+
const folder = React.useMemo(() => folderShown
|
|
150
|
+
? ChatListUtil.folders(folderShown.archived ? archivedRest : [...listed, ...held], folderOf).folders.find(candidate => candidate.key === folderShown.key)
|
|
151
|
+
: undefined, [folderShown, listed, held, archivedRest, folderOf]);
|
|
150
152
|
const folderRows = React.useMemo(() => (folder ? ChatListUtil.filter(folder.sessions, query, t) : []), [folder, query, t]);
|
|
151
153
|
const folderOpen = !!folder && !!(folderShown === null || folderShown === void 0 ? void 0 : folderShown.open);
|
|
152
154
|
const lookedAt = looking ? sessions.find(session => session.sessionId === looking) : undefined;
|
|
153
155
|
const inFront = lookedAt && ChatListUtil.file(lookedAt);
|
|
154
156
|
// What a search finds is one list by day, wherever it is.
|
|
155
157
|
const grouped = byDirectory && sources.length > 1 && !searching;
|
|
156
|
-
const archiveShown = archiveDays > 0 && (archivedSaved ?
|
|
157
|
-
const readArchive = (
|
|
158
|
-
if (archiveDays > 0) {
|
|
159
|
-
onArchive();
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
// One pinned long ago is in the archive, which the list reads for it.
|
|
163
|
-
const pinnedAway = !archivedSaved &&
|
|
164
|
-
pinned.some(file => !ChatListUtil.isFolderKey(file) && !listed.some(session => ChatListUtil.file(session) === file) && !removedFiles.includes(file));
|
|
165
|
-
// biome-ignore lint/correctness/useExhaustiveDependencies: once as a search starts, or as the list has none (all may be archived) or misses one pinned
|
|
166
|
-
React.useEffect(() => {
|
|
167
|
-
if (searching || listed.length === 0 || pinnedAway) {
|
|
168
|
-
readArchive();
|
|
169
|
-
}
|
|
170
|
-
}, [searching, listed.length === 0, pinnedAway]);
|
|
158
|
+
const archiveShown = archiveDays > 0 && (archivedSaved ? archivedRest.length + archivedTasks.length > 0 : listed.length > 0 || archivedTasks.length > 0);
|
|
159
|
+
const readArchive = useReadArchive({ archiveDays, onArchive, read: !!archivedSaved, searching, listed, pinned, folderOf, removed: removedFiles });
|
|
171
160
|
const draftIn = (cwd) => pick(chat.draft().then(() => chat.setDraftCwd(cwd)));
|
|
172
161
|
const fold = (key) => onFolded(folded.includes(key) ? folded.filter(other => other !== key) : [...folded, key]);
|
|
173
162
|
const byKey = React.useMemo(() => new Map([...sources, ...ChatListUtil.sources([...archived, ...removed])].map(candidate => [candidate.key, candidate])), [sources, archived, removed]);
|
|
174
|
-
const isSelected = (session) => ChatListUtil.key(session) === selected;
|
|
163
|
+
const isSelected = (session) => (typeof session === 'string' ? session : ChatListUtil.key(session)) === selected;
|
|
175
164
|
const isUnseen = (session) => ChatSeenUtil.unseen({ ...session, isStreaming: ChatListUtil.isOpen(session) && session.isStreaming }, ChatListUtil.file(session), seen, inFront);
|
|
176
165
|
// What is folded or not drawn yet still has the conversation shown, and those unseen: the dot of the tab finds them.
|
|
177
166
|
const stays = (session) => isSelected(session) || isUnseen(session);
|
|
167
|
+
const taskUnseen = (task) => ChatHomeUtil.unseen(task, seen);
|
|
178
168
|
// A folder has the conversation shown and those unseen when one of its own does.
|
|
179
|
-
const rowStays = (row) =>
|
|
169
|
+
const rowStays = (row) => ChatListUtil.isFolder(row)
|
|
170
|
+
? row.sessions.some(stays)
|
|
171
|
+
: ChatListUtil.isTask(row)
|
|
172
|
+
? taskUnseen(row.task)
|
|
173
|
+
: ChatListUtil.isHome(row)
|
|
174
|
+
? !!row.item.unseen
|
|
175
|
+
: stays(row);
|
|
180
176
|
const budget = ChatListUtil.budget(pageCount, rowStays);
|
|
181
177
|
const pinnedKeys = React.useMemo(() => new Set(pinned), [pinned]);
|
|
182
178
|
const drafts = useDrafts();
|
|
@@ -186,10 +182,9 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
186
182
|
const kept = isSelected(session) ? undefined : drafts[place];
|
|
187
183
|
return kept && DraftsUtil.preview(kept);
|
|
188
184
|
};
|
|
189
|
-
const item = (session, compact) => { var _a; return (React.createElement(ChatItem, { key: ChatListUtil.key(session), session: session, source: byKey.get(ChatListUtil.sourceKey(session)), selected: ChatListUtil.key(session) === selected, time: ChatListUtil.clock(session.updatedAt, now), compact: compact, actions: actions, task: ChatListUtil.isOpen(session) ? double === null || double === void 0 ? void 0 : double.tasks.get(session.sessionId) : undefined, doubleName: double && ChatListUtil.isDouble(session, double) ? double.name : undefined, handable: !!double && ChatListUtil.isOpen(session) && !session.group && !double.tasks.has(session.sessionId) && !ChatListUtil.isDouble(session, double), pinned: pinnedKeys.has(ChatListUtil.file(session)), unseen: isUnseen(session), asking: (_a = ChatAskUtil.asking(session, letGo)) === null || _a === void 0 ? void 0 : _a.question, draft: draftOf(session) })); };
|
|
190
|
-
// What an agent reads of the list and does to it
|
|
191
|
-
const inSight = () => (folder ? folderRows : [...
|
|
192
|
-
const entryOf = (file) => inSight().find(entry => ChatListUtil.file(entry) === file);
|
|
185
|
+
const item = (session, compact) => { var _a; var _b; return (React.createElement(ChatItem, { key: ChatListUtil.key(session), session: session, source: byKey.get(ChatListUtil.sourceKey(session)), selected: ChatListUtil.key(session) === selected, time: ChatListUtil.clock(session.updatedAt, now), compact: compact, actions: actions, task: (_b = (ChatListUtil.isOpen(session) ? double === null || double === void 0 ? void 0 : double.tasks.get(session.sessionId) : undefined)) !== null && _b !== void 0 ? _b : (session.sessionFile ? double === null || double === void 0 ? void 0 : double.tasks.get(session.sessionFile) : undefined), doubleName: double && ChatListUtil.isDouble(session, double) ? double.name : undefined, handable: !!double && ChatListUtil.isOpen(session) && !session.group && !double.tasks.has(session.sessionId) && !ChatListUtil.isDouble(session, double), pinned: pinnedKeys.has(ChatListUtil.file(session)), unseen: isUnseen(session), asking: (_a = ChatAskUtil.asking(session, letGo)) === null || _a === void 0 ? void 0 : _a.question, draft: draftOf(session) })); };
|
|
186
|
+
// What an agent reads of the list and does to it (docs/design/ta-app-use.md 3): the screen keeps the rows drawn in sight.
|
|
187
|
+
const inSight = () => (folder ? folderRows : [...apart.pinned, ...apart.rest]);
|
|
193
188
|
useScreenPart({
|
|
194
189
|
id: 'chats',
|
|
195
190
|
title: folder ? folder.title : t('ta.chat'),
|
|
@@ -211,7 +206,7 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
211
206
|
label: t('ta.screen.open'),
|
|
212
207
|
each: true,
|
|
213
208
|
run: file => {
|
|
214
|
-
const entry =
|
|
209
|
+
const entry = inSight().find(one => ChatListUtil.file(one) === file);
|
|
215
210
|
if (entry) {
|
|
216
211
|
actions.open(entry);
|
|
217
212
|
}
|
|
@@ -234,15 +229,20 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
234
229
|
stop: { label: t('ta.stop'), each: true, command: 'chats.stop', commandInput: file => ({ file }) },
|
|
235
230
|
search: { label: t('ta.chat.search'), takes: 'text', run: (_file, input) => { var _a; return setQuery(String((_a = input.text) !== null && _a !== void 0 ? _a : '')); } },
|
|
236
231
|
},
|
|
232
|
+
scroll: { more: () => ((folder ? folderBudget : budget).more ? 'bottom' : undefined) },
|
|
237
233
|
});
|
|
238
234
|
// Into a folder from the top of its list, and back where the list was left.
|
|
239
235
|
const listScroll = React.useRef(0);
|
|
240
|
-
const openFolder = (key) => {
|
|
236
|
+
const openFolder = (key, archived) => {
|
|
241
237
|
var _a;
|
|
242
238
|
var _b;
|
|
243
239
|
listScroll.current = (_b = (_a = scroller.current) === null || _a === void 0 ? void 0 : _a.scrollTop) !== null && _b !== void 0 ? _b : 0;
|
|
244
|
-
setFolderShown({ key, open: true });
|
|
240
|
+
setFolderShown({ key, open: true, ...(archived ? { archived } : {}) });
|
|
245
241
|
setQuery('');
|
|
242
|
+
// A folder pinned lists its archived conversations too.
|
|
243
|
+
if (!archivedSaved && pinned.includes(key)) {
|
|
244
|
+
readArchive();
|
|
245
|
+
}
|
|
246
246
|
};
|
|
247
247
|
const closeFolder = () => {
|
|
248
248
|
setFolderShown(current => (handheld && current ? { ...current, open: false } : undefined));
|
|
@@ -268,8 +268,10 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
268
268
|
setFolderShown(undefined);
|
|
269
269
|
}
|
|
270
270
|
}, [folderShown, folder]);
|
|
271
|
-
const folderItem = (row) => (React.createElement(ChatFolderItem, { key: row.key, folder: row, time: ChatListUtil.clock(row.updatedAt, now), selected: row.sessions.some(isSelected), unseen: row.sessions.
|
|
272
|
-
const
|
|
271
|
+
const folderItem = (row, archived) => (React.createElement(ChatFolderItem, { key: row.key, folder: row, time: ChatListUtil.clock(row.updatedAt, now), selected: row.sessions.some(isSelected), unseen: row.sessions.filter(isUnseen), pinned: pinnedKeys.has(row.key), onOpen: () => openFolder(row.key, archived), onPin: pin => pinKey(row.key, pin), actions: actions }));
|
|
272
|
+
const taskItem = (row) => home && (React.createElement(ChatTaskItem, { key: row.key, task: row.task, home: home, unseen: taskUnseen(row.task), time: ChatListUtil.clock(row.updatedAt, now), onPicked: onPicked }));
|
|
273
|
+
const homeItem = (row) => { var _a; return home && (React.createElement(ChatHomeItem, { key: row.key, item: row.item, time: row.item.at ? ChatListUtil.clock(row.item.at, now) : '', home: home, selected: !!row.item.sessionFile && isSelected((_a = byFile.get(row.item.sessionFile)) !== null && _a !== void 0 ? _a : row.item.sessionFile), pinned: pinnedKeys.has(row.key), onPin: pin => pinKey(row.key, pin) })); };
|
|
274
|
+
const rowItem = (row, compact) => ChatListUtil.isFolder(row) ? folderItem(row) : ChatListUtil.isTask(row) ? taskItem(row) : ChatListUtil.isHome(row) ? homeItem(row) : item(row, compact);
|
|
273
275
|
// The conversation shown is found in the list, however it came to be shown: out of a search that hides it, and scrolled to.
|
|
274
276
|
const scroller = React.useRef(null);
|
|
275
277
|
const end = React.useRef(null);
|
|
@@ -303,14 +305,14 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
303
305
|
const [recent, older] = ChatListUtil.split(sessions, foldBefore);
|
|
304
306
|
const olderShown = groupsOlder.includes(key);
|
|
305
307
|
// Folded, a group still has the conversation shown and those unseen; so do its older ones.
|
|
306
|
-
const candidates = closed ? sessions.filter(
|
|
308
|
+
const candidates = closed ? sessions.filter(rowStays) : olderShown ? sessions : [...recent, ...older.filter(rowStays)];
|
|
307
309
|
const rows = budget.take(candidates);
|
|
308
310
|
if (rows.length === 0 && candidates.length > 0) {
|
|
309
311
|
return null;
|
|
310
312
|
}
|
|
311
313
|
return (React.createElement("section", { key: key, className: "ta-chat-group" },
|
|
312
314
|
head,
|
|
313
|
-
rows.length > 0 && React.createElement("ul", { className: "ta-side-list" }, rows.map(
|
|
315
|
+
rows.length > 0 && React.createElement("ul", { className: "ta-side-list" }, rows.map(row => rowItem(row, true))),
|
|
314
316
|
!closed &&
|
|
315
317
|
older.length > 0 &&
|
|
316
318
|
rows.length === candidates.length &&
|
|
@@ -318,13 +320,27 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
318
320
|
};
|
|
319
321
|
// The rows in the order of the list, as far as the budget goes: what is drawn after uses what is left. By
|
|
320
322
|
// directory, a folder is a group as a directory is, where its latest is.
|
|
323
|
+
// By directory, the double's tasks that are no conversation are a group of their own, where the latest of them is.
|
|
324
|
+
const doubleRows = [...homeRest, ...taskRows].sort((a, b) => b.updatedAt - a.updatedAt);
|
|
325
|
+
const taskGroup = grouped &&
|
|
326
|
+
doubleRows.length > 0 &&
|
|
327
|
+
groupSection('tasks', React.createElement("div", { className: "ta-chat-group-head" },
|
|
328
|
+
React.createElement("button", { type: "button", className: "ta-chat-group-toggle", "aria-expanded": !folded.includes('tasks'), onClick: () => fold('tasks') },
|
|
329
|
+
React.createElement(DinoFace, { size: 20, mood: "idle" }),
|
|
330
|
+
React.createElement("span", { className: "ta-chat-group-label" }, t('ta.home.tasks')),
|
|
331
|
+
React.createElement("span", { className: "ta-chat-group-count" }, doubleRows.length),
|
|
332
|
+
React.createElement(Icon, { icon: ChevronRight, size: 13, className: "ta-chat-group-chevron" }))), doubleRows);
|
|
321
333
|
const list = grouped
|
|
322
334
|
? [
|
|
335
|
+
...(taskGroup ? [{ latest: doubleRows[0].updatedAt, group: undefined, folder: undefined, tasks: taskGroup }] : []),
|
|
323
336
|
...ChatListUtil.groups(rest, sources).map(group => { var _a; var _b; return ({ latest: (_b = (_a = group.sessions[0]) === null || _a === void 0 ? void 0 : _a.updatedAt) !== null && _b !== void 0 ? _b : 0, group, folder: undefined }); }),
|
|
324
337
|
...folders.map(folder => ({ latest: folder.updatedAt, group: undefined, folder })),
|
|
325
338
|
]
|
|
326
339
|
.sort((a, b) => b.latest - a.latest)
|
|
327
|
-
.map(({ group, folder }) => {
|
|
340
|
+
.map(({ group, folder, tasks }) => {
|
|
341
|
+
if (tasks) {
|
|
342
|
+
return tasks;
|
|
343
|
+
}
|
|
328
344
|
if (folder) {
|
|
329
345
|
return groupSection(folder.key, React.createElement("div", { className: "ta-chat-group-head" },
|
|
330
346
|
React.createElement("button", { type: "button", className: "ta-chat-group-toggle", "aria-expanded": !folded.includes(folder.key), title: folder.title, onClick: () => fold(folder.key) },
|
|
@@ -344,12 +360,12 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
344
360
|
source.cwd && (React.createElement(IconButton, { className: "ta-chat-group-add", icon: Plus, label: t('ta.chat.newIn', { name: source.label }), onClick: () => draftIn(source.cwd) }))), sessions);
|
|
345
361
|
})
|
|
346
362
|
: (() => {
|
|
347
|
-
const [recent, older] = ChatListUtil.split(ChatListUtil.withFolders(rest, folders), foldBefore);
|
|
363
|
+
const [recent, older] = ChatListUtil.split(ChatListUtil.withFolders(rest, [...folders, ...taskRows, ...homeRest]), foldBefore);
|
|
348
364
|
const sections = ChatListUtil.sections(recent, now).map(section => {
|
|
349
365
|
const rows = budget.take(section.sessions);
|
|
350
366
|
return (rows.length > 0 && (React.createElement("section", { key: section.id, className: "ta-chat-section" },
|
|
351
367
|
React.createElement("div", { className: "ta-chat-section-title" }, t(section.id)),
|
|
352
|
-
React.createElement("ul", { className: "ta-side-list" }, rows.map(rowItem)))));
|
|
368
|
+
React.createElement("ul", { className: "ta-side-list" }, rows.map(row => rowItem(row))))));
|
|
353
369
|
});
|
|
354
370
|
// Folded, the older still have the conversation shown and those unseen, drawn even before the rows above them are.
|
|
355
371
|
const cut = budget.more;
|
|
@@ -358,20 +374,21 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
358
374
|
...sections,
|
|
359
375
|
older.length > 0 && (!cut || olderRows.length > 0) && (React.createElement("section", { key: "older", className: "ta-chat-section ta-chat-older" },
|
|
360
376
|
toggle(t('ta.chat.olderCount', { days: foldDays, count: older.length }), olderOpen, () => setOlderOpen(!olderOpen)),
|
|
361
|
-
olderRows.length > 0 && React.createElement("ul", { className: "ta-side-list" }, olderRows.map(rowItem)))),
|
|
377
|
+
olderRows.length > 0 && React.createElement("ul", { className: "ta-side-list" }, olderRows.map(row => rowItem(row))))),
|
|
362
378
|
];
|
|
363
379
|
})();
|
|
364
380
|
// The archive, after the list once it is all drawn: read each time it opens, as it is not read with the list.
|
|
365
381
|
const archive = !searching && archiveShown && !budget.more && (React.createElement("section", { className: "ta-chat-section ta-chat-archive" },
|
|
366
|
-
toggle(archivedSaved ? t('ta.chat.archivedCount', { count:
|
|
382
|
+
toggle(archivedSaved ? t('ta.chat.archivedCount', { count: archivedRest.length + archivedTasks.length }) : t('ta.chat.archived'), archiveOpen, () => {
|
|
367
383
|
if (!archiveOpen) {
|
|
368
384
|
readArchive();
|
|
369
385
|
}
|
|
370
386
|
setArchiveOpen(!archiveOpen);
|
|
371
387
|
}, t('ta.chat.archivedHint', { count: archiveDays })),
|
|
372
388
|
archiveOpen &&
|
|
373
|
-
(archivedSaved ? (React.createElement("ul", { className: "ta-side-list" }, budget
|
|
374
|
-
|
|
389
|
+
(archivedSaved ? (React.createElement("ul", { className: "ta-side-list" }, budget
|
|
390
|
+
.take(ChatListUtil.archiveRows(ChatListUtil.filter(archivedRest, '', t), folderOf, archivedTasks))
|
|
391
|
+
.map(row => (ChatListUtil.isFolder(row) ? folderItem(row, true) : rowItem(row))))) : (React.createElement(Loading, { compact: true })))));
|
|
375
392
|
const taken = shownRemoved.length > 0 && !budget.more && (React.createElement("section", { className: "ta-chat-section ta-chat-removed" },
|
|
376
393
|
toggle(t('ta.chat.removed', { count: shownRemoved.length }), removedOpen, () => setRemovedOpen(!removedOpen)),
|
|
377
394
|
removedOpen && (React.createElement("ul", { className: "ta-side-list" }, budget.take(shownRemoved).map(session => (React.createElement(ChatItem, { key: ChatListUtil.key(session), session: session, source: byKey.get(ChatListUtil.sourceKey(session)), selected: false, time: ChatListUtil.clock(session.updatedAt, now), actions: actions, restorable: true })))))));
|
|
@@ -403,17 +420,21 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
403
420
|
React.createElement("span", { className: "ta-chat-filter-count" }, busyRows.length),
|
|
404
421
|
React.createElement(Icon, { icon: X, size: 13 }))),
|
|
405
422
|
busyRows.length > 0 ? (React.createElement("ul", { className: "ta-side-list" }, busyRows.map(session => item(session)))) : (React.createElement(EmptyState, { title: t(query.trim() ? 'ta.chat.noMatch' : 'ta.chats.busyNone') }))));
|
|
423
|
+
// The double's card and the rows under it, then what waits for the user: above all the rest.
|
|
424
|
+
const homeWaiting = homeTasks ? homeTasks.waiting.filter(task => ChatHomeUtil.matches(query, task.title, task.detail)) : [];
|
|
425
|
+
const doubleEntry = home && double ? listed.find(entry => ChatListUtil.isDouble(entry, double)) : undefined;
|
|
426
|
+
const homeTop = home && (React.createElement(ChatHomeTop, { home: home, double: ChatHomeUtil.matches(query, home.double.name), waiting: homeWaiting, counts: ChatHomeUtil.counts(home.tasks, task => {
|
|
427
|
+
const entry = task.session ? byFile.get(task.session) : undefined;
|
|
428
|
+
return entry ? isUnseen(entry) : !task.session && taskUnseen(task);
|
|
429
|
+
}), unseen: !!doubleEntry && isUnseen(doubleEntry), now: now, onPicked: onPicked }));
|
|
430
|
+
const nothingFound = shown.length === 0 && taskRows.length === 0 && homeRows.length === 0;
|
|
406
431
|
const listContent = busy ? (busyContent) : (React.createElement(React.Fragment, null,
|
|
407
|
-
|
|
408
|
-
React.createElement("div", { className: "ta-chat-section-title" },
|
|
409
|
-
t('ta.chat.asks'),
|
|
410
|
-
React.createElement("span", { className: "ta-chat-asks-count" }, asks.asking.length)),
|
|
411
|
-
React.createElement("ul", { className: "ta-side-list" }, asks.asking.map(session => item(session))))),
|
|
432
|
+
homeTop,
|
|
412
433
|
pinnedRows.length > 0 && (React.createElement("section", { className: "ta-chat-section ta-chat-pinned" },
|
|
413
434
|
React.createElement("div", { className: "ta-chat-section-title" }, t('ta.chat.pinned')),
|
|
414
|
-
React.createElement("ul", { className: "ta-side-list" }, pinnedRows.map(rowItem)))),
|
|
435
|
+
React.createElement("ul", { className: "ta-side-list" }, pinnedRows.map(row => rowItem(row))))),
|
|
415
436
|
list,
|
|
416
|
-
|
|
437
|
+
nothingFound && (!home || searching) && (React.createElement(EmptyState, { title: t(listed.length ? 'ta.chat.noMatch' : 'ta.chat.none'), hint: listed.length ? undefined : t('ta.chat.noneHint') })),
|
|
417
438
|
archive,
|
|
418
439
|
taken));
|
|
419
440
|
// Near the end of what is drawn, the next page is: the mark at the end is seen well before it scrolls into view.
|
|
@@ -438,6 +459,16 @@ export function ChatList({ sessions, saved, removed: removedFiles, archived: arc
|
|
|
438
459
|
React.createElement("div", { className: "ta-side-scroll", ref: folderScroller },
|
|
439
460
|
folderList,
|
|
440
461
|
folderBudget.more && React.createElement("div", { ref: folderEnd, className: "ta-chat-more", "aria-hidden": "true" }))));
|
|
462
|
+
// On a phone those going on are a page pushed over a tab (AppShell's PhoneHome): its head, as a folder's, goes back.
|
|
463
|
+
if (busy && handheld) {
|
|
464
|
+
return (React.createElement("section", { className: "ta-chats", "aria-label": t('ta.chats.busy'), ...ScreenUtil.part('chats') },
|
|
465
|
+
React.createElement("div", { className: "ta-chat-folder-head" },
|
|
466
|
+
React.createElement(IconButton, { className: "ta-chat-folder-back", icon: ChevronLeft, label: t('ta.back'), onClick: () => onBusy === null || onBusy === void 0 ? void 0 : onBusy(false) }),
|
|
467
|
+
React.createElement("span", { className: "ta-chat-folder-title" }, t('ta.chats.busy')),
|
|
468
|
+
React.createElement("span", { className: "ta-chat-group-count" }, busyRows.length)),
|
|
469
|
+
notice,
|
|
470
|
+
React.createElement("div", { className: "ta-side-scroll", ref: scroller }, busyRows.length > 0 ? (React.createElement("ul", { className: "ta-side-list" }, busyRows.map(session => item(session)))) : (React.createElement(EmptyState, { title: t('ta.chats.busyNone') })))));
|
|
471
|
+
}
|
|
441
472
|
// On a phone the folder is pushed over the list, as a page of iOS: back with its button, a swipe from the left
|
|
442
473
|
// edge or the back of the system; the list keeps its search, which finds the runs one by one.
|
|
443
474
|
return (React.createElement("section", { className: "ta-chats", "aria-label": t('ta.chat'), ...ScreenUtil.part('chats') }, handheld ? (React.createElement(PhoneStack, { base: React.createElement(React.Fragment, null,
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { TaSignInProvider } from '@celljs/ta-protocol';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { type CloudSignInProgress } from '../cloud/cloud-sign-in.js';
|
|
4
|
+
/** The Ta in the cloud the sign-in offers first, its ways to sign in known: the one picked here, else the build's. */
|
|
5
|
+
export interface KnownCloud {
|
|
6
|
+
url: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
providers: TaSignInProvider[];
|
|
9
|
+
/** Its gateway did not answer this time (outside the company's network): signed in to all the same, to say why it fails. */
|
|
10
|
+
unreachable?: true;
|
|
11
|
+
/** What a device does to reach it, by language (TaDistribution.reach): the build's, not another company's. */
|
|
12
|
+
reach?: Record<string, string>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* What a device does to reach the gateway at `url`, in the language of the page: told by the build for its deployment
|
|
16
|
+
* (TaDistribution.reach); none for another.
|
|
17
|
+
*/
|
|
18
|
+
export declare function useCloudReach(url: string | undefined): string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* The ways to sign in of the Ta in the cloud of this build's deployment (a company's accounts), offered first on the
|
|
21
|
+
* sign-in: one tap goes to them, no address, no code. Undefined in a build for none; with no ways while its gateway does
|
|
22
|
+
* not answer, still the one signed in to, never an address to type.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useBuiltInWays(): KnownCloud | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* useBuiltInWays, and whether the sign-in may be drawn yet (`settled`): once what it shows will stay, so that it is not
|
|
27
|
+
* a page of a computer turning into one of a company's accounts. What this device kept shows at once; the first time,
|
|
28
|
+
* the gateway is waited for SETTLE_MS at most.
|
|
29
|
+
*/
|
|
30
|
+
export declare function useBuiltInState(): {
|
|
31
|
+
known?: KnownCloud;
|
|
32
|
+
settled: boolean;
|
|
33
|
+
};
|
|
34
|
+
/** A button per way to sign in of the Ta in the cloud of this build, first on the sign-in. */
|
|
35
|
+
export declare function BuiltInSignIn({ known, onPick, onOther }: {
|
|
36
|
+
known: KnownCloud;
|
|
37
|
+
onPick(provider?: string): void;
|
|
38
|
+
onOther(): void;
|
|
39
|
+
}): React.JSX.Element;
|
|
40
|
+
/** Signing in to Ta in the cloud, from an address (or the gateway of this build) to the computer kept and in use. */
|
|
41
|
+
export declare function useCloudSignIn(): {
|
|
42
|
+
busy: boolean;
|
|
43
|
+
progress: CloudSignInProgress | undefined;
|
|
44
|
+
error: "ta.access.add" | "ta.access.addHint" | "ta.access.added" | "ta.access.allow" | "ta.access.bind" | "ta.access.bindHint" | "ta.access.browser" | "ta.access.dismiss" | "ta.access.fromEnv" | "ta.access.lastUsed" | "ta.access.none" | "ta.access.noneHint" | "ta.access.open" | "ta.access.openHint" | "ta.access.openOff" | "ta.access.openOffConfirm" | "ta.access.openOffDetail" | "ta.access.remove" | "ta.access.removeAccount" | "ta.access.removeConfirm" | "ta.access.removeDetail" | "ta.access.requested" | "ta.access.signOut" | "ta.access.thisBrowser" | "ta.access.title" | "ta.account" | "ta.account.menu" | "ta.account.service" | "ta.account.switchSignIn" | "ta.ask.no" | "ta.ask.start" | "ta.ask.title" | "ta.ask.waiting" | "ta.assistant.attention" | "ta.assistant.busy" | "ta.assistant.confirmOn" | "ta.assistant.confirmShort" | "ta.assistant.copied" | "ta.assistant.copyCwd" | "ta.assistant.cwdTitle" | "ta.assistant.endedTasks" | "ta.assistant.export" | "ta.assistant.forbidden" | "ta.assistant.hello" | "ta.assistant.look" | "ta.assistant.me" | "ta.assistant.noTasks" | "ta.assistant.noTasksHint" | "ta.assistant.nothingToExport" | "ta.assistant.offline" | "ta.assistant.placeholder" | "ta.assistant.poke" | "ta.assistant.prompt" | "ta.assistant.promptTitle" | "ta.assistant.rename" | "ta.assistant.restart" | "ta.assistant.restartHint" | "ta.assistant.restartTitle" | "ta.assistant.runningTasks" | "ta.assistant.showTasks" | "ta.assistant.speakOn" | "ta.assistant.speakStop" | "ta.assistant.speakStopShort" | "ta.assistant.speakTalkShort" | "ta.assistant.step.run" | "ta.assistant.step.say" | "ta.assistant.step.tell" | "ta.assistant.stop" | "ta.assistant.taskEnded" | "ta.assistant.tasks" | "ta.assistant.tasksTool" | "ta.assistant.waking" | "ta.assistant.working" | "ta.assistant.you" | "ta.auth.account" | "ta.auth.accounts" | "ta.auth.accountsExample" | "ta.auth.accountsTitle" | "ta.auth.apiKey" | "ta.auth.back" | "ta.auth.continue" | "ta.auth.copyAndOpen" | "ta.auth.copyCode" | "ta.auth.copyLink" | "ta.auth.custom.add" | "ta.auth.custom.addHeader" | "ta.auth.custom.addHint" | "ta.auth.custom.advanced" | "ta.auth.custom.advancedHint" | "ta.auth.custom.api" | "ta.auth.custom.apiAnthropic" | "ta.auth.custom.apiGoogle" | "ta.auth.custom.apiKey" | "ta.auth.custom.apiOpenai" | "ta.auth.custom.apiResponses" | "ta.auth.custom.badNumber" | "ta.auth.custom.baseUrl" | "ta.auth.custom.contextWindow" | "ta.auth.custom.fetch" | "ta.auth.custom.fetchFailed" | "ta.auth.custom.fetched" | "ta.auth.custom.fetchedNone" | "ta.auth.custom.filter" | "ta.auth.custom.headerName" | "ta.auth.custom.headerValue" | "ta.auth.custom.headers" | "ta.auth.custom.images" | "ta.auth.custom.keyKept" | "ta.auth.custom.keyOptional" | "ta.auth.custom.kind" | "ta.auth.custom.maxTokens" | "ta.auth.custom.mixed" | "ta.auth.custom.modelPlaceholder" | "ta.auth.custom.models" | "ta.auth.custom.name" | "ta.auth.custom.needModel" | "ta.auth.custom.note" | "ta.auth.custom.optional" | "ta.auth.custom.reasoning" | "ta.auth.custom.remove" | "ta.auth.custom.removeConfirm" | "ta.auth.custom.removeHeader" | "ta.auth.custom.removeModel" | "ta.auth.custom.save" | "ta.auth.custom.saved" | "ta.auth.custom.title" | "ta.auth.deviceHint" | "ta.auth.done" | "ta.auth.enterKey" | "ta.auth.failed" | "ta.auth.hint" | "ta.auth.hintRemote" | "ta.auth.keys" | "ta.auth.keysExample" | "ta.auth.later" | "ta.auth.manualCode" | "ta.auth.manualCodeRemote" | "ta.auth.none" | "ta.auth.openHint" | "ta.auth.openPage" | "ta.auth.search" | "ta.auth.signOut" | "ta.auth.signOutConfirm" | "ta.auth.signedIn" | "ta.auth.subscription" | "ta.auth.title" | "ta.auth.waiting" | "ta.back" | "ta.board" | "ta.board.add" | "ta.board.done" | "ta.board.edit" | "ta.board.empty" | "ta.board.emptyHint" | "ta.board.moreTasks" | "ta.board.move" | "ta.board.noTasks" | "ta.board.none" | "ta.board.noneHint" | "ta.board.put" | "ta.board.remove" | "ta.board.tasks" | "ta.builtin.assistant" | "ta.builtin.assistantHint" | "ta.call.back" | "ta.call.captionsHidden" | "ta.call.captionsOff" | "ta.call.captionsOn" | "ta.call.captionsShown" | "ta.call.connecting" | "ta.call.done" | "ta.call.endedFailed" | "ta.call.endedSilent" | "ta.call.endedUnavailable" | "ta.call.hangUp" | "ta.call.interrupt" | "ta.call.listening" | "ta.call.me" | "ta.call.onComputer" | "ta.call.onPhone" | "ta.call.onScreen" | "ta.call.part" | "ta.call.paused" | "ta.call.pausedHint" | "ta.call.speaking" | "ta.call.start" | "ta.call.startTitle" | "ta.call.taskDone" | "ta.call.taskFailed" | "ta.call.thinking" | "ta.call.waitsAsk" | "ta.call.waitsDialog" | "ta.call.youSpeak" | "ta.cancel" | "ta.chat" | "ta.chat.archived" | "ta.chat.archivedCount" | "ta.chat.archivedHint" | "ta.chat.asking" | "ta.chat.asksCount" | "ta.chat.byDirectory" | "ta.chat.cwdTitle" | "ta.chat.doubleTag" | "ta.chat.doubleTagTitle" | "ta.chat.draft" | "ta.chat.folderLatest" | "ta.chat.handToDouble" | "ta.chat.hint" | "ta.chat.letGo" | "ta.chat.markSeen" | "ta.chat.markUnseen" | "ta.chat.new" | "ta.chat.newIn" | "ta.chat.noMatch" | "ta.chat.none" | "ta.chat.noneHint" | "ta.chat.olderCount" | "ta.chat.open" | "ta.chat.opening" | "ta.chat.openingOffline" | "ta.chat.pin" | "ta.chat.pinned" | "ta.chat.remove" | "ta.chat.removeShort" | "ta.chat.removed" | "ta.chat.replyingFor" | "ta.chat.restore" | "ta.chat.restoreShort" | "ta.chat.search" | "ta.chat.suggest.1" | "ta.chat.suggest.1.label" | "ta.chat.suggest.2" | "ta.chat.suggest.2.label" | "ta.chat.suggest.3" | "ta.chat.suggest.3.label" | "ta.chat.title" | "ta.chat.toAsk" | "ta.chat.unpin" | "ta.chat.unseen" | "ta.chats.busy" | "ta.chats.busyClear" | "ta.chats.busyFilter" | "ta.chats.busyNone" | "ta.close" | "ta.cloud.address" | "ta.cloud.back" | "ta.cloud.builtInHint" | "ta.cloud.code" | "ta.cloud.codeTitle" | "ta.cloud.companyAccount" | "ta.cloud.connecting" | "ta.cloud.device.allow" | "ta.cloud.device.done" | "ta.cloud.device.doneTitle" | "ta.cloud.device.failed" | "ta.cloud.device.failedTitle" | "ta.cloud.device.from" | "ta.cloud.device.fromAny" | "ta.cloud.device.hint" | "ta.cloud.device.ignored" | "ta.cloud.device.ignoredTitle" | "ta.cloud.device.none" | "ta.cloud.device.notMe" | "ta.cloud.device.title" | "ta.cloud.device.waiting" | "ta.cloud.device.waitingTitle" | "ta.cloud.direct" | "ta.cloud.expired" | "ta.cloud.go" | "ta.cloud.hint" | "ta.cloud.noGateway" | "ta.cloud.or" | "ta.cloud.orComputer" | "ta.cloud.other" | "ta.cloud.pending" | "ta.cloud.reachHint" | "ta.cloud.reopen" | "ta.cloud.retry" | "ta.cloud.signIn" | "ta.cloud.signInTo" | "ta.cloud.unreachable" | "ta.cloud.unreachableAt" | "ta.cloud.waiting" | "ta.command.bug" | "ta.command.mcp" | "ta.composer.addImage" | "ta.composer.album" | "ta.composer.camera" | "ta.composer.commands" | "ta.composer.filesUnavailable" | "ta.composer.filter" | "ta.composer.image.count" | "ta.composer.image.size" | "ta.composer.image.type" | "ta.composer.imageLoading" | "ta.composer.keyboard" | "ta.composer.label" | "ta.composer.listening" | "ta.composer.mentionFile" | "ta.composer.more" | "ta.composer.noFiles" | "ta.composer.noMatch" | "ta.composer.page" | "ta.composer.placeholder" | "ta.composer.placeholderTouch" | "ta.composer.queue.count" | "ta.composer.queue.editTitle" | "ta.composer.queue.followUp" | "ta.composer.queue.remove" | "ta.composer.queue.steering" | "ta.composer.queue.takeBackAll" | "ta.composer.queue.takeBackTitle" | "ta.composer.recentShot" | "ta.composer.recentShotAdd" | "ta.composer.removeImage" | "ta.composer.steerPlaceholder" | "ta.composer.steerPlaceholderTouch" | "ta.composer.steerTitle" | "ta.composer.stopTitle" | "ta.composer.stopping" | "ta.composer.voice" | "ta.composer.voiceDenied" | "ta.composer.voiceFailed" | "ta.composer.voiceStop" | "ta.connection.away" | "ta.connection.awayBrief" | "ta.connection.back" | "ta.connection.cloudUnreachable" | "ta.connection.cloudUnreachableBrief" | "ta.connection.lost" | "ta.connection.notDone" | "ta.connection.outdated" | "ta.connection.reload" | "ta.connection.retry" | "ta.connection.retryIn" | "ta.connection.retryNow" | "ta.connection.retrying" | "ta.connection.unreachableBrief" | "ta.console.about" | "ta.console.accounts" | "ta.console.active" | "ta.console.activityNone" | "ta.console.activityRunning" | "ta.console.activitySummary" | "ta.console.agentAsking" | "ta.console.agentIdle" | "ta.console.agentWaiting" | "ta.console.agentWorking" | "ta.console.agents" | "ta.console.agentsNone" | "ta.console.agentsOwn" | "ta.console.agentsPrivacy" | "ta.console.agentsStopped" | "ta.console.agentsWorking" | "ta.console.allProviders" | "ta.console.audit" | "ta.console.auditActivity" | "ta.console.auditAllow" | "ta.console.auditDefaults" | "ta.console.auditDisallow" | "ta.console.auditDismiss" | "ta.console.auditEgress" | "ta.console.auditGrant" | "ta.console.auditInvite" | "ta.console.auditLimits" | "ta.console.auditLogs" | "ta.console.auditNone" | "ta.console.auditRestart" | "ta.console.auditRole" | "ta.console.auditStart" | "ta.console.auditStop" | "ta.console.auditSuspend" | "ta.console.blockedMinutes" | "ta.console.blockedSuspended" | "ta.console.bonus" | "ta.console.byAccount" | "ta.console.byModel" | "ta.console.cannotManage" | "ta.console.connectionsLabel" | "ta.console.connectionsLimit" | "ta.console.connectionsMax" | "ta.console.connectionsMaxHint" | "ta.console.context" | "ta.console.copied" | "ta.console.copy" | "ta.console.cost" | "ta.console.cpu" | "ta.console.created" | "ta.console.default" | "ta.console.defaults" | "ta.console.defaultsHint" | "ta.console.defaultsReadOnly" | "ta.console.demote" | "ta.console.demoteConfirm" | "ta.console.demoteDetail" | "ta.console.egress" | "ta.console.egressBytes" | "ta.console.egressHint" | "ta.console.egressHosts" | "ta.console.egressHostsHint" | "ta.console.egressHostsPlaceholder" | "ta.console.egressNetworks" | "ta.console.egressOff" | "ta.console.egressReasonHost" | "ta.console.egressReasonNetwork" | "ta.console.egressReasonPort" | "ta.console.egressRefused" | "ta.console.egressThrough" | "ta.console.empty" | "ta.console.emptyHint" | "ta.console.environment" | "ta.console.failed" | "ta.console.filterAdmins" | "ta.console.filterAll" | "ta.console.filterLimited" | "ta.console.filterRunning" | "ta.console.filterWorking" | "ta.console.freeMinutes" | "ta.console.freeMinutesHint" | "ta.console.grant" | "ta.console.grantTitle" | "ta.console.granted" | "ta.console.hint" | "ta.console.idle" | "ta.console.idleNever" | "ta.console.invite" | "ta.console.inviteHint" | "ta.console.inviteLink" | "ta.console.invitePlaceholder" | "ta.console.inviteShort" | "ta.console.inviteTitle" | "ta.console.isAdmin" | "ta.console.isMember" | "ta.console.limitCustom" | "ta.console.limitDefault" | "ta.console.limitSet" | "ta.console.limitedCount" | "ta.console.limits" | "ta.console.limitsDone" | "ta.console.limitsEdit" | "ta.console.limitsHint" | "ta.console.logs" | "ta.console.logsAudited" | "ta.console.logsEmpty" | "ta.console.logsNone" | "ta.console.logsShow" | "ta.console.manage" | "ta.console.managers" | "ta.console.managersHint" | "ta.console.memory" | "ta.console.messages" | "ta.console.metric" | "ta.console.modelFailed" | "ta.console.models" | "ta.console.modelsHint" | "ta.console.modelsNone" | "ta.console.modelsOf" | "ta.console.monthTokens" | "ta.console.monthlyTokens" | "ta.console.monthlyTokensHint" | "ta.console.monthlyTokensOff" | "ta.console.more" | "ta.console.never" | "ta.console.no" | "ta.console.noMatch" | "ta.console.outOfMinutes" | "ta.console.ownAllowed" | "ta.console.ownNot" | "ta.console.ownService" | "ta.console.ownServiceHint" | "ta.console.peak" | "ta.console.promote" | "ta.console.promoteConfirm" | "ta.console.promoteDetail" | "ta.console.promptsLimit" | "ta.console.promptsPerMinute" | "ta.console.promptsPerMinuteHint" | "ta.console.providerTenants" | "ta.console.providersAllowed" | "ta.console.providersAllowedHint" | "ta.console.quota" | "ta.console.range" | "ta.console.range1" | "ta.console.range30" | "ta.console.range7" | "ta.console.refresh" | "ta.console.requests" | "ta.console.requestsWaiting" | "ta.console.reset" | "ta.console.resets" | "ta.console.restartConfirm" | "ta.console.restartDetail" | "ta.console.resume" | "ta.console.resumed" | "ta.console.review" | "ta.console.roleAdmin" | "ta.console.roleMember" | "ta.console.roleOwner" | "ta.console.rowWaiting" | "ta.console.rowWorking" | "ta.console.running" | "ta.console.sandbox" | "ta.console.sandboxNow" | "ta.console.sandboxes" | "ta.console.save" | "ta.console.saved" | "ta.console.search" | "ta.console.sessions" | "ta.console.since" | "ta.console.someProviders" | "ta.console.sort" | "ta.console.sortActive" | "ta.console.sortMinutes" | "ta.console.sortName" | "ta.console.stale" | "ta.console.start" | "ta.console.suspend" | "ta.console.suspendConfirm" | "ta.console.suspendDetail" | "ta.console.suspended" | "ta.console.tabAccounts" | "ta.console.tabOverview" | "ta.console.tabPolicy" | "ta.console.tenantId" | "ta.console.title" | "ta.console.tokens" | "ta.console.tokensMetered" | "ta.console.tokensReported" | "ta.console.toolCalls" | "ta.console.toolCallsLabel" | "ta.console.trend" | "ta.console.trendEmpty" | "ta.console.turns" | "ta.console.unlimited" | "ta.console.updated" | "ta.console.view" | "ta.console.wholeNumber" | "ta.console.yes" | "ta.copied" | "ta.copy" | "ta.deploy.cloud" | "ta.deploy.cloudAdded" | "ta.deploy.cloudHint" | "ta.deploy.gateway" | "ta.deploy.join" | "ta.deploy.joinButton" | "ta.deploy.joinHint" | "ta.deploy.joined" | "ta.deploy.joinedLine" | "ta.deploy.leave" | "ta.deploy.open" | "ta.deploy.relay" | "ta.discover" | "ta.discover.empty" | "ta.discover.emptyHint" | "ta.discover.hint" | "ta.discover.hintTouch" | "ta.dismiss" | "ta.editor" | "ta.editor.close" | "ta.editor.discardClose" | "ta.editor.failed" | "ta.editor.loading" | "ta.editor.unsavedManyTitle" | "ta.editor.unsavedMessage" | "ta.editor.unsavedTitle" | "ta.environment.blockedMinutes" | "ta.environment.blockedSuspended" | "ta.environment.blockedTitle" | "ta.environment.connect" | "ta.environment.connections" | "ta.environment.elsewhere" | "ta.environment.elsewhereHint" | "ta.environment.failed" | "ta.environment.failedTitle" | "ta.environment.makeToken" | "ta.environment.none" | "ta.environment.own" | "ta.environment.ownDetail" | "ta.environment.ownHint" | "ta.environment.quotaHint" | "ta.environment.restart" | "ta.environment.restartConfirm" | "ta.environment.restartDetail" | "ta.environment.retry" | "ta.environment.running" | "ta.environment.sandbox" | "ta.environment.starting" | "ta.environment.stop" | "ta.environment.stopConfirm" | "ta.environment.stopDetail" | "ta.environment.stopped" | "ta.environment.switch" | "ta.environment.switchConfirm" | "ta.environment.switchDetail" | "ta.environment.title" | "ta.environment.token" | "ta.environment.tokenHint" | "ta.environment.tokenLabel" | "ta.environment.url" | "ta.environment.where" | "ta.environment.whereHint" | "ta.error.alreadyCompacted" | "ta.error.forbidden" | "ta.error.forbiddenAsk" | "ta.error.forbiddenHint" | "ta.error.forbiddenNever" | "ta.error.limit" | "ta.error.messageConflict" | "ta.error.modelNotFound" | "ta.error.nothingToCompact" | "ta.error.sessionBusy" | "ta.error.sessionLocked" | "ta.error.sessionNotFound" | "ta.error.tooManySessions" | "ta.find.newer" | "ta.find.none" | "ta.find.older" | "ta.find.open" | "ta.find.placeholder" | "ta.folder.empty" | "ta.folder.failed" | "ta.folder.open" | "ta.folder.path" | "ta.folder.title" | "ta.folder.type" | "ta.folder.up" | "ta.gait.bounce" | "ta.gait.sneak" | "ta.gait.strut" | "ta.gait.waddle" | "ta.gait.walk" | "ta.game.failed" | "ta.game.hold" | "ta.game.key" | "ta.game.label" | "ta.game.loading" | "ta.game.move" | "ta.game.point" | "ta.home" | "ta.home.decide" | "ta.home.fresh" | "ta.home.running" | "ta.home.standingBy" | "ta.home.tasks" | "ta.home.waiting" | "ta.host.title" | "ta.hosts.cameraDenied" | "ta.hosts.connecting" | "ta.hosts.notPairing" | "ta.hosts.paste" | "ta.hosts.refused" | "ta.hosts.remove" | "ta.hosts.removeConfirm" | "ta.hosts.rename" | "ta.hosts.saved" | "ta.hosts.scan" | "ta.hosts.scanFailed" | "ta.hosts.scanHint" | "ta.hosts.scanInstructions" | "ta.hosts.scanShort" | "ta.hosts.switching" | "ta.hosts.thisServer" | "ta.hosts.title" | "ta.hosts.unreachable" | "ta.image.copied" | "ta.launch.failed" | "ta.launch.open" | "ta.launch.ready" | "ta.launcher" | "ta.launcher.back" | "ta.launcher.clear" | "ta.launcher.noResults" | "ta.launcher.place.discover" | "ta.launcher.place.launcher" | "ta.launcher.place.list" | "ta.launcher.place.navigation" | "ta.launcher.search" | "ta.launcher.searchHint" | "ta.launcher.searchPlaceholder" | "ta.layout.editor" | "ta.layout.panel" | "ta.layout.resize" | "ta.layout.sidebar" | "ta.link.ask" | "ta.link.copied" | "ta.link.external" | "ta.link.externalMac" | "ta.link.noOpener" | "ta.link.notFound" | "ta.link.open" | "ta.link.openFile" | "ta.link.openFolder" | "ta.link.trust" | "ta.link.trustHint" | "ta.look.gait" | "ta.look.premium" | "ta.look.species" | "ta.look.title" | "ta.manage.about" | "ta.manage.accounts" | "ta.manage.packages" | "ta.manage.relay" | "ta.manage.shortcuts" | "ta.manage.workingDirectory" | "ta.markdown.diagram" | "ta.markdown.download" | "ta.markdown.enlarge" | "ta.markdown.exitFullscreen" | "ta.markdown.fullscreen" | "ta.markdown.missing" | "ta.markdown.source" | "ta.me" | "ta.menu" | "ta.message.branch" | "ta.message.compacted" | "ta.message.compactedFrom" | "ta.message.copiedFrom" | "ta.message.copyFrom" | "ta.message.debug" | "ta.message.debugCopied" | "ta.message.discard" | "ta.message.failedUnknown" | "ta.message.forkAt" | "ta.message.forkBefore" | "ta.message.forked" | "ta.message.images" | "ta.message.interrupted" | "ta.message.modelSwitched" | "ta.message.notSaved" | "ta.message.queued" | "ta.message.queuedTitle" | "ta.message.quote" | "ta.message.resend" | "ta.message.resume" | "ta.message.resumeText" | "ta.message.resumed" | "ta.message.rewind" | "ta.message.rewindConfirm" | "ta.message.rewindDetail" | "ta.message.selectText" | "ta.message.sendFailed" | "ta.message.showLess" | "ta.message.showMore" | "ta.message.silent" | "ta.message.skill" | "ta.message.steered" | "ta.message.steeredTitle" | "ta.message.stopped" | "ta.message.thinking" | "ta.message.transcriptUser" | "ta.message.usageTitle" | "ta.message.used" | "ta.model.default" | "ta.model.defaultNone" | "ta.model.search" | "ta.mood.attention" | "ta.mood.done" | "ta.mood.idle" | "ta.mood.listening" | "ta.mood.sleeping" | "ta.mood.speaking" | "ta.mood.thinking" | "ta.mood.working" | "ta.more" | "ta.myDevices.allow" | "ta.myDevices.askHint" | "ta.myDevices.askTitle" | "ta.myDevices.code" | "ta.myDevices.enterCode" | "ta.myDevices.hint" | "ta.myDevices.later" | "ta.myDevices.none" | "ta.myDevices.notMe" | "ta.myDevices.online" | "ta.myDevices.open" | "ta.myDevices.openProvider" | "ta.myDevices.remove" | "ta.myDevices.removeConfirm" | "ta.myDevices.seen" | "ta.myDevices.signInAccount" | "ta.myDevices.signInWith" | "ta.myDevices.signOut" | "ta.myDevices.signOutConfirm" | "ta.myDevices.signOutConfirmComputer" | "ta.myDevices.thisDevice" | "ta.myDevices.title" | "ta.myDevices.waiting" | "ta.myDevices.waitingHint" | "ta.myDevices.waitingTitle" | "ta.nav.double" | "ta.nav.fold" | "ta.nav.open" | "ta.nav.pin" | "ta.nav.settings" | "ta.no" | "ta.notice.openLink" | "ta.notice.picture" | "ta.notices" | "ta.off" | "ta.ok" | "ta.on" | "ta.online" | "ta.open.failed" | "ta.open.notALink" | "ta.open.open" | "ta.open.published" | "ta.open.relayed" | "ta.open.title" | "ta.packages" | "ta.packages.builtin" | "ta.packages.builtinTitle" | "ta.packages.failed" | "ta.packages.hint" | "ta.packages.installed" | "ta.packages.none" | "ta.packages.noneHint" | "ta.packages.reload" | "ta.packages.reloaded" | "ta.packages.remove" | "ta.packages.removeConfirm" | "ta.packages.removeDetail" | "ta.packages.removed" | "ta.packages.scope.project" | "ta.packages.scope.user" | "ta.panel.hide" | "ta.panel.show" | "ta.presence.asked" | "ta.presence.more" | "ta.presence.owner" | "ta.presence.separator" | "ta.presence.typing" | "ta.presence.viewing" | "ta.process.done" | "ta.process.earlier" | "ta.process.failed" | "ta.process.files" | "ta.process.requestFailed" | "ta.process.running" | "ta.process.showAll" | "ta.process.steps" | "ta.process.thinking" | "ta.process.thought" | "ta.progress.calling" | "ta.progress.compacting" | "ta.progress.input" | "ta.progress.output" | "ta.progress.retry.error" | "ta.progress.retry.network" | "ta.progress.retry.overloaded" | "ta.progress.retry.rateLimit" | "ta.progress.retrying" | "ta.progress.retryingNow" | "ta.progress.waiting" | "ta.pwa.install" | "ta.reconnecting" | "ta.relay.devices" | "ta.relay.done" | "ta.relay.hint" | "ta.relay.keepAwake" | "ta.relay.keepAwakeHint" | "ta.relay.offline" | "ta.relay.online" | "ta.relay.pair" | "ta.relay.phone" | "ta.relay.scan" | "ta.relay.title" | "ta.relay.unpair" | "ta.relay.unpairConfirm" | "ta.relays.add" | "ta.relays.addButton" | "ta.relays.addHint" | "ta.relays.addPlaceholder" | "ta.relays.broken" | "ta.relays.drive" | "ta.relays.driveHint" | "ta.relays.driveUse" | "ta.relays.feature.devices" | "ta.relays.feature.devicesHint" | "ta.relays.feature.rooms" | "ta.relays.feature.roomsHint" | "ta.relays.feature.share" | "ta.relays.feature.shareHint" | "ta.relays.feature.sync" | "ta.relays.feature.syncHint" | "ta.relays.file" | "ta.relays.folderOnly" | "ta.relays.limits" | "ta.relays.memory" | "ta.relays.official" | "ta.relays.offline" | "ta.relays.online" | "ta.relays.onlineNoTime" | "ta.relays.optional" | "ta.relays.remove" | "ta.relays.storeAdd" | "ta.relays.storeName" | "ta.relays.storeNote" | "ta.relays.storeOnly" | "ta.relays.storeOpen" | "ta.relays.storeType" | "ta.relays.title" | "ta.relays.unavailable" | "ta.remote.add" | "ta.remote.addCloud" | "ta.remote.addConfirm" | "ta.remote.addHint" | "ta.remote.added" | "ta.remote.closePort" | "ta.remote.cloudAdded" | "ta.remote.cloudConnect" | "ta.remote.cloudDescription" | "ta.remote.cloudHint" | "ta.remote.cloudName" | "ta.remote.cloudTitle" | "ta.remote.cloudToken" | "ta.remote.cloudUrl" | "ta.remote.connect" | "ta.remote.connected" | "ta.remote.connectedTo" | "ta.remote.connecting" | "ta.remote.description" | "ta.remote.disconnect" | "ta.remote.disconnected" | "ta.remote.failed" | "ta.remote.forwarded" | "ta.remote.fromConfig" | "ta.remote.invalid" | "ta.remote.local" | "ta.remote.lost" | "ta.remote.none" | "ta.remote.noneHint" | "ta.remote.openCloud" | "ta.remote.openCloudHint" | "ta.remote.options" | "ta.remote.port" | "ta.remote.prompt.continue" | "ta.remote.prompt.title" | "ta.remote.prompt.trust" | "ta.remote.remove" | "ta.remote.step.checking" | "ta.remote.step.connecting" | "ta.remote.step.copying-server" | "ta.remote.step.installing-node" | "ta.remote.step.starting" | "ta.remote.title" | "ta.restart" | "ta.restart.button" | "ta.restart.confirm" | "ta.restart.description" | "ta.restart.detail" | "ta.restart.done" | "ta.restart.restarting" | "ta.scan" | "ta.scan.album" | "ta.scan.ask" | "ta.scan.askHint" | "ta.scan.askPlaceholder" | "ta.scan.askTitle" | "ta.scan.cameraFailed" | "ta.scan.copyFailed" | "ta.scan.error" | "ta.scan.errorPrompt" | "ta.scan.failed" | "ta.scan.flip" | "ta.scan.identify" | "ta.scan.identifyPrompt" | "ta.scan.instructions" | "ta.scan.myCode" | "ta.scan.noCode" | "ta.scan.noCodeFound" | "ta.scan.note" | "ta.scan.notePrompt" | "ta.scan.pairMessage" | "ta.scan.pairTitle" | "ta.scan.result" | "ta.scan.retake" | "ta.scan.sameHost" | "ta.scan.translate" | "ta.scan.translatePrompt" | "ta.screen.allow" | "ta.screen.answer" | "ta.screen.asks" | "ta.screen.chats" | "ta.screen.confirm" | "ta.screen.open" | "ta.screen.unread" | "ta.screen.working" | "ta.search.all" | "ta.search.failed" | "ta.search.loading" | "ta.search.more" | "ta.search.pages" | "ta.secret.bankCard" | "ta.secret.email" | "ta.secret.gone" | "ta.secret.idNumber" | "ta.secret.manage" | "ta.secret.phone" | "ta.secret.secret" | "ta.secret.title" | "ta.secret.unused" | "ta.secret.uses" | "ta.select.all" | "ta.select.count" | "ta.select.done" | "ta.send" | "ta.session.compact" | "ta.session.compactTitle" | "ta.session.earlier" | "ta.session.empty" | "ta.session.model" | "ta.session.moved" | "ta.session.movedBusy" | "ta.session.movedCopy" | "ta.session.movedDetail" | "ta.session.movedDone" | "ta.session.movedKeep" | "ta.session.movedPick" | "ta.session.noModel" | "ta.session.phase.thinking" | "ta.session.phase.working" | "ta.session.phase.writing" | "ta.session.thinking" | "ta.session.title" | "ta.session.toBottom" | "ta.session.waitingClientTool" | "ta.session.working" | "ta.setting.codemode.mode" | "ta.setting.codemode.mode.hint" | "ta.setting.codemode.mode.on" | "ta.setting.codemode.mode.only" | "ta.setting.compaction.enabled" | "ta.setting.compaction.enabled.hint" | "ta.setting.compaction.keepRecentTokens" | "ta.setting.compaction.keepRecentTokens.hint" | "ta.setting.compaction.reserveTokens" | "ta.setting.compaction.reserveTokens.hint" | "ta.setting.defaultThinkingLevel" | "ta.setting.defaultThinkingLevel.high" | "ta.setting.defaultThinkingLevel.hint" | "ta.setting.defaultThinkingLevel.low" | "ta.setting.defaultThinkingLevel.max" | "ta.setting.defaultThinkingLevel.medium" | "ta.setting.defaultThinkingLevel.minimal" | "ta.setting.defaultThinkingLevel.off" | "ta.setting.defaultThinkingLevel.xhigh" | "ta.setting.enableSkillCommands" | "ta.setting.enableSkillCommands.hint" | "ta.setting.followUpMode" | "ta.setting.followUpMode.all" | "ta.setting.followUpMode.hint" | "ta.setting.followUpMode.one-at-a-time" | "ta.setting.images.autoResize" | "ta.setting.images.autoResize.hint" | "ta.setting.images.blockImages" | "ta.setting.images.blockImages.hint" | "ta.setting.model" | "ta.setting.model.hint" | "ta.setting.retry.enabled" | "ta.setting.retry.enabled.hint" | "ta.setting.retry.maxRetries" | "ta.setting.shellCommandPrefix" | "ta.setting.shellCommandPrefix.hint" | "ta.setting.shellPath" | "ta.setting.shellPath.hint" | "ta.setting.steeringMode" | "ta.setting.steeringMode.all" | "ta.setting.steeringMode.hint" | "ta.setting.steeringMode.one-at-a-time" | "ta.setting.transport" | "ta.setting.transport.auto" | "ta.setting.transport.hint" | "ta.settings" | "ta.settings.about" | "ta.settings.accounts" | "ta.settings.accountsDescription" | "ta.settings.agent" | "ta.settings.appearance" | "ta.settings.assistant" | "ta.settings.assistantModel" | "ta.settings.assistantModelHint" | "ta.settings.callCaptions" | "ta.settings.callCaptionsHint" | "ta.settings.chatArchive" | "ta.settings.chatArchiveHint" | "ta.settings.chatFold" | "ta.settings.chatFoldHint" | "ta.settings.chatFontSize" | "ta.settings.chatFontSizeHint" | "ta.settings.chats" | "ta.settings.confirmTasks" | "ta.settings.confirmTasksHint" | "ta.settings.cwd" | "ta.settings.cwdChange" | "ta.settings.cwdDescription" | "ta.settings.days" | "ta.settings.decides" | "ta.settings.default" | "ta.settings.delegate" | "ta.settings.delegate.balanced" | "ta.settings.delegate.balancedHint" | "ta.settings.delegate.less" | "ta.settings.delegate.lessHint" | "ta.settings.delegate.more" | "ta.settings.delegate.moreHint" | "ta.settings.delegateHint" | "ta.settings.devices" | "ta.settings.diagramStyle" | "ta.settings.diagramStyle.clean" | "ta.settings.diagramStyle.colour" | "ta.settings.diagramStyle.motion" | "ta.settings.diagramStyle.sketch" | "ta.settings.diagramStyleHint" | "ta.settings.displayLanguage" | "ta.settings.failed" | "ta.settings.fontSize" | "ta.settings.fontSize.large" | "ta.settings.fontSize.small" | "ta.settings.fontSize.standard" | "ta.settings.fontSize.xlarge" | "ta.settings.fontSizeHint" | "ta.settings.fromUser" | "ta.settings.general" | "ta.settings.group.context" | "ta.settings.group.conversation" | "ta.settings.group.model" | "ta.settings.group.tools" | "ta.settings.keepAlive" | "ta.settings.keepAliveDescription" | "ta.settings.language" | "ta.settings.language.system" | "ta.settings.links" | "ta.settings.loading" | "ta.settings.manageAccounts" | "ta.settings.maxTasks" | "ta.settings.maxTasksAny" | "ta.settings.maxTasksHint" | "ta.settings.minutes" | "ta.settings.modified" | "ta.settings.motion" | "ta.settings.motionHint" | "ta.settings.navigation" | "ta.settings.navigation.folded" | "ta.settings.navigation.inNav" | "ta.settings.navigation.none" | "ta.settings.navigation.overflow" | "ta.settings.navigation.show" | "ta.settings.never" | "ta.settings.noMatch" | "ta.settings.off" | "ta.settings.offline" | "ta.settings.on" | "ta.settings.oneYear" | "ta.settings.privacy" | "ta.settings.recentShots" | "ta.settings.recentShotsHint" | "ta.settings.relay" | "ta.settings.relayDescription" | "ta.settings.reset" | "ta.settings.retention" | "ta.settings.retentionDescription" | "ta.settings.scope.project" | "ta.settings.scope.user" | "ta.settings.scopeHint.project" | "ta.settings.scopeHint.user" | "ta.settings.search" | "ta.settings.server" | "ta.settings.shortcuts" | "ta.settings.signOut" | "ta.settings.speak" | "ta.settings.speakHint" | "ta.settings.speakTalk" | "ta.settings.speakTalkHint" | "ta.settings.taskModel" | "ta.settings.taskModelHint" | "ta.settings.theme" | "ta.settings.theme.dark" | "ta.settings.theme.light" | "ta.settings.theme.system" | "ta.settings.trustedDomains" | "ta.settings.trustedDomainsAdd" | "ta.settings.trustedDomainsEmpty" | "ta.settings.trustedDomainsEmptyHint" | "ta.settings.trustedDomainsHint" | "ta.settings.trustedDomainsRemove" | "ta.settings.untrusted" | "ta.settings.version" | "ta.settings.voice" | "ta.settings.voiceAuto" | "ta.settings.voiceAutoNone" | "ta.settings.voiceName" | "ta.settings.voiceNameHint" | "ta.settings.voicePreview" | "ta.settings.voiceSample" | "ta.share.apps" | "ta.share.cannot" | "ta.share.cannotMake" | "ta.share.copied" | "ta.share.copy" | "ta.share.copyPassword" | "ta.share.extensionGets" | "ta.share.friends" | "ta.share.making" | "ta.share.passwordApart" | "ta.share.pickFriends" | "ta.share.published" | "ta.share.qr" | "ta.share.relayed" | "ta.share.renew" | "ta.share.send" | "ta.share.sendN" | "ta.share.sentTo" | "ta.share.stop" | "ta.share.stopHint" | "ta.share.stopTitle" | "ta.share.title" | "ta.shared.copied" | "ta.shared.copy" | "ta.shared.failed" | "ta.shared.footer" | "ta.shared.imagesOmitted" | "ta.shared.messages" | "ta.shared.opening" | "ta.shared.outputsOmitted" | "ta.shared.redacted" | "ta.shared.secure" | "ta.shared.sharedAt" | "ta.shell.build" | "ta.shell.copy" | "ta.shell.count" | "ta.shell.gitAdd" | "ta.shell.gitCommit" | "ta.shell.gitDiff" | "ta.shell.gitLog" | "ta.shell.gitMerge" | "ta.shell.gitPull" | "ta.shell.gitPush" | "ta.shell.gitRebase" | "ta.shell.gitShow" | "ta.shell.gitStatus" | "ta.shell.gitSwitch" | "ta.shell.gitWorktree" | "ta.shell.install" | "ta.shell.kill" | "ta.shell.lint" | "ta.shell.mkdir" | "ta.shell.move" | "ta.shell.open" | "ta.shell.processes" | "ta.shell.remove" | "ta.shell.request" | "ta.shell.test" | "ta.shell.typecheck" | "ta.shell.wait" | "ta.shortcut.commands" | "ta.shortcut.files" | "ta.shortcut.followUp" | "ta.shortcut.newline" | "ta.shortcut.save" | "ta.shortcut.send" | "ta.shortcut.settings" | "ta.shortcut.sidebar" | "ta.shortcut.stop" | "ta.sidebar" | "ta.sidebar.closeTitle" | "ta.signInSetup.add" | "ta.signInSetup.callback" | "ta.signInSetup.copied" | "ta.signInSetup.copy" | "ta.signInSetup.device" | "ta.signInSetup.edit" | "ta.signInSetup.field.appId" | "ta.signInSetup.field.appSecret" | "ta.signInSetup.field.clientId" | "ta.signInSetup.field.clientSecret" | "ta.signInSetup.field.issuer" | "ta.signInSetup.field.name" | "ta.signInSetup.field.url" | "ta.signInSetup.fromEnv" | "ta.signInSetup.hint" | "ta.signInSetup.incomplete" | "ta.signInSetup.off" | "ta.signInSetup.oidc" | "ta.signInSetup.on" | "ta.signInSetup.optional" | "ta.signInSetup.remove" | "ta.signInSetup.removeConfirm" | "ta.signInSetup.removeDetail" | "ta.signInSetup.removed" | "ta.signInSetup.save" | "ta.signInSetup.saved" | "ta.signInSetup.secretKept" | "ta.signInSetup.title" | "ta.signin.accountsHint" | "ta.signin.connect" | "ta.signin.denied" | "ta.signin.failed" | "ta.signin.hint" | "ta.signin.hintRemote" | "ta.signin.orToken" | "ta.signin.pairHint" | "ta.signin.pairRefused" | "ta.signin.pairing" | "ta.signin.refused" | "ta.signin.title" | "ta.signin.token" | "ta.signin.wechat" | "ta.signin.with" | "ta.species.ankylosaurus" | "ta.species.brachiosaurus" | "ta.species.dragon" | "ta.species.parasaurolophus" | "ta.species.pteranodon" | "ta.species.stegosaurus" | "ta.species.trex" | "ta.species.triceratops" | "ta.species.velociraptor" | "ta.stop" | "ta.suggest.1" | "ta.suggest.1.label" | "ta.suggest.2" | "ta.suggest.2.label" | "ta.suggest.3" | "ta.suggest.3.label" | "ta.tab.close" | "ta.tab.closeAll" | "ta.tab.closeLeft" | "ta.tab.closeOthers" | "ta.tab.closeRight" | "ta.tab.closeSaved" | "ta.tab.keepOpen" | "ta.talk.call" | "ta.talk.edit" | "ta.talk.hold" | "ta.talk.keep" | "ta.talk.listening" | "ta.talk.releaseCall" | "ta.talk.releaseCancel" | "ta.talk.releaseEdit" | "ta.talk.releaseKeep" | "ta.talk.releaseSend" | "ta.talk.releaseSendCall" | "ta.talk.releaseSendKeep" | "ta.talk.tooShort" | "ta.task.adopted" | "ta.task.allTasks" | "ta.task.branch" | "ta.task.done" | "ta.task.ended" | "ta.task.failed" | "ta.task.remove" | "ta.task.removeHint" | "ta.task.removeTitle" | "ta.task.running" | "ta.task.stopped" | "ta.task.takeOver" | "ta.task.takeOverHint" | "ta.task.takenOver" | "ta.task.verdictFail" | "ta.task.verdictPass" | "ta.task.waiting" | "ta.tasks.all" | "ta.tasks.ended" | "ta.tasks.fewer" | "ta.tasks.removeTitle" | "ta.tasks.running" | "ta.tasks.runningCount" | "ta.tasks.select" | "ta.tasks.waiting" | "ta.tasks.waitingCount" | "ta.terminal.openLink" | "ta.terminal.openLinkMac" | "ta.terminal.openUrl" | "ta.terminal.openUrlMac" | "ta.time.dayBefore" | "ta.time.earlier" | "ta.time.today" | "ta.time.week" | "ta.time.yesterday" | "ta.tool.earlier" | "ta.tool.exitCode" | "ta.tool.failedCalls" | "ta.tool.hideScript" | "ta.tool.moreEntries" | "ta.tool.noOutput" | "ta.tool.printed" | "ta.tool.showScript" | "ta.tool.verb.bash" | "ta.tool.verb.codemode" | "ta.tool.verb.deleteScheduled" | "ta.tool.verb.deleteTeam" | "ta.tool.verb.edit" | "ta.tool.verb.editImage" | "ta.tool.verb.fetch" | "ta.tool.verb.find" | "ta.tool.verb.getTask" | "ta.tool.verb.grep" | "ta.tool.verb.listScheduled" | "ta.tool.verb.listTasks" | "ta.tool.verb.ls" | "ta.tool.verb.messageTask" | "ta.tool.verb.publish" | "ta.tool.verb.read" | "ta.tool.verb.scheduleTask" | "ta.tool.verb.sendMessage" | "ta.tool.verb.skill" | "ta.tool.verb.startTask" | "ta.tool.verb.stopTask" | "ta.tool.verb.todo" | "ta.tool.verb.viewImage" | "ta.tool.verb.webSearch" | "ta.tool.verb.write" | "ta.unreachable" | "ta.update.later" | "ta.update.ready" | "ta.update.readyDetail" | "ta.update.restartTo" | "ta.voices.add" | "ta.voices.addOpen" | "ta.voices.bargeIn" | "ta.voices.bargeIn.0" | "ta.voices.bargeIn.1" | "ta.voices.bargeIn.2" | "ta.voices.bargeIn.3" | "ta.voices.bargeIn.4" | "ta.voices.bargeInHint" | "ta.voices.cutIn" | "ta.voices.cutInHint" | "ta.voices.device" | "ta.voices.deviceHint" | "ta.voices.edit" | "ta.voices.file" | "ta.voices.keepSecret" | "ta.voices.listensOnly" | "ta.voices.name" | "ta.voices.none" | "ta.voices.note" | "ta.voices.noteSave" | "ta.voices.optional" | "ta.voices.remove" | "ta.voices.save" | "ta.voices.submit" | "ta.voices.title" | "ta.voices.titleHint" | "ta.voices.unavailable" | "ta.voices.use" | "ta.widget.failed" | "ta.workbench" | "ta.workbench.cards" | "ta.workbench.cwd" | "ta.workbench.empty" | "ta.workbench.emptyHint" | "ta.workbench.maximize" | "ta.workbench.noCards" | "ta.workbench.noCardsHint" | "ta.workbench.open" | "ta.workbench.restore" | "ta.workbench.tabs" | "ta.workingDirectory.changed" | "ta.yes" | "ta.zoom.actual" | "ta.zoom.copy" | "ta.zoom.copyFailed" | "ta.zoom.failed" | "ta.zoom.fit" | "ta.zoom.in" | "ta.zoom.loading" | "ta.zoom.next" | "ta.zoom.out" | "ta.zoom.previous" | undefined;
|
|
45
|
+
start: (address: string, known?: boolean, provider?: string) => Promise<void>;
|
|
46
|
+
cancel: () => void;
|
|
47
|
+
};
|
|
48
|
+
/** The code split as it is read aloud or typed: two groups of four. */
|
|
49
|
+
export declare function CodeBox({ code }: {
|
|
50
|
+
code: string;
|
|
51
|
+
}): React.JSX.Element;
|
|
52
|
+
/** The way to Ta in the cloud on the sign-in, under the ways to a computer: one wide button. */
|
|
53
|
+
export declare function CloudSignInEntry({ onPick }: {
|
|
54
|
+
onPick(): void;
|
|
55
|
+
}): React.JSX.Element;
|
|
56
|
+
/**
|
|
57
|
+
* Signing in to Ta in the cloud, the whole card: the address once (none for the deployment of this build, which starts at
|
|
58
|
+
* once), then the code to check in the browser while the token comes. `onBack` goes back to the other ways.
|
|
59
|
+
*/
|
|
60
|
+
export declare function CloudSignInFlow({ onBack, provider, typing, page }: {
|
|
61
|
+
onBack(): void;
|
|
62
|
+
provider?: string;
|
|
63
|
+
typing?: boolean;
|
|
64
|
+
page?: boolean;
|
|
65
|
+
}): React.JSX.Element;
|